/*
Theme Name: Dog Theme
Theme URI: 
Author: Dog Guide Team
Author URI: 
Description: A custom WordPress theme for a professional dog information website.
Version: 1.0
Text Domain: dog-theme
*/
/* ========================================
   GLOBAL BASE
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #252525;
    background-color: #ffffff;
}

a {
    color: inherit;
}


/* ========================================
   HEADER
======================================== */

.site-header {
    width: 100%;
    background-color: #fffdf8;
    border-bottom: 1px solid #eee8df;
}

.header-container {
    width: min(1200px, 92%);
    min-height: 82px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


/* Website Name / Logo */

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    color: #49382d;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}


/* ========================================
   PRIMARY NAVIGATION
======================================== */

.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 25px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.primary-menu li {
    margin: 0;
    padding: 0;
}

.primary-menu a {
    display: block;

    color: #333333;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.primary-menu a:hover,
.primary-menu a:focus {
    color: #657a52;
}


/* ========================================
   BASIC RESPONSIVE HEADER
======================================== */

@media (max-width: 1000px) {

    .header-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;

        padding-top: 22px;
        padding-bottom: 22px;
    }

    .primary-menu {
        flex-wrap: wrap;
        gap: 14px 22px;
    }
}
/* ========================================
   HOMEPAGE HERO
======================================== */






/* Hero Content */








/* Hero Button */






/* Hero Image */






/* ========================================
   HERO RESPONSIVE
======================================== */

@media (max-width: 900px) {

    

    

    

    
}

@media (max-width: 600px) {

    

    

    

    

    
}

/* ========================================
   DOG CATEGORY SECTION
======================================== */

.categories-section {
    background: #ffffff;
    padding: 90px 20px;
}

.categories-container {
    max-width: 1360px;
    margin: 0 auto;
}

/* Section Heading */

.section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-label {
    margin: 0 0 12px;
    color: #6f8757;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin: 0 0 16px;
    color: #302820;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.section-heading > p:last-child {
    margin: 0;
    color: #66615b;
    font-size: 18px;
    line-height: 1.7;
}

/* Category Grid */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Individual Card */

.category-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 32px;
    background: #f7f4ed;
    border: 1px solid #ebe5da;
    border-radius: 18px;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #cad3bd;
    box-shadow:
        0 14px 35px rgba(48, 40, 32, 0.10),
        0 22px 38px rgba(90, 170, 255, 0.20);
}

.category-card h3 {
    margin: 0 0 14px;
    color: #302820;
    font-size: 24px;
    line-height: 1.25;
}

.category-card p {
    margin: 0 0 24px;
    color: #66615b;
    font-size: 16px;
    line-height: 1.65;
}

.category-card span {
    margin-top: auto;
    color: #647b4f;
    font-size: 15px;
    font-weight: 700;
}

/* Tablet */

@media (max-width: 900px) {

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading h2 {
        font-size: 36px;
    }
}

/* Mobile */

@media (max-width: 600px) {

    .categories-section {
        padding: 65px 20px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .category-card {
        min-height: 200px;
        padding: 26px;
    }
}

/* ========================================
   CATEGORY IMAGE CARD OVERRIDES
======================================== */

.categories-container {
    max-width: 1200px;
}

.category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Reset old card spacing */

.category-card {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #f7f4ed;
    border: 1px solid #e7dfd1;
    border-radius: 18px;
}

/* Portrait-style image area */

.category-card-image {
    width: 100%;
    aspect-ratio: 9 / 11;
    overflow: hidden;
    background: #eee8df;
}

.category-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content below image */

.category-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
    text-align: center;
}

.category-card-content h3 {
    margin: 0 0 12px;
    color: #302820;
    font-size: 24px;
    line-height: 1.2;
}

.category-card-content p {
    margin: 0 0 22px;
    color: #66615b;
    font-size: 16px;
    line-height: 1.6;
}

/* Green button look */

.category-card-content span {
    display: inline-block;
    align-self: center;
    margin-top: auto;
    padding: 12px 20px;

    background: #667a52;
    color: #ffffff;

    border-radius: 999px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.category-card:hover .category-card-content span {
    background: #526342;
}

/* Tablet */

@media (max-width: 900px) {

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile */

@media (max-width: 600px) {

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card-image {
        aspect-ratio: 9 / 10;
    }

    .category-card-content {
        padding: 22px;
    }
}

/* ========================================
   CATEGORY CARD CONTENT POLISH
======================================== */

.category-card-content {
    padding: 24px 22px 26px;
    text-align: center;
    background: #f8f5ee;
}

.category-card-content h3 {
    margin: 0 0 12px;
    color: #2f2721;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.category-card-content p {
    margin: 0 auto 22px;
    max-width: 290px;

    color: #655f58;
    font-size: 15px;
    line-height: 1.6;
}

/* CTA Button */

.category-card-content span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;
    padding: 12px 20px;
    margin-top: auto;

    background: #667a52;
    color: #ffffff;

    border-radius: 10px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.category-card:hover .category-card-content span {
    background: #526342;
    transform: translateY(-1px);
}

/* ========================================
   MOBILE POLISH
======================================== */

@media (max-width: 600px) {

    /* Header */

    .header-container {
        width: 92%;
        min-height: auto;
        padding: 18px 0;
        gap: 14px;
    }

    .site-logo {
        font-size: 22px;
    }

    .primary-menu {
        gap: 10px 18px;
    }

    .primary-menu a {
        font-size: 14px;
    }


    /* Hero */

    

    

    

    

    


    /* Category Heading */

    .categories-section {
        padding: 58px 16px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .section-heading > p:last-child {
        font-size: 16px;
        line-height: 1.6;
    }


    /* Cards */

    .category-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-card {
        border-radius: 16px;
    }

    .category-card-image {
        aspect-ratio: 4 / 3;
    }

    .category-card-content {
        padding: 20px 18px 22px;
    }

    .category-card-content h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .category-card-content p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    .category-card-content span {
        min-width: 0;
        padding: 11px 18px;
        font-size: 14px;
    }
}


/* ========================================
   NEW EDITORIAL HERO HEADING
======================================== */








/* MOBILE */

@media (max-width: 600px) {

    

    

    
}

/* ========================================
   MOBILE HAMBURGER MENU
======================================== */

/* Desktop par button hide */
.menu-toggle {
    display: none;
}

/* Screen reader helper */
.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;
}

@media (max-width: 600px) {

    .header-container {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .site-branding {
        flex: 1;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;

        padding: 0;

        background: #667a52;
        color: #ffffff;

        border: 0;
        border-radius: 8px;

        cursor: pointer;

        font-size: 24px;
        line-height: 1;
    }

    .main-navigation {
        display: none;
        width: 100%;
        margin-top: 12px;
    }

    .main-navigation.is-open {
        display: block;
    }

    .primary-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        width: 100%;
        padding: 8px 0;

        background: #fffdf8;
        border-top: 1px solid #eee8df;
    }

    .primary-menu li {
        width: 100%;
    }

    .primary-menu a {
        display: block;
        width: 100%;

        padding: 12px 4px;

        font-size: 15px;
        border-bottom: 1px solid #f0ebe3;
    }
}

/* ========================================
   LATEST DOG GUIDES
======================================== */

.latest-guides-section {
    padding: 90px 20px;
    background: #f7f4ed;
}

.latest-guides-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}


/* Guides Grid */
.latest-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}


/* Guide Card */
.latest-guide-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid #ebe5da;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(51, 42, 36, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.latest-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(51, 42, 36, 0.11);
}


/* Featured Image */
.latest-guide-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee9df;
}

.latest-guide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.35s ease;
}

.latest-guide-card:hover .latest-guide-image img {
    transform: scale(1.04);
}


/* Card Content */
.latest-guide-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 26px;
}


/* Date */
.latest-guide-meta {
    margin-bottom: 12px;

    color: #667a52;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Article Title */
.latest-guide-content h3 {
    margin: 0 0 14px;

    color: #332a24;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.latest-guide-content h3 a {
    color: inherit;
    text-decoration: none;
}

.latest-guide-content h3 a:hover {
    color: #667a52;
}


/* Excerpt */
.latest-guide-content p {
    margin: 0 0 22px;

    color: #625b55;

    font-size: 16px;
    line-height: 1.7;
}


/* Read Guide Link */
.latest-guide-link {
    display: inline-flex;
    align-items: center;

    margin-top: auto;

    color: #667a52;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;
}

.latest-guide-link:hover {
    text-decoration: underline;
}


/* No Posts */
.no-posts-message {
    grid-column: 1 / -1;

    padding: 35px;

    background: #ffffff;
    border-radius: 14px;

    color: #625b55;

    text-align: center;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .latest-guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .latest-guides-section {
        padding: 65px 20px;
    }

    .latest-guides-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 35px;
    }

    .latest-guide-content {
        padding: 22px;
    }

    .latest-guide-content h3 {
        font-size: 22px;
    }

}

/* ========================================
   WHY TRUST OUR GUIDES
======================================== */

.trust-section {
    padding: 90px 20px;
    background: #ffffff;
}

.trust-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.trust-card {
    padding: 34px 30px;
    background: #f7f4ed;
    border: 1px solid #ebe5da;
    border-radius: 18px;
    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.top-guide-card:hover,
.top-guide-card:focus-within {
    transform: translateY(-6px);
    border-color: #d5ddcb;
    box-shadow:
        0 16px 34px rgba(48, 40, 32, 0.12),
        0 24px 40px rgba(90, 170, 255, 0.20);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    background: #667a52;
    color: #ffffff;

    border-radius: 50%;

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.trust-card h3 {
    margin: 0 0 14px;

    color: #332a24;

    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.trust-card p {
    margin: 0;

    color: #625b55;

    font-size: 16px;
    line-height: 1.7;
}


/* Tablet */
@media (max-width: 900px) {

    .trust-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

}


/* Mobile */
@media (max-width: 600px) {

    .trust-section {
        padding: 65px 20px;
    }

    .trust-grid {
        gap: 20px;
        margin-top: 35px;
    }

    .trust-card {
        padding: 28px 22px;
    }

    .trust-card h3 {
        font-size: 21px;
    }

}

/* ========================================
   SITE FOOTER
======================================== */

.site-footer {
    background: #2f2a25;
    color: #ffffff;
    margin-top: 0;
}

.footer-container {
    width: min(1200px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 45px;

    padding: 65px 0 50px;
}

.footer-column h2,
.footer-column h3 {
    margin: 0 0 18px;
    color: #ffffff;
}

.footer-column h2 {
    font-size: 26px;
}

.footer-column h3 {
    font-size: 17px;
}

.footer-brand p {
    max-width: 340px;
    margin: 0;

    color: #d9d3cc;
    font-size: 15px;
    line-height: 1.7;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin-bottom: 11px;
}

.footer-column a {
    color: #d9d3cc;
    text-decoration: none;

    font-size: 15px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #a8bb8f;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);

    padding: 20px;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: #bfb8b0;

    font-size: 14px;
}


/* Tablet */
@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

}


/* Mobile */
@media (max-width: 600px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;

        padding: 50px 0 35px;
    }

    .footer-column {
        text-align: left;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        padding: 18px 20px;
    }

}

/* ========================================
   CATEGORY ARCHIVE PAGE
======================================== */

.category-archive-page {
    background: #ffffff;
}


/* Category Hero */

.category-archive-hero {
    padding: 75px 20px;
    background: #f7f4ed;
    text-align: center;
}

.category-archive-container {
    width: min(850px, 100%);
    margin: 0 auto;
}

.category-archive-hero .section-label {
    margin-bottom: 14px;
}

.category-archive-hero h1 {
    margin: 0 0 20px;

    color: #302820;

    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.category-archive-description {
    max-width: 760px;
    margin: 0 auto;

    color: #625c57;

    font-size: 18px;
    line-height: 1.7;
}

.category-archive-description p {
    margin: 0;
}


/* ========================================
   CATEGORY POSTS
======================================== */

.category-posts-section {
    padding: 80px 20px 90px;
    background: #ffffff;
}

.category-posts-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}


/* Post Card */

.category-post-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #f8f5ee;

    border: 1px solid #e7dfd1;
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.category-post-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 35px rgba(51, 42, 36, 0.10);
}


/* Featured Image */

.category-post-image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eee9df;
}

.category-post-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.category-post-card:hover .category-post-image img {
    transform: scale(1.04);
}


/* Card Content */

.category-post-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 26px;
}


/* Date */

.category-post-meta {
    margin-bottom: 12px;

    color: #667a52;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Post Title */

.category-post-content h2 {
    margin: 0 0 14px;

    color: #302820;

    font-size: 24px;
    line-height: 1.3;
}

.category-post-content h2 a {
    color: inherit;
    text-decoration: none;
}

.category-post-content h2 a:hover {
    color: #667a52;
}


/* Excerpt */

.category-post-content p {
    margin: 0 0 22px;

    color: #625c57;

    font-size: 16px;
    line-height: 1.7;
}


/* Read Guide */

.category-post-link {
    display: inline-flex;

    margin-top: auto;

    color: #667a52;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;
}

.category-post-link:hover {
    text-decoration: underline;
}


/* ========================================
   EMPTY CATEGORY
======================================== */

.category-empty-state {
    max-width: 650px;
    margin: 0 auto;

    padding: 55px 35px;

    background: #f7f4ed;

    border: 1px solid #e7dfd1;
    border-radius: 18px;

    text-align: center;
}

.category-empty-state h2 {
    margin: 0 0 12px;

    color: #302820;

    font-size: 28px;
}

.category-empty-state p {
    margin: 0;

    color: #625c57;

    font-size: 16px;
    line-height: 1.7;
}


/* ========================================
   PAGINATION
======================================== */

.category-pagination {
    margin-top: 50px;
    text-align: center;
}

.category-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
}

.category-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    padding: 0 14px;

    background: #f7f4ed;
    color: #302820;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.category-pagination .page-numbers.current,
.category-pagination .page-numbers:hover {
    background: #667a52;
    color: #ffffff;
}


/* ========================================
   CATEGORY TABLET
======================================== */

@media (max-width: 900px) {

    .category-archive-hero h1 {
        font-size: 44px;
    }

    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ========================================
   CATEGORY MOBILE
======================================== */

@media (max-width: 600px) {

    .category-archive-hero {
        padding: 55px 20px;
    }

    .category-archive-hero h1 {
        font-size: 36px;
        letter-spacing: -0.8px;
    }

    .category-archive-description {
        font-size: 16px;
        line-height: 1.65;
    }

    .category-posts-section {
        padding: 55px 20px 65px;
    }

    .category-posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-post-content {
        padding: 22px;
    }

    .category-empty-state {
        padding: 40px 24px;
    }

    .category-empty-state h2 {
        font-size: 24px;
    }

}

/* ========================================
   SINGLE ARTICLE PAGE
======================================== */

.single-post-page {
    background: #ffffff;
}


/* ========================================
   ARTICLE HEADER
======================================== */

.single-article-header {
    padding: 75px 20px 55px;
    background: #f7f4ed;
    text-align: center;
}

.single-article-header-inner {
    width: min(900px, 100%);
    margin: 0 auto;
}

.single-article-category {
    margin-bottom: 16px;

    color: #667a52;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.single-article-header h1 {
    max-width: 850px;
    margin: 0 auto 22px;

    color: #302820;

    font-size: 54px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.single-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px;

    color: #746c65;

    font-size: 14px;
}


/* ========================================
   FEATURED IMAGE
======================================== */

.single-featured-image {
    width: min(1100px, calc(100% - 40px));
    margin: 50px auto 0;

    overflow: hidden;

    border-radius: 20px;

    background: #eee9df;
}

.single-featured-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 620px;

    object-fit: cover;
}


/* ========================================
   ARTICLE CONTENT
======================================== */

.single-article-content {
    padding: 60px 20px 90px;
}

.single-article-content-inner {
    width: min(760px, 100%);
    margin: 0 auto;

    color: #433c36;

    font-size: 18px;
    line-height: 1.85;
}

.single-article-content-inner p {
    margin: 0 0 25px;
}

.single-article-content-inner h2 {
    margin: 48px 0 18px;

    color: #302820;

    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.6px;
}

.single-article-content-inner h3 {
    margin: 38px 0 16px;

    color: #302820;

    font-size: 26px;
    font-weight: 750;
    line-height: 1.3;
}

.single-article-content-inner h4 {
    margin: 30px 0 14px;

    color: #302820;

    font-size: 21px;
    line-height: 1.35;
}

.single-article-content-inner ul,
.single-article-content-inner ol {
    margin: 0 0 28px;
    padding-left: 28px;
}

.single-article-content-inner li {
    margin-bottom: 10px;
}

.single-article-content-inner a {
    color: #5f764b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-article-content-inner img {
    max-width: 100%;
    height: auto;

    margin-top: 15px;
    margin-bottom: 25px;

    border-radius: 14px;
}

.single-article-content-inner blockquote {
    margin: 35px 0;
    padding: 24px 28px;

    background: #f7f4ed;

    border-left: 4px solid #667a52;
    border-radius: 0 12px 12px 0;

    color: #514941;
}

.single-article-content-inner blockquote p:last-child {
    margin-bottom: 0;
}


/* ========================================
   RELATED GUIDES
======================================== */

.related-guides-section {
    padding: 80px 20px 90px;

    background: #f7f4ed;
}

.related-guides-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.related-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
    margin-top: 45px;
}

.related-guide-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e7dfd1;
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.related-guide-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 35px rgba(51, 42, 36, 0.10);
}

.related-guide-image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eee9df;
}

.related-guide-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.related-guide-card:hover .related-guide-image img {
    transform: scale(1.04);
}

.related-guide-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 25px;
}

.related-guide-content h3 {
    margin: 0 0 20px;

    color: #302820;

    font-size: 22px;
    line-height: 1.3;
}

.related-guide-content h3 a {
    color: inherit;
    text-decoration: none;
}

.related-guide-content h3 a:hover {
    color: #667a52;
}

.related-guide-link {
    margin-top: auto;

    color: #667a52;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;
}

.related-guide-link:hover {
    text-decoration: underline;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .single-article-header h1 {
        font-size: 46px;
    }

    .related-guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .single-article-header {
        padding: 55px 20px 45px;
    }

    .single-article-header h1 {
        font-size: 36px;
        line-height: 1.12;
        letter-spacing: -1px;
    }

    .single-featured-image {
        width: calc(100% - 40px);
        margin-top: 35px;

        border-radius: 14px;
    }

    .single-article-content {
        padding: 45px 20px 65px;
    }

    .single-article-content-inner {
        font-size: 17px;
        line-height: 1.8;
    }

    .single-article-content-inner h2 {
        margin-top: 40px;
        font-size: 29px;
    }

    .single-article-content-inner h3 {
        font-size: 23px;
    }

    .related-guides-section {
        padding: 60px 20px 70px;
    }

    .related-guides-grid {
        grid-template-columns: 1fr;

        gap: 22px;
        margin-top: 35px;
    }

}

/* ========================================
   STANDARD WORDPRESS PAGES
======================================== */

.standard-page {
    background: #ffffff;
}


/* Page Header */

.standard-page-header {
    padding: 75px 20px;
    background: #f7f4ed;
    text-align: center;
}

.standard-page-header-inner {
    width: min(900px, 100%);
    margin: 0 auto;
}

.standard-page-header .section-label {
    margin-bottom: 14px;
}

.standard-page-header h1 {
    margin: 0;

    color: #302820;

    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}


/* ========================================
   PAGE CONTENT
======================================== */

.standard-page-content {
    padding: 70px 20px 90px;
}

.standard-page-content-inner {
    width: min(820px, 100%);
    margin: 0 auto;

    color: #514941;

    font-size: 18px;
    line-height: 1.8;
}

.standard-page-content-inner > *:first-child {
    margin-top: 0;
}

.standard-page-content-inner p {
    margin: 0 0 24px;
}

.standard-page-content-inner h2 {
    margin: 48px 0 18px;

    color: #302820;

    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.standard-page-content-inner h3 {
    margin: 36px 0 16px;

    color: #302820;

    font-size: 24px;
    line-height: 1.3;
}

.standard-page-content-inner ul,
.standard-page-content-inner ol {
    margin: 0 0 28px;
    padding-left: 28px;
}

.standard-page-content-inner li {
    margin-bottom: 10px;
}

.standard-page-content-inner a {
    color: #667a52;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.standard-page-content-inner strong {
    color: #302820;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .standard-page-header h1 {
        font-size: 44px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .standard-page-header {
        padding: 55px 20px;
    }

    .standard-page-header h1 {
        font-size: 36px;
        letter-spacing: -0.8px;
    }

    .standard-page-content {
        padding: 50px 20px 65px;
    }

    .standard-page-content-inner {
        font-size: 17px;
        line-height: 1.75;
    }

    .standard-page-content-inner h2 {
        margin-top: 38px;
        font-size: 27px;
    }

    .standard-page-content-inner h3 {
        font-size: 22px;
    }

}

/* ========================================
   CONTACT FORM 7
======================================== */

.wpcf7 {
    margin-top: 35px;
    padding: 35px;

    background: #f7f4ed;
    border: 1px solid #e7dfd1;
    border-radius: 18px;
}

.wpcf7 p {
    margin: 0 0 22px;
}

.wpcf7 label {
    display: block;

    color: #302820;
    font-size: 16px;
    font-weight: 700;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    box-sizing: border-box;

    margin-top: 8px;
    padding: 14px 16px;

    background: #ffffff;
    color: #302820;

    border: 1px solid #d8d0c4;
    border-radius: 9px;

    font: inherit;
    font-size: 16px;

    outline: none;
}

.wpcf7 textarea {
    min-height: 170px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #667a52;
    box-shadow: 0 0 0 3px rgba(102, 122, 82, 0.12);
}

.wpcf7 input[type="submit"] {
    padding: 14px 28px;

    background: #667a52;
    color: #ffffff;

    border: 0;
    border-radius: 9px;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
    background: #526440;
}

.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 6px;

    font-size: 14px;
}

.wpcf7 .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 15px;

    border-radius: 8px;
}


/* Mobile */

@media (max-width: 600px) {

    .wpcf7 {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
    }

}

/* ==========================================================
   BETTER DOG LIVING — FINAL HOMEPAGE POLISH
   ========================================================== */

:root {
    --bdl-green: #667a52;
    --bdl-green-dark: #526342;
    --bdl-label: #6f8757;
    --bdl-brown: #302820;
    --bdl-text: #625c57;
    --bdl-cream: #f7f3eb;
    --bdl-card: #f8f5ee;
    --bdl-container: 1200px;
}

.header-container {
    width: min(var(--bdl-container), 92%);
    min-height: 76px;
    gap: 30px;
}

.site-logo { font-size: 23px; line-height: 1.15; }
.primary-menu { gap: 23px; }
.primary-menu a { font-size: 14px; }

.section-label,
.hero-label {
    color: var(--bdl-label);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-heading h2 {
    margin: 0 0 13px;
    color: var(--bdl-brown);
    font-size: clamp(32px, 3vw, 38px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.7px;
}

.section-heading > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--bdl-text);
    font-size: 16px;
    line-height: 1.65;
}

/* HERO */





















/* CATEGORIES */
.categories-section { padding: 72px 20px 76px; }
.categories-container { max-width: 1120px; }

.category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.category-card {
    min-height: 0;
    padding: 0;
    border-radius: 15px;
}

.category-card-image { aspect-ratio: 4 / 3.55; }

.category-card-content {
    padding: 18px 17px 20px;
    background: var(--bdl-card);
}

.category-card-content h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
}

.category-card-content p {
    max-width: 275px;
    margin: 0 auto 15px;
    font-size: 13.5px;
    line-height: 1.55;
}

.category-card-content span {
    min-width: 0;
    padding: 9px 15px;
    border-radius: 7px;
    font-size: 12.5px;
}

/* LATEST GUIDES */
.latest-guides-section { padding: 72px 20px 76px; }
.latest-guides-container { width: min(1120px, 100%); }

.latest-guides-grid {
    gap: 22px;
    margin-top: 38px;
}

.latest-guide-card { border-radius: 15px; }
.latest-guide-image { aspect-ratio: 16 / 9.5; }
.latest-guide-content { padding: 21px; }

.latest-guide-meta {
    margin-bottom: 9px;
    font-size: 11px;
}

.latest-guide-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.28;
}

.latest-guide-content p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.62;
}

.latest-guide-link { font-size: 13px; }

/* TRUST */
.trust-section { padding: 72px 20px 76px; }
.trust-container { width: min(1120px, 100%); }

.trust-grid {
    gap: 22px;
    margin-top: 38px;
}

.trust-card {
    padding: 27px 24px;
    border-radius: 15px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    font-size: 13px;
}

.trust-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.trust-card p {
    font-size: 14px;
    line-height: 1.65;
}

/* FOOTER SCALE */
.footer-container {
    width: min(var(--bdl-container), 92%);
    gap: 40px;
    padding: 55px 0 42px;
}

.footer-column h2 { font-size: 23px; }
.footer-column h3 { font-size: 15px; }
.footer-brand p, .footer-column a { font-size: 14px; }

/* TABLET */
@media (max-width: 900px) {
    

    

    

    

    .categories-section,
    .latest-guides-section,
    .trust-section {
        padding-top: 64px;
        padding-bottom: 68px;
    }

    .category-grid,
    .latest-guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card-image { aspect-ratio: 4 / 3.2; }

    .trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
    }

    .trust-card { padding: 24px 18px; }
}

/* MOBILE */
@media (max-width: 600px) {
    .header-container {
        width: 92%;
        padding: 15px 0;
    }

    .site-logo { font-size: 21px; }

    

    

    

    

    

    

    

    

    

    .categories-section,
    .latest-guides-section,
    .trust-section {
        padding: 52px 16px 56px;
    }

    .section-heading { margin-bottom: 28px; }

    .section-heading h2 {
        margin-bottom: 11px;
        font-size: 29px;
        line-height: 1.14;
    }

    .section-heading > p:last-child {
        font-size: 15px;
        line-height: 1.58;
    }

    .category-grid,
    .latest-guides-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .category-card-image { aspect-ratio: 4 / 3; }

    .category-card-content {
        padding: 17px 16px 19px;
    }

    .category-card-content h3 { font-size: 19px; }

    .category-card-content p {
        margin-bottom: 14px;
        font-size: 13.5px;
    }

    .category-card-content span {
        padding: 9px 14px;
        font-size: 12.5px;
    }

    .latest-guides-grid,
    .trust-grid { margin-top: 28px; }

    .latest-guide-content { padding: 19px; }
    .latest-guide-content h3 { font-size: 19px; }

    .trust-grid {
        max-width: 100%;
    }

    .trust-card { padding: 24px 20px; }

    .footer-container { padding: 45px 0 32px; }
}


/* ==========================================================
   BETTER DOG LIVING — ABOUT US PAGE
   Scoped to .about-page so other pages stay unchanged.
   ========================================================== */

.about-page {
    background: #ffffff;
    color: var(--bdl-brown, #302820);
}

.about-container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.about-page .about-eyebrow {
    margin: 0 0 12px;
    color: var(--bdl-label, #6f8757);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

/* About hero */
.about-hero {
    padding: 58px 20px 60px;
    background: #f7f3eb;
    text-align: center;
}

.about-hero-inner {
    width: min(760px, 100%);
    margin: 0 auto;
}

.about-hero .section-label {
    margin-bottom: 12px;
}

.about-hero h1 {
    margin: 0 0 14px;
    color: #302820;
    font-size: clamp(40px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.4px;
}

.about-hero-text {
    max-width: 620px;
    margin: 0 auto;
    color: #625c57;
    font-size: 17px;
    line-height: 1.65;
}

/* Welcome */
.about-welcome {
    padding: 78px 20px;
    background: #ffffff;
}

.about-welcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: 62px;
}

.about-welcome-content h2,
.about-approach-content h2,
.about-responsible-content h2,
.about-closing-inner h2 {
    margin: 0 0 20px;
    color: #302820;
    font-size: clamp(31px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.7px;
}

.about-welcome-content p:not(.about-eyebrow),
.about-approach-content p:not(.about-eyebrow) {
    margin: 0 0 18px;
    color: #625c57;
    font-size: 16px;
    line-height: 1.75;
}

.about-welcome-content p:last-child,
.about-approach-content p:last-child {
    margin-bottom: 0;
}

.about-welcome-image {
    overflow: hidden;
    border-radius: 20px;
    background: #eee9df;
    box-shadow: 0 16px 38px rgba(58, 47, 39, .10);
}

.about-welcome-image img {
    display: block;
    width: 100%;
    height: 410px;
    object-fit: cover;
    object-position: center;
}

/* Topics */
.about-topics {
    padding: 78px 20px 82px;
    background: #f7f4ed;
}

.about-section-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.about-section-heading h2 {
    margin: 0 0 13px;
    color: #302820;
    font-size: clamp(31px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.7px;
}

.about-section-heading > p:last-child {
    margin: 0 auto;
    color: #625c57;
    font-size: 16px;
    line-height: 1.65;
}

.about-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-topic-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 225px;
    padding: 27px 25px 25px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7dfd1;
    border-radius: 15px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 7px 24px rgba(51, 42, 36, .04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.about-topic-card:hover,
.about-topic-card:focus {
    transform: translateY(-4px);
    border-color: #cad3bd;
    box-shadow: 0 13px 30px rgba(51, 42, 36, .09);
}

.about-topic-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    background: #eef1e9;
    color: #667a52;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.about-topic-card h3 {
    margin: 0 0 10px;
    color: #302820;
    font-size: 21px;
    line-height: 1.25;
}

.about-topic-card p {
    margin: 0 0 19px;
    color: #625c57;
    font-size: 14px;
    line-height: 1.65;
}

.about-topic-link {
    margin-top: auto;
    color: #667a52;
    font-size: 13px;
    font-weight: 800;
}

/* Approach */
.about-approach {
    padding: 82px 20px;
    background: #ffffff;
}

.about-approach-grid {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 70px;
}

.about-approach-highlight {
    min-height: 320px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #667a52;
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(58, 47, 39, .10);
}

.about-big-number {
    display: block;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .55);
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
}

.about-approach-highlight p {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}

/* Responsible care */
.about-responsible {
    padding: 0 20px 82px;
    background: #ffffff;
}

.about-responsible-box {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 27px;
    padding: 42px 46px;
    background: #f7f3eb;
    border: 1px solid #e7dfd1;
    border-radius: 20px;
}

.about-responsible-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: #667a52;
    color: #ffffff;
    border-radius: 50%;
    font-size: 22px;
}

.about-responsible-content h2 {
    margin-bottom: 16px;
    font-size: 31px;
}

.about-responsible-content p:not(.about-eyebrow) {
    max-width: 850px;
    margin: 0 0 14px;
    color: #625c57;
    font-size: 15.5px;
    line-height: 1.7;
}

.about-responsible-content p:last-child {
    margin-bottom: 0;
}

/* Closing */
.about-closing {
    padding: 80px 20px 86px;
    background: #f7f4ed;
}

.about-closing-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.about-closing-inner h2 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-closing-inner > p:not(.about-eyebrow) {
    margin: 0 auto 16px;
    color: #625c57;
    font-size: 16px;
    line-height: 1.75;
}

.about-closing-inner .about-closing-thanks {
    margin-top: 22px;
    color: #433c36;
    font-weight: 700;
}

.about-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 13px 21px;
    background: #667a52;
    color: #ffffff;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.about-home-button:hover,
.about-home-button:focus {
    background: #526342;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 900px) {
    .about-welcome,
    .about-topics,
    .about-approach {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .about-welcome-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .about-welcome-image img {
        height: 360px;
    }

    .about-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-approach-grid {
        grid-template-columns: .85fr 1.15fr;
        gap: 40px;
    }

    .about-approach-highlight {
        min-height: 300px;
        padding: 34px;
    }

    .about-approach-highlight p {
        font-size: 22px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .about-hero {
        padding: 46px 18px 48px;
    }

    .about-hero h1 {
        font-size: 36px;
        letter-spacing: -.8px;
    }

    .about-hero-text {
        font-size: 15px;
    }

    .about-welcome,
    .about-topics,
    .about-approach,
    .about-closing {
        padding: 55px 16px;
    }

    .about-responsible {
        padding: 0 16px 55px;
    }

    .about-welcome-grid,
    .about-approach-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-welcome-content h2,
    .about-approach-content h2,
    .about-closing-inner h2,
    .about-section-heading h2 {
        font-size: 29px;
    }

    .about-welcome-content p:not(.about-eyebrow),
    .about-approach-content p:not(.about-eyebrow),
    .about-closing-inner > p:not(.about-eyebrow) {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-welcome-image {
        border-radius: 16px;
    }

    .about-welcome-image img {
        height: 300px;
    }

    .about-section-heading {
        margin-bottom: 30px;
    }

    .about-topic-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-topic-card {
        min-height: 0;
        padding: 23px 21px;
    }

    .about-topic-number {
        margin-bottom: 16px;
    }

    .about-approach-highlight {
        min-height: 245px;
        padding: 30px;
        border-radius: 16px;
    }

    .about-big-number {
        margin-bottom: 18px;
        font-size: 48px;
    }

    .about-approach-highlight p {
        font-size: 21px;
    }

    .about-responsible-box {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 23px;
        border-radius: 16px;
    }

    .about-responsible-content h2 {
        font-size: 27px;
    }

    .about-responsible-content p:not(.about-eyebrow) {
        font-size: 15px;
    }
}


/* ==========================================================
   BETTER DOG LIVING — DYNAMIC TOP LATEST GUIDES
   ========================================================== */
.top-guides-section {
    padding: 28px 20px 31px;
    background: #fffdf8;
    border-bottom: 1px solid #eee8df;
}
.top-guides-container {
    width: min(var(--bdl-container, 1200px), 100%);
    margin: 0 auto;
}
.top-guides-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}
.top-guides-heading-main {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}
.top-guides-accent {
    width: 3px;
    height: 25px;
    background: var(--bdl-green, #667a52);
    border-radius: 99px;
}
.top-guides-heading h2 {
    margin: 0;
    color: var(--bdl-brown, #302820);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}
.top-guides-heading > p {
    margin: 0;
    color: var(--bdl-text, #625c57);
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}
.top-guides-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.top-guide-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9e2d7;
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(48,40,32,.045);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.top-guide-card:hover,
.top-guide-card:focus-within {
    transform: translateY(-4px);
    border-color: #cad3bd;
    box-shadow: 0 12px 28px rgba(48,40,32,.10);
}
.top-guide-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.top-guide-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee9df;
}
.top-guide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .42s ease;
}
.top-guide-card:hover .top-guide-image img,
.top-guide-card:focus-within .top-guide-image img {
    transform: scale(1.055);
}
.top-guide-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 18px;
    background: linear-gradient(135deg,#f4f0e7,#e8eee1);
}
.top-guide-placeholder span {
    color: var(--bdl-green,#667a52);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.top-guide-content {
    display: flex;
    flex-direction: column;
    min-height: 142px;
    padding: 16px 17px 17px;
}
.top-guide-category {
    align-self: flex-start;
    margin-bottom: 9px;
    padding: 5px 9px;
    background: #eef1e9;
    color: var(--bdl-green-dark,#526342);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .7px;
    text-transform: uppercase;
}
.top-guide-content h3 {
    margin: 0 0 13px;
    color: var(--bdl-brown,#302820);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.28;
    transition: color .2s ease;
}
.top-guide-read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    color: var(--bdl-green,#667a52);
    font-size: 12.5px;
    font-weight: 800;
}
.top-guide-read span {
    display: inline-block;
    transition: transform .2s ease;
}
.top-guide-card:hover .top-guide-content h3,
.top-guide-card:focus-within .top-guide-content h3 {
    color: var(--bdl-green-dark,#526342);
}
.top-guide-card:hover .top-guide-read span,
.top-guide-card:focus-within .top-guide-read span {
    transform: translateX(4px);
}
@media (max-width: 900px) {
    .top-guides-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 600px) {
    .top-guides-section {
        padding: 22px 0 25px;
    }
    .top-guides-heading {
        display: block;
        padding: 0 16px;
        margin-bottom: 15px;
    }
    .top-guides-heading-main {
        margin-bottom: 6px;
    }
    .top-guides-heading > p {
        padding-left: 14px;
        font-size: 12.5px;
    }
    .top-guides-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 0 16px 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .top-guides-grid::-webkit-scrollbar {
        display: none;
    }
    .top-guide-card {
        flex: 0 0 min(78vw,285px);
        scroll-snap-align: start;
    }
    .top-guide-content {
        min-height: 128px;
        padding: 14px 15px 15px;
    }
    .top-guide-content h3 {
        font-size: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .top-guide-card,
    .top-guide-image img,
    .top-guide-content h3,
    .top-guide-read span {
        transition: none;
    }
    .top-guide-card:hover,
    .top-guide-card:focus-within,
    .top-guide-card:hover .top-guide-image img,
    .top-guide-card:focus-within .top-guide-image img {
        transform: none;
    }
}

/* ==========================================================
   BETTER DOG LIVING — PREMIUM REFERENCE HEADER
   ========================================================== */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #fffdf8;
    border-bottom: 1px solid #ece7dd;
    box-shadow: 0 2px 12px rgba(48, 40, 32, 0.04);
}

.header-container {
    width: min(1400px, calc(100% - 48px));
    min-height: 82px;
    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 28px;
}


/* Logo */

.site-branding {
    flex: 0 0 auto;
}

.site-logo-image {
    display: block;
    line-height: 0;
}

.header-brand-logo {
    display: block;
    width: 285px;
    max-width: 100%;
    height: auto;
}


/* Navigation */

.main-navigation {
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 28px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu li {
    position: relative;
    margin: 0;
}

.primary-menu a {
    position: relative;
    display: block;
    padding: 30px 0 28px;

    color: #302820;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    transition: color 0.2s ease;
}

.primary-menu a:hover,
.primary-menu a:focus {
    color: #667a52;
}


/* Active Menu Underline */

.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
    color: #302820;
}

.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: 20px;

    height: 2px;
    background: #667a52;
    border-radius: 20px;
}


/* Header Actions */

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}


/* Search */

.header-search {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: #302820;
    text-decoration: none;
    border-radius: 50%;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.header-search svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.header-search:hover,
.header-search:focus {
    color: #667a52;
    background: #f2f3ed;
}


/* Pinterest Button */

.header-pinterest {
    min-height: 48px;
    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #E60023;
    color: #ffffff;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.header-pinterest:hover,
.header-pinterest:focus {
    background: #c8001f;
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 7px 16px rgba(82, 99, 66, 0.18);
}

.pinterest-icon {
    width: 24px;
    height: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #ffffff;
    border-radius: 50%;

    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 700;
}


/* Desktop Hamburger Hidden */

.menu-toggle {
    display: none;
}


/* ==========================================================
   HEADER — SMALL DESKTOP / LAPTOP
   ========================================================== */

@media (max-width: 1200px) {

    .header-container {
        width: min(100% - 32px, 1100px);
        gap: 20px;
    }

    .header-brand-logo {
        width: 235px;
    }

    .primary-menu {
        gap: 18px;
    }

    .primary-menu a {
        font-size: 13px;
    }

    .header-pinterest {
        padding: 0 15px;
    }
}


/* ==========================================================
   HEADER — TABLET + MOBILE
   ========================================================== */

@media (max-width: 980px) {

    .header-container {
    width: 100%;
    min-height: 72px;
    padding: 0 18px;

    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    }

    .header-brand-logo {
    width: 225px;
    }

    .header-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .header-pinterest {
        display: none;
    }

    .header-search {
        width: 38px;
        height: 38px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        margin: 0;
        padding: 0;

        background: transparent;
        color: #302820;

        border: 0;
        border-radius: 8px;

        cursor: pointer;
    }

    .menu-toggle-icon {
        font-size: 25px;
        line-height: 1;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        display: none;

        padding: 12px 18px 20px;

        background: #fffdf8;

        border-top: 1px solid #ece7dd;
        border-bottom: 1px solid #ece7dd;

        box-shadow: 0 12px 22px rgba(48, 40, 32, 0.08);
    }

    .main-navigation.is-open {
        display: block;
    }

    .primary-menu {
        display: block;
    }

    .primary-menu li {
        border-bottom: 1px solid #eee9df;
    }

    .primary-menu li:last-child {
        border-bottom: 0;
    }

    .primary-menu a {
        padding: 14px 4px;
        font-size: 15px;
    }

    .primary-menu .current-menu-item > a::after,
    .primary-menu .current_page_item > a::after {
        display: none;
    }
}


/* ==========================================================
   HEADER — PHONE
   ========================================================== */

@media (max-width: 520px) {

    .header-container {
        min-height: 66px;
        padding: 0 14px;
        gap: 8px;
    }

    .header-brand-logo {
        width: 190px;
    }

    .header-search {
        width: 35px;
        height: 35px;
    }

    .header-search svg {
        width: 22px;
        height: 22px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }
}


/* ==========================================================
   BETTER DOG LIVING — LATEST GUIDES REFERENCE UI (FINAL OVERRIDE)
   Keeps the rest of the site unchanged.
   ========================================================== */

.top-guides-section {
    padding: 34px 20px 38px;
    background: #fffdf8;
    border-bottom: 1px solid #eee8df;
}

.top-guides-container {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
}

.top-guides-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    min-height: 42px;
    margin: 0 0 18px;
}

.top-guides-heading-main {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.top-guides-accent {
    width: 4px;
    height: 30px;
    background: #667a52;
    border-radius: 99px;
}

.top-guides-heading h2 {
    margin: 0;
    color: #302820;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.top-guides-heading > p {
    margin: 0;
    color: #49423c;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    font-size: 18px;
    font-style: normal;
    line-height: 1.2;
    transform: rotate(-1deg);
}

.top-guides-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
}

.top-guide-card {
    position: relative;
    min-width: 0;
    overflow: visible;
    background: #ffffff;
    border: 1px solid #ece6dc;
    border-radius: 13px;
    box-shadow: 0 8px 24px rgba(48, 40, 32, 0.055);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.top-guide-card:hover,
.top-guide-card:focus-within {
    transform: translateY(-6px);
    border-color: #d5ddcb;
    box-shadow: 0 16px 34px rgba(48, 40, 32, 0.12);
}

.top-guide-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    border-radius: 13px;
}

.top-guide-image {
    position: relative;
    width: 100%;
    height: 180px;
    aspect-ratio: auto;
    overflow: hidden;
    background: #eee9df;
    border-radius: 13px 13px 0 0;
}

.top-guide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}

.top-guide-card:hover .top-guide-image img,
.top-guide-card:focus-within .top-guide-image img {
    transform: scale(1.06);
}

.top-guide-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 170px;
    padding: 27px 20px 19px;
    background: #ffffff;
}

.top-guide-category {
    position: absolute;
    top: -17px;
    left: 14px;
    z-index: 2;
    align-self: auto;
    margin: 0;
    padding: 8px 15px;
    background: #f3f4ed;
    color: #35452c;
    border: 1px solid rgba(102, 122, 82, 0.12);
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(48, 40, 32, 0.05);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.top-guide-content h3 {
    margin: 0 0 17px;
    color: #211d19;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.23;
    letter-spacing: -0.35px;
    transition: color .2s ease;
}

.top-guide-read {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: #587143;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.top-guide-read span {
    display: inline-block;
    font-size: 18px;
    transition: transform .2s ease;
}

.top-guide-card:hover .top-guide-content h3,
.top-guide-card:focus-within .top-guide-content h3 {
    color: #526342;
}

.top-guide-card:hover .top-guide-read span,
.top-guide-card:focus-within .top-guide-read span {
    transform: translateX(5px);
}

/* Laptop */
@media (max-width: 1200px) {
    .top-guides-container {
        width: min(1120px, calc(100% - 36px));
    }

    .top-guides-grid {
        gap: 17px;
    }

    .top-guide-image {
        height: 155px;
    }

    .top-guide-content {
        min-height: 158px;
        padding: 25px 16px 17px;
    }

    .top-guide-content h3 {
        font-size: 18px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .top-guides-section {
        padding: 28px 18px 32px;
    }

    .top-guides-container {
        width: 100%;
    }

    .top-guides-heading {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .top-guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .top-guide-image {
        height: 190px;
    }
}

/* Mobile: swipeable cards like the reference experience */
@media (max-width: 600px) {
    .top-guides-section {
        padding: 24px 0 28px;
    }

    .top-guides-heading {
        display: block;
        padding: 0 16px;
        margin-bottom: 17px;
    }

    .top-guides-heading-main {
        margin-bottom: 9px;
    }

    .top-guides-heading > p {
        padding-left: 18px;
        font-size: 15px;
    }

    .top-guides-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 0 16px 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .top-guides-grid::-webkit-scrollbar {
        display: none;
    }

    .top-guide-card {
        flex: 0 0 min(84vw, 320px);
        scroll-snap-align: start;
    }

    .top-guide-image {
        height: 180px;
    }

    .top-guide-content {
        min-height: 160px;
        padding: 27px 17px 18px;
    }

    .top-guide-content h3 {
        font-size: 19px;
    }

    .top-guide-read {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-guide-card,
    .top-guide-image img,
    .top-guide-content h3,
    .top-guide-read span {
        transition: none;
    }

    .top-guide-card:hover,
    .top-guide-card:focus-within,
    .top-guide-card:hover .top-guide-image img,
    .top-guide-card:focus-within .top-guide-image img {
        transform: none;
    }
}



/* ==========================================================
   BETTER DOG LIVING — PREMIUM REFERENCE HERO
   Final override for the new homepage hero markup only.
   ========================================================== */






























/* Benefit row */














/* Right image */










/* ==========================================================
   HERO — LAPTOP
   ========================================================== */

@media (max-width: 1200px) {

    

    

    

    

    
}


/* ==========================================================
   HERO — TABLET
   ========================================================== */

@media (max-width: 900px) {

    

    

    

    

    

    

    

    
}


/* ==========================================================
   HERO — MOBILE
   ========================================================== */

@media (max-width: 600px) {

    

    

    

    

    

    

    

    

    

    

    

    

    
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    

    
}



/* ==========================================================
   BETTER DOG LIVING — TOP AREA REFERENCE REFINEMENT
   Header + Latest Guides + Hero only
   ========================================================== */

/* ---------- HEADER ---------- */

.site-header {
    background: #fffdf8;
    border-bottom: 1px solid #e9e4da;
    box-shadow: 0 2px 12px rgba(48,40,32,.035);
}

.header-container {
    width: min(1450px, calc(100% - 56px));
    min-height: 76px;
    gap: 26px;
}

.header-brand-logo {
    width: 305px;
}

.main-navigation {
    margin-left: auto;
}

.primary-menu {
    gap: 30px;
}

.primary-menu a {
    padding: 27px 0 26px;
    font-size: 14px;
    font-weight: 650;
}

.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
    bottom: 18px;
    height: 2px;
}

.header-actions {
    gap: 18px;
}

.header-search {
    width: 40px;
    height: 40px;
}

.header-pinterest {
    min-height: 46px;
    padding: 0 19px;
    border-radius: 9px;
    font-size: 14px;
}


/* ---------- LATEST GUIDES ---------- */

.top-guides-section {
    padding: 30px 20px 38px;
    background: #fffdf8;
}

.top-guides-container {
    width: min(1450px, calc(100% - 56px));
}

.top-guides-heading {
    gap: 20px;
    margin-bottom: 18px;
}

.top-guides-heading h2 {
    font-size: 16px;
    letter-spacing: 2px;
}

.top-guides-heading > p {
    font-size: 20px;
    color: #433d37;
}

.top-guides-grid {
    gap: 20px;
}

.top-guide-card {
    border-radius: 14px;
    box-shadow: 0 9px 24px rgba(48,40,32,.055);
}

.top-guide-card-link {
    border-radius: 14px;
}

.top-guide-image {
    height: 175px;
    border-radius: 14px 14px 0 0;
}

.top-guide-content {
    min-height: 160px;
    padding: 27px 20px 18px;
}

.top-guide-category {
    top: -17px;
    left: 14px;
    padding: 8px 14px;
    font-size: 10.5px;
}

.top-guide-content h3 {
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.22;
}

.top-guide-read {
    font-size: 14px;
}


/* ---------- HERO ---------- */
































/* Right image becomes more dominant, like the reference */









/* Handwritten right-side note from the reference */










/* extra handwritten note via generated content */





/* ---------- RESPONSIVE ---------- */

@media (max-width: 1200px) {

    .header-container,
    .top-guides-container {
        width: min(1120px, calc(100% - 36px));
    }

    .header-brand-logo {
        width: 250px;
    }

    .primary-menu {
        gap: 19px;
    }

    .top-guide-image {
        height: 155px;
    }

    

    

    
}

@media (max-width: 980px) {

    .header-container {
        width: 100%;
    }

    .header-brand-logo {
        width: 225px;
    }

    

    

    

    

    

    
}

@media (max-width: 600px) {

    .top-guides-heading > p {
        font-size: 15px;
    }

    

    

    

    

    

    

    

    
}



/* ==========================================================
   BETTER DOG LIVING — FINAL HERO COMPOSITION
   This intentionally overrides earlier hero experiments.
   ========================================================== */





/* Remove the old generated handwritten note. */


















/* Benefits */









/* ==========================================================
   RIGHT VISUAL — NOT A CARD/BOX
   ========================================================== */





/* Softer paw accent near the left edge of the image. */





/* Cream note panel on the FAR RIGHT, like the reference */




.hero-note-heart {
    margin-top: 8px !important;
    font-size: 30px !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1200px) {
    

    

    

    
}

@media (max-width: 980px) {
    

    

    

    

    

    

    
}

@media (max-width: 600px) {
    

    

    

    

    
}



/* ==========================================================
   BETTER DOG LIVING — REFERENCE MATCH MICRO-POLISH
   Underline + hero image crop/layout + lighter benefit icons
   ========================================================== */

/* 1) Shorter, softer hand-drawn underline */


/* 2) Hero right visual closer to reference */




/* Make the handwritten cream panel a little narrower/softer */


/* 3) Lighter, softer benefit icons like reference */








/* 4) Slightly more breathing room like the reference */




@media (max-width: 1200px) {
    

    

    
}

@media (max-width: 980px) {
    

    
}

/* ==========================================================
   BETTER DOG LIVING — CLEAN FINAL HOMEPAGE HERO
   Single canonical hero system. No stacked hero overrides.
   ========================================================== */

.hero-section.hero-reference {
    position: relative;
    width: 100%;
    min-height: 520px;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at -2% 16%, rgba(214,222,202,.76) 0 7.5%, transparent 7.7%),
        radial-gradient(circle at 1% 87%, rgba(222,229,211,.72) 0 8%, transparent 8.2%),
        linear-gradient(90deg, #f7f2e8 0%, #faf7f0 52%, #f7f2e8 100%);
}

.hero-reference .hero-container {
    width: min(1536px, 100%);
    min-height: 520px;
    margin: 0 auto;
    padding-left: 76px;
    display: grid;
    grid-template-columns: 49% 51%;
    align-items: stretch;
    gap: 0;
}

.hero-reference .hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 650px;
    padding: 42px 44px 34px 0;
}

.hero-reference .hero-label {
    margin: 0 0 14px;
    color: #6f8757;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-reference .hero-title {
    max-width: 650px;
    margin: 0 0 24px;
}

.hero-reference .hero-title-line {
    display: block;
    color: #2d2824;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(52px, 4.55vw, 72px);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -2.25px;
    white-space: nowrap;
}

.hero-reference .hero-title-line + .hero-title-line {
    margin-top: 2px;
}

.hero-reference .hero-title-highlight {
    position: relative;
    display: inline-block;
    width: max-content;
    color: #667a52;
}

.hero-reference .hero-title-highlight::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: -9px;
    height: 9px;
    border-bottom: 3px solid #91a57f;
    border-radius: 50%;
    transform: rotate(-1.2deg);
    opacity: .76;
}

.hero-reference .hero-description {
    max-width: 560px;
    margin: 0 0 26px;
    color: #5f5953;
    font-size: 16px;
    line-height: 1.65;
}

.hero-reference .hero-button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 23px;
    border-radius: 999px;
    background: #667a52;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.hero-reference .hero-button:hover,
.hero-reference .hero-button:focus {
    background: #526342;
    color: #fff;
    transform: translateY(-1px);
}

.hero-reference .hero-button span {
    font-size: 18px;
}

/* Benefits */
.hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 0;
    max-width: 595px;
    margin-top: 30px;
    padding-top: 0;
    border: 0;
}

.hero-benefit {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    color: #403a35;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.hero-benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 0;
    bottom: 6px;
    width: 1px;
    background: #dfd9ce;
}

.hero-benefit-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid rgba(127,150,108,.08);
    border-radius: 50%;
    background: #eff3ea;
    color: #899d78;
}

.hero-benefit-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .76;
}

.hero-benefit:nth-child(2) .hero-benefit-icon svg path,
.hero-benefit:nth-child(4) .hero-benefit-icon svg ellipse {
    fill: rgba(137,157,120,.035);
}

/* Right image is part of the hero, not a card */
.hero-reference-image {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    margin: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-reference-image img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: 46% center;
    border-radius: 32% 0 0 23% / 24% 0 0 18%;
    box-shadow: none;
}

/* Light decorative paws */
.hero-reference-image::before,
.hero-reference-image::after {
    content: "";
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: .48;
}

.hero-reference-image::before {
    left: -34px;
    bottom: 20px;
    width: 92px;
    height: 92px;
    background:
        radial-gradient(circle at 30% 30%, #dce4d2 0 13%, transparent 14%),
        radial-gradient(circle at 68% 28%, #dce4d2 0 12%, transparent 13%),
        radial-gradient(circle at 82% 60%, #dce4d2 0 11%, transparent 12%),
        radial-gradient(circle at 24% 62%, #dce4d2 0 11%, transparent 12%),
        radial-gradient(ellipse at 53% 67%, #dce4d2 0 24%, transparent 25%);
}

.hero-reference-image::after {
    left: -14px;
    top: 82px;
    width: 74px;
    height: 74px;
    background:
        radial-gradient(circle at 30% 30%, #e6ebdf 0 13%, transparent 14%),
        radial-gradient(circle at 68% 28%, #e6ebdf 0 12%, transparent 13%),
        radial-gradient(circle at 82% 60%, #e6ebdf 0 11%, transparent 12%),
        radial-gradient(circle at 24% 62%, #e6ebdf 0 11%, transparent 12%),
        radial-gradient(ellipse at 53% 67%, #e6ebdf 0 24%, transparent 25%);
}

/* Narrow organic cream note shape */
.hero-note-panel {
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    width: 112px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 11px 24px;
    background: rgba(250,247,240,.96);
    color: #302820;
    border-radius: 62% 0 0 58% / 20% 0 0 24%;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    font-size: 18px;
    line-height: 1.14;
    text-align: center;
}

.hero-note-panel span {
    display: block;
    transform: rotate(-5deg);
}

.hero-note-heart {
    margin-top: 7px;
    font-size: 28px;
}

/* Laptop */
@media (max-width: 1200px) {
    .hero-reference .hero-container {
        min-height: 500px;
        padding-left: 44px;
        grid-template-columns: 50% 50%;
    }

    .hero-reference .hero-title-line {
        font-size: clamp(47px, 5vw, 62px);
    }

    .hero-reference-image,
    .hero-reference-image img {
        min-height: 500px;
    }

    .hero-note-panel {
        width: 96px;
        font-size: 16px;
    }
}

/* Tablet */
@media (max-width: 980px) {
    .hero-section.hero-reference {
        min-height: 0;
        padding: 44px 20px 50px;
    }

    .hero-reference .hero-container {
        width: min(780px, 100%);
        min-height: 0;
        padding: 0;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-reference .hero-content {
        max-width: 680px;
        padding: 0;
    }

    .hero-reference .hero-title-line {
        white-space: normal;
    }

    .hero-reference-image {
        min-height: 450px;
        border-radius: 26px;
    }

    .hero-reference-image img {
        position: absolute;
        min-height: 450px;
        border-radius: 26px;
        object-position: 50% center;
    }

    .hero-note-panel {
        display: none;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero-section.hero-reference {
        padding: 34px 16px 40px;
    }

    .hero-reference .hero-title-line {
        font-size: clamp(34px, 10.5vw, 44px);
    }

    .hero-benefits {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 18px 0;
    }

    .hero-benefit:nth-child(2)::after {
        display: none;
    }

    .hero-reference-image,
    .hero-reference-image img {
        min-height: 340px;
    }
}

/* ========================================
   ARTICLE TABLE OF CONTENTS
======================================== */

.single-article-content-inner .article-toc {
    width: 100%;
    margin: 34px 0 44px;
    padding: 0;

    background: #f7f3eb;
    border: 1px solid #e1d8ca;
    border-radius: 16px;

    box-shadow: 0 8px 24px rgba(48, 40, 32, 0.05);

    overflow: hidden;
}

.single-article-content-inner .article-toc-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 19px 22px;

    color: #302820;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;

    cursor: pointer;
    list-style: none;
}

.single-article-content-inner .article-toc-title::-webkit-details-marker {
    display: none;
}

.single-article-content-inner .article-toc-title::marker {
    display: none;
}

.single-article-content-inner .article-toc-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex-shrink: 0;

    background: #667a52;
    color: #ffffff;

    border-radius: 50%;

    font-size: 20px;
    font-weight: 500;
    line-height: 1;

    transition: transform 0.2s ease;
}

.single-article-content-inner .article-toc[open] .article-toc-toggle {
    transform: rotate(45deg);
}

.single-article-content-inner .article-toc-nav {
    padding: 0 22px 22px;
}

.single-article-content-inner .article-toc-list {
    margin: 0;
    padding-left: 22px;
}

.single-article-content-inner .article-toc-list li {
    margin: 10px 0;

    color: #625c57;

    font-size: 16px;
    line-height: 1.55;
}

.single-article-content-inner .article-toc-list a {
    color: #526342;

    font-weight: 600;
    text-decoration: none;

    transition: color 0.2s ease;
}

.single-article-content-inner .article-toc-list a:hover {
    color: #302820;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-article-content-inner .article-toc-level-3 {
    margin-left: 18px !important;
    font-size: 15px !important;
}

.single-article-content-inner h2[id],
.single-article-content-inner h3[id] {
    scroll-margin-top: 110px;
}


/* ========================================
   TABLE OF CONTENTS - MOBILE
======================================== */

@media (max-width: 600px) {

    .single-article-content-inner .article-toc {
        margin: 28px 0 36px;
        border-radius: 14px;
    }

    .single-article-content-inner .article-toc-title {
        padding: 16px 18px;
        font-size: 17px;
    }

    .single-article-content-inner .article-toc-toggle {
        width: 28px;
        height: 28px;

        font-size: 18px;
    }

    .single-article-content-inner .article-toc-nav {
        padding: 0 18px 18px;
    }

    .single-article-content-inner .article-toc-list {
        padding-left: 20px;
    }

    .single-article-content-inner .article-toc-list li {
        margin: 8px 0;

        font-size: 15px;
        line-height: 1.5;
    }

    .single-article-content-inner .article-toc-level-3 {
        margin-left: 12px !important;
        font-size: 14px !important;
    }

}

/* ========================================
   SEARCH RESULTS PAGE
======================================== */

.search-results-page {
    background: #ffffff;
}

/* Search Hero */

.search-results-hero {
    padding: 65px 20px;
    background: #f7f3eb;
    text-align: center;
}

.search-results-container {
    width: min(820px, 100%);
    margin: 0 auto;
}

.search-results-hero .section-label {
    margin-bottom: 12px;
}

.search-results-hero h1 {
    margin: 0 0 14px;

    color: #302820;

    font-size: clamp(36px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.search-results-description {
    margin: 0 auto 28px;
    max-width: 620px;

    color: #625c57;

    font-size: 17px;
    line-height: 1.65;
}


/* Search Form */

.search-results-form {
    display: flex;
    align-items: stretch;

    max-width: 620px;
    margin: 0 auto;

    background: #ffffff;

    border: 1px solid #ddd4c7;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 8px 24px rgba(48, 40, 32, 0.06);
}

.search-results-form input[type="search"] {
    flex: 1;

    min-width: 0;

    padding: 15px 18px;

    background: #ffffff;
    color: #302820;

    border: 0;

    font: inherit;
    font-size: 16px;

    outline: none;
}

.search-results-form input[type="search"]::placeholder {
    color: #8a8178;
}

.search-results-form button {
    padding: 0 24px;

    background: #667a52;
    color: #ffffff;

    border: 0;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.search-results-form button:hover,
.search-results-form button:focus {
    background: #526342;
}


/* Results Section */

.search-results-section {
    padding: 72px 20px 90px;
}

.search-results-grid-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* Search Card */

.search-result-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #f8f5ee;

    border: 1px solid #e7dfd1;
    border-radius: 16px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.search-result-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 14px 32px rgba(48, 40, 32, 0.09);
}


/* Card Image */

.search-result-image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eee9df;
}

.search-result-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.search-result-card:hover .search-result-image img {
    transform: scale(1.03);
}


/* Card Content */

.search-result-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 22px;
}

.search-result-category {
    margin-bottom: 10px;

    color: #667a52;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.search-result-content h2 {
    margin: 0 0 12px;

    color: #302820;

    font-size: 21px;
    line-height: 1.3;
}

.search-result-content h2 a {
    color: inherit;
    text-decoration: none;
}

.search-result-content h2 a:hover {
    color: #667a52;
}

.search-result-content p {
    margin: 0 0 18px;

    color: #625c57;

    font-size: 14px;
    line-height: 1.65;
}

.search-result-link {
    margin-top: auto;

    color: #667a52;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.search-result-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* No Results */

.search-no-results {
    max-width: 680px;
    margin: 0 auto;

    padding: 50px 32px;

    background: #f7f3eb;

    border: 1px solid #e4dccf;
    border-radius: 16px;

    text-align: center;
}

.search-no-results h2 {
    margin: 0 0 12px;

    color: #302820;

    font-size: 28px;
}

.search-no-results p {
    margin: 0 0 24px;

    color: #625c57;

    font-size: 16px;
    line-height: 1.65;
}

.search-home-button {
    display: inline-flex;

    padding: 12px 18px;

    background: #667a52;
    color: #ffffff;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.search-home-button:hover {
    background: #526342;
}


/* Pagination */

.search-results-pagination {
    margin-top: 48px;
    text-align: center;
}

.search-results-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;
}

.search-results-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    padding: 0 14px;

    background: #f7f3eb;
    color: #302820;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.search-results-pagination .page-numbers.current,
.search-results-pagination .page-numbers:hover {
    background: #667a52;
    color: #ffffff;
}


/* ========================================
   SEARCH RESULTS - TABLET
======================================== */

@media (max-width: 900px) {

    .search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ========================================
   SEARCH RESULTS - MOBILE
======================================== */

@media (max-width: 600px) {

    .search-results-hero {
        padding: 52px 16px;
    }

    .search-results-hero h1 {
        font-size: 34px;
    }

    .search-results-description {
        font-size: 15px;
    }

    .search-results-form {
        flex-direction: column;

        background: transparent;
        border: 0;
        border-radius: 0;

        box-shadow: none;

        gap: 10px;
    }

    .search-results-form input[type="search"] {
        width: 100%;

        padding: 14px 16px;

        border: 1px solid #ddd4c7;
        border-radius: 10px;
    }

    .search-results-form button {
        width: 100%;

        padding: 14px 18px;

        border-radius: 10px;
    }

    .search-results-section {
        padding: 55px 16px 65px;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .search-result-content {
        padding: 20px;
    }

    .search-result-content h2 {
        font-size: 20px;
    }

    .search-no-results {
        padding: 38px 22px;
    }

    .search-no-results h2 {
        font-size: 25px;
    }

}

@media (max-width: 600px) {

    .search-results-hero h1 {
        font-size: 30px;
        line-height: 1.12;
        letter-spacing: -0.7px;
    }

}

/* ========================================
   404 PAGE
======================================== */

.error-404-page {
    background: #ffffff;
}

/* Hero */

.error-404-hero {
    padding: 80px 20px 85px;
    background: #f7f3eb;
    text-align: center;
}

.error-404-container {
    width: min(800px, 100%);
    margin: 0 auto;
}

.error-404-hero .section-label {
    margin-bottom: 14px;
}

.error-404-number {
    margin-bottom: 10px;

    color: #667a52;

    font-size: clamp(72px, 10vw, 120px);
    font-weight: 900;
    line-height: 0.95;

    letter-spacing: -4px;
}

.error-404-hero h1 {
    margin: 0 0 18px;

    color: #302820;

    font-size: clamp(36px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.1;

    letter-spacing: -1.2px;
}

.error-404-description {
    max-width: 620px;
    margin: 0 auto 30px;

    color: #625c57;

    font-size: 17px;
    line-height: 1.65;
}

.error-404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;
}

.error-404-primary,
.error-404-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 20px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.error-404-primary {
    background: #667a52;
    color: #ffffff;
}

.error-404-primary:hover {
    background: #526342;
}

.error-404-secondary {
    background: #ffffff;
    color: #302820;

    border: 1px solid #d8d0c4;
}

.error-404-secondary:hover {
    border-color: #667a52;
    color: #667a52;
}


/* Help Section */

.error-404-help {
    padding: 72px 20px 90px;
}

.error-404-help-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.error-404-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.error-404-card {
    display: flex;
    flex-direction: column;

    min-height: 250px;

    padding: 28px;

    background: #f8f5ee;

    border: 1px solid #e7dfd1;
    border-radius: 16px;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.error-404-card:hover {
    transform: translateY(-4px);

    border-color: #cad3bd;

    box-shadow: 0 14px 32px rgba(48, 40, 32, 0.08);
}

.error-404-card-number {
    margin-bottom: 18px;

    color: #667a52;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.error-404-card h3 {
    margin: 0 0 12px;

    color: #302820;

    font-size: 22px;
    line-height: 1.25;
}

.error-404-card p {
    margin: 0 0 20px;

    color: #625c57;

    font-size: 15px;
    line-height: 1.65;
}

.error-404-card-link {
    margin-top: auto;

    color: #667a52;

    font-size: 14px;
    font-weight: 700;
}


/* Search Box */

.error-404-search {
    max-width: 700px;

    margin: 60px auto 0;
    padding: 36px;

    background: #f7f3eb;

    border: 1px solid #e1d8ca;
    border-radius: 16px;

    text-align: center;
}

.error-404-search h2 {
    margin: 0 0 10px;

    color: #302820;

    font-size: 28px;
}

.error-404-search p {
    margin: 0 0 24px;

    color: #625c57;

    font-size: 15px;
}

.error-404-search-form {
    display: flex;
    align-items: stretch;

    max-width: 580px;
    margin: 0 auto;

    background: #ffffff;

    border: 1px solid #d8d0c4;
    border-radius: 10px;

    overflow: hidden;
}

.error-404-search-form input[type="search"] {
    flex: 1;

    min-width: 0;

    padding: 14px 16px;

    border: 0;

    background: #ffffff;
    color: #302820;

    font: inherit;
    font-size: 15px;

    outline: none;
}

.error-404-search-form button {
    padding: 0 22px;

    background: #667a52;
    color: #ffffff;

    border: 0;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.error-404-search-form button:hover {
    background: #526342;
}


/* ========================================
   404 - TABLET
======================================== */

@media (max-width: 900px) {

    .error-404-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ========================================
   404 - MOBILE
======================================== */

@media (max-width: 600px) {

    .error-404-hero {
        padding: 58px 16px 62px;
    }

    .error-404-number {
        font-size: 78px;
        letter-spacing: -2px;
    }

    .error-404-hero h1 {
        font-size: 32px;
    }

    .error-404-description {
        font-size: 15px;
    }

    .error-404-actions {
        flex-direction: column;
    }

    .error-404-primary,
    .error-404-secondary {
        width: 100%;
    }

    .error-404-help {
        padding: 55px 16px 65px;
    }

    .error-404-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .error-404-card {
        min-height: 0;
        padding: 24px 22px;
    }

    .error-404-search {
        margin-top: 40px;
        padding: 28px 20px;
    }

    .error-404-search h2 {
        font-size: 24px;
    }

    .error-404-search-form {
        flex-direction: column;

        background: transparent;
        border: 0;
        border-radius: 0;

        gap: 10px;
    }

    .error-404-search-form input[type="search"] {
        width: 100%;

        border: 1px solid #d8d0c4;
        border-radius: 9px;
    }

    .error-404-search-form button {
        width: 100%;

        padding: 14px 18px;

        border-radius: 9px;
    }

}

/* ========================================
   404 PAGE
======================================== */

.error-404-page {
    background: #ffffff;
}

/* Hero */

.error-404-hero {
    padding: 80px 20px 85px;
    background: #f7f3eb;
    text-align: center;
}

.error-404-container {
    width: min(800px, 100%);
    margin: 0 auto;
}

.error-404-hero .section-label {
    margin-bottom: 14px;
}

.error-404-number {
    margin-bottom: 10px;

    color: #667a52;

    font-size: clamp(72px, 10vw, 120px);
    font-weight: 900;
    line-height: 0.95;

    letter-spacing: -4px;
}

.error-404-hero h1 {
    margin: 0 0 18px;

    color: #302820;

    font-size: clamp(36px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.1;

    letter-spacing: -1.2px;
}

.error-404-description {
    max-width: 620px;
    margin: 0 auto 30px;

    color: #625c57;

    font-size: 17px;
    line-height: 1.65;
}

.error-404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;
}

.error-404-primary,
.error-404-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 20px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.error-404-primary {
    background: #667a52;
    color: #ffffff;
}

.error-404-primary:hover {
    background: #526342;
}

.error-404-secondary {
    background: #ffffff;
    color: #302820;

    border: 1px solid #d8d0c4;
}

.error-404-secondary:hover {
    border-color: #667a52;
    color: #667a52;
}


/* Help Section */

.error-404-help {
    padding: 72px 20px 90px;
}

.error-404-help-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.error-404-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.error-404-card {
    display: flex;
    flex-direction: column;

    min-height: 250px;

    padding: 28px;

    background: #f8f5ee;

    border: 1px solid #e7dfd1;
    border-radius: 16px;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.error-404-card:hover {
    transform: translateY(-4px);

    border-color: #cad3bd;

    box-shadow: 0 14px 32px rgba(48, 40, 32, 0.08);
}

.error-404-card-number {
    margin-bottom: 18px;

    color: #667a52;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.error-404-card h3 {
    margin: 0 0 12px;

    color: #302820;

    font-size: 22px;
    line-height: 1.25;
}

.error-404-card p {
    margin: 0 0 20px;

    color: #625c57;

    font-size: 15px;
    line-height: 1.65;
}

.error-404-card-link {
    margin-top: auto;

    color: #667a52;

    font-size: 14px;
    font-weight: 700;
}


/* Search Box */

.error-404-search {
    max-width: 700px;

    margin: 60px auto 0;
    padding: 36px;

    background: #f7f3eb;

    border: 1px solid #e1d8ca;
    border-radius: 16px;

    text-align: center;
}

.error-404-search h2 {
    margin: 0 0 10px;

    color: #302820;

    font-size: 28px;
}

.error-404-search p {
    margin: 0 0 24px;

    color: #625c57;

    font-size: 15px;
}

.error-404-search-form {
    display: flex;
    align-items: stretch;

    max-width: 580px;
    margin: 0 auto;

    background: #ffffff;

    border: 1px solid #d8d0c4;
    border-radius: 10px;

    overflow: hidden;
}

.error-404-search-form input[type="search"] {
    flex: 1;

    min-width: 0;

    padding: 14px 16px;

    border: 0;

    background: #ffffff;
    color: #302820;

    font: inherit;
    font-size: 15px;

    outline: none;
}

.error-404-search-form button {
    padding: 0 22px;

    background: #667a52;
    color: #ffffff;

    border: 0;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.error-404-search-form button:hover {
    background: #526342;
}


/* ========================================
   404 - TABLET
======================================== */

@media (max-width: 900px) {

    .error-404-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ========================================
   404 - MOBILE
======================================== */

@media (max-width: 600px) {

    .error-404-hero {
        padding: 58px 16px 62px;
    }

    .error-404-number {
        font-size: 78px;
        letter-spacing: -2px;
    }

    .error-404-hero h1 {
        font-size: 32px;
    }

    .error-404-description {
        font-size: 15px;
    }

    .error-404-actions {
        flex-direction: column;
    }

    .error-404-primary,
    .error-404-secondary {
        width: 100%;
    }

    .error-404-help {
        padding: 55px 16px 65px;
    }

    .error-404-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .error-404-card {
        min-height: 0;
        padding: 24px 22px;
    }

    .error-404-search {
        margin-top: 40px;
        padding: 28px 20px;
    }

    .error-404-search h2 {
        font-size: 24px;
    }

    .error-404-search-form {
        flex-direction: column;

        background: transparent;
        border: 0;
        border-radius: 0;

        gap: 10px;
    }

    .error-404-search-form input[type="search"] {
        width: 100%;

        border: 1px solid #d8d0c4;
        border-radius: 9px;
    }

    .error-404-search-form button {
        width: 100%;

        padding: 14px 18px;

        border-radius: 9px;
    }

}

/* ========================================
   CONTACT PAGE
======================================== */

.contact-page {
    background: #ffffff;
}

.contact-container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* Hero */

.contact-hero {
    padding: 64px 20px 68px;
    background: #f7f3eb;
    text-align: center;
}

.contact-hero-inner {
    max-width: 760px;
}

.contact-hero .section-label {
    margin-bottom: 12px;
}

.contact-hero h1 {
    margin: 0 0 14px;

    color: #302820;

    font-size: clamp(40px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.contact-hero-text {
    margin: 0 auto;
    max-width: 620px;

    color: #625c57;

    font-size: 17px;
    line-height: 1.65;
}


/* Main */

.contact-main {
    padding: 76px 20px 84px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 48px;
    align-items: start;
}

.contact-eyebrow {
    margin: 0 0 12px;

    color: #6f8757;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;

    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.contact-info h2,
.contact-form-wrap h2,
.contact-bottom-box h2 {
    margin: 0 0 16px;

    color: #302820;

    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.contact-info > p {
    margin: 0 0 24px;

    color: #625c57;

    font-size: 16px;
    line-height: 1.7;
}


/* Info Box */

.contact-info-box {
    margin-top: 30px;
    padding: 26px;

    background: #f8f5ee;

    border: 1px solid #e7dfd1;
    border-radius: 16px;
}

.contact-info-box h3 {
    margin: 0 0 12px;

    color: #302820;

    font-size: 20px;
    line-height: 1.3;
}

.contact-info-box p {
    margin: 0 0 14px;

    color: #625c57;

    font-size: 14px;
    line-height: 1.65;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}


/* Form Area */

.contact-form-wrap {
    padding: 32px;

    background: #f8f5ee;

    border: 1px solid #e7dfd1;
    border-radius: 18px;
}

.contact-form-intro {
    margin: 0 0 24px;

    color: #625c57;

    font-size: 15px;
    line-height: 1.65;
}

/* Override existing CF7 box spacing for this page */

.contact-form-wrap .wpcf7 {
    margin-top: 0;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
}

.contact-form-wrap .wpcf7 p {
    margin: 0 0 20px;
}

.contact-form-wrap .wpcf7 label {
    font-size: 15px;
}

.contact-form-wrap .wpcf7 input[type="text"],
.contact-form-wrap .wpcf7 input[type="email"],
.contact-form-wrap .wpcf7 input[type="url"],
.contact-form-wrap .wpcf7 input[type="tel"],
.contact-form-wrap .wpcf7 textarea {
    width: 100%;

    margin-top: 8px;
    padding: 13px 15px;

    background: #ffffff;
    color: #302820;

    border: 1px solid #d8d0c4;
    border-radius: 9px;

    font-size: 15px;
}

.contact-form-wrap .wpcf7 textarea {
    min-height: 160px;
}

.contact-form-wrap .wpcf7 input[type="submit"] {
    padding: 13px 24px;

    background: #667a52;
    color: #ffffff;

    border: 0;
    border-radius: 9px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.contact-form-wrap .wpcf7 input[type="submit"]:hover {
    background: #526342;
}


/* Fallback */

.contact-form-fallback {
    padding: 20px;

    background: #ffffff;

    border: 1px dashed #d8d0c4;
    border-radius: 10px;

    color: #625c57;
}


/* Bottom CTA */

.contact-bottom {
    padding: 0 20px 90px;
}

.contact-bottom-box {
    max-width: 820px;

    margin: 0 auto;
    padding: 42px 34px;

    background: #f7f3eb;

    border: 1px solid #e1d8ca;
    border-radius: 18px;

    text-align: center;
}

.contact-bottom-box p {
    max-width: 640px;

    margin: 0 auto 24px;

    color: #625c57;

    font-size: 16px;
    line-height: 1.65;
}

.contact-home-button {
    display: inline-flex;

    padding: 12px 20px;

    background: #667a52;
    color: #ffffff;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.contact-home-button:hover {
    background: #526342;
}


/* ========================================
   CONTACT PAGE - TABLET
======================================== */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

}


/* ========================================
   CONTACT PAGE - MOBILE
======================================== */

@media (max-width: 600px) {

    .contact-hero {
        padding: 52px 16px 56px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-hero-text {
        font-size: 15px;
    }

    .contact-main {
        padding: 56px 16px 64px;
    }

    .contact-info h2,
    .contact-form-wrap h2,
    .contact-bottom-box h2 {
        font-size: 27px;
    }

    .contact-form-wrap {
        padding: 24px 20px;
        border-radius: 15px;
    }

    .contact-info-box {
        padding: 22px 20px;
        border-radius: 14px;
    }

    .contact-form-wrap .wpcf7 input[type="submit"] {
        width: 100%;
    }

    .contact-bottom {
        padding: 0 16px 65px;
    }

    .contact-bottom-box {
        padding: 32px 22px;
        border-radius: 15px;
    }

}