:root {
    --hgp-ink: var(--e-global-color-primary, #1a2e24);
    --hgp-green: var(--e-global-color-secondary, #214a38);
    --hgp-gold: var(--e-global-color-accent, #d2a82d);
    --hgp-text: var(--e-global-color-text, #4b5563);
    --hgp-line: #dfe6df;
    --hgp-soft: #f4f7f2;
    --hgp-cream: #fdfbf7;
    --hgp-card: #ffffff;
    --hgp-radius: 20px;
    --hgp-shadow: 0 16px 40px rgb(18 52 36 / 9%);
    --hgp-serif: "Playfair Display", Georgia, serif;
    --hgp-sans: "Inter", Arial, sans-serif;
}

.hgp-relaunch-active .hgp-layout {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

.hgp-relaunch-active .hgp-eyebrow {
    margin: 0 0 14px;
    color: var(--hgp-green);
    font-family: var(--hgp-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hgp-relaunch-active .hgp-title {
    margin: 0;
    color: var(--hgp-ink);
    font-family: var(--hgp-serif);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.025em;
}

.hgp-relaunch-active .hgp-button,
.hgp-relaunch-active .hgp-author-box__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid var(--hgp-green);
    border-radius: 999px;
    background: var(--hgp-green);
    color: #fff;
    font-family: var(--hgp-sans);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hgp-relaunch-active .hgp-button:hover,
.hgp-relaunch-active .hgp-author-box__cta:hover {
    background: var(--hgp-ink);
    color: #fff;
    transform: translateY(-1px);
}

.hgp-relaunch-author-box .m-a-box {
    margin: clamp(44px, 6vw, 76px) 0 30px !important;
}

.hgp-relaunch-author-box .m-a-box-container {
    overflow: hidden;
    padding: clamp(24px, 4vw, 38px) !important;
    border: 1px solid var(--hgp-line) !important;
    border-radius: var(--hgp-radius) !important;
    background: linear-gradient(135deg, var(--hgp-card), var(--hgp-soft)) !important;
    box-shadow: var(--hgp-shadow) !important;
}

.hgp-relaunch-author-box .m-a-box-content-middle {
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
    gap: clamp(22px, 4vw, 38px);
}

.hgp-relaunch-author-box .m-a-box-avatar {
    width: 132px !important;
    height: 132px !important;
}

.hgp-relaunch-author-box .m-a-box-avatar img,
.hgp-relaunch-author-box .m-a-box-avatar div[data-avatar-type="acronym"] {
    width: 132px !important;
    height: 132px !important;
    border: 0 !important;
    border-radius: 18px !important;
    object-fit: cover;
}

.hgp-relaunch-author-box .m-a-box-name h5,
.hgp-relaunch-author-box .m-a-box-name a {
    margin: 0;
    color: var(--hgp-ink) !important;
    font-family: var(--hgp-serif) !important;
    font-size: clamp(25px, 3vw, 34px) !important;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
}

.hgp-relaunch-author-box .m-a-box-bio,
.hgp-relaunch-author-box .m-a-box-bio > * {
    color: var(--hgp-text) !important;
    font-family: var(--hgp-sans) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.hgp-relaunch-author-box .m-a-box-meta {
    margin: 8px 0 12px;
}

.hgp-relaunch-author-box .hgp-author-box__cta {
    margin-top: 16px;
}

.hgp-author-hero,
.hgp-category-hero {
    padding: clamp(56px, 8vw, 110px) 0;
    background: var(--hgp-cream);
}

.hgp-author-hero__inner {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 6vw, 76px);
}

.hgp-author-hero__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--hgp-radius);
    background: var(--hgp-soft);
}

.hgp-author-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hgp-author-hero__bio {
    max-width: 760px;
    margin-top: 22px;
    color: var(--hgp-text);
    font-family: var(--hgp-sans);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.75;
}

.hgp-author-hero__job,
.hgp-author-highlight__job {
    margin: 16px 0 0;
    color: var(--hgp-green);
    font-family: var(--hgp-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hgp-author-highlight {
    display: grid;
    grid-template-columns: minmax(220px, 420px) minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--hgp-line);
    border-radius: var(--hgp-radius);
    background: var(--hgp-card);
    box-shadow: var(--hgp-shadow);
}

.hgp-author-highlight__image {
    min-height: 430px;
    overflow: hidden;
    background: var(--hgp-soft);
}

.hgp-author-highlight__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hgp-author-highlight__content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: clamp(30px, 6vw, 72px);
}

.hgp-author-highlight__bio {
    margin: 22px 0 26px;
    color: var(--hgp-text);
    font-family: var(--hgp-sans);
    font-size: 16px;
    line-height: 1.75;
}

.hgp-category-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: clamp(34px, 6vw, 80px);
}

.hgp-category-hero__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--hgp-radius);
    background: var(--hgp-soft);
}

.hgp-category-hero__media--1 {
    display: block;
}

.hgp-category-hero__media a,
.hgp-category-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.hgp-category-hero__media img {
    object-fit: cover;
}

.hgp-guest-author-teaser {
    padding: clamp(34px, 6vw, 68px);
    border: 1px solid var(--hgp-gold);
    border: 1px solid color-mix(in srgb, var(--hgp-gold) 55%, var(--hgp-line));
    border-radius: var(--hgp-radius);
    background: linear-gradient(135deg, var(--hgp-cream), var(--hgp-soft));
    box-shadow: var(--hgp-shadow);
}

.hgp-guest-author-teaser > p:not(.hgp-eyebrow) {
    max-width: 760px;
    margin: 22px 0 26px;
    color: var(--hgp-text);
    font-family: var(--hgp-sans);
    font-size: 17px;
    line-height: 1.7;
}

.hgp-section {
    padding: clamp(54px, 7vw, 94px) 0;
}

.hgp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.hgp-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--hgp-line);
    border-radius: var(--hgp-radius);
    background: var(--hgp-card);
    box-shadow: 0 10px 30px rgb(18 52 36 / 6%);
}

.hgp-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--hgp-soft);
}

.hgp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.hgp-card:hover .hgp-card__media img {
    transform: scale(1.025);
}

.hgp-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.hgp-card__meta {
    margin-bottom: 12px;
    color: var(--hgp-green);
    font-family: var(--hgp-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hgp-card__title {
    margin: 0;
    color: var(--hgp-ink);
    font-family: var(--hgp-serif);
    font-size: clamp(22px, 2.4vw, 29px);
    font-weight: 700;
    line-height: 1.22;
}

.hgp-card__title a {
    color: inherit;
    text-decoration: none;
}

.hgp-card__excerpt {
    margin: 16px 0 0;
    color: var(--hgp-text);
    font-family: var(--hgp-sans);
    font-size: 15px;
    line-height: 1.65;
}

.hgp-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
    align-items: start;
    gap: clamp(34px, 6vw, 76px);
    padding: clamp(48px, 7vw, 92px) 0;
}

.hgp-single__content {
    min-width: 0;
}

.hgp-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 20px 0 34px;
    color: var(--hgp-text);
    font-family: var(--hgp-sans);
    font-size: 14px;
}

.hgp-single__article {
    color: var(--hgp-text);
    font-family: var(--hgp-sans);
    font-size: 17px;
    line-height: 1.78;
}

.hgp-single__sidebar {
    position: sticky;
    top: 28px;
}

.hgp-compact-posts {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--hgp-line);
}

.hgp-compact-post {
    padding: 18px 0;
    border-bottom: 1px solid var(--hgp-line);
}

.hgp-compact-post a {
    color: var(--hgp-ink);
    font-family: var(--hgp-serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.hgp-pagination {
    margin-top: 44px;
}

@media (max-width: 960px) {
    .hgp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hgp-single {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 34px;
    }

    .hgp-category-hero__inner {
        grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    }
}

@media (max-width: 767px) {
    .hgp-relaunch-active .hgp-layout {
        width: min(100% - 28px, 1240px);
    }

    .hgp-relaunch-author-box .m-a-box-content-middle,
    .hgp-author-hero__inner,
    .hgp-author-highlight,
    .hgp-category-hero__inner,
    .hgp-single {
        grid-template-columns: 1fr;
    }

    .hgp-author-highlight__image {
        min-height: 320px;
        max-height: 440px;
    }

    .hgp-category-hero__media {
        min-height: 330px;
    }

    .hgp-relaunch-author-box .m-a-box-avatar,
    .hgp-relaunch-author-box .m-a-box-avatar img,
    .hgp-relaunch-author-box .m-a-box-avatar div[data-avatar-type="acronym"] {
        width: 104px !important;
        height: 104px !important;
    }

    .hgp-grid {
        grid-template-columns: 1fr;
    }

    .hgp-single__sidebar {
        position: static;
    }
}
