/* --- Heritage Page Specific Styles --- */
body {
    background-color: #0e0e0e;
    color: #ffffff;
}

/* --- Page Hero Banner --- */
.page-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 48vh;
    padding: 120px 20px 50px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), url('../images/chilcombe-down-house.jpg');
    background-size: cover;
    background-position: center 40%;
    color: #FFFFFF;
    position: relative;
}

.page-hero-eyebrow {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
    animation: fadeInUp 0.8s ease-out;
}

.page-hero h1 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 2.5rem;
    letter-spacing: 0.08em;
    margin: 0 0 16px 0;
    animation: fadeInUp 1s ease-out;
    text-transform: uppercase;
}

.page-hero-subtitle {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px 0;
    animation: fadeInUp 1s ease-out;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #ffffff;
}

/* --- Editorial Lead Section --- */
.intro-section {
    padding: 90px 32px 70px;
    background-color: #141414;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.intro-container {
    max-width: 860px;
    margin: 0 auto;
}

.intro-eyebrow {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.76rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 14px;
}

.intro-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.intro-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 32px;
    max-width: 240px;
}

.intro-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.intro-divider-icon {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

.intro-lead {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.18rem;
    font-style: italic;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 36px 0;
}

.intro-body-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.72);
    text-align: left;
    margin: 0 auto 24px;
    max-width: 800px;
}

/* --- Stats / Milestones Row --- */
.heritage-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 34px 0;
    margin: 48px auto 0;
    max-width: 900px;
}

.stat-item {
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-number {
    display: block;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* --- 4 Pillars Heritage Grid --- */
.heritage-section {
    padding: 80px 32px 100px;
    background-color: #0e0e0e;
}

.heritage-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.heritage-card {
    background: rgba(22, 22, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 46px 36px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.heritage-card:hover {
    transform: translateY(-8px);
    background: rgba(28, 28, 28, 0.95);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.heritage-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.heritage-card-num {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.74rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.heritage-card-icon {
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, color 0.3s ease;
}

.heritage-card:hover .heritage-card-icon {
    transform: scale(1.1);
    color: #ffffff;
}

.heritage-card h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 14px 0;
}

.heritage-card-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
    margin: 0 0 20px 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.heritage-card:hover .heritage-card-divider {
    width: 60px;
    background: rgba(255, 255, 255, 0.7);
}

.heritage-card p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.74);
    margin: 0;
}

/* --- Callout Section --- */
.callout-section {
    padding: 80px 32px;
    background-color: #141414;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.callout-box {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(22, 22, 22, 0.6);
    padding: 50px 36px;
}

.callout-eyebrow {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.74rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.callout-box h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.callout-box p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 auto 34px;
    max-width: 680px;
}

.callout-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.callout-btn {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 28px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.callout-btn.primary {
    background-color: #ffffff;
    color: #111111;
    border: 1px solid #ffffff;
}

.callout-btn.primary:hover {
    background-color: transparent;
    color: #ffffff;
}

.callout-btn.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.callout-btn.secondary:hover {
    background-color: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .heritage-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .heritage-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 0;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 580px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    .intro-section {
        padding: 60px 16px 50px;
    }
    .intro-title {
        font-size: 1.45rem;
    }
    .intro-lead {
        font-size: 1rem;
    }
    .heritage-stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 0;
    }
    .stat-item::after {
        display: none !important;
    }
    .heritage-section {
        padding: 50px 16px 70px;
    }
    .heritage-card {
        padding: 34px 22px 30px;
    }
    .callout-section {
        padding: 60px 16px;
    }
    .callout-box {
        padding: 36px 20px;
    }
    .callout-box h3 {
        font-size: 1.35rem;
    }
    .callout-actions {
        flex-direction: column;
        gap: 12px;
    }
    .callout-btn {
        width: 100%;
        text-align: center;
    }
}

