/* Generic interior pages. Hero styles come from the approved About design. */

/* ── INTERIOR PAGE HERO ─────────────────────────── */
.page-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroDrift 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroDrift {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.14);
    }
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(6, 14, 28, 0.62) 0%,
            rgba(6, 14, 28, 0.55) 45%,
            rgba(6, 14, 28, 0.92) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px 84px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 22px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .sep {
    color: rgba(201, 168, 76, 0.6);
}

.breadcrumb .current {
    color: var(--gold);
}

.page-hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.page-hero-eyebrow::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--gold);
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.06;
    margin-bottom: 18px;
}

.page-hero-title em {
    color: var(--gold-light);
    font-style: italic;
}

.page-hero-sub {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
}


.page-hero {
    min-height: 46vh;
}

@media (max-width: 1100px) {
    .page-hero-content {
        padding: 0 32px 64px;
    }
}

@media (max-width: 640px) {
    .page-hero {
        min-height: 40svh;
    }

    .page-hero-content {
        padding: 0 24px 48px;
    }

    .page-hero-bg img {
        animation: none;
    }

    .page-hero-title {
        font-size: clamp(34px, 10vw, 48px);
    }
}

/* ── CONTENT ────────────────────────────────────── */
.content-section {
    background: var(--white);
}

.entry-content {
    max-width: 860px;
}

.entry-content > * + * {
    margin-top: 1.1em;
}

.entry-content p,
.entry-content li {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--muted);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    line-height: 1.25;
    margin-top: 1.6em;
}

.entry-content h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.entry-content h3 {
    font-size: 22px;
}

.entry-content a {
    color: var(--navy);
    border-bottom: 1px solid var(--gold);
}

.entry-content strong {
    color: var(--navy);
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.4em;
}

.entry-content img {
    height: auto;
    border-radius: 8px;
}

.entry-content blockquote {
    border-left: 3px solid var(--gold);
    padding-left: 20px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--navy);
}

.post-list {
    display: grid;
    gap: 20px;
}

.post-list-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 30px;
    background: var(--offwhite);
}

.post-list-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.post-list-item h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 8px;
}

.post-list-item p {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 14px;
}

.rcjps-pager ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
}

.rcjps-pager a,
.rcjps-pager span {
    display: block;
    min-width: 40px;
    padding: 9px 14px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
}

.rcjps-pager .current {
    background: var(--gold);
    border-color: var(--gold);
}

/* Keep hero text clear of the fixed nav when a long title makes the hero taller than its min-height */
.page-hero-content {
    padding-top: 128px;
}

@media (max-width: 640px) {
    .page-hero-content {
        padding-top: 96px;
    }
}

/* JSL Transfer Certificates lookup page: a wider, centred column for the form and its help panel */
.jsltc-page .entry-content {
    max-width: 1080px;
    margin: 0 auto;
}

/* JSL Virtual Tour page: the viewer uses the full width of the section */
.jslvt-page .entry-content {
    max-width: none;
}
