/* ============================================================
   RJMC — NIRF Page Styles
   Matches: Premium Academic Theme · Deep Navy + Burnished Gold
   ============================================================ */

/* ── Mini Hero / Page Banner ── */
.rjmc-mini-hero {
    position: relative;
    background-image:
        linear-gradient(135deg, rgba(7,20,53,.91) 0%, rgba(18,37,98,.80) 60%, rgba(11,31,75,.72) 100%),
        url('../images/rjmc-mini-banner.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mini-hero-geo-1 {
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1.5px solid rgba(201,168,76,.12);
    animation: geoSpin 22s linear infinite;
    pointer-events: none;
}
.mini-hero-geo-2 {
    position: absolute;
    bottom: -80px; left: 10%;
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,.08);
    animation: geoSpin 32s linear infinite reverse;
    pointer-events: none;
}
.mini-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
@keyframes geoSpin { to { transform: rotate(360deg); } }

.mini-hero-accent {
    display: inline-block;
    width: 4px; height: 52px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 4px;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(201,168,76,.35);
}

.mini-hero-inner {
    position: relative; z-index: 2;
    padding: 64px 0 56px;
}

.mini-hero-breadcrumb {
    display: flex; align-items: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap;
}
.mini-hero-breadcrumb a {
    font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px;
    text-transform: uppercase; color: rgba(201,168,76,.65) !important;
    transition: color .25s;
}
.mini-hero-breadcrumb a:hover { color: var(--gold) !important; }
.mini-hero-breadcrumb .bc-sep { font-size: 11px; color: rgba(255,255,255,.25); }
.mini-hero-breadcrumb .bc-current {
    font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px;
    text-transform: uppercase; color: rgba(255,255,255,.45);
}

.mini-hero-title-row { display: flex; align-items: center; }
.mini-hero-title-row h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem; font-weight: 700; color: var(--white);
    line-height: 1.15; letter-spacing: -.3px; margin: 0;
}
.mini-hero-title-row h1 em { font-style: italic; color: var(--gold-light); }

.mini-hero-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 14px; font-weight: 400; letter-spacing: .5px;
    color: rgba(255,255,255,.52); margin-top: 12px; padding-left: 22px;
}

/* ── Content Section ── */
.nirf-section {
    background: var(--cream);
    padding: 88px 0 96px;
}

/* PDF Embed Wrapper */
.pdf-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .35s var(--ease);
}
.pdf-wrapper:hover {
    box-shadow: var(--shadow-md);
}

.pdf-wrapper iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
}

/* ── Responsive Tweaks ── */
@media (max-width: 991px) {
    .mini-hero-title-row h1 { font-size: 2.2rem; }
    .rjmc-mini-hero { background-attachment: scroll; min-height: 240px; }
    .pdf-wrapper iframe { height: 600px; }
}
@media (max-width: 767px) {
    .nirf-section { padding: 60px 0 68px; }
    .mini-hero-inner { padding: 52px 0 44px; }
    .pdf-wrapper { padding: 12px; border-radius: var(--radius-md); }
    .pdf-wrapper iframe { height: 500px; }
}