/* ══════════════════════════════════════════
   PAGE CONTENT SECTION
══════════════════════════════════════════ */
.page-content-section {
    padding: 48px 0 80px;
}

/* Content body */
.page-content-body {
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
}

/* Headings inside content */
.page-content-body h1,
.page-content-body h2,
.page-content-body h3,
.page-content-body h4,
.page-content-body h5,
.page-content-body h6 {
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.page-content-body h1 { font-size: 2rem; }
.page-content-body h2 { font-size: 1.6rem; }
.page-content-body h3 { font-size: 1.3rem; }
.page-content-body h4 { font-size: 1.1rem; }

/* Paragraph spacing */
.page-content-body p {
    margin-bottom: 1.25rem;
    color: #444;
}

/* Links inside content */
.page-content-body a {
    color: var(--color-primary, #c8a96e);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.page-content-body a:hover {
    color: var(--color-primary-dark, #a8893e);
}

/* Lists */
.page-content-body ul,
.page-content-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.page-content-body ul li,
.page-content-body ol li {
    margin-bottom: 0.4rem;
    color: #444;
}

/* Blockquote */
.page-content-body blockquote {
    border-left: 4px solid var(--color-primary, #c8a96e);
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    background: #faf7f2;
    color: #555;
    font-style: italic;
    border-radius: 0 6px 6px 0;
}

/* Images inside content */
.page-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Tables */
.page-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.page-content-body table th,
.page-content-body table td {
    border: 1px solid #e0e0e0;
    padding: 10px 14px;
    text-align: left;
}

.page-content-body table th {
    background: #f5f0e8;
    font-weight: 600;
    color: #1a1a1a;
}

.page-content-body table tr:nth-child(even) td {
    background: #fafafa;
}

/* Horizontal rule */
.page-content-body hr {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 2rem 0;
}

/* ── Scroll-in animation (data-anim) ──── */
[data-anim] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-anim].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════
   PAGE PAGINATION  (wp_link_pages)
══════════════════════════════════════════ */
.page-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #efefef;
    font-size: 0.9rem;
    color: #666;
}

.page-links span {
    font-weight: 600;
    color: #333;
    margin-right: 4px;
}

.page-link-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #444;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: pointer;
}

.page-links a .page-link-item:hover {
    background: var(--color-primary, #c8a96e);
    border-color: var(--color-primary, #c8a96e);
    color: #fff;
}

/* Current page number (no anchor wrapping it) */
.page-links > .page-link-item {
    background: var(--color-primary, #c8a96e);
    border-color: var(--color-primary, #c8a96e);
    color: #fff;
    font-weight: 600;
    cursor: default;
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
    .page-content-section {
        padding: 32px 0 56px;
    }

    .page-content-body h1 { font-size: 1.6rem; }
    .page-content-body h2 { font-size: 1.35rem; }
    .page-content-body h3 { font-size: 1.15rem; }

    .sr-bc-current {
        max-width: 180px;
    }

    .page-links {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .sr-breadcrumb {
        font-size: 0.78rem;
    }

    .page-content-body {
        font-size: 0.95rem;
    }
}


/* ════════════════════════════════════════════
   PAGE BANNER / HERO
   Prefix: .brj-banner
════════════════════════════════════════════ */

.brj-banner {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background-color: var(--crimson);           /* fallback when no image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}


/* ── Overlay ───────────────────────────────── */
.brj-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 6, 15, 0.75) 0%,
        rgba(139, 26, 58, 0.50) 100%
    );
    z-index: 1;
}

/* ── Decorative gold bottom bar ─────────────── */



/* ── Container inside banner ────────────────── */
.brj-banner .container {
    position: relative;
    z-index: 3;
   
}


/* ── Content wrapper ────────────────────────── */
.brj-banner__content {
    max-width: 700px;
}


/* ════════════════════════════════════════════
   BREADCRUMB
   Prefix: .brj-breadcrumb
════════════════════════════════════════════ */
.brj-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Home link */
.brj-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.brj-breadcrumb a:hover,
.brj-breadcrumb a:focus-visible {
    color: var(--gold);
    text-decoration: none;
}

.brj-breadcrumb a i {
    font-size: 0.9rem;
    line-height: 1;
}

.brj-banner {
    position: relative;
}

.brj-breadcrumb {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 5;
}

.brj-banner__content {
    padding-top: 60px;
}

/* Separator chevron */
.brj-breadcrumb__sep {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.65rem;
    line-height: 1;
}

/* Current page label */
.brj-breadcrumb > span:last-child {
    color: rgba(255, 255, 255, 0.70);
    font-weight: 600;
}


/* ════════════════════════════════════════════
   BANNER TITLE
════════════════════════════════════════════ */
.brj-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

/* Gold underline accent 
.brj-banner__title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-top: 0.875rem;
} */


/* ════════════════════════════════════════════
   BANNER SUBTITLE
════════════════════════════════════════════ */
.brj-banner__subtitle {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.65;
    max-width: 560px;
    margin-top: 0.625rem;
    margin-bottom: 0;
}

.brj-banner {
    height: 270px;
    min-height: 270px;
    display: flex;
    align-items: center;
}

.brj-breadcrumb {
    margin-bottom: 10px;
}

.brj-banner__title {
    margin-bottom: 0;
}

/* ════════════════════════════════════════════
   ANIMATION — data-anim hook
   JS should add .is-visible via IntersectionObserver
════════════════════════════════════════════ */
.brj-banner [data-anim] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.brj-banner [data-anim].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .brj-banner [data-anim] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .brj-banner {
        min-height: 320px;
    }

    .brj-banner .container {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .brj-banner {
        min-height: 260px;
    }

    .brj-banner .container {
        padding-top: 3.5rem;
        padding-bottom: 2.5rem;
    }

    .brj-banner__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .brj-banner__title::after {
        width: 36px;
        margin-top: 0.625rem;
    }

    .brj-banner__subtitle {
        font-size: 0.9375rem;
    }

    .brj-breadcrumb {
        font-size: 0.75rem;
        margin:20px 0 0 10px ;
    }

    .brj-banner::after {
        width: 100px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .brj-banner {
        min-height: 220px;
    }

    .brj-banner__subtitle {
        font-size: 0.875rem;
    }
}