@font-face {
font-display:swap;
    font-family: 'Playfair';
    font-style: normal;
    font-display: swap;
    font-weight: 300 900;
    src: url('/wp-content/themes/generatepress-child/./assets/fonts/playfair-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
font-display:swap;
    font-family: 'Playfair Display';
    font-style: normal;
    font-display: swap;
    font-weight: 400 900;
    src: url('/wp-content/themes/generatepress-child/./assets/fonts/playfair-display-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 Theme Name:     GeneratePress Child
 Theme URI:      https://fursone.com/
 Description:    GeneratePress Child Theme for Fursone Premium Textile Manufacturer.
 Author:         Delia
 Author URI:     https://fursone.com
 Template:       generatepress
 Version:        1.0.0
*/

:root {
    --bg-primary: #f3f2e6;
    --bg-secondary: #d9d5c9;
    --text-main: #26292a;
    --cta-button: #934d34;
    --cta-text: #f3f2e6;
    --font-body: 'Playfair', serif;
    --font-heading: 'Playfair Display', serif;
}

body, h1, h2, h3, h4, h5, h6, p, a, span {
    color: var(--text-main);
}

body, p, a, span, li, label, input, textarea, button, select, option {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

h1.hero-title {
    font-family: var(--font-heading, 'Playfair Display', serif) !important;
}

body {
    background-color: var(--bg-primary);
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.8;
}

section {
    padding: 30px 0 80px 0;
}

section:nth-of-type(odd) {
    background-color: var(--bg-primary);
}
section:nth-of-type(even) {
    background-color: var(--bg-secondary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    /* 1. Global Safe Padding */
    .container {
        padding: 0 24px !important;
        box-sizing: border-box !important;
    }
    
    /* 2. Prevent Horizontal Overflow / 贴边修复 */
    body {
        overflow-x: hidden !important;
    }
    *, *::before, *::after {
        box-sizing: border-box !important;
    }

    /* 3. Global Mobile Typography Standard (Big Tech) */
    body, p, li, .text-body, .description, .excerpt {
        font-size: 17px !important;
        line-height: 1.7 !important;
    }
    
    /* Ensure margins between paragraphs for logical flow */
    p {
        margin-bottom: 1.5em !important;
    }

    /* 4. Heading Hierarchy & Spacing */
    h1, .h1-title, .hero-title {
        font-size: 30px !important;
        line-height: 1.25 !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 24px !important;
    }
    
    h2, .h2-title, .section-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-top: 2em !important;
        margin-bottom: 0.8em !important;
    }
    
    h3, .h3-title {
        font-size: 20px !important;
        line-height: 1.35 !important;
        margin-top: 1.6em !important;
        margin-bottom: 0.6em !important;
    }

    /* 5. Mobile Image Handling */
    img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px; /* Optional soft corners */
    }
}

body .site.grid-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}
body .site-content {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}
body #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
body .site-main .wp-block-group__inner-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.site-footer {
    margin: 0 !important;
    padding: 0 !important;
}
.site-footer .footer-widgets-container,
.site-footer .site-info {
    display: none !important;
}

/* Hide Featured Image on all Pages globally (since custom HTML is used for banners) */
body.page .featured-image,
body.page .page-header-image,
body.page .page-header-image-single,
body.page img.wp-post-image {
    display: none !important;
}

.fursone-featured-media {
    margin: -40px auto 60px auto;
    border-radius: 16px;
    overflow: hidden;
    background: var(--fursone-bg-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    max-width: 1200px;
    position: relative;
    z-index: 10;
    aspect-ratio: 16 / 9; /* Prevents CLS */
}
.fursone-featured-media img {
    width: 100%;
    height: 100%; /* Force fill aspect ratio container */
    display: block;
    object-fit: cover;
}
