
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --green: #176b45;
    --green-dark: #104b32;
    --evergreen: #142720;
    --lime: #c8ed70;
    --ink: #17231c;
    --muted: #69756e;
    --line: #e5eae6;
    --soft: #f6f8f5;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 16px/1.65 'DM Sans', Arial, sans-serif;
}

a {
    color: inherit;
}

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

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

/* HEADER */

.site-header {
    width: 100%;
    min-height: 90px;
    background: #fff;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(1180px, 92%);
    min-height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.header-logo {
    display: block;
    width: 150px;
    max-width: 150px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.main-nav > a {
    color: #202923;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: color .2s;
}

.main-nav > a:hover {
    color: var(--green);
}

.main-nav .nav-cta {
    background: var(--green);
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
}

.main-nav .nav-cta:hover {
    background: var(--green-dark);
    color: #fff;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 5px;
    padding: 9px 13px;
    font-size: 20px;
    cursor: pointer;
}

/* HERO SECTION */

.blog-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(200,237,112,.15), transparent 30%),
        linear-gradient(135deg, #f6f8f5 0%, #fff 65%);
    padding: 90px 0 75px;
    overflow: hidden;
}

.hero-inner {
    position: relative;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-label-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
}

.blog-hero h1 {
    max-width: 850px;
    margin: 0 0 25px;
    color: var(--evergreen);
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.12;
    letter-spacing: -3px;
    font-weight: 800;
}

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

.blog-hero p {
    max-width: 720px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

/* SEARCH */

.search-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: min(650px, 100%);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #dce4dd;
    border-radius: 6px;
    padding: 0 15px;
}

.search-icon {
    color: var(--green);
    font-size: 23px;
    margin-right: 10px;
}

.search-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 52px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

.search-form button {
    border: 0;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    padding: 0 22px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.search-form button:hover {
    background: var(--green-dark);
}

.hero-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 35px;
}

.hero-bottom span {
    color: #68766d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* CATEGORIES */

.category-section {
    padding: 35px 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.category-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: var(--evergreen);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.category-scroll-note {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
}

.category-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin;
}

.category-pill {
    flex: 0 0 auto;
    padding: 9px 17px;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: #4f5e54;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

.category-pill:hover,
.category-pill.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* ARTICLES */

.articles-section {
    padding-top: 75px;
    padding-bottom: 85px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 35px;
}

.section-kicker {
    display: block;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-heading h2 {
    margin: 0 0 10px;
    color: var(--evergreen);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.result-count {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 14px;
}

.result-count strong {
    color: var(--evergreen);
    font-size: 23px;
}

/* ARTICLE GRID */

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

.article-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    transition: transform .25s, box-shadow .25s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(20,39,32,.09);
}

.article-image {
    display: block;
    position: relative;
    height: 225px;
    overflow: hidden;
    background: var(--soft);
    text-decoration: none;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.article-card:hover .article-image img {
    transform: scale(1.045);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #142720, #176b45);
    color: #fff;
}

.placeholder-brand {
    color: var(--lime);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.image-placeholder strong {
    font-size: 12px;
    letter-spacing: 2px;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 55%, rgba(0,0,0,.5));
    pointer-events: none;
}

.image-read {
    position: absolute;
    bottom: 17px;
    left: 18px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.article-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    min-height: 255px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 14px;
}

.article-category {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.article-meta time {
    color: #89948d;
    font-size: 11px;
}

.article-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 800;
}

.article-content h3 a {
    color: var(--evergreen);
    text-decoration: none;
}

.article-content h3 a:hover {
    color: var(--green);
}

.article-content > p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.read-link span {
    transition: transform .2s;
}

.read-link:hover span {
    transform: translateX(4px);
}

/* PAGINATION */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 50px;
    color: var(--muted);
    font-size: 13px;
}

.pagination a {
    padding: 10px 17px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

.pagination a:hover {
    background: var(--green);
    color: #fff;
}

/* EMPTY STATE */

.empty-state {
    padding: 65px 25px;
    text-align: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.empty-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--evergreen);
    color: var(--lime);
    font-size: 18px;
    font-weight: 800;
}

.empty-state h3 {
    margin: 10px 0;
    color: var(--evergreen);
    font-size: 25px;
}

.empty-state p {
    max-width: 560px;
    margin: 0 auto 25px;
    color: var(--muted);
}

.button-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 21px;
    border-radius: 5px;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.button-primary:hover {
    background: var(--green-dark);
}

.clear-link {
    display: block;
    margin-top: 17px;
    color: var(--green);
    font-size: 13px;
}

/* MASTERCLASS CTA */

.blog-cta {
    padding: 65px 0;
    background: var(--evergreen);
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-copy {
    max-width: 690px;
}

.cta-kicker {
    color: var(--lime);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cta-copy h2 {
    margin: 13px 0;
    color: #fff;
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.25;
    letter-spacing: -1px;
}

.cta-copy p {
    margin: 0;
    color: #c5d0c9;
    font-size: 14px;
    line-height: 1.8;
}

.button-light {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding: 15px 22px;
    border-radius: 5px;
    background: var(--lime);
    color: var(--evergreen);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s;
}

.button-light:hover {
    background: #d9f69a;
}

/* BLACK FOOTER */

.site-footer {
    background: #080b09 !important;
    color: #fff !important;
    margin-top: 0;
    padding: 55px 0 0 !important;
    border-radius: 0 !important;
}

.site-footer .footer-top {
    display: grid;
    grid-template-columns: .9fr 1.5fr;
    gap: 55px;
    padding-bottom: 38px;
    border-bottom: 1px solid #303630;
    align-items: start;
}

.site-footer .footer-logo {
    display: block;
    width: 125px !important;
    max-width: 125px !important;
    height: 48px !important;
    object-fit: contain !important;
    object-position: left center;
    filter: brightness(0) invert(1);
    margin-bottom: 18px;
}

.site-footer .footer-brand {
    max-width: 340px;
}

.site-footer .footer-brand p {
    color: #b9c2bc !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    margin: 0 0 18px;
}

.site-footer .footer-brand-note {
    display: inline-block;
    color: #c8ed70 !important;
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: 2px;
}

.site-footer .footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.site-footer .foot-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.site-footer .foot-col strong {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.site-footer .foot-col a {
    color: #b9c2bc !important;
    font-size: 13px !important;
    text-decoration: none !important;
    line-height: 1.6;
}

.site-footer .foot-col a:hover {
    color: var(--lime) !important;
}

.site-footer .copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    color: #929c95 !important;
    font-size: 11px !important;
}

/* TABLET */

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

    .site-footer .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .site-footer .footer-brand {
        max-width: 500px;
    }
}

/* MOBILE */

@media (max-width: 700px) {
    .header-inner {
        min-height: 76px;
    }

    .header-logo {
        width: 135px;
        max-width: 135px;
        height: 55px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px 4%;
        background: #fff;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 17px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav .nav-cta {
        text-align: center;
    }

    .blog-hero {
        padding: 60px 0 50px;
    }

    .blog-hero h1 {
        font-size: clamp(38px, 10vw, 54px);
        letter-spacing: -1.8px;
    }

    .blog-hero p {
        font-size: 15px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        min-height: 48px;
    }

    .hero-bottom {
        gap: 15px;
    }

    .category-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .articles-section {
        padding-top: 50px;
        padding-bottom: 55px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-image {
        height: 230px;
    }

    .article-content {
        min-height: auto;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .site-footer {
        padding-top: 38px !important;
    }

    .site-footer .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
    }

    .site-footer .copyright {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 380px) {
    .hero-bottom {
        gap: 10px;
    }

    .hero-bottom span {
        font-size: 9px;
    }

    .site-footer .footer-columns {
        gap: 25px 12px;
    }
}


/* =========================================
   GROWSPORTS BLUE / BLACK / WHITE THEME
   Matches the main GrowSports website
========================================= */

:root {
    --green: #2563eb;
    --green-dark: #1d4ed8;
    --evergreen: #0b0d10;
    --lime: #bfdbfe;
    --ink: #111827;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #eff6ff;
    --white: #ffffff;
}

/* GLOBAL */
body {
    background: #ffffff;
    color: #111827;
}

a {
    transition: color .2s ease;
}

/* HEADER */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.main-nav > a {
    color: #334155;
}

.main-nav > a:hover {
    color: #2563eb;
}

.main-nav .nav-cta {
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
}

.main-nav .nav-cta:hover {
    background: #1d4ed8;
}

.menu-toggle {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #111827;
}

/* HERO */
.blog-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(37,99,235,.09), transparent 30%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 70%);
}

.hero-label,
.hero-label-dot {
    color: #2563eb;
}

.hero-label-dot {
    background: #2563eb;
}

.blog-hero h1 {
    color: #111827;
}

.blog-hero h1 span {
    color: #2563eb;
}

.blog-hero p {
    color: #64748b;
}

/* SEARCH */
.search-input-wrap {
    border-color: #dbe4ef;
}

.search-icon {
    color: #2563eb;
}

.search-form button {
    background: #2563eb;
    border-radius: 999px;
}

.search-form button:hover {
    background: #1d4ed8;
}

/* CATEGORIES */
.category-section {
    background: #ffffff;
    border-color: #e2e8f0;
}

.category-heading {
    color: #111827;
}

.category-pill {
    border-color: #e2e8f0;
    color: #475569;
}

.category-pill:hover,
.category-pill.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

/* ARTICLES */
.section-kicker,
.article-category,
.read-link,
.clear-link {
    color: #2563eb;
}

.section-heading h2 {
    color: #111827;
}

.article-card {
    background: #ffffff;
    border-color: #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 7px 22px rgba(15,23,42,.045);
}

.article-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 34px rgba(15,23,42,.10);
}

.article-content h3 a {
    color: #111827;
}

.article-content h3 a:hover {
    color: #2563eb;
}

.article-content > p {
    color: #64748b;
}

/* IMAGE PLACEHOLDER */
.image-placeholder {
    background: linear-gradient(135deg, #0b0d10, #17202d);
}

.placeholder-brand {
    color: #93c5fd;
}

/* PAGINATION */
.pagination a {
    color: #2563eb;
    border-color: #dbe4ef;
}

.pagination a:hover {
    background: #2563eb;
    color: #ffffff;
}

/* EMPTY STATE */
.empty-state {
    background: #eff6ff;
    border-color: #dbeafe;
}

.empty-icon {
    background: #111827;
    color: #93c5fd;
}

.empty-state h3 {
    color: #111827;
}

.button-primary {
    background: #2563eb;
    border-radius: 999px;
}

.button-primary:hover {
    background: #1d4ed8;
}

/* MASTERCLASS CTA */
.blog-cta {
    background: linear-gradient(135deg, #0b0d10, #17202d);
    color: #ffffff;
}

.cta-kicker {
    color: #93c5fd;
}

.cta-copy h2 {
    color: #ffffff;
}

.cta-copy p {
    color: #cbd5e1;
}

.button-light {
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
}

.button-light:hover {
    background: #1d4ed8;
}

/* FOOTER */
.site-footer {
    background: #0b0d10 !important;
    color: #ffffff !important;
}

.site-footer .footer-brand-note {
    color: #93c5fd !important;
}

.site-footer .foot-col a:hover {
    color: #93c5fd !important;
}

/* MOBILE NAVIGATION */
@media (max-width: 700px) {
    .main-nav {
        background: #ffffff;
        border-color: #e2e8f0;
    }

    .main-nav > a {
        color: #111827;
    }

    .main-nav .nav-cta {
        color: #ffffff;
    }
}

/* FOCUS */
:focus-visible {
    outline: 3px solid rgba(37,99,235,.65);
    outline-offset: 3px;
}

