/* ============================================================
   ABOUT PAGE — ALL STYLES SCOPED UNDER 
   Nothing in this file affects other pages.
   ============================================================ */

/* ========== COLOR EXTENSIONS (About page only) ========== */

/* ========== NAV FIX FOR INTERNAL PAGES ========== */

/* ========== SHARED ELEMENTS ========== */

.news-page-hero {
    position: relative;
    height: 380px;
    overflow: hidden;
    margin-top: 0;
}

.news-page-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 0, 0, 0.78) 0%,
        rgba(75, 0, 0, 0.88) 45%,
        rgba(35, 0, 0, 0.97) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    /* account for fixed nav */
}

.news-page-hero-overlay .section-label {
    color: var(--accent-gold);
}

.news-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.news-detail-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 1.2rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.news-page-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 550px;
    line-height: 1.8;
}

.news-breadcrumb {
    margin-bottom: 1.5rem;
}

.news-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.82rem;
}

.news-breadcrumb li {
    color: rgba(255, 255, 255, 0.5);
}

.news-breadcrumb li a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s;
}

.news-breadcrumb li a:hover {
    color: var(--accent-gold);
}

.news-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Dark variant for detail page */
.news-detail .news-breadcrumb li {
    color: var(--muted-text);
}

.news-detail .news-breadcrumb li a {
    color: var(--muted-text);
}

.news-detail .news-breadcrumb li a:hover {
    color: var(--secondary-blue);
}

.news-detail .news-breadcrumb li:not(:last-child)::after {
    color: var(--border-light);
}

/* .news-detail-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    line-height: 1.15;
} */

.news-detail-page-hero-desc {
    font-size: 1.05rem;
    color: var(--white);
    /* max-width: 550px; */
    line-height: 1.8;
}

@media (max-width: 767px) {
    .news-page-hero {
        height: 70vh;
    }

    .news-page-hero-overlay {
        padding-top: 60px;
    }
}

.about-gold-line {
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
    display: block;
    margin-bottom: 2rem;
}

/* ============================================================
   SECTION 1 — UNIVERSITY INTRODUCTION
   ============================================================ */
.about-intro {
    padding: 5rem 0;
    background: var(--white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
}

/* --- Side Menu --- */
.about-sidebar-inner {
    position: sticky;
    top: 100px;
}

.about-sidebar-title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-gold);
}

.about-sidebar-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.about-sidebar-item {
    margin-bottom: 0.25rem;
}

.about-sidebar-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark-text);
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.about-sidebar-item a i {
    font-size: 0.82rem;
    color: var(--muted-text);
    width: 18px;
    text-align: center;
    transition: color 0.3s;
}

.about-sidebar-item a:hover {
    background: var(--burgundy-bg);
    border-left-color: var(--burgundy-light);
    color: var(--burgundy);
    padding-left: 1.25rem;
}

.about-sidebar-item a:hover i {
    color: var(--burgundy);
}

.about-sidebar-item.active a {
    background: linear-gradient(90deg, var(--burgundy-bg), transparent);
    border-left-color: var(--burgundy);
    color: var(--burgundy);
    font-weight: 600;
}

.about-sidebar-item.active a i {
    color: var(--burgundy);
}

/* --- Introduction Content --- */
.about-intro-content {
    position: relative;
}

.about-intro-deco {
    position: absolute;
    top: -2rem;
    right: -2rem;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(123, 30, 42, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.about-intro-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-intro-text {
    font-size: 0.98rem;
    color: var(--muted-text);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-intro-text strong {
    color: var(--dark-text);
    font-weight: 600;
}

/* Highlights */
.about-intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--burgundy-bg);
    border-radius: 4px;
    border-left: 3px solid var(--burgundy);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.about-highlight-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(123, 30, 42, 0.08);
}

.about-highlight-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--burgundy);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
}

.about-highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark-text);
}

.about-highlight-item p {
    font-size: 0.85rem;
    color: var(--muted-text);
    margin: 0;
    line-height: 1.6;
}

/* Discover Link */
.about-discover-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--burgundy);
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.3rem;
    transition:
        gap 0.3s,
        color 0.3s;
}

.about-discover-link:hover {
    gap: 0.8rem;
    color: var(--burgundy-dark);
}

.about-discover-link i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.about-discover-link:hover i {
    transform: translateX(3px);
}

/* ============================================================
   SECTION 2 — RECTOR'S WELCOME
   ============================================================ */
.about-rector {
    padding: 6rem 0;
    background: var(--burgundy-bg);
}

.about-rector-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}

/* Photo */
.about-rector-photo {
    position: relative;
}

.about-rector-photo-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-rector-photo-frame::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid var(--burgundy);
    border-radius: 4px;
    opacity: 0.15;
    z-index: -1;
}

.about-rector-photo-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-rector-photo-badge {
    position: absolute;
    bottom: -15px;
    right: 25px;
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 6px 25px rgba(123, 30, 42, 0.3);
}

.about-rector-badge-year {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Content */
.about-rector-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.about-rector-quote-mark {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--burgundy);
    opacity: 0.12;
    margin-bottom: -1.5rem;
    display: block;
}

.about-rector-text {
    font-size: 0.95rem;
    color: var(--muted-text);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.about-rector-text strong {
    color: var(--burgundy);
    font-weight: 600;
}

.about-rector-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.about-rector-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.2rem;
}

.about-rector-title {
    font-size: 0.85rem;
    color: var(--burgundy);
    font-weight: 500;
}

/* ============================================================
   SECTION 3 — UNIVERSITY IDENTITY
   ============================================================ */
.about-identity {
    padding: 6rem 0;
    background: var(--white);
}

.about-identity-subtitle {
    font-size: 1.02rem;
    color: var(--muted-text);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-identity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.about-identity-block {
    position: relative;
    padding: 2.5rem 1.75rem 2rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.about-identity-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-identity-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    border-color: transparent;
}

.about-identity-block:hover::before {
    transform: scaleX(1);
}

.about-identity-icon {
    width: 48px;
    height: 48px;
    background: var(--burgundy-bg);
    color: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.about-identity-block:hover .about-identity-icon {
    background: var(--burgundy);
    color: var(--white);
}

.about-identity-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(123, 30, 42, 0.06);
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    line-height: 1;
    pointer-events: none;
}

.about-identity-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.about-identity-desc {
    font-size: 0.85rem;
    color: var(--muted-text);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.about-identity-line {
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.4s;
}

.about-identity-block:hover .about-identity-line {
    width: 50px;
}

/* ============================================================
   SECTION 4 — TIMELINE
   ============================================================ */
.about-timeline {
    padding: 6rem 0;
    background: var(--light-bg);
}

.about-timeline-track {
    position: relative;
    margin-top: 3.5rem;
    padding: 2rem 0;
}

/* Horizontal line */
.about-timeline-track::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border-light);
    transform: translateY(-50%);
}

.about-timeline-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.about-timeline-item {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.about-timeline-marker {
    width: 18px;
    height: 18px;
    background: var(--white);
    border: 3px solid var(--border-light);
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s;
}

.about-timeline-item--active .about-timeline-marker {
    border-color: var(--burgundy);
    background: var(--burgundy);
    box-shadow: 0 0 0 6px rgba(123, 30, 42, 0.12);
}

.about-timeline-year {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--burgundy);
    opacity: 0.15;
    margin-bottom: 1rem;
    line-height: 1;
    transition: opacity 0.4s;
}

.about-timeline-item--active .about-timeline-year {
    opacity: 1;
}

.about-timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.about-timeline-item--active .about-timeline-content {
    border-color: var(--burgundy);
    box-shadow: 0 8px 30px rgba(123, 30, 42, 0.08);
}

.about-timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.about-timeline-content p {
    font-size: 0.82rem;
    color: var(--muted-text);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   SECTION 5 — VALUES
   ============================================================ */
.about-values {
    padding: 6rem 0;
    background: var(--white);
}

.about-values-header {
    max-width: 600px;
    margin-bottom: 3.5rem;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.about-values-item {
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: var(--burgundy-bg);
    border-radius: 4px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.about-values-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.about-values-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(123, 30, 42, 0.08);
}

.about-values-item:hover::after {
    transform: scaleX(1);
}

.about-values-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    color: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.about-values-item:hover .about-values-icon-wrap {
    background: var(--burgundy);
    color: var(--white);
    transform: scale(1.05);
}

.about-values-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.about-values-desc {
    font-size: 0.82rem;
    color: var(--muted-text);
    line-height: 1.65;
}

/* ============================================================
   SECTION 6 — CTA
   ============================================================ */
.about-cta {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.about-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 16, 25, 0.9) 0%,
        rgba(123, 30, 42, 0.75) 50%,
        rgba(11, 45, 77, 0.6) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.about-cta-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.about-cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1199px) {
    .about-identity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Side menu becomes horizontal scroll */
    .about-sidebar-inner {
        position: static;
    }
    .about-sidebar-title {
        display: none;
    }
    .about-sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .about-sidebar-item {
        margin-bottom: 0;
    }
    .about-sidebar-item a {
        padding: 0.55rem 1.1rem;
        border-left: none;
        border-radius: 3px;
        background: var(--light-bg);
        font-size: 0.82rem;
        border: 1px solid var(--border-light);
    }
    .about-sidebar-item a i {
        display: none;
    }
    .about-sidebar-item a:hover {
        padding-left: 1.1rem;
        background: var(--burgundy-bg);
        border-color: var(--burgundy-light);
    }
    .about-sidebar-item.active a {
        background: var(--burgundy);
        color: var(--white);
        border-color: var(--burgundy);
    }

    .about-rector-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-rector-photo-frame img {
        height: 380px;
    }
    .about-rector-photo-frame {
        max-width: 450px;
    }

    .about-timeline-track {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-timeline-track::before {
        display: none;
    }
    .about-timeline-marker {
        display: none;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .about-intro {
        padding: 3rem 0;
    }
    .about-intro-deco {
        font-size: 5rem;
        top: -1rem;
        right: 0;
    }
    .about-rector {
        padding: 3.5rem 0;
    }
    .about-rector-photo-frame img {
        height: 300px;
    }
    .about-identity {
        padding: 3.5rem 0;
    }
    .about-identity-grid {
        grid-template-columns: 1fr;
    }
    .about-timeline {
        padding: 3.5rem 0;
    }
    .about-timeline-track {
        grid-template-columns: 1fr;
    }
    .about-timeline-year {
        font-size: 2rem;
    }
    .about-values {
        padding: 3.5rem 0;
    }
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .about-cta {
        height: 400px;
    }
}

@media (max-width: 575px) {
    .about-sidebar-menu {
        flex-direction: column;
    }
    .about-sidebar-item a {
        text-align: center;
        justify-content: center;
    }
}
