/* about-pages.css
   Shared styles for all About pages:
     Sections 1-6:  The University, Sponsoring Body, Vision & Mission, Organisation Structure,
                    Statutory Committees (scoped under .ab-scope / .org-chart)
     Section 7:     President's Message and Chairman's Message (.presidents-message.page-body)
     Section 8:     Officers of the University (.officers.page-body)
     Section 9:     Administration (.about.administration.page-body)
     Section 10:    Recognitions & Accreditations (.ju-rec)
     Section 11:    Student Council (.student-council)
     Section 12:    Statutory Committees list (.ab-scope .statutory-committees)
   Every rule is scoped to its page, so the site theme and the page-title header are not affected.
   Load this file after about-us.css (and after home-css.css on the Recognitions page). */

.ab-scope {
    --ab-accent: #CB4C06;
    --ab-accent-dark: #A33D05;
    --ab-accent-pale: #FCF3EE;
    --ab-page: #F5F6F7;
    --ab-heading: #20242A;
    --ab-text: #4A5058;
    --ab-muted: #7A8087;
    --ab-border: #E3E5E8;
}


/* =========================================================
   1. Page layout (all pages)
   ========================================================= */

.ab-scope .ab-body {
    padding: 56px 0 72px;
    background: var(--ab-page);
}

/* Main content panel */
.ab-scope .ab-panel {
    background: #FFFFFF;
    border: 1px solid var(--ab-border);
    border-top: 4px solid var(--ab-accent);
    border-radius: 4px;
    padding: 40px 44px 36px;
    box-shadow: none;
}

/* Panel title and subtitle */
.ab-scope .ab-panel .ab-title {
    color: var(--ab-accent);
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    font-weight: 700;
    text-align: left;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
}
.ab-scope .ab-panel .ab-title::before,
.ab-scope .ab-panel .ab-title::after {
    content: none;
}
.ab-scope .ab-panel .ab-subtitle {
    color: var(--ab-muted);
    font-size: 0.98rem;
    text-align: left;
    margin: 0 0 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ab-border);
}

/* Sections inside the panel */
.ab-scope .ab-section h3 {
    color: var(--ab-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 12px;
}
.ab-scope .ab-section + .ab-section {
    margin-top: 8px;
}

/* Sidebar (col-lg pages stack below 992px) */
.ab-scope .ab-sidebar {
    position: sticky;
    top: 24px;
    background: #FFFFFF;
    border: 1px solid var(--ab-border);
    border-radius: 4px;
    padding: 24px;
}

/* Links */
.ab-scope a:focus-visible {
    outline: 2px solid var(--ab-accent);
    outline-offset: 3px;
}


/* =========================================================
   2. Prose panels (The University, Sponsoring Body)
   Add .ab-prose to the panel to use these paragraph styles.
   ========================================================= */

.ab-scope .ab-prose p {
    color: var(--ab-text);
    font-size: 1.02rem;
    line-height: 1.85;
    text-align: justify;
    hyphens: auto;
    margin: 0 0 20px;
}
.ab-scope .ab-prose p strong {
    color: var(--ab-heading);
    font-weight: 600;
}
.ab-scope .ab-prose p.ab-intro {
    background: var(--ab-accent-pale);
    border-radius: 4px;
    padding: 20px 24px;
    color: var(--ab-heading);
    margin-bottom: 26px;
}

/* Closing statement box */
.ab-scope .ab-callout {
    background: var(--ab-accent-pale);
    border-radius: 4px;
    padding: 20px 24px 2px;
    margin-top: 8px;
}
.ab-scope .ab-prose .ab-callout p {
    color: var(--ab-heading);
}

/* Credentials strip (The University) */
.ab-scope .ab-credentials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--ab-border);
    border-radius: 4px;
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}
.ab-scope .ab-credentials li {
    padding: 14px 16px;
    border-left: 1px solid var(--ab-border);
}
.ab-scope .ab-credentials li:first-child {
    border-left: 0;
}
.ab-scope .ab-cred-value {
    display: block;
    color: var(--ab-accent);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.ab-scope .ab-cred-label {
    display: block;
    color: var(--ab-muted);
    font-size: 0.86rem;
    line-height: 1.4;
    margin-top: 4px;
}


/* =========================================================
   3. Vision & Mission panel
   Paragraph and list styles kept as on the original page.
   Add .ab-panel--vm to the panel.
   ========================================================= */

.ab-scope .ab-panel--vm .ab-section + .ab-section {
    margin-top: 32px;
}
.ab-scope .ab-panel--vm .ab-section > p,
.ab-scope .ab-panel--vm .ab-section li {
    color: #4A4440;
    line-height: 1.7;
}
.ab-scope .ab-panel--vm .ab-section > p,
.ab-scope .ab-panel--vm .ab-list > li {
    text-align: justify;
}

/* Vision statement */
.ab-scope .ab-panel--vm .ab-section > p.ab-statement {
    margin: 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--ab-accent);
    background: #FBF1EB;
    color: #2B2724;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: left;
}

/* Bulleted lists: Mission, Objectives, Quality Policy */
.ab-scope .ab-list {
    list-style: none;
    margin: 0 0 1rem;
    padding-left: 0;
}
.ab-scope .ab-list > li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.6rem;
    border-bottom: 1px solid rgba(203, 76, 6, 0.22);
}
.ab-scope .ab-list > li:last-child {
    border-bottom: none;
}
.ab-scope .ab-list > li::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: calc(0.4rem + 0.85em - 3.5px);
    width: 7px;
    height: 7px;
    background: var(--ab-accent);
}

/* Core values */
.ab-scope .ab-values {
    list-style: none;
    margin: 0 0 1rem;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem 2rem;
}
.ab-scope .ab-values > li {
    padding-top: 0.75rem;
    border-top: 2px solid var(--ab-accent);
    text-align: left;
}
.ab-scope .ab-values strong {
    color: #2B2724;
    font-size: 1.05rem;
}


/* =========================================================
   4. Orange bars
   ========================================================= */

/* Document bar with buttons (The University, Vision & Mission) */
.ab-scope .ab-docs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding: 18px 24px;
    background: var(--ab-accent);
    border-radius: 4px;
}
.ab-scope .ab-docs h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 600;
}
.ab-scope .ab-docs-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Stacked variant: label above, buttons on one line (Vision & Mission) */
.ab-scope .ab-docs--stacked {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}
.ab-scope .ab-docs--stacked .ab-docs-links {
    flex-wrap: nowrap;
}

/* Buttons use their own class, not the theme's btn / btn-primary, and their
   colours are marked !important so no theme rule can hide the text. */
.ab-scope .ab-docs-links .ab-doc-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background-color: transparent !important;
    background-image: none !important;
    color: #FFFFFF !important;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 3px;
    padding: 6px 14px;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ab-scope .ab-docs-links .ab-doc-btn:hover,
.ab-scope .ab-docs-links .ab-doc-btn:focus {
    background-color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: var(--ab-accent-dark) !important;
}
.ab-scope .ab-docs-links .ab-doc-btn span {
    color: inherit !important;
}
.ab-scope .ab-docs-links .ab-doc-btn svg {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.ab-scope .ab-docs-links .ab-doc-btn:focus-visible {
    outline-color: #FFFFFF;
    box-shadow: none;
}

/* Whole-bar link (Sponsoring Body: Our Group Institutions) */
.ab-scope .ab-link-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding: 18px 24px;
    background: var(--ab-accent);
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.ab-scope .ab-link-bar:hover {
    background: var(--ab-accent-dark);
    text-decoration: none;
}
.ab-scope .ab-link-bar h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 600;
}
.ab-scope .ab-link-bar span {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    padding: 6px 14px;
}


/* =========================================================
   5. Organisation chart image (Organisation Structure)
   ========================================================= */

.org-chart {
    --org-brand: #CB4C06;
    --org-brand-dark: #A13C05;
    --org-brand-deep: #7C2E03;
    --org-line: #E9D6CA;
    --org-muted: #6A5A50;

    margin: 0 0 24px;
    background: #fff;
    border: 1px solid var(--org-line);
    border-top: 3px solid var(--org-brand);
    border-radius: 6px;
    overflow: hidden;
}
.org-chart .org-chart__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--org-line);
}
.org-chart .org-chart__caption {
    color: var(--org-muted);
    font-size: 0.95rem;
}
.org-chart .org-chart__open {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    background: var(--org-brand);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.org-chart .org-chart__open:hover {
    background: var(--org-brand-dark);
    color: #fff;
}
.org-chart .org-chart__open:focus-visible {
    outline: 3px solid var(--org-brand-deep);
    outline-offset: 2px;
}
.org-chart .org-chart__frame {
    padding: 20px;
    overflow-x: auto;
}
.org-chart .org-chart__frame img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.org-chart .org-chart__hint {
    display: none;
}


/* =========================================================
   6. Responsive
   ========================================================= */

@media (max-width: 991.98px) {
    .ab-scope .ab-sidebar:not(.ab-sidebar--md) {
        position: static;
        margin-top: 32px;
    }
    .ab-scope .ab-credentials {
        grid-template-columns: repeat(2, 1fr);
    }
    .ab-scope .ab-credentials li:nth-child(3) {
        border-left: 0;
    }
    .ab-scope .ab-credentials li:nth-child(n+3) {
        border-top: 1px solid var(--ab-border);
    }
}

/* Pages built on col-md-* (Statutory Committees) stack below 768px */
@media (max-width: 767.98px) {
    .ab-scope .ab-sidebar--md {
        position: static;
        margin-top: 32px;
    }

    .org-chart .org-chart__frame {
        padding: 12px;
    }
    /* Keep the chart legible; the frame scrolls horizontally */
    .org-chart .org-chart__frame img {
        width: 760px;
        max-width: none;
    }
    .org-chart .org-chart__hint {
        display: block;
        margin: 0;
        padding: 0 16px 12px;
        color: var(--org-muted);
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .ab-scope .ab-body { padding: 32px 0 48px; }
    .ab-scope .ab-panel { padding: 28px 20px 24px; }
    .ab-scope .ab-prose p { text-align: left; }
    .ab-scope .ab-prose p.ab-intro { padding: 16px 18px; }
    .ab-scope .ab-callout { padding: 16px 18px 2px; }
    .ab-scope .ab-docs,
    .ab-scope .ab-link-bar { flex-direction: column; align-items: flex-start; }
    .ab-scope .ab-docs-links,
    .ab-scope .ab-docs--stacked .ab-docs-links { flex-wrap: wrap; }
    .ab-scope .ab-docs-links .ab-doc-btn { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    .ab-scope .ab-docs-links .ab-doc-btn,
    .ab-scope .ab-link-bar,
    .org-chart .org-chart__open { transition: none; }
}


/* =========================================================
   7. President's Message and Chairman's Message
   Both pages use .presidents-message.page-body and the cm-* classes.
   Colours that a theme rule could override are marked !important.
   ========================================================= */

.presidents-message.page-body {
    --cm-accent: #CB4C06;
    --cm-accent-dark: #9E3B04;
    --cm-accent-deep: #7A2E03;
    --cm-ink: #2B2724;
    --cm-text: #4A4440;
    --cm-muted: #6B625C;
    --cm-rule: rgba(203, 76, 6, 0.22);
    --cm-tint: #FBF1EB;
}

/* Page heading */
.presidents-message.page-body > .container > h1 {
    position: relative;
    color: var(--cm-accent) !important;
    font-weight: 700;
    text-align: left;
    margin: 0 0 2rem;
    padding-bottom: 0.6rem;
}
.presidents-message.page-body > .container > h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--cm-accent);
}

/* Outer card */
.presidents-message.page-body .cm-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(60, 30, 10, 0.06), 0 18px 40px rgba(60, 30, 10, 0.12);
}

/* Profile panel: solid accent colour */
.presidents-message.page-body .cm-profile-col {
    background-color: var(--cm-accent) !important;
}
.presidents-message.page-body .cm-profile {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    color: #fff;
}
.presidents-message.page-body .cm-photo {
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 0 0 2.25rem;
    border: 6px solid #fff;
    border-radius: 4px;
    box-shadow: 12px 12px 0 var(--cm-accent-deep);
    transform: translateX(-6px);
}
.presidents-message.page-body .cm-name {
    color: #fff !important;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 0;
}
.presidents-message.page-body .cm-name::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin: 0.8rem auto;
    background: rgba(255, 255, 255, 0.75);
}
.presidents-message.page-body .cm-role {
    color: #fff !important;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}
.presidents-message.page-body .cm-title {
    color: #fff !important;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 400;
    margin: 0.25rem 0 0;
}
.presidents-message.page-body .cm-rule {
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    opacity: 1;
    margin: 1.75rem 0 1.5rem;
}

/* Social icons: white outlines on the accent panel */
.presidents-message.page-body .cm-social {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
}
.presidents-message.page-body .cm-social li {
    margin: 0;
    padding: 0;
}
.presidents-message.page-body .cm-social li::before {
    content: none;
}
.presidents-message.page-body .cm-social a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid #fff !important;
    border-radius: 50%;
    background: transparent !important;
    color: #fff !important;
    font-size: 1.05rem;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.presidents-message.page-body .cm-social a:hover,
.presidents-message.page-body .cm-social a:focus {
    background: #fff !important;
    color: var(--cm-accent) !important;
}
.presidents-message.page-body .cm-social a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.presidents-message.page-body .cm-social i {
    color: inherit !important;
    line-height: 1;
}
.presidents-message.page-body .cm-social .bi::before {
    vertical-align: 0;
}

/* Message column */
.presidents-message.page-body .cm-message {
    height: 100%;
    padding: clamp(2rem, 5vw, 3.75rem);
    color: var(--cm-text);
}

/* Designation note at the top of the message (President's Message) */
.presidents-message.page-body .cm-message .cm-note {
    margin: 0 0 1.75rem;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--cm-accent);
    border-radius: 0 4px 4px 0;
    background: var(--cm-tint);
    color: var(--cm-muted) !important;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
}
.presidents-message.page-body .cm-message p {
    max-width: 72ch;
    margin: 0 0 1.15rem;
    font-size: 1.02rem;
    line-height: 1.8;
    text-align: justify;
    hyphens: auto;
}
.presidents-message.page-body .cm-message p.cm-lead {
    margin-bottom: 1.5rem;
    color: var(--cm-ink);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.65;
    text-align: left;
}

/* Large opening quotation mark, placed on the lead paragraph */
.presidents-message.page-body .cm-message p.cm-lead::before {
    content: "\201C";
    display: block;
    height: 3.25rem;
    margin-bottom: 0.75rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--cm-accent);
}
.presidents-message.page-body .cm-message b,
.presidents-message.page-body .cm-message strong {
    color: var(--cm-accent-dark);
    font-weight: 700;
}
.presidents-message.page-body .cm-message p.cm-closing {
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cm-rule);
    color: var(--cm-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    text-align: left;
}
/* Chairman's Message: slightly larger closing line, as on its original page */
.presidents-message.page-body .cm-message--chairman p.cm-closing {
    font-size: 1.15rem;
    line-height: 1.8;
}
.presidents-message.page-body .cm-signature {
    margin-top: 1rem;
}
.presidents-message.page-body .cm-sign-name {
    display: block;
    color: var(--cm-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 700;
}
.presidents-message.page-body .cm-sign-role {
    display: block;
    margin-top: 0.15rem;
    color: var(--cm-muted);
    font-size: 0.9rem;
}


/* =========================================================
   8. Officers of the University (spotlight selector)
   The Fraunces font is loaded by the Officers view.
   ========================================================= */

.officers.page-body {
    --sp-accent: #CB4C06;
    --sp-accent-dark: #9E3B04;
    --sp-accent-deep: #7A2E03;
    --sp-ink: #241F1C;
    --sp-text: #4A4440;
    --sp-rule: rgba(203, 76, 6, 0.22);
    --sp-tint: #FBF1EB;
    --sp-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

.officers.page-body > .container > h1 {
    position: relative;
    margin: 0 0 2.25rem;
    padding-bottom: 0.75rem;
    color: var(--sp-accent) !important;
    font-family: var(--sp-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
}
.officers.page-body > .container > h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--sp-accent);
}

/* Selector */
.officers.page-body .sp-tabs {
    display: none;
}
.officers.page-body .sp.sp-ready .sp-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem;
    margin: 0 0 1.75rem;
}
.officers.page-body .sp-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem 1rem;
    background: #fff !important;
    border: 1px solid var(--sp-rule) !important;
    border-radius: 4px;
    color: var(--sp-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.officers.page-body .sp-tab:hover {
    border-color: var(--sp-accent) !important;
}
.officers.page-body .sp-tab[aria-selected="true"] {
    background: var(--sp-accent) !important;
    border-color: var(--sp-accent) !important;
    box-shadow: 0 10px 24px rgba(203, 76, 6, 0.28);
}
.officers.page-body .sp-tab[aria-selected="true"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 16px;
    height: 16px;
    background: var(--sp-accent);
    transform: translateX(-50%) rotate(45deg);
}
.officers.page-body .sp-tab:focus-visible {
    outline: 2px solid var(--sp-accent);
    outline-offset: 3px;
}
.officers.page-body .sp-thumb {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    object-fit: cover;
    object-position: center top;
    background: #EDE5DF;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--sp-rule);
}
.officers.page-body .sp-tab-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.officers.page-body .sp-tab-name {
    color: var(--sp-ink) !important;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}
.officers.page-body .sp-tab-role {
    margin-top: 0.15rem;
    color: var(--sp-accent-dark) !important;
    font-size: 0.82rem;
    line-height: 1.35;
}
.officers.page-body .sp-tab[aria-selected="true"] .sp-tab-name,
.officers.page-body .sp-tab[aria-selected="true"] .sp-tab-role {
    color: #fff !important;
}

/* Stage */
.officers.page-body .sp-panel {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(60, 30, 10, 0.06), 0 20px 44px rgba(60, 30, 10, 0.12);
}
.officers.page-body .sp-panel + .sp-panel {
    margin-top: 2rem;
}
.officers.page-body .sp-panel[hidden] {
    display: none !important;
}
.officers.page-body .sp-media {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.5rem);
    background-color: var(--sp-accent) !important;
    overflow: hidden;
}
.officers.page-body .sp-media::before {
    content: "";
    position: absolute;
    top: -35%;
    left: -45%;
    width: 130%;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}
.officers.page-body .sp-photo {
    position: sticky;
    top: 1.5rem;
    z-index: 1;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    background: #EDE5DF;
    border: 6px solid #fff;
    border-radius: 3px;
    box-shadow: 14px 14px 0 var(--sp-accent-deep);
}
.officers.page-body .sp-info {
    align-self: center;
    padding: clamp(2rem, 4vw, 3.5rem);
}
.officers.page-body .sp-name {
    margin: 0 0 0.75rem;
    color: var(--sp-ink) !important;
    font-family: var(--sp-serif);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
}
.officers.page-body .sp-role {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
    color: var(--sp-accent) !important;
    font-size: 1.1rem;
    font-weight: 600;
}
.officers.page-body .sp-role::before {
    content: "";
    flex: 0 0 28px;
    height: 2px;
    background: var(--sp-accent);
}
.officers.page-body .sp-bio {
    max-width: 68ch;
    margin: 0;
    color: var(--sp-text);
    font-size: 1.02rem;
    line-height: 1.8;
}
.officers.page-body .sp-bio:empty {
    display: none;
}
.officers.page-body .sp-quote {
    max-width: 62ch;
    margin: 0 0 2rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--sp-accent);
    color: var(--sp-ink);
    font-family: var(--sp-serif);
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    font-style: italic;
    line-height: 1.65;
}
.officers.page-body .sp-link {
    display: inline-flex !important;
    align-items: center;
    padding: 0.8rem 1.75rem;
    background: var(--sp-accent) !important;
    border: 2px solid var(--sp-accent) !important;
    border-radius: 2px;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.officers.page-body .sp-link:hover,
.officers.page-body .sp-link:focus {
    background: var(--sp-accent-dark) !important;
    border-color: var(--sp-accent-dark) !important;
    color: #fff !important;
}
.officers.page-body .sp-link:focus-visible {
    outline: 2px solid var(--sp-accent);
    outline-offset: 3px;
}

@keyframes sp-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .officers.page-body .sp.sp-ready .sp-panel {
        animation: sp-in 0.35s ease both;
    }
}

@media (max-width: 767.98px) {
    .officers.page-body .sp.sp-ready .sp-tabs {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 0 0.9rem;
    }
    .officers.page-body .sp-tab {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }
    .officers.page-body .sp-tab[aria-selected="true"]::after {
        display: none;
    }
    .officers.page-body .sp-panel {
        grid-template-columns: 1fr;
    }
    .officers.page-body .sp-photo {
        position: static;
        max-width: 240px;
    }
}


/* =========================================================
   9. Administration (body only; the header is styled by about-us.css)
   ========================================================= */

.about.administration.page-body {
    --adm-accent: #CB4C06;
    --adm-accent-dark: #A33D05;
    --adm-accent-tint: #FCEFE7;
    --adm-ink: #1C2230;
    --adm-text: #4A5262;
    --adm-muted: #7B8291;
    --adm-line: #E3E6EB;
    --adm-surface: #F5F6F8;
    --adm-white: #FFFFFF;

    background: var(--adm-surface);
    padding: 64px 0 88px;
}

/* Page heading */
.about.administration.page-body .admin-heading {
    margin-bottom: 44px;
    padding-left: 18px;
    border-left: 4px solid var(--adm-accent);
}
.about.administration.page-body .admin-heading h1 {
    color: var(--adm-ink);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin: 0;
}

/* Group titles */
.about.administration.page-body .admin-group + .admin-group {
    margin-top: 60px;
}
.about.administration.page-body .admin-group__title {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--adm-ink);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 24px;
}
.about.administration.page-body .admin-group__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--adm-line);
}

/* Grid */
.about.administration.page-body .admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Card */
.about.administration.page-body .admin-card {
    display: flex;
    flex-direction: column;
    background: var(--adm-white);
    border: 1px solid var(--adm-line);
    border-radius: 10px;
    padding: 16px 16px 0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.about.administration.page-body .admin-card:hover,
.about.administration.page-body .admin-card:focus-within {
    border-color: #F0C7AE;
    box-shadow: 0 12px 28px rgba(28, 34, 48, 0.08);
}

/* Photo: square, inset in the card, with an accent strip along its base */
.about.administration.page-body .admin-card__photo {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #E9EBEF;
}
.about.administration.page-body .admin-card__photo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--adm-accent);
}
.about.administration.page-body .admin-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.4s ease;
}
.about.administration.page-body .admin-card:hover .admin-card__photo img {
    transform: scale(1.04);
}

/* Designation as a tag under the photo */
.about.administration.page-body .admin-card__role {
    align-self: flex-start;
    margin: 16px 0 0;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--adm-accent-tint);
    color: var(--adm-accent-dark);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
}
.about.administration.page-body .admin-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 10px;
}
.about.administration.page-body .admin-card__name {
    color: var(--adm-ink);
    font-size: 1.075rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 14px;
}
.about.administration.page-body .admin-card__meta {
    margin: 0 0 18px;
}
.about.administration.page-body .admin-card__meta > div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 0;
    border-top: 1px dashed var(--adm-line);
}
.about.administration.page-body .admin-card__meta dt {
    color: var(--adm-muted);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.5;
}
.about.administration.page-body .admin-card__meta dd {
    color: var(--adm-text);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0;
}

/* E-mail footer spans the full card width */
.about.administration.page-body .admin-card__email {
    display: block;
    margin: auto -16px 0;
    padding: 13px 16px;
    border-top: 1px solid var(--adm-line);
    border-radius: 0 0 10px 10px;
    background: var(--adm-surface);
    color: var(--adm-accent-dark);
    font-size: 0.83rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.about.administration.page-body .admin-card__email:hover {
    background: var(--adm-accent);
    color: var(--adm-white);
    text-decoration: none;
}
.about.administration.page-body .admin-card__email:focus-visible {
    outline: 2px solid var(--adm-accent);
    outline-offset: -2px;
}

@media (max-width: 1199px) {
    .about.administration.page-body .admin-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
    .about.administration.page-body .admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phones: photo on the left, details on the right */
@media (max-width: 575px) {
    .about.administration.page-body {
        padding: 44px 0 60px;
    }
    .about.administration.page-body .admin-heading {
        margin-bottom: 32px;
    }
    .about.administration.page-body .admin-heading h1 {
        font-size: 1.6rem;
    }
    .about.administration.page-body .admin-group + .admin-group {
        margin-top: 44px;
    }
    .about.administration.page-body .admin-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .about.administration.page-body .admin-card {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        grid-template-areas:
            "photo role"
            "photo body";
        grid-template-rows: auto 1fr;
        column-gap: 14px;
        padding: 14px 14px 0;
    }
    .about.administration.page-body .admin-card__photo {
        grid-area: photo;
        align-self: start;
        width: 96px;
    }
    .about.administration.page-body .admin-card__role {
        grid-area: role;
        justify-self: start;
        margin: 0;
    }
    .about.administration.page-body .admin-card__body {
        grid-area: body;
    }
    .about.administration.page-body .admin-card__meta > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .about.administration.page-body .admin-card__email {
        margin: auto -14px 0 -124px;
        padding: 12px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .presidents-message.page-body .cm-social a,
    .officers.page-body .sp-tab,
    .officers.page-body .sp-link,
    .about.administration.page-body .admin-card,
    .about.administration.page-body .admin-card__photo img,
    .about.administration.page-body .admin-card__email {
        transition: none;
    }
    .about.administration.page-body .admin-card:hover .admin-card__photo img {
        transform: none;
    }
}


/* =====================================================================
   10. RECOGNITIONS & ACCREDITATIONS PAGE  (scoped to .ju-rec)
   The Public Sans and Spectral fonts are loaded by the Recognitions view.
   ===================================================================== */
.ju-rec {
    --ju-accent: #CB4C06;
    --ju-accent-dark: #9E3B04;
    --ju-accent-tint: #FBEDE4;
    --ju-ink: #1D2125;
    --ju-muted: #5E646B;
    --ju-line: #E3E5E8;
    --ju-surface: #F5F6F7;
    --ju-serif: "Spectral", Georgia, "Times New Roman", serif;
    --ju-sans: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
    font-family: var(--ju-sans);
    color: var(--ju-ink);
}

    .ju-rec h1,
    .ju-rec h2,
    .ju-rec h3 {
        margin: 0;
        font-family: var(--ju-serif);
        color: var(--ju-ink);
    }

    .ju-rec p {
        margin: 0;
    }

    .ju-rec a:focus-visible {
        outline: 3px solid var(--ju-accent);
        outline-offset: 3px;
        border-radius: 4px;
    }

/* ---------- Sections ---------- */
.ju-rec .ju-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: #fff;
}

.ju-rec .ju-section--tinted {
    background: var(--ju-surface);
}

.ju-rec .ju-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    margin-bottom: 2.5rem;
    padding-left: 1.25rem;
    border-left: 4px solid var(--ju-accent);
}

.ju-rec .ju-head--sub {
    margin-top: 3.5rem;
}

.ju-rec .ju-head__title {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 600;
    line-height: 1.15;
}

.ju-rec .ju-head__text {
    max-width: 60ch;
    font-size: 1.05rem;
    color: var(--ju-muted);
}

/* ---------- Credential tile ---------- */
.ju-rec .ju-cred {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem 1.5rem;
    background: #fff;
    border: 1px solid var(--ju-line);
    border-top: 3px solid var(--ju-accent);
    border-radius: 4px;
}

.ju-rec .ju-cred__seal {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--ju-line);
    box-shadow: 0 0 0 5px var(--ju-accent-tint);
}

    .ju-rec .ju-cred__seal img {
        max-width: 70%;
        max-height: 70%;
        object-fit: contain;
    }

.ju-rec .ju-cred__seal--text {
    font-family: var(--ju-serif);
    font-weight: 700;
    font-size: .95rem;
    color: var(--ju-accent);
}

.ju-rec .ju-cred__title {
    margin-bottom: .5rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.ju-rec .ju-cred__text {
    font-size: .975rem;
    line-height: 1.6;
    color: var(--ju-muted);
}

.ju-rec .ju-cred__links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.ju-rec .ju-cred--row {
    flex: 1;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    height: auto;
}

    .ju-rec .ju-cred--row .ju-cred__seal {
        margin-bottom: 0;
    }

    .ju-rec .ju-cred--row .ju-cred__links {
        margin-top: 0;
        padding-top: 1rem;
    }

/* Document link */
.ju-rec .ju-doc {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    font-size: .95rem;
    color: var(--ju-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}

    .ju-rec .ju-doc svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linejoin: round;
    }

    .ju-rec .ju-doc:hover {
        color: var(--ju-accent-dark);
        border-bottom-color: currentColor;
    }

/* Solid button */
.ju-rec .ju-btn {
    display: inline-block;
    padding: .8rem 1.4rem;
    background: var(--ju-accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color .15s ease;
}

    .ju-rec .ju-btn:hover {
        background: var(--ju-accent-dark);
        color: #fff;
    }

/* ---------- NAAC feature ---------- */
.ju-rec .ju-naac {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(150px, 38%) 1fr;
    background: #fff;
    border: 1px solid var(--ju-line);
    border-radius: 4px;
    overflow: hidden;
}

.ju-rec .ju-naac__grade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--ju-accent);
    color: #fff;
}

.ju-rec .ju-naac__letter {
    font-family: var(--ju-serif);
    font-weight: 700;
    font-size: clamp(6rem, 12vw, 9rem);
    line-height: .9;
}

.ju-rec .ju-naac__caption {
    margin-top: .5rem;
    font-size: 1rem;
    opacity: .9;
}

.ju-rec .ju-naac__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.75rem;
}

.ju-rec .ju-naac__logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.ju-rec .ju-naac__title {
    margin-bottom: .5rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.ju-rec .ju-naac__text {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--ju-muted);
}

.ju-rec .ju-naac .ju-btn {
    margin-top: auto;
}

/* ---------- Membership ---------- */
.ju-rec .ju-member {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--ju-line);
    border-radius: 4px;
}

    .ju-rec .ju-member img {
        width: 96px;
        height: 96px;
        flex-shrink: 0;
        object-fit: contain;
    }

    .ju-rec .ju-member .ju-doc {
        margin-top: .75rem;
    }

/* ---------- Awards gallery ---------- */
.ju-rec .ju-awards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.ju-rec .ju-award {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    border: 1px solid var(--ju-line);
}

    .ju-rec .ju-award img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
    }

    .ju-rec .ju-award::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4px;
        background: var(--ju-accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s ease;
    }

    .ju-rec .ju-award:hover img,
    .ju-rec .ju-award:focus-visible img {
        transform: scale(1.04);
    }

    .ju-rec .ju-award:hover::after,
    .ju-rec .ju-award:focus-visible::after {
        transform: scaleX(1);
    }

/* Neutralise the old fixed-size award rule if about-us.css still applies it */
.ju-rec .imagesAwards {
    width: 100%;
    height: auto;
    padding: 0;
    border-radius: 0;
}

/* ---------- In-page viewer ---------- */
html.ju-viewer-lock {
    overflow: hidden;
}

.ju-rec .ju-viewer {
    width: min(1100px, calc(100vw - 2rem));
    height: min(88vh, 920px);
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    border-top: 3px solid var(--ju-accent);
    border-radius: 4px;
    background: #fff;
    color: var(--ju-ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    overflow: hidden;
}

    .ju-rec .ju-viewer[open] {
        display: flex;
        flex-direction: column;
        animation: juViewerIn .22s ease-out;
    }

    .ju-rec .ju-viewer::backdrop {
        background: rgba(24, 14, 8, .78);
        backdrop-filter: blur(3px);
    }

@keyframes juViewerIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.ju-rec .ju-viewer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
    padding: .85rem 1rem .85rem 1.5rem;
    border-bottom: 1px solid var(--ju-line);
}

.ju-rec .ju-viewer__heading {
    min-width: 0;
}

.ju-rec .ju-viewer__kind {
    margin-bottom: .1rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ju-accent);
}

.ju-rec .ju-viewer__title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ju-rec .ju-viewer__actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.ju-rec .ju-viewer__count {
    margin-right: .5rem;
    font-size: .9rem;
    color: var(--ju-muted);
    white-space: nowrap;
}

.ju-rec .ju-viewer__action {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    height: 40px;
    padding: 0 .9rem;
    border: 1px solid var(--ju-line);
    border-radius: 4px;
    color: var(--ju-ink);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease;
}

    .ju-rec .ju-viewer__action:hover {
        border-color: var(--ju-accent);
        color: var(--ju-accent);
    }

.ju-rec .ju-viewer svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ju-rec .ju-viewer__close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: var(--ju-accent-tint);
    color: var(--ju-accent);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

    .ju-rec .ju-viewer__close svg {
        width: 20px;
        height: 20px;
    }

    .ju-rec .ju-viewer__close:hover {
        background: var(--ju-accent);
        color: #fff;
    }

.ju-rec .ju-viewer button:focus-visible {
    outline: 3px solid var(--ju-accent);
    outline-offset: 2px;
}

.ju-rec .ju-viewer__stage {
    position: relative;
    flex: 1;
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: #2B2F33;
}

.ju-rec .ju-viewer.has-nav .ju-viewer__stage {
    padding-inline: 5rem;
}

.ju-rec .ju-viewer__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
}

.ju-rec .ju-viewer__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.ju-rec .ju-viewer__img[hidden],
.ju-rec .ju-viewer__frame[hidden],
.ju-rec .ju-viewer__fallback[hidden],
.ju-rec .ju-viewer__loader[hidden],
.ju-rec .ju-viewer__nav[hidden] {
    display: none;
}

.ju-rec .ju-viewer__loader {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, .18);
    border-top-color: var(--ju-accent);
    border-radius: 50%;
    animation: juSpin .8s linear infinite;
}

@keyframes juSpin {
    to {
        transform: rotate(360deg);
    }
}

.ju-rec .ju-viewer__fallback {
    max-width: 42ch;
    text-align: center;
    color: #fff;
}

.ju-rec .ju-viewer__fallback-title {
    margin-bottom: .5rem;
    font-family: var(--ju-serif);
    font-size: 1.35rem;
    font-weight: 600;
}

.ju-rec .ju-viewer__fallback-text {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .75);
}

.ju-rec .ju-viewer__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

    .ju-rec .ju-viewer__nav svg {
        width: 22px;
        height: 22px;
    }

    .ju-rec .ju-viewer__nav:hover {
        background: var(--ju-accent);
        border-color: var(--ju-accent);
    }

.ju-rec .ju-viewer__nav--prev {
    left: 1rem;
}

.ju-rec .ju-viewer__nav--next {
    right: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    .ju-rec .ju-viewer {
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }

    .ju-rec .ju-viewer__bar {
        padding: .75rem .75rem .75rem 1rem;
    }

    .ju-rec .ju-viewer__title {
        font-size: 1.05rem;
    }

    .ju-rec .ju-viewer__action {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

        .ju-rec .ju-viewer__action span,
        .ju-rec .ju-viewer__count {
            display: none;
        }

    .ju-rec .ju-viewer.has-nav .ju-viewer__stage {
        padding: .75rem .75rem 5rem;
    }

    .ju-rec .ju-viewer__nav {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .ju-rec .ju-viewer__nav--prev {
        left: calc(50% - 56px);
    }

    .ju-rec .ju-viewer__nav--next {
        right: calc(50% - 56px);
    }
}

@media (max-width: 575.98px) {
    .ju-rec .ju-naac {
        grid-template-columns: 1fr;
    }

    .ju-rec .ju-naac__grade {
        flex-direction: row;
        gap: 1rem;
        padding: 1.25rem;
    }

    .ju-rec .ju-naac__letter {
        font-size: 4.5rem;
    }

    .ju-rec .ju-cred--row,
    .ju-rec .ju-member {
        flex-direction: column;
        align-items: flex-start;
    }

    .ju-rec .ju-awards {
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ju-rec *,
    .ju-rec *::before,
    .ju-rec *::after {
        transition: none !important;
    }

    .ju-rec .ju-viewer[open] {
        animation: none;
    }
}


/* =====================================================================
   11. STUDENT COUNCIL PAGE  (scoped to .student-council)
   Note: .sc-breadcrumb and .sc-lightbox are not scoped to .student-council,
   so do not reuse those two class names on other pages.
   ===================================================================== */
.student-council {
    --sc-primary: #CB4C06;
    --sc-primary-dark: #9E3A04;
    --sc-tint: #FDF1EA;
    --sc-border: #F0D9CC;
    --sc-text: #2E2A27;
    --sc-muted: #5E5751;
    --sc-img-accent: #CB4C06;
    --sc-img-accent-dark: #A33D05;
    --sc-img-soft: #FBEDE5;
}

/* Page title band */
section.student-council.page-title {
    background-color: var(--sc-primary);
}

.sc-breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

    .sc-breadcrumb li {
        color: #fff;
    }

        .sc-breadcrumb li + li::before {
            content: "/";
            margin: 0 0.6rem;
            opacity: 0.7;
        }

    .sc-breadcrumb a {
        color: #fff;
        opacity: 0.85;
        text-decoration: none;
    }

        .sc-breadcrumb a:hover {
            opacity: 1;
            text-decoration: underline;
        }

    .sc-breadcrumb li[aria-current="page"] {
        font-weight: 600;
    }

/* Page body */
section.student-council.page-body {
    padding: 3rem 0;
    color: var(--sc-text);
}

.student-council .sc-content h1 {
    margin-bottom: 1.75rem;
    font-weight: 700;
    color: var(--sc-primary);
}

    .student-council .sc-content h1::after {
        content: "";
        display: block;
        width: 56px;
        height: 3px;
        margin-top: 0.75rem;
        background-color: var(--sc-primary);
    }

.student-council .sc-block {
    padding-top: 1.75rem;
    margin-top: 1.75rem;
    border-top: 1px solid var(--sc-border);
}

    .student-council .sc-block:first-of-type {
        padding-top: 0;
        margin-top: 0;
        border-top: 0;
    }

.student-council .sc-content h3 {
    margin-bottom: 0.9rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--sc-primary);
}

.student-council .sc-content p {
    max-width: 72ch;
    line-height: 1.7;
}

.student-council .sc-list {
    list-style: none;
    max-width: 72ch;
    margin: 0;
    padding: 0;
}

    .student-council .sc-list li {
        position: relative;
        margin-bottom: 0.6rem;
        padding-left: 1.4rem;
        line-height: 1.6;
    }

        .student-council .sc-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.62em;
            width: 7px;
            height: 7px;
            background-color: var(--sc-primary);
        }

.student-council .sc-content a {
    color: var(--sc-primary-dark);
}

/* Office order callout */
.student-council .sc-document {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--sc-tint);
    border-left: 4px solid var(--sc-primary);
    border-radius: 4px;
}

    .student-council .sc-document p {
        margin: 0;
    }

    .student-council .sc-document small {
        display: block;
        color: var(--sc-muted);
    }

.student-council a.sc-btn {
    display: inline-block;
    flex-shrink: 0;
    padding: 0.6rem 1.15rem;
    background-color: var(--sc-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

    .student-council a.sc-btn:hover {
        background-color: var(--sc-primary-dark);
        color: #fff;
    }

.student-council a:focus-visible {
    outline: 3px solid var(--sc-primary-dark);
    outline-offset: 2px;
}

section.student-council.page-title a:focus-visible {
    outline-color: #fff;
}

/* Gallery images */
.student-council .sc-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 32px;
}

@media (max-width: 767.98px) {
    .student-council .sc-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.student-council .sc-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--sc-img-soft);
    cursor: zoom-in;
}

    .student-council .sc-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

    .student-council .sc-thumb:hover img,
    .student-council .sc-thumb:focus-visible img {
        transform: scale(1.04);
    }

.student-council button.sc-thumb:focus-visible {
    outline: 3px solid var(--sc-img-accent);
    outline-offset: 2px;
}

/* Lightbox */
.sc-lightbox {
    max-width: min(92vw, 1100px);
    max-height: 92vh;
    padding: 0;
    border: 0;
    background: transparent;
}

    .sc-lightbox::backdrop {
        background: rgba(15, 17, 20, .85);
    }

    .sc-lightbox img {
        display: block;
        max-width: 100%;
        max-height: 84vh;
        margin: 0 auto;
        border-radius: 6px;
    }

    .sc-lightbox .sc-lb-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
        font-size: .9rem;
        color: #fff;
    }

    .sc-lightbox button {
        padding: 8px 14px;
        border: 0;
        border-radius: 6px;
        background: #CB4C06;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
    }

        .sc-lightbox button:hover {
            background: #A33D05;
        }

        .sc-lightbox button:focus-visible {
            outline: 3px solid #fff;
            outline-offset: 2px;
        }

@media (max-width: 575.98px) {
    .student-council .sc-document {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-council a.sc-btn,
    .student-council .sc-thumb img {
        transition: none;
    }
}


/* =====================================================================
   12. STATUTORY COMMITTEES LIST  (scoped to .ab-scope .statutory-committees)
   Used with the shared .ab-panel / .ab-title / .ab-subtitle styles above.
   Link colours are marked !important so theme anchor rules cannot override them.
   ===================================================================== */
.ab-scope .statutory-committees .sc-intro {
    color: var(--ab-text);
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0 0 24px;
}

.ab-scope .statutory-committees .sc-list {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ab-scope .statutory-committees .sc-list > li {
    margin: 0;
    padding: 0;
}
.ab-scope .statutory-committees .sc-list > li::before {
    content: none;
}

/* Committee card (the whole card is the link) */
.ab-scope .statutory-committees .sc-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name action"
        "desc action";
    align-items: center;
    column-gap: 24px;
    row-gap: 4px;
    padding: 18px 22px;
    background: #FFFFFF;
    border: 1px solid var(--ab-border);
    border-left: 4px solid var(--ab-accent);
    border-radius: 4px;
    color: var(--ab-text) !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ab-scope .statutory-committees .sc-item:hover,
.ab-scope .statutory-committees .sc-item:focus {
    background: var(--ab-accent-pale);
    border-color: var(--ab-accent);
    box-shadow: 0 8px 20px rgba(32, 36, 42, 0.06);
    text-decoration: none !important;
}

.ab-scope .statutory-committees .sc-item__name {
    grid-area: name;
    display: block;
    color: var(--ab-heading) !important;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
}
.ab-scope .statutory-committees .sc-item__desc {
    grid-area: desc;
    display: block;
    color: var(--ab-muted) !important;
    font-size: 0.95rem;
    line-height: 1.55;
}

/* "View committee" pill */
.ab-scope .statutory-committees .sc-item__action {
    grid-area: action;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--ab-accent);
    border-radius: 3px;
    color: var(--ab-accent) !important;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ab-scope .statutory-committees .sc-item:hover .sc-item__action,
.ab-scope .statutory-committees .sc-item:focus .sc-item__action {
    background: var(--ab-accent);
    color: #FFFFFF !important;
}
.ab-scope .statutory-committees .sc-item__action svg {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Screen-reader-only text ("opens in a new tab") */
.ab-scope .statutory-committees .sc-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 575.98px) {
    .ab-scope .statutory-committees .sc-item {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "name"
            "desc"
            "action";
        padding: 16px 18px;
    }
    .ab-scope .statutory-committees .sc-item__action {
        justify-self: start;
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ab-scope .statutory-committees .sc-item,
    .ab-scope .statutory-committees .sc-item__action {
        transition: none;
    }
}
