/* ==========================================================================
   Antigravity Core — Public Offer & Refund Policy (/public-offer/)
   Boutique Soul UI, Full-Width Canvas (Zero Astra Sidebar Squeeze)
   ========================================================================== */

body.page-template-page-public-offer #content,
body.page-template-page-public-offer #content .ast-container,
body.page-template-page-public-offer #primary,
body.page-template-page-public-offer #main,
body.page-template-page-public-offer .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    float: none !important;
    background: var(--ag-bg-light, #F4F2EA) !important;
}

body.page-template-page-public-offer #secondary {
    display: none !important;
}

.ag-offer-page {
    width: 100%;
    background: var(--ag-bg-light, #F4F2EA);
    font-family: var(--ag-font-primary, 'Cormorant Garamond'), serif;
    color: #1A1A1A;
    padding-bottom: 84px;
}

/* Canonical Hero Banner */
.ag-offer-page .ag-offer-hero {
    position: relative;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0.72) 100%), url('/wp-content/uploads/2026/04/3.png');
    background-size: cover;
    background-position: center;
    padding: 112px 24px 82px;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
}

.ag-offer-page .ag-offer-hero-inner {
    max-width: 960px;
    margin: 0 auto;
}

.ag-offer-page .premium-breadcrumbs {
    font-family: var(--ag-font-primary, 'Cormorant Garamond'), serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
}

.ag-offer-page .premium-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
}

.ag-offer-page .premium-breadcrumbs a:hover {
    color: var(--ag-brand-orange, #D76314);
}

.ag-offer-page .ag-offer-hero h1 {
    font-family: var(--ag-font-primary, 'Cormorant Garamond'), serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 16px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9), 0 8px 32px rgba(0, 0, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.95);
}

.ag-offer-page .ag-offer-hero p {
    font-family: var(--ag-font-primary, 'Cormorant Garamond'), serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.45;
    color: #ffffff;
    max-width: 780px;
    margin: 0 auto;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.9), 0 6px 24px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.95);
}

/* Main Legal Card */
.ag-offer-page .ag-offer-container {
    max-width: 960px;
    margin: -36px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.ag-offer-page .ag-offer-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(215, 99, 20, 0.16);
    border-top: 4px solid var(--ag-brand-orange, #D76314);
    box-shadow: 0 16px 48px rgba(26, 26, 26, 0.08);
    padding: 44px 48px;
}

.ag-offer-page .ag-offer-section {
    margin-bottom: 32px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.ag-offer-page .ag-offer-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ag-offer-page .ag-offer-section h2 {
    font-family: var(--ag-font-primary, 'Cormorant Garamond'), serif;
    font-size: 30px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 14px;
}

.ag-offer-page .ag-offer-section p,
.ag-offer-page .ag-offer-section li {
    font-size: 19px;
    line-height: 1.65;
    color: #33302c;
    margin: 0 0 12px;
}

.ag-offer-page .ag-offer-section ul {
    padding-left: 22px;
    margin: 0 0 12px;
}

.ag-offer-page .ag-offer-requisites {
    background: #faf8f3;
    border-left: 4px solid var(--ag-brand-orange, #D76314);
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin-top: 14px;
}

.ag-offer-page .ag-offer-requisites p {
    margin: 0 0 6px;
    font-size: 18px;
}

.ag-offer-page .ag-offer-requisites p:last-child {
    margin-bottom: 0;
}

.ag-offer-page .ag-offer-payments {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.ag-offer-page .ag-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.14);
    border-radius: 8px;
    padding: 6px 14px;
    height: 36px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .ag-offer-page .ag-offer-hero {
        padding: 96px 18px 64px;
    }
    .ag-offer-page .ag-offer-hero h1 {
        font-size: 36px;
    }
    .ag-offer-page .ag-offer-hero p {
        font-size: 18px;
    }
    .ag-offer-page .ag-offer-card {
        padding: 26px 20px;
    }
    .ag-offer-page .ag-offer-section h2 {
        font-size: 25px;
    }
}
