/*==============================================================
# Dharmsinh Desai University (DDU) - Custom Stylesheet
# Handles: Full-page Slider, Overlay Header, and VC Load Popup
# Theme Accent Color: Orange (#ef5924 / var(--theme-color))
==============================================================*/

:root {
    --theme-color2: #FFEC40;
}

/*--------------------------------------------------------------
# 1. Full-Page Hero Slider Layout
--------------------------------------------------------------*/
#hero {
    margin-top: 0 !important; /* Starts naturally below Row 1 due to relative header positioning */
}

.custom-hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 85px) !important; /* Adjusted for Row 1 header offset */
    min-height: calc(600px - 85px) !important;
    background-color: #001B35;
    overflow: hidden;
    padding: 0 !important;
}

/* Swiper Container reset to full page */
.custom-hero-slider {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: absolute !important;
    top: 0;
    left: 0;
}

.custom-hero-slider .swiper-wrapper,
.custom-hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.custom-slide-img {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 50% Black Overlay over all Hero Slider images */
.custom-slide-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

/* Smooth Ken Burns slider effect */
.swiper-slide-active .custom-slide-img {
    transform: scale(1.08) !important;
}

/* Custom Navigation Buttons Positioning in Full-screen */
.custom-hero-slider .slider-prev,
.custom-hero-slider .slider-next {
    width: 55px;
    height: 55px;
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.custom-hero-slider .slider-prev:hover,
.custom-hero-slider .slider-next:hover {
    background-color: var(--theme-color) !important; /* Orange Theme Color */
    border-color: var(--theme-color) !important;
    transform: translateY(-50%) scale(1.08);
}

.custom-hero-slider .slider-pagination {
    bottom: 60px !important; /* Raised to clear scroll explore banner */
}

/*--------------------------------------------------------------
# 2. Transparent Header Overlay (Desktop & Mobile)
--------------------------------------------------------------*/
.th-header.header-overlay {
    position: relative !important; /* Keep Row 1 in normal document flow */
    width: 100%;
    z-index: 999;
    border: none !important;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Absolute position Row 2 menu bar so it overlays the top of the hero section */
.th-header.header-overlay .sticky-wrapper {
    position: absolute !important;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
}

/* Row 1: Logo & Links inline */
.th-header.header-overlay .header-top-row {
    position: relative !important;
    z-index: 1001 !important;
    background: var(--theme-color) !important; /* Full background using main theme color orange */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 3px 0;
    transition: all 0.3s ease;
}

.th-header.header-overlay .header-logo img {
    max-height: 55px;
    width: auto;
}

.th-header.header-overlay .header-links ul li {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px;
}

.th-header .header-links ul li a,
.th-header.header-overlay .header-links ul li a {
    color: var(--white-color) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
}

.th-header .header-links ul li a:not(.ddu-alumni-btn):hover,
.th-header .header-links ul li a:not(.ddu-alumni-btn):focus,
.th-header .header-links ul li a:not(.ddu-alumni-btn):focus-visible,
.th-header .header-links ul li a:not(.ddu-alumni-btn):active,
.th-header.header-overlay .header-links ul li a:not(.ddu-alumni-btn):hover,
.th-header.header-overlay .header-links ul li a:not(.ddu-alumni-btn):focus,
.th-header.header-overlay .header-links ul li a:not(.ddu-alumni-btn):focus-visible,
.th-header.header-overlay .header-links ul li a:not(.ddu-alumni-btn):active {
    color: var(--theme-color2) !important; /* Secondary theme color (yellow) hover */
    font-weight: 300 !important;
}

/* Row 2: Menu Area centered */
.th-header.header-overlay .menu-area {
    position: relative !important;
    background: rgba(0, 0, 0, 0.30) !important; /* Dark black transparent color */
    border: none !important;
    /*padding: 10px 0;*/
    transition: all 0.3s ease;
}

.th-header.header-overlay .main-menu {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.th-header.header-overlay .main-menu > ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.th-header .main-menu > ul > li > a,
.th-header.header-overlay .main-menu > ul > li > a {
    color: #ffffff !important;
    font-weight: 300 !important;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase !important;
    padding: 12px 0;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.th-header .main-menu > ul > li:hover > a,
.th-header .main-menu > ul > li > a:hover,
.th-header .main-menu > ul > li:focus-within > a,
.th-header .main-menu > ul > li > a:focus,
.th-header .main-menu > ul > li > a:focus-visible,
.th-header .main-menu > ul > li > a:active,
.th-header.header-overlay .main-menu > ul > li:hover > a,
.th-header.header-overlay .main-menu > ul > li > a:hover,
.th-header.header-overlay .main-menu > ul > li:focus-within > a,
.th-header.header-overlay .main-menu > ul > li > a:focus,
.th-header.header-overlay .main-menu > ul > li > a:focus-visible,
.th-header.header-overlay .main-menu > ul > li > a:active {
    color: var(--theme-color2) !important; /* Secondary theme color (yellow) hover */
    font-weight: 300 !important;
}

/* Dropdown Carets color update */
.th-header.header-overlay .main-menu > ul > li.menu-item-has-children > a::after {
    color: rgba(255, 255, 255, 0.7);
}

.th-header.header-overlay .main-menu > ul > li.menu-item-has-children:hover > a::after,
.th-header.header-overlay .main-menu > ul > li.menu-item-has-children > a:hover::after,
.th-header.header-overlay .main-menu > ul > li.menu-item-has-children:focus-within > a::after,
.th-header.header-overlay .main-menu > ul > li.menu-item-has-children > a:focus::after,
.th-header.header-overlay .main-menu > ul > li.menu-item-has-children > a:focus-visible::after,
.th-header.header-overlay .main-menu > ul > li.mega-menu-wrap.mega-open > a::after {
    color: var(--theme-color2) !important;
}

.th-header.header-overlay .th-menu-toggle i {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.th-header.header-overlay .th-menu-toggle:hover i {
    color: var(--theme-color2) !important;
}

/* Search Button Styling (Initial & Scrolled States) */
.th-header.header-overlay .header-search {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 4px !important;
    background: transparent !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

.th-header.header-overlay .header-search i {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

.th-header.header-overlay .header-search:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

.th-header.header-overlay .header-search:hover i {
    color: var(--theme-color) !important; /* Theme color orange on hover */
}

/* Remove all vertical separators or borders near Links (Important Links / Contact Us) */
.th-header .header-links ul li::after,
.th-header .header-links ul li::before,
.th-header .header-links li::after,
.th-header .header-links li::before,
.header-links li::after,
.header-links li::before,
.header-left-wrap li::after,
.header-left-wrap li::before {
    content: none !important;
    display: none !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

/*--------------------------------------------------------------
# 3. Sticky Scrolled Header (Matches Reference Image)
--------------------------------------------------------------*/
.th-header.header-overlay.header-scrolled {
    position: fixed !important;
    top: 0 !important;
    z-index: 1050 !important;
    background: var(--theme-color) !important; /* Main theme color background (orange) */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    animation: slideDown 0.35s ease-out forwards;
}

.th-header.header-overlay.header-scrolled .sticky-wrapper {
    position: relative !important; /* Revert absolute position on scroll */
    top: 0 !important;
}

.th-header.header-overlay.header-scrolled .header-top-row {
    display: none !important; /* Hide Row 1 on scroll */
}

.th-header.header-overlay.header-scrolled .menu-area {
    padding: 3px 0 !important;
    background: var(--theme-color) !important; /* Main theme color background (orange) */
}

/* Transform layout to space-between: logo left, menu center, search right */
.th-header.header-overlay.header-scrolled .menu-area .row {
    justify-content: space-between !important;
}

/* Menu links color when scrolled (white text) */
.th-header.header-overlay.header-scrolled .main-menu > ul > li > a {
    color: #ffffff !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
}

.th-header.header-overlay.header-scrolled .main-menu > ul > li:hover > a,
.th-header.header-overlay.header-scrolled .main-menu > ul > li > a:hover,
.th-header.header-overlay.header-scrolled .main-menu > ul > li:focus-within > a,
.th-header.header-overlay.header-scrolled .main-menu > ul > li > a:focus,
.th-header.header-overlay.header-scrolled .main-menu > ul > li > a:focus-visible,
.th-header.header-overlay.header-scrolled .main-menu > ul > li > a:active {
    color: var(--theme-color2) !important; /* Secondary theme color (yellow) hover */
    font-weight: 300 !important;
}

/* Dropdown indicators when scrolled (white text) */
.th-header.header-overlay.header-scrolled .main-menu > ul > li.menu-item-has-children > a::after {
    color: #ffffff !important;
}

.th-header.header-overlay.header-scrolled .main-menu > ul > li.menu-item-has-children:hover > a::after,
.th-header.header-overlay.header-scrolled .main-menu > ul > li.menu-item-has-children > a:hover::after,
.th-header.header-overlay.header-scrolled .main-menu > ul > li.menu-item-has-children:focus-within > a::after,
.th-header.header-overlay.header-scrolled .main-menu > ul > li.menu-item-has-children > a:focus::after,
.th-header.header-overlay.header-scrolled .main-menu > ul > li.menu-item-has-children > a:focus-visible::after,
.th-header.header-overlay.header-scrolled .main-menu > ul > li.mega-menu-wrap.mega-open > a::after {
    color: var(--theme-color2) !important;
}

/* Icons styling when scrolled (white icons) */
.th-header.header-overlay.header-scrolled .th-menu-toggle i {
    color: #ffffff !important;
}

.th-header.header-overlay.header-scrolled .th-menu-toggle:hover i {
    color: var(--theme-color2) !important;
}

/* Search button border matching scrolled layout (white border) */
.th-header.header-overlay.header-scrolled .header-search {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 4px !important;
    background: transparent !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
}

.th-header.header-overlay.header-scrolled .header-search i {
    font-size: 16px !important;
    line-height: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix search button hover state globally: Theme Orange icon on White background */
.th-header.header-overlay .header-search:hover,
.th-header.header-overlay.header-scrolled .header-search:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

.th-header.header-overlay .header-search:hover i,
.th-header.header-overlay.header-scrolled .header-search:hover i {
    color: var(--theme-color) !important;
}

/* Visibility triggers for sticky elements */
.sticky-logo-only {
    display: none !important;
}

.sticky-search-only {
    display: none !important;
}

.th-header.header-overlay.header-scrolled .sticky-logo-only {
    display: block !important;
}

.th-header.header-overlay.header-scrolled .sticky-search-only {
    display: block !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/*--------------------------------------------------------------
# 24. Sub-Page Full Background Image Breadcrumb (Perfect Center Alignment)
--------------------------------------------------------------*/
.breadcumb-wrapper {
    position: relative !important;
    background-color: #0b1528 !important;
    overflow: hidden !important;
    min-height: 260px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Full Width & Height Breadcrumb Banner Image */
.breadcumb-banner {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    z-index: 1 !important;
    display: block !important;
}

.breadcumb-banner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Dark Overlay for Text Legibility */
.breadcumb-banner::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 2 !important;
}

/* Container & Row Centering */
.breadcumb-wrapper .container,
.breadcumb-wrapper .th-container4 {
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
}

.breadcumb-wrapper .row {
    justify-content: center !important;
    text-align: center !important;
}

.breadcumb-wrapper [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
}

/* Content Container & Perfect Center Overlap */
.breadcumb-wrapper .breadcumb-content {
    position: relative !important;
    z-index: 5 !important;
    padding: 110px 0 65px 0 !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.breadcumb-title {
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 42px !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    text-align: center !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

.breadcumb-menu {
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px 10px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    max-width: 100% !important;
}

.breadcumb-menu li {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
}

.breadcumb-menu li,
.breadcumb-menu a,
.breadcumb-menu span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    word-break: break-word !important;
}

.breadcumb-menu a:hover {
    color: var(--theme-color) !important;
}

.breadcumb-menu li.active,
.breadcumb-menu li:last-child {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Hide background shape overlay when using full background image */
.breadcumb-shape {
    display: none !important;
}

/* Responsive Media Queries (Tablet & Mobile) */
@media (max-width: 991.98px) {
    .breadcumb-wrapper {
        min-height: 220px !important;
    }

    .breadcumb-wrapper .breadcumb-content {
        padding: 50px 16px !important;
    }

    .breadcumb-title {
        font-size: 34px !important;
        word-break: break-word !important;
    }

    .breadcumb-menu li,
    .breadcumb-menu a,
    .breadcumb-menu span {
        font-size: 14.5px !important;
    }
}

@media (max-width: 767.98px) {
    .breadcumb-wrapper {
        min-height: 180px !important;
    }

    .breadcumb-banner {
        display: block !important;
    }

    .breadcumb-banner::before {
        background: rgba(11, 21, 40, 0.75) !important;
    }

    .breadcumb-wrapper .breadcumb-content {
        padding: 36px 12px !important;
    }

    .breadcumb-title {
        font-size: 26px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        margin-bottom: 8px !important;
    }

    .breadcumb-menu {
        justify-content: center !important;
        row-gap: 6px !important;
        column-gap: 8px !important;
        padding: 0 4px !important;
        line-height: 1.5 !important;
    }

    .breadcumb-menu li,
    .breadcumb-menu a,
    .breadcumb-menu span {
        font-size: 13.5px !important;
        line-height: 1.45 !important;
    }

    .breadcumb-menu li:after {
        margin-left: 6px !important;
        margin-right: 0 !important;
        font-size: 12px !important;
        opacity: 0.85 !important;
    }
}

@media (max-width: 480px) {
    .breadcumb-wrapper .breadcumb-content {
        padding: 30px 10px !important;
    }

    .breadcumb-title {
        font-size: 22px !important;
    }

    .breadcumb-menu {
        row-gap: 5px !important;
        column-gap: 6px !important;
    }

    .breadcumb-menu li,
    .breadcumb-menu a,
    .breadcumb-menu span {
        font-size: 12.5px !important;
    }

    .breadcumb-menu li:after {
        margin-left: 4px !important;
        font-size: 11px !important;
    }
}

/*--------------------------------------------------------------
# 23. Connect With DDU Area (White Background & Premium Cards)
--------------------------------------------------------------*/
.connect-section {
    background-color: #ffffff !important; /* Clean white background */
    position: relative;
    padding: 80px 0 !important;
    border-top: 1px solid #f0f3f7 !important;
}

.connect-card {
    background-color: #f8fafc !important; /* Soft refined light card background */
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 20px 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    overflow: hidden !important;
    height: 100% !important;
}

.connect-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background-color: var(--theme-color) !important;
    transition: height 0.3s ease !important;
}

.connect-card:hover {
    background-color: #ffffff !important;
    border-color: var(--theme-color) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 30px rgba(241, 90, 36, 0.14) !important;
}

.connect-card:hover::before {
    height: 4px !important;
}

.brand-icon-box {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
}

.connect-card:hover .brand-icon-box {
    transform: scale(1.12) rotate(4deg) !important;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--title-color2) !important; /* DDU Navy Blue */
    transition: color 0.3s ease !important;
}

.connect-card:hover .brand-name {
    color: var(--theme-color) !important; /* Theme Orange on Hover */
}

/*--------------------------------------------------------------
# 22. Statistically Speaking Area Redesign (Light Theme Background)
--------------------------------------------------------------*/
.stats-section {
    background-color: var(--theme-color-light) !important; /* Soft light theme orange background */
    padding: 80px 0 !important;
    position: relative;
    border-top: 1px solid rgba(241, 90, 36, 0.12) !important;
    border-bottom: 1px solid rgba(241, 90, 36, 0.12) !important;
}

.modern-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    height: 100%;
    transition: transform 0.3s ease;
}

.modern-stat-card:hover {
    transform: translateY(-6px);
}

.modern-stat-icon-wrap {
    width: 86px;
    height: 86px;
    background-color: #ffffff !important; /* Crisp white circular badge */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px auto !important;
    position: relative;
    box-shadow: 0 8px 24px rgba(241, 90, 36, 0.12) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(241, 90, 36, 0.15) !important;
}

.modern-stat-card:hover .modern-stat-icon-wrap {
    transform: scale(1.08);
    background-color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(241, 90, 36, 0.22) !important;
}

.modern-stat-icon-wrap i {
    font-size: 36px !important;
    color: var(--theme-color) !important; /* Theme orange icon */
    font-weight: 400 !important;
    transition: color 0.3s ease !important;
}

.modern-stat-number {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: var(--theme-color) !important; /* Theme Orange Number */
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px !important;
    transition: color 0.3s ease !important;
}

/* Hover color change for icon and number to var(--title-color2) */
.modern-stat-card:hover .modern-stat-icon-wrap i,
.modern-stat-card:hover .modern-stat-number {
    color: var(--title-color2) !important;
}

.modern-stat-label {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #4a5568 !important; /* Muted dark slate label text */
    line-height: 1.45 !important;
    margin: 0 auto !important;
    max-width: 210px !important;
}

/* Responsiveness for Stats Section (Tablet & Mobile) */
@media (max-width: 991.98px) {
    .stats-section {
        padding: 50px 0 !important;
    }

    .modern-stat-icon-wrap {
        width: 76px;
        height: 76px;
        margin-bottom: 16px !important;
    }

    .modern-stat-icon-wrap i {
        font-size: 32px !important;
    }

    .modern-stat-number {
        font-size: 26px !important;
    }

    .modern-stat-label {
        font-size: 13.5px !important;
    }
}

@media (max-width: 575.98px) {
    .stats-section {
        padding: 40px 0 !important;
    }

    .modern-stat-icon-wrap {
        width: 68px;
        height: 68px;
        margin-bottom: 14px !important;
    }

    .modern-stat-icon-wrap i {
        font-size: 28px !important;
    }

    .modern-stat-number {
        font-size: 23px !important;
    }

    .modern-stat-label {
        font-size: 12.5px !important;
    }
}

/*--------------------------------------------------------------
# 4. Alumni Portal Custom Orange Pill Button & Hover
--------------------------------------------------------------*/
.th-header .header-links ul li a.ddu-alumni-btn,
.th-header.header-overlay .header-links ul li a.ddu-alumni-btn {
    background-color: #ffffff !important; /* White color button */
    color: var(--theme-color) !important; /* Theme Orange text */
    padding: 8px 22px !important;
    border-radius: 30px !important;
    font-weight: 300 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1.2;
    transition: all 0.3s ease !important;
    border: 1px solid #ffffff !important;
}

.th-header .header-links ul li a.ddu-alumni-btn:hover,
.th-header .header-links ul li a.ddu-alumni-btn:focus,
.th-header .header-links ul li a.ddu-alumni-btn:active,
.th-header.header-overlay .header-links ul li a.ddu-alumni-btn:hover,
.th-header.header-overlay .header-links ul li a.ddu-alumni-btn:focus,
.th-header.header-overlay .header-links ul li a.ddu-alumni-btn:active {
    background-color: #000000 !important; /* Hover: Black button */
    color: #ffffff !important; /* White text */
    border-color: #000000 !important;
    font-weight: 300 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
# 5. Centered Hero Text Overlay
--------------------------------------------------------------*/
.custom-hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-overlay-content {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 950px;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    pointer-events: none;
}

.hero-overlay-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.85);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(35px);
}

.swiper-slide-active .hero-overlay-title {
    animation: fadeUpIn 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-overlay-subtitle {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 2px 12px rgba(0, 0, 0, 0.85);
    opacity: 0;
    transform: translateY(25px);
}

.swiper-slide-active .hero-overlay-subtitle {
    animation: fadeUpIn 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------------------------------------------------------------
# 6. Scroll Down Explore Banner & Icon Animation
--------------------------------------------------------------*/
.scroll-down-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--theme-color); /* Orange */
    color: #ffffff !important;
    padding: 0 !important; /* Reset padding to allow full-height side labels */
    font-size: 11.5px; /* Decreased font size */
    z-index: 20;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center; /* Set all text in middle align (vertically centered) */
    height: 28px; /* Decreased banner height */
    line-height: 1; /* Decreased line-height */
}

.marquee-label-latest {
    background-color: var(--title-color) !important; /* Dark theme color */
    color: var(--theme-color) !important; /* Theme Orange text */
    font-weight: 500; /* Font not in bold */
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 11.5px; /* Decreased font size */
    height: 100%;
    z-index: 3;
}

.marquee-label-latest i {
    color: var(--theme-color) !important;
}

.marquee-label-viewall {
    background-color: var(--title-color) !important; /* Dark theme color */
    color: #ffffff !important;
    font-weight: 500; /* Font not in bold */
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 11.5px; /* Decreased font size */
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    z-index: 3;
    cursor: pointer;
    pointer-events: auto;
}

.marquee-label-viewall:hover {
    background-color: #000000 !important;
    color: var(--theme-color) !important;
}

.marquee-scroller-wrap {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #B88917 !important; /* Orange background */
    height: 100%;
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    height: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    white-space: nowrap;
    animation: marquee-scroll 35s linear infinite;
    gap: 40px;
    padding-right: 40px; /* matches gap for seamless loop spacing */
    height: 100%;
}

.marquee-content a {
    color: #ffffff !important;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 16px; /* Decreased font size */
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.marquee-content a:hover {
    color: var(--theme-color2) !important; /* Turns yellow on hover */
}

.marquee-badge {
    font-size: 8.5px; /* Small size for badge text */
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 8px;
    color: #ffffff !important;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1;
    pointer-events: none; /* Clicking badge triggers parent <a> smoothly */
}

.marquee-badge.badge-upcoming {
    background-color: #3282fb !important; /* Theme Light Blue color */
}

.marquee-badge.badge-new {
    background-color: #dc3545 !important;
}

.marquee-badge.badge-active {
    background-color: #28a745 !important;
}

.marquee-sep {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
}

/* Pause marquee scroll on hover */
.scroll-down-banner:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/*--------------------------------------------------------------
# 7. Vice Chancellor Popup Modal (Light themed, Clean & Premium)
--------------------------------------------------------------*/
.ddu-vc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Dark translucent backdrop */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ddu-vc-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ddu-vc-modal-card {
    background: #ffffff; /* Clean white card layout */
    border: 2px solid var(--theme-color); /* Orange Border outline */
    border-radius: 20px;
    width: 90%;
    max-width: 780px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.ddu-vc-modal-overlay.active .ddu-vc-modal-card {
    transform: scale(1);
}

.ddu-vc-modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.04) !important;
    border: none !important;
    color: #111111 !important;
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 99 !important;
    transition: all 0.25s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.ddu-vc-modal-close-btn i {
    font-size: 16px !important;
    line-height: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ddu-vc-modal-close-btn:hover {
    background-color: var(--theme-color) !important; /* Orange background */
    color: #ffffff !important; /* White X icon */
    transform: rotate(90deg) scale(1.05) !important;
    box-shadow: 0 4px 10px rgba(239, 89, 36, 0.3) !important;
}

.ddu-vc-modal-content {
    display: flex;
    flex-direction: row;
}

/* Light Unified background panels */
.ddu-vc-modal-img-col {
    width: 32%;
    background-color: #fafafa; /* Light gray panel */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.ddu-vc-modal-img-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--theme-color); /* Theme Orange Image border */
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(239, 89, 36, 0.2);
}

.ddu-vc-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ddu-vc-modal-text-col {
    width: 68%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.ddu-vc-modal-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--theme-color); /* Orange subtitle */
    margin-bottom: 6px;
    display: block;
}

.ddu-vc-modal-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #00274C; /* Theme Navy Text color */
}

.ddu-vc-modal-designation {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #666666;
    margin-bottom: 15px;
    font-style: italic;
}

/* Explicit Blockquote Reset to avoid the white box issue from template */
.ddu-vc-modal-text-col blockquote.ddu-vc-modal-quote {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-left: 3px solid var(--theme-color) !important; /* Orange left border */
    padding: 0 0 0 18px !important;
    margin: 0 !important;
    color: #444444 !important; /* Dark gray readable text color */
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    font-style: italic !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    position: relative !important;
}

/* Remove overlapping quotation characters added by template stylesheet */
.ddu-vc-modal-text-col blockquote.ddu-vc-modal-quote::before,
.ddu-vc-modal-text-col blockquote.ddu-vc-modal-quote::after {
    content: none !important;
    display: none !important;
}

/*--------------------------------------------------------------
# 8. Device Responsiveness (Mobile & Tablet)
--------------------------------------------------------------*/
@media (max-width: 1199px) {
    /* Hide the desktop menu container on mobile / tablet viewports */
    .th-header.header-overlay .sticky-wrapper {
        display: none !important;
    }

    /* Handle mobile / tablet inline logo bar spacing */
    .th-header.header-overlay .header-top-row {
        padding: 3px 0;
    }

    .th-header.header-overlay .header-logo img {
        max-height: 50px !important;
    }

    .custom-hero-section {
        height: calc(100vh - 65px) !important;
        min-height: calc(600px - 65px) !important;
    }
}

@media (max-width: 991px) {
    /* Mobile transparent background overlay reset */
    .th-header.header-overlay {
        background: transparent !important;
        background-color: transparent !important;
        position: relative !important; /* Relative flow on mobile for row offset */
        box-shadow: none !important;
        border: none !important;
    }

    .th-header.header-overlay .header-top-row {
        background: var(--theme-color) !important; /* Full background using main theme color orange */
        border: none !important;
    }

    /* Main theme color sticky background on scroll on mobile */
    .th-header.header-overlay.header-scrolled {
        background: var(--theme-color) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
        position: fixed !important;
    }

    .custom-hero-section {
        height: calc(100vh - 65px) !important;
        min-height: calc(600px - 65px) !important;
    }

    .hero-overlay-title {
        font-size: 46px;
        margin-bottom: 18px;
    }

    .hero-overlay-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    /* Modal layout transforms to single column stack */
    .ddu-vc-modal-content {
        flex-direction: column;
    }

    .ddu-vc-modal-img-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 35px 20px 20px 20px;
    }

    .ddu-vc-modal-img-wrap {
        width: 130px;
        height: 130px;
    }

    .ddu-vc-modal-text-col {
        width: 100%;
        padding: 30px 20px;
        text-align: center;
    }

    .ddu-vc-modal-text-col blockquote.ddu-vc-modal-quote {
        text-align: left;
        padding-left: 15px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 575px) {
    .custom-hero-section {
        min-height: calc(500px - 65px) !important;
    }

    .hero-overlay-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-overlay-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .scroll-down-banner {
        padding: 0 !important;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .marquee-label-latest,
    .marquee-label-viewall {
        padding: 3px 12px !important;
        font-size: 11px !important;
    }

    .custom-hero-slider .slider-prev,
    .custom-hero-slider .slider-next {
        display: none !important; /* Hide arrows on mobile viewports for clean look */
    }

    .custom-hero-slider .slider-pagination {
        bottom: 55px !important;
    }

    /* Force the header logo to display larger on mobile viewports */
    .th-header.header-overlay .header-logo img {
        max-width: 230px !important;
        max-height: 46px !important;
    }
}

@media (max-width: 375px) {
    .th-header.header-overlay .header-logo img {
        max-width: 190px !important;
        max-height: 38px !important;
    }
}

/*--------------------------------------------------------------
# 8. Mobile Menu Drawer Logo Optimization
--------------------------------------------------------------*/
.th-menu-wrapper .mobile-logo {
    padding: 20px 25px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-color) !important;
}

.th-menu-wrapper .mobile-logo a {
    display: block;
    width: 100%;
}

.th-menu-wrapper .mobile-logo img {
    max-width: 100% !important;
    max-height: 55px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/*--------------------------------------------------------------
# 9. Home Page Slider Vice Chancellor Overlay
--------------------------------------------------------------*/
.vc-slider-overlay-wrapper {
    position: absolute;
    bottom: 28px; /* Sits directly above the new slimmer scroll-down marquee banner */
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 12;
    pointer-events: none; /* Allows user to click/drag slider elements underneath */
}

.vc-slider-overlay-bar {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.vc-slider-overlay-text {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #ffffff !important;
    text-align: right !important; /* Right aligned text matching mockup */
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.5px;
    padding-right: 520px; /* Aligns text cleanly to the left of the slightly smaller VC image */
    padding-left: 30px;
    width: 100%;
    transition: all 0.3s ease;
}

.vc-slider-overlay-text strong {
    font-weight: 700;
}

.vc-slider-overlay-subtext {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    margin-top: 2px;
}

.vc-slider-overlay-img-wrap {
    position: absolute;
    bottom: 28px; /* Align bottom to the bottom of the slider bar, resting on top of marquee banner */
    right: -50px; /* Offset the right transparent space in the image to align VC to the right edge */
    height: 380px; /* Slightly decreased image height on desktop */
    width: 570px; /* Aspect ratio height * 1.5 matches 1000x667 canvas size */
    z-index: 15; /* Sits on top of header, dark bar, and slider pagination */
    pointer-events: none;
    transition: all 0.3s ease;
}

.vc-slider-overlay-img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
}

/* Relocate pagination above the VC overlay bar */
.custom-hero-slider .slider-pagination {
    bottom: 110px !important; /* Raised to clear both the marquee banner and the new VC overlay bar */
    transition: bottom 0.3s ease;
}

/* Responsiveness for VC Overlay */
@media (max-width: 1199px) {
    .vc-slider-overlay-text {
        padding-right: 430px;
        padding-left: 20px;
        font-size: 16px;
    }

    .vc-slider-overlay-subtext {
        font-size: 13px;
    }

    .vc-slider-overlay-img-wrap {
        height: 310px;
        width: 465px;
        right: -40px;
    }
}

@media (max-width: 991px) {
    .vc-slider-overlay-wrapper {
        bottom: 28px;
        height: 80px;
    }

    .vc-slider-overlay-text {
        padding-right: 340px;
        padding-left: 20px;
        font-size: 14px;
    }

    .vc-slider-overlay-subtext {
        font-size: 12px;
    }

    .vc-slider-overlay-img-wrap {
        height: 240px;
        width: 360px;
        right: -35px;
    }
}

@media (max-width: 767px) {
    .vc-slider-overlay-wrapper {
        bottom: 28px !important;
        height: 56px !important;
    }

    .vc-slider-overlay-text {
        text-align: left !important;
        padding-left: 15px !important;
        padding-right: 125px !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .vc-slider-overlay-text strong {
        white-space: nowrap !important;
    }

    .vc-slider-overlay-subtext {
        font-size: 10px !important;
        margin-top: 1px !important;
    }

    .vc-slider-overlay-img-wrap {
        display: block !important;
        height: 125px !important;
        width: 185px !important;
        right: -15px !important;
        bottom: 28px !important;
    }

    .custom-hero-slider .slider-pagination {
        bottom: 70px !important;
    }
}

@media (max-width: 480px) {
    .vc-slider-overlay-wrapper {
        bottom: 28px !important;
        height: 54px !important;
    }

    .vc-slider-overlay-text {
        text-align: left !important;
        padding-left: 12px !important;
        padding-right: 115px !important;
        font-size: 10.5px !important;
        line-height: 1.25 !important;
    }

    .vc-slider-overlay-text strong {
        white-space: nowrap !important;
    }

    .vc-slider-overlay-subtext {
        font-size: 9.5px !important;
        margin-top: 1px !important;
    }

    .vc-slider-overlay-img-wrap {
        height: 115px !important;
        width: 170px !important;
        right: -12px !important;
        bottom: 28px !important;
    }

    .custom-hero-slider .slider-pagination {
        bottom: 70px !important;
    }
}

/*--------------------------------------------------------------
# 19. Faculty-Wise Logo Styles (Small Logo + Faculty Name)
--------------------------------------------------------------*/
.faculty-logo-brand,
a.faculty-logo-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}

.faculty-logo-brand .faculty-logo-img {
    max-height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.faculty-logo-brand .faculty-logo-name,
.header-logo .faculty-logo-brand .faculty-logo-name,
.header-top-row .faculty-logo-brand .faculty-logo-name,
.th-header .faculty-logo-brand .faculty-logo-name {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    white-space: normal !important;
    display: inline-block !important;
    max-width: 480px !important;
    transition: color 0.3s ease !important;
}

.faculty-logo-brand:hover .faculty-logo-name {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Sticky Scrolled Header logo adjustment */
.th-header.header-overlay.header-scrolled .faculty-logo-brand .faculty-logo-img {
    max-height: 38px !important;
}

.th-header.header-overlay.header-scrolled .faculty-logo-brand .faculty-logo-name {
    font-size: 14px !important;
    max-width: 320px !important;
    color: #ffffff !important;
}

/* Mobile Drawer Menu logo adjustment (White background) */
.mobile-logo .faculty-logo-brand,
.th-menu-wrapper .mobile-logo .faculty-logo-brand {
    justify-content: center !important;
    gap: 10px !important;
    padding: 5px 0 !important;
}

.mobile-logo .faculty-logo-brand .faculty-logo-img {
    max-height: 38px !important;
}

.mobile-logo .faculty-logo-brand .faculty-logo-name,
.th-menu-wrapper .mobile-logo .faculty-logo-brand .faculty-logo-name {
    color: var(--white-color) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: left !important;
    max-width: 220px !important;
}

/* Responsive Scaling */
@media (max-width: 1199px) {
    .faculty-logo-brand {
        gap: 10px !important;
    }

    .faculty-logo-brand .faculty-logo-name {
        font-size: 14px !important;
        max-width: 340px !important;
    }
}

@media (max-width: 767px) {
    .faculty-logo-brand {
        gap: 8px !important;
    }

    .faculty-logo-brand .faculty-logo-img {
        max-height: 36px !important;
    }

    .faculty-logo-brand .faculty-logo-name {
        font-size: 13px !important;
        max-width: 240px !important;
    }
}

@media (max-width: 480px) {
    .faculty-logo-brand .faculty-logo-img {
        max-height: 32px !important;
    }

    .faculty-logo-brand .faculty-logo-name {
        font-size: 11px !important;
        max-width: 180px !important;
    }
}

/*--------------------------------------------------------------
# 20. Hero Slider Responsiveness (Tablet, iPad & Mobile Full Image Display)
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
    /* Hide hero text overlay on Tablet, iPad & Mobile to show full hero slider image */
    .hero-overlay-content {
        display: none !important;
    }

    .custom-hero-section {
        position: relative !important;
        height: 480px !important;
        min-height: 480px !important;
        overflow: hidden !important;
    }

    .custom-hero-slider {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
    }

    .custom-hero-slider .swiper-slide {
        width: 100% !important;
        height: 100% !important;
    }

    /* Full Hero Slider Image on Tablet, iPad & Mobile */
    .custom-slide-img {
        height: 100% !important;
        min-height: 100% !important;
        width: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        position: relative !important;
    }
}

@media (max-width: 991.98px) {
    .custom-hero-section {
        height: 400px !important;
        min-height: 400px !important;
    }
}

@media (max-width: 767.98px) {
    .custom-hero-section {
        height: 290px !important;
        min-height: 290px !important;
    }

    /* Slider Navigation buttons on mobile */
    .custom-hero-slider .slider-prev,
    .custom-hero-slider .slider-next {
        top: 42% !important;
        width: 40px !important;
        height: 40px !important;
    }
}


/*--------------------------------------------------------------
# 21. Sub-Menu & Mega-Menu Styles (Desktop & Mobile Responsive)
--------------------------------------------------------------*/

/* ==============================================================
   DESKTOP NAVIGATION (Screen Width >= 1200px)
   ============================================================== */
@media (min-width: 1200px) {
    /* Disable default theme pseudo-elements on mega menu titles */
    .main-menu ul.mega-menu > li > a::after,
    .main-menu ul.mega-menu > li > a::before,
    .main-menu .mega-menu > li > a::after,
    .main-menu .mega-menu > li > a::before,
    .main-menu .ddu-mega > li > a::after,
    .main-menu .ddu-mega > li > a::before {
        display: none !important;
        content: none !important;
    }

    /* Dropdown Background, Top Accent Line & Space Below Root Menu */
    .main-menu ul.sub-menu,
    .main-menu ul.mega-menu,
    .main-menu .sub-menu,
    .main-menu .mega-menu,
    .main-menu .ddu-mega {
        margin-top: 15px !important; /* Visual space gap between root menu & dropdown */
        background-color: #010101 !important; /* Dark charcoal background */
        background: #010101 !important;
        border: none !important;
        border-top: 3px solid var(--theme-color) !important; /* Orange top accent border */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
        border-radius: 4px !important;
    }

    /* Definitive Desktop Dropdown Inactive State Guard:
       When a top-level navbar item is not hovered and not focused, its entire dropdown
       hierarchy (sub-menu, mega-menu, and every descendant element and pseudo-element)
       must strictly be hidden, non-interactive, and have no pointer events.
       This prevents invisible hitboxes or hover bridges from intercepting pointer events over the hero section. */
    .main-menu > ul > li:not(:hover):not(:focus-within) > ul.sub-menu,
    .main-menu > ul > li:not(:hover):not(:focus-within) > ul.sub-menu *,
    .main-menu > ul > li:not(:hover):not(:focus-within) > ul.sub-menu::before,
    .main-menu > ul > li:not(:hover):not(:focus-within) > ul.sub-menu::after,
    .main-menu > ul > li:not(:hover):not(:focus-within):not(.mega-open) > ul.mega-menu,
    .main-menu > ul > li:not(:hover):not(:focus-within):not(.mega-open) > ul.mega-menu *,
    .main-menu > ul > li:not(:hover):not(:focus-within):not(.mega-open) > ul.mega-menu::before,
    .main-menu > ul > li:not(:hover):not(:focus-within):not(.mega-open) > ul.mega-menu::after,
    .main-menu > ul > li:not(:hover):not(:focus-within):not(.mega-open) > .ddu-mega,
    .main-menu > ul > li:not(:hover):not(:focus-within):not(.mega-open) > .ddu-mega *,
    .main-menu > ul > li:not(:hover):not(:focus-within):not(.mega-open) > .ddu-mega::before,
    .main-menu > ul > li:not(:hover):not(:focus-within):not(.mega-open) > .ddu-mega::after {
        pointer-events: none !important;
        visibility: hidden !important;
    }

    /* Dropdown Stacking Context on Desktop Navbar:
       Each root navbar item has its own stacking context. Currently hovered
       parent takes precedence (z-index: 200) so its submenu is always on top. */
    .main-menu > ul > li:not(.mega-menu-wrap) {
        position: relative !important;
        z-index: 10 !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap):hover,
    .main-menu > ul > li:not(.mega-menu-wrap):focus-within {
        z-index: 200 !important;
    }

    .main-menu > ul > li.mega-menu-wrap:hover,
    .main-menu > ul > li.mega-menu-wrap:focus-within,
    .main-menu > ul > li.mega-menu-wrap.mega-open {
        z-index: 200 !important;
    }

    /* Scoped Hover bridge on individual parent menu items:
       Bridges the 15px gap strictly within each parent item's own width.
       Prevents a wide submenu (e.g. Students' Corner) from trapping hover across sibling items. */
    .main-menu > ul > li:not(.mega-menu-wrap).menu-item-has-children:hover::after,
    .main-menu > ul > li:not(.mega-menu-wrap).menu-item-has-children:focus-within::after {
        content: '' !important;
        position: absolute !important;
        bottom: -20px !important;
        left: 0 !important;
        right: 0 !important;
        height: 20px !important;
        background: transparent !important;
        display: block !important;
        z-index: 50 !important;
        pointer-events: auto !important;
    }

    /* Disable the old global hover bridge on normal sub-menus to prevent 900px horizontal overlap */
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu::after {
        display: none !important;
        content: none !important;
    }

    /* Preserve Mega Menu Plus (+) Icon Visibility:
       Ensures the '+' icon (\2b) beside the title remains visible, correctly positioned,
       and styled with the intended color on rest, hover, focus, and mega-open states. */
    .main-menu > ul > li.mega-menu-wrap > a {
        position: relative !important;
    }

    .main-menu > ul > li.mega-menu-wrap > a::after,
    .main-menu > ul > li.mega-menu-wrap:hover > a::after,
    .main-menu > ul > li.mega-menu-wrap:focus-within > a::after,
    .main-menu > ul > li.mega-menu-wrap.mega-open > a::after {
        content: "\2b" !important;
        position: relative !important;
        font-family: var(--icon-font) !important;
        margin-left: 4px !important;
        font-weight: 600 !important;
        top: 0 !important;
        font-size: 14px !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Wide Hover bridge for Mega Menu container (active when parent item is hovered, focused, or active)
       Spans full width of the mega menu to allow diagonal cursor traversal without closing */
    .main-menu ul.mega-menu::before,
    .main-menu .ddu-mega::before,
    .main-menu ul.mega-menu::after,
    .main-menu .ddu-mega::after {
        content: '' !important;
        position: absolute !important;
        top: -30px !important;
        left: 0 !important;
        right: 0 !important;
        height: 35px !important;
        background: transparent !important;
        display: none !important;
        pointer-events: none !important;
        z-index: 999 !important;
    }

    .main-menu > ul > li.mega-menu-wrap:hover > ul.mega-menu::before,
    .main-menu > ul > li.mega-menu-wrap:hover > .ddu-mega::before,
    .main-menu > ul > li.mega-menu-wrap:hover > ul.mega-menu::after,
    .main-menu > ul > li.mega-menu-wrap:hover > .ddu-mega::after,
    .main-menu > ul > li.mega-menu-wrap:focus-within > ul.mega-menu::before,
    .main-menu > ul > li.mega-menu-wrap:focus-within > .ddu-mega::before,
    .main-menu > ul > li.mega-menu-wrap:focus-within > ul.mega-menu::after,
    .main-menu > ul > li.mega-menu-wrap:focus-within > .ddu-mega::after,
    .main-menu > ul > li.mega-menu-wrap.mega-open > ul.mega-menu::before,
    .main-menu > ul > li.mega-menu-wrap.mega-open > .ddu-mega::before,
    .main-menu > ul > li.mega-menu-wrap.mega-open > ul.mega-menu::after,
    .main-menu > ul > li.mega-menu-wrap.mega-open > .ddu-mega::after {
        display: block !important;
        pointer-events: auto !important;
    }

    /* -------------------------------------------------------------
       NORMAL SUB-MENU (.sub-menu) - 2-COLUMN PATTERN (DESKTOP)
       Matches reference design: 2 balanced columns with vertical divider
       ------------------------------------------------------------- */
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu {
        display: block !important;
        column-count: 2 !important;
        column-gap: 50px !important;
        column-rule: 1px solid rgba(255, 255, 255, 0.15) !important;
        width: 900px !important;
        max-width: min(900px, calc(100vw - 40px)) !important;
        padding: 25px 25px !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        box-sizing: border-box !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 150ms ease, visibility 150ms ease !important;
        z-index: -1 !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap):hover > ul.sub-menu,
    .main-menu > ul > li:not(.mega-menu-wrap):focus-within > ul.sub-menu {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 99 !important;
        transition: opacity 200ms ease, visibility 200ms ease !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu::before {
        display: none !important;
        content: none !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        list-style: none !important;
        display: block !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        box-sizing: border-box !important;
    }

    /* -------------------------------------------------------------
       MEGA MENU (.mega-menu / .ddu-mega) - DESKTOP LAYOUT
       Positioned relative to the .menu-area navigation container and centered
       horizontally so it never extends beyond the viewport boundaries.
       ------------------------------------------------------------- */
    .main-menu > ul > li.mega-menu-wrap {
        position: static !important;
    }

    .main-menu > ul > li.mega-menu-wrap > ul.mega-menu.ddu-mega,
    .main-menu > ul > li.mega-menu-wrap > ul.mega-menu,
    .main-menu > ul > li.mega-menu-wrap > .ddu-mega,
    .main-menu ul.mega-menu.ddu-mega,
    .main-menu ul.mega-menu,
    .main-menu .ddu-mega {
        display: flex !important;
        flex-direction: row !important;
        padding: 25px 25px !important;
        width: -webkit-max-content !important;
        width: -moz-max-content !important;
        width: max-content !important;
        min-width: min(100%, 760px) !important;
        max-width: 1140px !important;
        max-width: min(1140px, calc(100vw - 40px)) !important;
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(8px) !important;
        transform-origin: top center !important;
        column-gap: 45px !important;
        box-sizing: border-box !important;
        transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: -1 !important;
    }

    .main-menu > ul > li.mega-menu-wrap:hover > ul.mega-menu,
    .main-menu > ul > li.mega-menu-wrap:hover > .ddu-mega,
    .main-menu > ul > li.mega-menu-wrap:focus-within > ul.mega-menu,
    .main-menu > ul > li.mega-menu-wrap:focus-within > .ddu-mega,
    .main-menu > ul > li.mega-menu-wrap.mega-open > ul.mega-menu,
    .main-menu > ul > li.mega-menu-wrap.mega-open > .ddu-mega,
    .main-menu ul li:hover ul.mega-menu.ddu-mega {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 100 !important;
        transform: translateX(-50%) translateY(0) !important;
        transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease !important;
    }

    /* -------------------------------------------------------------
       SMART DROPDOWN POSITIONING (standard sub-menus only)
       Applies solely to normal 2-column .sub-menu flyouts. Mega menus
       are container-aligned and must NOT be clamped to individual li edges.
       ------------------------------------------------------------- */
    /* Left-side Navbar Items (e.g., About Us, Administration): Align Left */
    .main-menu > ul > li:nth-child(-n+3):not(.mega-menu-wrap) > ul.sub-menu {
        left: 0 !important;
        right: auto !important;
        transform: none !important;
    }

    /* Right-side Navbar Items (e.g., Research, Students' Corner): Align Right */
    .main-menu > ul > li:nth-last-child(-n+2):not(.mega-menu-wrap) > ul.sub-menu {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
    }

    /* Laptop Screen (1200px - 1400px) Dropdown Width & Padding Adjustments */
    @media (max-width: 1399.98px) {
        .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu {
            width: 680px !important;
            padding: 20px 20px !important;
            column-gap: 35px !important;
        }

        .main-menu > ul > li.mega-menu-wrap > ul.mega-menu.ddu-mega,
        .main-menu > ul > li.mega-menu-wrap > ul.mega-menu,
        .main-menu > ul > li.mega-menu-wrap > .ddu-mega,
        .main-menu ul.mega-menu,
        .main-menu .ddu-mega {
            max-width: 980px !important;
            max-width: min(980px, calc(100vw - 40px)) !important;
            padding: 20px 20px !important;
            column-gap: 30px !important;
        }
    }

    /* -------------------------------------------------------------
       CIRCULAR EMBLEM ICON (`assets/img/nav-img.png`) ON HOVER
       Straddles between parent menu item and dropdown top border line
       ------------------------------------------------------------- */
    .main-menu > ul > li.menu-item-has-children:not(.mega-menu-wrap) {
        position: relative !important;
    }

    .main-menu > ul > li.menu-item-has-children:hover::before {
        content: '' !important;
        position: absolute !important;
        bottom: -35px !important;
        border: 2px solid var(--theme-color);
        border-radius: 50%;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 50px !important;
        height: 50px !important;
        background-image: url('../img/nav-img.png') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        z-index: 1000 !important;
        pointer-events: none !important;
        display: block !important;
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4)) !important;
    }

    /* For mega-menu-wrap (position: static so mega menu can center to .menu-area),
       render the circular emblem on the child <a> link so it stays centered under the nav tab */
    .main-menu > ul > li.mega-menu-wrap:hover::before {
        display: none !important;
        content: none !important;
    }

    .main-menu > ul > li.mega-menu-wrap:hover > a::before,
    .main-menu > ul > li.mega-menu-wrap:focus-within > a::before,
    .main-menu > ul > li.mega-menu-wrap.mega-open > a::before {
        content: '' !important;
        position: absolute !important;
        bottom: -35px !important;
        border: 2px solid var(--theme-color);
        border-radius: 50%;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 50px !important;
        height: 50px !important;
        background-image: url('../img/nav-img.png') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        z-index: 1000 !important;
        pointer-events: none !important;
        display: block !important;
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4)) !important;
    }

    .main-menu .ddu-mega > li,
    .main-menu .mega-menu > li {
        flex: 1 1 0px !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
        flex-basis: 0px !important;
        min-width: 260px !important;
        max-width: 520px !important;
        width: auto !important;
        padding: 0 !important;
        border-right: none !important;
        box-sizing: border-box !important;
    }

    .main-menu .mega-menu li,
    .main-menu .ddu-mega-list li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        list-style: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: stretch !important;
    }

    .main-menu .ddu-mega-list {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }

    /* COLUMN HEADERS: UPPERCASE text ONLY */
    .main-menu .ddu-mega-title,
    .main-menu ul.mega-menu > li > a {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        min-height: 40px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        color: var(--theme-color) !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        margin: 0 0 4px 0 !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    .main-menu .ddu-mega-title:hover,
    .main-menu .ddu-mega-title:focus,
    .main-menu .ddu-mega-title:focus-visible,
    .main-menu .ddu-mega-title:active,
    .main-menu ul.mega-menu > li > a:hover,
    .main-menu ul.mega-menu > li > a:focus,
    .main-menu ul.mega-menu > li > a:focus-visible,
    .main-menu ul.mega-menu > li > a:active,
    .main-menu .mega-menu > li > a:hover,
    .main-menu .mega-menu > li > a:focus,
    .main-menu .mega-menu > li > a:focus-visible,
    .main-menu .mega-menu > li > a:active {
        color: var(--theme-color2) !important;
        font-weight: 300 !important;
        text-transform: uppercase !important;
    }

    .main-menu .ddu-mega-title::before,
    .main-menu ul.mega-menu > li > a::before {
        display: none !important;
    }

    /* =============================================================
       MEGA MENU LIST LINKS (UNTOUCHED & PRESERVED)
       ============================================================= */
    .main-menu ul.mega-menu .ddu-mega-list li a,
    .main-menu .ddu-mega-list li a {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        min-height: 38px !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 18px !important;
        padding-right: 12px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        font-weight: 300 !important;
        letter-spacing: 0.2px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        transition: all 0.25s ease !important;
        background: transparent !important;
        margin: 0 !important;
        text-transform: uppercase !important;
    }

    .main-menu ul.mega-menu .ddu-mega-list li a::before,
    .main-menu .ddu-mega-list li a::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        left: 2px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 6px !important;
        height: 6px !important;
        background-color: var(--theme-color) !important;
        border-radius: 50% !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        transition: all 0.25s ease !important;
        font-family: inherit !important;
    }

    .main-menu ul.mega-menu .ddu-mega-list li a:hover,
    .main-menu .ddu-mega-list li a:hover,
    .main-menu ul.mega-menu li a:hover,
    .main-menu .mega-menu li a:hover,
    .main-menu ul.mega-menu .ddu-mega-list li a:focus,
    .main-menu .ddu-mega-list li a:focus,
    .main-menu ul.mega-menu .ddu-mega-list li a:focus-visible,
    .main-menu .ddu-mega-list li a:focus-visible,
    .main-menu ul.mega-menu li a:focus,
    .main-menu .mega-menu li a:focus,
    .main-menu ul.mega-menu li a:focus-visible,
    .main-menu .mega-menu li a:focus-visible,
    .main-menu ul.mega-menu .ddu-mega-list li a:active,
    .main-menu .ddu-mega-list li a:active,
    .main-menu ul.mega-menu li a:active,
    .main-menu .mega-menu li a:active {
        color: var(--theme-color2) !important;
        font-weight: 300 !important;
        text-transform: uppercase !important;
        background-color: transparent !important;
        background: transparent !important;
        padding-left: 22px !important;
    }

    .main-menu ul.mega-menu .ddu-mega-list li a:hover::before,
    .main-menu .ddu-mega-list li a:hover::before {
        left: 6px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* =============================================================
       NORMAL SUB-MENU & NESTED SUB-MENUS
       Consistent visual pattern & theme-color dot across all levels
       ============================================================= */
    /* Base styling for ALL normal submenu links (Level 1, Level 2, Level 3+) */
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        min-height: 38px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        padding-right: 12px !important;
        color: #ffffff !important;
        font-family: inherit !important;
        font-size: 13.5px !important;
        font-weight: 300 !important;
        letter-spacing: 0.2px !important;
        line-height: 1.4 !important;
        text-transform: uppercase !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        transition: color 0.25s ease, padding-left 0.25s ease, background-color 0.25s ease !important;
        background: transparent !important;
        margin: 0 !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap):hover ul.sub-menu li a,
    .main-menu > ul > li:not(.mega-menu-wrap):focus-within ul.sub-menu li a {
        pointer-events: auto !important;
    }

    /* Remove default arrow icons from all normal submenu items on desktop */
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li > a::after {
        display: none !important;
        content: none !important;
    }

    /* Consistent Theme-Color Bullet `•` for ALL Nested Submenu Items */
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 6px !important;
        height: 6px !important;
        background-color: var(--theme-color) !important;
        border-radius: 50% !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        transition: left 0.25s ease, transform 0.25s ease !important;
        font-family: inherit !important;
    }

    /* Hover/Focus/Active State: Only Link Text Changes Color to Yellow (--theme-color2) */
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a:hover,
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a:focus,
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a:focus-visible,
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a:active {
        color: var(--theme-color2) !important;
        background-color: transparent !important;
    }

    /* Bullet MUST strictly retain theme-color in both normal and hover states */
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a:hover::before,
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a:focus::before,
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a:focus-visible::before,
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li a:active::before {
        background-color: var(--theme-color) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* --- Consistent Progressive Indentation & Bullet Alignment per Level --- */
    /* Level 1 Submenu Links */
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a {
        padding-left: 18px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a::before {
        left: 2px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a:hover,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a:focus,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a:focus-visible,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a:active {
        padding-left: 22px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a:hover::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a:focus::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a:focus-visible::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > a:active::before {
        left: 6px !important;
    }

    /* Level 2 Submenu Links */
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a {
        padding-left: 36px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a::before {
        left: 20px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a:hover,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a:focus,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a:focus-visible,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a:active {
        padding-left: 40px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a:hover::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a:focus::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a:focus-visible::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > a:active::before {
        left: 24px !important;
    }

    /* Level 3 Submenu Links */
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a {
        padding-left: 54px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a::before {
        left: 38px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:hover,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:focus,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:focus-visible,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:active {
        padding-left: 58px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:hover::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:focus::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:focus-visible::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:active::before {
        left: 42px !important;
    }

    /* Level 4+ Submenu Links */
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a {
        padding-left: 72px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a::before {
        left: 56px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:hover,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:focus,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:focus-visible,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:active {
        padding-left: 76px !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:hover::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:focus::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:focus-visible::before,
    .main-menu > ul > li:not(.mega-menu-wrap) > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:active::before {
        left: 60px !important;
    }

    /* Nested Submenu Containers (Level 2+) - Displayed directly beneath respective parent */
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li ul.sub-menu {
        position: static !important;
        display: block !important;
        transform: none !important;
        -webkit-transform: none !important;
        -ms-transform: none !important;
        transition: none !important;
        -webkit-transition: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        z-index: 1 !important;
        left: auto !important;
        top: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        background-color: transparent !important;
        column-count: 1 !important;
        column-rule: none !important;
        box-sizing: border-box !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li ul.sub-menu::before,
    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li ul.sub-menu::after {
        display: none !important;
        content: none !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap) ul.sub-menu li ul.sub-menu li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        list-style: none !important;
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        box-sizing: border-box !important;
    }

    /* Nested Submenu Active State: Visible and interactive only when parent root item is hovered or focused */
    .main-menu > ul > li:not(.mega-menu-wrap):hover ul.sub-menu li ul.sub-menu,
    .main-menu > ul > li:not(.mega-menu-wrap):focus-within ul.sub-menu li ul.sub-menu {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .main-menu > ul > li:not(.mega-menu-wrap):hover ul.sub-menu li ul.sub-menu li,
    .main-menu > ul > li:not(.mega-menu-wrap):focus-within ul.sub-menu li ul.sub-menu li,
    .main-menu > ul > li:not(.mega-menu-wrap):hover ul.sub-menu li ul.sub-menu li a,
    .main-menu > ul > li:not(.mega-menu-wrap):focus-within ul.sub-menu li ul.sub-menu li a {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* ==============================================================
   MOBILE NAVIGATION (Screen Width < 1200px)
   Note: All mobile navigation drawer, mega menu, and nested
   submenu styles are centralized and maintained in the dedicated
   mobile drawer section at the end of this file to prevent
   duplicate border conflicts and ensure strict desktop protection.
   ============================================================== */

/*--------------------------------------------------------------
# 25. University Overview - Vision, Mission & Quality Policy Section
--------------------------------------------------------------*/
.uo-vmq-section {
    margin-top: 40px;
    position: relative;
}

.uo-vmq-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8ecf2;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 39, 76, 0.04);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    isolation: isolate;
}

/* Background Image Layer with Zoom effect */
.uo-vmq-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.0);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

/* Dark Contrast Overlay for Text Readability */
.uo-vmq-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 27, 53, 0.82) 0%, rgba(3, 13, 27, 0.94) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

/* Content Container */
.uo-vmq-content {
    position: relative;
    z-index: 3;
    padding: 36px 30px 32px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header Row: Icon + Badge */
.uo-vmq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* Icon Box */
.uo-vmq-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* Card Specific Theme Colors in Default State */
.uo-vmq-card--vision .uo-vmq-icon-box {
    background-color: #fff1ec;
    color: var(--theme-color);
}

.uo-vmq-card--mission .uo-vmq-icon-box {
    background-color: #e6f0fa;
    color: var(--title-color2);
}

.uo-vmq-card--policy .uo-vmq-icon-box {
    background-color: #fff9e6;
    color: #e59400;
}

/* Header Tag / Badge */
.uo-vmq-tag {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 30px;
    background-color: #f4f6fa;
    color: #5d6778;
    border: 1px solid #e2e8f0;
    transition: all 0.45s ease;
}

/* Card Title */
.uo-vmq-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--title-color2);
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.4s ease;
}

/* Card Body Text */
.uo-vmq-text {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 14.5px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 26px;
    flex-grow: 1;
    transition: color 0.4s ease;
}

/* Footer Indicator */
.uo-vmq-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.uo-vmq-indicator {
    width: 38px;
    height: 3px;
    border-radius: 3px;
    background-color: #e2e8f0;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.uo-vmq-card--vision .uo-vmq-indicator {
    background-color: var(--theme-color-light);
}

.uo-vmq-card--mission .uo-vmq-indicator {
    background-color: #cde0f5;
}

.uo-vmq-card--policy .uo-vmq-indicator {
    background-color: #ffe699;
}

/*------------------- Hover States -------------------*/
.uo-vmq-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 27, 53, 0.22);
    border-color: rgba(255, 255, 255, 0.15);
}

.uo-vmq-card:hover .uo-vmq-bg {
    opacity: 1;
    transform: scale(1.08);
}

.uo-vmq-card:hover .uo-vmq-overlay {
    opacity: 1;
}

.uo-vmq-card:hover .uo-vmq-title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.uo-vmq-card:hover .uo-vmq-text {
    color: rgba(255, 255, 255, 0.92);
}

.uo-vmq-card:hover .uo-vmq-tag {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Hover Icon Box Styles */
.uo-vmq-card--vision:hover .uo-vmq-icon-box {
    background-color: var(--theme-color);
    color: #ffffff;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 20px rgba(245, 87, 52, 0.4);
}

.uo-vmq-card--mission:hover .uo-vmq-icon-box {
    background-color: #0056a8;
    color: #ffffff;
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 8px 20px rgba(0, 86, 168, 0.4);
}

.uo-vmq-card--policy:hover .uo-vmq-icon-box {
    background-color: #ff9800;
    color: #ffffff;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
}

/* Hover Indicator Expansion */
.uo-vmq-card--vision:hover .uo-vmq-indicator {
    width: 65px;
    background-color: var(--theme-color);
    box-shadow: 0 0 10px rgba(245, 87, 52, 0.6);
}

.uo-vmq-card--mission:hover .uo-vmq-indicator {
    width: 65px;
    background-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.uo-vmq-card--policy:hover .uo-vmq-indicator {
    width: 65px;
    background-color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .uo-vmq-section {
        margin-top: 30px;
    }

    .uo-vmq-content {
        padding: 30px 24px 26px 24px;
    }

    .uo-vmq-title {
        font-size: 22px;
    }

    .uo-vmq-text {
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {
    .uo-vmq-section {
        margin-top: 25px;
    }

    .uo-vmq-card {
        border-radius: 18px;
    }

    .uo-vmq-icon-box {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }

    .uo-vmq-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/*--------------------------------------------------------------
# 26. University Overview - Our History Timeline Section
--------------------------------------------------------------*/
.uo-history-section {
    background: linear-gradient(180deg, #ffffff 0%, #fdf9f7 40%, #ffffff 100%);
    padding: 95px 0 105px 0;
    position: relative;
    border-top: 1px solid rgba(0, 39, 76, 0.06);
    overflow: hidden;
}

.uo-timeline-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 40px auto 0 auto;
    padding: 20px 0 10px 0;
}

/* Central Continuous Timeline Track */
.uo-timeline-line {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--theme-color) 0%, var(--title-color2) 50%, var(--theme-color) 100%);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(245, 87, 52, 0.25);
    z-index: 1;
}

/* Timeline Item */
.uo-timeline-item {
    position: relative;
    margin-bottom: 45px;
    width: 100%;
    display: flex;
    z-index: 2;
}

.uo-timeline-item:last-child {
    margin-bottom: 0;
}

/* Alternating Left and Right for Desktop */
.uo-timeline-item.uo-timeline-left {
    justify-content: flex-start;
}

.uo-timeline-item.uo-timeline-right {
    justify-content: flex-end;
}

.uo-timeline-item.uo-timeline-left .uo-timeline-card-wrap {
    width: calc(50% - 48px);
    text-align: right;
}

.uo-timeline-item.uo-timeline-right .uo-timeline-card-wrap {
    width: calc(50% - 48px);
    text-align: left;
}

/* Central Node Marker */
.uo-timeline-node {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color2);
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(245, 87, 52, 0.25);
    z-index: 5;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.uo-timeline-node i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.uo-timeline-item:hover .uo-timeline-node {
    background-color: var(--theme-color);
    color: #ffffff;
    transform: translateX(-50%) scale(1.18);
    box-shadow: 0 0 20px rgba(245, 87, 52, 0.55);
    border-color: #ffffff;
}

/* Timeline Card */
.uo-timeline-card {
    background-color: #ffffff;
    border: 1px solid #e8ecf2;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(0, 39, 76, 0.04);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.uo-timeline-item:hover .uo-timeline-card {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 39, 76, 0.1);
    border-color: rgba(245, 87, 52, 0.35);
}

/* Directional Arrow Pointers for Desktop */
.uo-timeline-item.uo-timeline-left .uo-timeline-card::after {
    content: '';
    position: absolute;
    top: 26px;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #ffffff;
    filter: drop-shadow(2px 0 1px rgba(0, 39, 76, 0.04));
    transition: all 0.4s ease;
}

.uo-timeline-item.uo-timeline-right .uo-timeline-card::after {
    content: '';
    position: absolute;
    top: 26px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #ffffff;
    filter: drop-shadow(-2px 0 1px rgba(0, 39, 76, 0.04));
    transition: all 0.4s ease;
}

/* Year Badge */
.uo-timeline-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 17px;
    font-weight: 800;
    color: var(--theme-color);
    background-color: #fff2ed;
    border: 1px solid rgba(245, 87, 52, 0.2);
    padding: 4px 14px;
    border-radius: 24px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.uo-timeline-year-badge i {
    font-size: 13px;
}

.uo-timeline-item:hover .uo-timeline-year-badge {
    background-color: var(--theme-color);
    color: #ffffff;
    border-color: var(--theme-color);
    box-shadow: 0 4px 12px rgba(245, 87, 52, 0.3);
}

/* Historical Description */
.uo-timeline-desc {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--title-color2);
    font-weight: 600;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .uo-history-section {
        padding: 70px 0 80px 0;
    }

    .uo-timeline-wrapper {
        margin-top: 30px;
    }

    /* Shift timeline line to the left on tablet & mobile */
    .uo-timeline-line {
        left: 30px;
        transform: none;
    }

    .uo-timeline-item {
        margin-bottom: 35px;
    }

    .uo-timeline-item.uo-timeline-left,
    .uo-timeline-item.uo-timeline-right {
        justify-content: flex-start;
    }

    .uo-timeline-item.uo-timeline-left .uo-timeline-card-wrap,
    .uo-timeline-item.uo-timeline-right .uo-timeline-card-wrap {
        width: calc(100% - 68px);
        margin-left: 68px;
        text-align: left;
    }

    .uo-timeline-node {
        left: 30px;
        transform: translateX(-50%);
        top: 18px;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .uo-timeline-item:hover .uo-timeline-node {
        transform: translateX(-50%) scale(1.12);
    }

    /* Directional arrows on tablet / mobile pointing left towards the node */
    .uo-timeline-item.uo-timeline-left .uo-timeline-card::after,
    .uo-timeline-item.uo-timeline-right .uo-timeline-card::after {
        left: -10px;
        right: auto;
        border-left: none;
        border-right: 10px solid #ffffff;
        filter: drop-shadow(-2px 0 1px rgba(0, 39, 76, 0.04));
    }
}

@media (max-width: 575.98px) {
    .uo-history-section {
        padding: 55px 0 65px 0;
    }

    .uo-timeline-line {
        left: 20px;
    }

    .uo-timeline-node {
        left: 20px;
        width: 36px;
        height: 36px;
        font-size: 13px;
        top: 16px;
        border-width: 2px;
    }

    .uo-timeline-item.uo-timeline-left .uo-timeline-card-wrap,
    .uo-timeline-item.uo-timeline-right .uo-timeline-card-wrap {
        width: calc(100% - 50px);
        margin-left: 50px;
    }

    .uo-timeline-card {
        padding: 18px 20px;
        border-radius: 15px;
    }

    .uo-timeline-year-badge {
        font-size: 15px;
        padding: 3px 12px;
        margin-bottom: 8px;
    }

    .uo-timeline-desc {
        font-size: 14px;
        line-height: 1.55;
    }
}

/*--------------------------------------------------------------
# 27. DDU Advantage Section
--------------------------------------------------------------*/
.ddu-adv-section {
    background: linear-gradient(180deg, #ffffff 0%, #fdf9f7 50%, #ffffff 100%);
    padding: 80px 0 !important;
    position: relative;
    border-top: 1px solid rgba(0, 39, 76, 0.06);
}

.ddu-adv-card {
    height: 100%;
    border-radius: 20px !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Left Details Card */
.ddu-adv-details-card {
    background-color: #ffffff;
    border: 1px solid #e8ecf2;
    padding: 32px 30px !important;
    box-shadow: 0 8px 24px rgba(0, 39, 76, 0.04);
    display: flex;
    flex-direction: column;
}

.ddu-adv-details-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 39, 76, 0.08);
    border-color: rgba(245, 87, 52, 0.25);
}

.ddu-adv-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--theme-color);
    background-color: #fff1ec;
    border: 1px solid rgba(245, 87, 52, 0.2);
    padding: 5px 14px;
    border-radius: 24px;
    margin-bottom: 16px;
    width: fit-content;
}

.ddu-adv-lead-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--title-color2);
    margin-bottom: 14px;
}

.ddu-adv-body-text {
    flex-grow: 1;
}

.ddu-adv-body-text p {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 14.5px;
    line-height: 1.68;
    color: #4a5568;
    margin-bottom: 0;
}

/* Highlight Pillars */
.ddu-adv-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #edf2f7;
}

.ddu-adv-pillar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 14px;
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--title-color2);
    transition: all 0.3s ease;
}

.ddu-adv-pillar-item i {
    color: var(--theme-color);
    font-size: 13px;
}

.ddu-adv-details-card:hover .ddu-adv-pillar-item {
    background-color: #ffffff;
    border-color: rgba(245, 87, 52, 0.2);
    box-shadow: 0 4px 12px rgba(0, 39, 76, 0.04);
}

/* Right Featured Quote Card */
.ddu-adv-quote-card {
    background: linear-gradient(145deg, #002244 0%, #00172e 100%) !important;
    padding: 32px 30px !important;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 32px rgba(0, 39, 76, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ddu-adv-quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 39, 76, 0.26);
    border-color: rgba(245, 87, 52, 0.4);
}

.ddu-adv-quote-watermark {
    position: absolute;
    bottom: -15px;
    right: 12px;
    font-size: 130px;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    line-height: 1;
    z-index: 1;
    transition: transform 0.5s ease;
}

.ddu-adv-quote-card:hover .ddu-adv-quote-watermark {
    transform: scale(1.08) rotate(-4deg);
    color: rgba(245, 87, 52, 0.07);
}

.ddu-adv-quote-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.ddu-adv-quote-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--theme-color) 0%, #ff7347 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(245, 87, 52, 0.35);
    margin-bottom: 20px;
    transition: transform 0.35s ease;
}

.ddu-adv-quote-card:hover .ddu-adv-quote-icon-box {
    transform: scale(1.08);
}

/* Guaranteed Visibility & High Contrast for Quote Text */
.ddu-adv-quote-text {
    font-family: var(--title-font, 'Lora', serif) !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    line-height: 1.55 !important;
    color: #ffffff !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    font-style: italic !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
    box-shadow: none !important;
    display: block !important;
}

.ddu-adv-quote-text::before,
.ddu-adv-quote-text::after {
    content: none !important;
    display: none !important;
}

.ddu-adv-quote-footer {
    margin-top: auto;
}

.ddu-adv-quote-divider {
    width: 42px;
    height: 3px;
    background-color: var(--theme-color);
    border-radius: 3px;
    margin-bottom: 12px;
    box-shadow: 0 0 10px rgba(245, 87, 52, 0.6);
    transition: width 0.35s ease;
}

.ddu-adv-quote-card:hover .ddu-adv-quote-divider {
    width: 70px;
}

.ddu-adv-author-name {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.ddu-adv-author-role {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .ddu-adv-section {
        padding: 42px 0 50px 0 !important;
    }

    .ddu-adv-details-card,
    .ddu-adv-quote-card {
        padding: 26px 22px !important;
    }

    .ddu-adv-lead-title {
        font-size: 19px;
    }

    .ddu-adv-body-text p {
        font-size: 14px;
    }

    .ddu-adv-quote-text {
        font-size: 18px !important;
    }
}

@media (max-width: 575.98px) {
    .ddu-adv-section {
        padding: 35px 0 42px 0 !important;
    }

    .ddu-adv-details-card,
    .ddu-adv-quote-card {
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }

    .ddu-adv-quote-icon-box {
        width: 42px;
        height: 42px;
        font-size: 17px;
        margin-bottom: 15px;
    }

    .ddu-adv-lead-title {
        font-size: 17.5px;
    }

    .ddu-adv-quote-text {
        font-size: 16.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
    }

    .ddu-adv-pillars {
        gap: 7px;
        margin-top: 18px;
        padding-top: 14px;
    }

    .ddu-adv-pillar-item {
        font-size: 11.5px;
        padding: 5px 10px;
    }
}

/*--------------------------------------------------------------
# 28. DDU Advantages Detailed List & Masonry Section
--------------------------------------------------------------*/
.ddu-advantages-list-section {
    background-color: #fbfcfe;
    padding: 85px 0 95px 0;
    position: relative;
    border-top: 1px solid #f0f4f8;
}

.ddu-advantages-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ddu-advantages-item {
    border-radius: 24px;
    padding: 38px 40px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 1st, 3rd, 5th Item: White Background */
.ddu-advantages-item:nth-child(odd) {
    background-color: #ffffff;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 20px rgba(0, 39, 76, 0.03);
}

/* 2nd, 4th, 6th Item: Theme Color Light Background */
.ddu-advantages-item:nth-child(even) {
    background-color: var(--theme-color-light);
    border: 1px solid rgba(245, 87, 52, 0.12);
    box-shadow: 0 4px 20px rgba(245, 87, 52, 0.04);
}

/* Advantage Content Card */
.ddu-adv-content-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 15px;
}

.ddu-adv-item-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--title-color2);
    margin: 0 0 16px 0;
}

.ddu-adv-item-desc {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 15px;
    line-height: 1.75;
    color: #4a5568;
    margin: 0;
}

/* Advantage In-Card Quote Box */
.ddu-adv-card-quote {
    border-left: 4px solid var(--theme-color);
    border-radius: 0 16px 16px 0;
    padding: 18px 22px;
    margin-top: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(245, 87, 52, 0.05);
}

/* Quote box styling on odd (white) items */
.ddu-advantages-item:nth-child(odd) .ddu-adv-card-quote {
    background: linear-gradient(135deg, #fff8f5 0%, #fff2ec 100%);
}

/* Quote box styling on even (theme light) items */
.ddu-advantages-item:nth-child(even) .ddu-adv-card-quote {
    background: #ffffff;
}

.ddu-adv-card-quote-text {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 16px;
    font-style: italic;
    color: var(--title-color2);
    line-height: 1.55;
    margin: 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ddu-adv-card-quote-text i {
    color: var(--theme-color);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Masonry Image Gallery Styles */
.ddu-adv-masonry {
    width: 100%;
    position: relative;
}

/* 1 Image: Single Hero Presentation */
.ddu-adv-masonry--1 {
    display: block;
    max-width: 520px;
    margin: 0 auto;
}

/* 2 Images: Balanced 2-Column Grid */
.ddu-adv-masonry--2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: center;
}

/* 3 Images: 2-Column Asymmetric Masonry */
.ddu-adv-masonry--3 {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 16px;
    align-items: center;
}

.ddu-adv-masonry--3-b {
    grid-template-columns: 0.92fr 1.08fr;
}

.ddu-masonry-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: center;
}

/* 4+ Images: Multi-Column Staggered Grid */
.ddu-adv-masonry--multi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
}

/* Masonry Item Card & Natural Image Display */
.ddu-masonry-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f8fafc;
    border: 1px solid #e8ecf2;
    box-shadow: 0 4px 14px rgba(0, 39, 76, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ddu-masonry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 39, 76, 0.09);
}

.ddu-masonry-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ddu-masonry-item:hover .ddu-masonry-img {
    transform: scale(1.04);
}

.ddu-masonry-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(0, 39, 76, 0.25) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ddu-masonry-item:hover::after {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .ddu-advantages-list-section {
        padding: 60px 0 70px 0;
    }

    .ddu-advantages-list {
        gap: 24px;
    }

    .ddu-advantages-item {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .ddu-adv-item-title {
        font-size: 23px;
    }

    .ddu-adv-masonry {
        margin-top: 22px;
    }

    .ddu-adv-masonry--2,
    .ddu-adv-masonry--3,
    .ddu-adv-masonry--multi {
        gap: 14px;
    }

    .ddu-masonry-col {
        gap: 14px;
    }
}

@media (max-width: 575.98px) {
    .ddu-advantages-list-section {
        padding: 45px 0 55px 0;
    }

    .ddu-advantages-list {
        gap: 20px;
    }

    .ddu-advantages-item {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .ddu-adv-item-title {
        font-size: 20px;
        line-height: 1.35;
    }

    .ddu-adv-item-desc {
        font-size: 14px;
        line-height: 1.65;
    }

    .ddu-adv-card-quote {
        padding: 14px 16px;
        margin-top: 14px;
    }

    .ddu-adv-card-quote-text {
        font-size: 14.5px;
    }

    .ddu-adv-masonry {
        margin-top: 16px;
    }

    .ddu-adv-masonry--2,
    .ddu-adv-masonry--3,
    .ddu-adv-masonry--multi {
        gap: 10px;
    }

    .ddu-masonry-col {
        gap: 10px;
    }

    .ddu-masonry-item {
        border-radius: 12px;
    }
}

/*--------------------------------------------------------------
# 29. School of Thought Page Styles
--------------------------------------------------------------*/

/* Intro & Educational Philosophy Section */
.sot-intro-section {
    padding: 70px 0 35px 0;
    background: #ffffff;
    position: relative;
}

.sot-intro-card {
    background: #ffffff;
    border: 1px solid #e8ecf2;
    border-radius: 24px;
    padding: 48px 44px;
    box-shadow: 0 10px 30px rgba(0, 39, 76, 0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sot-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--theme-color);
}

.sot-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-color);
    background: rgba(241, 90, 36, 0.08);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.sot-intro-lead-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    line-height: 1.35;
    margin-bottom: 20px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.sot-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    max-width: 860px;
    margin: 0 auto 35px auto;
}

.sot-pillars-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.sot-pillar-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color2, #00274c);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sot-pillar-tag i {
    color: var(--theme-color);
    font-size: 15px;
    transition: transform 0.3s ease;
}

.sot-pillar-tag:hover {
    background: var(--theme-color);
    color: #ffffff;
    border-color: var(--theme-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(241, 90, 36, 0.25);
}

.sot-pillar-tag:hover i {
    color: #ffffff;
    transform: scale(1.15);
}

/* Highlighted Quote & Philosophy Section */
.sot-quote-section {
    padding: 80px 0 50px 0;
    background: #ffffff;
}

.sot-quote-card {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(135deg, #002244 0%, #00152e 100%);
    padding: 38px 42px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 34, 68, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sot-quote-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 90, 36, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.sot-quote-watermark {
    position: absolute;
    right: 25px;
    bottom: 10px;
    font-size: 130px;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    line-height: 1;
}

/* Two-column Image + Content Grid */
.sot-quote-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Media Frame */
.sot-quote-media {
    height: 100%;
    display: flex;
    align-items: center;
}

.sot-quote-img-box {
    position: relative;
    width: 100%;
    height: 310px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    background-color: #00152e;
}

.sot-quote-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sot-quote-card:hover .sot-quote-img {
    transform: scale(1.05);
}

.sot-quote-img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 21, 46, 0.75) 100%);
    pointer-events: none;
}

.sot-quote-img-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(0, 21, 46, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sot-quote-img-badge i {
    color: var(--theme-color);
    font-size: 13px;
}

/* Right Content Area */
.sot-quote-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sot-quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--theme-color);
    background: rgba(241, 90, 36, 0.12);
    border: 1px solid rgba(241, 90, 36, 0.25);
    padding: 5px 14px;
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 14px;
}

.sot-quote-desc {
    font-size: 15px;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0 0 18px 0;
    font-weight: 400;
}

/* Highlighted Quote Box - Total Reset & Immunity from Template CSS */
.sot-quote-block {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-left: 3px solid var(--theme-color);
    border-radius: 0 14px 14px 0;
    padding: 18px 20px 16px 20px;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sot-quote-icon {
    color: var(--theme-color);
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1;
}

.sot-quote-text,
.sot-quote-card blockquote.sot-quote-text,
.sot-quote-block .sot-quote-text {
    font-family: var(--title-font, 'Lora', serif) !important;
    font-size: 21px !important;
    font-weight: 600 !important;
    font-style: italic !important;
    color: #ffffff !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    display: block !important;
}

.sot-quote-card blockquote::before,
.sot-quote-card blockquote::after,
.sot-quote-block::before,
.sot-quote-block::after {
    display: none !important;
    content: none !important;
}

.sot-quote-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.sot-quote-line {
    width: 30px;
    height: 2px;
    background: var(--theme-color);
    border-radius: 2px;
    flex-shrink: 0;
}

.sot-quote-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.7);
}

/* Key Features Section */
.sot-features-section {
    padding: 40px 0 80px 0;
    background: #fbfcfe;
}

/* Flagship Feature 01 Card */
.sot-flagship-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 40px;
    box-shadow: 0 8px 25px rgba(0, 39, 76, 0.05);
    position: relative;
    overflow: hidden;
}

.sot-flagship-header {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #edf2f7;
}

.sot-flagship-number {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--theme-color) 0%, #d84510 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(241, 90, 36, 0.3);
}

.sot-flagship-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--theme-color);
    margin-bottom: 4px;
}

.sot-flagship-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin: 0;
    line-height: 1.3;
}

.sot-subitems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sot-subitem-card {
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sot-subitem-card:hover {
    background: #ffffff;
    border-color: var(--theme-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(241, 90, 36, 0.08);
}

.sot-subitem-letter {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(241, 90, 36, 0.1);
    color: var(--theme-color);
    font-weight: 800;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sot-subitem-card:hover .sot-subitem-letter {
    background: var(--theme-color);
    color: #ffffff;
}

.sot-subitem-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin-bottom: 8px;
    line-height: 1.35;
    font-family: var(--title-font);
}

.sot-subitem-content p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #5a6a80;
    margin: 0;
}

/* Features 02 to 09 Cards */
.sot-feature-card {
    background: #ffffff;
    border: 1px solid #e8ecf2;
    border-radius: 20px;
    padding: 32px 28px;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0, 39, 76, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sot-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--theme-color);
    transition: height 0.35s ease;
}

.sot-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 39, 76, 0.09);
    border-color: rgba(241, 90, 36, 0.3);
}

.sot-feature-card:hover::before {
    height: 100%;
}

.sot-feature-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sot-feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 39, 76, 0.05);
    color: var(--title-color2, #00274c);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
}

.sot-feature-card:hover .sot-feature-icon-wrap {
    background: var(--theme-color);
    color: #ffffff;
    transform: rotate(6deg) scale(1.05);
}

.sot-feature-number {
    font-size: 20px;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.sot-feature-card:hover .sot-feature-number {
    color: var(--theme-color);
}

.sot-feature-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin-bottom: 12px;
    line-height: 1.35;
}

.sot-feature-desc {
    font-size: 14px;
    line-height: 1.68;
    color: #555555;
    margin: 0;
    flex-grow: 1;
}

/* Responsiveness for School of Thought */
@media (max-width: 991.98px) {
    .sot-intro-card {
        padding: 36px 28px;
    }

    .sot-intro-lead-title {
        font-size: 26px;
    }

    .sot-quote-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sot-quote-img-box {
        height: 240px;
    }

    .sot-quote-card {
        padding: 32px 24px;
    }

    .sot-quote-text,
    .sot-quote-card blockquote.sot-quote-text,
    .sot-quote-block .sot-quote-text {
        font-size: 19px !important;
    }

    .sot-quote-desc {
        font-size: 14.5px;
    }

    .sot-subitems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .sot-flagship-card {
        padding: 30px 24px;
    }

    .sot-feature-card {
        padding: 26px 22px;
    }
}

@media (max-width: 575.98px) {
    .sot-intro-section {
        padding: 50px 0 25px 0;
    }

    .sot-intro-card {
        padding: 26px 18px;
        border-radius: 18px;
    }

    .sot-intro-lead-title {
        font-size: 21px;
    }

    .sot-intro-text {
        font-size: 14.5px;
    }

    .sot-pillar-tag {
        padding: 8px 14px;
        font-size: 13px;
    }

    .sot-quote-section {
        padding: 15px 0 35px 0;
    }

    .sot-quote-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .sot-quote-img-box {
        height: 190px;
        border-radius: 14px;
    }

    .sot-quote-block {
        padding: 14px 16px 14px 16px;
    }

    .sot-quote-text,
    .sot-quote-card blockquote.sot-quote-text,
    .sot-quote-block .sot-quote-text {
        font-size: 17px !important;
        line-height: 1.42 !important;
    }

    .sot-quote-desc {
        font-size: 13.5px;
        margin-bottom: 14px;
    }

    .sot-quote-label {
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .sot-subitems-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sot-flagship-title {
        font-size: 20px;
    }

    .sot-features-section {
        padding: 30px 0 60px 0;
    }
}

/*--------------------------------------------------------------
# 30. Scholarships Page Styles
--------------------------------------------------------------*/

/* Intro Section (No Title, High-Impact Callout) */
.sch-intro-section {
    padding: 80px 0 35px 0;
    background: #ffffff;
    position: relative;
}

.sch-intro-card {
    background: #ffffff;
    border: 1px solid #e8ecf2;
    border-radius: 24px;
    padding: 44px 44px;
    box-shadow: 0 10px 30px rgba(0, 39, 76, 0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sch-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--theme-color);
}

.sch-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-color);
    background: rgba(241, 90, 36, 0.08);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.sch-intro-text {
    font-size: 17px;
    line-height: 1.8;
    color: #444444;
    max-width: 880px;
    margin: 0 auto;
    font-weight: 500;
}

/* Scholarships Listing Section */
.sch-listing-section {
    padding: 25px 0 80px 0;
    background: #fbfcfe;
}

.sch-cards-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Scholarship Item Card */
.sch-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 42px 42px;
    box-shadow: 0 10px 32px rgba(0, 39, 76, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 39, 76, 0.09);
    border-color: rgba(241, 90, 36, 0.3);
}

/* Card Header */
.sch-card-meta {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf2f7;
}

.sch-number {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--theme-color) 0%, #d84510 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(241, 90, 36, 0.28);
}

.sch-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--theme-color);
    margin-bottom: 4px;
}

.sch-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 25px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin: 0;
    line-height: 1.35;
}

/* Description */
.sch-description {
    font-size: 15.5px;
    line-height: 1.8;
    color: #555555;
    margin: 0 0 28px 0;
}

/* Document & PDF Download Area */
.sch-docs-area {
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sch-docs-label {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--title-color2, #00274c);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sch-docs-label i {
    color: var(--theme-color);
    font-size: 16px;
}

.sch-docs-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.sch-pdf-btn,
.sch-resource-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: var(--title-color2, #00274c);
    border: 1.5px solid #d8dde6;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 39, 76, 0.04);
}

.sch-pdf-btn-icon {
    color: var(--theme-color);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.sch-pdf-btn-arrow {
    font-size: 11px;
    opacity: 0.6;
    color: inherit;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sch-pdf-btn:hover,
.sch-resource-btn:hover {
    background: var(--theme-color);
    color: #ffffff;
    border-color: var(--theme-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(241, 90, 36, 0.25);
}

.sch-pdf-btn:hover .sch-pdf-btn-icon,
.sch-resource-btn:hover .sch-pdf-btn-icon {
    color: #ffffff;
    transform: scale(1.15);
}

.sch-pdf-btn:hover .sch-pdf-btn-arrow,
.sch-resource-btn:hover .sch-pdf-btn-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
    color: #ffffff;
}

/* Image Gallery Area */
.sch-gallery-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sch-gallery-label {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--title-color2, #00274c);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.sch-gallery-label i {
    color: var(--theme-color);
    font-size: 16px;
}

.sch-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.sch-gallery-grid--1,
.sch-gallery-grid--2,
.sch-gallery-grid--3,
.sch-gallery-grid--4,
.sch-gallery-grid--5,
.sch-gallery-grid--6 {
    grid-template-columns: repeat(2, 1fr);
}

.sch-gallery-card {
    background: #ffffff;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 39, 76, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sch-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 39, 76, 0.09);
    border-color: rgba(241, 90, 36, 0.3);
}

.sch-gallery-img-wrap {
    position: relative;
    width: 100%;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sch-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sch-gallery-card:hover .sch-gallery-img {
    transform: scale(1.03);
}

.sch-gallery-caption {
    padding: 13px 18px;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--title-color2, #00274c);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.45;
    margin-top: auto;
}

.sch-gallery-caption i {
    color: var(--theme-color);
    font-size: 13px;
    flex-shrink: 0;
}

/* Responsiveness for Scholarships */
@media (max-width: 991.98px) {
    .sch-intro-card {
        padding: 34px 26px;
    }

    .sch-intro-text {
        font-size: 15.5px;
    }

    .sch-card {
        padding: 30px 24px;
        border-radius: 20px;
    }

    .sch-title {
        font-size: 21px;
    }

    .sch-gallery-grid,
    .sch-gallery-grid--1,
    .sch-gallery-grid--2,
    .sch-gallery-grid--3,
    .sch-gallery-grid--4,
    .sch-gallery-grid--5,
    .sch-gallery-grid--6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .sch-gallery-grid,
    .sch-gallery-grid--1,
    .sch-gallery-grid--2,
    .sch-gallery-grid--3,
    .sch-gallery-grid--4,
    .sch-gallery-grid--5,
    .sch-gallery-grid--6 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .sch-intro-section {
        padding: 45px 0 20px 0;
    }

    .sch-intro-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .sch-intro-text {
        font-size: 14.5px;
    }

    .sch-listing-section {
        padding: 20px 0 60px 0;
    }

    .sch-cards-list {
        gap: 25px;
    }

    .sch-card {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .sch-card-meta {
        gap: 14px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .sch-number {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .sch-title {
        font-size: 18px;
    }

    .sch-description {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .sch-docs-area {
        padding: 16px 14px;
        border-radius: 14px;
        margin-bottom: 22px;
    }

    .sch-pdf-btn,
    .sch-resource-btn {
        width: 100%;
        justify-content: space-between;
        padding: 10px 16px;
        font-size: 13.5px;
    }

    .sch-gallery-grid,
    .sch-gallery-grid--1,
    .sch-gallery-grid--2,
    .sch-gallery-grid--3,
    .sch-gallery-grid--4,
    .sch-gallery-grid--5,
    .sch-gallery-grid--6 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sch-gallery-caption {
        padding: 10px 14px;
        font-size: 12.5px;
    }
}

/*==============================================================
# 31. Campus Page Presentation & Alternating Full-Width Sections
==============================================================*/

/* 1. Intro Section */
.campus-intro-section {
    padding: 80px 0 20px 0;
    background: transparent;
}

.campus-intro-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 38px 42px;
    box-shadow: 0 10px 30px rgba(0, 39, 76, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campus-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--theme-color) 0%, #d84510 100%);
    border-radius: 6px 0 0 6px;
}

.campus-intro-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 39, 76, 0.08);
}

.campus-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(241, 90, 36, 0.1);
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.campus-intro-text {
    font-size: 17.5px;
    line-height: 1.85;
    color: #334155;
    font-weight: 500;
    margin: 0;
}

/* 2. Full-Width Alternating Sections */
.campus-sections-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    /*margin-top: 30px;*/
}

.campus-section {
    width: 100%;
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(0, 39, 76, 0.06);
}

.campus-section:first-child {
    border-top: none;
}

/* Alternating Background Colors */
.campus-section:nth-child(odd) {
    background-color: #ffffff;
}

.campus-section:nth-child(even) {
    background-color: var(--theme-color-light, #fdf8f5);
}

/* 3. Section Header */
.campus-sec-header {
    margin-bottom: 28px;
    max-width: 860px;
}

.campus-sec-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin: 0;
    line-height: 1.35;
}

/* 4. Campus Image Gallery Grid (3 Photos Per Row on Desktop) */
.campus-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.campus-gallery-grid--1 {
    grid-template-columns: 1fr;
    max-width: 650px;
}

/* 5. Campus Image Card */
.campus-gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 39, 76, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.campus-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 39, 76, 0.1);
    border-color: rgba(241, 90, 36, 0.35);
}

.campus-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.campus-gallery-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.campus-gallery-card:hover .campus-gallery-img {
    transform: scale(1.03);
}

.campus-caption {
    padding: 14px 18px;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color2, #00274c);
    display: flex;
    align-items: center;
    gap: 9px;
    line-height: 1.45;
    margin-top: auto;
}

.campus-caption i {
    color: var(--theme-color);
    font-size: 13.5px;
    flex-shrink: 0;
}

/* 6. Responsive Breakpoints */
@media (max-width: 991.98px) {
    .campus-intro-card {
        padding: 32px 28px;
    }

    .campus-intro-text {
        font-size: 16px;
    }

    .campus-section {
        padding: 60px 0;
    }

    .campus-sec-title {
        font-size: 24px;
    }

    /* Tablet: 2 Images Per Row */
    .campus-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .campus-gallery-grid--1 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    /* Mobile: 1 Image Per Row */
    .campus-gallery-grid,
    .campus-gallery-grid--1 {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 575.98px) {
    .campus-intro-section {
        padding: 40px 0 15px 0;
    }

    .campus-intro-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .campus-intro-badge {
        font-size: 11.5px;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .campus-intro-text {
        font-size: 14.5px;
        line-height: 1.7;
    }

    .campus-section {
        padding: 45px 0;
    }

    .campus-sec-header {
        margin-bottom: 20px;
    }

    .campus-sec-title {
        font-size: 20px;
    }

    .campus-caption {
        padding: 11px 14px;
        font-size: 13px;
    }
}

/*==============================================================
# 32. Custom Layout Page with Sticky Sidebar Navigation
==============================================================*/

/* 1. Main Page Wrapper */
.custom-layout-page-section {
    padding: 60px 0 90px 0;
    background-color: #f8fafc;
    position: relative;
}

#custom-layout-main,
#custom-standalone-main,
#department-home-main {
    padding: 80px 40px !important;
}

/* Container Constraint for Wide / 4K Screens (Academic Standard Measure) */
.custom-page-standalone-section > .container-fluid,
.custom-page-standalone-section > .container,
.custom-layout-page-section > .container-fluid,
.custom-layout-page-section > .container,
#department-home-main > .container-fluid,
#custom-layout-main > .container-fluid,
#custom-standalone-main > .container-fluid {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Standalone & Single-column Stack Width (balanced whitespace & comfortable reading line lengths) */
.custom-page-standalone-section .custom-sections-stack,
.custom-layout-page-section .col-12.custom-content-col .custom-sections-stack {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* 2. Left Sidebar Navigation Panel (Sticky) */
.custom-sidebar-col {
    position: relative;
    align-self: stretch;
}

.custom-sidebar,
.custom-sidebar-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px;
    align-self: flex-start;
    z-index: 25;
    /*max-height: calc(100vh - 120px);*/
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(241, 90, 36, 0.3) transparent;
}

.custom-sidebar::-webkit-scrollbar,
.custom-sidebar-sticky::-webkit-scrollbar {
    width: 4px;
}

.custom-sidebar::-webkit-scrollbar-thumb,
.custom-sidebar-sticky::-webkit-scrollbar-thumb {
    background: rgba(241, 90, 36, 0.3);
    border-radius: 4px;
}

.custom-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 39, 76, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.custom-sidebar-card:hover {
    box-shadow: 0 14px 36px rgba(0, 39, 76, 0.08);
}

/* Sidebar Top Header (DDU Navy Blue) */
.custom-sidebar-header {
    background: var(--title-color2, #00274c);
    color: #ffffff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3.5px solid var(--theme-color, #ef5924);
}

.custom-sidebar-title {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-sidebar-title i {
    color: var(--theme-color, #ffec40);
    font-size: 16px;
}

.custom-sidebar-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Sidebar Navigation Items */
.custom-nav-menu {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.custom-nav-item {
    margin: 0;
    padding: 0;
}

.custom-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    color: #334155;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    border-left: 3.5px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-nav-link .nav-icon-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.custom-nav-link i.nav-icon {
    color: var(--theme-color, #ef5924);
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.custom-nav-link .nav-text {
    line-height: 1.35;
}

.custom-nav-link i.nav-arrow {
    color: #94a3b8;
    font-size: 12px;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

/* Hover State */
.custom-nav-link:hover {
    background: #f8fafc;
    color: var(--theme-color, #ef5924);
    border-left-color: var(--theme-color, #ef5924);
    padding-left: 24px;
}

.custom-nav-link:hover i.nav-icon {
    transform: scale(1.18);
}

.custom-nav-link:hover i.nav-arrow {
    transform: translateX(4px);
    color: var(--theme-color, #ef5924);
}

/* Active State */
.custom-nav-link.active {
    background: rgba(241, 90, 36, 0.08);
    color: var(--theme-color, #ef5924);
    border-left-color: var(--theme-color, #ef5924);
    font-weight: 700;
}

.custom-nav-link.active i.nav-arrow {
    color: var(--theme-color, #ef5924);
    transform: translateX(3px);
}

/* 3. Right Content Sections & Stack */
.custom-content-col {
    position: relative;
}

.custom-sections-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.custom-layout-section,
.custom-top-level-section,
.custom-subsec-card,
.custom-page-standalone-section .custom-content-card {
    position: relative;
    scroll-margin-top: 110px; /* Offset for Sticky Header */
    margin-bottom: 0;
}

.custom-layout-section:last-child {
    margin-bottom: 0;
}

.custom-sections-stack > .custom-content-card {
    margin-bottom: 0 !important;
}

/* Content Card */
.custom-content-card {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    padding: 38px 42px;
    box-shadow: 0 4px 20px -2px rgba(0, 39, 76, 0.05), 0 2px 6px -1px rgba(0, 39, 76, 0.02);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-content-card:not(.is-collapsed):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px -4px rgba(0, 39, 76, 0.08), 0 4px 12px -2px rgba(0, 39, 76, 0.03);
    border-color: rgba(241, 90, 36, 0.22);
}

/* Section Header Bar */
.custom-sec-header {
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* Theme Orange Underline / Accent */
.custom-sec-header::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--theme-color, #ef5924);
    border-radius: 3px;
}

/* =========================================================================
   Custom Page Single-Open Accordion Section Navigation System
   Strictly scoped to Custom Page frontend modules (:not(.department-home-page))
   ========================================================================= */

/* Interactive Section Header (Universal Accordion Header across all frontend modules) */
.custom-sec-header[role="button"],
.custom-layout-page-section .custom-top-level-section .custom-sec-header,
.custom-page-standalone-section .custom-top-level-section .custom-sec-header {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, margin-bottom 0.3s ease, padding-bottom 0.3s ease;
    border-radius: 8px;
}

.custom-sec-header[role="button"]:focus-visible,
.custom-layout-page-section .custom-top-level-section .custom-sec-header:focus-visible,
.custom-page-standalone-section .custom-top-level-section .custom-sec-header:focus-visible {
    outline: 2px solid var(--theme-color, #ef5924);
    outline-offset: 4px;
}

/* Accordion Toggle Chevron Icon */
.custom-sec-toggle-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.custom-sec-header:hover .custom-sec-toggle-icon {
    background: rgba(241, 90, 36, 0.12);
    border-color: rgba(241, 90, 36, 0.25);
    color: var(--theme-color, #ef5924);
}

.custom-sec-header[aria-expanded="true"] .custom-sec-toggle-icon,
.custom-sec-header[aria-expanded="true"] > .custom-sec-toggle-icon,
.custom-layout-section.is-expanded > .custom-content-card > .custom-sec-header .custom-sec-toggle-icon,
.custom-layout-section.is-expanded > .custom-sec-header .custom-sec-toggle-icon,
.custom-content-card.is-expanded > .custom-sec-header .custom-sec-toggle-icon,
.custom-clp-section.is-expanded > .custom-sec-header .custom-sec-toggle-icon,
.custom-top-level-section.is-expanded > .custom-sec-header .custom-sec-toggle-icon,
.is-accordion-item.is-expanded .custom-sec-toggle-icon {
    transform: rotate(180deg);
    background: rgba(241, 90, 36, 0.12);
    border-color: rgba(241, 90, 36, 0.25);
    color: var(--theme-color, #ef5924);
}

/* Collapsed State on Section Cards (Direct children to prevent affecting nested subsections) */
.custom-layout-section.is-collapsed > .custom-content-card,
.custom-content-card.is-collapsed,
.custom-clp-section.is-accordion-item.is-collapsed {
    padding-top: 22px;
    padding-bottom: 22px;
}

.custom-layout-section.is-collapsed > .custom-content-card > .custom-sec-header,
.custom-content-card.is-collapsed > .custom-sec-header,
.custom-clp-section.is-accordion-item.is-collapsed > .custom-sec-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom-color: transparent;
}

.custom-layout-section.is-collapsed > .custom-content-card > .custom-sec-header::after,
.custom-content-card.is-collapsed > .custom-sec-header::after,
.custom-clp-section.is-accordion-item.is-collapsed > .custom-sec-header::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover feedback on Collapsed Section Card */
.custom-layout-section.is-collapsed > .custom-content-card:hover,
.custom-content-card.is-collapsed:hover,
.custom-clp-section.is-accordion-item.is-collapsed:hover {
    border-color: rgba(241, 90, 36, 0.38);
    box-shadow: 0 10px 28px rgba(0, 39, 76, 0.07);
}

/* Expanded State Underline Transition */
.custom-layout-section.is-expanded > .custom-content-card > .custom-sec-header::after,
.custom-content-card.is-expanded > .custom-sec-header::after,
.custom-clp-section.is-accordion-item.is-expanded > .custom-sec-header::after {
    opacity: 1;
    transform: scaleX(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Collapsible Content Container */
.custom-sec-collapse {
    width: 100%;
}

.custom-layout-section.is-collapsed > .custom-content-card > .custom-sec-collapse,
.custom-content-card.is-collapsed > .custom-sec-collapse,
.custom-clp-section.is-accordion-item.is-collapsed > .custom-sec-collapse {
    display: none;
}

.custom-layout-section.is-expanded > .custom-content-card > .custom-sec-collapse,
.custom-content-card.is-expanded > .custom-sec-collapse,
.custom-clp-section.is-accordion-item.is-expanded > .custom-sec-collapse {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .custom-sec-toggle-icon,
    .custom-content-card,
    .custom-sec-header,
    .custom-sec-header::after {
        transition: none !important;
        animation: none !important;
    }
}

.custom-sec-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.custom-sec-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(241, 90, 36, 0.12) 0%, rgba(241, 90, 36, 0.04) 100%);
    border: 1px solid rgba(241, 90, 36, 0.18);
    color: var(--theme-color, #ef5924);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(241, 90, 36, 0.08);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.custom-content-card:hover .custom-sec-icon-box {
    transform: scale(1.06);
}

.custom-sec-title {
    font-family: var(--title-font, 'Playfair Display', 'Lora', serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--theme-color);
    margin: 0;
    line-height: 1.32;
    letter-spacing: -0.015em;
    word-break: break-word;
}

.custom-sec-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--theme-color, #ef5924);
    background: rgba(241, 90, 36, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
}

/* Content Body Typography */
.custom-lead-text {
    font-size: 17px;
    line-height: 1.78;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 22px;
}

.custom-body-text {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 15.5px;
    line-height: 1.82;
    color: #334155;
    letter-spacing: 0.005em;
    margin-bottom: 18px;
}

.custom-body-text:last-child {
    margin-bottom: 0;
}

.custom-page-standalone-section .custom-layout-content p,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content p {
    margin-bottom: 20px;
    line-height: 1.82;
    color: #334155;
}

.custom-page-standalone-section .custom-layout-content p:last-child,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content p:last-child {
    margin-bottom: 0;
}

/* Headings within Rich Text Content */
.custom-page-standalone-section .custom-layout-content h1,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h1,
.custom-page-standalone-section .custom-layout-content h2,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h2,
.custom-page-standalone-section .custom-layout-content h3,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h3,
.custom-page-standalone-section .custom-layout-content h4,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h4,
.custom-page-standalone-section .custom-layout-content h5,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h5,
.custom-page-standalone-section .custom-layout-content h6,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h6 {
    font-family: var(--title-font, 'Playfair Display', 'Lora', serif);
    color: var(--title-color2, #00274c);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.custom-page-standalone-section .custom-layout-content h1,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h1 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
}

.custom-page-standalone-section .custom-layout-content h2,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
}

.custom-page-standalone-section .custom-layout-content h3,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h3 {
    font-size: 19px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.custom-page-standalone-section .custom-layout-content h4,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.custom-page-standalone-section .custom-layout-content h5,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h5,
.custom-page-standalone-section .custom-layout-content h6,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content h6 {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 18px;
    margin-bottom: 8px;
}

/* Lists within Content */
.custom-page-standalone-section .custom-layout-content ul,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content ul,
.custom-page-standalone-section .custom-layout-content ol,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content ol {
    padding-left: 26px;
    margin-top: 14px;
    margin-bottom: 22px;
}

.custom-page-standalone-section .custom-layout-content li,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content li {
    margin-bottom: 10px;
    line-height: 1.75;
    color: #334155;
}

.custom-page-standalone-section .custom-layout-content li:last-child,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content li:last-child {
    margin-bottom: 0;
}

/* Links within Content */
.custom-page-standalone-section .custom-layout-content a:not(.btn):not(.custom-file-download-btn):not(.popup-image),
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content a:not(.btn):not(.custom-file-download-btn):not(.popup-image) {
    color: var(--theme-color, #ef5924);
    text-decoration: none;
    border-bottom: 1px solid rgba(241, 90, 36, 0.35);
    font-weight: 500;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.custom-page-standalone-section .custom-layout-content a:not(.btn):not(.custom-file-download-btn):not(.popup-image):hover,
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-content a:not(.btn):not(.custom-file-download-btn):not(.popup-image):hover {
    color: #d84510;
    border-bottom-color: var(--theme-color, #ef5924);
}

/* Split Image + Text Layout */
.custom-split-row {
    align-items: flex-start !important;
}

.custom-split-content-col,
.custom-split-img-col {
    align-self: flex-start;
}

/* Layout 2 & 3: Content + Right Image and Content + Left Image (Faculty Members Image Border Style) */
.custom-split-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 4px;
    background: linear-gradient(135deg, var(--theme-color, #F55734) 0%, rgba(245, 87, 52, 0.25) 100%);
    box-shadow: 0 8px 26px rgba(0, 39, 76, 0.08);
    border: none;
    box-sizing: border-box;
    display: block;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.custom-split-img-wrap:hover {
    box-shadow: 0 0 0 4px rgba(245, 87, 52, 0.15), 0 14px 32px rgba(0, 39, 76, 0.12);
}

.custom-split-img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    display: block;
    object-fit: cover;
    box-sizing: border-box;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-split-img-wrap:hover .custom-split-img {
    transform: scale(1.03);
}

/* CMS Layout Builder: Text Wrapping, Floating & Stacking Extensions */
.custom-layout-wrap-block {
    width: 100%;
    position: relative;
}

.custom-layout-wrap-block::after {
    content: "";
    display: table;
    clear: both;
}

.custom-wrap-img-box {
    box-sizing: border-box;
}

.custom-wrap-img-box.custom-float-left {
    float: left;
}

.custom-wrap-img-box.custom-float-right {
    float: right;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .custom-wrap-img-box {
        max-width: 50% !important;
    }
}

@media (max-width: 575.98px) {
    .custom-wrap-img-box.custom-float-left,
    .custom-wrap-img-box.custom-float-right {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }
}

.custom-layout-content {
    overflow-wrap: break-word;
    word-break: break-word;
}

.custom-layout-stacked-block {
    width: 100%;
}

.custom-stacked-img-box {
    width: 100%;
}

/* Highlight Quote Box */
.custom-highlight-box {
    background: #f8fafc;
    border-left: 4px solid var(--theme-color, #ef5924);
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin: 22px 0;
    box-shadow: 0 2px 10px rgba(0, 39, 76, 0.02);
}

.custom-highlight-box p {
    margin: 0;
    font-size: 15px;
    font-style: italic;
    color: #334155;
    line-height: 1.7;
}

/* Feature / Pillar Cards Grid */
.custom-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.custom-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 22px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.custom-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--theme-color, #ef5924);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-feature-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: rgba(241, 90, 36, 0.3);
    box-shadow: 0 12px 28px rgba(0, 39, 76, 0.07);
}

.custom-feature-card:hover::before {
    opacity: 1;
}

.custom-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--theme-color, #ef5924) 0%, #d84510 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(241, 90, 36, 0.25);
    flex-shrink: 0;
}

.custom-feature-title {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin-bottom: 8px;
    line-height: 1.35;
}

.custom-feature-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* Bullet Points / Checklist */
.custom-points-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-points-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
}

.custom-points-icon {
    color: var(--theme-color, #ef5924);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Downloads & Document Action Buttons */
.custom-doc-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.custom-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: #ffffff;
    color: var(--title-color2, #00274c);
    border: 1.5px solid #d8dde6;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 39, 76, 0.04);
}

.custom-doc-btn i {
    color: var(--theme-color, #ef5924);
    font-size: 15px;
    transition: transform 0.25s ease;
}

.custom-doc-btn:hover {
    background: var(--theme-color, #ef5924);
    color: #ffffff;
    border-color: var(--theme-color, #ef5924);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(241, 90, 36, 0.25);
}

.custom-doc-btn:hover i {
    color: #ffffff;
    transform: scale(1.15);
}

/* Photo Gallery Grid in Section */
.custom-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 22px;
}

.custom-gallery-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 39, 76, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 39, 76, 0.1);
    border-color: rgba(241, 90, 36, 0.3);
}

.custom-gallery-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.custom-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-gallery-card:hover .custom-gallery-img {
    transform: scale(1.06);
}

.custom-gallery-caption {
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--title-color2, #00274c);
    display: flex;
    align-items: center;
    gap: 9px;
    line-height: 1.4;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    margin-top: auto;
}

.custom-gallery-caption i {
    color: var(--theme-color, #ef5924);
    font-size: 14px;
}

/* Dynamic Photo Gallery Lightbox Overlay */
.custom-gallery-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: zoom-in;
}

.custom-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 39, 76, 0.2) 0%, rgba(0, 39, 76, 0.6) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.custom-gallery-overlay i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--theme-color, #ef5924);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.custom-gallery-card:hover .custom-gallery-overlay {
    opacity: 1;
}

.custom-gallery-card:hover .custom-gallery-overlay i {
    transform: scale(1);
}

/* Sub Sections Container & Card Styling (Custom Layout Page) */
.custom-subsections-container {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.custom-subsec-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--theme-color, #ef5924);
    border-radius: 14px;
    padding: 26px 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 39, 76, 0.03);
}

.custom-subsec-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    border-left-color: var(--theme-color, #ef5924);
    box-shadow: 0 10px 28px rgba(0, 39, 76, 0.06);
    transform: translateY(-2px);
}

.custom-subsec-header {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.custom-subsec-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-subsec-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(241, 90, 36, 0.1);
    color: var(--theme-color, #ef5924);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.custom-subsec-card:hover .custom-subsec-icon-box {
    transform: scale(1.08);
}

.custom-subsec-title {
    font-family: var(--title-font, 'Playfair Display', 'Lora', serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--title-color2, #00274c);
    margin: 0;
    line-height: 1.35;
}

.custom-subsec-body {
    color: #475569;
}

.custom-subsec-body .custom-body-text {
    font-size: 15px;
    line-height: 1.78;
    color: #475569;
}

/* 4. Responsive Media Queries */
@media (max-width: 991.98px) {
    .custom-layout-page-section {
        padding: 40px 0 70px 0;
    }

    .custom-sections-stack {
        gap: 24px;
    }

    .custom-content-card {
        padding: 28px 24px;
        border-radius: 16px;
    }

    .custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-section.is-collapsed .custom-content-card,
    .custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-content-card.is-collapsed,
    .custom-page-standalone-section .custom-content-card.is-collapsed {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .custom-sec-title {
        font-size: 21px;
    }

    .custom-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .custom-layout-section,
    .custom-top-level-section,
    .custom-subsec-card,
    .custom-page-standalone-section .custom-content-card {
        scroll-margin-top: 140px; /* Offset for Sticky Header + Mobile Nav */
    }

    .custom-subsec-card {
        padding: 22px 20px;
    }

    .custom-subsec-title {
        font-size: 17.5px;
    }
}

@media (max-width: 575.98px) {
    .custom-layout-page-section {
        padding: 30px 0 50px 0;
    }

    .custom-sidebar-header {
        padding: 14px 18px;
    }

    .custom-sidebar-title {
        font-size: 14px;
    }

    .custom-nav-link {
        padding: 11px 16px;
        font-size: 13.5px;
    }

    .custom-content-card {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-layout-section.is-collapsed > .custom-content-card,
    .custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-content-card.is-collapsed,
    .custom-page-standalone-section .custom-content-card.is-collapsed {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .custom-layout-section,
    .custom-top-level-section,
    .custom-subsec-card,
    .custom-page-standalone-section .custom-content-card {
        scroll-margin-top: 135px; /* Offset for Sticky Header + Compact Mobile Nav */
    }

    .custom-sec-toggle-icon {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }

    .custom-subsec-card {
        padding: 16px 14px;
        border-radius: 12px;
    }

    .custom-subsec-title {
        font-size: 16px;
    }

    .custom-subsec-icon-box {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .custom-sec-header {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .custom-sec-title {
        font-size: 19px;
    }

    .custom-sec-icon-box {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 11px;
    }

    .custom-lead-text {
        font-size: 15px;
        line-height: 1.65;
    }

    .custom-body-text {
        font-size: 14.5px;
        line-height: 1.75;
    }

    .custom-feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .custom-feature-card {
        padding: 18px 16px;
    }

    .custom-doc-btn {
        width: 100%;
        justify-content: space-between;
        padding: 10px 14px;
        font-size: 13px;
    }

    .custom-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .custom-layout-section {
        scroll-margin-top: 75px;
        margin-bottom: 0;
    }
}

/* 5. Dynamic File Group Section Styles */
.custom-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

/* Custom Page Frontend File Group Grid: Two-column layout with odd full-width final item */
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-file-list,
.custom-page-standalone-section .custom-file-list,
.custom-file-list.custom-file-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-top: 14px;
}

.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-file-list.custom-file-list--single,
.custom-page-standalone-section .custom-file-list.custom-file-list--single,
.custom-file-list.custom-file-grid.custom-file-list--single {
    grid-template-columns: 1fr;
}

.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-file-row,
.custom-page-standalone-section .custom-file-row,
.custom-file-grid .custom-file-row {
    height: 100%;
    margin-bottom: 0;
}

/* Dedicated class on the final item when total files count is odd, or when single file */
.custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-file-row.custom-file-row-full,
.custom-page-standalone-section .custom-file-row.custom-file-row-full,
.custom-file-grid .custom-file-row.custom-file-row-full {
    grid-column: 1 / -1;
    width: 100%;
}

.custom-file-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 8px 0 0;
    min-height: 42px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 39, 76, 0.03);
}

.custom-file-row:hover {
    border-color: var(--theme-color, #ef5924);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(241, 90, 36, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #fffcfb 100%);
}

.custom-file-meta {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
    height: 100%;
}

.custom-file-icon-box {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    box-sizing: border-box;
    border-radius: 8px 0 0 8px;
    background: var(--theme-color, #ef5924);
    border: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    transition: background 0.3s ease;
}

.custom-file-icon-box i,
.custom-file-icon-box svg {
    color: #ffffff !important;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.custom-file-row:hover .custom-file-icon-box {
    transform: none;
    box-shadow: none;
}

.custom-file-content {
    flex: 1;
    min-width: 0;
    padding: 0 12px;
    margin: 0;
    display: flex;
    align-items: center;
}

.custom-file-title {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--title-color2, #00274c);
    margin: 0;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color 0.2s ease;
}

.custom-file-meta > .custom-file-title {
    padding-left: 12px;
    padding-right: 12px;
}

.custom-file-row:hover .custom-file-title {
    color: var(--theme-color, #ef5924);
}

.custom-file-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 8px;
    background: var(--title-color2, #00274c);
    color: #ffffff !important;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 39, 76, 0.1);
}

.custom-file-download-btn i {
    font-size: 14px;
    line-height: 1;
    margin: 0;
    transition: transform 0.25s ease;
}

.custom-file-download-btn:hover {
    background: var(--theme-color, #ef5924);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 90, 36, 0.25);
}

.custom-file-download-btn:hover i {
    transform: translateY(1px);
}

.custom-file-download-btn:focus-visible {
    outline: 2px solid var(--theme-color, #ef5924);
    outline-offset: 2px;
}

/* 7. Clean No Data Available State & Informational Alerts */
.custom-no-data-card {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    padding: 64px 32px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 39, 76, 0.03);
}

.custom-no-data-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(241, 90, 36, 0.09);
    color: var(--theme-color, #ef5924);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.custom-no-data-title {
    font-family: var(--title-font, 'Playfair Display', 'Lora', serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin-bottom: 8px;
}

.custom-no-data-desc {
    font-size: 15px;
    color: #64748b;
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobile Adjustments for File Rows */
@media (max-width: 767.98px) {
    .custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-file-list,
    .custom-page-standalone-section .custom-file-list,
    .custom-file-list.custom-file-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .custom-layout-page-section:not(.department-home-page):not(.view-all-updates-section) .custom-file-row.custom-file-row-full,
    .custom-page-standalone-section .custom-file-row.custom-file-row-full,
    .custom-file-grid .custom-file-row.custom-file-row-full {
        grid-column: auto;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .custom-file-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 8px 0 0 !important;
        min-height: 42px;
        gap: 0;
    }

    .custom-file-download-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
        justify-content: center;
        flex-shrink: 0;
    }
}

/* 8. Dynamic Section Content & Responsive HTML Tables */
.custom-split-content-col,
.custom-split-img-col,
.faculty-home-sections .row > [class*="col-"],
.faculty-home-split-row > [class*="col-"],
.faculty-home-vm-grid > [class*="col-"],
.faculty-home-vm-card,
.faculty-home-vm-body {
    min-width: 0 !important; /* Prevents flexbox/grid child blowouts from wide tables or media */
    max-width: 100%;
}

.custom-layout-content,
.faculty-home-content,
.home-section-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.custom-layout-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.custom-layout-content p:last-child {
    margin-bottom: 0;
}

.custom-layout-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}

.custom-layout-content iframe,
.custom-layout-content video,
.custom-layout-content object {
    max-width: 100% !important;
}

/* Responsive Table Wrapper */
.custom-layout-content .table-responsive,
.faculty-home-content .table-responsive,
.home-section-content .table-responsive,
.custom-layout-content-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 16px;
    margin-bottom: 22px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 39, 76, 0.03);
    scrollbar-width: thin;
    scrollbar-color: var(--theme-color, #ef5924) #f1f5f9;
}

.custom-layout-content .table-responsive::-webkit-scrollbar,
.faculty-home-content .table-responsive::-webkit-scrollbar,
.home-section-content .table-responsive::-webkit-scrollbar,
.custom-layout-content-table-wrapper::-webkit-scrollbar,
.custom-layout-content table:not(.table-responsive table)::-webkit-scrollbar,
.faculty-home-content table:not(.table-responsive table)::-webkit-scrollbar,
.home-section-content table:not(.table-responsive table)::-webkit-scrollbar {
    height: 6px;
}

.custom-layout-content .table-responsive::-webkit-scrollbar-track,
.faculty-home-content .table-responsive::-webkit-scrollbar-track,
.home-section-content .table-responsive::-webkit-scrollbar-track,
.custom-layout-content-table-wrapper::-webkit-scrollbar-track,
.custom-layout-content table:not(.table-responsive table)::-webkit-scrollbar-track,
.faculty-home-content table:not(.table-responsive table)::-webkit-scrollbar-track,
.home-section-content table:not(.table-responsive table)::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 6px;
}

.custom-layout-content .table-responsive::-webkit-scrollbar-thumb,
.faculty-home-content .table-responsive::-webkit-scrollbar-thumb,
.home-section-content .table-responsive::-webkit-scrollbar-thumb,
.custom-layout-content-table-wrapper::-webkit-scrollbar-thumb,
.custom-layout-content table:not(.table-responsive table)::-webkit-scrollbar-thumb,
.faculty-home-content table:not(.table-responsive table)::-webkit-scrollbar-thumb,
.home-section-content table:not(.table-responsive table)::-webkit-scrollbar-thumb {
    background: var(--theme-color, #ef5924);
    border-radius: 6px;
}

/* Pure CSS fallback for unwrapped bare tables */
.custom-layout-content > table,
.faculty-home-content > table,
.home-section-content > table,
.custom-layout-content table:not(.table-responsive table),
.faculty-home-content table:not(.table-responsive table),
.home-section-content table:not(.table-responsive table) {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 16px;
    margin-bottom: 22px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 39, 76, 0.03);
    scrollbar-width: thin;
    scrollbar-color: var(--theme-color, #ef5924) #f1f5f9;
}

/* Professional DDU Table Styling */
.custom-layout-content table,
.faculty-home-content table,
.home-section-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0;
    background-color: #ffffff;
    font-size: 14.5px;
    line-height: 1.6;
}

.custom-layout-content table th,
.faculty-home-content table th,
.home-section-content table th {
    background-color: var(--title-color2, #00274c);
    color: #ffffff;
    font-weight: 700;
    padding: 13px 18px;
    border: 1px solid #001e3b;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.custom-layout-content table td,
.faculty-home-content table td,
.home-section-content table td {
    padding: 12px 18px;
    border: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
    font-size: 14.5px;
}

.custom-layout-content table tbody tr:nth-child(even),
.faculty-home-content table tbody tr:nth-child(even),
.home-section-content table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.custom-layout-content table tbody tr:hover,
.faculty-home-content table tbody tr:hover,
.home-section-content table tbody tr:hover {
    background-color: rgba(241, 90, 36, 0.05);
}

.custom-layout-content table caption,
.faculty-home-content table caption,
.home-section-content table caption {
    padding: 10px 14px;
    caption-side: bottom;
    color: #64748b;
    font-size: 13px;
    font-style: italic;
}

/* 9. Sidebar Widgets Styling & Rounded Corners */
.widget_categories,
.widget.widget_categories,
.sidebar-area .widget_categories {
    border-radius: 16px;
    overflow: hidden;
}

.widget_banner,
.widget.widget_banner,
.sidebar-area .widget_banner {
    border-radius: 16px;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.widget_banner:before,
.widget.widget_banner:before,
.widget_banner[data-overlay]:before {
    border-radius: 16px;
}

.widget_categories li {
    position: relative;
}

.widget_categories li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--theme-color, #ef5924);
    font-size: 16px;
    line-height: 1.313;
    pointer-events: none;
    transition: color 0.3s ease;
}

.widget_categories li a {
    padding-left: 14px;
    transition: all 0.3s ease;
}

.widget_categories li a:hover {
    color: var(--theme-color, #ef5924);
    padding-left: 18px;
}

.footer-widget.widget_categories {
    border-radius: 0;
    overflow: visible;
}

.footer-widget.widget_categories li::before {
    content: none;
}

/* 10. Content Page Specific Styles (sample-page-content) */
.content-page-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(0, 39, 76, 0.04);
    min-width: 0;
    overflow: hidden;
}

.content-page-body {
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.content-page-body h1,
.content-page-body h2,
.content-page-body h3,
.content-page-body h4,
.content-page-body h5,
.content-page-body h6 {
    font-family: var(--title-font, 'Lora', serif);
    color: var(--title-color2, #00274c);
    font-weight: 700;
    line-height: 1.35;
    margin-top: 28px;
    margin-bottom: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.content-page-body h1:first-child,
.content-page-body h2:first-child,
.content-page-body h3:first-child,
.content-page-body h4:first-child {
    margin-top: 0;
}

.content-page-body h1 {
    font-size: 30px;
}

.content-page-body h2 {
    font-size: 25px;
}

.content-page-body h3 {
    font-size: 21px;
}

.content-page-body h4 {
    font-size: 18px;
}

.content-page-body h5 {
    font-size: 16px;
}

.content-page-body h6 {
    font-size: 14.5px;
}

.content-page-body p {
    margin-bottom: 18px;
    line-height: 1.8;
    color: #475569;
}

.content-page-body p:last-child {
    margin-bottom: 0;
}

.content-page-body a {
    color: var(--theme-color, #ef5924);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.25s ease;
    overflow-wrap: break-word;
    word-break: break-word;
}

.content-page-body a:hover {
    color: var(--title-color2, #00274c);
}

.content-page-body ul,
.content-page-body ol {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 26px;
}

.content-page-body ul {
    list-style-type: disc;
}

.content-page-body ol {
    list-style-type: decimal;
}

.content-page-body li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: #475569;
}

.content-page-body li > ul,
.content-page-body li > ol {
    margin-top: 6px;
    margin-bottom: 6px;
}

.content-page-body blockquote {
    position: relative;
    margin: 24px 0;
    padding: 18px 24px;
    background: #f8fafc;
    border-left: 4px solid var(--theme-color, #ef5924);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--title-color2, #00274c);
}

.content-page-body blockquote p:last-child {
    margin-bottom: 0;
}

.content-page-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 18px;
    display: inline-block;
}

.content-page-body iframe,
.content-page-body video,
.content-page-body embed,
.content-page-body object {
    max-width: 100% !important;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 18px;
}

.content-page-body pre,
.content-page-body code {
    font-family: monospace, monospace;
    font-size: 14px;
    background: #f1f5f9;
    border-radius: 6px;
    color: #0f172a;
}

.content-page-body code {
    padding: 2px 6px;
}

.content-page-body pre {
    padding: 16px;
    overflow-x: auto;
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
}

.content-page-body pre code {
    padding: 0;
    background: transparent;
}

.content-page-body hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

/* Responsive adjustments for content page */
@media (max-width: 991.98px) {
    .content-page-card {
        padding: 28px 24px;
    }

    .content-sidebar-col {
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .content-page-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .content-page-body h1 {
        font-size: 24px;
    }

    .content-page-body h2 {
        font-size: 21px;
    }

    .content-page-body h3 {
        font-size: 18px;
    }

    .content-page-body h4 {
        font-size: 16px;
    }
}

/* 11. Custom PDF Viewer Styles (sample-page-pdf) */
.pdf-viewer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 39, 76, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
}

/* Fullscreen mode styling */
.pdf-viewer-card:fullscreen,
.pdf-viewer-card:-webkit-full-screen,
.pdf-viewer-card:-moz-full-screen,
.pdf-viewer-card.is-fullscreen {
    border-radius: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 999999;
}

.pdf-viewer-card:fullscreen .pdf-canvas-container,
.pdf-viewer-card:-webkit-full-screen .pdf-canvas-container,
.pdf-viewer-card:-moz-full-screen .pdf-canvas-container,
.pdf-viewer-card.is-fullscreen .pdf-canvas-container {
    max-height: calc(100vh - 65px) !important;
    height: calc(100vh - 65px) !important;
    flex-grow: 1;
}

/* PDF Toolbar Header */
.pdf-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    z-index: 10;
}

.pdf-toolbar-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Toolbar Buttons */
.pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 6px 12px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
    text-decoration: none;
    user-select: none;
}

.pdf-btn i {
    font-size: 13px;
}

.pdf-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--title-color2, #00274c);
}

.pdf-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.pdf-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pdf-btn-icon-only {
    width: 36px;
    height: 36px;
    padding: 0;
}

.pdf-btn-primary {
    background: var(--theme-color, #ef5924);
    color: #ffffff !important;
    border-color: var(--theme-color, #ef5924);
}

.pdf-btn-primary:hover:not(:disabled) {
    background: #d44715;
    border-color: #d44715;
    color: #ffffff !important;
}

.pdf-btn-secondary {
    background: var(--title-color2, #00274c);
    color: #ffffff !important;
    border-color: var(--title-color2, #00274c);
}

.pdf-btn-secondary:hover:not(:disabled) {
    background: #001e3b;
    border-color: #001e3b;
    color: #ffffff !important;
}

/* Page Indicator & Input */
.pdf-page-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: #475569;
    font-weight: 500;
}

.pdf-page-input {
    width: 46px;
    height: 32px;
    text-align: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--title-color2, #00274c);
    padding: 2px 4px;
    background: #ffffff;
}

.pdf-page-input:focus {
    outline: none;
    border-color: var(--theme-color, #ef5924);
    box-shadow: 0 0 0 2px rgba(239, 89, 36, 0.2);
}

.pdf-zoom-level {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    min-width: 44px;
    text-align: center;
}

/* Canvas Viewport & Container */
.pdf-canvas-container {
    background: #474b4e;
    min-height: 480px;
    max-height: 1230px;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #334155;
}

.pdf-canvas-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.pdf-canvas-container::-webkit-scrollbar-track {
    background: #334155;
}

.pdf-canvas-container::-webkit-scrollbar-thumb {
    background: #64748b;
    border-radius: 4px;
}

.pdf-canvas-wrapper {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    background: #ffffff;
    line-height: 0;
    border-radius: 4px;
    transition: width 0.15s ease, height 0.15s ease;
    max-width: none;
}

.pdf-canvas-wrapper canvas {
    display: block;
    margin: 0 auto;
}

/* Loading State Overlay */
.pdf-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(71, 75, 78, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 20;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}

.pdf-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--theme-color, #ef5924);
    border-radius: 50%;
    animation: pdf-spin 0.8s linear infinite;
}

@keyframes pdf-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error Fallback State inside Viewer */
.pdf-error-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    z-index: 25;
}

.pdf-error-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.pdf-error-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin-bottom: 8px;
}

.pdf-error-desc {
    font-size: 14.5px;
    color: #64748b;
    max-width: 420px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.pdf-error-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive Breakpoints for PDF Viewer */
@media (max-width: 767.98px) {
    .pdf-toolbar {
        padding: 8px 10px;
        gap: 8px;
    }

    .pdf-toolbar-group {
        gap: 4px;
    }

    .pdf-btn {
        padding: 5px 8px;
        font-size: 12.5px;
    }

    .pdf-canvas-container {
        padding: 12px 6px;
        min-height: 380px;
        max-height: 560px;
    }
}

/*--------------------------------------------------------------
# Custom Page: Team Members Section & Cards
--------------------------------------------------------------*/
.custom-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 18px;
}

.custom-team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 39, 76, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.custom-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 39, 76, 0.1);
    border-color: rgba(241, 90, 36, 0.35);
}

/* Layout 6: Team Members Image Wrap (Faculty Members Image Border Style) */
.custom-team-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 4px;
    background: linear-gradient(135deg, var(--theme-color, #F55734) 0%, rgba(245, 87, 52, 0.25) 100%);
    box-sizing: border-box;
    border: none;
    border-bottom: none;
    transition: all 0.35s ease, box-shadow 0.35s ease;
}

.custom-team-card:hover .custom-team-img-wrap {
    box-shadow: 0 0 0 4px rgba(245, 87, 52, 0.15);
}

.custom-team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    border-radius: inherit;
    box-sizing: border-box;
    transition: transform 0.35s ease;
}

.custom-team-card:hover .custom-team-img {
    transform: scale(1.04);
}

.custom-team-placeholder,
.custom-team-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 52px;
    border: 3px solid #ffffff;
    border-radius: inherit;
    box-sizing: border-box;
}

.custom-team-info {
    padding: 16px 14px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}

.custom-team-name {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin: 0 0 5px 0;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.custom-team-card:hover .custom-team-name {
    color: var(--theme-color, #ef5924);
}

.custom-team-designation,
.custom-team-role {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
    margin: 0;
    line-height: 1.45;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1199.98px) {
    .custom-team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991.98px) {
    .custom-team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 767.98px) {
    .custom-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .custom-team-name {
        font-size: 15.5px;
    }

    .custom-team-designation,
    .custom-team-role {
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .custom-team-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        gap: 16px;
    }
}

/*--------------------------------------------------------------
# Custom Page: Team Members Image Shape Options (Faculty Members Border Style)
# Circle, Rounded Rectangle, Square, Oval, Hexagon
--------------------------------------------------------------*/
/* 1. Circle: Perfectly circular image using border-radius: 50% and Faculty Members border style */
.custom-team-grid.team-shape-circle .custom-team-card,
.custom-team-card.team-shape-circle {
    padding-top: 20px;
}

.custom-team-grid.team-shape-circle .custom-team-img-wrap,
.custom-team-card.team-shape-circle .custom-team-img-wrap,
.custom-team-img-wrap.team-shape-circle {
    position: relative;
    width: 220px;
    /*height: 220px;*/
    max-width: 75%;
    aspect-ratio: 1 / 1;
    margin: 8px auto 16px auto;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--theme-color, #F55734) 0%, rgba(245, 87, 52, 0.25) 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(0, 39, 76, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease, box-shadow 0.35s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.custom-team-grid.team-shape-circle .custom-team-img,
.custom-team-card.team-shape-circle .custom-team-img,
.custom-team-img-wrap.team-shape-circle .custom-team-img,
.custom-team-grid.team-shape-circle .custom-team-placeholder-img,
.custom-team-card.team-shape-circle .custom-team-placeholder-img,
.custom-team-grid.team-shape-circle .custom-team-placeholder,
.custom-team-card.team-shape-circle .custom-team-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: transform 0.35s ease;
}

.custom-team-card.team-shape-circle:hover .custom-team-img-wrap,
.custom-team-grid.team-shape-circle .custom-team-card:hover .custom-team-img-wrap {
    box-shadow: 0 0 0 4px rgba(245, 87, 52, 0.15), 0 8px 20px rgba(0, 39, 76, 0.12);
}

.custom-team-card.team-shape-circle:hover .custom-team-img,
.custom-team-grid.team-shape-circle .custom-team-card:hover .custom-team-img {
    transform: scale(1.04);
}

/* 2. Rounded Rectangle (Default): Rectangular image with Faculty Members border style */
.custom-team-grid.team-shape-rounded .custom-team-img-wrap,
.custom-team-card.team-shape-rounded .custom-team-img-wrap,
.custom-team-img-wrap.team-shape-rounded,
.custom-team-grid.team-shape-rounded_rectangle .custom-team-img-wrap,
.custom-team-card.team-shape-rounded_rectangle .custom-team-img-wrap,
.custom-team-img-wrap.team-shape-rounded_rectangle {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 4px;
    background: linear-gradient(135deg, var(--theme-color, #F55734) 0%, rgba(245, 87, 52, 0.25) 100%);
    border: none;
    overflow: hidden;
    box-sizing: border-box;
    transition: all 0.35s ease, box-shadow 0.35s ease;
}

.custom-team-grid.team-shape-rounded .custom-team-img,
.custom-team-card.team-shape-rounded .custom-team-img,
.custom-team-img-wrap.team-shape-rounded .custom-team-img,
.custom-team-grid.team-shape-rounded_rectangle .custom-team-img,
.custom-team-card.team-shape-rounded_rectangle .custom-team-img,
.custom-team-img-wrap.team-shape-rounded_rectangle .custom-team-img,
.custom-team-grid.team-shape-rounded .custom-team-placeholder-img,
.custom-team-card.team-shape-rounded .custom-team-placeholder-img,
.custom-team-grid.team-shape-rounded .custom-team-placeholder,
.custom-team-card.team-shape-rounded .custom-team-placeholder,
.custom-team-grid.team-shape-rounded_rectangle .custom-team-placeholder-img,
.custom-team-card.team-shape-rounded_rectangle .custom-team-placeholder-img,
.custom-team-grid.team-shape-rounded_rectangle .custom-team-placeholder,
.custom-team-card.team-shape-rounded_rectangle .custom-team-placeholder {
    width: 100%;
    height: 100%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    box-sizing: border-box;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.custom-team-card.team-shape-rounded:hover .custom-team-img-wrap,
.custom-team-grid.team-shape-rounded .custom-team-card:hover .custom-team-img-wrap,
.custom-team-card.team-shape-rounded_rectangle:hover .custom-team-img-wrap,
.custom-team-grid.team-shape-rounded_rectangle .custom-team-card:hover .custom-team-img-wrap {
    box-shadow: 0 0 0 4px rgba(245, 87, 52, 0.15);
}

.custom-team-card.team-shape-rounded:hover .custom-team-img,
.custom-team-grid.team-shape-rounded .custom-team-card:hover .custom-team-img,
.custom-team-card.team-shape-rounded_rectangle:hover .custom-team-img,
.custom-team-grid.team-shape-rounded_rectangle .custom-team-card:hover .custom-team-img {
    transform: scale(1.04);
}

/* 3. Square: Square image with Faculty Members border style */
.custom-team-grid.team-shape-square .custom-team-card,
.custom-team-card.team-shape-square {
    border-radius: 4px;
}

.custom-team-grid.team-shape-square .custom-team-img-wrap,
.custom-team-card.team-shape-square .custom-team-img-wrap,
.custom-team-img-wrap.team-shape-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    padding: 4px;
    background: linear-gradient(135deg, var(--theme-color, #F55734) 0%, rgba(245, 87, 52, 0.25) 100%);
    border: none;
    overflow: hidden;
    box-sizing: border-box;
    transition: all 0.35s ease, box-shadow 0.35s ease;
}

.custom-team-grid.team-shape-square .custom-team-img,
.custom-team-card.team-shape-square .custom-team-img,
.custom-team-img-wrap.team-shape-square .custom-team-img,
.custom-team-grid.team-shape-square .custom-team-placeholder-img,
.custom-team-card.team-shape-square .custom-team-placeholder-img,
.custom-team-grid.team-shape-square .custom-team-placeholder,
.custom-team-card.team-shape-square .custom-team-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    box-sizing: border-box;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.custom-team-card.team-shape-square:hover .custom-team-img-wrap,
.custom-team-grid.team-shape-square .custom-team-card:hover .custom-team-img-wrap {
    box-shadow: 0 0 0 4px rgba(245, 87, 52, 0.15);
}

.custom-team-card.team-shape-square:hover .custom-team-img,
.custom-team-grid.team-shape-square .custom-team-card:hover .custom-team-img {
    transform: scale(1.04);
}

/* 4. Oval: Elliptical image with Faculty Members border style */
.custom-team-grid.team-shape-oval .custom-team-card,
.custom-team-card.team-shape-oval {
    padding-top: 20px;
}

.custom-team-grid.team-shape-oval .custom-team-img-wrap,
.custom-team-card.team-shape-oval .custom-team-img-wrap,
.custom-team-img-wrap.team-shape-oval {
    position: relative;
    width: 150px;
    height: 195px;
    max-width: 75%;
    aspect-ratio: 3 / 4;
    margin: 8px auto 16px auto;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--theme-color, #F55734) 0%, rgba(245, 87, 52, 0.25) 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(0, 39, 76, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease, box-shadow 0.35s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.custom-team-grid.team-shape-oval .custom-team-img,
.custom-team-card.team-shape-oval .custom-team-img,
.custom-team-img-wrap.team-shape-oval .custom-team-img,
.custom-team-grid.team-shape-oval .custom-team-placeholder-img,
.custom-team-card.team-shape-oval .custom-team-placeholder-img,
.custom-team-grid.team-shape-oval .custom-team-placeholder,
.custom-team-card.team-shape-oval .custom-team-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    box-sizing: border-box;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.custom-team-card.team-shape-oval:hover .custom-team-img-wrap,
.custom-team-grid.team-shape-oval .custom-team-card:hover .custom-team-img-wrap {
    box-shadow: 0 0 0 4px rgba(245, 87, 52, 0.15), 0 8px 20px rgba(0, 39, 76, 0.12);
}

.custom-team-card.team-shape-oval:hover .custom-team-img,
.custom-team-grid.team-shape-oval .custom-team-card:hover .custom-team-img {
    transform: scale(1.04);
}

/* 5. Hexagon: Clean hexagonal image with Faculty Members border style */
.custom-team-grid.team-shape-hexagon .custom-team-card,
.custom-team-card.team-shape-hexagon {
    padding-top: 20px;
}

.custom-team-grid.team-shape-hexagon .custom-team-img-wrap,
.custom-team-card.team-shape-hexagon .custom-team-img-wrap,
.custom-team-img-wrap.team-shape-hexagon {
    position: relative;
    width: 165px;
    height: 180px;
    max-width: 78%;
    aspect-ratio: 1 / 1.1;
    margin: 8px auto 16px auto;
    border-radius: 0;
    border: none;
    overflow: hidden;
    padding: 7px;
    background: linear-gradient(135deg, var(--theme-color, #F55734) 0%, rgba(245, 87, 52, 0.25) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 4px 10px rgba(0, 39, 76, 0.08));
    transition: filter 0.35s ease;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-team-img-wrap.team-shape-hexagon::before {
    content: "";
    position: absolute;
    inset: 4px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
    pointer-events: none;
}

.custom-team-grid.team-shape-hexagon .custom-team-img,
.custom-team-card.team-shape-hexagon .custom-team-img,
.custom-team-img-wrap.team-shape-hexagon .custom-team-img,
.custom-team-grid.team-shape-hexagon .custom-team-placeholder-img,
.custom-team-card.team-shape-hexagon .custom-team-placeholder-img,
.custom-team-grid.team-shape-hexagon .custom-team-placeholder,
.custom-team-card.team-shape-hexagon .custom-team-placeholder {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: block;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.35s ease;
}

.custom-team-card.team-shape-hexagon:hover .custom-team-img-wrap,
.custom-team-grid.team-shape-hexagon .custom-team-card:hover .custom-team-img-wrap {
    filter: drop-shadow(0 0 4px rgba(245, 87, 52, 0.45)) drop-shadow(0 8px 16px rgba(0, 39, 76, 0.12));
}

.custom-team-card.team-shape-hexagon:hover .custom-team-img,
.custom-team-grid.team-shape-hexagon .custom-team-card:hover .custom-team-img {
    transform: scale(1.04);
}

/* Responsive adjustments for shaped avatars */
@media (max-width: 767.98px) {
    .custom-team-grid.team-shape-circle .custom-team-img-wrap,
    .custom-team-card.team-shape-circle .custom-team-img-wrap {
        width: 130px;
        height: 130px;
    }

    .custom-team-grid.team-shape-oval .custom-team-img-wrap,
    .custom-team-card.team-shape-oval .custom-team-img-wrap {
        width: 125px;
        height: 160px;
    }

    .custom-team-grid.team-shape-hexagon .custom-team-img-wrap,
    .custom-team-card.team-shape-hexagon .custom-team-img-wrap {
        width: 135px;
        height: 150px;
    }
}

/*==============================================================
# Faculty & Department Home Page Sections (Scoped Architecture)
# Alternating backgrounds: Odd (White) / Even (var(--theme-color-light))
# Padding: 80px 0 with responsive media queries
==============================================================*/

.faculty-home-sections {
    width: 100%;
    position: relative;
}

/* Base section wrapper - Full width with 80px vertical padding */
.faculty-home-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

/* Alternating background colors */
.faculty-home-section.faculty-home-section--odd,
.faculty-home-sections .faculty-home-section:nth-of-type(odd) {
    background-color: var(--white-color, #ffffff);
}

.faculty-home-section.faculty-home-section--even,
.faculty-home-sections .faculty-home-section:nth-of-type(even) {
    background-color: var(--theme-color-light, #ffe1d6);
}

/* Responsive padding adjustments */
@media (max-width: 991.98px) {
    .faculty-home-section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .faculty-home-section {
        padding: 45px 0;
    }
}

/* Section Header & Title (Identical visual language to Main Website) */
.faculty-home-sections .title-area {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.faculty-home-sections .title-area .sub-title {
    display: inline-block;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--theme-color, #F55734);
    text-transform: uppercase;
    margin-bottom: 18px;
    position: relative;
    line-height: 24px;
    letter-spacing: 0.36px;
    font-family: var(--subtitle-font, 'Plus Jakarta Sans', sans-serif);
    padding-left: 52px;
}

.faculty-home-sections .title-area .sub-title:last-child {
    margin-bottom: 0;
}

.faculty-home-sections .title-area .sub-title::before {
    background-color: var(--theme-color, #F55734);
    content: '';
    position: absolute;
    width: 36px;
    height: 2px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.faculty-home-sections .title-area .sec-title {
    font-family: var(--title-font, 'Playfair Display', serif);
    font-size: 40px;
    line-height: 1.25;
    /*letter-spacing: 0.8px;*/
    /*font-weight: 700;*/
    color: var(--black-color, #000000);
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .faculty-home-sections .title-area .sec-title {
        font-size: 36px;
    }
}

@media (max-width: 991.98px) {
    .faculty-home-sections .title-area {
        margin-bottom: 40px;
    }

    .faculty-home-sections .title-area .sec-title {
        font-size: 32px;
    }

    .faculty-home-sections .title-area .sub-title {
        font-size: 16px;
        margin-bottom: 14px;
    }
}

@media (max-width: 767.98px) {
    .faculty-home-sections .title-area {
        margin-bottom: 30px;
    }

    .faculty-home-sections .title-area .sec-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .faculty-home-sections .title-area .sub-title {
        font-size: 14px;
        padding-left: 44px;
        margin-bottom: 10px;
    }

    .faculty-home-sections .title-area .sub-title::before {
        width: 30px;
    }
}

@media (max-width: 575.98px) {
    .faculty-home-sections .title-area .sec-title {
        font-size: 23px;
    }
}

/* CKEditor Rich Text Content */
.faculty-home-content {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--body-color, #313131);
    word-break: break-word;
}

.faculty-home-content p {
    margin-bottom: 16px;
    line-height: 1.75;
    color: var(--body-color, #313131);
}

.faculty-home-content p:last-child {
    margin-bottom: 0;
}

.faculty-home-content h1,
.faculty-home-content h2,
.faculty-home-content h3,
.faculty-home-content h4,
.faculty-home-content h5,
.faculty-home-content h6 {
    color: var(--title-color2, #00274C);
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.faculty-home-content h1:first-child,
.faculty-home-content h2:first-child,
.faculty-home-content h3:first-child,
.faculty-home-content h4:first-child,
.faculty-home-content h5:first-child,
.faculty-home-content h6:first-child {
    margin-top: 0;
}

/*==============================================================
# Modern List Styles (Scoped Strictly to Faculty & Department Sections)
==============================================================*/

/* Unordered List (Level 1) */
.faculty-home-sections .faculty-home-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 22px 0;
}

.faculty-home-sections .faculty-home-content ul > li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--body-color, #313131);
    font-size: 15.5px;
}

.faculty-home-sections .faculty-home-content ul > li:last-child {
    margin-bottom: 0;
}

.faculty-home-sections .faculty-home-content ul > li::before {
    content: "\f058"; /* fa-circle-check */
    font-family: var(--icon-font, "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome");
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--theme-color, #F55734);
    font-size: 16px;
    line-height: 1;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.faculty-home-sections .faculty-home-content ul > li:hover::before {
    transform: scale(1.18);
    color: var(--title-color2, #00274C);
}

/* Nested Unordered List (Level 2) */
.faculty-home-sections .faculty-home-content ul ul {
    margin-top: 10px;
    margin-bottom: 8px;
    padding-left: 6px;
}

.faculty-home-sections .faculty-home-content ul ul > li {
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 14.5px;
    line-height: 1.65;
}

.faculty-home-sections .faculty-home-content ul ul > li::before {
    content: "\f105"; /* fa-angle-right */
    font-family: var(--icon-font, "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome");
    font-weight: 900;
    font-size: 13px;
    top: 4px;
    color: var(--theme-color, #F55734);
    opacity: 0.9;
}

/* Nested Unordered List (Level 3+) */
.faculty-home-sections .faculty-home-content ul ul ul {
    margin-top: 6px;
    margin-bottom: 6px;
    padding-left: 6px;
}

.faculty-home-sections .faculty-home-content ul ul ul > li {
    padding-left: 22px;
    margin-bottom: 6px;
    font-size: 14px;
}

.faculty-home-sections .faculty-home-content ul ul ul > li::before {
    content: "\f111"; /* fa-circle solid dot */
    font-family: var(--icon-font, "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome");
    font-weight: 900;
    font-size: 6px;
    top: 8px;
    color: var(--theme-color, #F55734);
    opacity: 0.75;
}

/* Ordered List (Level 1) */
.faculty-home-sections .faculty-home-content ol {
    list-style: none;
    counter-reset: faculty-home-counter;
    padding-left: 0;
    margin: 0 0 22px 0;
}

.faculty-home-sections .faculty-home-content ol > li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 14px;
    line-height: 1.7;
    color: var(--body-color, #313131);
    font-size: 15.5px;
    counter-increment: faculty-home-counter;
}

.faculty-home-sections .faculty-home-content ol > li:last-child {
    margin-bottom: 0;
}

.faculty-home-sections .faculty-home-content ol > li::before {
    content: counter(faculty-home-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-color, #F55734), #ff7a5c);
    color: var(--white-color, #ffffff);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(245, 87, 52, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faculty-home-sections .faculty-home-content ol > li:hover::before {
    transform: scale(1.12);
    box-shadow: 0 4px 10px rgba(245, 87, 52, 0.35);
}

/* Nested Ordered List (Level 2) */
.faculty-home-sections .faculty-home-content ol ol {
    counter-reset: faculty-home-sub-counter;
    margin-top: 10px;
    margin-bottom: 8px;
    padding-left: 4px;
}

.faculty-home-sections .faculty-home-content ol ol > li {
    counter-increment: faculty-home-sub-counter;
    padding-left: 32px;
    margin-bottom: 8px;
    font-size: 14.5px;
    line-height: 1.65;
}

.faculty-home-sections .faculty-home-content ol ol > li::before {
    content: counter(faculty-home-sub-counter, lower-alpha);
    width: 20px;
    height: 20px;
    font-size: 11px;
    top: 3px;
    background: var(--title-color2, #00274C);
    box-shadow: 0 2px 6px rgba(0, 39, 76, 0.2);
}

.faculty-home-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.faculty-home-content blockquote {
    border-left: 4px solid var(--theme-color, #F55734);
    background-color: rgba(245, 87, 52, 0.05);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.faculty-home-content a {
    color: var(--theme-color, #F55734);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.faculty-home-content a:hover {
    color: var(--title-color2, #00274C);
}

/* Scoped Responsive Tables for CKEditor Content - unified with Gold Standard table styling in Section 8 */

/* Split Content + Image Layouts (Types 2 & 3) - Top Aligned */
.faculty-home-split-row {
    align-items: flex-start;
}

.faculty-home-sections .faculty-home-split-row,
.faculty-home-sections .faculty-home-vm-grid,
.faculty-home-sections .faculty-home-file-grid,
.faculty-home-sections .faculty-home-gallery-grid,
.faculty-home-sections .faculty-home-dept-grid {
    align-items: flex-start;
}

.faculty-home-sections .faculty-home-faculty-grid {
    align-items: stretch;
}

.faculty-home-img-wrap {
    position: relative;
    width: 100%;
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: var(--white-color, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-home-img-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.faculty-home-split-img {
    width: 100%;
    /*max-height: 480px;*/
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

/* Layout 4: File Group Component */
.faculty-home-file-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white-color, #ffffff);
    border: 1px solid var(--th-border-color2, #EEEFF2);
    border-radius: 8px;
    padding: 0 8px 0 0;
    min-height: 42px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    gap: 0;
    overflow: hidden;
}

.faculty-home-file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 87, 52, 0.12);
    border-color: var(--theme-color, #F55734);
}

.faculty-home-file-info {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
}

.faculty-home-file-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    box-sizing: border-box;
    border-radius: 8px;
    background: var(--theme-color, #F55734);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faculty-home-file-icon i,
.faculty-home-file-icon svg {
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1;
}

.faculty-home-file-card:hover .faculty-home-file-icon {
    transform: none;
}

.faculty-home-file-details {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0 12px;
}

.faculty-home-file-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--title-color2, #00274C);
    margin: 0;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
}

.faculty-home-file-tag {
    display: none !important;
}

.faculty-home-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 8px;
    background-color: var(--theme-color, #F55734);
    color: var(--white-color, #ffffff);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.faculty-home-file-btn i {
    font-size: 14px;
    line-height: 1;
    margin: 0;
    transition: transform 0.2s ease;
}

.faculty-home-file-btn:hover {
    background-color: var(--title-color2, #00274C);
    color: var(--white-color, #ffffff);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 39, 76, 0.2);
}

.faculty-home-file-btn:hover i {
    transform: translateY(1px);
}

.faculty-home-file-btn:focus-visible {
    outline: 2px solid var(--theme-color, #F55734);
    outline-offset: 2px;
}

/* Layout 5: Photo Gallery Component */
.faculty-home-gallery-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--white-color, #ffffff);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faculty-home-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.faculty-home-gallery-img-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.faculty-home-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faculty-home-gallery-card:hover .faculty-home-gallery-img {
    transform: scale(1.06);
}

.faculty-home-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 39, 76, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faculty-home-gallery-overlay i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--theme-color, #F55734);
    color: var(--white-color, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faculty-home-gallery-card:hover .faculty-home-gallery-overlay {
    opacity: 1;
}

.faculty-home-gallery-card:hover .faculty-home-gallery-overlay i {
    transform: scale(1);
}

.faculty-home-gallery-caption {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color2, #00274C);
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white-color, #ffffff);
    border-top: 1px solid var(--th-border-color2, #EEEFF2);
}

.faculty-home-gallery-caption i {
    color: var(--theme-color, #F55734);
    font-size: 13px;
}

/* Layout 6: Vision & Mission Component */
.faculty-home-vm-card {
    background-color: var(--white-color, #ffffff);
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--th-border-color2, #EEEFF2);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-home-vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--theme-color);
}

.faculty-home-vm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.faculty-home-vm-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.faculty-home-vm-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--theme-color, #F55734), #ff7a5c);
    color: var(--white-color, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(245, 87, 52, 0.3);
}

.faculty-home-vm-card--mission .faculty-home-vm-icon {
    background: linear-gradient(135deg, var(--title-color2, #00274C), #004d99);
    box-shadow: 0 6px 18px rgba(0, 39, 76, 0.25);
}

.faculty-home-vm-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--title-color2, #00274C);
    margin: 0;
}

.faculty-home-vm-body {
    flex: 1;
    margin-top: 20px;
}

.faculty-home-vm-img-wrap {
    margin-top: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    background-color: #f8fafc;
    text-align: center;
    padding: 6px;
}

.faculty-home-vm-img {
    width: 100%;
    /*max-height: 220px;*/
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Layout 7: Departments Component */
.faculty-home-dept-card {
    background-color: var(--white-color, #ffffff);
    border: 1px solid var(--th-border-color2, #EEEFF2);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.faculty-home-dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(245, 87, 52, 0.12);
    border-color: rgba(245, 87, 52, 0.3);
}

.faculty-home-dept-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 87, 52, 0.12), rgba(245, 87, 52, 0.04));
    color: var(--theme-color, #F55734);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.faculty-home-dept-card:hover .faculty-home-dept-icon-wrap {
    background: var(--theme-color, #F55734);
    color: var(--white-color, #ffffff);
    transform: scale(1.06);
}

.faculty-home-dept-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color2, #00274C);
    margin-bottom: 14px;
    line-height: 1.35;
}

.faculty-home-dept-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--theme-color, #F55734);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.faculty-home-dept-link:hover {
    color: var(--title-color2, #00274C);
    gap: 10px;
}

/* Empty State Styling */
.faculty-home-empty-state {
    background-color: var(--white-color, #ffffff);
    border: 1px dashed var(--th-border-color, #D3DBE2);
    border-radius: 14px;
    padding: 40px 24px;
    text-align: center;
    color: #64748b;
}

.faculty-home-empty-icon {
    font-size: 36px;
    color: var(--th-border-color, #D3DBE2);
    margin-bottom: 12px;
}

.faculty-home-empty-text {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: #64748b;
}

/*==============================================================
# Faculty Members - Frontend Page Scoped Styles
==============================================================*/
.faculty-members-page {
    position: relative;
    padding: 80px 0;
    background-color: #fafbfc;
}

/* Sub-title & Section Title */
.faculty-members-page .sec-title {
    color: var(--title-color, #00274c);
    font-weight: 700;
    margin-bottom: 12px;
}

.faculty-members-page .sec-text {
    color: var(--body-color, #4b5563);
    font-size: 16px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter Card */
.faculty-members-page .faculty-filter-card {
    background: #ffffff;
    border: 1px solid var(--th-border-color, #e2e8f0);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 8px 30px rgba(0, 39, 76, 0.05);
    margin-bottom: 35px;
}

.faculty-members-page .faculty-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 18px;
    align-items: flex-end;
}

.faculty-members-page .faculty-filter-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.faculty-members-page .faculty-filter-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--title-color, #00274c);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.faculty-members-page .faculty-filter-label i {
    color: var(--theme-color, #F55734);
    font-size: 13px;
}

.faculty-members-page .faculty-filter-select,
.faculty-members-page .faculty-filter-input {
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--th-border-color, #d3dbe2);
    padding: 0 16px;
    font-size: 14px;
    color: var(--body-color, #4b5563);
    background-color: #f8fafc;
    transition: all 0.3s ease;
    width: 100%;
}

.faculty-members-page .faculty-filter-select:focus,
.faculty-members-page .faculty-filter-input:focus {
    border-color: var(--theme-color, #F55734);
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 87, 52, 0.15);
}

.faculty-members-page .faculty-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.faculty-members-page .faculty-filter-btn {
    height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.faculty-members-page .faculty-filter-btn--submit {
    background-color: var(--theme-color, #F55734);
    color: #ffffff;
    border: 1px solid var(--theme-color, #F55734);
}

.faculty-members-page .faculty-filter-btn--submit:hover {
    background-color: var(--title-color, #00274c);
    border-color: var(--title-color, #00274c);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 39, 76, 0.15);
}

.faculty-members-page .faculty-filter-btn--reset {
    background-color: transparent;
    color: #64748b;
    border: 1px solid var(--th-border-color, #cbd5e1);
}

.faculty-members-page .faculty-filter-btn--reset:hover {
    background-color: #f1f5f9;
    color: var(--title-color, #00274c);
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* Result Meta Bar */
.faculty-members-page .faculty-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid var(--th-border-color, #e2e8f0);
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faculty-members-page .faculty-meta-count {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--title-color, #00274c);
    display: flex;
    align-items: center;
    gap: 8px;
}

.faculty-members-page .faculty-meta-count i {
    color: var(--theme-color, #F55734);
}

.faculty-members-page .faculty-meta-count strong {
    color: var(--theme-color, #F55734);
}

.faculty-members-page .faculty-meta-filtered-badge {
    font-size: 12px;
    font-weight: 600;
    color: #0284c7;
    background-color: #e0f2fe;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 6px;
}

/* Faculty Member Card */
.faculty-members-page .faculty-member-card,
.faculty-home-sections .faculty-member-card,
.department-faculty-members-section .faculty-member-card {
    background: #ffffff;
    border: 1px solid var(--th-border-color, #e2e8f0);
    border-radius: 16px;
    padding: 26px 20px 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.faculty-members-page .faculty-member-card:hover,
.faculty-home-sections .faculty-member-card:hover,
.department-faculty-members-section .faculty-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 39, 76, 0.09);
    border-color: var(--theme-color, #F55734);
}

/* Circular Portrait Wrap */
.faculty-members-page .faculty-member-photo-wrap,
.faculty-home-sections .faculty-member-photo-wrap,
.department-faculty-members-section .faculty-member-photo-wrap {
    position: relative;
    width: 136px;
    height: 136px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--theme-color, #F55734) 0%, rgba(245, 87, 52, 0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.faculty-members-page .faculty-member-card:hover .faculty-member-photo-wrap,
.faculty-home-sections .faculty-member-card:hover .faculty-member-photo-wrap,
.department-faculty-members-section .faculty-member-card:hover .faculty-member-photo-wrap {
    box-shadow: 0 0 0 4px rgba(245, 87, 52, 0.15);
}

.faculty-members-page .faculty-member-photo,
.faculty-home-sections .faculty-member-photo,
.department-faculty-members-section .faculty-member-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    transition: transform 0.35s ease;
}

.faculty-members-page .faculty-member-card:hover .faculty-member-photo,
.faculty-home-sections .faculty-member-card:hover .faculty-member-photo,
.department-faculty-members-section .faculty-member-card:hover .faculty-member-photo {
    transform: scale(1.04);
}

.faculty-members-page .faculty-member-photo-placeholder,
.faculty-home-sections .faculty-member-photo-placeholder,
.department-faculty-members-section .faculty-member-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f1f5f9;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #94a3b8;
}

/* Faculty Type Badge (Compact style) */
.faculty-members-page .faculty-type-badge,
.faculty-home-sections .faculty-type-badge,
.department-faculty-members-section .faculty-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    align-self: center;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.35;
}

.faculty-members-page .faculty-type-badge--teaching,
.faculty-home-sections .faculty-type-badge--teaching,
.department-faculty-members-section .faculty-type-badge--teaching {
    background-color: rgba(245, 87, 52, 0.1);
    color: var(--theme-color, #F55734);
    border: 1px solid rgba(245, 87, 52, 0.2);
}

.faculty-members-page .faculty-type-badge--non-teaching,
.faculty-home-sections .faculty-type-badge--non-teaching,
.department-faculty-members-section .faculty-type-badge--non-teaching {
    background-color: rgba(0, 39, 76, 0.08);
    color: var(--title-color, #00274c);
    border: 1px solid rgba(0, 39, 76, 0.15);
}

/* Name & Designation */
.faculty-members-page .faculty-member-name,
.faculty-home-sections .faculty-member-name,
.department-faculty-members-section .faculty-member-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color, #00274c);
    margin-bottom: 5px;
    text-align: center;
    line-height: 1.35;
}

.faculty-members-page .faculty-member-name a,
.faculty-home-sections .faculty-member-name a,
.department-faculty-members-section .faculty-member-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.faculty-members-page .faculty-member-name a:hover,
.faculty-home-sections .faculty-member-name a:hover,
.department-faculty-members-section .faculty-member-name a:hover {
    color: var(--theme-color, #F55734);
}

.faculty-members-page .faculty-member-designation,
.faculty-home-sections .faculty-member-designation,
.department-faculty-members-section .faculty-member-designation {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--theme-color, #F55734);
    margin-bottom: 14px;
    text-align: center;
    line-height: 1.4;
}

/* Meta Items List */
.faculty-members-page .faculty-member-meta-list,
.faculty-home-sections .faculty-member-meta-list,
.department-faculty-members-section .faculty-member-meta-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--th-border-color, #e2e8f0);
}

.faculty-members-page .faculty-member-meta-item,
.faculty-home-sections .faculty-member-meta-item,
.department-faculty-members-section .faculty-member-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    color: var(--body-color, #475569);
    line-height: 1.45;
}

.faculty-members-page .faculty-member-meta-item i,
.faculty-home-sections .faculty-member-meta-item i,
.department-faculty-members-section .faculty-member-meta-item i {
    font-size: 13px;
    color: var(--theme-color, #F55734);
    margin-top: 2px;
    flex-shrink: 0;
    width: 15px;
    text-align: center;
}

/* Long Description Preview & Read More Link */
.faculty-members-page .faculty-member-desc,
.faculty-home-sections .faculty-member-desc,
.department-faculty-members-section .faculty-member-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--theme-color, #F55734);
    word-break: break-word;
    overflow-wrap: break-word;
}

.faculty-members-page .faculty-member-desc-text,
.faculty-home-sections .faculty-member-desc-text,
.department-faculty-members-section .faculty-member-desc-text {
    display: block;
    margin-bottom: 6px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.faculty-members-page .faculty-member-readmore,
.faculty-home-sections .faculty-member-readmore,
.department-faculty-members-section .faculty-member-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--theme-color, #F55734);
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1.3;
}

.faculty-members-page .faculty-member-readmore i,
.faculty-home-sections .faculty-member-readmore i,
.department-faculty-members-section .faculty-member-readmore i {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.faculty-members-page .faculty-member-readmore:hover,
.faculty-home-sections .faculty-member-readmore:hover,
.department-faculty-members-section .faculty-member-readmore:hover {
    color: var(--title-color, #00274c);
    text-decoration: underline;
}

.faculty-members-page .faculty-member-readmore:hover i,
.faculty-home-sections .faculty-member-readmore:hover i,
.department-faculty-members-section .faculty-member-readmore:hover i {
    transform: translateX(3px);
}

/* Email Row */
.faculty-members-page .faculty-member-email-wrap,
.faculty-home-sections .faculty-member-email-wrap,
.department-faculty-members-section .faculty-member-email-wrap {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--th-border-color, #e2e8f0);
    text-align: center;
}

.faculty-members-page .faculty-member-email,
.faculty-home-sections .faculty-member-email,
.department-faculty-members-section .faculty-member-email {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--theme-color, #F55734);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    word-break: break-all;
    transition: color 0.25s ease;
}

.faculty-members-page .faculty-member-email:hover,
.faculty-home-sections .faculty-member-email:hover,
.department-faculty-members-section .faculty-member-email:hover {
    color: var(--title-color, #00274c);
    text-decoration: underline;
}

/* Home Page Sections: Faculty Members View All Button */
.faculty-home-view-all-wrap {
    text-align: center;
    margin-top: 45px;
    position: relative;
    z-index: 2;
}

.faculty-home-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--theme-color, #F55734);
    color: #ffffff !important;
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    padding: 15px 36px;
    border-radius: 12px;
    border: 1px solid var(--theme-color, #F55734);
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(245, 87, 52, 0.28);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faculty-home-view-all-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faculty-home-view-all-btn:hover {
    background-color: var(--title-color2, #00274c);
    border-color: var(--title-color2, #00274c);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 39, 76, 0.22);
}

.faculty-home-view-all-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 575.98px) {
    .faculty-home-view-all-wrap {
        margin-top: 35px;
    }

    .faculty-home-view-all-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        font-size: 14.5px;
    }
}

/* Empty State */
.faculty-members-page .faculty-empty-state {
    background: #ffffff;
    border: 2px dashed var(--th-border-color, #cbd5e1);
    border-radius: 16px;
    padding: 60px 24px;
    text-align: center;
    margin: 20px 0;
}

.faculty-members-page .faculty-empty-icon {
    font-size: 54px;
    color: var(--theme-color, #F55734);
    margin-bottom: 18px;
    opacity: 0.85;
}

.faculty-members-page .faculty-empty-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--title-color, #00274c);
    margin-bottom: 8px;
}

.faculty-members-page .faculty-empty-desc {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.faculty-members-page .faculty-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: var(--theme-color, #F55734);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faculty-members-page .faculty-empty-btn:hover {
    background-color: var(--title-color, #00274c);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 39, 76, 0.15);
}

/* Responsive Media Queries for Faculty Filter & Cards */
@media (max-width: 1199px) {
    .faculty-members-page .faculty-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faculty-members-page .faculty-filter-actions {
        grid-column: span 2;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .faculty-members-page {
        padding: 40px 0 60px;
    }

    .faculty-members-page .faculty-filter-card {
        padding: 20px 16px;
    }

    .faculty-members-page .faculty-filter-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .faculty-members-page .faculty-filter-actions {
        grid-column: span 1;
        flex-direction: column;
        width: 100%;
    }

    .faculty-members-page .faculty-filter-btn {
        width: 100%;
    }

    .faculty-members-page .faculty-meta-bar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/*==============================================================
# Faculty Member Details - Frontend Page Scoped Styles
==============================================================*/
.faculty-member-details-page {
    position: relative;
    padding: 60px 0 90px;
    background-color: #fafbfc;
}

/* Profile Sidebar Card */
.faculty-member-details-page .faculty-detail-profile-card {
    background: #ffffff;
    border: 1px solid var(--th-border-color, #e2e8f0);
    border-radius: 16px;
    padding: 32px 24px 28px;
    box-shadow: 0 4px 20px rgba(0, 39, 76, 0.04);
    text-align: center;
}

/* Large Featured Circular Portrait */
.faculty-member-details-page .faculty-detail-photo-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--theme-color, #F55734) 0%, rgba(245, 87, 52, 0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(245, 87, 52, 0.16);
    flex-shrink: 0;
}

.faculty-member-details-page .faculty-detail-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 4px solid #ffffff;
    background-color: #ffffff;
}

.faculty-member-details-page .faculty-detail-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f1f5f9;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #94a3b8;
}

/* Profile Titles & Badge */
.faculty-member-details-page .faculty-detail-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--title-color, #00274c);
    margin-bottom: 6px;
    line-height: 1.35;
}

.faculty-member-details-page .faculty-detail-designation {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--theme-color, #F55734);
    margin-bottom: 14px;
    line-height: 1.4;
}

.faculty-member-details-page .faculty-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}

.faculty-member-details-page .faculty-detail-badge--teaching {
    background-color: rgba(245, 87, 52, 0.1);
    color: var(--theme-color, #F55734);
    border: 1px solid rgba(245, 87, 52, 0.2);
}

.faculty-member-details-page .faculty-detail-badge--non-teaching {
    background-color: rgba(0, 39, 76, 0.08);
    color: var(--title-color, #00274c);
    border: 1px solid rgba(0, 39, 76, 0.15);
}

/* Detail Metadata List */
.faculty-member-details-page .faculty-detail-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    padding-top: 20px;
    border-top: 1px dashed var(--th-border-color, #e2e8f0);
    margin-bottom: 24px;
}

.faculty-member-details-page .faculty-detail-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--body-color, #475569);
    line-height: 1.5;
}

.faculty-member-details-page .faculty-detail-meta-item i {
    font-size: 14px;
    color: var(--theme-color, #F55734);
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.faculty-member-details-page .faculty-detail-meta-label {
    font-weight: 600;
    color: var(--title-color, #00274c);
    margin-right: 4px;
}

.faculty-member-details-page .faculty-detail-email-link {
    color: var(--theme-color, #F55734);
    text-decoration: none;
    word-break: break-all;
    transition: all 0.2s ease;
}

.faculty-member-details-page .faculty-detail-email-link:hover {
    color: var(--title-color, #00274c);
    text-decoration: underline;
}

/* Back Link Button */
.faculty-member-details-page .faculty-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--title-color, #00274c);
    border: 1px solid var(--th-border-color, #cbd5e1);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faculty-member-details-page .faculty-back-btn:hover {
    background: var(--title-color, #00274c);
    color: #ffffff;
    border-color: var(--title-color, #00274c);
}

/* Main Content Card (Long Description) */
.faculty-member-details-page .faculty-detail-content-card {
    background: #ffffff;
    border: 1px solid var(--th-border-color, #e2e8f0);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(0, 39, 76, 0.04);
}

.faculty-member-details-page .faculty-detail-sec-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color, #00274c);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--theme-color, #F55734);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faculty-member-details-page .faculty-detail-sec-title i {
    color: var(--theme-color, #F55734);
}

/* Responsive CKEditor Rich Content */
.faculty-member-details-page .faculty-detail-rich-content {
    font-size: 15px;
    line-height: 1.75;
    color: var(--body-color, #334155);
}

.faculty-member-details-page .faculty-detail-rich-content p {
    margin-bottom: 16px;
}

.faculty-member-details-page .faculty-detail-rich-content table {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    display: block;
    margin: 20px 0;
    border-collapse: collapse;
}

.faculty-member-details-page .faculty-detail-rich-content table td,
.faculty-member-details-page .faculty-detail-rich-content table th {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
}

.faculty-member-details-page .faculty-detail-rich-content table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: var(--title-color, #00274c);
}

.faculty-member-details-page .faculty-detail-rich-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 15px 0;
}

.faculty-member-details-page .faculty-detail-rich-content a {
    color: var(--theme-color, #F55734);
    text-decoration: underline;
}

.faculty-member-details-page .faculty-detail-rich-content ul,
.faculty-member-details-page .faculty-detail-rich-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.faculty-member-details-page .faculty-detail-rich-content li {
    margin-bottom: 6px;
}

.faculty-member-details-page .faculty-detail-rich-content * {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Not Found / Empty Card on Details Page */
.faculty-member-details-page .faculty-detail-notfound {
    background: #ffffff;
    border: 2px dashed var(--th-border-color, #cbd5e1);
    border-radius: 16px;
    padding: 60px 24px;
    text-align: center;
}

.faculty-member-details-page .faculty-detail-notfound-icon {
    font-size: 54px;
    color: var(--theme-color, #F55734);
    margin-bottom: 18px;
    opacity: 0.85;
}

.faculty-member-details-page .faculty-detail-notfound-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--title-color, #00274c);
    margin-bottom: 8px;
}

.faculty-member-details-page .faculty-detail-notfound-desc {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.faculty-member-details-page .faculty-detail-notfound .faculty-back-btn {
    display: inline-flex;
    width: auto;
    padding: 12px 28px;
}

@media (max-width: 991px) {
    .faculty-member-details-page {
        padding: 40px 0 60px;
    }

    .faculty-member-details-page .faculty-detail-content-card {
        padding: 24px 20px;
        margin-top: 24px;
    }
}

/* =========================================================================
   Faculty Members Page - Scoped Pagination Styling
   ========================================================================= */
.faculty-members-page .th-pagination {
    margin-top: 50px;
    margin-bottom: 0;
}

.faculty-members-page .th-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.faculty-members-page .th-pagination li {
    margin: 0;
    list-style: none;
}

.faculty-members-page .th-pagination a,
.faculty-members-page .th-pagination span {
    border-radius: 8px;
    transition: all 0.3s ease;
}

@media (max-width: 575px) {
    .faculty-members-page .th-pagination {
        margin-top: 36px;
    }

    .faculty-members-page .th-pagination ul {
        gap: 5px;
    }

    .faculty-members-page .th-pagination a,
    .faculty-members-page .th-pagination span {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 13px;
        border-radius: 6px;
    }
}

/* =========================================================================
   PREMIUM DEPARTMENT HOME PAGE REDESIGN
   Strictly scoped to .department-home-page
   Theme Variables:
     --theme-color: #792D43
     --theme-color-light: #F2F2F4
   ========================================================================= */

/* Hide artificial inner header in Department Home Page context without leaving gap */
.department-home-page .dept-home-clp-inner-header {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Page Container & Background */
.department-home-page {
    background-color: #f8fafc;
}

.department-home-page #department-home-main {
    background-color: #f8fafc;
    padding: 80px 40px !important;
}

/* -------------------------------------------------------------------------
   1. Left Navigation (Academic Sidebar)
   ------------------------------------------------------------------------- */
.department-home-page .custom-sidebar {
    position: relative;
}

.department-home-page .custom-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 95px;
    z-index: 10;
}

.department-home-page .custom-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 39, 76, 0.03);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.department-home-page .custom-sidebar-header {
    padding: 20px 22px;
    background: #ffffff;
    border-bottom: 2px solid var(--theme-color-light, #F2F2F4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.department-home-page .custom-sidebar-title {
    margin: 0;
    font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--theme-color, #792D43);
    display: flex;
    align-items: center;
    gap: 8px;
}

.department-home-page .custom-sidebar-title i {
    font-size: 14px;
    opacity: 0.9;
}

.department-home-page .custom-nav-menu {
    padding: 12px 14px;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.department-home-page .custom-nav-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.department-home-page .custom-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    color: #334155;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    border: 1px solid transparent;
}

.department-home-page .custom-nav-link .nav-icon-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.department-home-page .custom-nav-link .nav-icon {
    font-size: 14.5px;
    color: var(--theme-color, #792D43);
    opacity: 0.8;
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.department-home-page .custom-nav-link .nav-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.department-home-page .custom-nav-link .nav-arrow {
    font-size: 11px;
    color: #94a3b8;
    flex-shrink: 0;
    margin-left: 8px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.department-home-page .custom-nav-link:hover {
    background: var(--theme-color-light, #F2F2F4);
    color: var(--theme-color, #792D43);
    font-weight: 600;
    border-color: rgba(121, 45, 67, 0.12);
    transform: translateX(3px);
}

.department-home-page .custom-nav-link:hover .nav-icon {
    opacity: 1;
    transform: scale(1.1);
}

.department-home-page .custom-nav-link:hover .nav-arrow {
    color: var(--theme-color, #792D43);
    transform: translateX(2px);
}

.department-home-page .custom-nav-link.active {
    background: linear-gradient(135deg, var(--theme-color, #792D43) 0%, #602133 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(121, 45, 67, 0.22);
    border-color: transparent;
}

.department-home-page .custom-nav-link.active .nav-icon {
    color: #ffffff;
    opacity: 1;
}

.department-home-page .custom-nav-link.active .nav-arrow {
    color: #ffffff;
    transform: translateX(3px);
}

/* -------------------------------------------------------------------------
   2. Main Content Stack & Section Cards
   ------------------------------------------------------------------------- */
.department-home-page .custom-sections-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.department-home-page .custom-layout-section {
    position: relative;
    scroll-margin-top: 110px;
}

.department-home-page .custom-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 38px 42px;
    box-shadow: 0 4px 20px rgba(0, 39, 76, 0.03);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.department-home-page .custom-content-card:hover {
    border-color: rgba(121, 45, 67, 0.22);
    box-shadow: 0 8px 30px rgba(121, 45, 67, 0.06);
}

/* -------------------------------------------------------------------------
   3. Section Header Bar
   ------------------------------------------------------------------------- */
.department-home-page .custom-sec-header {
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.department-home-page .custom-sec-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3.5px;
    background: var(--theme-color, #792D43);
    border-radius: 3px;
}

.department-home-page .custom-sec-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.department-home-page .custom-sec-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--theme-color-light, #F2F2F4);
    color: var(--theme-color, #792D43);
    border: 1px solid rgba(121, 45, 67, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.department-home-page .custom-content-card:hover .custom-sec-icon-box {
    transform: scale(1.06);
    background: rgba(121, 45, 67, 0.12);
}

.department-home-page .custom-sec-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--theme-color);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.department-home-page .custom-sec-header .text-muted,
.department-home-page .custom-sec-subtitle {
    font-size: 13.5px;
    color: #64748b !important;
    font-weight: 500;
    line-height: 1.35;
}

/* -------------------------------------------------------------------------
   4. Rich Content Typography (Layout 1: Only Content & General Text)
   ------------------------------------------------------------------------- */
.department-home-page .faculty-home-content,
.department-home-page .custom-layout-content {
    font-size: 15.5px;
    line-height: 1.8;
    color: #374151;
}

.department-home-page .faculty-home-content p,
.department-home-page .custom-layout-content p {
    margin-bottom: 16px;
}

.department-home-page .faculty-home-content h2,
.department-home-page .faculty-home-content h3,
.department-home-page .faculty-home-content h4,
.department-home-page .custom-layout-content h2,
.department-home-page .custom-layout-content h3,
.department-home-page .custom-layout-content h4 {
    font-family: var(--title-font, 'Lora', serif);
    color: #1e293b;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.department-home-page .faculty-home-content h3,
.department-home-page .custom-layout-content h3 {
    font-size: 20px;
}

.department-home-page .faculty-home-content h4,
.department-home-page .custom-layout-content h4 {
    font-size: 17.5px;
}

/* -------------------------------------------------------------------------
   Department Home Page — Professional Rich-Text List Styling
   Applies to: Only Content, Split Images, Vision & Mission, Custom Layout Pages,
   Content Grid / Masonry Grid cards, and all Department Home Page content containers.
   ------------------------------------------------------------------------- */

/* Top-Level Unordered Lists (ul) */
.department-home-page .faculty-home-content ul,
.department-home-page .custom-layout-content ul,
.department-home-page .custom-body-text ul,
.department-home-page .faculty-home-vm-body ul,
.department-home-page .custom-subsec-body ul,
.department-home-page .dept-content-grid-card__content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 18px;
}

/* Top-Level Ordered Lists (ol) */
.department-home-page .faculty-home-content ol,
.department-home-page .custom-layout-content ol,
.department-home-page .custom-body-text ol,
.department-home-page .faculty-home-vm-body ol,
.department-home-page .custom-subsec-body ol,
.department-home-page .dept-content-grid-card__content ol {
    list-style-type: decimal;
    padding-left: 24px;
    margin-top: 0;
    margin-bottom: 18px;
}

/* Unordered List Items — Balanced Spacing & Text Alignment */
.department-home-page .faculty-home-content ul > li,
.department-home-page .custom-layout-content ul > li,
.department-home-page .custom-body-text ul > li,
.department-home-page .faculty-home-vm-body ul > li,
.department-home-page .custom-subsec-body ul > li,
.department-home-page .dept-content-grid-card__content ul > li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    line-height: 1.75;
    color: inherit;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Custom Unordered List Marker (Level 1) — Theme-Colored Circular Bullet */
.department-home-page .faculty-home-content ul > li::before,
.department-home-page .custom-layout-content ul > li::before,
.department-home-page .custom-body-text ul > li::before,
.department-home-page .faculty-home-vm-body ul > li::before,
.department-home-page .custom-subsec-body ul > li::before,
.department-home-page .dept-content-grid-card__content ul > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.65em;
    transform: translateY(-50%);
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background-color: var(--theme-color, #792D43);
    pointer-events: none;
    box-sizing: border-box;
}

/* Ordered List Items — Theme-Styled Number Markers */
.department-home-page .faculty-home-content ol > li,
.department-home-page .custom-layout-content ol > li,
.department-home-page .custom-body-text ol > li,
.department-home-page .faculty-home-vm-body ol > li,
.department-home-page .custom-subsec-body ol > li,
.department-home-page .dept-content-grid-card__content ol > li {
    margin-bottom: 8px;
    line-height: 1.75;
    padding-left: 4px;
    color: inherit;
    overflow-wrap: break-word;
    word-break: break-word;
}

.department-home-page .faculty-home-content ol > li::marker,
.department-home-page .custom-layout-content ol > li::marker,
.department-home-page .custom-body-text ol > li::marker,
.department-home-page .faculty-home-vm-body ol > li::marker,
.department-home-page .custom-subsec-body ol > li::marker,
.department-home-page .dept-content-grid-card__content ol > li::marker {
    color: var(--theme-color, #792D43);
    font-weight: 700;
    font-family: inherit;
}

/* Level 2 Nested Unordered Lists (ul ul) — Subtle Hollow Circle Marker */
.department-home-page .faculty-home-content ul ul,
.department-home-page .custom-layout-content ul ul,
.department-home-page .custom-body-text ul ul,
.department-home-page .faculty-home-vm-body ul ul,
.department-home-page .custom-subsec-body ul ul,
.department-home-page .dept-content-grid-card__content ul ul {
    list-style: none;
    padding-left: 4px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.department-home-page .faculty-home-content ul ul > li,
.department-home-page .custom-layout-content ul ul > li,
.department-home-page .custom-body-text ul ul > li,
.department-home-page .faculty-home-vm-body ul ul > li,
.department-home-page .custom-subsec-body ul ul > li,
.department-home-page .dept-content-grid-card__content ul ul > li {
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.96em;
    line-height: 1.7;
}

.department-home-page .faculty-home-content ul ul > li::before,
.department-home-page .custom-layout-content ul ul > li::before,
.department-home-page .custom-body-text ul ul > li::before,
.department-home-page .faculty-home-vm-body ul ul > li::before,
.department-home-page .custom-subsec-body ul ul > li::before,
.department-home-page .dept-content-grid-card__content ul ul > li::before {
    left: 4px;
    top: 0.65em;
    width: 5.5px;
    height: 5.5px;
    border-radius: 50%;
    background-color: transparent;
    border: 1.5px solid var(--theme-color, #792D43);
}

/* Level 3 Nested Unordered Lists (ul ul ul) — Subtle Dash / Small Dot */
.department-home-page .faculty-home-content ul ul ul,
.department-home-page .custom-layout-content ul ul ul,
.department-home-page .custom-body-text ul ul ul,
.department-home-page .faculty-home-vm-body ul ul ul,
.department-home-page .custom-subsec-body ul ul ul,
.department-home-page .dept-content-grid-card__content ul ul ul {
    list-style: none;
    padding-left: 4px;
    margin-top: 5px;
    margin-bottom: 6px;
}

.department-home-page .faculty-home-content ul ul ul > li,
.department-home-page .custom-layout-content ul ul ul > li,
.department-home-page .custom-body-text ul ul ul > li,
.department-home-page .faculty-home-vm-body ul ul ul > li,
.department-home-page .custom-subsec-body ul ul ul > li,
.department-home-page .dept-content-grid-card__content ul ul ul > li {
    padding-left: 18px;
    margin-bottom: 5px;
    font-size: 0.94em;
    line-height: 1.65;
}

.department-home-page .faculty-home-content ul ul ul > li::before,
.department-home-page .custom-layout-content ul ul ul > li::before,
.department-home-page .custom-body-text ul ul ul > li::before,
.department-home-page .faculty-home-vm-body ul ul ul > li::before,
.department-home-page .custom-subsec-body ul ul ul > li::before,
.department-home-page .dept-content-grid-card__content ul ul ul > li::before {
    left: 4px;
    top: 0.65em;
    width: 4.5px;
    height: 4.5px;
    border-radius: 1px;
    background-color: #64748b;
    border: none;
}

/* Level 2 Nested Ordered Lists (ol ol) — Lower Alpha (a, b, c) */
.department-home-page .faculty-home-content ol ol,
.department-home-page .custom-layout-content ol ol,
.department-home-page .custom-body-text ol ol,
.department-home-page .faculty-home-vm-body ol ol,
.department-home-page .custom-subsec-body ol ol,
.department-home-page .dept-content-grid-card__content ol ol {
    list-style-type: lower-alpha;
    padding-left: 22px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.department-home-page .faculty-home-content ol ol > li,
.department-home-page .custom-layout-content ol ol > li,
.department-home-page .custom-body-text ol ol > li,
.department-home-page .faculty-home-vm-body ol ol > li,
.department-home-page .custom-subsec-body ol ol > li,
.department-home-page .dept-content-grid-card__content ol ol > li {
    margin-bottom: 6px;
    font-size: 0.96em;
    line-height: 1.7;
}

.department-home-page .faculty-home-content ol ol > li::marker,
.department-home-page .custom-layout-content ol ol > li::marker,
.department-home-page .custom-body-text ol ol > li::marker,
.department-home-page .faculty-home-vm-body ol ol > li::marker,
.department-home-page .custom-subsec-body ol ol > li::marker,
.department-home-page .dept-content-grid-card__content ol ol > li::marker {
    color: var(--theme-color, #792D43);
    font-weight: 600;
}

/* Level 3 Nested Ordered Lists (ol ol ol) — Lower Roman (i, ii, iii) */
.department-home-page .faculty-home-content ol ol ol,
.department-home-page .custom-layout-content ol ol ol,
.department-home-page .custom-body-text ol ol ol,
.department-home-page .faculty-home-vm-body ol ol ol,
.department-home-page .custom-subsec-body ol ol ol,
.department-home-page .dept-content-grid-card__content ol ol ol {
    list-style-type: lower-roman;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 6px;
}

.department-home-page .faculty-home-content ol ol ol > li,
.department-home-page .custom-layout-content ol ol ol > li,
.department-home-page .custom-body-text ol ol ol > li,
.department-home-page .faculty-home-vm-body ol ol ol > li,
.department-home-page .custom-subsec-body ol ol ol > li,
.department-home-page .dept-content-grid-card__content ol ol ol > li {
    margin-bottom: 5px;
    font-size: 0.94em;
    line-height: 1.65;
}

.department-home-page .faculty-home-content ol ol ol > li::marker,
.department-home-page .custom-layout-content ol ol ol > li::marker,
.department-home-page .custom-body-text ol ol ol > li::marker,
.department-home-page .faculty-home-vm-body ol ol ol > li::marker,
.department-home-page .custom-subsec-body ol ol ol > li::marker,
.department-home-page .dept-content-grid-card__content ol ol ol > li::marker {
    color: #4b5563;
    font-weight: 600;
}

/* Mixed Nesting: Ordered List nested inside Unordered List (ul ol) */
.department-home-page .faculty-home-content ul ol,
.department-home-page .custom-layout-content ul ol,
.department-home-page .custom-body-text ul ol,
.department-home-page .faculty-home-vm-body ul ol,
.department-home-page .custom-subsec-body ul ol,
.department-home-page .dept-content-grid-card__content ul ol {
    list-style-type: decimal;
    padding-left: 22px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.department-home-page .faculty-home-content ul ol > li,
.department-home-page .custom-layout-content ul ol > li,
.department-home-page .custom-body-text ul ol > li,
.department-home-page .faculty-home-vm-body ul ol > li,
.department-home-page .custom-subsec-body ul ol > li,
.department-home-page .dept-content-grid-card__content ul ol > li {
    padding-left: 4px;
}

/* Strict Prevention of Double Markers on Ordered Lists inside Unordered Lists */
.department-home-page .faculty-home-content ul ol li::before,
.department-home-page .custom-layout-content ul ol li::before,
.department-home-page .custom-body-text ul ol li::before,
.department-home-page .faculty-home-vm-body ul ol li::before,
.department-home-page .custom-subsec-body ul ol li::before,
.department-home-page .dept-content-grid-card__content ul ol li::before {
    content: none !important;
}

/* Mixed Nesting: Unordered List nested inside Ordered List (ol ul) */
.department-home-page .faculty-home-content ol ul,
.department-home-page .custom-layout-content ol ul,
.department-home-page .custom-body-text ol ul,
.department-home-page .faculty-home-vm-body ol ul,
.department-home-page .custom-subsec-body ol ul,
.department-home-page .dept-content-grid-card__content ol ul {
    list-style: none;
    padding-left: 4px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.department-home-page .faculty-home-content ol ul > li,
.department-home-page .custom-layout-content ol ul > li,
.department-home-page .custom-body-text ol ul > li,
.department-home-page .faculty-home-vm-body ol ul > li,
.department-home-page .custom-subsec-body ol ul > li,
.department-home-page .dept-content-grid-card__content ol ul > li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}

.department-home-page .faculty-home-content ol ul > li::before,
.department-home-page .custom-layout-content ol ul > li::before,
.department-home-page .custom-body-text ol ul > li::before,
.department-home-page .faculty-home-vm-body ol ul > li::before,
.department-home-page .custom-subsec-body ol ul > li::before,
.department-home-page .dept-content-grid-card__content ol ul > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.65em;
    transform: translateY(-50%);
    width: 5.5px;
    height: 5.5px;
    border-radius: 50%;
    background-color: transparent;
    border: 1.5px solid var(--theme-color, #792D43);
    pointer-events: none;
    box-sizing: border-box;
}

/* Vertical Spacing: Paragraph immediately preceding a List */
.department-home-page .faculty-home-content p + ul,
.department-home-page .faculty-home-content p + ol,
.department-home-page .custom-layout-content p + ul,
.department-home-page .custom-layout-content p + ol,
.department-home-page .custom-body-text p + ul,
.department-home-page .custom-body-text p + ol,
.department-home-page .faculty-home-vm-body p + ul,
.department-home-page .faculty-home-vm-body p + ol,
.department-home-page .custom-subsec-body p + ul,
.department-home-page .custom-subsec-body p + ol,
.department-home-page .dept-content-grid-card__content p + ul,
.department-home-page .dept-content-grid-card__content p + ol {
    margin-top: -4px;
}

/* Clean Margin: Remove Excess Trailing Margin on Final List Items */
.department-home-page .faculty-home-content ul > li:last-child,
.department-home-page .faculty-home-content ol > li:last-child,
.department-home-page .custom-layout-content ul > li:last-child,
.department-home-page .custom-layout-content ol > li:last-child,
.department-home-page .custom-body-text ul > li:last-child,
.department-home-page .custom-body-text ol > li:last-child,
.department-home-page .faculty-home-vm-body ul > li:last-child,
.department-home-page .faculty-home-vm-body ol > li:last-child,
.department-home-page .custom-subsec-body ul > li:last-child,
.department-home-page .custom-subsec-body ol > li:last-child,
.department-home-page .dept-content-grid-card__content ul > li:last-child,
.department-home-page .dept-content-grid-card__content ol > li:last-child {
    margin-bottom: 0;
}

/* Rich-Text Formatting Inside List Items (<p>, inline formatting) */
.department-home-page .faculty-home-content li > p,
.department-home-page .custom-layout-content li > p,
.department-home-page .custom-body-text li > p,
.department-home-page .faculty-home-vm-body li > p,
.department-home-page .custom-subsec-body li > p,
.department-home-page .dept-content-grid-card__content li > p {
    margin-bottom: 6px;
    line-height: inherit;
}

.department-home-page .faculty-home-content li > p:last-child,
.department-home-page .custom-layout-content li > p:last-child,
.department-home-page .custom-body-text li > p:last-child,
.department-home-page .faculty-home-vm-body li > p:last-child,
.department-home-page .custom-subsec-body li > p:last-child,
.department-home-page .dept-content-grid-card__content li > p:last-child {
    margin-bottom: 0;
}

/* Responsive List Adjustments for Tablet and Mobile (< 768px) */
@media (max-width: 767.98px) {
    .department-home-page .faculty-home-content ul > li,
    .department-home-page .custom-layout-content ul > li,
    .department-home-page .custom-body-text ul > li,
    .department-home-page .faculty-home-vm-body ul > li,
    .department-home-page .custom-subsec-body ul > li,
    .department-home-page .dept-content-grid-card__content ul > li {
        padding-left: 19px;
        margin-bottom: 7px;
    }

    .department-home-page .faculty-home-content ul > li::before,
    .department-home-page .custom-layout-content ul > li::before,
    .department-home-page .custom-body-text ul > li::before,
    .department-home-page .faculty-home-vm-body ul > li::before,
    .department-home-page .custom-subsec-body ul > li::before,
    .department-home-page .dept-content-grid-card__content ul > li::before {
        left: 2px;
        width: 6px;
        height: 6px;
    }

    .department-home-page .faculty-home-content ol,
    .department-home-page .custom-layout-content ol,
    .department-home-page .custom-body-text ol,
    .department-home-page .faculty-home-vm-body ol,
    .department-home-page .custom-subsec-body ol,
    .department-home-page .dept-content-grid-card__content ol {
        padding-left: 20px;
    }

    .department-home-page .faculty-home-content ol ol,
    .department-home-page .custom-layout-content ol ol,
    .department-home-page .custom-body-text ol ol,
    .department-home-page .faculty-home-vm-body ol ol,
    .department-home-page .custom-subsec-body ol ol,
    .department-home-page .dept-content-grid-card__content ol ol,
    .department-home-page .faculty-home-content ul ol,
    .department-home-page .custom-layout-content ul ol,
    .department-home-page .custom-body-text ul ol,
    .department-home-page .faculty-home-vm-body ul ol,
    .department-home-page .custom-subsec-body ul ol,
    .department-home-page .dept-content-grid-card__content ul ol {
        padding-left: 16px;
    }

    .department-home-page .faculty-home-content ul ul,
    .department-home-page .custom-layout-content ul ul,
    .department-home-page .custom-body-text ul ul,
    .department-home-page .faculty-home-vm-body ul ul,
    .department-home-page .custom-subsec-body ul ul,
    .department-home-page .dept-content-grid-card__content ul ul,
    .department-home-page .faculty-home-content ol ul,
    .department-home-page .custom-layout-content ol ul,
    .department-home-page .custom-body-text ol ul,
    .department-home-page .faculty-home-vm-body ol ul,
    .department-home-page .custom-subsec-body ol ul,
    .department-home-page .dept-content-grid-card__content ol ul {
        padding-left: 2px;
    }

    .department-home-page .faculty-home-content ul ul > li,
    .department-home-page .custom-layout-content ul ul > li,
    .department-home-page .custom-body-text ul ul > li,
    .department-home-page .faculty-home-vm-body ul ul > li,
    .department-home-page .custom-subsec-body ul ul > li,
    .department-home-page .dept-content-grid-card__content ul ul > li,
    .department-home-page .faculty-home-content ol ul > li,
    .department-home-page .custom-layout-content ol ul > li,
    .department-home-page .custom-body-text ol ul > li,
    .department-home-page .faculty-home-vm-body ol ul > li,
    .department-home-page .custom-subsec-body ol ul > li,
    .department-home-page .dept-content-grid-card__content ol ul > li {
        padding-left: 17px;
    }

    .department-home-page .faculty-home-content ul ul > li::before,
    .department-home-page .custom-layout-content ul ul > li::before,
    .department-home-page .custom-body-text ul ul > li::before,
    .department-home-page .faculty-home-vm-body ul ul > li::before,
    .department-home-page .custom-subsec-body ul ul > li::before,
    .department-home-page .dept-content-grid-card__content ul ul > li::before,
    .department-home-page .faculty-home-content ol ul > li::before,
    .department-home-page .custom-layout-content ol ul > li::before,
    .department-home-page .custom-body-text ol ul > li::before,
    .department-home-page .faculty-home-vm-body ol ul > li::before,
    .department-home-page .custom-subsec-body ol ul > li::before,
    .department-home-page .dept-content-grid-card__content ol ul > li::before {
        left: 2px;
        width: 5px;
        height: 5px;
    }

    .department-home-page .faculty-home-content ul ul ul > li,
    .department-home-page .custom-layout-content ul ul ul > li,
    .department-home-page .custom-body-text ul ul ul > li,
    .department-home-page .faculty-home-vm-body ul ul ul > li,
    .department-home-page .custom-subsec-body ul ul ul > li,
    .department-home-page .dept-content-grid-card__content ul ul ul > li {
        padding-left: 15px;
    }

    .department-home-page .faculty-home-content ul ul ul > li::before,
    .department-home-page .custom-layout-content ul ul ul > li::before,
    .department-home-page .custom-body-text ul ul ul > li::before,
    .department-home-page .faculty-home-vm-body ul ul ul > li::before,
    .department-home-page .custom-subsec-body ul ul ul > li::before,
    .department-home-page .dept-content-grid-card__content ul ul ul > li::before {
        left: 2px;
        width: 4px;
        height: 4px;
    }
}

.department-home-page .faculty-home-content a,
.department-home-page .custom-layout-content a {
    color: var(--theme-color, #792D43);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.department-home-page .faculty-home-content a:hover,
.department-home-page .custom-layout-content a:hover {
    color: #5b1f30;
}

.department-home-page .faculty-home-content blockquote,
.department-home-page .custom-layout-content blockquote {
    border-left: 3.5px solid var(--theme-color, #792D43);
    background: var(--theme-color-light, #F2F2F4);
    padding: 16px 22px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
    font-style: italic;
    color: #475569;
}

.department-home-page .faculty-home-content table,
.department-home-page .custom-layout-content table {
    width: 100%;
    /*margin: 20px 0;*/
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.department-home-page .faculty-home-content table th,
.department-home-page .custom-layout-content table th {
    background: var(--theme-color-light, #F2F2F4);
    color: var(--theme-color, #792D43);
    font-weight: 600;
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.department-home-page .faculty-home-content table td,
.department-home-page .custom-layout-content table td {
    padding: 8px;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    color: #334155;
}

.department-home-page .faculty-home-content table tr:hover td,
.department-home-page .custom-layout-content table tr:hover td {
    background: #f8fafc;
}

.department-home-page .table-responsive, .department-home-page .custom-layout-content-table-wrapper table p {
    margin-bottom: 0px !important;
}

/* -------------------------------------------------------------------------
   5. Content + Image Layouts (Layouts 2 & 3)
   ------------------------------------------------------------------------- */
.department-home-page .faculty-home-split-row {
    align-items: center;
}

.department-home-page .faculty-home-img-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    background: #f8fafc;
}

.department-home-page .faculty-home-split-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.department-home-page .custom-content-card:hover .faculty-home-split-img {
    transform: scale(1.02);
}

/* -------------------------------------------------------------------------
   6. File Groups (Layout 4)
   ------------------------------------------------------------------------- */
.department-home-page .faculty-home-file-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--theme-color, #792D43);
    border-radius: 8px;
    padding: 0 8px 0 0;
    min-height: 42px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.department-home-page .faculty-home-file-card:hover {
    transform: translateY(-2px);
    border-color: rgba(121, 45, 67, 0.25);
    border-left-color: var(--theme-color, #792D43);
    box-shadow: 0 6px 18px rgba(121, 45, 67, 0.08);
}

.department-home-page .faculty-home-file-info {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
    flex: 1 1 auto;
}

.department-home-page .faculty-home-file-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    box-sizing: border-box;
    border-radius: 8px;
    background: var(--theme-color, #792D43);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.department-home-page .faculty-home-file-icon i,
.department-home-page .faculty-home-file-icon svg {
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1;
}

.department-home-page .faculty-home-file-details {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0 12px;
}

.department-home-page .faculty-home-file-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
}

.department-home-page .faculty-home-file-tag {
    display: none !important;
}

.department-home-page .faculty-home-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    background: var(--theme-color, #792D43);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.department-home-page .faculty-home-file-btn i {
    font-size: 14px;
    line-height: 1;
    margin: 0;
    transition: transform 0.2s ease;
}

.department-home-page .faculty-home-file-btn:hover {
    background: #5e2031;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(121, 45, 67, 0.25);
    transform: translateY(-1px);
}

.department-home-page .faculty-home-file-btn:hover i {
    transform: translateY(1px);
}

.department-home-page .faculty-home-file-btn:focus-visible {
    outline: 2px solid var(--theme-color, #792D43);
    outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   7. Photo Gallery (Layout 5)
   ------------------------------------------------------------------------- */
.department-home-page .faculty-home-gallery-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.department-home-page .faculty-home-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(121, 45, 67, 0.12);
    border-color: rgba(121, 45, 67, 0.25);
}

.department-home-page .faculty-home-gallery-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.department-home-page .faculty-home-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.department-home-page .faculty-home-gallery-card:hover .faculty-home-gallery-img {
    transform: scale(1.05);
}

.department-home-page .faculty-home-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(121, 45, 67, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.department-home-page .faculty-home-gallery-card:hover .faculty-home-gallery-overlay {
    opacity: 1;
}

.department-home-page .faculty-home-gallery-caption {
    padding: 11px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    border-top: 1px solid #edf2f7;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.department-home-page .faculty-home-gallery-caption i {
    color: var(--theme-color, #792D43);
    font-size: 13px;
}

/* -------------------------------------------------------------------------
   8. Vision & Mission (Layout 6)
   ------------------------------------------------------------------------- */
.department-home-page .faculty-home-vm-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--theme-color, #792D43);
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.department-home-page .faculty-home-vm-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.department-home-page .faculty-home-vm-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--theme-color-light, #F2F2F4);
    color: var(--theme-color, #792D43);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.department-home-page .faculty-home-vm-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.department-home-page .faculty-home-vm-img-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
}

.department-home-page .faculty-home-vm-img {
    width: 100%;
    height: auto;
    display: block;
}

/* -------------------------------------------------------------------------
   9. Faculty Members (Layout 8) - Department Home Page Auto-Playing Swiper
   ------------------------------------------------------------------------- */
.department-home-page .department-faculty-members-section {
    position: relative;
    width: 100%;
}

.department-home-page .department-faculty-members-section .dept-faculty-swiper-container {
    position: relative;
    padding: 0 26px;
    width: 100%;
}

.department-home-page .department-faculty-members-section .dept-faculty-slider {
    padding: 12px 6px 18px;
    margin: -12px -6px -18px;
    overflow: hidden;
}

.department-home-page .department-faculty-members-section .dept-faculty-slider .swiper-wrapper {
    align-items: stretch;
}

.department-home-page .department-faculty-members-section .dept-faculty-slider .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.department-home-page .department-faculty-members-section .dept-faculty-slider .swiper-slide .faculty-member-card {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--th-border-color, #e2e8f0);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.department-home-page .department-faculty-members-section .dept-faculty-slider .swiper-slide .faculty-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(121, 45, 67, 0.12);
    border-color: var(--theme-color, #792D43);
}

/* Scoped Theme Polish for Department Faculty Member Cards */
.department-home-page .department-faculty-members-section .faculty-member-photo-wrap,
.department-home-page .custom-split-img-wrap,
.department-home-page .custom-team-img-wrap {
    background: linear-gradient(135deg, var(--theme-color, #792D43) 0%, rgba(121, 45, 67, 0.22) 100%);
}

.department-home-page .department-faculty-members-section .faculty-member-card:hover .faculty-member-photo-wrap,
.department-home-page .custom-split-img-wrap:hover,
.department-home-page .custom-team-card:hover .custom-team-img-wrap {
    box-shadow: 0 0 0 4px rgba(121, 45, 67, 0.18);
}

.department-home-page .department-faculty-members-section .faculty-member-name a:hover {
    color: var(--theme-color, #792D43);
}

.department-home-page .department-faculty-members-section .faculty-member-designation {
    color: var(--theme-color, #792D43);
}

.department-home-page .department-faculty-members-section .faculty-member-meta-item i {
    color: var(--theme-color, #792D43);
}

.department-home-page .department-faculty-members-section .faculty-member-desc {
    border-left-color: var(--theme-color, #792D43);
}

.department-home-page .department-faculty-members-section .faculty-member-readmore {
    color: var(--theme-color, #792D43);
}

.department-home-page .department-faculty-members-section .faculty-member-email {
    color: var(--theme-color, #792D43);
}

.department-home-page .department-faculty-members-section .faculty-type-badge--teaching {
    background-color: rgba(121, 45, 67, 0.08);
    color: var(--theme-color, #792D43);
    border: 1px solid rgba(121, 45, 67, 0.2);
}

/* Carousel Subtle Navigation Arrows */
.department-home-page .department-faculty-members-section .dept-faculty-prev,
.department-home-page .department-faculty-members-section .dept-faculty-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    padding: 0;
    line-height: 1;
}

.department-home-page .department-faculty-members-section .dept-faculty-prev {
    left: 0;
}

.department-home-page .department-faculty-members-section .dept-faculty-next {
    right: 0;
}

.department-home-page .department-faculty-members-section .dept-faculty-prev:hover,
.department-home-page .department-faculty-members-section .dept-faculty-next:hover {
    background-color: var(--theme-color, #792D43);
    border-color: var(--theme-color, #792D43);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(121, 45, 67, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.department-home-page .department-faculty-members-section .dept-faculty-prev.swiper-button-disabled,
.department-home-page .department-faculty-members-section .dept-faculty-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.department-home-page .department-faculty-members-section .dept-faculty-prev.swiper-button-lock,
.department-home-page .department-faculty-members-section .dept-faculty-next.swiper-button-lock {
    display: none !important;
}

/* Carousel Subtle Pagination Bullets */
.department-home-page .department-faculty-members-section .dept-faculty-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 5;
}

.department-home-page .department-faculty-members-section .dept-faculty-pagination.swiper-pagination-lock {
    display: none !important;
}

.department-home-page .department-faculty-members-section .dept-faculty-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(121, 45, 67, 0.22);
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    margin: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.department-home-page .department-faculty-members-section .dept-faculty-pagination .swiper-pagination-bullet:hover {
    background: rgba(121, 45, 67, 0.45);
}

.department-home-page .department-faculty-members-section .dept-faculty-pagination .swiper-pagination-bullet-active {
    background: var(--theme-color, #792D43);
    width: 26px;
    border-radius: 6px;
}

/* View All Button Adjustment */
.department-home-page .department-faculty-members-section .faculty-home-view-all-wrap {
    text-align: center;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.department-home-page .department-faculty-members-section .faculty-home-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: var(--theme-color, #792D43);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.department-home-page .department-faculty-members-section .faculty-home-view-all-btn:hover {
    background: #5e2031;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(121, 45, 67, 0.25);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .department-home-page .department-faculty-members-section .dept-faculty-swiper-container {
        padding: 0 16px;
    }
}

@media (max-width: 767px) {
    .department-home-page .department-faculty-members-section .dept-faculty-swiper-container {
        padding: 0;
    }

    .department-home-page .department-faculty-members-section .dept-faculty-prev,
    .department-home-page .department-faculty-members-section .dept-faculty-next {
        display: none !important;
    }

    .department-home-page .department-faculty-members-section .dept-faculty-slider {
        padding: 8px 0 14px;
        margin: -8px 0 -14px;
    }
}

/* -------------------------------------------------------------------------
   10. Custom Layout Pages in Department Home Page (Layout 9)
   ------------------------------------------------------------------------- */
.department-home-page .dept-home-clp-group-body {
    display: flex;
    flex-direction: column;
}

.department-home-page .dept-home-clp-group-item {
    position: relative;
}

.department-home-page .dept-home-clp-group-item.dept-home-clp-continuation-item {
    margin-top: 36px;
    padding-top: 0;
    border-top: none;
}

.department-home-page .dept-home-clp-subsec-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.department-home-page .dept-home-clp-subsec-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.department-home-page .dept-home-clp-subsec-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--theme-color-light, #F2F2F4);
    color: var(--theme-color, #792D43);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.department-home-page .dept-home-clp-subsec-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
}

/* Department Home Page - Outer CLP Card Header Accent */
.department-home-page .dept-home-clp-outer-header {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.department-home-page .dept-home-clp-outer-header::after {
    background: var(--theme-color, #792D43);
    width: 50px;
    height: 2.5px;
    bottom: -1px;
}

/* -------------------------------------------------------------------------
   Department Home Page - CLP Accordion Subsections Standardization
   Matching clean vertical rhythm, alignment, dividers, and accent underlines
   ------------------------------------------------------------------------- */
.department-home-page .dept-home-clp-accordion-item,
.department-home-page .dept-home-clp-accordion-item.is-collapsed,
.department-home-page .dept-home-clp-accordion-item.is-expanded {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e9ecef !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

.department-home-page .dept-home-clp-accordion-item:last-child {
    border-bottom: none !important;
}

/* Accordion Subsection Interactive Header */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-header.custom-sec-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    width: 100%;
    margin: 0 !important;
    padding: 16px 0 !important;
    border: none !important;
    border-bottom: 1px solid transparent !important;
    position: relative;
    cursor: pointer;
    user-select: none;
    background: transparent !important;
    border-radius: 0 !important;
    transition: color 0.2s ease, padding 0.25s ease;
}

/* Accent Underline on Accordion Header */
.department-home-page .dept-home-clp-accordion-item .custom-sec-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2.5px;
    background: var(--theme-color, #792D43);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Expanded Subsection State */
.department-home-page .dept-home-clp-accordion-item.is-expanded > .custom-sec-header,
.department-home-page .dept-home-clp-accordion-item .custom-sec-header[aria-expanded="true"] {
    padding-bottom: 14px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.department-home-page .dept-home-clp-accordion-item.is-expanded > .custom-sec-header::after,
.department-home-page .dept-home-clp-accordion-item .custom-sec-header[aria-expanded="true"]::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Collapsed Subsection State */
.department-home-page .dept-home-clp-accordion-item.is-collapsed > .custom-sec-header,
.department-home-page .dept-home-clp-accordion-item .custom-sec-header[aria-expanded="false"] {
    padding: 16px 0 !important;
    border-bottom: 1px solid transparent !important;
}

.department-home-page .dept-home-clp-accordion-item.is-collapsed > .custom-sec-header::after,
.department-home-page .dept-home-clp-accordion-item .custom-sec-header[aria-expanded="false"]::after {
    opacity: 0;
    transform: scaleX(0);
}

/* Subsection Title & Icon Wrap */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--theme-color-light, #F2F2F4);
    color: var(--theme-color, #792D43);
    border: 1px solid rgba(121, 45, 67, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.department-home-page .dept-home-clp-accordion-item .custom-sec-header:hover .dept-home-clp-subsec-icon-box {
    transform: scale(1.05);
    background: rgba(121, 45, 67, 0.12);
    border-color: rgba(121, 45, 67, 0.25);
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 !important;
    line-height: 1.35;
    word-break: break-word;
    transition: color 0.2s ease;
}

.department-home-page .dept-home-clp-accordion-item .custom-sec-header:hover .dept-home-clp-subsec-title {
    color: var(--theme-color, #792D43);
}

/* Accordion Toggle Circular Chevron Button */
.department-home-page .dept-home-clp-accordion-item .custom-sec-toggle-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.department-home-page .dept-home-clp-accordion-item .custom-sec-header:hover .custom-sec-toggle-icon {
    background: rgba(121, 45, 67, 0.08);
    border-color: rgba(121, 45, 67, 0.25);
    color: var(--theme-color, #792D43);
}

.department-home-page .dept-home-clp-accordion-item.is-expanded .custom-sec-toggle-icon,
.department-home-page .dept-home-clp-accordion-item .custom-sec-header[aria-expanded="true"] .custom-sec-toggle-icon {
    transform: rotate(180deg) !important;
    background: rgba(121, 45, 67, 0.08) !important;
    border-color: rgba(121, 45, 67, 0.25) !important;
    color: var(--theme-color, #792D43) !important;
}

.department-home-page .dept-home-clp-accordion-item.is-collapsed .custom-sec-toggle-icon,
.department-home-page .dept-home-clp-accordion-item .custom-sec-header[aria-expanded="false"] .custom-sec-toggle-icon {
    transform: rotate(0deg) !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
}

/* Expanded Subsection Content & List Spacing */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body {
    padding: 18px 0 24px 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body p {
    margin-bottom: 14px;
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body p:last-child {
    margin-bottom: 0;
}

/* Unordered Lists (ul) in Accordion Subsection: Disable default browser markers to avoid duplicate bullets */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ul {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0;
    margin-top: 8px;
    margin-bottom: 14px;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ul > li {
    list-style: none !important;
    list-style-type: none !important;
    margin-bottom: 10px;
    line-height: 1.65;
    color: #334155;
    font-size: 15px;
}

/* Explicitly hide browser default markers for modern rendering engines */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ul > li::marker {
    content: "" !important;
    display: none !important;
    color: transparent !important;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ul > li:last-child {
    margin-bottom: 0;
}

/* Level 2 Nested Unordered Lists (ul ul) */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ul ul {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 4px;
    margin-top: 6px;
    margin-bottom: 8px;
}

/* Level 3 Nested Unordered Lists (ul ul ul) */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ul ul ul {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 4px;
    margin-top: 5px;
    margin-bottom: 6px;
}

/* Ordered Lists (ol) in Accordion Subsection: Preserve theme-styled decimal numbers */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ol {
    list-style-type: decimal !important;
    padding-left: 24px;
    margin-top: 8px;
    margin-bottom: 14px;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ol > li {
    margin-bottom: 8px;
    line-height: 1.65;
    padding-left: 4px;
    color: #334155;
    font-size: 15px;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ol > li::marker {
    color: var(--theme-color, #792D43);
    font-weight: 700;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ol > li:last-child {
    margin-bottom: 0;
}

/* Level 2 Nested Ordered Lists (ol ol) - Lower Alpha (a, b, c) */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ol ol {
    list-style-type: lower-alpha !important;
    padding-left: 20px;
    margin-top: 6px;
    margin-bottom: 8px;
}

/* Level 3 Nested Ordered Lists (ol ol ol) - Lower Roman (i, ii, iii) */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ol ol ol {
    list-style-type: lower-roman !important;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 6px;
}

/* Cross-nested: Ordered List inside Unordered List */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ul ol {
    list-style-type: decimal !important;
    padding-left: 20px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ul ol > li::before {
    display: none !important;
    content: none !important;
}

/* Cross-nested: Unordered List inside Ordered List */
.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body ol ul {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 4px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body > :last-child {
    margin-bottom: 0 !important;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 767.98px) {
    .department-home-page .dept-home-clp-accordion-item .custom-sec-header {
        padding: 14px 0 !important;
        gap: 12px;
    }

    .department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-title-wrap {
        gap: 10px;
    }

    .department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-icon-box {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-title {
        font-size: 16px;
    }

    .department-home-page .dept-home-clp-accordion-item .custom-sec-toggle-icon {
        width: 32px;
        height: 32px;
        font-size: 11px;
        margin-left: 10px;
    }

    .department-home-page .dept-home-clp-accordion-item .dept-home-clp-subsec-body {
        padding: 14px 0 20px 0;
    }
}

.department-home-page .custom-subsec-card {
    background: #fbfcfe;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--theme-color, #792D43);
    border-radius: 12px;
    padding: 22px 26px;
    margin-top: 20px;
    transition: all 0.25s ease;
}

.department-home-page .custom-subsec-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    border-left-color: var(--theme-color, #792D43);
    box-shadow: 0 4px 16px rgba(0, 39, 76, 0.04);
}

.department-home-page .custom-doc-btn {
    border-color: #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
}

.department-home-page .custom-doc-btn:hover {
    background: var(--theme-color, #792D43);
    border-color: var(--theme-color, #792D43);
    color: #ffffff;
}

/* -------------------------------------------------------------------------
   11. Department Home Page Responsive Refinements & Sticky Mobile Navigation
   ------------------------------------------------------------------------- */

/* Desktop Only (>= 992px): Keep mobile navigation trigger hidden and desktop sidebar intact */
@media (min-width: 992px) {
    .department-home-page .dept-mobile-nav-trigger-wrap,
    .custom-layout-page-section .dept-mobile-nav-trigger-wrap,
    .custom-page-mobile-nav-trigger-wrap {
        display: none !important;
    }

    .department-home-page .custom-nav-menu,
    .custom-layout-page-section:not(.department-home-page) .custom-nav-menu {
        display: flex !important;
        flex-direction: column !important;
        position: static !important;
        max-height: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
}

/* Tablet & Mobile (< 992px): Convert custom-sidebar into Sticky Dropdown */
@media (max-width: 991.98px) {
    .department-home-page #department-home-main,
    .custom-layout-page-section:not(.department-home-page),
    #custom-layout-main {
        overflow: visible !important;
    }

    .department-home-page #department-home-main,
    #custom-layout-main,
    #custom-standalone-main {
        padding: 32px 25px !important;
    }

    .department-home-page #department-home-main > .container-fluid,
    .custom-layout-page-section > .container,
    .custom-layout-page-section > .container-fluid,
    #custom-standalone-main > .container-fluid {
        overflow: visible !important;
    }

    .department-home-page #department-home-main > .container-fluid > .row,
    .custom-layout-page-section > .container > .row,
    .custom-layout-page-section > .container-fluid > .row,
    #custom-standalone-main > .container-fluid > .row {
        overflow: visible !important;
    }

    .custom-sidebar-col {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1020;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        margin-bottom: 18px;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        transition: top 0.25s ease;
    }

    .department-home-page .custom-sidebar-col {
        background: #f8fafc;
    }

    .custom-layout-page-section:not(.department-home-page) .custom-sidebar-col {
        background: #fbfcfe;
    }

    .custom-sidebar,
    .custom-sidebar-sticky {
        position: relative !important;
        top: 0 !important;
        z-index: 1025;
        margin-bottom: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Mobile Nav Trigger Button */
    .dept-mobile-nav-trigger-wrap,
    .custom-page-mobile-nav-trigger-wrap {
        position: relative;
        width: 100%;
        z-index: 1030;
    }

    .dept-mobile-nav-toggle,
    .custom-page-mobile-nav-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 13px 18px;
        background: #ffffff;
        border: 1.5px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
        cursor: pointer;
        text-align: left;
        color: #1e293b;
        font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
        font-size: 14.5px;
        font-weight: 600;
        transition: all 0.25s ease;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .dept-mobile-nav-toggle:hover,
    .dept-mobile-nav-toggle:focus,
    .custom-page-mobile-nav-toggle:hover,
    .custom-page-mobile-nav-toggle:focus {
        border-color: var(--theme-color, #792D43);
        box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
    }

    .dept-mobile-nav-current {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .dept-mobile-nav-icon {
        font-size: 15px;
        color: var(--theme-color, #792D43);
        flex-shrink: 0;
    }

    .dept-mobile-nav-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 600;
        color: #0f172a;
    }

    .dept-mobile-nav-action {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .dept-mobile-nav-hint {
        display: inline-flex;
        align-items: center;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 3px 8px;
        border-radius: 20px;
        background: var(--theme-color-light, #F2F2F4);
        color: var(--theme-color, #792D43);
    }

    .dept-mobile-nav-arrow {
        font-size: 12px;
        color: #64748b;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .dept-mobile-nav-toggle[aria-expanded="true"],
    .custom-page-mobile-nav-toggle[aria-expanded="true"] {
        border-color: var(--theme-color, #792D43);
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .dept-mobile-nav-toggle[aria-expanded="true"] .dept-mobile-nav-arrow,
    .custom-page-mobile-nav-toggle[aria-expanded="true"] .dept-mobile-nav-arrow {
        transform: rotate(180deg);
        color: var(--theme-color, #792D43);
    }

    /* Preserve department home page specific shadow tint */
    .department-home-page .dept-mobile-nav-toggle {
        box-shadow: 0 4px 18px rgba(121, 45, 67, 0.08);
    }

    .department-home-page .dept-mobile-nav-toggle:hover,
    .department-home-page .dept-mobile-nav-toggle:focus {
        box-shadow: 0 6px 22px rgba(121, 45, 67, 0.14);
    }

    /* Custom Layout Page specific theme colors */
    .custom-layout-page-section:not(.department-home-page) .custom-page-mobile-nav-toggle .dept-mobile-nav-icon,
    .custom-layout-page-section:not(.department-home-page) .dept-mobile-nav-toggle .dept-mobile-nav-icon {
        color: var(--theme-color, #ef5924);
    }

    .custom-layout-page-section:not(.department-home-page) .custom-page-mobile-nav-toggle .dept-mobile-nav-hint,
    .custom-layout-page-section:not(.department-home-page) .dept-mobile-nav-toggle .dept-mobile-nav-hint {
        background: rgba(239, 89, 36, 0.08);
        color: var(--theme-color, #ef5924);
    }

    .custom-layout-page-section:not(.department-home-page) .custom-page-mobile-nav-toggle:hover,
    .custom-layout-page-section:not(.department-home-page) .custom-page-mobile-nav-toggle:focus,
    .custom-layout-page-section:not(.department-home-page) .custom-page-mobile-nav-toggle[aria-expanded="true"],
    .custom-layout-page-section:not(.department-home-page) .dept-mobile-nav-toggle:hover,
    .custom-layout-page-section:not(.department-home-page) .dept-mobile-nav-toggle:focus,
    .custom-layout-page-section:not(.department-home-page) .dept-mobile-nav-toggle[aria-expanded="true"] {
        border-color: var(--theme-color, #ef5924);
    }

    .custom-layout-page-section:not(.department-home-page) .custom-page-mobile-nav-toggle[aria-expanded="true"] .dept-mobile-nav-arrow,
    .custom-layout-page-section:not(.department-home-page) .dept-mobile-nav-toggle[aria-expanded="true"] .dept-mobile-nav-arrow {
        color: var(--theme-color, #ef5924);
    }

    /* Transform Sidebar Card to Floating Dropdown */
    .custom-sidebar-card {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .custom-nav-menu,
    .department-home-page .custom-nav-menu,
    .custom-layout-page-section .custom-nav-menu {
        display: none !important;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        background: #ffffff;
        border: 1.5px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 14px 38px rgba(15, 23, 42, 0.16);
        padding: 8px;
        max-height: min(65vh, calc(100vh - 110px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1035;
        gap: 4px;
    }

    .custom-nav-menu.show,
    .department-home-page .custom-nav-menu.show,
    .custom-layout-page-section .custom-nav-menu.show {
        display: flex !important;
        flex-direction: column !important;
        animation: deptNavMenuFadeDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes deptNavMenuFadeDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .custom-nav-link {
        padding: 10px 14px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .custom-nav-link .nav-text {
        white-space: normal;
        word-break: break-word;
    }

    .department-home-page .custom-content-col,
    .custom-layout-page-section .custom-content-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .department-home-page .custom-content-card {
        padding: 26px 22px;
        border-radius: 14px;
    }
}

/* Mobile Screens (< 768px): Full-Width Sections & Card Adjustments */
@media (max-width: 767.98px) {
    .department-home-page #department-home-main,
    #custom-layout-main,
    #custom-standalone-main {
        padding: 20px 25px !important;
        overflow: visible !important;
    }

    .department-home-page #department-home-main > .container-fluid,
    #custom-layout-main > .container-fluid,
    #custom-standalone-main > .container-fluid {
        padding-left: 6px !important;
        padding-right: 6px !important;
        max-width: 100% !important;
    }

    .department-home-page .custom-sidebar-col,
    .custom-layout-page-section .custom-sidebar-col {
        margin-bottom: 14px;
    }

    .department-home-page .custom-sidebar-col,
    .custom-layout-page-section .custom-sidebar-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .department-home-page .custom-content-col,
    .custom-layout-page-section .custom-content-col,
    .custom-page-standalone-section .col-xl-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .department-home-page .custom-sections-stack,
    .custom-sections-stack {
        gap: 20px;
    }

    .department-home-page .custom-layout-section,
    .custom-layout-section {
        scroll-margin-top: 130px;
    }

    .department-home-page .custom-content-card {
        padding: 20px 16px !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 14px rgba(0, 39, 76, 0.04) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .department-home-page .custom-sec-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .department-home-page .custom-sec-title-wrap {
        gap: 10px;
        width: 100%;
    }

    .department-home-page .custom-sec-title {
        font-size: 19px !important;
        line-height: 1.35 !important;
        word-break: break-word !important;
    }

    .department-home-page .custom-sec-icon-box {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
        flex-shrink: 0;
    }

    /* Split Image Content (Layouts 2 & 3) */
    .department-home-page .faculty-home-split-row,
    .department-home-page .custom-split-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .department-home-page .custom-split-content-col,
    .department-home-page .custom-split-img-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .department-home-page .custom-split-img,
    .department-home-page .faculty-home-split-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 320px;
        object-fit: cover;
        border-radius: 10px;
    }

    .department-home-page .custom-split-img-wrap,
    .department-home-page .faculty-home-img-wrap {
        margin-top: 12px;
        margin-bottom: 8px;
        width: 100%;
        overflow: hidden;
        border-radius: 10px;
    }

    /* File Group (Layout 4 & Custom Layout Files) */
    .department-home-page .faculty-home-file-card {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .department-home-page .faculty-home-file-info {
        gap: 10px !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .department-home-page .faculty-home-file-details {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        padding: 0 12px !important;
    }

    .department-home-page .faculty-home-file-title {
        font-size: 14px !important;
        word-break: break-word !important;
        white-space: normal !important;
    }

    .department-home-page .faculty-home-file-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        justify-content: center !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    .department-home-page .custom-file-row {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        padding: 0 8px 0 0 !important;
        min-height: 42px !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .department-home-page .custom-file-download-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    /* Photo Gallery (Layout 5 & Custom Layout Gallery) */
    .department-home-page .faculty-home-gallery-card,
    .department-home-page .custom-gallery-card {
        width: 100% !important;
    }

    .department-home-page .faculty-home-gallery-img,
    .department-home-page .custom-gallery-img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
    }

    /* Vision & Mission (Layout 6) */
    .department-home-page .faculty-home-vm-card {
        padding: 20px 16px !important;
        border-radius: 12px !important;
        margin-bottom: 16px !important;
        width: 100% !important;
    }

    .department-home-page .faculty-home-vm-header {
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .department-home-page .faculty-home-vm-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }

    .department-home-page .faculty-home-vm-title {
        font-size: 18px !important;
    }

    /* Departments (Layout 7) */
    .department-home-page .faculty-home-dept-card {
        padding: 18px 16px !important;
        width: 100% !important;
    }

    .department-home-page .faculty-home-dept-name {
        font-size: 16px !important;
    }

    /* Faculty Members (Layout 8) */
    .department-home-page .department-faculty-members-section .dept-faculty-swiper-container {
        padding: 0 !important;
    }

    .department-home-page .department-faculty-members-section .dept-faculty-slider {
        padding: 6px 2px 14px !important;
        margin: 0 !important;
    }

    .department-home-page .department-faculty-members-section .dept-faculty-prev,
    .department-home-page .department-faculty-members-section .dept-faculty-next {
        display: none !important;
    }

    .department-home-page .department-faculty-members-section .faculty-member-card {
        width: 100% !important;
        padding: 20px 14px !important;
    }

    /* Content Grid & Masonry (Layout 10) */
    .department-home-page .dept-content-grid-masonry {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .department-home-page .dept-content-grid-item,
    .department-home-page .dept-content-grid-sizer {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 16px !important;
    }

    .department-home-page .dept-content-grid-card {
        width: 100% !important;
        padding: 20px 16px !important;
        box-sizing: border-box !important;
    }

    /* Custom Layout Pages Group Items */
    .department-home-page .dept-home-clp-group-item.dept-home-clp-continuation-item {
        margin-top: 22px;
    }

    .department-home-page .custom-subsec-card {
        padding: 16px 14px !important;
        width: 100% !important;
    }
}

/* Extra Small Mobile Screens (< 576px) */
@media (max-width: 575.98px) {
    .department-home-page #department-home-main,
    #custom-layout-main,
    #custom-standalone-main {
        padding: 16px 25px !important;
    }

    .department-home-page #department-home-main > .container-fluid,
    #custom-layout-main > .container-fluid,
    #custom-standalone-main > .container-fluid {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .department-home-page .custom-content-card {
        padding: 16px 12px !important;
        border-radius: 10px !important;
    }

    .department-home-page .dept-mobile-nav-toggle {
        padding: 11px 14px;
        font-size: 13.5px;
    }

    .department-home-page .dept-mobile-nav-hint {
        display: none;
    }

    .department-home-page .custom-sec-title {
        font-size: 17.5px !important;
    }

    .department-home-page .faculty-home-gallery-grid > [class*="col-"],
    .department-home-page .custom-gallery-grid > [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Responsive Table & Content Wrapping in Department Home Page Context */
.department-home-page .table-responsive,
.department-home-page .custom-layout-content-table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 1.25rem !important;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.department-home-page .table-responsive table,
.department-home-page .custom-layout-content-table-wrapper table {
    width: 100% !important;
    min-width: 440px;
    margin-bottom: 0 !important;
}

.department-home-page .custom-layout-content,
.department-home-page .faculty-home-content,
.department-home-page .custom-body-text {
    word-break: break-word;
    overflow-wrap: break-word;
}

.department-home-page .custom-layout-content img,
.department-home-page .faculty-home-content img {
    max-width: 100% !important;
    height: auto !important;
}

/* =========================================================================
   12. Department Home Page — Content Grid (Masonry Grid Layout) Component
   ========================================================================= */
.department-home-page .dept-home-content-grid-wrap,
.faculty-home-sections .dept-home-content-grid-wrap,
.custom-layout-page .dept-home-content-grid-wrap,
.dept-home-content-grid-wrap {
    width: 100%;
    position: relative;
}

/* Masonry Container — Ordered Column-Based Masonry Grid */
.department-home-page .dept-content-grid-masonry,
.faculty-home-sections .dept-content-grid-masonry,
.custom-layout-page .dept-content-grid-masonry,
.dept-home-content-grid-wrap .dept-content-grid-masonry {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    position: relative;
    width: auto;
    margin-left: -12px;
    margin-right: -12px;
    transition: none;
}

/* Clearfix for layout */
.department-home-page .dept-content-grid-masonry::after,
.faculty-home-sections .dept-content-grid-masonry::after,
.custom-layout-page .dept-content-grid-masonry::after,
.dept-home-content-grid-wrap .dept-content-grid-masonry::after {
    content: "";
    display: table;
    clear: both;
}

/* Invisible Grid Sizer element hidden in column-based layout */
.department-home-page .dept-content-grid-sizer,
.faculty-home-sections .dept-content-grid-sizer,
.custom-layout-page .dept-content-grid-sizer,
.dept-home-content-grid-wrap .dept-content-grid-sizer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
}

/* Column Wrappers for Ordered Column-Based Masonry */
.department-home-page .dept-content-grid-col,
.faculty-home-sections .dept-content-grid-col,
.custom-layout-page .dept-content-grid-col,
.dept-home-content-grid-wrap .dept-content-grid-col {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    min-width: 0;
}

/* Card item inside a column wrapper occupies full column width and stacks vertically */
.department-home-page .dept-content-grid-col .dept-content-grid-item,
.faculty-home-sections .dept-content-grid-col .dept-content-grid-item,
.custom-layout-page .dept-content-grid-col .dept-content-grid-item,
.dept-home-content-grid-wrap .dept-content-grid-col .dept-content-grid-item {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0;
    margin-bottom: 24px;
    box-sizing: border-box;
}

/* Fallback: Direct card items prior to JS initialization or if JS is disabled */
.department-home-page .dept-content-grid-masonry > .dept-content-grid-item,
.faculty-home-sections .dept-content-grid-masonry > .dept-content-grid-item,
.custom-layout-page .dept-content-grid-masonry > .dept-content-grid-item,
.dept-home-content-grid-wrap .dept-content-grid-masonry > .dept-content-grid-item {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    float: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    padding-left: 12px;
    padding-right: 12px;
    margin-top: 0;
    margin-bottom: 24px;
    box-sizing: border-box;
}

/* =========================================================================
   Per-Column Live Preview Container & Item Styles
   ========================================================================= */
.col-card-preview-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.col-card-preview-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.col-card-preview-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.col-card-preview-slot {
    display: flex;
    flex-direction: column;
}

/* Card Element — Retains natural content height without forced vertical stretching */
.dept-content-grid-card,
.department-home-page .dept-content-grid-card,
#cardLivePreviewWrap .dept-content-grid-card,
.col-card-preview-wrap .dept-content-grid-card,
.faculty-home-sections .dept-content-grid-card,
.custom-layout-page .dept-content-grid-card,
.dept-home-content-grid-wrap .dept-content-grid-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 26px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}


/* Equal Height Support in Grid Columns (Only Content / Content Grid) */
.dept-content-grid-card.h-100,
.d-flex > .dept-content-grid-card,
.department-home-page .dept-content-grid-card.h-100,
.faculty-home-sections .dept-content-grid-card.h-100,
.custom-layout-page .dept-content-grid-card.h-100 {
    height: 100% !important;
}

/* Masonry items maintain dynamic stacked natural height */
.dept-content-grid-masonry .dept-content-grid-card {
    height: auto !important;
}

.dept-content-grid-card:hover,
.department-home-page .dept-content-grid-card:hover,
#cardLivePreviewWrap .dept-content-grid-card:hover,
.col-card-preview-wrap .dept-content-grid-card:hover,
.faculty-home-sections .dept-content-grid-card:hover,
.custom-layout-page .dept-content-grid-card:hover,
.dept-home-content-grid-wrap .dept-content-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(121, 45, 67, 0.1);
    border-color: rgba(121, 45, 67, 0.3);
}

/* Icon Box */
.dept-content-grid-card__icon-wrap,
.department-home-page .dept-content-grid-card__icon-wrap,
#cardLivePreviewWrap .dept-content-grid-card__icon-wrap,
.col-card-preview-wrap .dept-content-grid-card__icon-wrap,
.faculty-home-sections .dept-content-grid-card__icon-wrap,
.custom-layout-page .dept-content-grid-card__icon-wrap,
.dept-home-content-grid-wrap .dept-content-grid-card__icon-wrap {
    margin-bottom: 16px;
}

.dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(121, 45, 67, 0.08);
    color: var(--theme-color, #792D43);
    font-size: 22px;
    transition: all 0.25s ease-in-out;
}

.dept-content-grid-card:hover .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card:hover .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card:hover .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card:hover .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card:hover .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card:hover .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card:hover .dept-content-grid-card__icon {
    background: var(--theme-color, #792D43);
    color: #ffffff;
    transform: scale(1.06);
}

/* Card Title */
.dept-content-grid-card__title,
.department-home-page .dept-content-grid-card__title,
#cardLivePreviewWrap .dept-content-grid-card__title,
.col-card-preview-wrap .dept-content-grid-card__title,
.faculty-home-sections .dept-content-grid-card__title,
.custom-layout-page .dept-content-grid-card__title,
.dept-home-content-grid-wrap .dept-content-grid-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin-bottom: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Rich-Text Content Body */
.dept-content-grid-card__content,
.department-home-page .dept-content-grid-card__content,
#cardLivePreviewWrap .dept-content-grid-card__content,
.col-card-preview-wrap .dept-content-grid-card__content,
.faculty-home-sections .dept-content-grid-card__content,
.custom-layout-page .dept-content-grid-card__content,
.dept-home-content-grid-wrap .dept-content-grid-card__content {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4b5563;
    word-break: break-word;
    overflow-wrap: break-word;
}

.dept-content-grid-card__content p:last-child,
.department-home-page .dept-content-grid-card__content p:last-child,
#cardLivePreviewWrap .dept-content-grid-card__content p:last-child,
.col-card-preview-wrap .dept-content-grid-card__content p:last-child,
.faculty-home-sections .dept-content-grid-card__content p:last-child,
.custom-layout-page .dept-content-grid-card__content p:last-child,
.dept-home-content-grid-wrap .dept-content-grid-card__content p:last-child {
    margin-bottom: 0;
}

.dept-content-grid-card__content img,
.department-home-page .dept-content-grid-card__content img,
#cardLivePreviewWrap .dept-content-grid-card__content img,
.col-card-preview-wrap .dept-content-grid-card__content img,
.faculty-home-sections .dept-content-grid-card__content img,
.custom-layout-page .dept-content-grid-card__content img,
.dept-home-content-grid-wrap .dept-content-grid-card__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-top: 8px;
    margin-bottom: 8px;
}

.dept-content-grid-card__content table,
.department-home-page .dept-content-grid-card__content table,
#cardLivePreviewWrap .dept-content-grid-card__content table,
.col-card-preview-wrap .dept-content-grid-card__content table,
.faculty-home-sections .dept-content-grid-card__content table,
.custom-layout-page .dept-content-grid-card__content table,
.dept-home-content-grid-wrap .dept-content-grid-card__content table {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.dept-content-grid-card__content iframe,
.dept-content-grid-card__content video,
.department-home-page .dept-content-grid-card__content iframe,
.department-home-page .dept-content-grid-card__content video,
#cardLivePreviewWrap .dept-content-grid-card__content iframe,
.col-card-preview-wrap .dept-content-grid-card__content iframe,
.faculty-home-sections .dept-content-grid-card__content iframe,
.custom-layout-page .dept-content-grid-card__content iframe,
.dept-home-content-grid-wrap .dept-content-grid-card__content iframe,
#cardLivePreviewWrap .dept-content-grid-card__content video,
.col-card-preview-wrap .dept-content-grid-card__content video,
.faculty-home-sections .dept-content-grid-card__content video,
.custom-layout-page .dept-content-grid-card__content video,
.dept-home-content-grid-wrap .dept-content-grid-card__content video {
    max-width: 100%;
}

/* Lists inside cards are styled comprehensively by the unified Department Home Page list system in Section 4 */
.dept-content-grid-card__content ul,
.dept-content-grid-card__content ol,
.department-home-page .dept-content-grid-card__content ul,
.department-home-page .dept-content-grid-card__content ol,
#cardLivePreviewWrap .dept-content-grid-card__content ul,
.col-card-preview-wrap .dept-content-grid-card__content ul,
.faculty-home-sections .dept-content-grid-card__content ul,
.custom-layout-page .dept-content-grid-card__content ul,
.dept-home-content-grid-wrap .dept-content-grid-card__content ul,
#cardLivePreviewWrap .dept-content-grid-card__content ol,
.col-card-preview-wrap .dept-content-grid-card__content ol,
.faculty-home-sections .dept-content-grid-card__content ol,
.custom-layout-page .dept-content-grid-card__content ol,
.dept-home-content-grid-wrap .dept-content-grid-card__content ol {
    margin-bottom: 0.85rem;
}

.dept-content-grid-card__content pre,
.dept-content-grid-card__content code,
.department-home-page .dept-content-grid-card__content pre,
.department-home-page .dept-content-grid-card__content code,
#cardLivePreviewWrap .dept-content-grid-card__content pre,
.col-card-preview-wrap .dept-content-grid-card__content pre,
.faculty-home-sections .dept-content-grid-card__content pre,
.custom-layout-page .dept-content-grid-card__content pre,
.dept-home-content-grid-wrap .dept-content-grid-card__content pre,
#cardLivePreviewWrap .dept-content-grid-card__content code,
.col-card-preview-wrap .dept-content-grid-card__content code,
.faculty-home-sections .dept-content-grid-card__content code,
.custom-layout-page .dept-content-grid-card__content code,
.dept-home-content-grid-wrap .dept-content-grid-card__content code {
    white-space: pre-wrap;
    word-break: break-word;
}

/* =========================================================================
   Card Style Variants (5 Standard Styles + 8 Premium Academic Styles)
   ========================================================================= */

/* 1. Default (Border Card) */
.dept-content-grid-card--default,
.department-home-page .dept-content-grid-card--default,
#cardLivePreviewWrap .dept-content-grid-card--default,
.col-card-preview-wrap .dept-content-grid-card--default,
.faculty-home-sections .dept-content-grid-card--default,
.custom-layout-page .dept-content-grid-card--default,
.dept-home-content-grid-wrap .dept-content-grid-card--default {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

/* 2. Primary Accent Border */
.dept-content-grid-card--primary_border,
.department-home-page .dept-content-grid-card--primary_border,
#cardLivePreviewWrap .dept-content-grid-card--primary_border,
.col-card-preview-wrap .dept-content-grid-card--primary_border,
.faculty-home-sections .dept-content-grid-card--primary_border,
.custom-layout-page .dept-content-grid-card--primary_border,
.dept-home-content-grid-wrap .dept-content-grid-card--primary_border {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--theme-color, #792D43);
}

/* 3. Light Accent Background */
.dept-content-grid-card--accent_bg,
.department-home-page .dept-content-grid-card--accent_bg,
#cardLivePreviewWrap .dept-content-grid-card--accent_bg,
.col-card-preview-wrap .dept-content-grid-card--accent_bg,
.faculty-home-sections .dept-content-grid-card--accent_bg,
.custom-layout-page .dept-content-grid-card--accent_bg,
.dept-home-content-grid-wrap .dept-content-grid-card--accent_bg {
    background: #FAF7F8;
    border: 1px solid rgba(121, 45, 67, 0.15);
}

/* 4. Elevated Shadow Card */
.dept-content-grid-card--elevated,
.department-home-page .dept-content-grid-card--elevated,
#cardLivePreviewWrap .dept-content-grid-card--elevated,
.col-card-preview-wrap .dept-content-grid-card--elevated,
.faculty-home-sections .dept-content-grid-card--elevated,
.custom-layout-page .dept-content-grid-card--elevated,
.dept-home-content-grid-wrap .dept-content-grid-card--elevated {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.dept-content-grid-card--elevated:hover,
.department-home-page .dept-content-grid-card--elevated:hover,
#cardLivePreviewWrap .dept-content-grid-card--elevated:hover,
.col-card-preview-wrap .dept-content-grid-card--elevated:hover,
.faculty-home-sections .dept-content-grid-card--elevated:hover,
.custom-layout-page .dept-content-grid-card--elevated:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--elevated:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* 5. Odd-Even Background */
.dept-content-grid-card--odd_even_background,
.department-home-page .dept-content-grid-card--odd_even_background,
#cardLivePreviewWrap .dept-content-grid-card--odd_even_background,
.col-card-preview-wrap .dept-content-grid-card--odd_even_background,
.faculty-home-sections .dept-content-grid-card--odd_even_background,
.custom-layout-page .dept-content-grid-card--odd_even_background,
.dept-home-content-grid-wrap .dept-content-grid-card--odd_even_background {
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--theme-color, #792D43);
    background: #FAF7F8;
}

.dept-content-grid-card--odd_even_background.dept-content-grid-card--odd,
.dept-content-grid-item--odd .dept-content-grid-card--odd_even_background,
.department-home-page .dept-content-grid-card--odd_even_background.dept-content-grid-card--odd,
.department-home-page .dept-content-grid-item--odd .dept-content-grid-card--odd_even_background {
    background: #FAF7F8;
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--theme-color, #792D43);
}

.dept-content-grid-card--odd_even_background.dept-content-grid-card--even,
.dept-content-grid-item--even .dept-content-grid-card--odd_even_background,
.department-home-page .dept-content-grid-card--odd_even_background.dept-content-grid-card--even,
.department-home-page .dept-content-grid-item--even .dept-content-grid-card--odd_even_background {
    background: #DEDEDE;
    border: 1px solid #d1d5db;
    border-left: 3px solid var(--theme-color, #792D43);
}

.dept-content-grid-card--odd_even_background:hover,
.department-home-page .dept-content-grid-card--odd_even_background:hover,
#cardLivePreviewWrap .dept-content-grid-card--odd_even_background:hover,
.col-card-preview-wrap .dept-content-grid-card--odd_even_background:hover,
.faculty-home-sections .dept-content-grid-card--odd_even_background:hover,
.custom-layout-page .dept-content-grid-card--odd_even_background:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--odd_even_background:hover {
    border-left: 3px solid var(--theme-color, #792D43);
}

/* 6. Premium Elevated */
.dept-content-grid-card--premium_elevated,
.department-home-page .dept-content-grid-card--premium_elevated,
#cardLivePreviewWrap .dept-content-grid-card--premium_elevated,
.col-card-preview-wrap .dept-content-grid-card--premium_elevated,
.faculty-home-sections .dept-content-grid-card--premium_elevated,
.custom-layout-page .dept-content-grid-card--premium_elevated,
.dept-home-content-grid-wrap .dept-content-grid-card--premium_elevated {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 25px -3px rgba(0, 0, 0, 0.06);
    padding: 30px 26px;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
}

.dept-content-grid-card--premium_elevated:hover,
.department-home-page .dept-content-grid-card--premium_elevated:hover,
#cardLivePreviewWrap .dept-content-grid-card--premium_elevated:hover,
.col-card-preview-wrap .dept-content-grid-card--premium_elevated:hover,
.faculty-home-sections .dept-content-grid-card--premium_elevated:hover,
.custom-layout-page .dept-content-grid-card--premium_elevated:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--premium_elevated:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -4px rgba(121, 45, 67, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
    border-color: rgba(121, 45, 67, 0.35);
}

/* 7. Image Overlay */
.dept-content-grid-card--image_overlay,
.department-home-page .dept-content-grid-card--image_overlay,
#cardLivePreviewWrap .dept-content-grid-card--image_overlay,
.col-card-preview-wrap .dept-content-grid-card--image_overlay,
.faculty-home-sections .dept-content-grid-card--image_overlay,
.custom-layout-page .dept-content-grid-card--image_overlay,
.dept-home-content-grid-wrap .dept-content-grid-card--image_overlay {
    background: linear-gradient(135deg, rgba(20, 24, 33, 0.94) 0%, rgba(38, 22, 28, 0.92) 100%),
    url('../images/slider/1.jpg') center/cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    position: relative;
}

.dept-content-grid-card--image_overlay::before,
.department-home-page .dept-content-grid-card--image_overlay::before,
#cardLivePreviewWrap .dept-content-grid-card--image_overlay::before,
.col-card-preview-wrap .dept-content-grid-card--image_overlay::before,
.faculty-home-sections .dept-content-grid-card--image_overlay::before,
.custom-layout-page .dept-content-grid-card--image_overlay::before,
.dept-home-content-grid-wrap .dept-content-grid-card--image_overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(121, 45, 67, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.dept-content-grid-card--image_overlay:hover,
.department-home-page .dept-content-grid-card--image_overlay:hover,
#cardLivePreviewWrap .dept-content-grid-card--image_overlay:hover,
.col-card-preview-wrap .dept-content-grid-card--image_overlay:hover,
.faculty-home-sections .dept-content-grid-card--image_overlay:hover,
.custom-layout-page .dept-content-grid-card--image_overlay:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--image_overlay:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.4);
}

.dept-content-grid-card--image_overlay .dept-content-grid-card__title,
.department-home-page .dept-content-grid-card--image_overlay .dept-content-grid-card__title,
#cardLivePreviewWrap .dept-content-grid-card--image_overlay .dept-content-grid-card__title,
.col-card-preview-wrap .dept-content-grid-card--image_overlay .dept-content-grid-card__title,
.faculty-home-sections .dept-content-grid-card--image_overlay .dept-content-grid-card__title,
.custom-layout-page .dept-content-grid-card--image_overlay .dept-content-grid-card__title,
.dept-home-content-grid-wrap .dept-content-grid-card--image_overlay .dept-content-grid-card__title,
.dept-content-grid-card--image_overlay h1,
.dept-content-grid-card--image_overlay h2,
.dept-content-grid-card--image_overlay h3,
.dept-content-grid-card--image_overlay h4,
.dept-content-grid-card--image_overlay h5,
.dept-content-grid-card--image_overlay h6,
.department-home-page .dept-content-grid-card--image_overlay h1,
.department-home-page .dept-content-grid-card--image_overlay h2,
.department-home-page .dept-content-grid-card--image_overlay h3,
.department-home-page .dept-content-grid-card--image_overlay h4,
.department-home-page .dept-content-grid-card--image_overlay h5,
.department-home-page .dept-content-grid-card--image_overlay h6,
.faculty-home-sections .dept-content-grid-card--image_overlay h1,
.faculty-home-sections .dept-content-grid-card--image_overlay h2,
.faculty-home-sections .dept-content-grid-card--image_overlay h3,
.faculty-home-sections .dept-content-grid-card--image_overlay h4,
.faculty-home-sections .dept-content-grid-card--image_overlay h5,
.faculty-home-sections .dept-content-grid-card--image_overlay h6,
.custom-layout-page .dept-content-grid-card--image_overlay h1,
.custom-layout-page .dept-content-grid-card--image_overlay h2,
.custom-layout-page .dept-content-grid-card--image_overlay h3,
.custom-layout-page .dept-content-grid-card--image_overlay h4,
.custom-layout-page .dept-content-grid-card--image_overlay h5,
.custom-layout-page .dept-content-grid-card--image_overlay h6,
.dept-content-grid-card--image_overlay .faculty-home-content h1,
.dept-content-grid-card--image_overlay .faculty-home-content h2,
.dept-content-grid-card--image_overlay .faculty-home-content h3,
.dept-content-grid-card--image_overlay .faculty-home-content h4,
.dept-content-grid-card--image_overlay .faculty-home-content h5,
.dept-content-grid-card--image_overlay .faculty-home-content h6,
.dept-content-grid-card--image_overlay .custom-layout-content h1,
.dept-content-grid-card--image_overlay .custom-layout-content h2,
.dept-content-grid-card--image_overlay .custom-layout-content h3,
.dept-content-grid-card--image_overlay .custom-layout-content h4,
.dept-content-grid-card--image_overlay .custom-layout-content h5,
.dept-content-grid-card--image_overlay .custom-layout-content h6,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content h1,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content h2,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content h3,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content h4,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content h5,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content h6 {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

.dept-content-grid-card--image_overlay .dept-content-grid-card__content,
.dept-content-grid-card--image_overlay .dept-content-grid-card__content p,
.department-home-page .dept-content-grid-card--image_overlay .dept-content-grid-card__content,
#cardLivePreviewWrap .dept-content-grid-card--image_overlay .dept-content-grid-card__content,
.col-card-preview-wrap .dept-content-grid-card--image_overlay .dept-content-grid-card__content,
.faculty-home-sections .dept-content-grid-card--image_overlay .dept-content-grid-card__content,
.custom-layout-page .dept-content-grid-card--image_overlay .dept-content-grid-card__content,
.dept-home-content-grid-wrap .dept-content-grid-card--image_overlay .dept-content-grid-card__content,
.department-home-page .dept-content-grid-card--image_overlay .dept-content-grid-card__content p,
#cardLivePreviewWrap .dept-content-grid-card--image_overlay .dept-content-grid-card__content p,
.col-card-preview-wrap .dept-content-grid-card--image_overlay .dept-content-grid-card__content p,
.faculty-home-sections .dept-content-grid-card--image_overlay .dept-content-grid-card__content p,
.custom-layout-page .dept-content-grid-card--image_overlay .dept-content-grid-card__content p,
.dept-home-content-grid-wrap .dept-content-grid-card--image_overlay .dept-content-grid-card__content p,
.dept-content-grid-card--image_overlay p,
.dept-content-grid-card--image_overlay span:not(.badge),
.dept-content-grid-card--image_overlay font,
.department-home-page .dept-content-grid-card--image_overlay p,
.faculty-home-sections .dept-content-grid-card--image_overlay p,
.custom-layout-page .dept-content-grid-card--image_overlay p,
.dept-content-grid-card--image_overlay .faculty-home-content p,
.dept-content-grid-card--image_overlay .custom-layout-content p,
.dept-content-grid-card--image_overlay .custom-body-text,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content p,
.department-home-page .dept-content-grid-card--image_overlay .custom-layout-content p {
    color: #e2e8f0 !important;
    position: relative;
    z-index: 1;
}

.dept-content-grid-card--image_overlay strong,
.dept-content-grid-card--image_overlay b,
.department-home-page .dept-content-grid-card--image_overlay strong,
.department-home-page .dept-content-grid-card--image_overlay b,
.dept-content-grid-card--image_overlay .faculty-home-content strong,
.dept-content-grid-card--image_overlay .faculty-home-content b {
    color: #ffffff !important;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.dept-content-grid-card--image_overlay a,
.department-home-page .dept-content-grid-card--image_overlay a,
.faculty-home-sections .dept-content-grid-card--image_overlay a,
.custom-layout-page .dept-content-grid-card--image_overlay a,
.dept-content-grid-card--image_overlay .faculty-home-content a,
.dept-content-grid-card--image_overlay .custom-layout-content a,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content a,
.department-home-page .dept-content-grid-card--image_overlay .custom-layout-content a {
    color: #ffd700 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}

.dept-content-grid-card--image_overlay a:hover,
.department-home-page .dept-content-grid-card--image_overlay a:hover,
.faculty-home-sections .dept-content-grid-card--image_overlay a:hover,
.custom-layout-page .dept-content-grid-card--image_overlay a:hover,
.dept-content-grid-card--image_overlay .faculty-home-content a:hover,
.dept-content-grid-card--image_overlay .custom-layout-content a:hover,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content a:hover,
.department-home-page .dept-content-grid-card--image_overlay .custom-layout-content a:hover {
    color: #ffe033 !important;
}

.dept-content-grid-card--image_overlay ul > li,
.dept-content-grid-card--image_overlay ol > li,
.department-home-page .dept-content-grid-card--image_overlay ul > li,
.department-home-page .dept-content-grid-card--image_overlay ol > li,
.faculty-home-sections .dept-content-grid-card--image_overlay ul > li,
.faculty-home-sections .dept-content-grid-card--image_overlay ol > li,
.custom-layout-page .dept-content-grid-card--image_overlay ul > li,
.custom-layout-page .dept-content-grid-card--image_overlay ol > li,
.dept-content-grid-card--image_overlay .faculty-home-content ul > li,
.dept-content-grid-card--image_overlay .faculty-home-content ol > li,
.dept-content-grid-card--image_overlay .custom-layout-content ul > li,
.dept-content-grid-card--image_overlay .custom-layout-content ol > li {
    color: #e2e8f0 !important;
    position: relative;
    z-index: 1;
}

.dept-content-grid-card--image_overlay ul > li::before,
.department-home-page .dept-content-grid-card--image_overlay ul > li::before,
.faculty-home-sections .dept-content-grid-card--image_overlay ul > li::before,
.custom-layout-page .dept-content-grid-card--image_overlay ul > li::before,
.dept-content-grid-card--image_overlay .faculty-home-content ul > li::before,
.dept-content-grid-card--image_overlay .custom-layout-content ul > li::before,
.dept-content-grid-card--image_overlay .custom-body-text ul > li::before,
.dept-content-grid-card--image_overlay .dept-content-grid-card__content ul > li::before,
.department-home-page .dept-content-grid-card--image_overlay .faculty-home-content ul > li::before,
.department-home-page .dept-content-grid-card--image_overlay .custom-layout-content ul > li::before,
.department-home-page .dept-content-grid-card--image_overlay .dept-content-grid-card__content ul > li::before {
    background-color: #ffd700 !important;
    z-index: 1;
}

.dept-content-grid-card--image_overlay ol > li::marker,
.department-home-page .dept-content-grid-card--image_overlay ol > li::marker,
.faculty-home-sections .dept-content-grid-card--image_overlay ol > li::marker,
.custom-layout-page .dept-content-grid-card--image_overlay ol > li::marker,
.dept-content-grid-card--image_overlay .faculty-home-content ol > li::marker,
.dept-content-grid-card--image_overlay .custom-layout-content ol > li::marker {
    color: #ffd700 !important;
}

.dept-content-grid-card--image_overlay small,
.dept-content-grid-card--image_overlay .text-muted,
.department-home-page .dept-content-grid-card--image_overlay small,
.department-home-page .dept-content-grid-card--image_overlay .text-muted {
    color: #cbd5e1 !important;
    position: relative;
    z-index: 1;
}

.dept-content-grid-card--image_overlay blockquote,
.department-home-page .dept-content-grid-card--image_overlay blockquote,
.faculty-home-sections .dept-content-grid-card--image_overlay blockquote,
.custom-layout-page .dept-content-grid-card--image_overlay blockquote,
.dept-content-grid-card--image_overlay .faculty-home-content blockquote,
.dept-content-grid-card--image_overlay .custom-layout-content blockquote {
    background: rgba(0, 0, 0, 0.35) !important;
    border-left: 3.5px solid #ffd700 !important;
    color: #f1f5f9 !important;
    position: relative;
    z-index: 1;
}

.dept-content-grid-card--image_overlay table,
.department-home-page .dept-content-grid-card--image_overlay table,
.faculty-home-sections .dept-content-grid-card--image_overlay table,
.custom-layout-page .dept-content-grid-card--image_overlay table,
.dept-content-grid-card--image_overlay .faculty-home-content table,
.dept-content-grid-card--image_overlay .custom-layout-content table {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #e2e8f0 !important;
    position: relative;
    z-index: 1;
}

.dept-content-grid-card--image_overlay table th,
.department-home-page .dept-content-grid-card--image_overlay table th,
.faculty-home-sections .dept-content-grid-card--image_overlay table th,
.custom-layout-page .dept-content-grid-card--image_overlay table th,
.dept-content-grid-card--image_overlay .faculty-home-content table th,
.dept-content-grid-card--image_overlay .custom-layout-content table th {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.dept-content-grid-card--image_overlay table td,
.department-home-page .dept-content-grid-card--image_overlay table td,
.faculty-home-sections .dept-content-grid-card--image_overlay table td,
.custom-layout-page .dept-content-grid-card--image_overlay table td,
.dept-content-grid-card--image_overlay .faculty-home-content table td,
.dept-content-grid-card--image_overlay .custom-layout-content table td {
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.dept-content-grid-card--image_overlay table tr:hover td {
    background: rgba(255, 255, 255, 0.05) !important;
}

.dept-content-grid-card--image_overlay hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
    position: relative;
    z-index: 1;
}

.dept-content-grid-card--image_overlay code,
.dept-content-grid-card--image_overlay pre {
    background: rgba(0, 0, 0, 0.5) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative;
    z-index: 1;
}

.dept-content-grid-card--image_overlay .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card--image_overlay .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card--image_overlay .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card--image_overlay .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card--image_overlay .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card--image_overlay .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card--image_overlay .dept-content-grid-card__icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd700;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dept-content-grid-card--image_overlay:hover .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card--image_overlay:hover .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card--image_overlay:hover .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card--image_overlay:hover .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card--image_overlay:hover .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card--image_overlay:hover .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card--image_overlay:hover .dept-content-grid-card__icon {
    background: #ffd700;
    color: #1a202c;
}

/* 8. Modern Minimal */
.dept-content-grid-card--modern_minimal,
.department-home-page .dept-content-grid-card--modern_minimal,
#cardLivePreviewWrap .dept-content-grid-card--modern_minimal,
.col-card-preview-wrap .dept-content-grid-card--modern_minimal,
.faculty-home-sections .dept-content-grid-card--modern_minimal,
.custom-layout-page .dept-content-grid-card--modern_minimal,
.dept-home-content-grid-wrap .dept-content-grid-card--modern_minimal {
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-left: 3px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: none;
    padding: 24px 22px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.dept-content-grid-card--modern_minimal:hover,
.department-home-page .dept-content-grid-card--modern_minimal:hover,
#cardLivePreviewWrap .dept-content-grid-card--modern_minimal:hover,
.col-card-preview-wrap .dept-content-grid-card--modern_minimal:hover,
.faculty-home-sections .dept-content-grid-card--modern_minimal:hover,
.custom-layout-page .dept-content-grid-card--modern_minimal:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--modern_minimal:hover {
    border-left-color: var(--theme-color, #792D43);
    border-color: #d1d5db;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.dept-content-grid-card--modern_minimal .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card--modern_minimal .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card--modern_minimal .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card--modern_minimal .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card--modern_minimal .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card--modern_minimal .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card--modern_minimal .dept-content-grid-card__icon {
    background: #f1f5f9;
    color: #334155;
    border-radius: 6px;
}

.dept-content-grid-card--modern_minimal:hover .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card--modern_minimal:hover .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card--modern_minimal:hover .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card--modern_minimal:hover .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card--modern_minimal:hover .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card--modern_minimal:hover .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card--modern_minimal:hover .dept-content-grid-card__icon {
    background: var(--theme-color, #792D43);
    color: #ffffff;
}

/* 9. Glass Effect */
.dept-content-grid-card--glass_effect,
.department-home-page .dept-content-grid-card--glass_effect,
#cardLivePreviewWrap .dept-content-grid-card--glass_effect,
.col-card-preview-wrap .dept-content-grid-card--glass_effect,
.faculty-home-sections .dept-content-grid-card--glass_effect,
.custom-layout-page .dept-content-grid-card--glass_effect,
.dept-home-content-grid-wrap .dept-content-grid-card--glass_effect {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.dept-content-grid-card--glass_effect:hover,
.department-home-page .dept-content-grid-card--glass_effect:hover,
#cardLivePreviewWrap .dept-content-grid-card--glass_effect:hover,
.col-card-preview-wrap .dept-content-grid-card--glass_effect:hover,
.faculty-home-sections .dept-content-grid-card--glass_effect:hover,
.custom-layout-page .dept-content-grid-card--glass_effect:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--glass_effect:hover {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 36px 0 rgba(121, 45, 67, 0.12);
    border-color: rgba(121, 45, 67, 0.25);
    transform: translateY(-4px);
}

.dept-content-grid-card--glass_effect .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card--glass_effect .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card--glass_effect .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card--glass_effect .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card--glass_effect .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card--glass_effect .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card--glass_effect .dept-content-grid-card__icon {
    background: rgba(121, 45, 67, 0.1);
    color: var(--theme-color, #792D43);
    backdrop-filter: blur(4px);
}

/* 10. Accent Border */
.dept-content-grid-card--accent_border,
.department-home-page .dept-content-grid-card--accent_border,
#cardLivePreviewWrap .dept-content-grid-card--accent_border,
.col-card-preview-wrap .dept-content-grid-card--accent_border,
.faculty-home-sections .dept-content-grid-card--accent_border,
.custom-layout-page .dept-content-grid-card--accent_border,
.dept-home-content-grid-wrap .dept-content-grid-card--accent_border {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 5px solid var(--theme-color, #792D43);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.dept-content-grid-card--accent_border:hover,
.department-home-page .dept-content-grid-card--accent_border:hover,
#cardLivePreviewWrap .dept-content-grid-card--accent_border:hover,
.col-card-preview-wrap .dept-content-grid-card--accent_border:hover,
.faculty-home-sections .dept-content-grid-card--accent_border:hover,
.custom-layout-page .dept-content-grid-card--accent_border:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--accent_border:hover {
    border-top-color: #5a1e2f;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(121, 45, 67, 0.14);
}

.dept-content-grid-card--accent_border .dept-content-grid-card__title,
.department-home-page .dept-content-grid-card--accent_border .dept-content-grid-card__title,
#cardLivePreviewWrap .dept-content-grid-card--accent_border .dept-content-grid-card__title,
.col-card-preview-wrap .dept-content-grid-card--accent_border .dept-content-grid-card__title,
.faculty-home-sections .dept-content-grid-card--accent_border .dept-content-grid-card__title,
.custom-layout-page .dept-content-grid-card--accent_border .dept-content-grid-card__title,
.dept-home-content-grid-wrap .dept-content-grid-card--accent_border .dept-content-grid-card__title {
    color: var(--theme-color, #792D43);
}

/* 11. Editorial Split */
.dept-content-grid-card--editorial_split,
.department-home-page .dept-content-grid-card--editorial_split,
#cardLivePreviewWrap .dept-content-grid-card--editorial_split,
.col-card-preview-wrap .dept-content-grid-card--editorial_split,
.faculty-home-sections .dept-content-grid-card--editorial_split,
.custom-layout-page .dept-content-grid-card--editorial_split,
.dept-home-content-grid-wrap .dept-content-grid-card--editorial_split {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid var(--theme-color, #792D43);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 28px 24px;
}

.dept-content-grid-card--editorial_split:hover,
.department-home-page .dept-content-grid-card--editorial_split:hover,
#cardLivePreviewWrap .dept-content-grid-card--editorial_split:hover,
.col-card-preview-wrap .dept-content-grid-card--editorial_split:hover,
.faculty-home-sections .dept-content-grid-card--editorial_split:hover,
.custom-layout-page .dept-content-grid-card--editorial_split:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--editorial_split:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border-left-color: #9e3655;
}

.dept-content-grid-card--editorial_split .dept-content-grid-card__title,
.department-home-page .dept-content-grid-card--editorial_split .dept-content-grid-card__title,
#cardLivePreviewWrap .dept-content-grid-card--editorial_split .dept-content-grid-card__title,
.col-card-preview-wrap .dept-content-grid-card--editorial_split .dept-content-grid-card__title,
.faculty-home-sections .dept-content-grid-card--editorial_split .dept-content-grid-card__title,
.custom-layout-page .dept-content-grid-card--editorial_split .dept-content-grid-card__title,
.dept-home-content-grid-wrap .dept-content-grid-card--editorial_split .dept-content-grid-card__title {
    font-family: var(--title-font, 'Lora', serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 14px;
}

/* 12. Dark Premium */
.dept-content-grid-card--dark_premium,
.department-home-page .dept-content-grid-card--dark_premium,
#cardLivePreviewWrap .dept-content-grid-card--dark_premium,
.col-card-preview-wrap .dept-content-grid-card--dark_premium,
.faculty-home-sections .dept-content-grid-card--dark_premium,
.custom-layout-page .dept-content-grid-card--dark_premium,
.dept-home-content-grid-wrap .dept-content-grid-card--dark_premium {
    background: #1a2232;
    border: 1px solid #2d3748;
    border-radius: 14px;
    color: #f1f5f9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.dept-content-grid-card--dark_premium:hover,
.department-home-page .dept-content-grid-card--dark_premium:hover,
#cardLivePreviewWrap .dept-content-grid-card--dark_premium:hover,
.col-card-preview-wrap .dept-content-grid-card--dark_premium:hover,
.faculty-home-sections .dept-content-grid-card--dark_premium:hover,
.custom-layout-page .dept-content-grid-card--dark_premium:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--dark_premium:hover {
    transform: translateY(-4px);
    border-color: #4a5568;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.dept-content-grid-card--dark_premium .dept-content-grid-card__title,
.department-home-page .dept-content-grid-card--dark_premium .dept-content-grid-card__title,
#cardLivePreviewWrap .dept-content-grid-card--dark_premium .dept-content-grid-card__title,
.col-card-preview-wrap .dept-content-grid-card--dark_premium .dept-content-grid-card__title,
.faculty-home-sections .dept-content-grid-card--dark_premium .dept-content-grid-card__title,
.custom-layout-page .dept-content-grid-card--dark_premium .dept-content-grid-card__title,
.dept-home-content-grid-wrap .dept-content-grid-card--dark_premium .dept-content-grid-card__title,
.dept-content-grid-card--dark_premium h1,
.dept-content-grid-card--dark_premium h2,
.dept-content-grid-card--dark_premium h3,
.dept-content-grid-card--dark_premium h4,
.dept-content-grid-card--dark_premium h5,
.dept-content-grid-card--dark_premium h6,
.department-home-page .dept-content-grid-card--dark_premium h1,
.department-home-page .dept-content-grid-card--dark_premium h2,
.department-home-page .dept-content-grid-card--dark_premium h3,
.department-home-page .dept-content-grid-card--dark_premium h4,
.department-home-page .dept-content-grid-card--dark_premium h5,
.department-home-page .dept-content-grid-card--dark_premium h6,
.faculty-home-sections .dept-content-grid-card--dark_premium h1,
.faculty-home-sections .dept-content-grid-card--dark_premium h2,
.faculty-home-sections .dept-content-grid-card--dark_premium h3,
.faculty-home-sections .dept-content-grid-card--dark_premium h4,
.faculty-home-sections .dept-content-grid-card--dark_premium h5,
.faculty-home-sections .dept-content-grid-card--dark_premium h6,
.custom-layout-page .dept-content-grid-card--dark_premium h1,
.custom-layout-page .dept-content-grid-card--dark_premium h2,
.custom-layout-page .dept-content-grid-card--dark_premium h3,
.custom-layout-page .dept-content-grid-card--dark_premium h4,
.custom-layout-page .dept-content-grid-card--dark_premium h5,
.custom-layout-page .dept-content-grid-card--dark_premium h6,
.dept-content-grid-card--dark_premium .faculty-home-content h1,
.dept-content-grid-card--dark_premium .faculty-home-content h2,
.dept-content-grid-card--dark_premium .faculty-home-content h3,
.dept-content-grid-card--dark_premium .faculty-home-content h4,
.dept-content-grid-card--dark_premium .faculty-home-content h5,
.dept-content-grid-card--dark_premium .faculty-home-content h6,
.dept-content-grid-card--dark_premium .custom-layout-content h1,
.dept-content-grid-card--dark_premium .custom-layout-content h2,
.dept-content-grid-card--dark_premium .custom-layout-content h3,
.dept-content-grid-card--dark_premium .custom-layout-content h4,
.dept-content-grid-card--dark_premium .custom-layout-content h5,
.dept-content-grid-card--dark_premium .custom-layout-content h6,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content h1,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content h2,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content h3,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content h4,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content h5,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content h6 {
    color: #ffffff !important;
}

.dept-content-grid-card--dark_premium .dept-content-grid-card__content,
.dept-content-grid-card--dark_premium .dept-content-grid-card__content p,
.department-home-page .dept-content-grid-card--dark_premium .dept-content-grid-card__content,
#cardLivePreviewWrap .dept-content-grid-card--dark_premium .dept-content-grid-card__content,
.col-card-preview-wrap .dept-content-grid-card--dark_premium .dept-content-grid-card__content,
.faculty-home-sections .dept-content-grid-card--dark_premium .dept-content-grid-card__content,
.custom-layout-page .dept-content-grid-card--dark_premium .dept-content-grid-card__content,
.dept-home-content-grid-wrap .dept-content-grid-card--dark_premium .dept-content-grid-card__content,
.department-home-page .dept-content-grid-card--dark_premium .dept-content-grid-card__content p,
#cardLivePreviewWrap .dept-content-grid-card--dark_premium .dept-content-grid-card__content p,
.col-card-preview-wrap .dept-content-grid-card--dark_premium .dept-content-grid-card__content p,
.faculty-home-sections .dept-content-grid-card--dark_premium .dept-content-grid-card__content p,
.custom-layout-page .dept-content-grid-card--dark_premium .dept-content-grid-card__content p,
.dept-home-content-grid-wrap .dept-content-grid-card--dark_premium .dept-content-grid-card__content p,
.dept-content-grid-card--dark_premium p,
.dept-content-grid-card--dark_premium span:not(.badge),
.dept-content-grid-card--dark_premium font,
.department-home-page .dept-content-grid-card--dark_premium p,
.faculty-home-sections .dept-content-grid-card--dark_premium p,
.custom-layout-page .dept-content-grid-card--dark_premium p,
.dept-content-grid-card--dark_premium .faculty-home-content p,
.dept-content-grid-card--dark_premium .custom-layout-content p,
.dept-content-grid-card--dark_premium .custom-body-text,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content p,
.department-home-page .dept-content-grid-card--dark_premium .custom-layout-content p {
    color: #cbd5e1 !important;
}

.dept-content-grid-card--dark_premium strong,
.dept-content-grid-card--dark_premium b,
.department-home-page .dept-content-grid-card--dark_premium strong,
.department-home-page .dept-content-grid-card--dark_premium b,
.dept-content-grid-card--dark_premium .faculty-home-content strong,
.dept-content-grid-card--dark_premium .faculty-home-content b {
    color: #ffffff !important;
    font-weight: 600;
}

.dept-content-grid-card--dark_premium a,
.department-home-page .dept-content-grid-card--dark_premium a,
.faculty-home-sections .dept-content-grid-card--dark_premium a,
.custom-layout-page .dept-content-grid-card--dark_premium a,
.dept-content-grid-card--dark_premium .faculty-home-content a,
.dept-content-grid-card--dark_premium .custom-layout-content a,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content a,
.department-home-page .dept-content-grid-card--dark_premium .custom-layout-content a {
    color: #e2b755 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.dept-content-grid-card--dark_premium a:hover,
.department-home-page .dept-content-grid-card--dark_premium a:hover,
.faculty-home-sections .dept-content-grid-card--dark_premium a:hover,
.custom-layout-page .dept-content-grid-card--dark_premium a:hover,
.dept-content-grid-card--dark_premium .faculty-home-content a:hover,
.dept-content-grid-card--dark_premium .custom-layout-content a:hover,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content a:hover,
.department-home-page .dept-content-grid-card--dark_premium .custom-layout-content a:hover {
    color: #f6d27e !important;
}

.dept-content-grid-card--dark_premium ul > li,
.dept-content-grid-card--dark_premium ol > li,
.department-home-page .dept-content-grid-card--dark_premium ul > li,
.department-home-page .dept-content-grid-card--dark_premium ol > li,
.faculty-home-sections .dept-content-grid-card--dark_premium ul > li,
.faculty-home-sections .dept-content-grid-card--dark_premium ol > li,
.custom-layout-page .dept-content-grid-card--dark_premium ul > li,
.custom-layout-page .dept-content-grid-card--dark_premium ol > li,
.dept-content-grid-card--dark_premium .faculty-home-content ul > li,
.dept-content-grid-card--dark_premium .faculty-home-content ol > li,
.dept-content-grid-card--dark_premium .custom-layout-content ul > li,
.dept-content-grid-card--dark_premium .custom-layout-content ol > li {
    color: #cbd5e1 !important;
}

.dept-content-grid-card--dark_premium ul > li::before,
.department-home-page .dept-content-grid-card--dark_premium ul > li::before,
.faculty-home-sections .dept-content-grid-card--dark_premium ul > li::before,
.custom-layout-page .dept-content-grid-card--dark_premium ul > li::before,
.dept-content-grid-card--dark_premium .faculty-home-content ul > li::before,
.dept-content-grid-card--dark_premium .custom-layout-content ul > li::before,
.dept-content-grid-card--dark_premium .custom-body-text ul > li::before,
.dept-content-grid-card--dark_premium .dept-content-grid-card__content ul > li::before,
.department-home-page .dept-content-grid-card--dark_premium .faculty-home-content ul > li::before,
.department-home-page .dept-content-grid-card--dark_premium .custom-layout-content ul > li::before,
.department-home-page .dept-content-grid-card--dark_premium .dept-content-grid-card__content ul > li::before {
    background-color: #e2b755 !important;
}

.dept-content-grid-card--dark_premium ul ul > li::before,
.department-home-page .dept-content-grid-card--dark_premium ul ul > li::before,
.dept-content-grid-card--dark_premium .faculty-home-content ul ul > li::before {
    border-color: #e2b755 !important;
    background-color: transparent !important;
}

.dept-content-grid-card--dark_premium ol > li::marker,
.department-home-page .dept-content-grid-card--dark_premium ol > li::marker,
.faculty-home-sections .dept-content-grid-card--dark_premium ol > li::marker,
.custom-layout-page .dept-content-grid-card--dark_premium ol > li::marker,
.dept-content-grid-card--dark_premium .faculty-home-content ol > li::marker,
.dept-content-grid-card--dark_premium .custom-layout-content ol > li::marker {
    color: #e2b755 !important;
}

.dept-content-grid-card--dark_premium small,
.dept-content-grid-card--dark_premium .text-muted,
.department-home-page .dept-content-grid-card--dark_premium small,
.department-home-page .dept-content-grid-card--dark_premium .text-muted {
    color: #94a3b8 !important;
}

.dept-content-grid-card--dark_premium blockquote,
.department-home-page .dept-content-grid-card--dark_premium blockquote,
.faculty-home-sections .dept-content-grid-card--dark_premium blockquote,
.custom-layout-page .dept-content-grid-card--dark_premium blockquote,
.dept-content-grid-card--dark_premium .faculty-home-content blockquote,
.dept-content-grid-card--dark_premium .custom-layout-content blockquote {
    background: rgba(255, 255, 255, 0.05) !important;
    border-left: 3.5px solid #e2b755 !important;
    color: #e2e8f0 !important;
}

.dept-content-grid-card--dark_premium table,
.department-home-page .dept-content-grid-card--dark_premium table,
.faculty-home-sections .dept-content-grid-card--dark_premium table,
.custom-layout-page .dept-content-grid-card--dark_premium table,
.dept-content-grid-card--dark_premium .faculty-home-content table,
.dept-content-grid-card--dark_premium .custom-layout-content table {
    border-color: #2d3748 !important;
    color: #cbd5e1 !important;
}

.dept-content-grid-card--dark_premium table th,
.department-home-page .dept-content-grid-card--dark_premium table th,
.faculty-home-sections .dept-content-grid-card--dark_premium table th,
.custom-layout-page .dept-content-grid-card--dark_premium table th,
.dept-content-grid-card--dark_premium .faculty-home-content table th,
.dept-content-grid-card--dark_premium .custom-layout-content table th {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-bottom: 1px solid #2d3748 !important;
}

.dept-content-grid-card--dark_premium table td,
.department-home-page .dept-content-grid-card--dark_premium table td,
.faculty-home-sections .dept-content-grid-card--dark_premium table td,
.custom-layout-page .dept-content-grid-card--dark_premium table td,
.dept-content-grid-card--dark_premium .faculty-home-content table td,
.dept-content-grid-card--dark_premium .custom-layout-content table td {
    color: #cbd5e1 !important;
    border-color: #2d3748 !important;
}

.dept-content-grid-card--dark_premium table tr:hover td {
    background: rgba(255, 255, 255, 0.04) !important;
}

.dept-content-grid-card--dark_premium hr {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.dept-content-grid-card--dark_premium code,
.dept-content-grid-card--dark_premium pre {
    background: rgba(0, 0, 0, 0.4) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dept-content-grid-card--dark_premium .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card--dark_premium .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card--dark_premium .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card--dark_premium .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card--dark_premium .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card--dark_premium .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card--dark_premium .dept-content-grid-card__icon {
    background: rgba(255, 255, 255, 0.08);
    color: #e2b755;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dept-content-grid-card--dark_premium:hover .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card--dark_premium:hover .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card--dark_premium:hover .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card--dark_premium:hover .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card--dark_premium:hover .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card--dark_premium:hover .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card--dark_premium:hover .dept-content-grid-card__icon {
    background: #e2b755;
    color: #1a2232;
}

/* 13. Soft Gradient */
.dept-content-grid-card--soft_gradient,
.department-home-page .dept-content-grid-card--soft_gradient,
#cardLivePreviewWrap .dept-content-grid-card--soft_gradient,
.col-card-preview-wrap .dept-content-grid-card--soft_gradient,
.faculty-home-sections .dept-content-grid-card--soft_gradient,
.custom-layout-page .dept-content-grid-card--soft_gradient,
.dept-home-content-grid-wrap .dept-content-grid-card--soft_gradient {
    background: linear-gradient(145deg, #fff9fa 0%, #f7f1f3 100%);
    border: 1px solid rgba(121, 45, 67, 0.14);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(121, 45, 67, 0.04);
}

.dept-content-grid-card--soft_gradient:hover,
.department-home-page .dept-content-grid-card--soft_gradient:hover,
#cardLivePreviewWrap .dept-content-grid-card--soft_gradient:hover,
.col-card-preview-wrap .dept-content-grid-card--soft_gradient:hover,
.faculty-home-sections .dept-content-grid-card--soft_gradient:hover,
.custom-layout-page .dept-content-grid-card--soft_gradient:hover,
.dept-home-content-grid-wrap .dept-content-grid-card--soft_gradient:hover {
    transform: translateY(-4px);
    border-color: rgba(121, 45, 67, 0.28);
    box-shadow: 0 10px 28px rgba(121, 45, 67, 0.09);
}

.dept-content-grid-card--soft_gradient .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card--soft_gradient .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card--soft_gradient .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card--soft_gradient .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card--soft_gradient .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card--soft_gradient .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card--soft_gradient .dept-content-grid-card__icon {
    background: #ffffff;
    color: var(--theme-color, #792D43);
    box-shadow: 0 2px 8px rgba(121, 45, 67, 0.08);
}

.dept-content-grid-card--soft_gradient:hover .dept-content-grid-card__icon,
.department-home-page .dept-content-grid-card--soft_gradient:hover .dept-content-grid-card__icon,
#cardLivePreviewWrap .dept-content-grid-card--soft_gradient:hover .dept-content-grid-card__icon,
.col-card-preview-wrap .dept-content-grid-card--soft_gradient:hover .dept-content-grid-card__icon,
.faculty-home-sections .dept-content-grid-card--soft_gradient:hover .dept-content-grid-card__icon,
.custom-layout-page .dept-content-grid-card--soft_gradient:hover .dept-content-grid-card__icon,
.dept-home-content-grid-wrap .dept-content-grid-card--soft_gradient:hover .dept-content-grid-card__icon {
    background: var(--theme-color, #792D43);
    color: #ffffff;
}

/* =========================================================================
   Universal High-Contrast Contrast Guarantee for Dark-Theme Card Grids
   Overrides any university-wide or department page-level dark text selectors
   ========================================================================= */
.department-home-page [class*="dept-content-grid-card--dark"] h1,
.department-home-page [class*="dept-content-grid-card--dark"] h2,
.department-home-page [class*="dept-content-grid-card--dark"] h3,
.department-home-page [class*="dept-content-grid-card--dark"] h4,
.department-home-page [class*="dept-content-grid-card--dark"] h5,
.department-home-page [class*="dept-content-grid-card--dark"] h6,
.department-home-page [class*="dept-content-grid-card--image_overlay"] h1,
.department-home-page [class*="dept-content-grid-card--image_overlay"] h2,
.department-home-page [class*="dept-content-grid-card--image_overlay"] h3,
.department-home-page [class*="dept-content-grid-card--image_overlay"] h4,
.department-home-page [class*="dept-content-grid-card--image_overlay"] h5,
.department-home-page [class*="dept-content-grid-card--image_overlay"] h6,
.faculty-home-sections [class*="dept-content-grid-card--dark"] h1,
.faculty-home-sections [class*="dept-content-grid-card--dark"] h2,
.faculty-home-sections [class*="dept-content-grid-card--dark"] h3,
.faculty-home-sections [class*="dept-content-grid-card--dark"] h4,
.faculty-home-sections [class*="dept-content-grid-card--dark"] h5,
.faculty-home-sections [class*="dept-content-grid-card--dark"] h6,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] h1,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] h2,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] h3,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] h4,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] h5,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] h6,
.custom-layout-page [class*="dept-content-grid-card--dark"] h1,
.custom-layout-page [class*="dept-content-grid-card--dark"] h2,
.custom-layout-page [class*="dept-content-grid-card--dark"] h3,
.custom-layout-page [class*="dept-content-grid-card--dark"] h4,
.custom-layout-page [class*="dept-content-grid-card--dark"] h5,
.custom-layout-page [class*="dept-content-grid-card--dark"] h6,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] h1,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] h2,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] h3,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] h4,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] h5,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] h6 {
    color: #ffffff !important;
}

.department-home-page [class*="dept-content-grid-card--dark"] p,
.department-home-page [class*="dept-content-grid-card--dark"] span:not(.badge),
.department-home-page [class*="dept-content-grid-card--dark"] font,
.department-home-page [class*="dept-content-grid-card--dark"] li,
.faculty-home-sections [class*="dept-content-grid-card--dark"] p,
.faculty-home-sections [class*="dept-content-grid-card--dark"] span:not(.badge),
.faculty-home-sections [class*="dept-content-grid-card--dark"] font,
.faculty-home-sections [class*="dept-content-grid-card--dark"] li,
.custom-layout-page [class*="dept-content-grid-card--dark"] p,
.custom-layout-page [class*="dept-content-grid-card--dark"] span:not(.badge),
.custom-layout-page [class*="dept-content-grid-card--dark"] font,
.custom-layout-page [class*="dept-content-grid-card--dark"] li {
    color: #cbd5e1 !important;
}

.department-home-page [class*="dept-content-grid-card--image_overlay"] p,
.department-home-page [class*="dept-content-grid-card--image_overlay"] span:not(.badge),
.department-home-page [class*="dept-content-grid-card--image_overlay"] font,
.department-home-page [class*="dept-content-grid-card--image_overlay"] li,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] p,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] span:not(.badge),
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] font,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] li,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] p,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] span:not(.badge),
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] font,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] li {
    color: #e2e8f0 !important;
}

.department-home-page [class*="dept-content-grid-card--dark"] strong,
.department-home-page [class*="dept-content-grid-card--dark"] b,
.department-home-page [class*="dept-content-grid-card--image_overlay"] strong,
.department-home-page [class*="dept-content-grid-card--image_overlay"] b,
.faculty-home-sections [class*="dept-content-grid-card--dark"] strong,
.faculty-home-sections [class*="dept-content-grid-card--dark"] b,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] strong,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] b,
.custom-layout-page [class*="dept-content-grid-card--dark"] strong,
.custom-layout-page [class*="dept-content-grid-card--dark"] b,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] strong,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] b {
    color: #ffffff !important;
}

.department-home-page [class*="dept-content-grid-card--dark"] a,
.faculty-home-sections [class*="dept-content-grid-card--dark"] a,
.custom-layout-page [class*="dept-content-grid-card--dark"] a {
    color: #e2b755 !important;
}

.department-home-page [class*="dept-content-grid-card--dark"] a:hover,
.faculty-home-sections [class*="dept-content-grid-card--dark"] a:hover,
.custom-layout-page [class*="dept-content-grid-card--dark"] a:hover {
    color: #f6d27e !important;
}

.department-home-page [class*="dept-content-grid-card--image_overlay"] a,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] a,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] a {
    color: #ffd700 !important;
}

.department-home-page [class*="dept-content-grid-card--image_overlay"] a:hover,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] a:hover,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] a:hover {
    color: #ffe033 !important;
}

.department-home-page [class*="dept-content-grid-card--dark"] ul > li::before,
.faculty-home-sections [class*="dept-content-grid-card--dark"] ul > li::before,
.custom-layout-page [class*="dept-content-grid-card--dark"] ul > li::before {
    background-color: #e2b755 !important;
}

.department-home-page [class*="dept-content-grid-card--image_overlay"] ul > li::before,
.faculty-home-sections [class*="dept-content-grid-card--image_overlay"] ul > li::before,
.custom-layout-page [class*="dept-content-grid-card--image_overlay"] ul > li::before {
    background-color: #ffd700 !important;
}

/* Tablet Refinements (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .department-home-page .dept-content-grid-item,
    .faculty-home-sections .dept-content-grid-item,
    .custom-layout-page .dept-content-grid-item,
    .dept-home-content-grid-wrap .dept-content-grid-item,
    .department-home-page .dept-content-grid-col .dept-content-grid-item,
    .faculty-home-sections .dept-content-grid-col .dept-content-grid-item,
    .custom-layout-page .dept-content-grid-col .dept-content-grid-item,
    .dept-home-content-grid-wrap .dept-content-grid-col .dept-content-grid-item {
        margin-bottom: 20px;
    }
}

/* Mobile Refinements (<768px) */
@media (max-width: 767.98px) {
    .department-home-page .dept-content-grid-masonry,
    .faculty-home-sections .dept-content-grid-masonry,
    .custom-layout-page .dept-content-grid-masonry,
    .dept-home-content-grid-wrap .dept-content-grid-masonry {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .department-home-page .dept-content-grid-col,
    .faculty-home-sections .dept-content-grid-col,
    .custom-layout-page .dept-content-grid-col,
    .dept-home-content-grid-wrap .dept-content-grid-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .department-home-page .dept-content-grid-item,
    .faculty-home-sections .dept-content-grid-item,
    .custom-layout-page .dept-content-grid-item,
    .dept-home-content-grid-wrap .dept-content-grid-item,
    .department-home-page .dept-content-grid-col .dept-content-grid-item,
    .faculty-home-sections .dept-content-grid-col .dept-content-grid-item,
    .custom-layout-page .dept-content-grid-col .dept-content-grid-item,
    .dept-home-content-grid-wrap .dept-content-grid-col .dept-content-grid-item,
    .department-home-page .dept-content-grid-sizer,
    .faculty-home-sections .dept-content-grid-sizer,
    .custom-layout-page .dept-content-grid-sizer,
    .dept-home-content-grid-wrap .dept-content-grid-sizer {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 16px !important;
        float: none !important;
    }

    .department-home-page .dept-content-grid-card,
    .faculty-home-sections .dept-content-grid-card,
    .custom-layout-page .dept-content-grid-card,
    .dept-home-content-grid-wrap .dept-content-grid-card {
        width: 100% !important;
        padding: 20px 16px !important;
        border-radius: 12px;
        box-sizing: border-box !important;
    }

    .department-home-page .dept-content-grid-card__title,
    .faculty-home-sections .dept-content-grid-card__title,
    .custom-layout-page .dept-content-grid-card__title,
    .dept-home-content-grid-wrap .dept-content-grid-card__title {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .department-home-page .dept-content-grid-card__icon,
    .faculty-home-sections .dept-content-grid-card__icon,
    .custom-layout-page .dept-content-grid-card__icon,
    .dept-home-content-grid-wrap .dept-content-grid-card__icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* ==========================================================================
   Department Home Page: Content Grid — Accordion Display Style System
   Supports 6 Distinct Accordion Designs:
   1. Classic Accordion (clean bordered rows with plus/minus toggle)
   2. Minimal Accordion (simple separators, subtle spacing, minimal borders)
   3. Card Accordion (individual rounded panels with subtle shadow & spacing)
   4. Modern Accordion (refined typography, highlighted active item, left bar)
   5. Icon Accordion (distinct leading icon box & expand indicator)
   6. Colored Header Accordion (theme-colored headers & contrast text)
   ========================================================================== */

/* Outer Wrap */
.dept-home-content-accordion-wrap {
    width: 100%;
    margin: 0 0 24px 0;
    box-sizing: border-box;
}

/* Accordion Container (Shared by Frontend & Admin Live Preview) */
.dept-content-accordion,
#accordionLivePreviewWrap .dept-content-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Accordion Item */
.dept-content-accordion .dept-accordion-item,
#accordionLivePreviewWrap .dept-accordion-item {
    position: relative;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Heading & Button */
.dept-content-accordion .dept-accordion-item__heading,
#accordionLivePreviewWrap .dept-accordion-item__heading {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.4;
    border: none;
}

.dept-content-accordion .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-accordion__header-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    background: transparent;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    font-family: inherit;
    color: #1e293b;
    border-radius: inherit;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
}

.dept-content-accordion .dept-accordion__header-btn:focus-visible,
#accordionLivePreviewWrap .dept-accordion__header-btn:focus-visible {
    outline: 2px solid var(--theme-color, #792D43);
    outline-offset: -2px;
}

.dept-content-accordion .dept-accordion__header-left,
#accordionLivePreviewWrap .dept-accordion__header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.dept-content-accordion .dept-accordion__title-text,
#accordionLivePreviewWrap .dept-accordion__title-text {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1e293b;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color 0.25s ease;
}

/* Leading Icon Box */
.dept-content-accordion .dept-accordion__icon-box,
#accordionLivePreviewWrap .dept-accordion__icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(121, 45, 67, 0.08);
    color: var(--theme-color, #792D43);
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

/* Accordion Body & Content */
.dept-content-accordion .dept-accordion__body,
#accordionLivePreviewWrap .dept-accordion__body {
    padding: 18px 20px 22px 20px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.65;
    word-break: break-word;
    overflow-wrap: break-word;
}

.dept-content-accordion .dept-accordion__content p:last-child,
#accordionLivePreviewWrap .dept-content-accordion__content p:last-child {
    margin-bottom: 0;
}

.dept-content-accordion .dept-accordion__content img,
#accordionLivePreviewWrap .dept-content-accordion__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
}

.dept-content-accordion .dept-accordion__content table,
#accordionLivePreviewWrap .dept-content-accordion__content table {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

/* ==========================================================================
   STYLE 1: Classic Accordion (.dept-content-accordion--classic)
   Clean bordered rows with responsive plus/minus expand toggle
   ========================================================================== */
.dept-content-accordion--classic,
#accordionLivePreviewWrap .dept-content-accordion--classic {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.dept-content-accordion--classic .dept-accordion-item:not(:last-child),
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion-item:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

.dept-content-accordion--classic .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion__header-btn {
    background: #fafbfc;
}

.dept-content-accordion--classic .dept-accordion-item:hover .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion-item:hover .dept-accordion__header-btn {
    background: #f1f5f9;
}

.dept-content-accordion--classic .dept-accordion-item.is-active .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion-item.is-active .dept-accordion__header-btn {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.dept-content-accordion--classic .dept-accordion-item.is-active .dept-accordion__title-text,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion-item.is-active .dept-accordion__title-text {
    color: var(--theme-color, #792D43);
}

/* Plus/Minus Indicator */
.dept-content-accordion--classic .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion__indicator-icon {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
}

.dept-content-accordion--classic .dept-accordion__indicator-icon::before,
.dept-content-accordion--classic .dept-accordion__indicator-icon::after,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion__indicator-icon::before,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion__indicator-icon::after {
    content: '';
    position: absolute;
    background-color: var(--theme-color, #792D43);
    transition: transform 0.25s ease, opacity 0.25s ease;
    border-radius: 1px;
}

.dept-content-accordion--classic .dept-accordion__indicator-icon::before,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion__indicator-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

.dept-content-accordion--classic .dept-accordion__indicator-icon::after,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion__indicator-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.dept-content-accordion--classic .dept-accordion-item.is-active .dept-accordion__indicator-icon::after,
#accordionLivePreviewWrap .dept-content-accordion--classic .dept-accordion-item.is-active .dept-accordion__indicator-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* ==========================================================================
   STYLE 2: Minimal Accordion (.dept-content-accordion--minimal)
   Simple horizontal row separators, subtle spacing, minimal borders
   ========================================================================== */
.dept-content-accordion--minimal,
#accordionLivePreviewWrap .dept-content-accordion--minimal {
    border: none;
    background: transparent;
}

.dept-content-accordion--minimal .dept-accordion-item,
#accordionLivePreviewWrap .dept-content-accordion--minimal .dept-accordion-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 2px 0;
}

.dept-content-accordion--minimal .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--minimal .dept-accordion__header-btn {
    padding: 18px 4px;
    background: transparent;
}

.dept-content-accordion--minimal .dept-accordion__title-text,
#accordionLivePreviewWrap .dept-content-accordion--minimal .dept-accordion__title-text {
    font-size: 1.05rem;
    font-weight: 500;
}

.dept-content-accordion--minimal .dept-accordion-item:hover .dept-accordion__title-text,
#accordionLivePreviewWrap .dept-content-accordion--minimal .dept-accordion-item:hover .dept-accordion__title-text {
    color: var(--theme-color, #792D43);
}

.dept-content-accordion--minimal .dept-accordion-item.is-active .dept-accordion__title-text,
#accordionLivePreviewWrap .dept-content-accordion--minimal .dept-accordion-item.is-active .dept-accordion__title-text {
    color: var(--theme-color, #792D43);
    font-weight: 700;
}

.dept-content-accordion--minimal .dept-accordion__body,
#accordionLivePreviewWrap .dept-content-accordion--minimal .dept-accordion__body {
    padding: 0 4px 20px 4px;
}

/* Minimal Chevron */
.dept-content-accordion--minimal .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--minimal .dept-accordion__indicator-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dept-content-accordion--minimal .dept-accordion-item.is-active .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--minimal .dept-accordion-item.is-active .dept-accordion__indicator-icon {
    transform: rotate(-135deg);
    border-color: var(--theme-color, #792D43);
}

/* ==========================================================================
   STYLE 3: Card Accordion (.dept-content-accordion--card)
   Individual rounded panels with subtle shadows and discrete spacing
   ========================================================================== */
.dept-content-accordion--card,
#accordionLivePreviewWrap .dept-content-accordion--card {
    gap: 14px;
    background: transparent;
}

.dept-content-accordion--card .dept-accordion-item,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dept-content-accordion--card .dept-accordion-item:hover,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    border-color: #d1d5db;
}

.dept-content-accordion--card .dept-accordion-item.is-active,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion-item.is-active {
    border-color: rgba(121, 45, 67, 0.35);
    box-shadow: 0 8px 24px rgba(121, 45, 67, 0.09);
}

.dept-content-accordion--card .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion__header-btn {
    padding: 18px 22px;
}

.dept-content-accordion--card .dept-accordion-item.is-active .dept-accordion__title-text,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion-item.is-active .dept-accordion__title-text {
    color: var(--theme-color, #792D43);
}

.dept-content-accordion--card .dept-accordion__body,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion__body {
    border-top: 1px solid #f1f5f9;
    padding: 18px 22px 22px 22px;
}

/* Circular Badge Chevron */
.dept-content-accordion--card .dept-accordion__indicator,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion__indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.dept-content-accordion--card .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion__indicator-icon {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dept-content-accordion--card .dept-accordion-item.is-active .dept-accordion__indicator,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion-item.is-active .dept-accordion__indicator {
    background: var(--theme-color, #792D43);
}

.dept-content-accordion--card .dept-accordion-item.is-active .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--card .dept-accordion-item.is-active .dept-accordion__indicator-icon {
    border-color: #ffffff;
    transform: rotate(-135deg);
}

/* ==========================================================================
   STYLE 4: Modern Accordion (.dept-content-accordion--modern)
   Refined typography, highlighted active item, left accent border
   ========================================================================== */
.dept-content-accordion--modern,
#accordionLivePreviewWrap .dept-content-accordion--modern {
    gap: 12px;
    background: transparent;
}

.dept-content-accordion--modern .dept-accordion-item,
#accordionLivePreviewWrap .dept-content-accordion--modern .dept-accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.dept-content-accordion--modern .dept-accordion-item:hover,
#accordionLivePreviewWrap .dept-content-accordion--modern .dept-accordion-item:hover {
    border-left-color: var(--theme-color, #792D43);
}

.dept-content-accordion--modern .dept-accordion-item.is-active,
#accordionLivePreviewWrap .dept-content-accordion--modern .dept-accordion-item.is-active {
    border-color: #e2e8f0;
    border-left: 4px solid var(--theme-color, #792D43);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.dept-content-accordion--modern .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--modern .dept-accordion__header-btn {
    padding: 16px 20px;
}

.dept-content-accordion--modern .dept-accordion-item.is-active .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--modern .dept-accordion-item.is-active .dept-accordion__header-btn {
    background: rgba(121, 45, 67, 0.03);
}

.dept-content-accordion--modern .dept-accordion-item.is-active .dept-accordion__title-text,
#accordionLivePreviewWrap .dept-content-accordion--modern .dept-accordion-item.is-active .dept-accordion__title-text {
    color: var(--theme-color, #792D43);
    font-weight: 700;
}

.dept-content-accordion--modern .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--modern .dept-accordion__indicator-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dept-content-accordion--modern .dept-accordion-item.is-active .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--modern .dept-accordion-item.is-active .dept-accordion__indicator-icon {
    border-color: var(--theme-color, #792D43);
    transform: rotate(-135deg);
}

.dept-content-accordion--modern .dept-accordion__body,
#accordionLivePreviewWrap .dept-content-accordion--modern .dept-accordion__body {
    padding: 16px 20px 22px 20px;
}

/* ==========================================================================
   STYLE 5: Icon Accordion (.dept-content-accordion--icon)
   Distinct leading icons and clear expand/collapse indicator
   ========================================================================== */
.dept-content-accordion--icon,
#accordionLivePreviewWrap .dept-content-accordion--icon {
    gap: 12px;
    background: transparent;
}

.dept-content-accordion--icon .dept-accordion-item,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.dept-content-accordion--icon .dept-accordion-item:hover,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion-item:hover {
    border-color: rgba(121, 45, 67, 0.25);
}

.dept-content-accordion--icon .dept-accordion-item.is-active,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion-item.is-active {
    border-color: rgba(121, 45, 67, 0.4);
    box-shadow: 0 6px 20px rgba(121, 45, 67, 0.08);
}

.dept-content-accordion--icon .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion__header-btn {
    padding: 16px 20px;
}

.dept-content-accordion--icon .dept-accordion__icon-box,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion__icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(121, 45, 67, 0.08);
    color: var(--theme-color, #792D43);
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.dept-content-accordion--icon .dept-accordion-item.is-active .dept-accordion__icon-box,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion-item.is-active .dept-accordion__icon-box {
    background: var(--theme-color, #792D43);
    color: #ffffff;
    transform: scale(1.05);
}

.dept-content-accordion--icon .dept-accordion-item.is-active .dept-accordion__title-text,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion-item.is-active .dept-accordion__title-text {
    color: var(--theme-color, #792D43);
}

.dept-content-accordion--icon .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion__indicator-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dept-content-accordion--icon .dept-accordion-item.is-active .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion-item.is-active .dept-accordion__indicator-icon {
    border-color: var(--theme-color, #792D43);
    transform: rotate(-135deg);
}

.dept-content-accordion--icon .dept-accordion__body,
#accordionLivePreviewWrap .dept-content-accordion--icon .dept-accordion__body {
    padding: 16px 20px 22px 20px;
    border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   STYLE 6: Colored Header Accordion (.dept-content-accordion--colored_header)
   Theme-colored headers with readable high-contrast text and visual active state
   ========================================================================== */
.dept-content-accordion--colored_header,
#accordionLivePreviewWrap .dept-content-accordion--colored_header {
    gap: 12px;
    background: transparent;
}

.dept-content-accordion--colored_header .dept-accordion-item,
#accordionLivePreviewWrap .dept-content-accordion--colored_header .dept-accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.dept-content-accordion--colored_header .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--colored_header .dept-accordion__header-btn {
    background: #f8fafc;
    padding: 16px 22px;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.25s ease, color 0.25s ease;
}

.dept-content-accordion--colored_header .dept-accordion-item:hover .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--colored_header .dept-accordion-item:hover .dept-accordion__header-btn {
    background: #f1f5f9;
}

.dept-content-accordion--colored_header .dept-accordion-item.is-active .dept-accordion__header-btn,
#accordionLivePreviewWrap .dept-content-accordion--colored_header .dept-accordion-item.is-active .dept-accordion__header-btn {
    background: var(--theme-color, #792D43);
    color: #ffffff;
    border-bottom-color: transparent;
}

.dept-content-accordion--colored_header .dept-accordion-item.is-active .dept-accordion__title-text,
#accordionLivePreviewWrap .dept-content-accordion--colored_header .dept-accordion-item.is-active .dept-accordion__title-text {
    color: #ffffff;
}

.dept-content-accordion--colored_header .dept-accordion-item.is-active .dept-accordion__icon-box,
#accordionLivePreviewWrap .dept-content-accordion--colored_header .dept-accordion-item.is-active .dept-accordion__icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.dept-content-accordion--colored_header .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--colored_header .dept-accordion__indicator-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dept-content-accordion--colored_header .dept-accordion-item.is-active .dept-accordion__indicator-icon,
#accordionLivePreviewWrap .dept-content-accordion--colored_header .dept-accordion-item.is-active .dept-accordion__indicator-icon {
    border-color: #ffffff;
    transform: rotate(-135deg);
}

.dept-content-accordion--colored_header .dept-accordion__body,
#accordionLivePreviewWrap .dept-content-accordion--colored_header .dept-accordion__body {
    padding: 20px 22px 24px 22px;
}

/* ==========================================================================
   Admin-side Display Style Cards & Accordion Selection Tiles
   ========================================================================== */
.display-style-card {
    transition: all 0.2s ease;
    border-width: 2px !important;
}

.display-style-card:hover {
    border-color: #696cff !important;
    background-color: #fbfbfe !important;
}

.display-style-card.border-primary {
    border-color: #696cff !important;
    background-color: rgba(105, 108, 255, 0.05) !important;
}

.accordion-style-tile {
    transition: all 0.2s ease;
    border-width: 2px !important;
}

.accordion-style-tile:hover {
    border-color: #696cff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.accordion-style-tile.active {
    border-color: #696cff !important;
    background-color: rgba(105, 108, 255, 0.06) !important;
    box-shadow: 0 4px 12px rgba(105, 108, 255, 0.12);
}

/* Accordion Mobile Refinements (<768px) */
@media (max-width: 767.98px) {
    .dept-content-accordion .dept-accordion__header-btn,
    #accordionLivePreviewWrap .dept-accordion__header-btn {
        padding: 14px 16px;
        gap: 12px;
    }

    .dept-content-accordion .dept-accordion__title-text,
    #accordionLivePreviewWrap .dept-content-accordion__title-text {
        font-size: 0.98rem;
    }

    .dept-content-accordion .dept-accordion__body,
    #accordionLivePreviewWrap .dept-accordion__body {
        padding: 14px 16px 18px 16px;
        font-size: 0.9rem;
    }

    .dept-content-accordion .dept-accordion__icon-box,
    #accordionLivePreviewWrap .dept-accordion__icon-box {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Standardized Frontend Breadcrumb Navigation Across All Pages
   ========================================================================== */
.breadcumb-menu {
    max-width: 100%;
    padding: 0;
    list-style-type: none;
    position: relative;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0 !important;
}

.breadcumb-menu li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    position: relative !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    font-family: var(--body-font, "Plus Jakarta Sans", sans-serif) !important;
    color: var(--white-color) !important;
}

.breadcumb-menu li a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out !important;
    display: inline-block !important;
}

.breadcumb-menu li a:hover,
.breadcumb-menu li a:focus {
    color: var(--theme-color) !important;
    /*text-decoration: underline !important;*/
}

/* Plain text separator '>' replacing Font Awesome \f101 */
.breadcumb-menu li:after {
    content: "/" !important;
    display: inline-block !important;
    margin: 0 8px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #FFFFFF !important;
    font-family: var(--body-font, "Plus Jakarta Sans", sans-serif) !important;
    vertical-align: middle !important;
}

.breadcumb-menu li:last-child:after {
    display: none !important;
    content: "" !important;
}

/* Current page styling (final breadcrumb item) */
.breadcumb-menu li:last-child,
.breadcumb-menu li.active {
    color: var(--white-color) !important;
    font-weight: 600 !important;
}

@media (max-width: 767px) {
    .breadcumb-menu {
        margin-top: 10px !important;
    }

    .breadcumb-menu li {
        font-size: 14px !important;
    }

    .breadcumb-menu li:after {
        margin: 0 6px !important;
        font-size: 12px !important;
    }
}

/* =========================================================================
   VIEW ALL UPDATES SECTION STYLING
   ========================================================================= */
.view-all-updates-section {
    padding: 50px 0 80px;
    background-color: #f7f9fb;
}

/* Updates Tab Pane Visibility Matching (Requirement 4) */
.view-all-updates-section .updates-tab-pane {
    transition: opacity 0.2s ease;
}

.view-all-updates-section .updates-tab-pane:not(.active) {
    display: none;
}

.view-all-updates-section .updates-tab-pane.active {
    display: block;
}

.view-all-updates-section .update-announcements-card {
    border-radius: 18px;
    border: 1px solid rgba(239, 89, 36, 0.12);
    background: #ffffff;
}

.view-all-updates-section .update-notifications-card {
    border-radius: 18px;
    border: 1px solid rgba(40, 167, 69, 0.15);
    background: #ffffff;
}

.view-all-updates-section .update-nav-count-badge {
    font-size: 11px;
}

.view-all-updates-section .update-mode-badge {
    font-size: 12px;
    border-radius: 20px;
}

.view-all-updates-section .update-record-card {
    background: #ffffff;
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: all 0.28s ease;
    position: relative;
}

.view-all-updates-section .update-record-card:hover {
    border-color: rgba(239, 89, 36, 0.35);
    box-shadow: 0 10px 28px rgba(0, 33, 71, 0.07);
    transform: translateY(-2px);
}

.view-all-updates-section .update-record-card.is-pinned-card {
    border-left: 4px solid #ffc107;
    background: linear-gradient(to right, rgba(255, 193, 7, 0.04), #ffffff 25%);
}

.view-all-updates-section .update-date-box {
    width: 70px;
    min-width: 70px;
    padding: 10px 4px 8px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(0, 33, 71, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 33, 71, 0.03);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.view-all-updates-section .update-record-card:hover .update-date-box {
    border-color: rgba(239, 89, 36, 0.35);
    background-color: #f1f5f9;
}

.view-all-updates-section .update-date-box .date-day {
    font-family: var(--title-font, "Plus Jakarta Sans", sans-serif);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--title-color, #002147);
    letter-spacing: -0.5px;
    display: block;
}

.view-all-updates-section .update-date-box .date-month {
    font-family: var(--body-font, "Plus Jakarta Sans", sans-serif);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--theme-color, #EF5924);
    letter-spacing: 0.8px;
    margin-top: 3px;
    line-height: 1.15;
    display: block;
}

.view-all-updates-section .update-date-box .date-year {
    font-family: var(--body-font, "Plus Jakarta Sans", sans-serif);
    font-size: 11px;
    font-weight: 600;
    color: var(--body-color, #64748b);
    letter-spacing: 0.2px;
    line-height: 1.15;
    margin-top: 2px;
    display: block;
}

.view-all-updates-section .update-record-main {
    flex-grow: 1;
    min-width: 0;
}

.view-all-updates-section .update-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.view-all-updates-section .update-badge-pin {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
}

.view-all-updates-section .update-badge-type {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.view-all-updates-section .update-badge-type.type-announcements {
    background-color: rgba(239, 89, 36, 0.1);
    color: #EF5924;
}

.view-all-updates-section .update-badge-type.type-notifications {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.view-all-updates-section .update-meta-date {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.view-all-updates-section .update-record-title {
    font-family: var(--body-font);
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.48;
    margin: 0;
    color: var(--title-color, #002147);
}

.view-all-updates-section .update-record-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all-updates-section .update-record-title a:hover {
    color: var(--theme-color, #EF5924);
}

.view-all-updates-section .update-action-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.view-all-updates-section .update-action-btn {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    padding: 7px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.view-all-updates-section .update-action-btn:hover {
    transform: translateY(-1px);
}

.view-all-updates-section .update-empty-box {
    background: #ffffff;
    border: 1px dashed rgba(0, 33, 71, 0.15);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

.view-all-updates-section .update-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(0, 33, 71, 0.06);
}

.view-all-updates-section .update-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.view-all-updates-section .update-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.view-all-updates-section .update-section-icon.announcements-icon {
    background: rgba(239, 89, 36, 0.1);
    color: #EF5924;
}

.view-all-updates-section .update-section-icon.notifications-icon {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.view-all-updates-section .update-section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--title-color, #002147);
}

.view-all-updates-section .update-view-more-wrap {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 33, 71, 0.08);
    text-align: center;
}

.view-all-updates-section .btn-view-more-primary {
    background: #EF5924;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 26px;
    border-radius: 30px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(239, 89, 36, 0.25);
    transition: all 0.25s ease;
    text-decoration: none;
}

.view-all-updates-section .btn-view-more-primary:hover {
    background: #d84815;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 89, 36, 0.35);
}

.view-all-updates-section .btn-view-more-primary.btn-view-more-notifications {
    background: #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.25);
}

.view-all-updates-section .btn-view-more-primary.btn-view-more-notifications:hover {
    background: #218838;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
}

.view-all-updates-section .update-pagination-wrapper {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 33, 71, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.view-all-updates-section .th-pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .view-all-updates-section .update-pagination-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 767.98px) {
    .view-all-updates-section .update-record-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .view-all-updates-section .update-record-header-mobile {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .view-all-updates-section .update-date-box {
        width: 62px;
        min-width: 62px;
        padding: 8px 4px 6px;
        border-radius: 8px;
    }

    .view-all-updates-section .update-date-box .date-day {
        font-size: 20px;
    }

    .view-all-updates-section .update-date-box .date-month {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .view-all-updates-section .update-date-box .date-year {
        font-size: 10px;
    }

    .view-all-updates-section .update-action-wrap {
        width: 100%;
    }

    .view-all-updates-section .update-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================================
   HOME PAGE "SCROLL DOWN TO EXPLORE" HERO STRIP
   ========================================================================= */
.hero-scroll-explore-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--theme-color); /* Deep maroon/red matching reference design */
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 5px 16px;
    min-height: 28px;
    font-family: var(--body-font, "Plus Jakarta Sans", sans-serif);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 10;
    margin: 0;
    line-height: 1.2;
    transition: background-color 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-scroll-explore-strip:hover,
.hero-scroll-explore-strip:focus-visible {
    background-color: #454B54; /* Slightly deeper maroon on hover */
    color: #ffffff !important;
    text-decoration: none !important;
}

.hero-scroll-explore-strip:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -2px;
}

.hero-scroll-explore-strip span {
    display: inline-block;
    color: #ffffff;
}

/* Statistically Speaking target scroll offset to clear sticky/fixed header */
#stats-sec {
    scroll-margin-top: 75px;
}

@media (max-width: 767.98px) {
    .hero-scroll-explore-strip {
        font-size: 12px;
        min-height: 34px;
        padding: 8px 12px;
        letter-spacing: 0.2px;
    }

    #stats-sec {
        scroll-margin-top: 65px;
    }
}

/*--------------------------------------------------------------
# 33. Home Page - Vision, Mission & Quality Policy Unified Section
# Redesign into a unified container with section-bg.webp,
# semi-transparent black overlay, and translucent cards
--------------------------------------------------------------*/
.modern-about-section .home-vmq-unified-container {
    position: relative;
    background-image: url('../img/section-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 22px;
    padding: 55px 45px;
    margin-top: 55px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 20px 50px rgba(0, 27, 53, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Semi-transparent black overlay for enhanced contrast and depth */
.modern-about-section .home-vmq-unified-container::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(4, 15, 30, 0.82) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Content layer positioning over overlay */
.modern-about-section .home-vmq-unified-container .home-vmq-row {
    position: relative;
    z-index: 2;
}

/* Translucent Card Surfaces */
.modern-about-section .home-vmq-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 38px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.modern-about-section .home-vmq-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* Restrained top accent line */
.modern-about-section .home-vmq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 2px;
    transition: all 0.35s ease;
}

.modern-about-section .home-vmq-card:hover::before {
    left: 20px;
    right: 20px;
    background: linear-gradient(90deg, transparent, var(--theme-color, #ef5924), transparent);
    height: 2px;
}

/* Icon Container */
.modern-about-section .home-vmq-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--theme-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
    flex-shrink: 0;
    transition: color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.modern-about-section .home-vmq-card:hover .home-vmq-icon,
.modern-about-section .home-vmq-icon:hover {
    background: var(--theme-color, #ef5924);
    border-color: var(--theme-color, #ef5924);
    color: var(--theme-color2);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(239, 89, 36, 0.35);
}

/* Headings */
.modern-about-section .home-vmq-title {
    font-family: var(--title-font, "Playfair Display", serif);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

/* Body Text */
.modern-about-section .home-vmq-text {
    font-family: var(--body-font, "Plus Jakarta Sans", sans-serif);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Responsive adjustments: Tablet Screens */
@media (min-width: 768px) and (max-width: 991.98px) {
    .modern-about-section .home-vmq-unified-container {
        padding: 36px 24px;
        margin-top: 40px;
        border-radius: 18px;
    }

    .modern-about-section .home-vmq-row {
        --bs-gutter-x: 16px;
        --bs-gutter-y: 16px;
    }

    .modern-about-section .home-vmq-card {
        padding: 26px 18px;
        border-radius: 14px;
    }

    .modern-about-section .home-vmq-card::before {
        left: 20px;
        right: 20px;
    }

    .modern-about-section .home-vmq-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .modern-about-section .home-vmq-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .modern-about-section .home-vmq-text {
        font-size: 13.5px;
        line-height: 1.55;
    }
}

/* Responsive adjustments: Mobile Screens */
@media (max-width: 767.98px) {
    .modern-about-section .home-vmq-unified-container {
        padding: 28px 18px;
        margin-top: 35px;
        border-radius: 16px;
    }

    .modern-about-section .home-vmq-row {
        --bs-gutter-y: 18px;
    }

    .modern-about-section .home-vmq-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .modern-about-section .home-vmq-card::before {
        left: 18px;
        right: 18px;
    }

    .modern-about-section .home-vmq-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .modern-about-section .home-vmq-title {
        font-size: 21px;
        margin-bottom: 12px;
    }

    .modern-about-section .home-vmq-text {
        font-size: 14.5px;
        line-height: 1.65;
    }
}

/*--------------------------------------------------------------
# 34. Schools & Centers Area Redesign
# Premium cards with 1200x800 (3:2) image ratio, refined typography,
# smooth hover transitions, and responsive Swiper slider styling
--------------------------------------------------------------*/
.schools-section {
    background-color: #f8fafc;
    position: relative;
    padding: 85px 0 95px;
    overflow: hidden;
}

/* Subtle border accents for section separation */
.schools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 39, 76, 0.08), transparent);
}

/* Slider Area Container & overflow clearance for card elevation */
.schools-section .slider-area {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.schools-section #schoolSlider {
    padding: 12px 6px 28px;
    margin: -12px -6px -28px;
    overflow: hidden;
}

.schools-section #schoolSlider .swiper-slide {
    height: auto;
    display: flex;
}

/* Premium School Card */
.schools-section .school-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(0, 39, 76, 0.09);
    overflow: hidden;
    height: 100%;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 27, 53, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.schools-section .school-card:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 89, 36, 0.35);
    box-shadow: 0 20px 42px rgba(0, 27, 53, 0.12);
}

/* Image Wrapper with 1200x800 (3:2) aspect ratio */
.schools-section .school-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

.schools-section .school-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 65%, rgba(0, 20, 40, 0.22) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.schools-section .school-card:hover .school-img-wrap::after {
    opacity: 0.8;
}

/* School Image with consistent 3:2 ratio and zoom on hover */
.schools-section .school-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.schools-section .school-card:hover .school-img {
    transform: scale(1.06);
}

/* Card Body */
.schools-section .school-card-body {
    padding: 28px 24px 26px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
}

/* Card Title */
.schools-section .school-card-title {
    font-family: var(--title-font, "Playfair Display", serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color2, #00274c);
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.schools-section .school-card:hover .school-card-title {
    color: var(--theme-color, #ef5924);
}

/* Card Text */
.schools-section .school-card-text {
    font-family: var(--body-font, "Plus Jakarta Sans", sans-serif);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--body-color, #5a6a80);
    margin-bottom: 22px;
    flex-grow: 1;
}

/* Discover Button */
.schools-section .school-discover-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: transparent;
    border: 1.5px solid var(--theme-color, #ef5924);
    border-radius: 50px;
    font-family: var(--body-font, "Plus Jakarta Sans", sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--theme-color, #ef5924);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    margin-top: auto;
}

.schools-section .school-discover-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.schools-section .school-discover-btn:hover,
.schools-section .school-card:hover .school-discover-btn {
    background-color: var(--theme-color, #ef5924);
    border-color: var(--theme-color, #ef5924);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 89, 36, 0.28);
}

.schools-section .school-discover-btn:hover i,
.schools-section .school-card:hover .school-discover-btn i {
    transform: translateX(3px);
}

/* Navigation Arrow Overlays */
.schools-section .slider-prev,
.schools-section .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 39, 76, 0.12);
    color: var(--title-color2, #00274c);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 27, 53, 0.08);
}

.schools-section .slider-prev:hover,
.schools-section .slider-next:hover {
    background-color: var(--theme-color, #ef5924);
    border-color: var(--theme-color, #ef5924);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 22px rgba(239, 89, 36, 0.3);
}

.schools-section .slider-prev {
    left: -8px;
}

.schools-section .slider-next {
    right: -8px;
}

/* Swiper Pagination */
.schools-section .slider-pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.schools-section .slider-pagination span {
    width: 9px;
    height: 9px;
    background: rgba(239, 89, 36, 0.25) !important;
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.35s ease;
    display: inline-block;
}

.schools-section .slider-pagination span.swiper-pagination-bullet-active {
    background: var(--theme-color, #ef5924) !important;
    width: 26px;
    border-radius: 6px;
}

/* Responsive Breakpoints */
@media (max-width: 1199.98px) {
    .schools-section .slider-prev {
        left: -4px;
    }

    .schools-section .slider-next {
        right: -4px;
    }
}

@media (max-width: 991.98px) {
    .schools-section {
        padding: 65px 0 75px;
    }

    .schools-section .slider-prev,
    .schools-section .slider-next {
        display: none;
    }

    .schools-section .slider-area {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .schools-section .school-card-body {
        padding: 24px 20px 22px;
    }

    .schools-section .school-card-title {
        font-size: 19px;
    }
}

@media (max-width: 575.98px) {
    .schools-section {
        padding: 50px 0 60px;
    }

    .schools-section .school-card {
        border-radius: 16px;
    }

    .schools-section .school-card-body {
        padding: 20px 18px 20px;
    }

    .schools-section .school-card-title {
        font-size: 18px;
    }

    .schools-section .school-card-text {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .schools-section .school-discover-btn {
        padding: 8px 20px;
        font-size: 12px;
    }
}

/*==============================================================
# 8. Premium Rotating Circular Badge (Main Website Home Page Only)
# Dharmsinh Desai University - 58 Years of Leadership, Legacy & Learning
==============================================================*/
.ddu-home-badge-wrapper {
    position: fixed;
    bottom: 28px;
    left: 28px;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    left: calc(28px + env(safe-area-inset-left, 0px));
    z-index: 995;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.ddu-home-badge {
    position: relative;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    background: #ffffff;
    background: radial-gradient(circle at 40% 35%, #ffffff 0%, #fffcfb 60%, #faf3ee 100%);
    border: 2px solid #ffffff;
    box-shadow: 0 10px 28px -4px rgba(0, 27, 53, 0.16),
    0 3px 10px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(245, 87, 52, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: default;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
    will-change: transform;
}

.ddu-home-badge:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 34px -4px rgba(0, 27, 53, 0.22),
    0 6px 16px rgba(0, 0, 0, 0.08),
    0 0 0 1.5px rgba(245, 87, 52, 0.35);
}

.ddu-home-badge:hover .ddu-home-badge-svg {
    animation-play-state: paused;
}

/* Rotating SVG disc */
.ddu-home-badge-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    transform: rotate(-76deg);
    animation: dduBadgeSpin 22s linear infinite;
    will-change: transform;
    pointer-events: none;
}

@keyframes dduBadgeSpin {
    from {
        transform: rotate(-76deg);
    }
    to {
        transform: rotate(284deg);
    }
}

/* SVG Concentric Rings */
.ddu-badge-svg-ring {
    fill: none;
}

.ddu-badge-svg-ring-outer {
    stroke: rgba(245, 87, 52, 0.22);
    stroke-width: 1.2px;
}

.ddu-badge-svg-ring-inner {
    stroke: rgba(245, 87, 52, 0.28);
    stroke-width: 1.2px;
}

.ddu-badge-svg-ring-accent {
    stroke: rgba(19, 24, 43, 0.12);
    stroke-width: 0.8px;
    stroke-dasharray: 2 3;
}

/* SVG Circular Text Path */
.ddu-badge-svg-text {
    font-family: var(--subtitle-font, 'Urbanist', -apple-system, sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    fill: #19202E;
}

.ddu-badge-svg-dot {
    font-size: 14.5px;
    fill: var(--theme-color, #F55734);
    font-weight: 800;
}

/* Central Stable Content */
.ddu-badge-center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
}

.ddu-badge-number {
    font-family: var(--subtitle-font, 'Urbanist', -apple-system, sans-serif);
    font-size: 30px;
    font-weight: 800;
    color: var(--theme-color, #F55734);
    /*line-height: 0.88;*/
    /*letter-spacing: -0.02em;*/
    margin: 0;
    padding: 0;
}

.ddu-badge-label {
    font-family: 'Playfair Display', var(--title-font, 'Lora'), Georgia, serif;
    font-style: italic;
    font-weight: 600;
    font-size: 15px;
    color: var(--theme-color, #F55734);
    /*line-height: 1;*/
    /*letter-spacing: 0.02em;*/
    margin: 0;
    /*margin-top: 2px;*/
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .ddu-home-badge-wrapper {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        left: calc(20px + env(safe-area-inset-left, 0px));
    }

    .ddu-home-badge {
        width: 108px;
        height: 108px;
    }

    .ddu-badge-number {
        font-size: 33px;
    }

    .ddu-badge-label {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .ddu-home-badge-wrapper {
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        left: calc(14px + env(safe-area-inset-left, 0px));
    }

    .ddu-home-badge {
        width: 92px;
        height: 92px;
        box-shadow: 0 6px 18px -3px rgba(0, 27, 53, 0.16),
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(245, 87, 52, 0.2);
    }

    .ddu-badge-number {
        font-size: 28px;
    }

    .ddu-badge-label {
        font-size: 12.5px;
    }
}

@media (max-width: 375.98px) {
    .ddu-home-badge-wrapper {
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        left: calc(10px + env(safe-area-inset-left, 0px));
    }

    .ddu-home-badge {
        width: 82px;
        height: 82px;
    }

    .ddu-badge-number {
        font-size: 25px;
    }

    .ddu-badge-label {
        font-size: 11px;
    }
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .ddu-home-badge-svg {
        animation: none !important;
    }

    .ddu-home-badge {
        transition: none !important;
    }
}

/*--------------------------------------------------------------
# 50. Responsive Top Header Links & Quick Links Dropdown
--------------------------------------------------------------*/
.top-header-links-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Dropdown Toggle Button (Mobile / Tablet / Collision) */
.top-links-toggle-btn {
    display: none;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 7px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    line-height: 1.2;
    min-height: 36px;
    user-select: none;
    -webkit-user-select: none;
}

.top-links-toggle-btn:hover,
.top-links-toggle-btn:focus-visible,
.top-links-toggle-btn.is-active {
    background: var(--theme-color2, #FFEC40) !important;
    border-color: var(--theme-color2, #FFEC40) !important;
    color: #000000 !important;
    outline: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.top-links-toggle-btn .top-links-btn-icon {
    font-size: 12px;
}

.top-links-toggle-btn .top-links-btn-arrow {
    font-size: 10px;
    margin-left: 2px;
    transition: transform 0.25s ease;
}

.top-links-toggle-btn.is-active .top-links-btn-arrow {
    transform: rotate(180deg);
}

/* Dropdown Header Bar (inside dropdown) - hidden on desktop */
.top-links-dropdown-header {
    display: none;
}

/* Animation */
@keyframes quickLinksFadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   Desktop View: Screen Width >= 1200px (when NOT forced into collision mode)
   Preserves exact original horizontal layout, fonts, and alumni button.
   ============================================================ */
@media (min-width: 1200px) {
    .top-header-links-wrap:not(.is-dropdown-mode) .top-links-toggle-btn {
        display: none !important;
    }

    .top-header-links-wrap:not(.is-dropdown-mode) .top-links-dropdown-header {
        display: none !important;
    }

    .top-header-links-wrap:not(.is-dropdown-mode) .top-header-links-nav {
        display: block !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        max-width: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    .top-header-links-wrap:not(.is-dropdown-mode) .top-header-links-nav ul.header-left-wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
}

/* ============================================================
   Small-Screen View: Screen Width < 1200px OR .is-dropdown-mode
   Converts links to clean, compact dropdown with theme colors.
   ============================================================ */

/* Elevation and Stacking Order when Quick Links is open */
.th-header.header-overlay.quick-links-open,
.th-header.header-overlay:has(#topHeaderLinksNav.show) {
    z-index: 1060 !important;
}

.th-header.header-overlay.quick-links-open .header-top-row,
.th-header.header-overlay:has(#topHeaderLinksNav.show) .header-top-row {
    z-index: 1060 !important;
}

.top-header-links-wrap.is-open {
    z-index: 1065 !important;
}

/* Backdrop Overlay for Mobile Quick Links */
.top-links-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1048;
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.top-header-links-wrap.is-open .top-links-backdrop,
.top-links-backdrop.show {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

@media (min-width: 1200px) {
    .top-links-backdrop {
        display: none !important;
    }
}

@media (max-width: 1199.98px) {
    .top-header-links-wrap .top-links-toggle-btn {
        display: inline-flex !important;
        position: relative !important;
        z-index: 1052 !important;
    }

    .top-header-links-wrap .top-header-links-nav {
        display: none;
        position: absolute !important;
        top: calc(100% + 5px) !important;
        right: 0 !important;
        z-index: 1070 !important;
        width: 260px !important;
        max-width: calc(100vw - 24px) !important;
        min-width: 220px !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        overflow: hidden !important;
        max-height: calc(80vh - 70px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
        margin: 0 !important;
        animation: quickLinksFadeDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .top-header-links-wrap .top-header-links-nav.show {
        display: block !important;
    }

    .top-header-links-wrap .top-links-dropdown-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 9px 14px !important;
        background: var(--theme-color, #792D43) !important;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 2 !important;
    }

    .top-header-links-wrap .top-links-dropdown-title {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.6px !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .top-header-links-wrap .top-links-close-btn {
        background: rgba(255, 255, 255, 0.2) !important;
        border: none !important;
        color: #ffffff !important;
        opacity: 0.9;
        font-size: 13px !important;
        width: 26px !important;
        height: 26px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        cursor: pointer !important;
        line-height: 1 !important;
        border-radius: 6px !important;
        transition: all 0.2s ease !important;
    }

    .top-header-links-wrap .top-links-close-btn:hover,
    .top-header-links-wrap .top-links-close-btn:focus-visible {
        opacity: 1 !important;
        background: #ffffff !important;
        color: #000000 !important;
        outline: none !important;
        transform: scale(1.08) !important;
    }

    .top-header-links-wrap .top-header-links-nav ul.header-left-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 2px 0 6px 0 !important;
        list-style: none !important;
    }

    .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #f1f2f5 !important;
    }

    .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li:last-child {
        border-bottom: none !important;
    }

    /* Regular links inside dropdown */
    .th-header .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn),
    .th-header.header-overlay .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn) {
        display: flex !important;
        align-items: center !important;
        padding: 9px 15px !important;
        color: #222222 !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        text-decoration: none !important;
        min-height: 38px !important;
        transition: all 0.18s ease !important;
        background: transparent !important;
        line-height: 1.35 !important;
        word-break: break-word !important;
    }

    .th-header .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):hover,
    .th-header .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):focus,
    .th-header .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):focus-visible,
    .th-header.header-overlay .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):hover,
    .th-header.header-overlay .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):focus,
    .th-header.header-overlay .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):focus-visible {
        background: var(--theme-color-light, #F2F2F4) !important;
        color: var(--theme-color, #792D43) !important;
        padding-left: 20px !important;
        outline: none !important;
    }

    /* ERP Portal Button inside dropdown */
    .th-header .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn,
    .th-header.header-overlay .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn {
        margin: 8px 12px 6px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background-color: var(--theme-color, #792D43) !important;
        color: #ffffff !important;
        border: 1px solid var(--theme-color, #792D43) !important;
        border-radius: 25px !important;
        padding: 8px 16px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
        min-height: 38px !important;
        transform: none !important;
    }

    .th-header .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn:hover,
    .th-header .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn:focus,
    .th-header.header-overlay .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn:hover,
    .th-header.header-overlay .top-header-links-wrap .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn:focus {
        background-color: #000000 !important;
        color: #ffffff !important;
        border-color: #000000 !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28) !important;
        transform: translateY(-1px) !important;
    }
}

/* ============================================================
   Collision Mode: .top-header-links-wrap.is-dropdown-mode
   Applied dynamically when horizontal space is constrained on desktop
   ============================================================ */
.top-header-links-wrap.is-dropdown-mode .top-links-toggle-btn {
    display: inline-flex !important;
}

.top-header-links-wrap.is-dropdown-mode .top-header-links-nav {
    display: none;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    z-index: 1050 !important;
    width: 260px !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 220px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    max-height: calc(85vh - 70px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 !important;
    margin: 0 !important;
    animation: quickLinksFadeDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.top-header-links-wrap.is-dropdown-mode .top-header-links-nav.show {
    display: block !important;
}

.top-header-links-wrap.is-dropdown-mode .top-links-dropdown-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 11px 16px !important;
    background: var(--theme-color, #792D43) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
}

.top-header-links-wrap.is-dropdown-mode .top-links-dropdown-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
}

.top-header-links-wrap.is-dropdown-mode .top-links-close-btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    opacity: 0.85;
    font-size: 15px !important;
    padding: 4px 8px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.top-header-links-wrap.is-dropdown-mode .top-links-close-btn:hover,
.top-header-links-wrap.is-dropdown-mode .top-links-close-btn:focus-visible {
    opacity: 1 !important;
    color: var(--theme-color2, #FFEC40) !important;
    outline: none !important;
    transform: scale(1.1) !important;
}

.top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    list-style: none !important;
}

.top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #f0f0f2 !important;
}

.top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li:last-child {
    border-bottom: none !important;
}

.th-header .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn),
.th-header.header-overlay .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn) {
    display: flex !important;
    align-items: center !important;
    padding: 11px 18px !important;
    color: #2b2b2b !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    text-decoration: none !important;
    min-height: 44px !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    line-height: 1.3 !important;
}

.th-header .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):hover,
.th-header .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):focus,
.th-header .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):focus-visible,
.th-header.header-overlay .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):hover,
.th-header.header-overlay .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):focus,
.th-header.header-overlay .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a:not(.ddu-alumni-btn):focus-visible {
    background: var(--theme-color-light, #F2F2F4) !important;
    color: var(--theme-color, #792D43) !important;
    padding-left: 24px !important;
    outline: none !important;
}

.th-header .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn,
.th-header.header-overlay .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn {
    margin: 10px 16px 8px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background-color: var(--theme-color, #792D43) !important;
    color: #ffffff !important;
    border: 1px solid var(--theme-color, #792D43) !important;
    border-radius: 25px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
    min-height: 44px !important;
    transform: none !important;
}

.th-header .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn:hover,
.th-header .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn:focus,
.th-header.header-overlay .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn:hover,
.th-header.header-overlay .top-header-links-wrap.is-dropdown-mode .top-header-links-nav ul.header-left-wrap li a.ddu-alumni-btn:focus {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28) !important;
    transform: translateY(-1px) !important;
}

/*--------------------------------------------------------------
# 51. Premium Responsive Mobile & Tablet Header System
# Portrait & Landscape Polish for DDU University Header
--------------------------------------------------------------*/

/* Container padding normalization on mobile/tablet */
@media (max-width: 1199.98px) {
    .th-header.header-overlay .header-top-row .container,
    .th-header.header-overlay .header-top-row .th-container3 {
        padding-left: 14px !important;
        padding-right: 14px !important;
        max-width: 100% !important;
    }

    /* Unify header action buttons: Search & Hamburger across mobile/tablet */
    .th-header.header-overlay .header-search,
    .header-layout2 .header-search {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        min-width: 38px !important;
        padding: 0 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 8px !important;
        color: #ffffff !important;
        font-size: 15px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.25s ease !important;
        cursor: pointer !important;
        box-shadow: none !important;
        flex-shrink: 0 !important;
    }

    .th-header.header-overlay .header-search:hover,
    .th-header.header-overlay .header-search:focus-visible,
    .header-layout2 .header-search:hover,
    .header-layout2 .header-search:focus-visible {
        background: var(--theme-color2, #FFEC40) !important;
        border-color: var(--theme-color2, #FFEC40) !important;
        color: #000000 !important;
        outline: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }

    .th-header.header-overlay .th-menu-toggle,
    .th-menu-toggle {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        min-width: 38px !important;
        padding: 0 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 8px !important;
        color: #ffffff !important;
        font-size: 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.25s ease !important;
        cursor: pointer !important;
        box-shadow: none !important;
        flex-shrink: 0 !important;
    }

    .th-header.header-overlay .th-menu-toggle:hover,
    .th-header.header-overlay .th-menu-toggle:focus-visible,
    .th-menu-toggle:hover,
    .th-menu-toggle:focus-visible {
        background: var(--theme-color2, #FFEC40) !important;
        border-color: var(--theme-color2, #FFEC40) !important;
        color: #000000 !important;
        outline: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }

    /* Standardize Quick Links button height to 38px */
    .top-links-toggle-btn {
        height: 38px !important;
        min-height: 38px !important;
        line-height: 38px !important;
        border-radius: 8px !important;
        padding: 0 14px !important;
        font-size: 12.5px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }
}

/* ============================================================
   A. Tablets & Mobile Landscape (min-width: 576px and max-width: 1199.98px)
   and any orientation: landscape under 1200px
   Sleek single-line row: Logo on left, balanced controls on right
   ============================================================ */
@media (min-width: 576px) and (max-width: 1199.98px),
(max-width: 1199.98px) and (orientation: landscape) {
    .th-header.header-overlay .header-top-row {
        padding: 6px 0 !important;
    }

    .header-top-row-inner {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .header-logo-col {
        flex: 0 1 auto !important;
        max-width: 60% !important;
        display: flex !important;
        align-items: center !important;
    }

    .th-header.header-overlay .header-logo img {
        max-height: 38px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }

    .header-controls-col {
        flex: 0 0 auto !important;
    }

    .header-controls-col .header-right-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    /* Subdomain faculty branding in landscape */
    .faculty-logo-brand .faculty-logo-img {
        max-height: 34px !important;
    }

    .faculty-logo-brand .faculty-logo-name,
    .header-top-row .faculty-logo-brand .faculty-logo-name {
        font-size: 13.5px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 320px !important;
    }

    /* Dropdown alignment in landscape/tablet */
    .top-header-links-wrap .top-header-links-nav {
        right: 0 !important;
        left: auto !important;
        transform: none !important;
    }
}

/* ============================================================
   B. Mobile Portrait (max-width: 575.98px and orientation: portrait)
   Two clean, intentional, balanced rows:
   Row 1: Centered branding
   Row 2: Centered, balanced controls toolbar
   ============================================================ */
@media (max-width: 575.98px) and (orientation: portrait),
(max-width: 575.98px) {
    .th-header.header-overlay .header-top-row {
        padding: 8px 0 7px 0 !important;
    }

    .header-top-row-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        margin: 0 !important;
    }

    /* Row 1: Logo & University Name (Clean, Centered, Scaled) */
    .header-logo-col {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .header-logo-col .header-logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
    }

    .header-logo-col .header-logo a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .th-header.header-overlay .header-logo-col .header-logo img {
        max-height: 34px !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Faculty / Department Subdomain Branding in Portrait */
    .header-logo-col .faculty-logo-brand,
    .header-top-row .faculty-logo-brand {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .header-logo-col .faculty-logo-brand .faculty-logo-img {
        max-height: 30px !important;
        flex-shrink: 0 !important;
    }

    .header-logo-col .faculty-logo-brand .faculty-logo-name,
    .header-top-row .faculty-logo-brand .faculty-logo-name {
        font-size: 12.5px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        max-width: 260px !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Row 2: Controls Toolbar (Quick Links, Search, Hamburger) */
    .header-controls-col {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .header-controls-col .header-right-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    /* Quick Links Button in Portrait: Flexible and Prominent */
    .top-links-toggle-btn {
        flex: 1 1 auto !important;
        height: 38px !important;
        min-height: 38px !important;
        line-height: 38px !important;
        padding: 0 12px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
        gap: 6px !important;
        justify-content: center !important;
    }

    .top-links-toggle-btn .top-links-btn-text {
        font-size: 11.5px !important;
        font-weight: 600 !important;
        letter-spacing: 0.4px !important;
    }

    /* Search and Hamburger Buttons in Portrait */
    .th-header.header-overlay .header-search,
    .header-layout2 .header-search {
        flex: 0 0 38px !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
    }

    .th-header.header-overlay .th-menu-toggle,
    .th-menu-toggle {
        flex: 0 0 38px !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
    }

    /* Dropdown Positioning on Mobile Portrait: Directly below trigger button, aligned, safe margins */
    .top-header-links-wrap .top-header-links-nav {
        position: absolute !important;
        top: calc(100% + 4px) !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        width: 260px !important;
        max-width: calc(100vw - 28px) !important;
        animation: quickLinksFadeDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }
}

/* ============================================================
   C. Ultra-Narrow Devices (<= 360px: Galaxy Z Fold, iPhone SE 1st gen)
   ============================================================ */
@media (max-width: 360px) {
    .th-header.header-overlay .header-top-row {
        padding: 6px 0 5px 0 !important;
    }

    .th-header.header-overlay .header-logo-col .header-logo img {
        max-height: 30px !important;
    }

    .header-controls-col .header-right-wrap {
        gap: 6px !important;
        max-width: 290px !important;
    }

    .top-links-toggle-btn {
        height: 36px !important;
        min-height: 36px !important;
        line-height: 36px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
        gap: 4px !important;
    }

    .top-links-toggle-btn .top-links-btn-text {
        font-size: 10.5px !important;
    }

    .th-header.header-overlay .header-search,
    .header-layout2 .header-search,
    .th-header.header-overlay .th-menu-toggle,
    .th-menu-toggle {
        flex: 0 0 36px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        line-height: 36px !important;
    }

    .top-header-links-wrap .top-header-links-nav {
        width: 250px !important;
        max-width: calc(100vw - 16px) !important;
    }
}

/* ============================================================
   D. Premium Responsive Mobile Navigation Drawer
   Scoped strictly to mobile viewports (< 1200px)
   ============================================================ */
html.mobile-nav-lock,
body.mobile-nav-lock {
    overflow: hidden !important;
    touch-action: none !important;
}

@media (max-width: 1199.98px) {
    /* Full-Screen Backdrop Overlay */
    .th-menu-wrapper {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background-color: rgba(15, 23, 42, 0.72) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
        z-index: 99999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow: hidden !important;
    }

    .th-menu-wrapper.th-body-visible {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Sliding Drawer Panel */
    .th-menu-wrapper .th-menu-area {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 88vw !important;
        max-width: 360px !important;
        min-width: 280px !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        background: #ffffff !important;
        border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 6px 0 32px rgba(0, 0, 0, 0.32), 0 0 12px rgba(0, 0, 0, 0.12) !important;
        display: flex !important;
        flex-direction: column !important;
        transform: translateX(-105%) !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: hidden !important;
        z-index: 100000 !important;
        text-align: left !important;
    }

    .th-menu-wrapper.th-body-visible .th-menu-area {
        transform: translateX(0) !important;
    }

    /* Dedicated Drawer Header */
    .th-menu-wrapper .mobile-menu-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 12px 16px !important;
        background-color: var(--theme-color, #792D43) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        flex-shrink: 0 !important;
        min-height: 56px !important;
        box-sizing: border-box !important;
    }

    /* Logo inside drawer header: bounded & separated from close button */
    .th-menu-wrapper .mobile-logo {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        text-align: left !important;
    }

    .th-menu-wrapper .mobile-logo a {
        display: inline-flex !important;
        align-items: center !important;
        max-width: 100% !important;
        text-decoration: none !important;
    }

    .th-menu-wrapper .mobile-logo img {
        max-height: 38px !important;
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    .th-menu-wrapper .mobile-logo .faculty-logo-brand {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        max-width: 100% !important;
    }

    .th-menu-wrapper .mobile-logo .faculty-logo-img {
        max-height: 34px !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    .th-menu-wrapper .mobile-logo .faculty-logo-name {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.25 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }

    /* Close Button inside drawer header: fixed right, never overlaps logo */
    .th-menu-wrapper .mobile-menu-close-btn {
        position: static !important;
        transform: none !important;
        flex-shrink: 0 !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 15px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }

    .th-menu-wrapper .mobile-menu-close-btn:hover,
    .th-menu-wrapper .mobile-menu-close-btn:focus-visible {
        background: #ffffff !important;
        color: #000000 !important;
        outline: none !important;
        transform: scale(1.06) !important;
    }

    /* Scrolling Navigation List Area */
    .th-menu-wrapper .th-mobile-menu {
        flex: 1 1 auto !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 6px 0 16px 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        text-align: left !important;
        background: #ffffff !important;
    }

    /* Reset all list items and borders inside mobile menu drawer */
    .th-menu-wrapper .th-mobile-menu ul {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .th-menu-wrapper .th-mobile-menu ul li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        border-top: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul li li:first-child {
        border-top: none !important;
    }

    /* Links inside mobile drawer NEVER have borders (borders belong solely to li separators) */
    .th-menu-wrapper .th-mobile-menu a,
    .th-menu-wrapper .th-mobile-menu ul li a {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        text-decoration: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    /* Top-Level Navigation Items */
    .th-menu-wrapper .th-mobile-menu > ul > li {
        border-bottom: 1px solid #edf2f7 !important;
        border-top: none !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .th-menu-wrapper .th-mobile-menu > ul > li:last-child {
        border-bottom: none !important;
    }

    /* Top-Level Navigation Links */
    .th-menu-wrapper .th-mobile-menu > ul > li > a {
        display: flex !important;
        align-items: center !important;
        padding: 12px 48px 12px 18px !important;
        min-height: 46px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        color: #1e293b !important;
        text-transform: uppercase !important;
        letter-spacing: 0.35px !important;
        text-decoration: none !important;
        transition: color 0.18s ease, background-color 0.18s ease !important;
        background: transparent !important;
        word-break: break-word !important;
        border: none !important;
    }

    .th-menu-wrapper .th-mobile-menu > ul > li > a:before,
    .th-menu-wrapper .th-mobile-menu > ul > li > a:after {
        display: none !important;
        content: none !important;
    }

    .th-menu-wrapper .th-mobile-menu > ul > li > a:hover,
    .th-menu-wrapper .th-mobile-menu > ul > li > a:focus-visible {
        color: var(--theme-color, #792D43) !important;
        background: rgba(0, 0, 0, 0.02) !important;
        outline: none !important;
    }

    .th-menu-wrapper .th-mobile-menu > ul > li.th-active > a {
        color: var(--theme-color, #792D43) !important;
        font-weight: 700 !important;
    }

    /* Dedicated Expand/Collapse Toggler Button */
    .th-menu-wrapper .th-mobile-menu .th-mean-expand {
        position: absolute !important;
        right: 12px !important;
        top: 7px !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        background-color: #f8fafc !important;
        color: #475569 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        font-size: 12px !important;
        line-height: 1 !important;
        transition: all 0.2s ease !important;
        z-index: 3 !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    }

    .th-menu-wrapper .th-mobile-menu .th-mean-expand:before,
    .th-menu-wrapper .th-mobile-menu .th-mean-expand:after {
        display: none !important;
        content: none !important;
    }

    .th-menu-wrapper .th-mobile-menu .th-mean-expand:hover,
    .th-menu-wrapper .th-mobile-menu .th-mean-expand:focus-visible {
        background-color: var(--theme-color, #792D43) !important;
        border-color: var(--theme-color, #792D43) !important;
        color: #ffffff !important;
        outline: none !important;
        transform: scale(1.05) !important;
    }

    .th-menu-wrapper .th-mobile-menu .th-item-has-children.th-active > .th-mean-expand {
        background-color: var(--theme-color, #792D43) !important;
        border-color: var(--theme-color, #792D43) !important;
        color: #ffffff !important;
    }

    /* ============================================================
       Normal Submenus: Visual Hierarchy & Styling (Screenshot 1)
       ============================================================ */
    /* Level 1 Submenu Container (Clean white as shown in Screenshot 1) */
    .th-menu-wrapper .th-mobile-menu ul.sub-menu {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #ffffff !important;
        border-top: 1px solid #edf2f7 !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        display: none;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu.th-open {
        display: block;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li {
        border-bottom: 1px solid #f1f5f9 !important;
        border-top: none !important;
        position: relative !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li:first-child {
        border-top: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li:last-child {
        border-bottom: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li > a {
        display: flex !important;
        align-items: center !important;
        position: relative !important;
        padding: 11px 48px 11px 32px !important;
        min-height: 42px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        line-height: 1.4 !important;
        color: #334155 !important;
        background: transparent !important;
        border: none !important;
        border-bottom: none !important;
        border-top: none !important;
        transition: color 0.18s ease, background-color 0.18s ease !important;
        word-break: break-word !important;
    }

    /* Preserve existing theme-colored dot indicator */
    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li > a::before {
        content: '' !important;
        position: absolute !important;
        left: 16px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 5px !important;
        height: 5px !important;
        border-radius: 50% !important;
        background-color: var(--theme-color, #792D43) !important;
        opacity: 0.9 !important;
        display: inline-block !important;
        transition: opacity 0.18s ease !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li > a::after {
        display: none !important;
        content: none !important;
    }

    /* Submenu Link Hover: Dot color unchanged, text title changes to theme color */
    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li > a:hover,
    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li > a:focus-visible {
        color: var(--theme-color, #792D43) !important;
        background-color: #f8fafc !important;
        outline: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li > a:hover::before,
    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li > a:focus-visible::before {
        background-color: var(--theme-color, #792D43) !important;
        opacity: 1 !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu > li > .th-mean-expand {
        top: 6px !important;
        right: 12px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }

    /* Level 2 Nested Submenu Container (Indented with vertical guide line as shown in Screenshot 1) */
    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu {
        list-style: none !important;
        margin: 0 0 0 16px !important;
        padding: 0 !important;
        background-color: #f8fafc !important;
        border-left: 2px solid #e2e8f0 !important;
        border-top: none !important;
        border-bottom: none !important;
        border-right: none !important;
        display: none;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu.th-open {
        display: block;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li {
        border-bottom: 1px solid #edf2f7 !important;
        border-top: none !important;
        position: relative !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li:first-child {
        border-top: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li:last-child {
        border-bottom: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li > a {
        display: flex !important;
        align-items: center !important;
        position: relative !important;
        padding: 10px 44px 10px 28px !important;
        min-height: 40px !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        line-height: 1.4 !important;
        color: #475569 !important;
        background: transparent !important;
        border: none !important;
        border-bottom: none !important;
        border-top: none !important;
        transition: color 0.18s ease, background-color 0.18s ease !important;
        word-break: break-word !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li > a::before {
        content: '' !important;
        position: absolute !important;
        left: 14px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 5px !important;
        height: 5px !important;
        border-radius: 50% !important;
        background-color: var(--theme-color, #792D43) !important;
        opacity: 0.8 !important;
        display: inline-block !important;
        transition: opacity 0.18s ease !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li > a::after {
        display: none !important;
        content: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li > a:hover,
    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li > a:focus-visible {
        color: var(--theme-color, #792D43) !important;
        background-color: rgba(0, 0, 0, 0.02) !important;
        outline: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li > a:hover::before,
    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li > a:focus-visible::before {
        background-color: var(--theme-color, #792D43) !important;
        opacity: 1 !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu > li > .th-mean-expand {
        top: 6px !important;
        right: 8px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
        border-radius: 5px !important;
    }

    /* Level 3+ Submenu */
    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu ul.sub-menu {
        list-style: none !important;
        margin: 0 0 0 14px !important;
        padding: 0 !important;
        background-color: #f1f5f9 !important;
        border-left: 2px solid #cbd5e1 !important;
        border-top: none !important;
        border-bottom: none !important;
        border-right: none !important;
        display: none;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu ul.sub-menu.th-open {
        display: block;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu ul.sub-menu > li {
        border-bottom: 1px solid #e2e8f0 !important;
        border-top: none !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu ul.sub-menu > li:first-child {
        border-top: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu ul.sub-menu > li:last-child {
        border-bottom: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu ul.sub-menu > li > a {
        display: flex !important;
        align-items: center !important;
        position: relative !important;
        padding: 9px 40px 9px 24px !important;
        min-height: 38px !important;
        font-size: 13px !important;
        color: #64748b !important;
        text-transform: none !important;
        border: none !important;
        border-bottom: none !important;
        border-top: none !important;
        background: transparent !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu ul.sub-menu > li > a::before {
        content: '' !important;
        position: absolute !important;
        left: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 4px !important;
        height: 4px !important;
        border-radius: 50% !important;
        background-color: var(--theme-color, #792D43) !important;
        opacity: 0.8 !important;
        display: inline-block !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu ul.sub-menu > li > a:hover {
        color: var(--theme-color, #792D43) !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.sub-menu ul.sub-menu ul.sub-menu > li > a:hover::before {
        background-color: var(--theme-color, #792D43) !important;
        opacity: 1 !important;
    }

    /* ============================================================
       Mega Menu on Mobile Navigation Drawer (Screenshot 2)
       ============================================================ */
    .th-menu-wrapper .th-mobile-menu ul.mega-menu,
    .th-menu-wrapper .th-mobile-menu ul.mega-menu.ddu-mega {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        display: none; /* Collapsible via jQuery slideToggle */
        flex-direction: column !important;
        background-color: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        z-index: 1 !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        list-style: none !important;
        border-top: 1px solid #edf2f7 !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.mega-menu.th-open {
        display: block !important;
    }

    /* Column Container: Single separator between columns */
    .th-menu-wrapper .th-mobile-menu ul.mega-menu.ddu-mega > li {
        position: relative !important;
        width: 100% !important;
        display: block !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-top: none !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.mega-menu.ddu-mega > li:first-child {
        border-top: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.mega-menu.ddu-mega > li:last-child {
        border-bottom: none !important;
    }

    /* Mega Menu Column Header / Group Title (Distinct grey header bar as shown in Screenshot 2) */
    .th-menu-wrapper .th-mobile-menu .ddu-mega-title {
        display: flex !important;
        align-items: center !important;
        padding: 10px 48px 10px 18px !important;
        min-height: 42px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        text-transform: uppercase !important;
        letter-spacing: 0.35px !important;
        background: #f1f5f9 !important;
        border: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-top: none !important;
        margin: 0 !important;
        position: relative !important;
        text-decoration: none !important;
        word-break: break-word !important;
        line-height: 1.35 !important;
        transition: all 0.18s ease !important;
    }

    .th-menu-wrapper .th-mobile-menu .ddu-mega-title::before,
    .th-menu-wrapper .th-mobile-menu .ddu-mega-title::after {
        display: none !important;
        content: none !important;
    }

    .th-menu-wrapper .th-mobile-menu .ddu-mega-title:hover {
        color: var(--theme-color, #792D43) !important;
        background: #e2e8f0 !important;
    }

    /* Column Toggler Button */
    .th-menu-wrapper .th-mobile-menu .th-mega-col-expand {
        position: absolute !important;
        top: 6px !important;
        right: 12px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
        background-color: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        color: #475569 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        z-index: 3 !important;
    }

    .th-menu-wrapper .th-mobile-menu .th-mega-col-expand:hover,
    .th-menu-wrapper .th-mobile-menu .th-mega-col-expand:focus-visible {
        background-color: #f1f5f9 !important;
        border-color: #94a3b8 !important;
        color: #1e293b !important;
        outline: none !important;
    }

    /* Mega Menu Column internal links list */
    .th-menu-wrapper .th-mobile-menu ul.ddu-mega-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background-color: #ffffff !important;
        border: none !important;
    }

    /* Mega Menu Items: Single clean separator on li ONLY, zero on a, no double underlines */
    .th-menu-wrapper .th-mobile-menu ul.ddu-mega-list > li {
        position: relative !important;
        border-bottom: 1px solid #f1f5f9 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.ddu-mega-list > li:first-child {
        border-top: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.ddu-mega-list > li:last-child {
        border-bottom: none !important;
    }

    /* Mega Menu Links: Zero border, clean indentation matching Screenshot 2 */
    .th-menu-wrapper .th-mobile-menu ul.ddu-mega-list > li > a {
        display: flex !important;
        align-items: center !important;
        padding: 11px 20px 11px 24px !important;
        min-height: 40px !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #334155 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        line-height: 1.4 !important;
        text-decoration: none !important;
        transition: color 0.18s ease, background-color 0.18s ease !important;
        word-break: break-word !important;
        position: relative !important;
        background: transparent !important;
        border: none !important;
        border-bottom: none !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.ddu-mega-list > li > a::before,
    .th-menu-wrapper .th-mobile-menu ul.ddu-mega-list > li > a::after {
        display: none !important;
        content: none !important;
    }

    .th-menu-wrapper .th-mobile-menu ul.ddu-mega-list > li > a:hover,
    .th-menu-wrapper .th-mobile-menu ul.ddu-mega-list > li > a:focus-visible {
        color: var(--theme-color, #792D43) !important;
        background: #f8fafc !important;
        text-decoration: none !important;
        outline: none !important;
    }

    /* Dedicated Mobile Drawer Footer */
    .th-menu-wrapper .mobile-menu-footer {
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)) 16px !important;
        background-color: #ffffff !important;
        border-top: 1px solid #f1f5f9 !important;
        flex-shrink: 0 !important;
    }

    .th-menu-wrapper .mobile-erp-portal-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 9px 16px !important;
        min-height: 40px !important;
        background: var(--theme-color, #792D43) !important;
        color: #ffffff !important;
        border-radius: 8px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        text-decoration: none !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.2s ease !important;
    }

    .th-menu-wrapper .mobile-erp-portal-btn:hover,
    .th-menu-wrapper .mobile-erp-portal-btn:focus-visible {
        background: #111827 !important;
        color: #ffffff !important;
        outline: none !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
    }
}

/* Strict Desktop Protection: Never display mobile menu on desktop screens */
@media (min-width: 1200px) {
    .th-menu-wrapper {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* ==========================================================================
   Premium University Contact Section Styles (Scoped)
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    position: relative;
    background-color: #ffffff;
}

.contact-intro-area {
    margin-bottom: 45px;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--theme-color, #F55734);
    background: var(--theme-color-light, #f1efec);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.contact-main-heading {
    font-size: 38px;
    font-weight: 700;
    color: var(--title-color, #070E20);
    line-height: 1.25;
    margin-bottom: 8px;
}

.contact-context-chip {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--theme-color, #F55734);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.contact-title-divider {
    width: 60px;
    height: 3px;
    background: var(--theme-color, #F55734);
    border-radius: 3px;
    margin: 12px auto 16px auto;
}

.contact-intro-desc {
    font-size: 16px;
    color: var(--body-color, #57585F);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto;
}

/* Contact Cards */
.contact-card {
    background: #ffffff;
    border: 1px solid #e9edf4;
    border-radius: 16px;
    padding: 34px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.28s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.28s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--theme-color, #F55734);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.contact-card:hover::before {
    background: var(--theme-color, #F55734);
}

.contact-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--theme-color-light, #f1efec);
    color: var(--theme-color, #F55734);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.28s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-card-icon {
    background: var(--theme-color, #F55734);
    color: #ffffff;
    transform: scale(1.05);
}

.contact-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color, #070E20);
    margin-bottom: 12px;
}

.contact-card-text {
    font-size: 15px;
    color: var(--body-color, #57585F);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.contact-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.contact-link-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--title-color, #070E20);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.contact-link-item:hover {
    color: var(--theme-color, #F55734);
}

.contact-link-item i {
    color: var(--theme-color, #F55734);
    font-size: 13px;
    flex-shrink: 0;
}

.contact-card-sublink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--theme-color, #F55734);
    text-decoration: none;
    margin-top: auto;
    transition: all 0.2s ease;
}

.contact-card-sublink:hover {
    color: var(--theme-color, #F55734);
    text-decoration: underline;
    transform: translateX(2px);
}

/* Map Card */
.contact-map-card {
    background: #ffffff;
    border: 1px solid #e9edf4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.contact-map-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.contact-map-header {
    padding: 22px 30px;
    background: #ffffff;
    border-bottom: 1px solid #edf1f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-map-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--theme-color, #F55734);
    margin-bottom: 3px;
}

.contact-map-heading {
    font-size: 21px;
    font-weight: 700;
    color: var(--title-color, #070E20);
    margin-bottom: 4px;
}

.contact-map-address {
    font-size: 14px;
    color: var(--body-color, #57585F);
    max-width: 650px;
    margin-bottom: 0;
}

.contact-directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-color, #F55734);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.22s ease;
    white-space: nowrap;
}

.contact-directions-btn:hover,
.contact-directions-btn:focus {
    filter: brightness(0.92);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    color: #ffffff !important;
}

.contact-map-body {
    position: relative;
    width: 100%;
    height: 460px;
    background: #f8fafc;
}

.contact-map-body iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block;
}

.contact-map-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 20px;
    text-align: center;
}

@media (max-width: 991px) {
    .contact-section {
        padding: 45px 0 60px 0;
    }

    .contact-main-heading {
        font-size: 32px;
    }

    .contact-map-body {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 35px 0 50px 0;
    }

    .contact-main-heading {
        font-size: 26px;
    }

    .contact-intro-desc {
        font-size: 14px;
    }

    .contact-card {
        padding: 26px 18px;
    }

    .contact-map-header {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-directions-btn {
        width: 100%;
    }

    .contact-map-body {
        height: 300px;
    }
}

/* =========================================================================
   STANDARDIZED FRONTEND PAGE WIDTH & FIRST SECTION TOP PADDING SYSTEM
   -------------------------------------------------------------------------
   1. Standardizes all frontend page layout widths to match the Custom Page
      reference container-fluid: max-width 1440px, padding 0 20px, auto margins.
   2. Sets padding-top: 80px on the first content section across all frontend
      pages after header / breadcrumb / hero banner without double spacing.
   3. Preserves full-width backgrounds, carousels, and hero sliders.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Shared Frontend Content Container Width (1440px Reference Standard)
   ------------------------------------------------------------------------- */
.custom-layout-page-section > .container-fluid,
.custom-layout-page-section > .container,
.custom-page-standalone-section > .container-fluid,
.custom-page-standalone-section > .container,
.department-home-page #department-home-main > .container-fluid,
.faculty-home-section > .container,
.faculty-home-section > .container-fluid,
.content-page-wrapper > .container,
.content-page-wrapper > .container-fluid,
.campus-intro-section > .container,
.campus-section > .container,
.contact-section > .container,
.contact-section > .th-container4,
.faculty-members-page > .container,
.faculty-member-details-page > .container,
.ddu-adv-section > .container,
.ddu-advantages-list-section > .container,
.sch-intro-section > .container,
.sch-listing-section > .container,
.sot-quote-section > .container,
.sot-features-section > .container,
.uo-history-section > .container,
.uo-section > .container,
.modern-about-section > .container,
.stats-section > .container,
.university-film-section > .container,
.updates-section > .container,
.schools-section > .container,
.excellence-section > .container,
.connect-section > .container,
.view-all-updates-section > .container,
.view-all-updates-section > .th-container3 {
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Responsive side spacing on tablet & mobile */
@media (max-width: 767.98px) {
    .faculty-home-section > .container,
    .faculty-home-section > .container-fluid,
    .content-page-wrapper > .container,
    .content-page-wrapper > .container-fluid,
    .campus-intro-section > .container,
    .campus-section > .container,
    .contact-section > .container,
    .contact-section > .th-container4,
    .faculty-members-page > .container,
    .faculty-member-details-page > .container,
    .ddu-adv-section > .container,
    .ddu-advantages-list-section > .container,
    .sch-intro-section > .container,
    .sch-listing-section > .container,
    .sot-quote-section > .container,
    .sot-features-section > .container,
    .uo-history-section > .container,
    .uo-section > .container,
    .modern-about-section > .container,
    .stats-section > .container,
    .university-film-section > .container,
    .updates-section > .container,
    .schools-section > .container,
    .excellence-section > .container,
    .connect-section > .container,
    .view-all-updates-section > .container,
    .view-all-updates-section > .th-container3 {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }
}

/* -------------------------------------------------------------------------
   2. Standardized First Content Section Top Padding: 80px
   Applied exclusively to the first actual content section on every page.
   ------------------------------------------------------------------------- */
@media (min-width: 992px) {
    /* Custom Pages & Department Home Page */
    #custom-layout-main,
    #custom-standalone-main,
    #department-home-main,
    .custom-layout-page-section#custom-layout-main,
    .custom-page-standalone-section#custom-standalone-main,
    .department-home-page #department-home-main {
        padding-top: 80px !important;
    }

    /* Content Pages, PDF Viewer Pages, and Utility-spaced wrappers */
    .content-page-wrapper,
    .content-page-wrapper.space-top,
    .custom-page-standalone-section.space-top {
        padding-top: 80px !important;
    }

    /* Dedicated Frontend Templates (first content section after breadcrumb) */
    .campus-intro-section,
    .contact-section,
    .ddu-adv-section,
    .faculty-members-page,
    .faculty-member-details-page,
    .sch-intro-section,
    .sot-quote-section,
    .modern-about-section,
    .view-all-updates-section,
    .breadcumb-wrapper + section,
    .breadcumb-wrapper + div > section:first-of-type,
    .breadcumb-wrapper + main > section:first-of-type {
        padding-top: 80px !important;
    }

    /* Faculty & Department Subdomain Home Sections (first section after Hero & marquee) */
    .faculty-home-sections > .faculty-home-section:first-of-type {
        padding-top: 80px !important;
    }

    /* Main Website Home Page (first content section after Hero & scroll explore strip) */
    .stats-section#stats-sec {
        padding-top: 80px !important;
    }
}

/* Ensure no unintended top margins or gaps accumulate above breadcrumbs or banners */
.breadcumb-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* =========================================================================
   Custom Layout Pages: Section Style, Accordion Style & Two-Column Grid
   ========================================================================= */

/* Two-Column Grid for Custom Layout Pages */
.custom-sections-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.custom-sections-grid > .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.custom-sections-grid > .col-lg-6 > .custom-layout-section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-sections-grid > .col-lg-6 > .custom-layout-section > .custom-content-card {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.custom-sections-grid .custom-sec-collapse,
.custom-sections-grid .custom-sec-body {
    flex: 1 1 auto;
    width: 100%;
}

.custom-sections-grid .custom-split-img-wrap,
.custom-sections-grid .custom-split-img,
.custom-sections-grid .custom-file-row,
.custom-sections-grid .table-responsive {
    max-width: 100%;
    box-sizing: border-box;
}

.custom-sections-grid .custom-file-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 1400px) {
    .custom-sections-grid .custom-file-grid:not(.custom-file-list--single) {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

/* Accordion Style Specifics for Custom Layout Pages */
.custom-layout-section.is-accordion-item > .custom-content-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-layout-section.is-accordion-item > .custom-content-card.is-collapsed {
    padding-top: 22px;
    padding-bottom: 22px;
}

.custom-layout-section.is-accordion-item > .custom-content-card.is-collapsed > .custom-sec-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
}

.custom-layout-section.is-accordion-item > .custom-content-card.is-collapsed > .custom-sec-header::after {
    opacity: 0;
    transform: scaleX(0);
}

.custom-layout-section.is-accordion-item > .custom-content-card.is-expanded > .custom-sec-header .custom-sec-toggle-icon {
    transform: rotate(180deg);
    background: rgba(241, 90, 36, 0.12);
    border-color: rgba(241, 90, 36, 0.25);
    color: var(--theme-color, #ef5924);
}

/* Admin Module: Live Layout Preview Stage & Card Styles */
.preview-stage-container {
    width: 100%;
}

.preview-stage-container .preview-section-item {
    transition: all 0.25s ease;
}

.preview-sec-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(0, 39, 76, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-sec-header {
    border-bottom: 2px solid var(--theme-color, #ef5924);
    padding-bottom: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-sec-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-sec-title i {
    color: var(--theme-color, #ef5924);
    font-size: 15px;
}

.preview-accordion-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 39, 76, 0.03);
    transition: all 0.2s ease;
}

.preview-accordion-card:last-child {
    margin-bottom: 0;
}

.preview-accordion-header {
    padding: 12px 16px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: background-color 0.2s ease;
}

.preview-accordion-header:hover {
    background-color: #f8fafc;
}

.preview-accordion-header.is-open {
    background-color: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}

.preview-accordion-chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.preview-accordion-header.is-open .preview-accordion-chevron {
    transform: rotate(180deg);
    background: rgba(241, 90, 36, 0.12);
    color: var(--theme-color, #ef5924);
}

.preview-accordion-body {
    padding: 14px 16px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.preview-file-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #334155;
    font-weight: 500;
}

.preview-gallery-thumb {
    width: 100%;
    height: 60px;
    background: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 12px;
}

.rotate-180 {
    transform: rotate(180deg);
}

.transition-transform {
    transition: transform 0.25s ease-in-out;
}
