:root {
    /* Fresh, safe editorial palette */
    --green: #2f9e73;
    --green-dark: #17604a;
    --green-soft: #eaf8f0;
    --green-pale: #f8fcf9;
    --black: #24312d;
    --black-soft: #40524a;
    --white: #ffffff;
    --muted: #66756f;
    --line: #d8eadf;
    --shadow: 0 18px 45px rgba(31, 129, 96, 0.13);
    --focus-ring: rgba(47, 158, 115, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
}

/* Accessibility: Focus styles */
*:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Accessibility: Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--green);
    color: var(--white);
    padding: 8px 16px;
    z-index: 100;
    font-weight: bold;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

.sr-only,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--green-dark);
    background: var(--green-soft);
    border: 1px solid rgba(47, 158, 115, 0.18);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 129, 96, 0.16);
}

.btn-primary {
    background: var(--green-dark);
    color: var(--white);
    border: 1px solid var(--green-dark);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 1px solid rgba(26, 32, 28, 0.22);
}

.btn-outline:hover {
    color: var(--green-dark);
    border-color: var(--green);
    background: var(--green-soft);
}

.btn-ghost {
    background: var(--white);
    color: var(--green-dark);
    border: 1px solid rgba(36, 49, 45, 0.16);
}

.btn-ghost:hover {
    border-color: var(--green);
    background: var(--green-soft);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* top navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--black);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.4px;
    white-space: nowrap;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(23, 96, 74, 0.18);
}

.brand-mark svg {
    width: 27px;
    height: 27px;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: none;
    background: transparent;
    color: var(--green);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--black-soft);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 15px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-link:hover {
    color: var(--green-dark);
    background: var(--green-soft);
}

.nav-cta {
    margin-left: 6px;
}

/* single-article hero */
.article-hero {
    overflow: hidden;
    background:
        radial-gradient(
            circle at top left,
            color-mix(in srgb, var(--green) 14%, transparent),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--green-pale) 0%,
            var(--white) 48%,
            var(--green-soft) 100%
        );
    border-bottom: 1px solid var(--line);
}

.article-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a {
    color: var(--green-dark);
    text-decoration: none;
}

.article-title {
    margin-top: 18px;
    color: var(--black);
    font-size: 52px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
}

.article-deck {
    max-width: 610px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.65;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 28px;
    color: var(--black-soft);
    font-size: 14px;
    font-weight: 800;
}

.article-meta span,
.article-meta svg {
    width: 16px;
    height: 16px;
}

.hero-media {
    margin-top: 40px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--green-soft);
    box-shadow: var(--shadow);
}

.hero-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.caption,
.article-content figcaption {
    color: var(--muted);
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    font-style: italic;
}

.article-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 740px) 320px;
    gap: 58px;
    align-items: start;
    padding: 64px 24px 72px;
}

.article-content {
    min-width: 0;
}

.article-content p {
    color: var(--black-soft);
    font-size: 18px;
    line-height: 1.85;
}

.article-content p.lead {
    font-weight: 800;
}

.article-content p + p {
    margin-top: 24px;
}

.article-content h2 {
    margin-top: 42px;
    margin-bottom: 16px;
    color: var(--black);
    font-size: 38px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
}

.article-content blockquote {
    margin: 42px 0;
    color: var(--green-dark);
    background: var(--green-pale);
    border: 1px solid var(--line);
    border-left: 6px solid var(--green);
    border-radius: 22px;
    padding: 28px;
    font-size: 36px;
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: 0;
}

.article-content blockquote p {
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.article-content blockquote p + p {
    margin-top: 14px;
}

.article-content figure {
    max-width: 100%;
    margin: 42px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--green-soft);
}

.article-content figure img,
.article-content img {
    max-width: 100%;
    height: auto;
}

.article-content figure img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.article-content .alignwide,
.article-content .alignfull {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.article-content ul {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding-left: 0;
    list-style: none;
}

.article-content ul li {
    position: relative;
    color: var(--black-soft);
    background: var(--green-pale);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 18px 18px 48px;
    font-size: 17px;
    line-height: 1.62;
}

.article-content ul li::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 22px;
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 46px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.share-links,
.toolbar-group,
.listing .nav-links,
.category-layout .nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.share-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-dark);
    background: var(--green-soft);
    border: 1px solid rgba(47, 158, 115, 0.18);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.share-link:hover {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

.share-link svg {
    width: 16px;
    height: 16px;
}

.article-sidebar,
.category-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 20px;
}

.side-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 14px 36px rgba(31, 129, 96, 0.08);
}

.side-panel h2 {
    color: var(--black);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: 0;
}

.author-card {
    display: grid;
    gap: 14px;
}

.author-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 58px;
    height: 58px;
    overflow: hidden;
    flex: 0 0 58px;
    border-radius: 18px;
    background: var(--green-soft);
}

.author-avatar img,
.related-avatar img,
.influencer-photo img,
.influencer-avatar img,
.profile-cover img,
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    color: var(--black);
    font-size: 17px;
    font-weight: 950;
}

.author-role,
.side-panel p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.toc {
    display: grid;
    gap: 9px;
    margin-top: 16px;
    list-style: none;
}

.toc a {
    display: block;
    color: var(--black-soft);
    border-radius: 12px;
    padding: 9px 10px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.toc a:hover {
    color: var(--green-dark);
    background: var(--green-soft);
}

.newsletter {
    background: linear-gradient(135deg, #f0fbf5 0%, var(--white) 100%);
}

.newsletter form {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.newsletter input {
    width: 100%;
    min-height: 46px;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 16px;
    font: inherit;
}

#feature,
#categories,
#articles,
#influencers,
#latest,
#events {
    scroll-margin-top: 82px;
}

/* feature-article hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at top left,
            rgba(47, 158, 115, 0.14),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--green-pale) 0%,
            var(--white) 44%,
            var(--green-soft) 100%
        );
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    align-items: center;
    gap: 48px;
    padding: 84px 24px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    margin-top: 18px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -2.4px;
    color: var(--black);
}

.hero-title span {
    color: var(--green);
}

.hero-subtitle {
    max-width: 560px;
    margin-top: 22px;
    color: var(--muted);
    font-size: clamp(16px, 2.2vw, 19px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 34px;
    background: var(--green-soft);
    box-shadow: var(--shadow);
    isolation: isolate;
}

.feature-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1.02);
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.34) 48%,
        rgba(0, 0, 0, 0.74) 100%
    );
    z-index: 1;
}

.feature-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 34px;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.feature-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-dark);
    background: var(--white);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: none;
}

.feature-title {
    max-width: 580px;
    margin-top: 18px;
    font-size: clamp(25px, 3.5vw, 42px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -1px;
}

/* WordPress wraps the feature title in a permalink; the mockup title is plain text. */
.feature-title a {
    text-decoration: none;
}

.feature-desc {
    max-width: 520px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.65;
}

.feature-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 14px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 700;
}

.feature-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* category cards */
.categories {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 24px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-kicker {
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.section-title {
    margin-top: 8px;
    color: var(--black);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -1.3px;
}

.section-text {
    max-width: 460px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.category-grid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.category-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    text-decoration: none;
    transition:
        border-color 0.2s ease;
}

.category-card:hover {
    border-color: rgba(47, 158, 115, 0.3);
}

.category-card:focus-visible {
    border-radius: 28px; /* Match internal radius for focus */
}

.category-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.4s ease;
}

.category-card > div {
    padding: 24px 24px 0;
}

.category-title {
    font-size: 29px;
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.8px;
}

.category-desc {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 900;
    padding: 0 24px 24px;
}

/* article topics carousel */
.articles {
    background: var(--white);
    padding: 0 0 72px;
}

.articles-inner,
.latest-inner,
.related-inner,
.influencers-inner,
.listing-inner,
.art-carousel {
    position: relative;
}

.art-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.art-track::-webkit-scrollbar {
    display: none;
}

.art-card {
    flex: 0 0 calc(50% - 11px);
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px;
    color: inherit;
    background: var(--green-pale);
    border: 1px solid var(--line);
    border-radius: 24px;
    text-decoration: none;
    transition:
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s ease,
        border-color 0.2s ease;
}

.art-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(47, 158, 115, 0.3);
}

.art-media {
    flex: 0 0 168px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--green-soft);
    border-radius: 18px;
}

.art-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.art-body {
    flex: 1;
    min-width: 0;
}

.art-title {
    color: var(--black);
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.5px;
}

.art-desc {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.art-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    color: var(--green-dark);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.art-arrow:hover {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

.art-arrow.prev {
    left: -10px;
}

.art-arrow.next {
    right: -10px;
}

/* latest stories */
.latest {
    background: var(--green-pale);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 72px 0;
}

.related {
    background: var(--green-pale);
    border-top: 1px solid var(--line);
    padding: 72px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 32px;
}

.influencers {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 72px 0;
}

.influencer-section {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.influencer-section h3 {
    color: var(--black);
    font-size: 34px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -0.8px;
}

.influencer-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.influencer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 26px;
}

.related-influencers {
    background: var(--white);
    padding: 60px 0 76px;
}

.related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.related-title {
    margin-top: 12px;
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -1px;
    color: var(--black);
}

.related-title span {
    color: var(--green);
}

.related-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    color: var(--black);
    background: var(--green-pale);
    border: 1px solid rgba(36, 49, 45, 0.12);
    border-radius: 18px;
    text-decoration: none;
    transition:
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.2s ease;
}

.related-card:hover {
    transform: translateY(-2px);
    border-color: rgba(36, 49, 45, 0.24);
}

.related-avatar {
    width: 64px;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    overflow: hidden;
    background: var(--white);
    border: 3px solid var(--white);
    border-radius: 50%;
}

.related-name {
    display: block;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.3px;
}

.related-meta {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.influencer-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 472px;
    padding: 16px;
    color: var(--black);
    background: var(--white);
    border: 1px solid rgba(36, 49, 45, 0.12);
    border-radius: 18px;
    text-decoration: none;
    transition:
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.2s ease;
}

.influencer-card:hover {
    transform: translateY(-2px);
    border-color: rgba(36, 49, 45, 0.24);
}

.influencer-card[data-platform="instagram"] {
    --platform-color: #d84d97;
}

.influencer-card[data-platform="youtube"] {
    --platform-color: #ff1f1f;
}

.influencer-card[data-platform="tiktok"] {
    --platform-color: #2ebdb7;
}

.influencer-card[data-platform="facebook"] {
    --platform-color: #1877f2;
}

.influencer-card[data-platform="x"] {
    --platform-color: #24312d;
}

.influencer-photo {
    width: 100%;
    aspect-ratio: 16 / 8.3;
    overflow: hidden;
    background: var(--green-pale);
    border-radius: 14px;
}

.influencer-avatar {
    width: 74px;
    aspect-ratio: 1 / 1;
    margin: -38px 0 0 8px;
    overflow: hidden;
    background: var(--white);
    border: 3px solid var(--white);
    border-radius: 50%;
}

.influencer-name {
    margin-top: 18px;
    color: var(--black);
    font-size: 23px;
    line-height: 1.25;
    font-weight: 950;
}

.influencer-role {
    min-height: 50px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.42;
    font-weight: 700;
}

.influencer-location {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    color: var(--black-soft);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 850;
}

.influencer-location svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.influencer-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 18px;
    color: var(--green-dark);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.influencer-socials {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}

.social-icon {
    min-width: 0;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    border-radius: 10px;
    opacity: 0.14;
}

.social-icon.is-active {
    color: var(--platform-color);
    background: rgba(36, 49, 45, 0.04);
    opacity: 1;
}

.social-icon svg {
    width: 34px;
    height: 34px;
}

.influencer-button {
    align-self: flex-end;
    margin-top: 20px;
    padding: 11px 20px;
    color: var(--black);
    background: var(--white);
    border: 1px solid rgba(36, 49, 45, 0.14);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.profile-hero,
.profile-hero--instagram,
.profile-body--instagram {
    --platform-color: #b84180;
}

.profile-hero--youtube,
.profile-body--youtube {
    --platform-color: #d91a1a;
}

.profile-hero--tiktok,
.profile-body--tiktok {
    --platform-color: #1d7975;
}

.profile-hero--facebook,
.profile-body--facebook {
    --platform-color: #1465ce;
}

.profile-hero--x,
.profile-body--x {
    --platform-color: #24312d;
}

.profile-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px 54px;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 34px;
}

.stat-card {
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid rgba(36, 49, 45, 0.12);
    border-radius: 18px;
}

.stat-label {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.stat-value {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    color: var(--black);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.stat-value svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--platform-color, var(--green));
}

.stat-value small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.profile-body {
    background: var(--green-pale);
    padding: 56px 0 72px;
}

.profile-body-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
    padding: 0 24px;
}

.profile-body-inner.has-no-bio {
    max-width: 720px;
    grid-template-columns: minmax(0, 1fr);
}

.bio-article {
    padding: 38px 40px 44px;
    background: var(--white);
    border: 1px solid rgba(36, 49, 45, 0.12);
    border-radius: 24px;
}

.bio-article > * + * {
    margin-top: 20px;
}

.bio-kicker {
    display: inline-flex;
    color: var(--green-dark);
    background: var(--green-soft);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bio-article h2 {
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -0.6px;
    color: var(--black);
}

.bio-article h3 {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: var(--black);
}

.bio-article p {
    color: var(--black-soft);
    font-size: 16px;
    line-height: 1.75;
}

.bio-article ul,
.bio-article ol {
    padding-left: 22px;
    color: var(--black-soft);
    font-size: 16px;
    line-height: 1.75;
}

.bio-article li + li {
    margin-top: 8px;
}

.bio-article li::marker {
    color: var(--green);
}

.bio-article blockquote {
    padding: 22px 26px;
    color: var(--green-dark);
    background: var(--green-soft);
    border-left: 4px solid var(--green);
    border-radius: 0 16px 16px 0;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 800;
    font-style: italic;
}

.bio-article figure {
    margin: 20px 0 0;
}

.bio-article figure img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.bio-article figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.profile-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 92px;
}

.side-card {
    padding: 26px;
    background: var(--white);
    border: 1px solid rgba(36, 49, 45, 0.12);
    border-radius: 24px;
}

.side-card-title {
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.3px;
    color: var(--black);
}

.detail-list {
    display: grid;
    gap: 0;
    margin-top: 14px;
}

.detail-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-key {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    white-space: nowrap;
}

.detail-val {
    min-width: 0;
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
    text-align: right;
    overflow-wrap: anywhere;
}

.detail-val a {
    color: var(--green-dark);
    text-decoration: none;
}

.detail-val a:hover {
    text-decoration: underline;
}

.side-socials {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.side-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.side-card .btn {
    width: 100%;
    margin-top: 18px;
}

.cat-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 24px 54px;
}

.cat-hero-title {
    margin-top: 18px;
    color: var(--black);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: 0;
}

.cat-hero-subtitle {
    max-width: 620px;
    margin-top: 18px;
    color: var(--muted);
    font-size: clamp(16px, 2.2vw, 18px);
    line-height: 1.65;
}

.toolbar {
    position: sticky;
    top: 68px;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.toolbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    padding: 16px 24px;
}

.toolbar-label {
    color: var(--black-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 9px 16px;
    color: var(--black-soft);
    background: var(--white);
    border: 1px solid rgba(36, 49, 45, 0.16);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.chip svg {
    width: 16px;
    height: 16px;
}

.chip:hover,
.chip:focus-visible {
    color: var(--green-dark);
    background: var(--green-soft);
    border-color: var(--green);
}

.chip.is-active,
.chip[aria-current="page"] {
    color: var(--white);
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.directory-sort-form {
    margin: 0;
}

.sort-select {
    appearance: none;
    min-height: 38px;
    padding: 10px 38px 10px 16px;
    color: var(--black);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317604a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
        no-repeat right 14px center / 14px,
        var(--white);
    border: 1px solid rgba(36, 49, 45, 0.16);
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.sort-select:hover,
.sort-select:focus-visible {
    border-color: var(--green);
}

.sort-submit {
    min-height: 38px;
    padding: 9px 16px;
    color: var(--white);
    background: var(--green-dark);
    border: 1px solid var(--green-dark);
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.sort-submit:hover,
.sort-submit:focus-visible {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.result-count {
    margin-left: auto;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.listing {
    background: var(--green-pale);
    padding: 48px 0 72px;
}

.listing .influencer-grid {
    margin-top: 0;
}

.listing .pagination {
    margin-top: 34px;
}

.listing .nav-links {
    justify-content: center;
}

.listing .page-numbers,
.category-layout .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 16px;
    color: var(--green-dark);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.listing a.page-numbers:hover,
.category-layout a.page-numbers:hover {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-2px);
}

.listing .page-numbers.current,
.category-layout .page-numbers.current {
    color: var(--white);
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.profile-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 5.4;
    background: var(--green-pale);
    border: 1px solid rgba(36, 49, 45, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.profile-head {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 18px 26px;
    padding: 0 12px;
}

.profile-avatar {
    width: 148px;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    margin-top: -74px;
    overflow: hidden;
    background: var(--white);
    border: 5px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(23, 96, 74, 0.18);
}

.profile-head.has-no-cover .profile-avatar {
    margin-top: 0;
}

.profile-id {
    flex: 1 1 320px;
    min-width: 0;
    padding-top: 20px;
}

.profile-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    color: var(--white);
    background: var(--platform-color, var(--green));
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.profile-platform-badge svg {
    width: 16px;
    height: 16px;
}

.profile-name {
    margin-top: 12px;
    color: var(--black);
    font-size: 52px;
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: 0;
}

.profile-role {
    max-width: 560px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 600;
}

.profile-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--black-soft);
    font-size: 14px;
    font-weight: 850;
}

.profile-location svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--green-dark);
}

.profile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0 4px;
}

.profile-actions svg {
    width: 18px;
    height: 18px;
}

.story-card,
.article-row {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    transition:
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s ease,
        border-color 0.2s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(47, 158, 115, 0.3);
}

.article-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(47, 158, 115, 0.3);
}

.story-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.story-link:focus-visible {
    border-radius: 24px;
}

.story-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--green-soft);
    overflow: hidden;
}

.story-media img,
.article-row-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-card:hover .story-media img,
.article-row:hover .article-row-media img {
    transform: scale(1.05);
}

.story-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
}

.tag {
    width: fit-content;
    color: var(--green-dark);
    background: var(--green-soft);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.story-title {
    color: var(--black);
    font-size: 20px;
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: -0.4px;
}

.story-excerpt {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.58;
}

.story-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.story-meta svg {
    width: 15px;
    height: 15px;
}

/* events strip */
.events-strip {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 24px;
}

.event-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fbf5 0%, var(--white) 100%);
    color: var(--black);
    border-radius: 32px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.event-copy {
    padding: 42px;
}

.event-copy .eyebrow {
    background: var(--green-soft);
    border-color: rgba(47, 158, 115, 0.18);
    color: var(--green-dark);
}

.event-copy h2 {
    margin-top: 18px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -1.2px;
}

.event-copy p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.event-actions {
    justify-content: center;
}

.event-list {
    display: grid;
    gap: 12px;
    padding: 28px;
    background: rgba(234, 248, 240, 0.62);
}

.event-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    background: var(--white);
    color: var(--black);
    border-radius: 22px;
    transition: transform 0.2s ease;
}

.event-item:hover {
    transform: translateX(4px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    color: var(--white);
    background: var(--black);
    border-radius: 18px;
    font-weight: 900;
}

.event-date span:first-child {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-date span:last-child {
    font-size: 25px;
}

.event-info h3 {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.event-info p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

/* footer */
.site-footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 34px;
    padding: 48px 24px 28px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 21px;
    font-weight: 900;
    text-decoration: none;
}

.footer-logo:focus-visible {
    border-radius: 8px;
}

.footer-text {
    max-width: 430px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 12px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 24px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 66px 24px;
    }

    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-body-inner {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-shell {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-title {
        font-size: 48px;
    }

    .article-content h2 {
        font-size: 29px;
    }

    .article-content blockquote {
        font-size: 33px;
    }

    .newsletter {
        grid-column: 1 / -1;
    }

    .hero-media img {
        height: 360px;
    }

    .feature-card {
        min-height: 480px;
    }

    .category-grid,
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .influencer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .event-panel {
        grid-template-columns: 1fr;
    }

    .art-card {
        flex-basis: 88%;
        padding: 22px;
    }

    .art-media {
        flex-basis: 136px;
    }

    .profile-name {
        font-size: 44px;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin-left: 0;
        padding: 12px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 35px rgba(26, 32, 28, 0.12);
    }

    .navbar.open .nav-menu {
        display: flex;
    }

    .nav-link,
    .nav-cta {
        width: 100%;
        justify-content: flex-start;
        padding: 13px 14px;
    }

    .nav-cta {
        margin-left: 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-grid,
    .story-grid {
        grid-template-columns: 1fr;
    }

    .influencer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .influencer-section {
        padding: 22px;
    }

    .art-arrow {
        width: 42px;
        height: 42px;
    }

    .art-arrow.prev {
        left: 2px;
    }

    .art-arrow.next {
        right: 2px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 36px;
    }

    .article-content h2 {
        font-size: 27px;
    }

    .article-content blockquote {
        font-size: 24px;
    }

    .profile-cover {
        aspect-ratio: 16 / 7;
        border-radius: 20px;
    }

    .profile-head {
        align-items: flex-start;
        padding: 0;
    }

    .profile-avatar {
        width: 118px;
        margin-top: -58px;
    }

    .profile-name {
        font-size: 38px;
    }

    .bio-article {
        padding: 26px 22px 32px;
    }
}

@media (max-width: 520px) {
    .hero-inner,
    .article-hero-inner,
    .article-shell,
    .categories,
    .articles-inner,
	.influencers-inner,
	.latest-inner,
	.related-inner,
	.events-strip,
	.footer-inner,
	.profile-body-inner,
	.cat-hero-inner,
	.listing-inner,
	.category-page-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .profile-hero-inner {
        padding: 28px 18px 44px;
    }

    .stat-strip {
        grid-template-columns: 1fr;
    }

    .hero-title,
    .section-title {
        letter-spacing: -1.1px;
    }

    .article-hero-inner {
        padding-top: 52px;
    }

    .article-title {
        font-size: 34px;
    }

    .article-deck {
        font-size: 17px;
    }

    .article-content p {
        font-size: 17px;
    }

    .article-content h2 {
        font-size: 27px;
    }

    .article-content blockquote {
        padding: 22px;
        font-size: 24px;
    }

    .side-panel {
        padding: 22px;
    }

    .hero-media {
        border-radius: 16px;
    }

    .profile-cover {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
    }

    .profile-avatar {
        width: 96px;
        margin-top: -48px;
    }

    .profile-name {
        font-size: 34px;
    }

    .profile-role {
        font-size: 15px;
    }

    .profile-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .profile-actions .btn {
        width: 100%;
    }

    .hero-media img {
        height: 240px;
    }

    .article-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .feature-card {
        min-height: 430px;
        border-radius: 26px;
    }

    .feature-content,
    .event-copy {
        padding: 26px;
    }

    .event-list {
        padding: 18px;
    }

    .event-item {
        grid-template-columns: 1fr;
    }

    .event-date {
        width: 78px;
    }

    .art-card {
        flex-basis: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .art-media {
        width: 100%;
        flex-basis: auto;
        aspect-ratio: 16 / 10;
    }

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

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

/* category archive listing */
.category-page {
    background: var(--white);
    padding: 72px 0;
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    list-style: none;
}

.filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--black-soft);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.filter-link:hover,
.filter-link:focus-visible,
.filter-link.is-active,
.filter-link[aria-current="page"] {
    color: var(--white);
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-1px);
}

.category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 42px;
    align-items: start;
    margin-top: 38px;
}

.category-layout .article-list {
    display: grid;
    gap: 18px;
}

.article-row-link {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 218px;
    color: inherit;
    text-decoration: none;
}

.article-row-media {
    position: relative;
    overflow: hidden;
    background: var(--green-soft);
}

.article-row-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.article-row-title {
    color: var(--black);
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.9px;
}

.article-row-excerpt {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.archive-empty {
    color: var(--muted);
    background: var(--green-pale);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.most-read {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    list-style: none;
}

.most-read li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--black-soft);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.45;
}

.most-read span {
    color: var(--green);
    font-size: 19px;
    font-weight: 950;
    line-height: 1;
}

.most-read a {
    color: inherit;
    text-decoration: none;
}

.most-read a:hover,
.most-read a:focus-visible {
    color: var(--green);
}

/* category archive pagination: core markup, styled to match filter-pill geometry */

.category-layout .pagination {
    margin-top: 12px;
}

@media (max-width: 960px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .article-row-link {
        grid-template-columns: 1fr;
    }

    .article-row-media {
        aspect-ratio: 16 / 9;
    }

    .category-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════
   TF UPGRADE: Dark mode, Search, Newsletter,
   Cookie consent, Reading progress, Share
   ═══════════════════════════════════════════ */

/* ── Dark mode ── */
[data-theme="dark"] {
    --white: #0f1419;
    --black: #e6e1cf;
    --black-soft: #c9c0a9;
    --muted: #8a8578;
    --green: #3fb985;
    --green-dark: #2f9e73;
    --green-soft: #1a2e24;
    --green-pale: #152921;
    --line: #2a3439;
    --shadow: rgba(0,0,0,.5);
    --focus-ring: rgba(63,185,133,.4);
    background: var(--white);
    color: var(--black);
}

[data-theme="dark"] body,
[data-theme="dark"] .navbar,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .side-panel,
[data-theme="dark"] .article-content,
[data-theme="dark"] .cookie-consent {
    background: var(--white);
}

[data-theme="dark"] a { color: var(--green); }
[data-theme="dark"] .navbar { border-bottom-color: var(--line); }
[data-theme="dark"] .feature-card,
[data-theme="dark"] .story-card,
[data-theme="dark"] .category-card,
[data-theme="dark"] .event-panel,
[data-theme="dark"] .influencer-card {
    background: #161d22;
    border-color: var(--line);
}
[data-theme="dark"] .btn-outline { border-color: var(--green); color: var(--green); }
[data-theme="dark"] .search-overlay { background: rgba(15,20,25,.98); }
[data-theme="dark"] .search-input {
    background: #161d22;
    color: var(--black);
    border-color: var(--line);
}

/* ── Nav actions (search + theme toggle) ── */
.nav-actions {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--black);
    cursor: pointer;
    border-radius: 8px;
    transition: background .2s, color .2s;
}

.nav-icon-btn:hover {
    background: var(--green-pale);
    color: var(--green);
}

#theme-toggle .icon-moon { display: none; }
[data-theme="dark"] #theme-toggle .icon-sun { display: none; }
[data-theme="dark"] #theme-toggle .icon-moon { display: block; }

/* ── Search overlay ── */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
    z-index: 100;
}

.search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-form {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 1.1rem;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--black);
    outline: none;
    transition: border-color .2s;
}

.search-input:focus {
    border-color: var(--green);
}

.search-submit {
    padding: 14px 20px;
    flex-shrink: 0;
}

.search-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--muted);
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    flex-shrink: 0;
}

.search-close:hover { color: var(--black); }

/* ── Reading progress bar ── */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    z-index: 9999;
    transition: width .1s linear;
}

/* ── Cookie consent ── */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px var(--shadow);
    z-index: 9000;
    padding: 16px 20px;
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent__text {
    margin: 0;
    font-size: .9rem;
    color: var(--black-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 280px;
}

.cookie-consent__icon { font-size: 1.3rem; }

.cookie-consent__link {
    color: var(--green);
    text-decoration: underline;
    margin-left: 4px;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 10px 18px;
    font-size: .9rem;
    white-space: nowrap;
}

/* ── Footer newsletter ── */
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col { display: flex; flex-direction: column; }

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--black);
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--green-soft);
    color: var(--green);
    transition: background .2s, transform .2s;
}

.social-link:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-newsletter .newsletter-desc {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 14px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--black);
    font-size: .9rem;
    outline: none;
    transition: border-color .2s;
}

.newsletter-input:focus { border-color: var(--green); }

.newsletter-btn {
    padding: 10px 18px;
    font-size: .9rem;
    white-space: nowrap;
}

.newsletter-msg {
    margin-top: 8px;
    font-size: .85rem;
    color: var(--green);
    min-height: 1.2em;
}

.newsletter-msg.error { color: #e53935; }

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 8px;
}

/* ── Better share links ── */
.share-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: .85rem;
    color: var(--black-soft);
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    background: transparent;
}

.share-link:hover {
    background: var(--green-pale);
    border-color: var(--green);
    color: var(--green);
}

.share-link svg { flex-shrink: 0; }

.share-fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-x:hover { background: #000; border-color: #000; color: #fff; }
.share-line:hover { background: #06c755; border-color: #06c755; color: #fff; }

/* ── Responsive adjustments ── */
@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .cookie-consent__inner { flex-direction: column; }
    .cookie-consent__actions { width: 100%; }
    .cookie-consent__btn { flex: 1; }
    .search-form { padding: 14px; }
    .nav-actions { margin-left: auto; }
}
