/* =========================================================
   NATRIXONE MASTER CONTENT / LANDING PAGE STYLES
   =========================================================

   Canonical design system:
   Medical Recovery = primary visual standard.

   Used for:
   - Puppy pages
   - Senior dog pages
   - Medical Recovery
   - Camelina / FAQ / Science
   - 100 Dog Study / Research
   - Future NatrixOne landing pages

   ========================================================= */


/* =========================================================
   FEATURED IMAGE
   ========================================================= */

.featured-image,
.page-header-image-single,
.inside-article > .post-image,
.inside-article > .featured-image {
    display: none !important;
}


/* =========================================================
   MASTER PAGE SHELL
   ========================================================= */

.n1-page {
    --green: #6f8f22;
    --green-light: #b6ce72;
    --dark: #292929;
    --cream: #f7f5ef;
    --soft: #f1f3ed;
    --line: #e3e3df;
    --muted: #666666;

    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 60px;

    background: #ffffff;
    color: var(--dark);

    font-size: 18px;
    line-height: 1.58;

    border-radius: 18px;
    overflow: hidden;
}

.n1-page * {
    box-sizing: border-box;
}

.n1-page p,
.n1-page li,
.n1-page a,
.n1-page span {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}


/* =========================================================
   CONTENT WIDTHS
   ========================================================= */

.n1-wrap {
    width: min(1120px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.n1-reading {
    width: min(800px, 100%);
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   SECTION SPACING
   ========================================================= */

.n1-section {
    padding: 68px 0;
}

.n1-center {
    text-align: center;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.n1-eyebrow {
    margin: 0 0 12px;

    color: var(--green);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.n1-page h1 {
    max-width: 950px;
    margin: 0 auto 25px;

    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
}

.n1-page h2 {
    margin: 0 0 22px;

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.14;
}

.n1-page h3 {
    margin: 0 0 12px;

    font-size: 22px;
    line-height: 1.25;
}

.n1-page p {
    margin-top: 0;
    margin-bottom: 20px;
}

.n1-reading p,
.n1-story-copy p,
.n1-study-grid p,
.n1-study-case p {
    width: 100%;
    max-width: none;

    line-height: 1.58;
}


/* =========================================================
   HERO
   ========================================================= */

.n1-hero {
    padding: 70px 0 80px;
    text-align: center;
}

.n1-hero-intro {
    max-width: 780px;
    margin: 0 auto 30px;

    font-size: clamp(20px, 2.3vw, 27px);
    line-height: 1.48;
}

.n1-hero-image {
    max-width: 900px;
    margin: 40px auto 20px;
}

.n1-hero-image img {
    display: block;

    width: 100%;
    height: auto;
    max-height: 610px;

    object-fit: cover;
    object-position: center;

    border-radius: 20px;
}

.n1-caption {
    margin-top: 9px;

    font-size: 14px;
    opacity: .7;
}

.n1-count {
    margin: 28px 0;

    font-size: 21px;
    font-weight: 700;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.n1-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 14px 30px;

    background: var(--green);
    color: #ffffff !important;

    text-align: center !important;
    text-decoration: none !important;

    font-weight: 700;
    line-height: 1.15;

    border: 0;
    border-radius: 7px;

    transition:
        transform .15s ease,
        opacity .15s ease;
}

.n1-button:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.n1-button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 12px;
    margin-top: 25px;
}

.n1-button-row.n1-left {
    justify-content: flex-start;
}

.n1-button-outline {
    background: #ffffff;
    color: var(--green) !important;

    border: 2px solid var(--green);
}

.n1-button-dark {
    background: var(--dark);
    color: #ffffff !important;
}


/* =========================================================
   CREAM / INTRO SECTION
   ========================================================= */

.n1-intro {
    background: var(--cream);
}


/* =========================================================
   EDITORIAL IMAGE + TEXT
   Medical Recovery standard
   ========================================================= */

.n1-story {
    border-top: 1px solid var(--line);
}

.n1-story-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    gap: 60px;
    align-items: center;
}

.n1-story-grid.reverse {
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, .9fr);
}

.n1-story-copy {
    min-width: 0;
}

.n1-story-image img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 5;
    object-fit: cover;

    border-radius: 18px;
}

.n1-story-image.contain img,
.n1-contain img {
    aspect-ratio: auto;
    object-fit: contain;
}


/* =========================================================
   QUOTES
   ========================================================= */

.n1-quote {
    margin: 28px 0;
    padding: 4px 0 4px 22px;

    border-left: 4px solid var(--green);

    font-size: 20px;
    line-height: 1.5;
    font-style: italic;
}

.n1-quote cite {
    display: block;

    margin-top: 8px;

    font-size: 15px;
    font-style: normal;
    font-weight: 700;
}


/* =========================================================
   HEALTH STRIP
   ========================================================= */

.n1-health-strip {
    background: var(--dark);
    color: #ffffff;

    text-align: center;
}

.n1-health-strip .n1-eyebrow {
    color: var(--green-light);
}

.n1-health-strip h2,
.n1-health-strip p {
    color: #ffffff;
}

.n1-health-words {
    margin: 15px 0 20px;

    font-size: clamp(30px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.2;
}


/* =========================================================
   DARK VIDEO / SCIENCE SECTION
   ========================================================= */

.n1-video-section {
    background: var(--dark);
    color: #ffffff;
}

.n1-video-section h2,
.n1-video-section h3,
.n1-video-section p {
    color: #ffffff;
}

.n1-video-section .n1-eyebrow {
    color: var(--green-light);
}

.n1-video-copy {
    max-width: 720px;
    margin: 0 auto 35px;
}

.n1-video {
    width: min(100%, 960px);
    aspect-ratio: 16 / 9;

    margin: 35px auto 0;

    overflow: hidden;
    border-radius: 18px;

    background: #000000;
}

.n1-video iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   SCIENCE NUMBER / EMPHASIS
   ========================================================= */

.n1-science-number {
    margin: 20px 0 18px;

    color: var(--green-light);

    font-size: clamp(64px, 10vw, 110px);
    line-height: .95;
    font-weight: 700;
}

.n1-science-label {
    max-width: 680px;
    margin: 0 auto;

    font-size: 21px;
}


/* =========================================================
   PROOF / EVIDENCE CARDS
   ========================================================= */

.n1-proof {
    background: var(--soft);
}

.n1-proof-intro {
    max-width: 760px;
    margin: 0 auto;
}

.n1-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
    margin-top: 40px;
}

.n1-proof-card {
    padding: 25px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 14px;
}

.n1-proof-card p {
    margin-bottom: 0;

    font-size: 16px;
    line-height: 1.55;
}

.n1-proof-card strong {
    color: var(--green);
}


/* =========================================================
   SOURCES
   ========================================================= */

.n1-source {
    margin-top: 22px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.5;
}

.n1-source a {
    color: var(--green);
    font-weight: 700;
}


/* =========================================================
   PRODUCT BRIDGE
   ========================================================= */

.n1-product {
    text-align: center;
}

.n1-product p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   CTA
   ========================================================= */

.n1-cta {
    background: var(--green);
    color: #ffffff;

    text-align: center;
}

.n1-cta h2,
.n1-cta h3,
.n1-cta p {
    color: #ffffff;
}

.n1-cta p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.n1-cta .n1-button {
    background: #ffffff;
    color: var(--dark) !important;
}


/* =========================================================
   FAQ
   ========================================================= */

.n1-faq details {
    padding: 20px 0;

    border-bottom: 1px solid var(--line);
}

.n1-faq summary {
    cursor: pointer;

    font-size: 19px;
    font-weight: 700;
}

.n1-faq details p {
    padding-top: 15px;
    margin-bottom: 0;
}

.n1-disclaimer {
    margin-top: 35px;

    font-size: 13px;
    line-height: 1.5;
    opacity: .7;
}


/* =========================================================
   RESEARCH / 100 DOG STUDY
   ========================================================= */


/* ---------- Research Hero ---------- */

.n1-study-hero {
    padding: 72px 0 82px;

    background:
        linear-gradient(
            135deg,
            #171717 0%,
            #292929 72%,
            #6f8f22 100%
        );

    color: #ffffff;
}

.n1-study-hero h1,
.n1-study-hero p {
    color: #ffffff;
}

.n1-study-hero .n1-eyebrow {
    color: var(--green-light);
}


/* ---------- Research Image + Text ---------- */

.n1-study-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .78fr)
        minmax(0, 1.22fr);

    gap: 58px;
    align-items: center;
}

.n1-study-grid > * {
    min-width: 0;
}

.n1-study-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 18px;
}


/* ---------- Research Facts ---------- */

.n1-study-facts {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
    margin: 32px 0;
}

.n1-study-fact {
    padding: 24px 16px;

    background: #ffffff;

    border: 2px solid var(--green);
    border-radius: 14px;

    text-align: center;
}

.n1-study-fact strong {
    display: block;

    margin-bottom: 10px;

    color: var(--green);

    font-size: 36px;
    line-height: 1;
}


/* ---------- Research Callout ---------- */

.n1-study-callout {
    max-width: 900px;

    margin: 30px auto;
    padding: 22px 26px;

    background: var(--soft);

    border-left: 5px solid var(--green);
    border-radius: 10px;

    line-height: 1.55;
}


/* ---------- Benefits in Numbers ---------- */

.n1-study-results {
    background: #111111;
    color: #ffffff;
}

.n1-study-results h2,
.n1-study-results h3,
.n1-study-results p {
    color: #ffffff;
}

.n1-study-results .n1-eyebrow {
    color: var(--green-light);
}

.n1-study-results-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    gap: 60px;
    align-items: center;
}

.n1-study-results-grid > div:first-child {
    max-width: 500px;
}

.n1-study-bar-item {
    margin-bottom: 24px;
}

.n1-study-bar-item:last-child {
    margin-bottom: 0;
}

.n1-study-bar-label {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 17px;
}

.n1-study-bar {
    height: 38px;

    overflow: hidden;

    background: #f1f1f1;

    border-radius: 999px;
}

.n1-study-fill {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    height: 100%;
    padding-right: 14px;

    background: var(--green);
    color: #ffffff;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;
}


/* ---------- Original Study Charts ---------- */

.n1-study-charts {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
    margin-top: 32px;
}

.n1-study-charts img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 16px;
}


/* ---------- Large Feature / Labrador ---------- */

.n1-study-feature {
    background: var(--cream);
}

.n1-study-feature-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, 1.05fr);

    gap: 58px;
    align-items: center;
}

.n1-study-feature-grid > * {
    min-width: 0;
}

.n1-study-feature img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 18px;
}


/* ---------- Case Study Cards ---------- */

.n1-study-cases {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;
    margin-top: 35px;

    align-items: stretch;
}

.n1-study-case {
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 30px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 16px;
}

.n1-study-case.alt {
    background: var(--soft);
}

.n1-study-case p {
    font-size: 17px;
    line-height: 1.55;
}

.n1-study-case .n1-button {
    align-self: center;

    min-width: 270px;
    margin-top: auto;

    text-align: center !important;
}

.n1-study-pill {
    display: inline-block;
    align-self: flex-start;

    margin-bottom: 18px;
    padding: 5px 11px;

    background: #eef3df;
    color: var(--green);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}

.n1-study-source {
    margin-bottom: 22px;

    color: var(--muted);

    font-size: 15px !important;
    line-height: 1.5 !important;
}


/* =========================================================
   UTILITY CLASSES
   ========================================================= */

.n1-soft {
    background: var(--soft);
}

.n1-cream {
    background: var(--cream);
}

.n1-dark {
    background: var(--dark);
    color: #ffffff;
}

.n1-dark h2,
.n1-dark h3,
.n1-dark p,
.n1-dark li {
    color: #ffffff;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 780px) {

    .n1-page {
        width: calc(100% - 16px);
        margin: 8px auto 30px;

        border-radius: 12px;
    }

    .n1-wrap {
        width: min(calc(100% - 28px), 1120px);
    }

    .n1-section {
        padding: 48px 0;
    }

    .n1-hero {
        padding: 45px 0 55px;
    }


    /* Story and research layouts */

    .n1-story-grid,
    .n1-story-grid.reverse,
    .n1-study-grid,
    .n1-study-results-grid,
    .n1-study-feature-grid,
    .n1-study-charts,
    .n1-study-cases {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .n1-story-grid.reverse .n1-story-copy {
        order: 2;
    }

    .n1-story-grid.reverse .n1-story-image {
        order: 1;
    }

    .n1-story-image img {
        aspect-ratio: 4 / 3;
    }

    .n1-story-image.contain img,
    .n1-contain img {
        aspect-ratio: auto;
    }


    /* Evidence cards */

    .n1-proof-grid {
        grid-template-columns: 1fr;
    }


    /* Research facts */

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


    /* Buttons */

    .n1-button-row {
        flex-direction: column;
        align-items: stretch;
    }

    .n1-button-row .n1-button {
        width: 100%;
    }

    .n1-study-case .n1-button {
        width: 100%;
        min-width: 0;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .n1-study-facts {
        grid-template-columns: 1fr;
    }

    .n1-page {
        font-size: 17px;
    }

    .n1-page h1 {
        font-size: clamp(36px, 12vw, 48px);
    }

    .n1-page h2 {
        font-size: clamp(28px, 9vw, 36px);
    }
}
.n1-footer-utility {
    background:#292929;
    border-radius:14px;
    padding:20px 22px;
    text-align:center;
    border:1px solid rgba(255,255,255,.08);
}

.n1-footer-utility-links {
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.n1-footer-utility-links a {
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}

.n1-footer-utility-links a:hover {
    color:#b6ce72;
}

.n1-footer-social {
    display:flex;
    justify-content:center;
    gap:12px;
}

.n1-footer-social a {
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:50%;
    background:#6f8f22;
    color:#fff;
    transition:transform .15s ease, opacity .15s ease;
}

.n1-footer-social a:hover {
    transform:translateY(-1px);
    opacity:.88;
}

.n1-footer-social svg {
    width:18px;
    height:18px;
    fill:currentColor;
}
/* =====================================================
   NATRIXONE SHOP - FULL WIDTH
   ===================================================== */

body.post-type-archive-product #right-sidebar,
body.post-type-archive-product .widget-area,
body.woocommerce-shop #right-sidebar,
body.woocommerce-shop .widget-area {
    display: none !important;
}

body.post-type-archive-product #primary,
body.post-type-archive-product .content-area,
body.woocommerce-shop #primary,
body.woocommerce-shop .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

body.post-type-archive-product .site-content,
body.woocommerce-shop .site-content {
    display: block !important;
}

/* Remove the default WooCommerce archive heading/breadcrumb
   since the custom page already has its own hero and H1 */
body.post-type-archive-product .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-products-header,
body.woocommerce-shop .woocommerce-breadcrumb,
body.woocommerce-shop .woocommerce-products-header {
    display: none !important;
}