/*
Theme Name: Annur Hub
Theme URI: https://an-nur.ac.id
Author: Tomi Nur Rohman
Description: Tema modern untuk Universitas Islam An Nur Lampung.
Version: 3.2
text-domain: annur
*/

/* ===== VARIABLES ===== */
/* ===== VARIABLES ===== */
:root {
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1e40af;
    --accent: #f59e0b;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* ===== RESET & BASE ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: var(--primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.flex {
    display: flex;
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.mb-8 {
    margin-bottom: 48px;
}

.bg-soft {
    background: var(--bg-soft);
}

.section-spacer {
    padding: 80px 0;
}

/* Reduce bottom padding for the last section on homepage to bring footer closer */
.home .section-spacer:last-of-type {
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .section-spacer {
        padding: 48px 0;
    }

    /* Remove bottom padding for the last section on homepage to bring footer closer */
    .home .section-spacer:last-of-type {
        padding-bottom: 0;
    }
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-main);
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 4px;
}

/* ===== NAVIGATION ===== */
.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    height: 70px;
    position: relative;
    z-index: 1001;
    background: inherit;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 40px;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Handle WordPress menu output */
.nav-links li {
    list-style: none;
    position: relative;
    /* For dropdown positioning */
}

/* Dropdown Indicator */
.menu-item-has-children>a::after {
    content: '▾';
    display: inline-block;
    margin-left: 6px;
    font-size: 0.8em;
    transition: transform 0.2s;
}

.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    padding: 8px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
    display: block;
    /* Override default hidden but use opacity for transition */
}

.nav-links li:hover>.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav-links .sub-menu li {
    display: block;
}

.nav-links .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-main);
    white-space: nowrap;
}

.nav-links .sub-menu a:hover {
    background: var(--bg-soft);
    color: var(--primary);
    transform: translateX(4px);
    display: block;
    /* Ensure block display on hover too */
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-reg {
    background: var(--primary);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-reg:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
}

/* Search Button - Hidden on Desktop */
.nav-search-btn {
    display: none;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.search-form {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 0;
    background: transparent;
    padding: 0;
    border-radius: var(--radius);
    box-shadow: none;
    border: none;
    display: flex;
    gap: 8px;
    width: 300px;
    transition: none;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.search-form.hidden {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.search-field {
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 99px;
    /* Rounded pill shape */
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-soft);
}

.search-field:focus {
    background: #fff;
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-submit {
    display: none;
    /* Hide submit button, press enter to search */
}

/* Mobile Menu Variables */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-search-btn {
        display: none !important;
    }

    .nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .nav-left {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin-right: 8px !important;
    }

    .nav-right {
        flex: 0 0 auto !important;
        width: auto !important;
        justify-content: flex-end !important;
        gap: 0 !important;
    }
}

/* SEARCH OVERLAY */
/* Old search wrapper rule removed to avoid conflict with the new compact style */

#gatewaySearchInput {
    width: 100%;
    padding: 16px 24px;
    padding-left: 54px;
    /* Space for icon */
    border-radius: 99px;
    border: none;
    font-size: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    color: #333;
    outline: none;
    background: white;
    transition: all 0.3s ease;
}

#gatewaySearchInput:focus {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.25);
}

.mobile-menu {
    display: none;
}

/* ===== HERO SECTION ===== */
/* ===== HERO SECTION ===== */
.hero-section {
    background-color: #0f172a;
    /* Luxurious modern dark blue gradient */
    background: radial-gradient(circle at 10% 20%, rgb(30, 58, 138) 0%, rgb(15, 23, 42) 90%);
    padding: 80px 0;
    /* Reduced vertical padding for compactness */
    color: #fff;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 550px;
    /* More compact width */
    margin: 0;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    /* Reduced font size */
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    /* Slightly smaller reading size */
    color: #cbd5e1;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 95%;
}

.btn-hero {
    display: inline-block;
    background: #fff;
    color: var(--primary-dark) !important;
    padding: 14px 32px;
    /* Compact button */
    border-radius: 99px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    color: var(--primary) !important;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== ICON GRID (MODERN STRIP) ===== */
.icon-grid-wrapper {
    margin-top: -60px;
    position: relative;
    z-index: 20;
    margin-bottom: 60px;
}

.icon-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    max-width: 1000px;
    margin: 0 auto;
}

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    transition: all 0.2s;
    min-width: 100px;
}

.icon-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 72px;
    height: 72px;
    background: var(--bg-soft);
    color: var(--primary);
    border-radius: 24px;
    /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.icon-card:hover .icon-circle {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    transform: rotate(-5deg);
}

.icon-card span {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}


/* ===== FACULTY TABS (REFINED) ===== */
.tab-wrapper {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
}

.tab-headers {
    display: flex;
    justify-content: center;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 8px;
    gap: 8px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.tab-btn.active {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.tab-content {
    padding: 48px;
    display: none;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    color: var(--text-main);
    margin-bottom: 32px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.tab-content h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 3px;
}

.prodi-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.prodi-list li {
    background: var(--bg-soft);
    padding: 16px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--text-main);
    transition: 0.2s;
    border: 1px solid transparent;
}

.prodi-list li:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}


/* ===== FRONT PAGE LISTS ===== */
.fp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.fp-list li:last-child {
    border-bottom: none;
}

.fp-list h4 {
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 600;
}

.fp-list h4 a {
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-list h4 a:hover {
    color: var(--primary);
}

.fp-item-view {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    opacity: 1;
    transform: none;
    transition: color 0.2s;
}

.fp-item-view:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* ===== NEWS GRID V3 ===== */
.news-grid-v3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card-v3 {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.news-card-v3:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-thumb {
    height: 160px;
    overflow: hidden;
}

.news-body {
    padding: 20px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
    font-weight: 500;
}

.news-body h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    line-height: 1.4;
    color: var(--text-main);
    font-weight: 700;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.read-more::after {
    content: '→';
    transition: transform 0.2s;
}

.news-card-v3:hover .read-more::after {
    transform: translateX(4px);
}

/* ===== HIGHLIGHTS GRID (Fasilitas, Kurikulum, Karir) ===== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.highlight-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.highlight-thumb {
    height: 240px;
    background-color: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

.highlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.highlight-card:hover .highlight-thumb img {
    transform: scale(1.05);
}

.highlight-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: var(--bg-soft);
}

.highlight-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.highlight-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.highlight-excerpt {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
    flex-grow: 1;
}

.btn-highlight {
    align-self: flex-start;
    color: var(--primary);
    font-weight: 700;
    padding: 10px 0;
    font-size: 1rem;
}

.btn-highlight:hover {
    color: var(--primary-dark);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: #0f172a;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--primary-light);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
}

/* ===== SERVICE BANNER ===== */
.service-banner {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.service-banner::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.service-content {
    max-width: 60%;
    position: relative;
    z-index: 2;
}

.service-content h2 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 2rem;
}

.service-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.btn-service {
    display: inline-block;
    background: #fff;
    color: var(--primary) !important;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.btn-service:hover {
    background: var(--bg-soft);
    transform: translateY(-2px);
}

/* ===== MODERN FOOTER (MINIMALIST) ===== */
/* ===== MODERN FOOTER (MINIMALIST & DARK) ===== */
.site-footer {
    background: #0f172a;
    /* Dark Slate */
    padding: 24px 0;
    /* Compact padding */
    margin-top: 0;
    color: #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* Reduced gap */
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    /* White Logo */
    margin-bottom: 12px;
    display: block;
}

.footer-desc {
    color: #94a3b8;
    /* Muted Slate */
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-heading {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

/* Footer Link Specificity Fix */
.site-footer a,
.site-footer .widget a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.2s;
}

.site-footer a:hover,
.site-footer .widget a:hover {
    color: #fff;
    transform: translateX(4px);
    display: inline-block;
}

.site-footer ul {
    list-style: none;
    /* Remove default bullets if desired, or keep them */
    padding-left: 0;
}

.site-footer li {
    margin-bottom: 10px;
    color: #94a3b8;
}

/* Custom Bullet for standard widgets */
.site-footer .widget_nav_menu li a::before,
.site-footer .widget_pages li a::before,
.site-footer .widget_categories li a::before,
.site-footer .widget_archive li a::before {
    content: "•";
    color: var(--primary);
    margin-right: 8px;
    display: inline-block;
}

/* Stat Card Modern */
.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    /* Dark mode compatible */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 0;
    border-top: none;
    /* Subtle dark border */
    font-size: 0.85rem;
    color: #64748b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    /* Menu & Hero Logic from before... */
    .hidden-mobile {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        z-index: 1100;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-main);
        transition: 0.3s;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* ===== PREMIUM MOBILE MENU (FULL SCREEN) ===== */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        visibility: hidden;
        pointer-events: none;
    }

    .mobile-menu.active {
        visibility: visible;
        pointer-events: auto;
    }

    /* Backdrop */
    .mobile-menu::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        transition: opacity 0.4s ease;
        backdrop-filter: blur(4px);
    }

    .mobile-menu.active::before {
        opacity: 1;
    }

    /* Drawer Container */
    .mobile-menu-inner {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 85%;
        max-width: 360px;
        background: var(--primary-dark);
        /* Dark BG */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }

    .mobile-menu.active .mobile-menu-inner {
        transform: translateX(0);
    }

    /* Menu Header */
    .mobile-menu-header {
        padding: 20px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: transparent;
    }

    .mobile-menu-title {
        font-size: 1.1rem;
        font-weight: 800;
        color: #fff;
        /* White Text */
        letter-spacing: -0.02em;
    }

    .menu-close {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1) !important;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff !important;
        transition: all 0.2s;
    }

    .menu-close:active {
        transform: scale(0.9);
        background: rgba(255, 255, 255, 0.2) !important;
    }

    /* Menu List */
    .mobile-menu-content {
        flex: 1;
        overflow-y: auto;
        padding: 16px 0;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        /* Subtle border */
    }

    /* Parent Links */
    .mobile-menu a {
        display: block;
        padding: 16px 24px;
        font-size: 1.05rem;
        font-weight: 600;
        color: #fff;
        /* White Link */
        text-decoration: none;
        position: relative;
    }

    .mobile-menu a:active {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    /* Accordion Toggle */
    .menu-item-has-children {
        position: relative;
    }

    .dropdown-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.6);
        cursor: pointer;
        transition: transform 0.3s ease, color 0.3s;
    }

    /* Update Icon SVG Color to White */
    .dropdown-toggle::after {
        content: '';
        display: block;
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        transition: transform 0.3s ease;
        opacity: 0.7;
    }

    .dropdown-toggle {
        font-size: 0;
    }

    .dropdown-toggle.toggled-on::after {
        transform: rotate(180deg);
        opacity: 1;
    }

    /* Submenu */
    .mobile-menu .sub-menu {
        max-height: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.2);
        /* Darker inset */
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-menu .sub-menu.toggled-on {
        max-height: 500px;
    }

    .mobile-menu .sub-menu a {
        padding-left: 40px;
        font-size: 0.95rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.8);
        padding-top: 14px;
        padding-bottom: 14px;
    }

    /* Registration Button in Mobile */
    .btn-reg-mobile {
        background: var(--primary);
        color: #fff !important;
        text-align: center;
        padding: 14px;
        border-radius: 99px;
        /* Pill shape */
        margin-top: 24px;
        border: none;
        display: block;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

    /* Container adjustment for mobile */
    .container {
        padding: 0 20px;
        width: 100%;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    /* Horizontal Scroll stuff */
    .icon-grid {
        grid-template-columns: repeat(7, 1fr);
        overflow-x: auto;
        padding: 20px;
        gap: 20px;
        justify-content: start;
        display: flex;
        -webkit-overflow-scrolling: touch;
        scroll-padding-left: 20px;
    }

    .icon-card {
        min-width: 80px;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .icon-circle {
        background: #fff;
        box-shadow: var(--shadow);
        border: none;
        width: 60px;
        height: 60px;
    }

    .tab-headers {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 12px 20px;
        white-space: nowrap;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 10px 20px;
        background: #f1f5f9;
        border-radius: 99px;
        font-size: 0.9rem;
    }

    .tab-btn.active {
        background: var(--primary);
        color: #fff;
    }



    .read-more {
        display: none;
    }

    /* Service */
    .service-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 20px;
    }

    .service-image {
        display: none;
    }

    /* Modern Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 600px) {}

/* ===== ARCHIVE PAGE STYLES ===== */
.archive-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.archive-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* M O D E R N   A R C H I V E   C A R D   (2 0 2 5   REFRESH) */
.archive-card {
    background: #fff;
    border-radius: 20px;
    /* Soft UI Radius */
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    /* Soft Diffusion Shadow */
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Subtle highlight border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy feel */
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    /* Colored shadow on hover */
    z-index: 2;
}

.archive-thumb {
    position: relative;
    padding-top: 60%;
    /* Slightly taller than 16:9 for modern feel */
    display: block;
    overflow: hidden;
    background: #f1f5f9;
}

.archive-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.archive-card:hover .archive-img {
    transform: scale(1.08);
}

/* Glassmorphism Badge */
.cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 99px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.archive-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.archive-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.archive-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.archive-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.archive-title a {
    color: var(--text-main);
    background: linear-gradient(to right, var(--text-main), var(--text-main)),
        linear-gradient(to right, var(--primary), var(--primary));
    background-size: 100% 0px, 0 2px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s;
    text-decoration: none;
}

.archive-title a:hover {
    background-size: 0 2px, 100% 2px;
    color: var(--primary);
}

.archive-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-read-more:hover {
    gap: 10px;
    /* Arrow slide effect */
}

/* ===== PAGINATION (Complete Rewrite) ===== */
.archive-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.archive-pagination .nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Target ALL possible pagination elements */
.archive-pagination .nav-links a,
.archive-pagination .nav-links span,
.archive-pagination .nav-links .page-numbers,
.archive-pagination a.page-numbers,
.archive-pagination span.page-numbers,
.archive-pagination .nav-links a.page-numbers,
.archive-pagination .nav-links span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    font-family: inherit !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

/* Hover state */
.archive-pagination .nav-links a:hover,
.archive-pagination a.page-numbers:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

/* Current/Active page */
.archive-pagination .nav-links .current,
.archive-pagination .nav-links span.current,
.archive-pagination span.page-numbers.current,
.archive-pagination .page-numbers.current {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

/* Dots separator */
.archive-pagination .nav-links .dots,
.archive-pagination span.dots {
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    min-width: auto !important;
    padding: 0 8px !important;
}

/* ===== MOBILE OPTIMIZATIONS (COMPACT/HORIZONTAL) ===== */
@media (max-width: 768px) {

    /* Reduce container padding */
    .container {
        padding: 0 16px;
    }

    /* Reduce Header Spacing */
    .archive-header {
        margin-bottom: 24px;
        text-align: left;
        /* Align left usually looks cleaner on mobile */
    }

    .archive-header h1 {
        font-size: 1.75rem;
        /* Smaller Title */
        margin-bottom: 8px;
    }

    .archive-description {
        font-size: 0.95rem;
    }

    /* Switch Grid to Single Column but Horizontal Card */
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .archive-card {
        flex-direction: row;
        /* Horizontal Layout */
        align-items: stretch;
        height: auto;
        min-height: 120px;
    }

    .archive-thumb {
        width: 35%;
        /* Fixed width for image */
        padding-top: 0;
        /* Reset Aspect Ratio hack */
        flex-shrink: 0;
        position: relative;
    }

    .archive-img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Adjust Badge for small card */
    .cat-badge {
        font-size: 0.6rem;
        padding: 2px 8px;
        top: 8px;
        left: 8px;
    }

    /* Content adjustments */
    .archive-content {
        padding: 12px 14px;
        width: 65%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .archive-meta {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    .archive-title {
        font-size: 1rem;
        margin-bottom: 6px;
        line-height: 1.35;
        /* Limit to 2 lines */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .archive-excerpt {
        display: none;
        /* Hide excerpt on mobile to save space */
    }

    .btn-read-more {
        font-size: 0.8rem;
        margin-top: 4px;
    }
}

/* ===== DARK HEADER REDESIGN ===== */
.nav-wrapper {
    background: var(--primary) !important;
    /* Force Dark Blue */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    /* Glass Effect */
    padding: 0;
    /* Slightly taller */
    transition: all 0.3s ease;
}

/* Scrolled State (Optional: Make it slightly transparent on scroll) */
.nav-wrapper.scrolled {
    background: rgba(37, 99, 235, 0.95) !important;
}

/* Dark Header Links */
.nav-links > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.nav-links > li > a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

/* Logo Optimization for Dark Header */
.logo img {
    height: auto;
    max-width: 60px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    object-fit: contain;
}

/* Logo Text Color for Dark Header */
.logo {
    color: #fff !important;
}

/* Search Icon in Dark Header */
.nav-search-btn {
    color: #fff !important;
}

.nav-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Toggle Color */
.menu-toggle span {
    background: #fff !important;
}

/* Dropdown text fix (Must remain dark on white bg) */
.nav-links .sub-menu {
    background: #fff !important;
}

.nav-links .sub-menu a {
    color: var(--text-main) !important;
}

.nav-links .sub-menu a:hover {
    color: var(--primary) !important;
    background: var(--bg-soft) !important;
}

/* Admin Bar Fix for Sticky Header */
body.admin-bar .nav-wrapper {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .nav-wrapper {
        top: 46px;
        /* WP Admin bar is taller on mobile */
    }
}

/* ===== HEADER MAIN LOGIC (Refactored) ===== */

/* 1. Default State (Inner Pages): Solid Dark Blue & Sticky */
.nav-wrapper {
    position: sticky !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #1e3a8a !important;
    /* Solid Blue Default */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
}

/* 2. Homepage Override: Transparent & Fixed */
body.home .nav-wrapper {
    position: fixed !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nav-wrapper.scrolled {
    background: rgba(30, 58, 138, 0.95) !important;
    /* Dark Blue Glass */
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
}

/* Ensure links are white on transparent header (since hero is dark) */
.nav-links>li>a {
    color: #fff !important;
}

/* Hero Section Adjustment for Fixed Header */
/* Hero Section Adjustment for Sticky Header */
/* Hero Section Adjustment for Sticky Header */
.hero-section {
    padding-top: 100px !important;
    /* Spacious on Desktop */
    margin-top: 0 !important;
    background-position: center top;
}

/* Site Main Margin Reset */
.site-main {
    margin-top: 0 !important;
    /* Remove old margin if any */
}

/* ===== HEADER HEIGHT ADJUSTMENT ===== */
.nav-wrapper {
    padding: 10px 0 !important;
    /* Reduced from 15px */
}

/* Logo size controlled by Customizer */

/* Scrolled State - Even more compact */
.nav-wrapper.scrolled {
    padding: 8px 0 !important;
}

.nav-wrapper.scrolled .logo img {
    transition: all 0.3s ease;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    .nav-wrapper,
    body.home .nav-wrapper {
        padding: 8px 0 !important;
        background-color: #1e3a8a !important;
        /* Force Dark Blue on mobile */
        position: sticky !important;
    }

    /* Logo size responsive */
}

/* ===== HEADER PROPORTION FIX ===== */

/* 1. Remove Fixed Height from Container */
.nav {
    height: auto !important;
    /* Let content dictate height */
    min-height: 0 !important;
    padding: 0 !important;
}

/* Logo padding */
.logo img {
    padding: 4px 0;
}

/* 3. Tighten Wrapper Padding */
.nav-wrapper {
    padding: 0 0 !important;
    /* No extra wrapper padding */
}

/* 4. Align Items Vertically */
.nav.flex {
    align-items: center;
    /* ensure flex-items (logo, menu) are centered */
}

/* Scrolled state transition */
.nav-wrapper.scrolled .logo img {
    transition: 0.3s ease;
}

/* Mobile logo handled by Customizer */

/* ===== REMOVE HEADER BORDER ===== */
.nav-wrapper {
    border-bottom: none !important;
}

/* ===== SOLID SCROLLED HEADER FIX ===== */
.nav-wrapper.scrolled {
    background: #1e3a8a !important;
    /* Solid Dark Blue (No RGBA) */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    /* Stronger shadow */
}

/* ===== INNER PAGE HEADER FIX ===== */

/* 1. Only Transparent on Homepage */
body.home .nav-wrapper {
    background: transparent !important;
}

/* 2. Solid Dark Blue on Inner Pages (Default) */
body:not(.home) .nav-wrapper {
    background: #1e3a8a !important;
    /* Solid Primary Dark */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    position: sticky !important;
    /* Can simply be sticky on inner pages */
}

/* 3. Add Top Padding to Body on Inner Pages to prevent overlap */
body:not(.home) {
    padding-top: 80px;
    /* Approximate header height */
}

/* 4. Ensure Scrolled State works everywhere */
.nav-wrapper.scrolled {
    background: #1e3a8a !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

/* ===== FIX HEADER GAP ===== */
/* Remove top padding since header is sticky, not fixed */
body:not(.home) {
    padding-top: 0 !important;
}

/* Ensure header sticks to top */
body:not(.home) .nav-wrapper {
    top: 0 !important;
    position: sticky !important;
    margin-top: 0 !important;
}

/* ===== EMERGENCY FIX: INVISIBLE HEADER ===== */
/* Force Solid Blue on ALL non-home pages with high specificity */
body:not(.home) .nav-wrapper {
    background-color: #1e3a8a !important;
    /* Primary Dark Blue */
    position: sticky !important;
    top: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    z-index: 99999 !important;
}

/* Ensure links are white */
body:not(.home) .nav-links > li > a {
    color: #ffffff !important;
}

/* Ensure mobile menu toggle is visible */
body:not(.home) .menu-toggle span {
    background: #ffffff !important;
}

/* ===== FIX: HOMEPAGE SCROLLED STATE ===== */
/* When scrolled on homepage, header MUST become solid */
body.home .nav-wrapper.scrolled {
    background: #1e3a8a !important;
    /* Solid Blue on Scroll */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

/* ===== SINGLE POST LAYOUT WITH SIDEBAR ===== */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 900px) {
    .single-layout {
        padding-bottom: 0px !important;
        /* Minimal padding on mobile before footer */
    }
}

.single-content-area {
    min-width: 0;
    /* Prevent overflow */
}

.single-content-area .entry-content {
    max-width: 100%;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Sidebar Styling */
.single-sidebar {
    position: sticky;
    top: 100px;
    /* Below header */
    align-self: start;
}

.sidebar-widget {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.sidebar-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-widget ul li a:hover {
    color: var(--primary);
}

/* Responsive: Stack on Mobile */
@media (max-width: 900px) {
    .single-layout {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        position: static;
        margin: 0;
        padding: 0;
    }

    /* Remove card styling on mobile - sidebar items use same style as related-posts */
    .sidebar-widget {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border);
        margin-bottom: 0;
        /* Eliminate bottom margin to reduce gap to footer */
    }

    .sidebar-heading {
        font-size: 1.25rem;
        /* Match Related Posts Title */
        font-weight: 700;
        color: var(--text-main);
        margin-bottom: 24px;
        /* Match Related Posts Margin */
        padding-left: 0;
        border-bottom: none;
        /* Remove underline to match */
        padding-bottom: 0;
    }

    /* Make sidebar list items look exactly like related-posts-list items */
    .sidebar-news-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sidebar-news-list li {
        padding: 12px;
        background: var(--bg-soft);
        border-radius: var(--radius);
        border-bottom: none;
        transition: all 0.2s;
    }

    .sidebar-news-list li:hover {
        background: #fff;
        box-shadow: var(--shadow);
    }
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding: 12px 16px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--text-main);
    font-weight: 500;
}

/* ===== RELATED POSTS SECTION ===== */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.related-posts-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-post-card {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    transition: all 0.2s ease;
}

.related-post-card:hover {
    background: #fff;
    box-shadow: var(--shadow);
}

.related-post-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.related-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ARTICLE TAGS DISPLAY ===== */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.tags-label {
    font-weight: 600;
    color: var(--text-main);
    margin-right: 8px;
}

.tag-item {
    background: var(--bg-soft);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-item:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== UPDATED RELATED POSTS (No Images, List Style) ===== */
.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.related-posts-list li {
    padding: 12px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.related-posts-list li:hover {
    background: #fff;
    box-shadow: var(--shadow);
}

.related-posts-list li a {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 4px;
}

.related-posts-list li a:hover {
    color: var(--primary);
}

.related-posts-list .related-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .related-posts-list {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER COLOR HARMONY ===== */
/* Match footer with header primary blue theme */
.site-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    /* Primary Blue Gradient */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* ===== FOOTER DARKER SHADE ===== */
.site-footer {
    background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%) !important;
    /* Darker Navy Blue */
}

/* ===== FOOTER EVEN DARKER ===== */
.site-footer {
    background: #0c1e3d !important;
    /* Very Dark Navy */
}

/* ===== FOOTER BOTTOM TEXT VISIBILITY ===== */
.footer-bottom,
.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.8) !important;
    /* Brighter white text */
}

/* ===== HERO TITLE SIZE ADJUSTMENT ===== */
.hero-section h1 {
    font-size: 2.5rem !important;
    /* Reduced from ~3.5rem */
    line-height: 1.2 !important;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.75rem !important;
    }
}

/* ===== HERO SUBTITLE SIZE ADJUSTMENT ===== */
.hero-section p {
    font-size: 1rem !important;
    /* Reduced from ~1.25rem */
    opacity: 0.9;
}

/* ========================================
   CONSOLIDATED HEADER & FOOTER STYLES
   (Supersedes all previous fragmented rules)
   ======================================== */

/* HEADER: Consolidated Rules (Desktop & Mobile) */
.nav-wrapper {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
    border-bottom: none !important;
    background-color: #1e3a8a !important;
    /* Solid Dark Blue Global */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 0 !important;
    /* Consistent padding */
    height: auto !important;
}

/* Ensure no transparency on Homepage anymore */
body.home .nav-wrapper {
    background-color: #1e3a8a !important;
    position: sticky !important;
}

/* Scrolled state (same) */
body.home .nav-wrapper.scrolled,
.nav-wrapper.scrolled {
    background-color: #1e3a8a !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Nav Links: White on dark header */
body:not(.home) .nav-links > li > a,
body.home .nav-wrapper.scrolled .nav-links > li > a {
    color: #fff !important;
}

/* FOOTER: Consolidated */
.site-footer {
    background: #0c1e3d !important;
}

.footer-bottom,
.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* HERO: Optimized Sizes */
.hero-section h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
}

.hero-section p {
    font-size: 1rem !important;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.75rem !important;
    }
}

/* ===== SIDEBAR NEWS LIST ===== */
.sidebar-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-news-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-news-list li:last-child {
    border-bottom: none;
}

.sidebar-news-list li a {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 4px;
}

.sidebar-news-list li a:hover {
    color: var(--primary);
}

.sidebar-news-list .news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .share-buttons {
        flex-wrap: nowrap !important;
        gap: 8px !important;
        overflow-x: auto;
        /* Allow scroll if really too tight, but try to fit */
        white-space: nowrap;
    }

    .share-btn {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        flex-shrink: 0;
    }

    .share-label {
        font-size: 0.9rem;
        margin-right: -4px;
    }
}

.share-label {
    font-weight: 600;
    color: var(--text-main);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.share-wa {
    background: #25D366;
    color: #fff;
    width: auto;
    height: auto;
    min-height: 36px;
    padding: 8px 16px;
    justify-content: center;
}

.share-wa:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-2px);
}

.share-copy {
    background: var(--bg-soft);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.share-copy:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== FACULTY SECTION REDESIGN ===== */
.tab-wrapper {
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.tab-headers {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--border);
    background: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.tab-content h3 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.tab-content h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.prodi-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.prodi-list li {
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 40px;
}

.prodi-list li::before {
    content: '›';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: bold;
}

.prodi-list li:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    transform: translateX(4px);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
    .prodi-list {
        grid-template-columns: 1fr;
    }

    .tab-wrapper {
        padding: 20px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* ===== MOBILE PRODI LIST COMPACT ===== */
@media (max-width: 768px) {
    .prodi-list li {
        padding: 10px 12px 10px 36px;
        font-size: 0.85rem;
    }

    .prodi-list li::before {
        left: 10px;
        font-size: 0.9rem;
    }

    .tab-content h3 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .tab-content h3::after {
        margin: 8px auto 0;
        width: 40px;
        height: 3px;
    }

    .tab-wrapper {
        padding: 16px;
        margin: 0 -8px;
    }

    .tab-headers {
        margin-bottom: 20px;
        gap: 6px;
    }
}

/* ===== MOBILE PRODI - SIMPLE LIST STYLE ===== */
@media (max-width: 768px) {
    .prodi-list {
        display: block;
    }

    .prodi-list li {
        background: transparent;
        border: none;
        padding: 6px 0 6px 20px;
        font-size: 0.9rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
    }

    .prodi-list li:last-child {
        border-bottom: none;
    }

    .prodi-list li::before {
        content: '•';
        color: var(--primary);
        font-size: 1.2rem;
        left: 0;
    }

    .prodi-list li:hover {
        transform: none;
        box-shadow: none;
        background: transparent;
    }

    .tab-content h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .tab-content h3::after {
        display: none;
    }
}

/* ===== FIX: MOBILE PRODI SPACING & ICON ===== */
@media (max-width: 768px) {
    .tab-headers {
        margin-bottom: 16px;
    }

    .tab-content h3 {
        margin-bottom: 8px;
    }

    .prodi-list li::before {
        content: '🎓';
        font-size: 0.85rem;
    }

    .prodi-list li {
        padding-left: 28px;
    }
}

/* ===== FIX: REDUCE TAB TO CONTENT SPACING ===== */
@media (max-width: 768px) {
    .tab-headers {
        margin-bottom: 12px !important;
    }

    .tab-content {
        padding-top: 0 !important;
    }
}

/* ===== ACADEMIC SERVICES REDESIGN ===== */
.service-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
}

.service-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.service-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.service-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.service-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 12px;
}

.service-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 400px;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--primary);
}

.service-image {
    position: relative;
    z-index: 1;
}

.service-image span {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .service-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .service-content {
        max-width: 100%;
        width: 100%;
    }

    .service-content h2 {
        font-size: 1.5rem;
    }

    .service-content p {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-image span {
        font-size: 60px !important;
    }
}

/* ===== FIX: SHOW CLOUD ICON ===== */
.service-image {
    display: block !important;
}

.service-image svg {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .service-image {
        order: -1;
        margin-bottom: 16px;
    }

    .service-image svg {
        width: 80px;
        height: 80px;
    }
}

/* ===== ICON GRID NAVIGATION BUTTONS ===== */
.icon-grid-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    color: var(--primary);
    transition: all 0.2s;
}

.icon-nav:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.icon-nav-left {
    left: -12px;
}

.icon-nav-right {
    right: -12px;
}

@media (max-width: 768px) {
    .icon-nav {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icon-grid-wrapper {
        padding: 0 24px;
    }

    .icon-nav-left {
        left: 0;
    }

    .icon-nav-right {
        right: 0;
    }
}

/* ===== FIX: ICON NAV BUTTONS MORE VISIBLE ===== */
.icon-nav {
    width: 40px !important;
    height: 40px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    font-size: 1.8rem !important;
    font-weight: bold !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
}

.icon-nav:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* ===== FIX: CENTER ICON GRID ===== */
.icon-grid-wrapper {
    justify-content: center !important;
}

.icon-grid {
    justify-content: center !important;
}

/* ===== FIX: ICON GRID MOBILE SCROLL ===== */
@media (max-width: 768px) {
    .icon-grid {
        justify-content: flex-start !important;
        padding-left: 0 !important;
        scroll-snap-type: x mandatory;
    }

    .icon-card {
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .icon-grid-wrapper {
        padding: 0 40px !important;
    }
}

/* ===== MOBILE: WIDER ICON GRID ===== */
@media (max-width: 768px) {
    .icon-grid-wrapper {
        margin: -40px 8px 20px !important;
        padding: 16px 32px !important;
    }

    .icon-card {
        min-width: 70px;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .icon-card span {
        font-size: 0.75rem;
    }
}

/* ===== MOBILE: LAYOUT & TYPOGRAPHY OPTIMIZATIONS ===== */
@media (max-width: 768px) {

    /* Make container wider on mobile */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Reduce section title size */
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 24px !important;
    }

    /* Kabar Kampus Header - Align title and link */
    .flex.justify-between:not(.nav) {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap;
        gap: 8px;
    }

    .flex.justify-between .section-title {
        margin-bottom: 0 !important;
        flex: 1;
        min-width: 150px;
    }

    .flex.justify-between a {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Align News header with cards below */
    .bg-soft .flex.justify-between {
        padding-left: 12px;
        padding-right: 12px;
        /* Add right padding too for View All */
        /* Match card edge alignment */
    }

    /* Adjust Faculty Tabs wrapper spacing */
    .tab-wrapper {
        padding: 20px 16px !important;
        border-radius: 12px !important;
    }

    /* Adjust News/Kabar Kampus grid spacing */
    .news-grid-v3 {
        gap: 16px !important;
    }

    /* Make Hero text more proportional */
    .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    .hero-content p {
        font-size: 0.95rem !important;
        padding: 0 10px;
    }
}

/* ===== FACULTY CARD GRID ===== */
.faculty-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

.faculty-card {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faculty-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.faculty-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.faculty-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
}

.prodi-count {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Click Indicator - "Lihat Detail" text */
.faculty-card::after {
    content: 'Lihat Prodi →';
    display: block;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}

.faculty-card:hover::after {
    opacity: 1;
    transform: translateX(4px);
}

/* Faculty Modal */
.faculty-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.faculty-modal.active {
    display: flex;
}

.faculty-modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-soft);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--primary);
    color: #fff;
}

.faculty-modal-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-right: 40px;
}

/* Modal Prodi List - Clean Single Column */
.faculty-modal-content .prodi-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faculty-modal-content .prodi-list li {
    padding: 8px 12px;
    padding-left: 32px;
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    font-size: 0.9rem;
}

.faculty-modal-content .prodi-list li:last-child {
    border-bottom: none;
}

/* ===== ACCORDION STYLES (For Mobile Faculty Section) ===== */
/* Desktop: Hide accordion headers, keep tabs */
.accordion-header {
    display: none;
}

.desktop-only {
    display: block;
}

/* ===== MOBILE APP LAYOUT ENHANCEMENTS ===== */
@media (max-width: 768px) {

    /* GRID LAYOUT - Show All Icons (2 Columns) */
    .icon-grid-wrapper {
        position: relative;
    }

    /* Hide Navigation Arrows */
    .icon-nav {
        display: none !important;
    }

    .icon-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        /* 4 columns */
        gap: 12px !important;
        padding: 20px 16px !important;
        background: #fff !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid var(--border) !important;
        overflow: visible !important;
    }

    .icon-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        background: transparent !important;
        padding: 12px 8px !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        border: none !important;
    }

    .icon-card:active {
        background: var(--bg-soft) !important;
    }

    .icon-circle {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 8px !important;
        font-size: 20px !important;
        background: var(--bg-soft) !important;
        border: none !important;
        color: var(--primary) !important;
    }

    .icon-card span {
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        color: var(--text-main) !important;
        line-height: 1.2 !important;
    }

    /* Mobile Faculty Card Grid - Compact Single Column */
    .faculty-card-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-left: -12px;
        margin-right: -12px;
        /* Pull grid wider */
    }

    .faculty-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        padding: 14px 16px !important;
        gap: 14px !important;
    }

    .faculty-icon {
        font-size: 1.5rem !important;
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }

    .faculty-card h4 {
        font-size: 0.95rem !important;
        margin-bottom: 2px !important;
    }

    .faculty-card p {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
        display: none;
        /* Hide description on mobile for compact view */
    }

    .prodi-count {
        font-size: 0.65rem !important;
        padding: 2px 8px !important;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* Chevron Arrow for Clickability Indicator */
    .faculty-card::after {
        content: '›';
        font-size: 1.5rem;
        color: var(--text-muted);
        margin-left: 8px;
        flex-shrink: 0;
    }

    /* Mobile Modal - Centered Card Style */
    .faculty-modal-content {
        padding: 24px !important;
        margin: 16px !important;
        width: auto !important;
        position: relative !important;
        /* Reset absolute positioning */
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        border-radius: 20px !important;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    }

    .faculty-modal {
        align-items: center !important;
        /* Center vertically */
        justify-content: center !important;
        padding: 0 !important;
    }

    .faculty-modal-content h3 {
        font-size: 1.1rem !important;
    }

    /* 2. Prodi List - Vertical Stack (Show All) */
    .prodi-list {
        color: var(--primary) !important;
    }

    /* ===== MOBILE ACCORDION FOR FACULTY SECTION ===== */
    /* Hide tab headers on mobile */
    .tab-headers {
        display: none !important;
    }

    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }

    /* Show accordion headers */
    .accordion-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 16px 20px;
        background: var(--primary);
        color: #fff;
        border: none;
        border-radius: 12px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 0;
        transition: all 0.3s ease;
    }

    .accordion-header.active {
        background: var(--primary-dark);
        border-radius: 12px 12px 0 0;
    }

    .accordion-icon {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .accordion-header.active .accordion-icon {
        transform: rotate(180deg);
    }

    /* Accordion item spacing */
    .accordion-item {
        margin-bottom: 12px;
    }

    /* Accordion content (hidden by default on mobile) */
    .accordion-content {
        display: none !important;
        background: #fff;
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 12px 12px;
        padding: 16px;
    }

    .accordion-content.active {
        display: block !important;
    }

    /* Style the prodi-list inside accordion */
    .accordion-content .prodi-list {
        margin: 0;
        padding: 0;
    }

    .accordion-content .prodi-list li {
        padding: 6px 0;
        border-bottom: 1px solid var(--border);
    }

    .accordion-content .prodi-list li:last-child {
        border-bottom: none;
    }

    .icon-card span {
        font-size: 0.75rem !important;
        line-height: 1.2;
        display: block;
        /* Ensure 2 lines max */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 2. Prodi List - Horizontal Swipe */
    /* 2. Prodi List - Vertical Stack (Show All) */
    .prodi-list {
        display: grid !important;
        /* Back to grid */
        overflow-x: visible !important;
        /* No scroll */
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
        grid-template-columns: 1fr !important;
        /* 1 Column full width */
        scrollbar-width: auto;
    }

    .prodi-list::-webkit-scrollbar {
        display: none;
    }

    .prodi-list li {
        flex: none !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        /* Full width */
        border-radius: 12px !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid var(--border) !important;
    }

    /* 3. News Grid - Horizontal List Card Style */
    .news-grid-v3 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .news-card-v3 {
        display: flex !important;
        flex-direction: row !important;
        /* Side by side */
        align-items: center;
        height: 110px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
    }

    .news-thumb {
        width: 110px !important;
        height: 100% !important;
        flex-shrink: 0;
        border-radius: 12px !important;
        /* All corners rounded */
        overflow: hidden;
    }

    .news-thumb img {
        height: 100% !important;
        border-radius: 12px !important;
    }

    .news-body {
        padding: 0 16px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        flex-grow: 1;
    }

    .news-body h4 {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
        /* Line limit - allow 3 lines for better readability */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Article Content Typography (Mobile Optimization) */
    .single-content-area .entry-content {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Compact Header for Mobile */
    .nav {
        height: 64px !important;
        /* Increased from 58px */
    }

    /* Logo size controlled by Customizer */

    /* Fix Spacing: Home uses fixed header, hero handles its own spacing */
    body.home .site-main {
        padding-top: 0 !important;
    }

    /* Inner pages (Sticky Header) don't need huge padding */
    .site-main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* FIX: Reduce single-layout top padding on mobile */
    .single-layout {
        padding-top: 16px !important;
    }

    /* Refined Title Styling - Only Size */
    .entry-title {
        font-size: 1.5rem !important;
        /* Smaller on mobile */
    }

    /* Modern Mobile Breadcrumb */
    .breadcrumb {
        margin: 0 0 16px 0 !important;
        padding: 8px 0 !important;
        background: transparent !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        /* Prevent stack */
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar */
        gap: 6px !important;
        font-size: 0.8rem !important;
    }

    .breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb a {
        color: var(--text-muted) !important;
        font-weight: 500;
    }

    .breadcrumb-current {
        color: var(--text-main) !important;
        font-weight: 600;
    }

    /* Modern Separator */
    .breadcrumb-separator {
        color: #cbd5e1 !important;
        font-size: 0.75rem;
    }
}

/* =========================================
   MOBILE ADJUSTMENTS (Simplified)
   ========================================= */
@media (max-width: 768px) {

    /* 1. Reset Global Container just in case */
    .site-main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body.home {
        background-color: #fff !important;
    }

    /* 2. Hero Section - Pull up behind fixed header */
    .hero-section {
        margin-top: -1px !important;
        /* Overlap to prevent any gap */
        padding-top: 90px !important;
        /* Content padding below header */
    }

    /* Mobile logo handled by Customizer */
}

/* ===== SEARCH RESULTS PAGE ===== */
.search-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.search-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.search-query {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* Search Results List */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.search-item:first-child {
    padding-top: 0;
}

.search-item:hover {
    background: var(--bg-soft);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: var(--radius);
}

.search-item:hover .search-item-title {
    color: var(--primary);
}

.search-item:hover .search-item-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Thumbnail */
.search-item-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-soft);
}

.search-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    color: var(--text-muted);
    font-size: 24px;
}

/* Content */
.search-item-content {
    flex: 1;
    min-width: 0;
}

.search-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.search-meta-sep {
    color: var(--border);
}

.search-item-cat {
    color: var(--primary);
    font-weight: 600;
}

.search-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 6px 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.search-item-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Arrow */
.search-item-arrow {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.2s ease;
}

/* Pagination */
.search-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.search-pagination .nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Target ALL possible pagination elements */
.search-pagination .nav-links a,
.search-pagination .nav-links span,
.search-pagination .nav-links .page-numbers,
.search-pagination a.page-numbers,
.search-pagination span.page-numbers,
.search-pagination .nav-links a.page-numbers,
.search-pagination .nav-links span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    font-family: inherit !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

/* Hover state */
.search-pagination .nav-links a:hover,
.search-pagination a.page-numbers:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

/* Current/Active page */
.search-pagination .nav-links .current,
.search-pagination .nav-links span.current,
.search-pagination span.page-numbers.current,
.search-pagination .page-numbers.current {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

/* Dots separator */
.search-pagination .nav-links .dots,
.search-pagination span.dots {
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    min-width: auto !important;
    padding: 0 8px !important;
}

/* No Results */
.search-no-results {
    text-align: center;
    padding: 80px 20px;
}

.search-no-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.search-no-results h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.search-no-results p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 12px;
}

.search-no-tips {
    font-size: 0.9rem;
    margin-bottom: 24px !important;
}

/* ===== SEARCH RESULTS RESPONSIVE ===== */
@media (max-width: 768px) {
    .search-header {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .search-title {
        font-size: 1.25rem;
    }

    .search-query {
        font-size: 0.9rem;
    }

    .search-item {
        gap: 16px;
        padding: 16px 0;
    }

    .search-item-thumb {
        width: 64px;
        height: 64px;
        border-radius: 8px;
    }

    .search-item-title {
        font-size: 1rem;
    }

    .search-item-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    .search-item-arrow {
        display: none;
    }

    .search-item:hover {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        background: transparent;
    }
}

/* ===== ARCHIVE PAGE (LIST LAYOUT) ===== */
.archive-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.archive-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.archive-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* Archive List */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.archive-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.archive-item:first-child {
    padding-top: 0;
}

.archive-item:hover {
    background: var(--bg-soft);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: var(--radius);
}

.archive-item:hover .archive-item-title {
    color: var(--primary);
}

.archive-item:hover .archive-item-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Archive Thumbnail */
.archive-item-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-soft);
}

.archive-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    color: var(--text-muted);
    font-size: 24px;
}

/* Archive Content */
.archive-item-content {
    flex: 1;
    min-width: 0;
}

.archive-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.archive-meta-sep {
    color: var(--border);
}

.archive-item-cat {
    color: var(--primary);
    font-weight: 600;
}

.archive-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 6px 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.archive-item-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-item-arrow {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.2s ease;
}

/* Archive Pagination */
.archive-pagination {
    margin-top: 40px;
    text-align: center;
}

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    background: var(--bg-soft);
    transition: all 0.2s;
}

.archive-pagination .page-numbers:hover {
    background: var(--primary);
    color: #fff;
}

.archive-pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
}

/* Archive No Results */
.archive-no-results {
    text-align: center;
    padding: 80px 20px;
}

.archive-no-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.archive-no-results h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.archive-no-results p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ===== ARCHIVE RESPONSIVE ===== */
@media (max-width: 768px) {
    .archive-header {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .archive-title {
        font-size: 1.25rem;
    }

    .archive-item {
        gap: 16px;
        padding: 16px 0;
    }

    .archive-item-thumb {
        width: 64px;
        height: 64px;
        border-radius: 8px;
    }

    .archive-item-title {
        font-size: 1rem;
    }

    .archive-item-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    .archive-item-arrow {
        display: none;
    }

    .archive-item:hover {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        background: transparent;
    }
}

/* ===== HOMEPAGE NEWS LIST (MOBILE) ===== */
@media (max-width: 768px) {

    /* Transform news grid to list on mobile */
    .news-grid-v3 {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .news-card-v3 {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-bottom: 1px solid var(--border);
        height: auto;
    }

    .news-card-v3:first-child {
        padding-top: 0;
    }

    .news-card-v3:last-child {
        border-bottom: none;
    }

    .news-card-v3:hover {
        transform: none;
        box-shadow: none;
    }

    .news-thumb {
        flex-shrink: 0;
        width: 64px;
        height: 64px;
        border-radius: 8px;
        overflow: hidden;
    }

    .news-body {
        flex: 1;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .news-body h4 {
        font-size: 0.95rem;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-date {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .read-more {
        display: none;
    }
}

/* ===== FEATURED POST HERO ===== */
.featured-post {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    text-decoration: none;
    color: #fff;
}

.featured-post-image {
    position: relative;
    width: 100%;
    height: 320px;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.featured-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.featured-author {
    color: #f59e0b;
    font-weight: 600;
}

.featured-post:hover .featured-title {
    color: #f59e0b;
}

/* Archive item author styling */
.archive-item-author {
    color: var(--primary);
    font-weight: 600;
}

.archive-item-comments {
    color: var(--text-muted);
}

/* ===== FEATURED POST RESPONSIVE ===== */
@media (max-width: 768px) {
    .featured-post-image {
        height: 220px;
    }

    .featured-post-content {
        padding: 16px;
    }

    .featured-title {
        font-size: 1.15rem;
    }

    .featured-meta {
        font-size: 0.75rem;
        gap: 12px;
    }
}

/* ===== BLOG POSTS GRID (from sigerblog) ===== */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Featured First Post - Full Width */
.blog-posts .post-card:first-child {
    grid-column: 1 / -1;
}

.blog-posts .post-card:first-child .post-thumbnail {
    height: 320px;
}

.blog-posts .post-card:first-child .post-title {
    font-size: 1.5rem;
}

/* Card Design */
.post-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--border) 100%);
}

.post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-title a {
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: var(--primary);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.post-meta .author {
    color: var(--primary);
    font-weight: 600;
}

.post-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

/* ===== MOBILE: Featured Hero + Horizontal List ===== */
@media (max-width: 768px) {
    .blog-posts {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Featured First Post - Hero Style with Overlay */
    .blog-posts .post-card:first-child {
        display: block;
        position: relative;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
        background: none;
        padding: 0;
    }

    .blog-posts .post-card:first-child .post-thumbnail {
        width: 100%;
        height: 220px;
        min-height: unset;
        border-radius: 0;
    }

    .blog-posts .post-card:first-child .post-thumbnail::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
        pointer-events: none;
    }

    .blog-posts .post-card:first-child .post-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        background: none;
        z-index: 2;
    }

    .blog-posts .post-card:first-child .post-title {
        font-size: 1.15rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.35;
        margin-bottom: 8px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .blog-posts .post-card:first-child .post-title a {
        color: #fff;
    }

    .blog-posts .post-card:first-child .post-meta {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.75rem;
        gap: 10px;
        margin-bottom: 0;
    }

    .blog-posts .post-card:first-child .post-meta .author {
        color: #f59e0b;
        font-weight: 600;
    }

    .blog-posts .post-card:first-child .post-excerpt {
        display: none;
    }

    /* Other Posts - Horizontal Card Layout */
    .blog-posts .post-card:not(:first-child) {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 14px;
        padding: 14px;
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow);
    }

    .blog-posts .post-card:not(:first-child):hover {
        transform: none;
    }

    .blog-posts .post-card:not(:first-child) .post-thumbnail {
        width: 80px;
        height: 80px;
        min-height: unset;
        border-radius: 10px;
        overflow: hidden;
    }

    .blog-posts .post-card:not(:first-child) .post-thumbnail::after {
        display: none;
    }

    .blog-posts .post-card:not(:first-child) .post-content {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .blog-posts .post-card:not(:first-child) .post-title {
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.4;
        margin-bottom: 0;
        color: var(--text-main);
    }

    .blog-posts .post-card:not(:first-child) .post-title a {
        color: var(--text-main);
    }

    .blog-posts .post-card:not(:first-child) .post-meta {
        font-size: 0.7rem;
        gap: 8px;
        margin-bottom: 0;
        color: var(--text-muted);
    }

    .blog-posts .post-card:not(:first-child) .post-excerpt {
        display: none;
    }
}

/* ===== FEATURED + SIDEBAR LAYOUT ===== */
.archive-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all-link {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.view-all-link:hover {
    color: var(--primary);
}

.news-featured-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

/* Left: Big Featured Post */
.featured-big {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    text-decoration: none;
}

/* ===== ARCHIVE WITH SIDEBAR LAYOUT ===== */
.site-main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.sidebar-area {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.sidebar-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-soft);
}

.sidebar-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-news-list li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.sidebar-news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-news-list a {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 6px;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-news-list a:hover {
    color: var(--primary);
}

.sidebar-news-list .news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive Sidebar */
@media (max-width: 900px) {
    .site-main-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-area {
        position: static;
        margin-top: 40px;
    }
}

.featured-big-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-big-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.featured-big-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.featured-big-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}

.featured-big-date {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.featured-big-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.featured-big-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
}

.featured-big:hover .featured-big-title {
    color: var(--accent);
}

.featured-big:hover .featured-big-link {
    color: #fff;
}

/* Right: Small Posts Stack */
.featured-side-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-side-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: all 0.2s ease;
}

.featured-side-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.featured-side-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-side-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-soft);
}

.featured-side-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-side-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.featured-side-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-side-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.featured-side-item:hover .featured-side-title {
    color: var(--primary);
}

/* Remaining Posts Section */
.remaining-posts-section {
    margin-top: 48px;
}

.remaining-posts-section .section-title {
    margin-bottom: 24px;
}

/* Post Card Tweaks */
.post-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.post-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== FEATURED LAYOUT RESPONSIVE ===== */
@media (max-width: 900px) {
    .news-featured-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-big {
        min-height: 280px;
    }

    .featured-big-title {
        font-size: 1.25rem;
    }

    .featured-side-item {
        padding: 12px;
        gap: 12px;
    }

    .featured-side-thumb {
        width: 80px;
        height: 64px;
    }

    .featured-side-title {
        font-size: 0.9rem;
    }
}

/* ===== MINIMALIST ARCHIVE HEADER ===== */
.archive-hero {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
    /* Reduced from 40px */
    position: relative;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    margin-top: 30px;
    /* Reduced from 40px */
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
    /* Reduced from 40px */
}

.archive-hero::before {
    display: none;
    /* Remove decoration */
}

.archive-breadcrumbs {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    /* Reduced from 12px */
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.archive-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.archive-breadcrumbs a:hover {
    color: var(--primary);
}

.archive-breadcrumbs .sep {
    font-size: 0.75rem;
    color: #cbd5e1;
}

.archive-breadcrumbs .current {
    color: var(--primary);
}

.archive-hero .archive-title {
    font-size: 2.25rem;
    /* Reduced from 3rem */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.archive-hero .archive-desc {
    font-size: 1.05rem;
    /* Slightly reduced */
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.6;
}

/* Fix container alignment inside hero - allow it to behave normally */
.archive-hero .container {
    position: relative;
    padding-left: 0;
    /* Align flush with content if needed, but container usually has padding */
    padding-right: 0;
}

@media (max-width: 768px) {
    .archive-hero {
        margin-top: 20px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .archive-hero .archive-title {
        font-size: 1.75rem;
    }


    .archive-hero .archive-desc {
        font-size: 0.95rem;
    }
}

/* ===== ARTICLE CONTENT LINK STYLES ===== */
.entry-content a,
.post-content a {
    color: var(--primary);
    text-decoration: none;
}

.entry-content a:hover,
.post-content a:hover {
    color: var(--primary-dark);
}

/* ===== PROGRAM PROFILE SECTION ===== */
.program-profile-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}

.program-profile-content {
    max-width: 900px;
    margin: 0 auto;
}

.program-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 32px;
    text-align: center;
}

.profile-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.highlight-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.highlight-text {
    display: flex;
    flex-direction: column;
}

.highlight-text strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.highlight-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-profile {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}

.btn-profile:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(37, 99, 235, 0.3);
}

/* ===== AGENDA SECTION ===== */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.agenda-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.agenda-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.agenda-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 16px;
    min-width: 80px;
    text-align: center;
}

.agenda-day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.agenda-month {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.agenda-content {
    flex: 1;
}

.agenda-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.agenda-title a {
    color: var(--text-main);
    transition: color 0.2s;
}

.agenda-title a:hover {
    color: var(--primary);
}

.agenda-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.agenda-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--text-main);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .program-profile-card {
        padding: 32px 24px;
    }

    .profile-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .agenda-card {
        flex-direction: column;
        text-align: center;
    }

    .agenda-date-box {
        width: 100%;
        padding: 12px;
    }

    .program-desc {
        font-size: 1rem;
    }
}

/* ===== FRONT PAGE 3-COLUMN GRID ===== */
.front-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .front-page-grid {
        grid-template-columns: 1fr;
    }
}

.fp-col h3.col-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
    position: relative;
    color: var(--text-main);
    font-weight: 800;
}

.fp-col h3.col-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.fp-content {
    color: var(--text-main);
    line-height: 1.8;
}

/* List Styling - Compact & Minimal */
/* List Styling - Clean & Spacious */
.fp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-list li {
    padding: 0 0 20px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.fp-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.fp-list h4 {
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 700;
}

.fp-list h4 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.fp-list h4 a:hover {
    color: var(--primary);
}

.fp-item-view {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.fp-item-view:hover {
    gap: 8px;
}

.fp-item-view::after {
    content: '→';
}

/* ===== ARCHIVE PAGE LAYOUT ===== */
.archive-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 991px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   ARCHIVE PAGE - CLEAN & SIMPLE
   ================================================ */

.archive-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
}

@media (max-width: 768px) {
    .archive-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 24px 16px 60px;
    }
}

/* Breadcrumb */
.breadcrumb-simple {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
}

.breadcrumb-simple a {
    color: #64748b;
    text-decoration: none;
}

.breadcrumb-simple a:hover {
    color: var(--primary);
}

.breadcrumb-simple span {
    margin: 0 6px;
}

/* Page Title */
.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

/* Post List */
.post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.post-item:last-child {
    border-bottom: none;
}

.post-info {
    flex: 1;
    padding-right: 24px;
}

.post-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 6px;
}

.post-title:hover {
    color: var(--primary);
}

.post-more {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.post-more:hover {
    text-decoration: underline;
}

.post-date {
    font-size: 0.8rem;
    color: #94a3b8;
    white-space: nowrap;
    margin-top: 2px;
}

/* No Posts */
.no-posts {
    color: #64748b;
    font-size: 1rem;
    padding: 40px 0;
    text-align: center;
}

/* Pagination */
.pagination {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.15s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ================================================
   SIDEBAR WIDGET - CLEAN
   ================================================ */

.archive-aside {
    position: sticky;
    top: 100px;
}

.widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.widget h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
}

.widget li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget li:first-child {
    padding-top: 0;
}

.widget a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.widget a:hover {
    color: var(--primary);
}

/* ===== GATEWAY PAGE STYLES (COMPACT & COLORFUL) ===== */
.gateway-body {
    background: #fdfdfd;
}

.gateway-body .container {
    max-width: 1000px;
    /* Compact width */
    padding: 0 24px;
}

.gateway-hero {
    position: relative;
    padding: 40px 0 40px;
    /* Reduced padding */
    background: radial-gradient(circle at top, #1e3a8a, #0f172a);
    color: white;
    text-align: center;
    overflow: hidden;
    margin-bottom: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.4);
}

.gateway-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

.gateway-title-wrapper {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Ensure centering */
}

.gateway-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #bae6fd;
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gateway-hero h1 {
    font-size: 2.25rem;
    /* Slightly smaller */
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gateway-hero p {
    font-size: 1rem;
    color: #e2e8f0;
    line-height: 1.5;
    max-width: 550px;
    margin: 0 auto 24px;
}

/* SEARCH OVERLAY - Compact */
.gateway-search-wrapper {
    max-width: 600px;
    margin: -35px auto 40px;
    position: relative;
    z-index: 50;
    padding: 0 20px;
}

#gatewaySearchInput {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
    height: 56px;
    /* Ensure sufficient height */
}

#gatewaySearchInput:focus {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15) !important;
}

/* Faculty Section Styling */
.gateway-faculty-section {
    position: relative;
    padding-bottom: 40px;
    padding-top: 30px !important;
}

.faculty-block {
    margin-bottom: 30px;
    /* Reduced spacing */
    position: relative;
    /* Default Colors */
    --theme-primary: #3b82f6;
    --theme-soft: #eff6ff;
}

/* THEMES */
.theme-ftk {
    --theme-primary: #059669;
    --theme-soft: #ecfdf5;
}

/* Emerald */
.theme-febi {
    --theme-primary: #d97706;
    --theme-soft: #fffbeb;
}

/* Amber */
.theme-fs {
    --theme-primary: #7c3aed;
    --theme-soft: #f5f3ff;
}

/* Violet */
.theme-pasca {
    --theme-primary: #2563eb;
    --theme-soft: #eff6ff;
}

/* Blue */
.theme-doktor {
    --theme-primary: #be123c;
    --theme-soft: #fff1f2;
}

/* Rose */

.faculty-header-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    position: relative;
    gap: 8px;
}

.faculty-header-modern::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--theme-primary);
    /* Use Theme Color */
    border-radius: 4px;
}

.faculty-title-group h2 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

.faculty-title-group span {
    display: block;
    margin-top: 4px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-visit-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 24px;
    background: white;
    color: var(--theme-primary);
    border: 1px solid var(--border);
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-visit-main:hover {
    background: var(--theme-primary);
    color: white;
    border-color: var(--theme-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Grid Layout */
.prodi-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    /* More compact width */
    gap: 12px;
    /* Reduced gap */
    padding: 2px;
}

/* Program Card - Colorful & Compact */
.program-card-modern {
    background: var(--theme-soft);
    /* Colorful Background */
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.program-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--theme-primary);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.program-card-modern:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
    /* Lift effect */
    border-color: var(--theme-primary);
}

.program-card-modern:hover::before {
    background: var(--theme-primary);
    opacity: 1;
}

/* No Icon Wrapper Needed */

.program-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 10px 0;
    line-height: 1.3;
    transition: color 0.2s;
}

.program-card-modern:hover .program-name {
    color: var(--theme-primary);
}

.program-link {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.program-card-modern:hover .program-link {
    color: var(--theme-primary);
}

.gateway-search-input::placeholder {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .gateway-hero {
        padding: 60px 0 40px;
        border-radius: 0 0 20px 20px;
    }

    .gateway-hero h1 {
        font-size: 1.75rem;
    }
}


/* =======================================================
   MODERN FTK & ANNUR-HUB REDESIGN (2026 EDITION)
   ======================================================= */

/* --- HEADER & BRANDING ENHANCEMENTS (UNIFIED SINGLE-TIER SLEEK SYSTEM) --- */
.nav-wrapper {
    background-color: #0b1528 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
}

body.home .nav-wrapper,
body:not(.home) .nav-wrapper {
    background-color: #0b1528 !important;
}

.nav-wrapper.scrolled {
    padding: 0 !important;
    background-color: rgba(11, 21, 40, 0.96) !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35) !important;
}

.nav-wrapper .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.nav {
    min-height: 66px !important;
    height: 66px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.nav-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-pill-link {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 9999px !important;
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
}

.nav-pill-link:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}


.logo-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.annur-logo {
    width: var(--logo-w-desktop, 48px);
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-title-wrap {
    display: flex;
    flex-direction: column;
}

.brand-faculty-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.brand-univ-name {
    font-size: 0.76rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.2;
    margin-top: 2px;
}

/* Nav links desktop - Clean, Open & Unified Navigation */
.nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav-links > li {
    position: relative;
    list-style: none;
    display: inline-flex;
    align-items: center;
}

.nav-links > li > a,
.nav-link-item {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: all 0.2s ease !important;
    white-space: nowrap;
    position: relative;
}

.nav-links > li > a:hover,
.nav-link-item:hover,
.nav-links > li.current-menu-item > a,
.nav-links > li.current_page_item > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16) !important;
    transform: translateY(-1px);
}

/* Menu icons */
.nav-links .menu-icon {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    fill: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    opacity: 0.85 !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.nav-links a:hover .menu-icon,
.nav-links .current-menu-item > a .menu-icon {
    opacity: 1 !important;
    transform: scale(1.12) !important;
}

/* Standalone Portal Bridge Button in nav-right */
.nav-portal-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 7px 14px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    margin-right: 8px !important;
}

.nav-portal-btn:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}


/* --- MODERN DROPDOWN SUBMENU --- */
.nav-links .sub-menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    background: #ffffff !important;
    min-width: 250px !important;
    padding: 8px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(8px) !important;
    transition: all 0.20s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 999999 !important;
    list-style: none !important;
    margin: 0 !important;
}

/* Invisible pseudo-bridge to prevent hover loss between nav item and dropdown */
.nav-links .sub-menu::before {
    content: '' !important;
    position: absolute !important;
    top: -10px !important;
    left: 0 !important;
    right: 0 !important;
    height: 12px !important;
    background: transparent !important;
}

.nav-links li:hover > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.nav-links .sub-menu li {
    display: block !important;
    margin-bottom: 2px !important;
    list-style: none !important;
}

.nav-links .sub-menu li:last-child {
    margin-bottom: 0 !important;
}

body .nav-links .sub-menu li a,
body .nav-wrapper .nav-links .sub-menu li a,
body[class*="faculty-"] .nav-links .sub-menu li a,
body.home .nav-wrapper.scrolled .nav-links .sub-menu li a,
body:not(.home) .nav-wrapper .nav-links .sub-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    color: #1e293b !important; /* Bold, dark readable slate text */
    background: transparent !important;
    font-size: 0.90rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all 0.18s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}

body .nav-links .sub-menu li a::before {
    content: '' !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #cbd5e1 !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

body .nav-links .sub-menu li a:hover,
body .nav-wrapper .nav-links .sub-menu li a:hover,
body[class*="faculty-"] .nav-links .sub-menu li a:hover,
body.home .nav-wrapper.scrolled .nav-links .sub-menu li a:hover,
body:not(.home) .nav-wrapper .nav-links .sub-menu li a:hover {
    background: var(--fac-bg-pill, #eff6ff) !important;
    color: var(--fac-primary, #1d4ed8) !important;
    transform: translateX(4px) !important;
}

body .nav-links .sub-menu li a:hover::before,
body[class*="faculty-"] .nav-links .sub-menu li a:hover::before {
    background: var(--fac-primary, #2563eb) !important;
    width: 8px !important;
    height: 8px !important;
}

/* Caret indicator on parent menu */
.menu-item-has-children > a::after {
    content: '' !important;
    display: inline-block !important;
    width: 0 !important;
    height: 0 !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    border-top: 4px solid #cbd5e1 !important;
    border-right: 4px solid transparent !important;
    border-left: 4px solid transparent !important;
    border-bottom: 0 !important;
    transition: transform 0.2s ease !important;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg) !important;
    border-top-color: #ffffff !important;
}

/* --- SEARCH BAR (EXACTLY MATCHING MAIN SITE AN-NUR.AC.ID) --- */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    transition: background 0.2s !important;
    line-height: 1 !important;
}

.nav-search-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Floating dropdown search popover (does NOT shift adjacent menu items) */
.search-container .search-form {
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    margin-top: 10px !important;
    background: #ffffff !important;
    padding: 8px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    gap: 8px !important;
    width: 270px !important;
    max-width: calc(100vw - 32px) !important;
    transition: all 0.2s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    z-index: 999999 !important;
}

.search-container .search-form.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    pointer-events: none !important;
}

.search-container .search-form .search-field {
    border: 1px solid #e2e8f0 !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    width: 100% !important;
    font-family: inherit !important;
    font-size: 0.9rem !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: normal !important;
}

.search-container .search-form .search-field:focus {
    border-color: var(--fac-primary, var(--primary, #2563eb)) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15) !important;
}

.search-container .search-form .search-submit {
    position: static !important;
    transform: none !important;
    background: var(--fac-primary, var(--primary, #2563eb)) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 12px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: filter 0.2s, background 0.2s !important;
}

.search-container .search-form .search-submit:hover {
    filter: brightness(0.9) !important;
}


/* Nav CTA PMB Button - kept for use in other areas (hero, etc) */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 9999px;
    margin-left: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.30);
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}



/* --- HERO SECTION --- */
.ftk-hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #091226 0%, #132758 45%, #0d1a38 100%);
    padding: 90px 0 110px;
    color: #ffffff;
}

.ftk-hero-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.ftk-hero-glow-2 {
    position: absolute;
    width: 700px;
    height: 700px;
    bottom: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.ftk-hero-container {
    position: relative;
    z-index: 2;
}

.ftk-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.ftk-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.ftk-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

.ftk-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 18px;
}

.ftk-hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 32px;
    max-width: 95%;
}

.ftk-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-ftk-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #1e3a8a !important;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 13px 28px;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-ftk-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    background: #f8fafc;
}

.btn-ftk-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 13px 26px;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-ftk-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.ftk-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
}

.ftk-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.stat-badge {
    font-size: 1.05rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
}

.ftk-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
}

/* Glass Spotlight Card */
.ftk-glass-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.glass-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dekan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.9rem;
}

.status-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #86efac;
    background: rgba(34, 197, 94, 0.15);
    padding: 4px 10px;
    border-radius: 9999px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    display: inline-block;
}

.quote-box {
    position: relative;
    margin-bottom: 20px;
}

.quote-icon {
    color: rgba(96, 165, 250, 0.45);
    margin-bottom: 8px;
}

.quote-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e2e8f0;
    font-style: italic;
    margin: 0;
}

.dekan-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dekan-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.dekan-info {
    display: flex;
    flex-direction: column;
}

.dekan-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.dekan-sub {
    font-size: 0.8rem;
    color: #94a3b8;
}

.glass-quick-links .quick-links-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.q-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 12px;
    border-radius: 10px;
    color: #e2e8f0 !important;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.q-link:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(96, 165, 250, 0.5);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* --- QUICK ACCESS SECTION --- */
.ftk-quick-access-section {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    margin-bottom: 40px;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.qa-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.qa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px -8px rgba(37, 99, 235, 0.15);
    border-color: #93c5fd;
}

.qa-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qa-icon-blue { background: #eff6ff; color: #2563eb; }
.qa-icon-green { background: #ecfdf5; color: #059669; }
.qa-icon-amber { background: #fffbeb; color: #d97706; }
.qa-icon-purple { background: #faf5ff; color: #7c3aed; }

.qa-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.qa-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.qa-arrow {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.qa-card:hover .qa-arrow {
    transform: translateX(4px);
    color: #2563eb;
}

/* --- SECTION HEADERS --- */
.section-badge {
    display: inline-block;
    background: rgba(5, 150, 105, 0.08);
    color: var(--fac-primary, #059669);
    border: 1px solid rgba(5, 150, 105, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.faculty-febi .section-badge {
    background: rgba(185, 28, 28, 0.08);
    color: #b91c1c;
    border-color: rgba(185, 28, 28, 0.2);
}
body.faculty-fs .section-badge {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.2);
}
body.faculty-pasca .section-badge {
    background: rgba(30, 58, 138, 0.08);
    color: #1e3a8a;
    border-color: rgba(30, 58, 138, 0.2);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}

/* --- PROGRAM STUDI GRID (3 Columns for Perfect Symmetry) --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 44px;
}

@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* --- ELEVATED ACADEMIC PROGRAM CARD --- */
.program-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--fac-primary, #059669);
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
    position: relative;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 32px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.prog-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.prog-icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.program-card:hover .prog-icon-badge {
    transform: scale(1.08);
}

.prog-bg-green { background: #ecfdf5; color: #059669; }
.prog-bg-amber { background: #fffbeb; color: #d97706; }
.prog-bg-blue { background: #eff6ff; color: #2563eb; }
.prog-bg-purple { background: #faf5ff; color: #7c3aed; }
.prog-bg-cyan { background: #ecfeff; color: #0891b2; }
.prog-bg-emerald { background: #f0fdf4; color: #16a34a; }
.prog-bg-rose { background: #fff1f2; color: #e11d48; }
.prog-bg-indigo { background: #eef2ff; color: #4f46e5; }

.prog-degree {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.prog-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.prog-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.prog-prospects-section {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    margin-bottom: 20px;
}

.prog-prospects-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.prog-prospects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.prospect-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.program-card:hover .prospect-tag {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-prog-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: var(--fac-primary, #059669) !important;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
}

.btn-prog-action:hover {
    background: var(--fac-primary, #059669) !important;
    color: #ffffff !important;
    border-color: var(--fac-primary, #059669) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-prog-action svg {
    transition: transform 0.25s ease;
}

.btn-prog-action:hover svg {
    transform: translateX(4px);
}

/* --- PILLARS SECTION --- */
.pillars-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.pillars-stats-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.p-stat {
    background: #ffffff;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.p-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #2563eb;
}

.p-txt {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
    margin-top: 4px;
}

.pillars-cards-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pillar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.pillar-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* --- NEWS SECTION --- */
.section-header-row {
    margin-bottom: 32px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--fac-primary, #059669) !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view-all:hover {
    gap: 12px;
    color: var(--fac-primary-dark, #064e3b) !important;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.news-card.no-thumb {
    border-top: 4px solid var(--fac-primary, #059669);
    background: #ffffff;
}

.news-card.no-thumb .news-body {
    padding: 24px 20px 20px;
}

.news-card-date-inline,
.news-date-inline-mobile {
    display: none;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.12);
    border-color: var(--fac-border-pill, #cbd5e1);
}

.news-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    display: block;
    background: #1e293b;
}

.news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-thumb {
    transform: scale(1.06);
}

.news-thumb-fallback {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--fac-hero-bg, linear-gradient(135deg, #064e3b 0%, #047857 50%, #065f46 100%));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.fallback-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.10;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 14px 14px;
    pointer-events: none;
}

.fallback-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.35s ease;
}

.news-card:hover .fallback-content {
    transform: scale(1.05);
}

.fallback-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    margin-bottom: 2px;
}

.fallback-title {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.fallback-sub {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.2;
}

.news-date-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.73rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.news-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-cat-pill {
    display: inline-block;
    background: var(--fac-bg-pill, rgba(5, 150, 105, 0.12));
    color: var(--fac-primary, #059669);
    border: 1px solid var(--fac-border-pill, rgba(5, 150, 105, 0.25));
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 9999px;
    margin-bottom: 10px;
    width: fit-content;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.45;
}

.news-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title a:hover {
    color: var(--fac-primary, #059669);
}

.news-excerpt {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fac-primary, #059669) !important;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.2s ease;
}

.news-read-more:hover {
    gap: 10px;
    color: var(--fac-primary-dark, #064e3b) !important;
}

/* --- DOCS & RESOURCES SECTION --- */
.docs-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.docs-col-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.docs-col-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.docs-col-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.docs-col-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.docs-col-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
}

.docs-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.docs-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    color: #1e293b !important;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.docs-item-link:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8 !important;
    transform: translateX(4px);
}

.docs-bullet-icon {
    color: #2563eb;
    display: flex;
    align-items: center;
}

/* --- CTA SECTION --- */
.ftk-cta-section {
    padding: 40px 0 80px;
}

.cta-banner-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0f172a 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 9999px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #1e3a8a !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.btn-cta-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 26px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* =======================================================
   HERO SECTION & VISUAL REFINEMENTS (DESKTOP & MOBILE)
   ======================================================= */

/* Hero Section Base (Desktop) */
.ftk-hero-section {
    position: relative !important;
    overflow: hidden !important;
    background-color: #0b1528 !important;
    background-image:
        linear-gradient(135deg, rgba(9, 18, 38, 0.92) 0%, rgba(19, 39, 88, 0.88) 50%, rgba(13, 26, 56, 0.94) 100%),
        url('https://an-nur.ac.id/wp-content/themes/annur-v3/hero-campus-bg.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    padding: 55px 0 65px !important;
    color: #ffffff !important;
}

.ftk-hero-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.95fr !important;
    gap: 40px !important;
    align-items: center !important;
}

.ftk-hero-title {
    font-size: 2.35rem !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.025em !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
}

.ftk-hero-subtitle {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    color: #cbd5e1 !important;
    margin-bottom: 24px !important;
    max-width: 95% !important;
}

.ftk-hero-actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-bottom: 0 !important;
}

/* Image Showcase Card on Right Column of Hero */
.ftk-hero-image-card {
    position: relative !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    background: #0f172a !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    max-height: 330px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.ftk-hero-image-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 25px 55px -12px rgba(37, 99, 235, 0.35) !important;
}

.ftk-hero-image-card .hero-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 17px !important;
    transition: transform 0.4s ease !important;
}

.ftk-hero-image-card:hover .hero-card-img {
    transform: scale(1.03) !important;
}

/* Interactive Photo Carousel Slider */
.ftk-hero-slider {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    max-height: 335px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 22px 50px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    background: #0b1528 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    outline: none !important;
}

.ftk-hero-slider:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 28px 60px -15px rgba(37, 99, 235, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.25) !important;
}

.ftk-slider-track {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.ftk-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s !important;
    transform: scale(1.03) !important;
    z-index: 1 !important;
}

.ftk-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    z-index: 2 !important;
}

.ftk-slide-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.ftk-slide-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(11, 21, 40, 0.08) 0%, rgba(11, 21, 40, 0.38) 48%, rgba(7, 15, 30, 0.92) 100%) !important;
    pointer-events: none !important;
}

.ftk-slide-caption {
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    bottom: 26px !important;
    z-index: 4 !important;
    pointer-events: none !important;
    transform: translateY(6px) !important;
    opacity: 0 !important;
    transition: transform 0.5s ease 0.15s, opacity 0.5s ease 0.15s !important;
}

.ftk-slide.is-active .ftk-slide-caption {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.ftk-slide-tag {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(16, 185, 129, 0.25) !important;
    border: 1px solid rgba(52, 211, 153, 0.55) !important;
    color: #6ee7b7 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    margin-bottom: 7px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.ftk-slide-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.ftk-slider-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    opacity: 0.8 !important;
}

.ftk-hero-slider:hover .ftk-slider-nav {
    opacity: 1 !important;
}

.ftk-slider-nav:hover {
    background: rgba(37, 99, 235, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5) !important;
}

.ftk-slider-nav:active {
    transform: translateY(-50%) scale(0.95) !important;
}

.ftk-nav-prev {
    left: 12px !important;
}

.ftk-nav-next {
    right: 12px !important;
}

.ftk-slider-footer {
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    bottom: 9px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    pointer-events: none !important;
}

.ftk-slider-dots {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    pointer-events: auto !important;
}

.ftk-slider-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.38) !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
}

.ftk-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8) !important;
}

.ftk-slider-dot.is-active {
    width: 24px !important;
    background: linear-gradient(90deg, #38bdf8, #3b82f6) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.75) !important;
}

.ftk-slider-counter {
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 2px 9px !important;
    border-radius: 12px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
    letter-spacing: 0.05em !important;
    pointer-events: auto !important;
}

.ftk-slider-counter .ftk-curr-num {
    color: #38bdf8 !important;
    font-weight: 700 !important;
}

.ftk-slider-counter .ftk-sep {
    opacity: 0.5 !important;
    margin: 0 3px !important;
}

.ftk-slider-progress {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    z-index: 12 !important;
    overflow: hidden !important;
}

.ftk-slider-progress-bar {
    height: 100% !important;
    width: 0% !important;
    background: linear-gradient(90deg, #38bdf8, #10b981) !important;
}

/* Quick Access Section */
.ftk-quick-access-section {
    position: relative !important;
    z-index: 10 !important;
    margin-top: -30px !important;
    margin-bottom: 45px !important;
}

.quick-access-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}

.qa-card {
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.07) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.qa-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 30px -6px rgba(37, 99, 235, 0.14) !important;
    border-color: #93c5fd !important;
}

/* CTA Card Background Enhancement */
.cta-banner-card {
    background-image:
        linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(30, 64, 175, 0.88) 50%, rgba(15, 23, 42, 0.94) 100%),
        url('https://an-nur.ac.id/wp-content/themes/annur-v3/hero-campus-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

/* =======================================================
   RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ======================================================= */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
    .ftk-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center !important;
    }

    .ftk-hero-actions {
        justify-content: center !important;
    }

    .ftk-hero-image-card {
        max-width: 560px !important;
        margin: 0 auto !important;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .news-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

/* Anchor smooth scroll & header offset */
html {
    scroll-padding-top: 75px !important;
    scroll-behavior: smooth !important;
}

section[id],
#program-studi,
#dokumen-layanan {
    scroll-margin-top: 75px !important;
}

/* Mobile (<= 768px) - Dari Atas Sampai Bawah Rapi & Proporsional */
@media (max-width: 768px) {
    /* 1. Header & Navigation */
    .brand-univ-name,
    .hidden-mobile,
    .search-container,
    .nav-cta-btn {
        display: none !important;
    }

    .nav-wrapper,
    body.home .nav-wrapper,
    body:not(.home) .nav-wrapper {
        padding: 0 !important;
        background-color: var(--fac-primary-dark, #0b1528) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 99999 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    }

    .nav-wrapper .container {
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 58px !important;
        min-height: 58px !important;
        max-height: 58px !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 10px !important;
    }

    .nav-left {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 46px) !important;
        margin-right: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .logo-brand-link {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        text-decoration: none !important;
    }

    .annur-logo {
        width: 36px !important;
        height: auto !important;
        max-height: 36px !important;
        flex-shrink: 0 !important;
        object-fit: contain !important;
    }

    .brand-title-wrap {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .brand-faculty-name {
        font-size: 0.94rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        letter-spacing: -0.01em !important;
    }

    .nav-right {
        flex: 0 0 auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 38px !important;
        height: 38px !important;
        padding: 8px 6px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .menu-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        transition: 0.3s ease !important;
    }

    /* 2. Hero Section */
    .ftk-hero-section {
        padding: 32px 0 35px !important;
        text-align: center !important;
    }

    .ftk-badge-pill {
        margin: 0 auto 12px !important;
        font-size: 0.78rem !important;
        padding: 5px 12px !important;
    }

    .ftk-hero-title {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .ftk-hero-subtitle {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin: 0 auto 18px !important;
    }

    .ftk-hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .btn-ftk-primary,
    .btn-ftk-secondary {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 18px !important;
        font-size: 0.92rem !important;
    }

    .ftk-hero-image-card,
    .ftk-hero-slider {
        width: 100% !important;
        aspect-ratio: 16 / 10 !important;
        max-height: 230px !important;
        border-radius: 14px !important;
        margin: 0 auto !important;
    }

    .ftk-slide-caption {
        left: 14px !important;
        right: 14px !important;
        bottom: 22px !important;
    }

    .ftk-slide-title {
        font-size: 0.88rem !important;
        line-height: 1.3 !important;
    }

    .ftk-slide-tag {
        font-size: 0.65rem !important;
        padding: 2px 7px !important;
        margin-bottom: 4px !important;
    }

    .ftk-slider-nav {
        width: 32px !important;
        height: 32px !important;
        opacity: 0.9 !important;
    }

    .ftk-slider-nav svg {
        width: 16px !important;
        height: 16px !important;
    }

    .ftk-nav-prev { left: 8px !important; }
    .ftk-nav-next { right: 8px !important; }

    .ftk-slider-footer {
        left: 14px !important;
        right: 14px !important;
        bottom: 7px !important;
    }

    /* 3. Quick Access Bar */
    .ftk-quick-access-section {
        margin-top: 20px !important;
        margin-bottom: 30px !important;
    }

    .quick-access-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .qa-card {
        padding: 14px 16px !important;
        border-radius: 12px !important;
    }

    .qa-icon-wrap {
        width: 40px !important;
        height: 40px !important;
        border-radius: 8px !important;
    }

    .qa-icon-wrap svg {
        width: 20px !important;
        height: 20px !important;
    }

    .qa-title {
        font-size: 0.92rem !important;
    }

    .qa-desc {
        font-size: 0.78rem !important;
    }

    /* 4. Program Studi */
    .ftk-programs-section {
        padding: 40px 0 !important;
    }

    .programs-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .program-card {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }

    .prog-title {
        font-size: 1.1rem !important;
    }

    /* 5. Berita Terkini (Mobile-Friendly Compact Feed) */
    .ftk-news-section {
        padding: 30px 0 !important;
    }

    .section-header-row {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }

    .section-header-row .section-title {
        font-size: 1.35rem !important;
        margin-bottom: 0 !important;
    }

    .section-header-row .btn-view-all {
        font-size: 0.80rem !important;
        white-space: nowrap !important;
        gap: 4px !important;
    }

    .news-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .news-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 10px !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        border: 1px solid rgba(226, 232, 240, 0.9) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        min-height: 100px !important;
        box-sizing: border-box !important;
    }

    .news-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
    }

    .news-img-wrap {
        width: 95px !important;
        min-width: 95px !important;
        max-width: 95px !important;
        height: 95px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .news-thumb {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }

    .news-thumb-fallback {
        width: 100% !important;
        height: 100% !important;
        border-radius: 10px !important;
        padding: 6px !important;
    }

    .fallback-logo {
        width: 26px !important;
        height: 26px !important;
        margin-bottom: 2px !important;
    }

    .fallback-title {
        font-size: 0.62rem !important;
        line-height: 1.15 !important;
        letter-spacing: 0.02em !important;
    }

    .fallback-sub {
        display: none !important;
    }

    .news-date-badge {
        display: none !important;
    }

    .news-body {
        padding: 2px 0 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .news-meta-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 3px !important;
        gap: 6px !important;
    }

    .news-cat-pill {
        font-size: 0.68rem !important;
        font-weight: 700 !important;
        padding: 1px 7px !important;
        border-radius: 9999px !important;
        margin-bottom: 0 !important;
        line-height: 1.35 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 110px !important;
    }

    .news-date-inline-mobile {
        display: inline-block !important;
        font-size: 0.70rem !important;
        color: #64748b !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .news-title {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        margin: 0 0 4px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .news-title a {
        color: #0f172a !important;
    }

    .news-excerpt {
        display: none !important;
    }

    .news-read-more {
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin-top: auto !important;
        padding-top: 2px !important;
    }

    /* 6. Dokumen & Layanan */
    .ftk-docs-section {
        padding: 40px 0 !important;
    }

    .docs-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .docs-col-card {
        padding: 18px 16px !important;
        border-radius: 12px !important;
    }

    /* 7. CTA Banner */
    .ftk-cta-section {
        padding: 35px 0 50px !important;
    }

    .cta-banner-card {
        padding: 32px 18px !important;
        border-radius: 16px !important;
        text-align: center !important;
    }

    .cta-title {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    .cta-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .cta-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .btn-cta-white,
    .btn-cta-outline {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px !important;
        font-size: 0.92rem !important;
    }
}

/* ==========================================================================
   PROGRAM STUDI DEDICATED LAYOUT & COMPONENTS (18 PRODI UNIQUE EXPERIENCES)
   ========================================================================== */

.prodi-hero-section {
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: #ffffff;
    overflow: hidden;
}

.prodi-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
}

.prodi-info-strip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 16px;
    backdrop-filter: blur(10px);
}

.prodi-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.prodi-strip-faculty {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.prodi-strip-faculty:hover {
    color: #a7f3d0;
}

.prodi-strip-faculty svg {
    opacity: 0.7;
}

.prodi-strip-accred {
    color: #fde68a;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.prodi-strip-accred svg {
    color: #f59e0b;
    fill: rgba(245, 158, 11, 0.3);
}

.prodi-strip-degree {
    color: rgba(255, 255, 255, 0.7);
}

.prodi-strip-degree strong {
    color: #ffffff;
    font-weight: 700;
}

.prodi-strip-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    margin: 0 10px;
    line-height: 1;
    user-select: none;
}



.prodi-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.prodi-hero-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: #a7f3d0;
    margin-bottom: 16px;
    line-height: 1.4;
}

.prodi-hero-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 900px;
}

.prodi-specs-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.prodi-spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.spec-val {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.spec-val.highlight-gold {
    color: #fde047;
}

.prodi-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.btn-prodi-fac-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-prodi-fac-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
}

/* 3. Sambutan & Visi Misi Section */
.prodi-profile-section {
    background: #ffffff;
}

.prodi-profile-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: start;
}

.kaprodi-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    position: relative;
}

.kaprodi-chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.kaprodi-quote-symbol {
    color: #cbd5e1;
    margin-bottom: 12px;
}

.kaprodi-quote-text {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
    margin: 0 0 24px;
}

.kaprodi-meta {
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.kaprodi-avatar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0d5c3a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kaprodi-avatar-photo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.kaprodi-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kaprodi-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px;
}

.kaprodi-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d5c3a;
}

.kaprodi-faculty {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}

.visi-misi-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visi-box, .misi-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.box-icon-title {
    gap: 12px;
    margin-bottom: 14px;
}

.card-mini-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visi-title, .misi-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.visi-desc {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

.visi-poster-action {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.btn-visi-poster {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-visi-poster:hover {
    background: #047857;
    color: #ffffff;
    border-color: #047857;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.2);
}

.misi-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.misi-item {
    gap: 12px;
    align-items: flex-start;
}

.misi-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0d5c3a;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.misi-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

/* 4. Kurikulum / Apa yang Dipelajari */
.study-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.study-topic-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.study-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.topic-header {
    margin-bottom: 14px;
}

.topic-index {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0d5c3a;
    letter-spacing: -0.02em;
}

.topic-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.study-topic-card:hover .topic-icon {
    transform: scale(1.08);
}

.topic-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.35;
}

.topic-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.curriculum-cta-box {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 24px 30px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.curriculum-cta-text {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 16px;
}

/* 5. Prospek Karir */
.career-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.career-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.career-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.career-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.career-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.career-card:hover .career-icon-box {
    transform: scale(1.08);
}

.career-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.career-role {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.35;
}

.career-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* 6. Dosen Pengajar */
.lecturers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.lecturer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.lecturer-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.lecturer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0d5c3a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.lecturer-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px;
    line-height: 1.35;
}

.lecturer-role {
    font-size: 0.78rem;
    color: #059669;
    font-weight: 600;
}

.note-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Rules for Prodi */
@media (max-width: 1024px) {
    .study-topics-grid,
    .career-cards-grid,
    .lecturers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prodi-specs-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .prodi-hero-section {
        padding: 95px 0 45px;
    }
    .prodi-hero-title {
        font-size: 1.85rem;
    }
    .prodi-hero-tagline {
        font-size: 1.05rem;
    }
    .prodi-specs-bar {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 14px;
    }
    .prodi-profile-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .study-topics-grid,
    .career-cards-grid,
    .lecturers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .prodi-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-ftk-primary,
    .btn-ftk-secondary,
    .btn-prodi-fac-outline {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   SLEEK PRE-FOOTER SPMB ACTION STRIP & UNIVERSITY MASTER FOOTER
   ========================================================================== */

/* --- SLEEK PRE-FOOTER ACTION STRIP --- */
.prodi-action-strip {
    background: linear-gradient(135deg, #091a33 0%, #0d254c 50%, #0a192f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 38px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.action-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.action-strip-left {
    max-width: 680px;
}

.action-strip-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    display: inline-block;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.action-strip-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.action-strip-desc {
    font-size: 0.90rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

.action-strip-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-action-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.btn-action-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-action-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

/* --- COMPREHENSIVE 4-COLUMN MASTER FOOTER --- */
.site-footer {
    background: #060e1d !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    padding: 38px 0 20px !important;
    font-size: 0.85rem;
    line-height: 1.5;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr 1fr 1.05fr !important;
    gap: 24px !important;
    margin-bottom: 24px !important;
    align-items: start;
}

/* Kolom 1: Brand & Kontak */
.footer-col-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.footer-brand-sub {
    font-size: 0.76rem;
    font-weight: 600;
    color: #38bdf8;
    line-height: 1.2;
    margin-top: 2px;
}

.footer-desc {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #94a3b8;
    margin: 0 0 14px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.81rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.footer-contact-item svg {
    color: #38bdf8;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: #38bdf8;
}

/* Kolom 2, 3, 4: Headings */
.footer-heading {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 14px;
    position: relative;
    padding-bottom: 7px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
}

/* Links Kolom */
.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-links li a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    line-height: 1.35;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links li a::before {
    content: '›';
    color: #38bdf8;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.footer-links li a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

.footer-links li a:hover::before {
    color: #ffffff;
}

/* Badges Akreditasi */
.footer-accred-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 10px;
}

.accred-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #7dd3fc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Footer Bottom */
.footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 16px !important;
    font-size: 0.8rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-links {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.footer-bottom-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff !important;
}

.footer-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 768px) {
    .action-strip-inner {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }
    .action-strip-badge {
        margin: 0 auto 8px !important;
    }
    .action-strip-title {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    .action-strip-desc {
        font-size: 0.86rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
    }
    .action-strip-right {
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .btn-action-primary,
    .btn-action-outline {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px !important;
        font-size: 0.92rem !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   DYNAMIC FACULTY & PRODI COLOR IDENTITY SYSTEM
   Each faculty & prodi gets its own authentic, distinctive colors & accents
   ========================================================================== */

/* 1. FTK (Fakultas Tarbiyah dan Keguruan) - Hijau Pendidikan / Emerald Green */
body.faculty-ftk {
    --fac-primary: #059669;
    --fac-primary-hover: #047857;
    --fac-primary-dark: #064e3b;
    --fac-primary-deep: #022c22;
    --fac-accent: #10b981;
    --fac-accent-light: #6ee7b7;
    --fac-accent-gold: #f59e0b;
    --fac-glow: rgba(16, 185, 129, 0.25);
    --fac-bg-pill: rgba(5, 150, 105, 0.15);
    --fac-border-pill: rgba(16, 185, 129, 0.35);
    --fac-hero-bg: linear-gradient(135deg, rgba(2, 44, 34, 0.95) 0%, rgba(6, 78, 59, 0.90) 50%, rgba(4, 120, 87, 0.94) 100%);
    --fac-btn-gradient: linear-gradient(135deg, #059669 0%, #047857 100%);
    --fac-btn-shadow: 0 4px 16px rgba(5, 150, 105, 0.4);
}

/* 2. FEBI (Fakultas Ekonomi & Bisnis Islam) - Teal Maritim & Gold Kemakmuran */
body.faculty-febi {
    --fac-primary: #0d9488;
    --fac-primary-hover: #0f766e;
    --fac-primary-dark: #115e59;
    --fac-primary-deep: #042f2e;
    --fac-accent: #14b8a6;
    --fac-accent-light: #5eead4;
    --fac-accent-gold: #f59e0b;
    --fac-glow: rgba(20, 184, 166, 0.25);
    --fac-bg-pill: rgba(13, 148, 136, 0.15);
    --fac-border-pill: rgba(20, 184, 166, 0.35);
    --fac-hero-bg: linear-gradient(135deg, rgba(4, 47, 46, 0.95) 0%, rgba(17, 94, 89, 0.90) 50%, rgba(13, 148, 136, 0.94) 100%);
    --fac-btn-gradient: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    --fac-btn-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
}

/* 3. FS (Fakultas Syariah) - Merah Marun & Ruby Hukum / Sharia Crimson */
body.faculty-fs {
    --fac-primary: #b91c1c;
    --fac-primary-hover: #991b1b;
    --fac-primary-dark: #7f1d1d;
    --fac-primary-deep: #450a0a;
    --fac-accent: #ef4444;
    --fac-accent-light: #fca5a5;
    --fac-accent-gold: #fbbf24;
    --fac-glow: rgba(239, 68, 68, 0.25);
    --fac-bg-pill: rgba(185, 28, 28, 0.15);
    --fac-border-pill: rgba(239, 68, 68, 0.35);
    --fac-hero-bg: linear-gradient(135deg, rgba(69, 10, 10, 0.95) 0%, rgba(127, 29, 29, 0.90) 50%, rgba(185, 28, 28, 0.94) 100%);
    --fac-btn-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --fac-btn-shadow: 0 4px 16px rgba(185, 28, 28, 0.4);
}

/* 4. PASCASARJANA (Program Pascasarjana S2 & S3) - Ungu Kerajaan & Indigo */
body.faculty-pasca {
    --fac-primary: #7c3aed;
    --fac-primary-hover: #6d28d9;
    --fac-primary-dark: #5b21b6;
    --fac-primary-deep: #2e1065;
    --fac-accent: #8b5cf6;
    --fac-accent-light: #c4b5fd;
    --fac-accent-gold: #f59e0b;
    --fac-glow: rgba(139, 92, 246, 0.25);
    --fac-bg-pill: rgba(124, 58, 237, 0.15);
    --fac-border-pill: rgba(139, 92, 246, 0.35);
    --fac-hero-bg: linear-gradient(135deg, rgba(46, 16, 101, 0.95) 0%, rgba(91, 33, 182, 0.90) 50%, rgba(124, 58, 237, 0.94) 100%);
    --fac-btn-gradient: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    --fac-btn-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

/* --- Global Theme Integration --- */
body[class*="faculty-"] .nav-wrapper,
body[class*="faculty-"].home .nav-wrapper {
    background-color: var(--fac-primary-dark) !important;
    border-bottom: 2px solid var(--fac-accent) !important;
}

body[class*="faculty-"] .nav-wrapper.scrolled {
    background-color: var(--fac-primary-deep) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

body[class*="faculty-"] .nav-cta-btn {
    background: var(--fac-btn-gradient) !important;
    box-shadow: var(--fac-btn-shadow) !important;
    border: 1px solid var(--fac-accent) !important;
}

body[class*="faculty-"] .nav-links > li > a:hover {
    color: var(--fac-accent-light) !important;
}

body[class*="faculty-"] .nav-links .sub-menu li a {
    color: #1e293b !important;
}

body[class*="faculty-"] .nav-links .sub-menu li a:hover {
    background: var(--fac-bg-pill) !important;
    color: var(--fac-primary) !important;
}

body[class*="faculty-"] .nav-links .sub-menu li a:hover::before {
    background: var(--fac-primary) !important;
}

body[class*="faculty-"] .mobile-menu-header {
    background: var(--fac-primary-dark) !important;
    border-bottom: 1px solid var(--fac-accent) !important;
}

body[class*="faculty-"] .mobile-nav-list a:hover {
    color: var(--fac-accent) !important;
    background: var(--fac-bg-pill) !important;
}

body[class*="faculty-"] .mobile-menu-search button {
    background: var(--fac-primary) !important;
}

/* Faculty Hero Section Integration */
body[class*="faculty-"] .ftk-hero-section {
    background-image: var(--fac-hero-bg), url('https://an-nur.ac.id/wp-content/themes/annur-v3/hero-campus-bg.jpg') !important;
}

body[class*="faculty-"] .ftk-hero-glow-1 {
    background: radial-gradient(circle, var(--fac-glow) 0%, transparent 70%) !important;
}

body[class*="faculty-"] .ftk-badge-pill,
body[class*="faculty-"] .prodi-badge-faculty {
    background: var(--fac-bg-pill) !important;
    border: 1px solid var(--fac-border-pill) !important;
    color: var(--fac-accent-light) !important;
}

body[class*="faculty-"] .btn-ftk-primary,
body[class*="faculty-"] .btn-action-primary {
    background: var(--fac-btn-gradient) !important;
    box-shadow: var(--fac-btn-shadow) !important;
    border: none !important;
    color: #ffffff !important;
}

body[class*="faculty-"] .btn-ftk-primary:hover,
body[class*="faculty-"] .btn-action-primary:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-2px) !important;
}

body[class*="faculty-"] .btn-ftk-secondary,
body[class*="faculty-"] .btn-action-outline {
    border-color: var(--fac-accent) !important;
    color: var(--fac-accent-light) !important;
}

body[class*="faculty-"] .btn-ftk-secondary:hover,
body[class*="faculty-"] .btn-action-outline:hover {
    background: var(--fac-primary) !important;
    color: #ffffff !important;
}

body[class*="faculty-"] .hero-floating-badge.bottom-right {
    background: var(--fac-primary-dark) !important;
    border-color: var(--fac-accent) !important;
}

/* Prodi Hero Section Integration */
body[class*="faculty-"] .prodi-hero-section {
    background: var(--fac-hero-bg) !important;
}

body[class*="faculty-"] .prodi-hero-tagline {
    color: var(--fac-accent-light) !important;
}

body[class*="faculty-"] .prodi-specs-bar {
    border-top: 3px solid var(--fac-accent) !important;
    background: rgba(0, 0, 0, 0.28) !important;
}

body[class*="faculty-"] .highlight-gold {
    color: var(--fac-accent-gold) !important;
}

/* Accents in Sections */
body[class*="faculty-"] .section-badge {
    background: var(--fac-bg-pill) !important;
    border: 1px solid var(--fac-border-pill) !important;
    color: var(--fac-primary) !important;
}

body[class*="faculty-"] .kaprodi-avatar-icon {
    background: var(--fac-primary) !important;
    color: #ffffff !important;
}

body[class*="faculty-"] .misi-num {
    background: var(--fac-primary) !important;
    color: #ffffff !important;
}

body[class*="faculty-"] .topic-index {
    color: var(--fac-primary) !important;
}

body[class*="faculty-"] .card-mini-icon,
body[class*="faculty-"] .topic-icon,
body[class*="faculty-"] .career-check-icon {
    background: var(--fac-bg-pill) !important;
    color: var(--fac-primary) !important;
}

body[class*="faculty-"] .kaprodi-role,
body[class*="faculty-"] .lecturer-role {
    color: var(--fac-primary) !important;
}

body[class*="faculty-"] .qa-card:hover,
body[class*="faculty-"] .study-topic-card:hover,
body[class*="faculty-"] .career-card:hover,
body[class*="faculty-"] .program-card:hover {
    border-color: var(--fac-accent) !important;
    box-shadow: 0 10px 24px var(--fac-glow) !important;
}

body[class*="faculty-"] .prodi-action-strip {
    background: linear-gradient(135deg, var(--fac-primary-deep) 0%, var(--fac-primary-dark) 50%, var(--fac-primary-deep) 100%) !important;
    border-top: 2px solid var(--fac-accent) !important;
}

body[class*="faculty-"] .action-strip-badge {
    background: var(--fac-bg-pill) !important;
    border-color: var(--fac-border-pill) !important;
    color: var(--fac-accent-light) !important;
}

body[class*="faculty-"] .site-footer {
    border-top: 3px solid var(--fac-primary) !important;
}

body[class*="faculty-"] .footer-heading::after {
    background: var(--fac-accent) !important;
}

body[class*="faculty-"] .footer-links li a::before {
    color: var(--fac-accent-light) !important;
}

/* News & Card Faculty Integration */
body[class*="faculty-"] .news-cat-pill {
    background: var(--fac-bg-pill) !important;
    color: var(--fac-primary) !important;
    border-color: var(--fac-border-pill) !important;
}

body[class*="faculty-"] .news-title a:hover {
    color: var(--fac-primary) !important;
}

body[class*="faculty-"] .news-read-more,
body[class*="faculty-"] .btn-view-all {
    color: var(--fac-primary) !important;
}

body[class*="faculty-"] .news-thumb-fallback {
    background: var(--fac-hero-bg) !important;
}

body[class*="faculty-"] .news-card:hover {
    border-color: var(--fac-accent) !important;
    box-shadow: 0 14px 30px var(--fac-glow) !important;
}

/* ==========================================================================
   ENHANCED MOBILE FRIENDLINESS (FACULTY & PRODI)
   ========================================================================== */
@media (max-width: 768px) {
    /* Prodi Hero Section */
    .prodi-hero-section {
        padding: 30px 0 35px !important;
        text-align: center !important;
    }


    .prodi-info-strip {
        justify-content: center;
        padding: 7px 12px !important;
        margin-bottom: 14px !important;
        flex-wrap: wrap;
        gap: 2px;
    }

    .prodi-strip-item {
        font-size: 0.75rem !important;
    }

    .prodi-strip-sep {
        margin: 0 6px !important;
    }


    .prodi-hero-title {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .prodi-hero-tagline {
        font-size: 0.94rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    .prodi-hero-desc {
        font-size: 0.86rem !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }

    .prodi-specs-bar {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 10px !important;
        border-radius: 12px !important;
        margin-bottom: 20px !important;
    }

    .prodi-spec-item {
        padding: 8px 6px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
        text-align: center !important;
    }

    .spec-label {
        font-size: 0.68rem !important;
        margin-bottom: 2px !important;
        display: block !important;
        opacity: 0.85 !important;
    }

    .spec-val {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
    }

    .prodi-hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .btn-ftk-primary,
    .btn-ftk-secondary,
    .btn-prodi-fac-outline {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 18px !important;
        font-size: 0.92rem !important;
        border-radius: 10px !important;
    }

    /* Prodi Profile & Visi Misi */
    .prodi-profile-section {
        padding: 35px 0 !important;
    }

    .prodi-profile-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .kaprodi-card,
    .visi-box,
    .misi-box {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    .kaprodi-quote-text {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin: 0 0 16px !important;
    }

    .kaprodi-meta {
        gap: 12px !important;
        padding-top: 14px !important;
    }

    .kaprodi-name {
        font-size: 0.95rem !important;
    }

    .visi-title,
    .misi-title {
        font-size: 1.05rem !important;
    }

    .visi-desc,
    .misi-text {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }

    /* Curriculum, Careers & Lecturers */
    .prodi-curriculum-section,
    .prodi-careers-section,
    .prodi-lecturers-section {
        padding: 35px 0 !important;
    }

    .study-topics-grid,
    .career-cards-grid,
    .lecturers-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 20px !important;
    }

    .study-topic-card,
    .career-card {
        padding: 18px 16px !important;
        border-radius: 12px !important;
    }

    .topic-title,
    .career-role {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .topic-desc,
    .career-desc {
        font-size: 0.85rem !important;
        line-height: 1.55 !important;
    }

    .lecturer-card {
        padding: 12px 14px !important;
        border-radius: 12px !important;
        gap: 12px !important;
    }

    .lecturer-avatar {
        width: 38px !important;
        height: 38px !important;
    }

    .lecturer-name {
        font-size: 0.88rem !important;
    }

    .lecturer-role {
        font-size: 0.75rem !important;
    }
}

/* ==========================================================================
   NATIVE DROPCAP & BACKWARD COMPATIBILITY (SEMUA PRODI & FAKULTAS)
   ========================================================================== */
.annur-dropcap,
.otw-sc-dropcap {
    background-color: #0b3b24;
    border-radius: 50%;
    color: #ffffff !important;
    display: inline-block;
    float: left;
    font-size: 15px;
    font-weight: 700;
    height: 32px;
    width: 32px;
    line-height: 32px;
    margin: 2px 10px 0 0;
    padding: 0;
    text-align: center;
}


