:root {
    --gold-50: #FFF9E6;
    --gold-100: #FFF3CD;
    --gold-200: #FFE69C;
    --gold-300: #F5C518;
    --gold-400: #D4A017;
    --gold-500: #B8860B;
    --gold-600: #8B6914;
    --gold-700: #5C4510;

    --dark-900: #0D0D0D;
    --dark-800: #1A1A1A;
    --dark-700: #2D2D2D;
    --dark-600: #3D3D3D;
    --dark-500: #555555;
    --dark-400: #6C757D;

    --neutral-50: #FAFAF8;
    --neutral-100: #F5F5F0;
    --neutral-200: #E9E9E3;
    --neutral-300: #D4D4CC;

    --green-600: #1B5E20;
    --green-500: #2E7D32;
    --blue-50: #EEF4FF;
    --blue-100: #DBEAFE;
    --blue-200: #BFDBFE;
    --blue-300: #93C5FD;
    --blue-400: #60A5FA;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;
    --blue-800: #1E40AF;
    --red-500: #E53935;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-accent: 'DM Serif Display', serif;

    --container: 1200px;
    --header-h: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-800);
    background: var(--neutral-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== TOPBAR ===================== */
.topbar {
    background: var(--blue-800);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    padding: 6px 0;
    letter-spacing: 0.02em;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.topbar a:hover {
    color: var(--gold-300);
}

.topbar-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.topbar-links svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ===================== HEADER ===================== */
.header {
    background: #fff;
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--gold-400), var(--blue-500));
}

.header .container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo img {
    height: 54px;
    width: auto;
}

.logo-text {
    line-height: 1.2;
}

.logo-text .faculty {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-800);
    letter-spacing: -0.01em;
}

.logo-text .university {
    font-size: 11px;
    color: var(--dark-400);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ===================== NAV ===================== */
.nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dark-600);
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark-800);
    background: var(--blue-50);
}

.nav-link.active {
    color: var(--blue-500);
}

.nav-link svg {
    width: 12px;
    height: 12px;
    opacity: 0.5;
    transition: transform 0.2s;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid var(--neutral-200);
    border-radius: 10px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 9;
}

.dropdown a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-600);
    border-radius: 6px;
    transition: all 0.15s;
}

.dropdown a:hover {
    background: var(--blue-50);
    color: var(--blue-600);
    padding-left: 18px;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark-800);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===================== HERO ===================== */
* { box-sizing: border-box; }
  body { margin: 0; }

  @keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.15); } }

  /* ============ HERO ============ */
  .if-hero {
    position: relative;
    width: 100%;
    height: 660px;
    min-height: 520px;
    overflow: hidden;
    background: #0B1220;
    font-family: 'Plus Jakarta Sans', sans-serif;
    isolation: isolate;
  }

  .if-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.9s ease;
    pointer-events: none;
  }
  .if-hero__slide.is-active { opacity: 1; z-index: 2; pointer-events: auto; }

  .if-hero__bg { position: absolute; inset: 0; overflow: hidden; background: #0B1220; }
  .if-hero__bg img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform-origin: 62% 42%;
    transform: scale(1.04);
  }
  .if-hero__slide.is-active .if-hero__bg img {
    animation: heroZoom var(--zoom-ms, 8600ms) ease-out forwards;
  }

  /* scrims */
  .if-hero__scrim-a { position: absolute; inset: 0; background: linear-gradient(96deg, rgba(8,14,28,0.94) 0%, rgba(8,14,28,0.80) 26%, rgba(8,14,28,0.42) 54%, rgba(8,14,28,0.12) 78%, rgba(8,14,28,0.04) 100%); }
  .if-hero__scrim-b { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,14,28,0.78) 0%, rgba(8,14,28,0.18) 26%, transparent 46%); }
  .if-hero__scrim-c { position: absolute; inset: 0; background: radial-gradient(120% 90% at 88% 18%, rgba(37,99,235,0.16) 0%, transparent 55%); }

  /* content */
  .if-hero__content { position: absolute; inset: 0; display: flex; align-items: center; }
  .if-hero__wrap { max-width: 1200px; width: 100%; margin: 0 auto; padding: 96px clamp(24px,5vw,24px) 156px; }
  .if-hero__copy {
    max-width: 610px;
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    will-change: transform, opacity;
  }
  .if-hero__slide.is-active .if-hero__copy {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.7s ease 0.12s, transform 0.8s cubic-bezier(.2,.7,.2,1) 0.12s;
  }

  .if-hero__kicker {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 15px 7px 13px;
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    margin-bottom: 22px;
  }
  .if-hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #F5C518; box-shadow: 0 0 10px rgba(245,197,24,0.9); }
  .if-hero__kicker .label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.92); white-space: nowrap; }

  .if-hero__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: clamp(40px,5.4vw,64px);
    line-height: 1.04; letter-spacing: -0.025em; color: #fff;
    margin: 0 0 20px; text-wrap: balance;
  }
  .if-hero__title em {
    font-family: 'DM Serif Display', serif; font-weight: 400; font-style: italic;
    letter-spacing: 0; color: #F5C518;
  }

  .if-hero__desc { font-size: clamp(15px,1.5vw,17.5px); line-height: 1.7; color: rgba(255,255,255,0.80); max-width: 540px; margin: 0 0 32px; }

  .if-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
  .if-hero__btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 14px 26px; border-radius: 11px;
    font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap;
    transition: all 0.2s ease;
  }
  .if-hero__btn--primary { background: #F5C518; color: #0B1220; box-shadow: 0 10px 26px rgba(245,197,24,0.26); }
  .if-hero__btn--primary:hover { background: #FFD83A; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245,197,24,0.42); }
  .if-hero__btn--ghost { padding: 14px 24px; border: 1.5px solid rgba(255,255,255,0.34); background: rgba(255,255,255,0.04); color: #fff; font-weight: 600; }
  .if-hero__btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.13); }

  /* ============ TOP accreditation pill ============ */
  .if-hero__top { position: absolute; top: 0; left: 0; right: 0; z-index: 6; pointer-events: none; }
  .if-hero__top-inner { max-width: 1200px; margin: 0 auto; padding: clamp(22px,4vh,34px) clamp(24px,5vw,24px) 0; display: flex; justify-content: flex-end; }
  .if-hero__accr {
    display: inline-flex; align-items: center; gap: 11px;
    padding: 9px 16px; border-radius: 999px;
    border: 1px solid rgba(245,197,24,0.40); background: rgba(11,18,32,0.50);
    backdrop-filter: blur(12px); white-space: nowrap; pointer-events: auto;
  }
  .if-hero__accr .diamond { width: 8px; height: 8px; transform: rotate(45deg); background: #F5C518; box-shadow: 0 0 9px rgba(245,197,24,0.8); }
  .if-hero__accr .main { font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #fff; }
  .if-hero__accr .sep { width: 1px; height: 13px; background: rgba(255,255,255,0.25); }
  .if-hero__accr .sub { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.62); }

  /* ============ BOTTOM control bar ============ */
  .if-hero__bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; }
  .if-hero__bottom-inner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(24px,5vw,24px) clamp(26px,4.2vh,42px); display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }

  .if-hero__tabs { display: flex; gap: 16px; flex: 1; max-width: 580px; }
  .if-hero__tab {
    flex: 1; min-width: 0; background: none; border: none; padding: 0; margin: 0;
    cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 11px;
    font-family: 'Plus Jakarta Sans', sans-serif;
  }
  .if-hero__tab-head { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; overflow: hidden; }
  .if-hero__tab-num { font-weight: 800; font-size: 15px; color: rgba(255,255,255,0.5); transition: color 0.3s ease; }
  .if-hero__tab-label { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.55); transition: color 0.3s ease; overflow: hidden; text-overflow: ellipsis; }
  .if-hero__tab.is-active .if-hero__tab-num { color: #F5C518; }
  .if-hero__tab.is-active .if-hero__tab-label { color: #fff; }
  .if-hero__track { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.18); overflow: hidden; }
  .if-hero__fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg,#2563EB,#F5C518); border-radius: 3px; }

  .if-hero__nav { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .if-hero__round {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px); color: #fff;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease;
  }
  .if-hero__round:hover { background: rgba(255,255,255,0.20); border-color: #fff; }
  .if-hero__round--play:hover { background: rgba(245,197,24,0.92); border-color: #F5C518; color: #0B1220; }

  @media (max-width: 720px) {
    .if-hero__tabs { display: none; }
    .if-hero__bottom-inner { justify-content: flex-end; }
  }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gold-400);
    color: var(--dark-900);
}

.btn-primary:hover {
    background: var(--gold-300);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-blue {
    background: transparent;
    color: var(--blue-600);
    border: 1.5px solid var(--blue-300);
}

.btn-outline-blue:hover {
    border-color: var(--blue-600);
    background: var(--blue-50);
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* Hero indicators */
.hero-indicators {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: var(--blue-300);
    width: 32px;
    border-radius: 5px;
}

/* ===================== LINEA ICON OVERRIDES ===================== */

/* Base reset — Linea sets font-style:normal via ::before, so just ensure inline display */
[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-style: normal;
}


/* Button arrows */
.btn [class^="icon-"] {
    font-size: 14px;
    margin-left: 6px;
}

/* "Lihat Semua" & "Lihat Semua Berita" links */
.view-all [class^="icon-"],
.btn-outline-blue [class^="icon-"] {
    font-size: 13px;
    margin-left: 5px;
}

/* Link card arrows */
.link-card-arrow [class^="icon-"] {
    font-size: 12px;
    margin-left: 4px;
}

/* News category tag */
.news-cat [class^="icon-"] {
    font-size: 12px;
    margin-right: 4px;
}

/* News meta clock */
.news-meta [class^="icon-"] {
    font-size: 12px;
    margin-right: 4px;
}

/* About highlight icons */
.highlight-icon [class^="icon-"] {
    font-size: 24px;
}

/* Quick link card icons */
.link-card-icon [class^="icon-"] {
    font-size: 32px;
}

/* Footer contact icons */
.footer-contact-item [class^="icon-"] {
    font-size: 15px;
    margin-right: 8px;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Scroll-to-top button */
.scroll-top [class^="icon-"] {
    font-size: 20px;
}

/* ===================== SECTION COMMON ===================== */
.section {
    padding: 72px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--dark-800);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title-accent {
    color: var(--gold-400);
}

.section-title-accent-blue {
    color: var(--blue-500);
}

.section-subtitle {
    color: var(--dark-400);
    font-size: 15px;
    margin-top: 10px;
    max-width: 540px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-500);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.view-all:hover {
    gap: 10px;
    color: var(--blue-600);
}

.view-all svg {
    width: 14px;
    height: 14px;
}

#pengumuman .view-all {
    color: var(--gold-500);
}

#pengumuman .view-all:hover {
    color: var(--gold-600);
}

/* ===================== NEWS ===================== */
.section-news {
    background: #fff;
}

/* Pengumuman: soft gold band to set it apart from Berita */
.section-news.section-pengumuman {
    background: linear-gradient(180deg, var(--gold-50) 0%, #FFFDF5 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.news-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    background: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.1);
    border-color: var(--blue-200);
}

.news-card-img {
    height: 200px;
    background: var(--neutral-200);
    overflow: hidden;
    position: relative;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

/* Announcement card without a featured image */
.news-card--no-img {
    border-top: 4px solid var(--blue-500);
}

.news-card--no-img .news-card-body {
    padding-top: 24px;
}

/* Pengumuman cards use a gold accent line */
#pengumuman .news-card--no-img {
    border-top-color: var(--gold-400);
}

#pengumuman .news-card:hover {
    border-color: var(--gold-200);
    box-shadow: 0 12px 32px rgba(212, 160, 23, 0.12);
}

#pengumuman .news-card--no-img:hover {
    border-top-color: var(--gold-400);
}

#pengumuman .news-card:hover .news-card-title {
    color: var(--gold-600);
}

#pengumuman .news-cat {
    color: var(--gold-600);
    background: var(--gold-50);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--neutral-300);
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
}

.news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.news-cat svg {
    width: 12px;
    height: 12px;
}

.news-cat.cat-gold {
    color: var(--gold-600);
    background: var(--gold-50);
}

.news-cat.cat-green {
    color: var(--green-600);
    background: #E8F5E9;
}

.news-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-800);
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-card:hover .news-card-title {
    color: var(--blue-600);
}

.news-excerpt {
    font-size: 13.5px;
    color: var(--dark-400);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--dark-400);
    margin-top: auto;
}

.news-meta svg {
    width: 13px;
    height: 13px;
    opacity: 0.5;
}

/* ===================== PAGINATION ===================== */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

.pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-numbers li {
    display: flex;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--dark-600);
    background: #fff;
    border: 1px solid var(--neutral-200);
    transition: all 0.2s;
}

.pagination .page-numbers a:hover {
    border-color: var(--blue-300);
    background: var(--blue-50);
    color: var(--blue-600);
}

.pagination .page-numbers .current {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.pagination .page-numbers .dots {
    border-color: transparent;
    background: transparent;
    color: var(--dark-400);
}

.pagination .page-numbers .prev,
.pagination .page-numbers .next {
    border-radius: 50%;
    padding: 0;
    color: var(--dark-600);
}

.pagination .page-numbers .prev svg,
.pagination .page-numbers .next svg {
    width: 14px;
    height: 14px;
}

.pagination .page-numbers .prev:hover,
.pagination .page-numbers .next:hover {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #fff;
}

@media (max-width: 480px) {
    .pagination .page-numbers a,
    .pagination .page-numbers span {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* ===================== STATS ===================== */
.section-stats {
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--blue-800) 100%);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.section-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: var(--gold-300);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.stat-divider {
    width: 32px;
    height: 2px;
    background: var(--gold-400);
    margin: 10px auto 0;
    opacity: 0.5;
}

/* ===================== ABOUT QUICK ===================== */
.section-about {
    background: var(--neutral-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-img {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--dark-900);
    position: relative;
}

.about-video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.about-text .section-label {
    margin-bottom: 6px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-800);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-text p {
    font-size: 14.5px;
    color: var(--dark-500);
    line-height: 1.75;
    margin-bottom: 12px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-600);
}

.highlight-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.highlight-icon.gold {
    background: var(--gold-50);
    color: var(--gold-500);
}

.highlight-icon.green {
    background: #E8F5E9;
    color: var(--green-500);
}

.highlight-icon.blue {
    background: #E3F2FD;
    color: var(--blue-500);
}

.highlight-icon.red {
    background: #FFEBEE;
    color: var(--red-500);
}

/* ===================== QUICK LINKS ===================== */
.section-links {
    background: #fff;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.link-card {
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid var(--neutral-200);
    background: var(--neutral-50);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card:hover {
    border-color: var(--blue-300);
    background: var(--blue-50);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
}

.link-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--blue-50);
    color: var(--blue-600);
    transition: all 0.3s;
}

.link-card:hover .link-card-icon {
    background: var(--blue-500);
    color: #fff;
}

.link-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-800);
}

.link-card-desc {
    font-size: 13px;
    color: var(--dark-400);
    line-height: 1.5;
}

.link-card-arrow {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-500);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.link-card:hover .link-card-arrow {
    gap: 8px;
}

/* ===================== RESEARCH & PUBLICATION ===================== */
.section-research {
    background: #fff;
}

.research-journal-card {
    display: flex;
    gap: 48px;
    align-items: stretch;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
}

.research-journal-cover {
    position: relative;
    flex-shrink: 0;
    width: 260px;
}

.research-journal-cover img {
    width: 260px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.18);
    display: block;
}

.research-journal-cover.cover-placeholder {
    width: 180px;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 16px;
}

.cover-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gold-400);
    color: var(--dark-900);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.research-journal-info {
    flex: 1;
    min-width: 0;
}

.research-journal-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 8px;
}

.research-journal-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--dark-800);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.research-journal-desc {
    font-size: 14px;
    color: var(--dark-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.research-journal-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin-bottom: 28px;
}

.journal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.journal-meta-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--dark-400);
}

.journal-meta-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-700);
}

.sinta-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-300));
    color: var(--dark-900);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    width: fit-content;
}

.research-journal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 700px) {
    .research-journal-card {
        flex-direction: column;
        align-items: center;
        padding: 28px 20px;
        gap: 28px;
    }
    .research-journal-meta {
        grid-template-columns: 1fr 1fr;
    }
    .research-journal-title {
        font-size: 20px;
    }
}

/* ===================== AFFILIATIONS ===================== */
.section-affiliations {
    background: var(--neutral-100);
    padding: 48px 0;
}

.affiliations-header {
    text-align: center;
    margin-bottom: 32px;
}

.affiliations-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.affiliation-item {
    height: 64px;
    padding: 10px 24px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.affiliation-item img {
    height: 100%;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.2s, opacity 0.2s;
}

.affiliation-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================== CTA SECTION ===================== */
.section-cta {
    background: linear-gradient(135deg, var(--blue-800), var(--dark-900));
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.section-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--dark-900);
    color: rgba(255, 255, 255, 0.55);
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text .faculty {
    color: #fff;
    font-size: 16px;
}

.footer-brand .logo-text .university {
    color: rgba(255, 255, 255, 0.4);
}

.footer-about {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: var(--blue-300);
    opacity: 0.7;
}

.footer h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    padding: 5px 0;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: var(--blue-200);
    padding-left: 4px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer-socials a:hover {
    background: var(--blue-500);
}

.footer-socials svg {
    width: 14px;
    height: 14px;
    fill: rgba(255, 255, 255, 0.5);
}

.footer-socials a:hover svg {
    fill: #fff;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-d1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.fade-in-d2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.fade-in-d3 {
    animation-delay: 0.3s;
    opacity: 0;
}

.fade-in-d4 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .hero-image {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero {
        min-height: 500px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .if-hero__top-inner {
        justify-content: flex-start;
        padding: clamp(22px, 4vh, 34px) clamp(24px, 5vw, 24px) 0px;
    }

    .if-hero__kicker {
        display: none;
    }
    .hero-title {
        font-size: 26px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 32px;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .topbar {
        display: none;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .affiliations-track {
        gap: 16px;
    }

    /* Hero */
    .if-hero {
        height: 520px;
    }

    .if-hero__wrap {
        padding-top: 56px;
        padding-bottom: 80px;
    }

    /* CTA */
    .cta-title {
        font-size: 24px;
    }

    .section-cta {
        padding: 48px 0;
    }
}

@media (max-width: 480px) {
    /* Header: keep logo + toggle inside the container on small phones */
    .header .container {
        gap: 12px;
    }

    .logo img {
        height: 42px;
    }

    .logo-text .university {
        display: none;
    }

    .logo-text .faculty {
        font-size: 13px;
    }

    /* Hero */
    .if-hero {
        height: 460px;
    }

    /* Hide accreditation pill — too wide to fit on very small screens */
    .if-hero__accr {
        display: none;
    }

    /* Page hero */
    .page-hero-title {
        font-size: 22px;
    }

    /* Course table — enable horizontal scroll instead of overflowing */
    .course-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .if-hero__bottom-inner {
        justify-content: center;
    }
}

/* ===================== MOBILE NAV (ACTIVE) ===================== */
.nav.mobile-open {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: #fff;
    z-index: 99;
    padding: 16px;
    overflow-y: auto;
    border-top: 3px solid var(--blue-500);
}

.nav.mobile-open .nav-list {
    flex-direction: column;
    align-items: stretch;
}

.nav.mobile-open .nav-link {
    padding: 12px 16px;
    font-size: 15px;
}

.nav.mobile-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    background: var(--neutral-50);
    border-radius: 8px;
    margin-top: 4px;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--blue-500);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 50;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-2px);
    background: var(--blue-400);
}

.scroll-top svg {
    width: 18px;
    height: 18px;
}

/* ===================== UTILITIES ===================== */
.mb-0 {
    margin-bottom: 0 !important;
}

.mt-32 {
    margin-top: 32px !important;
}

.text-blue-500 {
    color: var(--blue-500) !important;
}

.text-center {
    text-align: center !important;
}

.text-md {
    font-size: 22px !important;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================== PAGE HERO ===================== */
.page-hero {
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--dark-900) 100%);
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(59,130,246,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.breadcrumb span {
    color: white;
}

.breadcrumb a {
    color: var(--gold-300);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb-sep {
    color: rgba(255,255,255,0.3);
    font-size: 10px;
}

.breadcrumb span:last-child {
    color: rgba(255,255,255,0.5);
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.15;
}

.page-hero-desc {
    font-size: 15px;
    color: var(--blue-200);
    max-width: 600px;
    line-height: 1.7;
}

/* ===================== DOSEN PAGE ===================== */
.dosen-section { background: var(--neutral-50, #f8fafc); }

/* Stats bar */
.dosen-stats {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid var(--blue-100);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 32px;
}

.dosen-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    border-right: 1px solid var(--blue-100);
    gap: 2px;
}

.dosen-stat-item:last-child { border-right: none; }

.dosen-stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--blue-600);
    line-height: 1;
}

.dosen-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--dark-400);
    text-align: center;
}

/* Controls */
.dosen-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.dosen-search-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.dosen-search-wrap [class^="icon-"] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--dark-400);
    pointer-events: none;
}

.dosen-search {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--blue-100);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body, inherit);
    background: #fff;
    color: var(--dark-800);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dosen-search:focus {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.dosen-search::placeholder { color: var(--dark-400); }

.dosen-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--blue-100);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    background: #fff;
    color: var(--dark-500);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--blue-400);
    color: var(--blue-600);
}

.filter-btn.active {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #fff;
}

/* Grid */
.dosen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
/* Card */
.dosen-card {
    background: #fff;
    border: 1px solid var(--blue-100);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.dosen-card:hover {
    box-shadow: 0 12px 40px rgba(30,64,175,0.13);
    transform: translateY(-3px);
}

/* Photo / avatar area */
.dosen-card-photo {
    height: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.9);
    overflow: hidden;
    flex-shrink: 0;
}

.dosen-card-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* gradient scrim so badge is always readable */
.dosen-card-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: linear-gradient(transparent, rgba(0,0,0,0.35));
    pointer-events: none;
}

.avatar-blue   { background: var(--blue-600); }
.avatar-gold   { background: var(--gold-500); }
.avatar-green  { background: #16a34a; }
.avatar-teal   { background: #0d9488; }
.avatar-purple { background: #7c3aed; }
.avatar-red    { background: #dc2626; }
.avatar-orange { background: #ea580c; }

/* Jabatan badge — sits over the photo scrim */
.dosen-jabatan-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-guru-besar    { background: var(--gold-300);  color: var(--dark-900); }
.badge-lektor-kepala { background: #fff;              color: var(--blue-700); }
.badge-lektor        { background: #d1fae5;           color: #065f46; }
.badge-asisten-ahli  { background: #f3e8ff;           color: #6b21a8; }

/* Card body */
.dosen-card-body {
    flex: 1;
    padding: 18px 20px 12px;
}

.dosen-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-800);
    line-height: 1.4;
    margin-bottom: 4px;
}

.dosen-nidn {
    font-size: 11px;
    color: var(--dark-400);
    font-weight: 500;
    margin-bottom: 12px;
}

.dosen-keahlian {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.dosen-keahlian span {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    background: var(--blue-50);
    color: var(--blue-600);
    border-radius: 4px;
}

/* Card footer */
.dosen-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 16px;
    border-top: 1px solid var(--blue-50);
}

.dosen-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 5px 11px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.dosen-link svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    opacity: 0.7;
}

.dosen-link-sinta {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.dosen-link-sinta:hover {
    background: #c2410c;
    border-color: #c2410c;
    color: #fff;
}

.dosen-link-scholar {
    background: var(--blue-50);
    color: var(--blue-600);
    border: 1px solid var(--blue-200);
}

.dosen-link-scholar:hover {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #fff;
}

/* Empty state */
.dosen-empty {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    color: var(--dark-400);
    gap: 12px;
}

.dosen-empty [class^="icon-"] { font-size: 40px; opacity: 0.3; }
.dosen-empty p { font-size: 15px; font-weight: 500; }

/* Responsive */
@media (max-width: 1100px) {
    .dosen-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .dosen-grid { grid-template-columns: repeat(2, 1fr); }
    .dosen-stats { flex-wrap: wrap; }
    .dosen-stat-item { flex: 1 1 50%; border-bottom: 1px solid var(--blue-100); }
    .dosen-stat-item:nth-child(odd) { border-right: 1px solid var(--blue-100); }
    .dosen-stat-item:nth-child(even) { border-right: none; }
    .dosen-stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .dosen-controls { flex-direction: column; align-items: stretch; }
    .page-hero-title { font-size: 28px; }
}

@media (max-width: 480px) {
    .dosen-grid { grid-template-columns: 1fr; }
    .dosen-stat-item { flex: 1 1 100%; border-right: none; }
    .dosen-stat-item:last-child { border-bottom: none; }
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-section { padding: 64px 0 80px; }

.faq-intro {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}
.faq-intro h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-800);
    margin-bottom: 12px;
}
.faq-intro p { color: var(--dark-500); font-size: 15px; }

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    justify-content: center;
}
.faq-cat-btn {
    padding: 7px 18px;
    border-radius: 20px;
    border: 1.5px solid var(--neutral-200);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-500);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}
.faq-cat-btn:hover,
.faq-cat-btn.active {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #fff;
}

.faq-group { margin-bottom: 40px; }
.faq-group-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--blue-100);
}

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
    background: #fff;
    border: 1.5px solid var(--neutral-200);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open {
    border-color: var(--blue-200);
    box-shadow: 0 4px 16px rgba(37,99,235,0.07);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-800);
    line-height: 1.45;
}
.faq-question:hover { color: var(--blue-600); }
.faq-question-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.3s;
}
.faq-item.open .faq-question-icon {
    background: var(--blue-600);
    transform: rotate(45deg);
}
.faq-question-icon svg { width: 12px; height: 12px; }
.faq-item.open .faq-question-icon svg { stroke: #fff; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer-inner {
    padding: 0 20px 20px;
    font-size: 14px;
    color: var(--dark-500);
    line-height: 1.75;
    border-top: 1px solid var(--neutral-200);
    padding-top: 16px;
}
.faq-answer-inner p + p { margin-top: 10px; }
.faq-answer-inner ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ============================================================
   CURRICULUM PAGE
   ============================================================ */
.kurikulum-section { padding: 64px 0 80px; }

.kurikulum-stats {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1.5px solid var(--neutral-200);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
}
.kurikulum-stat-item {
    flex: 1;
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid var(--neutral-200);
}
.kurikulum-stat-item:last-child { border-right: none; }
.kurikulum-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-600);
    line-height: 1;
    font-family: var(--font-heading);
    display: block;
}
.kurikulum-stat-label {
    font-size: 12px;
    color: var(--dark-400);
    margin-top: 4px;
    font-weight: 500;
    display: block;
}

/* Semester tabs */
.semester-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.semester-tab {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1.5px solid var(--neutral-200);
    background: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-500);
    cursor: pointer;
    transition: all 0.2s;
}
.semester-tab:hover { border-color: var(--blue-300); color: var(--blue-600); }
.semester-tab.active {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #fff;
}

.semester-panel { display: none; }
.semester-panel.active { display: block; }

.semester-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.semester-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-800);
}
.semester-sks-badge {
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--blue-50);
    color: var(--blue-600);
    border: 1px solid var(--blue-200);
}

.course-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--neutral-200);
    font-size: 14px;
}
.course-table thead th {
    background: var(--neutral-100);
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark-400);
    border-bottom: 1.5px solid var(--neutral-200);
}
.course-table tbody tr {
    border-bottom: 1px solid var(--neutral-100);
    transition: background 0.15s;
}
.course-table tbody tr:last-child { border-bottom: none; }
.course-table tbody tr:hover { background: var(--blue-50); }
.course-table td {
    padding: 14px 16px;
    vertical-align: middle;
    color: var(--dark-700);
}
.course-code {
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark-400);
    white-space: nowrap;
}
.course-name { font-weight: 600; color: var(--dark-800); }
.course-sks {
    font-weight: 700;
    color: var(--blue-600);
    text-align: center;
    white-space: nowrap;
}
.course-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.badge-wajib {
    background: var(--blue-50);
    color: var(--blue-600);
    border: 1px solid var(--blue-200);
}
.badge-pilihan {
    background: #fdf4ff;
    color: #9333ea;
    border: 1px solid #e9d5ff;
}

.semester-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--gold-50);
    border-left: 3px solid var(--gold-400);
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: var(--dark-600);
}

@media (max-width: 768px) {
    .kurikulum-stats { flex-wrap: wrap; }
    .kurikulum-stat-item { flex: 1 1 50%; border-bottom: 1px solid var(--neutral-200); }
    .kurikulum-stat-item:nth-child(odd) { border-right: 1px solid var(--neutral-200); }
    .kurikulum-stat-item:nth-child(even) { border-right: none; }
    .kurikulum-stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .course-table thead th:nth-child(1),
    .course-table td:nth-child(1) { display: none; }
    .semester-tabs { gap: 4px; }
    .semester-tab { padding: 7px 12px; font-size: 12px; }
}

/* ============================================================
   WP CONTENT - Block editor output typography and alignment
   ============================================================ */

.wp-content {
    font-size: 15px;
    line-height: 1.85;
    color: var(--dark-600);
}

/* Constrain block width; wide/full break out */
.wp-content > * {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.wp-content > .alignwide {
    max-width: min(1100px, 100%);
}
.wp-content > .alignfull {
    max-width: 100%;
    width: 100%;
}
.wp-content > .alignleft {
    float: left;
    margin-right: 2em;
    margin-left: 0;
    max-width: 50%;
}
.wp-content > .alignright {
    float: right;
    margin-left: 2em;
    margin-right: 0;
    max-width: 50%;
}
.wp-content::after {
    content: '';
    display: table;
    clear: both;
}

/* Headings */
.wp-content h1,
.wp-content h2,
.wp-content h3,
.wp-content h4,
.wp-content h5,
.wp-content h6 {
    font-family: var(--font-body);
    color: var(--dark-800);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.8em;
    margin-bottom: 0.5em;
}
.wp-content h1 { font-size: 2rem; }
.wp-content h2 { font-size: 1.6rem; }
.wp-content h3 { font-size: 1.3rem; }
.wp-content h4 { font-size: 1.1rem; }
.wp-content h5,
.wp-content h6 { font-size: 1rem; }

/* Body text */
.wp-content p { margin-bottom: 1.25em; }
.wp-content a {
    color: var(--blue-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wp-content a:hover { color: var(--blue-700); }
.wp-content strong { font-weight: 700; }
.wp-content em { font-style: italic; }

/* Lists */
.wp-content ul,
.wp-content ol {
    padding-left: 1.6em;
    margin-bottom: 1.25em;
}
.wp-content ul { list-style: disc; }
.wp-content ol { list-style: decimal; }
.wp-content li { margin-bottom: 0.4em; line-height: 1.75; }
.wp-content ul ul, .wp-content ol ol,
.wp-content ul ol, .wp-content ol ul { margin-top: 0.3em; margin-bottom: 0; }

/* Blockquote */
.wp-content blockquote,
.wp-content .wp-block-quote {
    border-left: 4px solid var(--gold-400);
    padding: 14px 20px;
    margin: 1.8em auto;
    color: var(--dark-700);
    font-style: italic;
    background: var(--gold-50);
    border-radius: 0 8px 8px 0;
    max-width: 820px;
}
.wp-content .wp-block-quote cite,
.wp-content .wp-block-quote footer {
    font-size: 0.85em;
    color: var(--dark-400);
    font-style: normal;
    margin-top: 8px;
    display: block;
}

/* Pullquote */
.wp-content .wp-block-pullquote {
    border-top: 4px solid var(--dark-800);
    border-bottom: 4px solid var(--dark-800);
    padding: 28px 24px;
    text-align: center;
    margin: 2em auto;
    max-width: 820px;
}
.wp-content .wp-block-pullquote blockquote p {
    font-family: var(--font-accent);
    font-size: 1.5em;
    line-height: 1.4;
    color: var(--dark-800);
    font-style: normal;
}
.wp-content .wp-block-pullquote cite {
    font-size: 0.85em;
    color: var(--dark-400);
    font-style: normal;
}

/* Code */
.wp-content code,
.wp-content kbd {
    font-family: monospace;
    font-size: 0.88em;
    background: var(--blue-100);
    color: #1e40af;
    padding: 2px 7px;
    border-radius: 4px;
}
.wp-content pre,
.wp-content .wp-block-code {
    font-family: monospace;
    font-size: 0.88em;
    background: var(--dark-800);
    color: #e2e8f0;
    padding: 20px 24px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.8em auto;
    line-height: 1.65;
    max-width: 820px;
}
.wp-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

/* Separator */
.wp-content hr,
.wp-content .wp-block-separator {
    border: none;
    border-top: 2px solid var(--neutral-200);
    margin: 2.5em auto;
    max-width: 820px;
}
.wp-content .wp-block-separator.is-style-wide { max-width: 100%; }

/* Table */
.wp-content table,
.wp-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0;
}
.wp-content table th,
.wp-content .wp-block-table th,
.wp-content table tr.table-scroll__header td {
    background: var(--dark-800);
    color: #fff;
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wp-content table td,
.wp-content .wp-block-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--neutral-200);
    color: var(--dark-600);
    vertical-align: top;
}
.wp-content table tr:hover td { background: var(--neutral-50); }
.wp-content table tr.table-scroll__header:hover td {
    background: var(--dark-800);
}

/* Tables are wrapped in .table-scroll by ifunsoed_enhance_content_tables() so
   wide tables scroll horizontally instead of squeezing their columns. */
.wp-content .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.8em auto;
    max-width: min(1100px, 100%);
    border: 1px solid var(--neutral-200);
    border-radius: 10px;
}
.wp-content .wp-block-table {
    margin: 0;
    max-width: none;
}

/* Images */
.wp-content figure,
.wp-content .wp-block-image { margin: 1.8em auto; max-width: 820px; }
.wp-content .wp-block-image.alignwide { max-width: min(1100px, 100%); }
.wp-content .wp-block-image.alignfull { max-width: 100%; }
.wp-content .wp-block-image img { border-radius: 10px; height: auto; display: block; width: 100%; }
.wp-content figcaption,
.wp-content .wp-block-image figcaption {
    font-size: 13px;
    color: var(--dark-400);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Gallery */
.wp-content .wp-block-gallery { margin: 1.8em auto; max-width: 820px; }
.wp-content .wp-block-gallery.alignwide { max-width: min(1100px, 100%); }
.wp-content .wp-block-gallery.alignfull { max-width: 100%; }

/* Embed / Video */
.wp-content .wp-block-embed,
.wp-content .wp-block-video { margin: 1.8em auto; max-width: 820px; }
.wp-content .wp-block-embed.alignwide { max-width: min(1100px, 100%); }
.wp-content .wp-block-embed.alignfull { max-width: 100%; }
.wp-content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.wp-content .wp-block-embed__wrapper iframe,
.wp-content .wp-block-embed__wrapper video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 8px;
}

/* Buttons */
.wp-content .wp-block-buttons { margin: 1.8em auto; max-width: 820px; }
.wp-content .wp-block-button__link {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    padding: 10px 24px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}
.wp-content .wp-block-button__link:hover { opacity: 0.85; }
.wp-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background: var(--blue-600);
    color: #fff;
}
.wp-content .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--blue-600);
    border: 2px solid currentColor;
}

/* Columns */
.wp-content .wp-block-columns {
    display: flex;
    gap: 24px;
    margin: 1.8em auto;
    max-width: 820px;
    flex-wrap: wrap;
}
.wp-content .wp-block-columns.alignwide { max-width: min(1100px, 100%); }
.wp-content .wp-block-columns.alignfull { max-width: 100%; }
.wp-content .wp-block-column { flex: 1 1 200px; min-width: 0; }

/* Cover */
.wp-content .wp-block-cover {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1.8em auto;
    max-width: 820px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wp-content .wp-block-cover.alignwide { max-width: min(1100px, 100%); }
.wp-content .wp-block-cover.alignfull { max-width: 100%; border-radius: 0; }
.wp-content .wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    padding: 40px 24px;
}

/* Group */
.wp-content .wp-block-group {
    margin: 1.8em auto;
    max-width: 820px;
    padding: 24px;
    border-radius: 12px;
}
.wp-content .wp-block-group.alignwide { max-width: min(1100px, 100%); }
.wp-content .wp-block-group.alignfull { max-width: 100%; border-radius: 0; }

/* Media & Text */
.wp-content .wp-block-media-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin: 1.8em auto;
    max-width: 820px;
}
.wp-content .wp-block-media-text img { border-radius: 8px; }

/* File download */
.wp-content .wp-block-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--neutral-100);
    border: 1px solid var(--neutral-200);
    border-radius: 10px;
    margin: 1.8em auto;
    max-width: 820px;
}
.wp-content .wp-block-file a { font-weight: 600; }
.wp-content .wp-block-file .wp-block-file__button {
    display: inline-block;
    padding: 6px 16px;
    background: var(--blue-600);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .wp-content .wp-block-columns { flex-direction: column; }
    .wp-content .wp-block-media-text { grid-template-columns: 1fr; }
    .wp-content > .alignleft,
    .wp-content > .alignright {
        float: none;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Long, text-heavy tables read better as stacked label/value cards than as a squeezed grid. */
    .wp-content .table-scroll {
        overflow-x: visible;
        border: none;
        border-radius: 0;
    }
    .wp-content table,
    .wp-content .wp-block-table table {
        display: block;
    }
    .wp-content table thead,
    .wp-content .wp-block-table thead {
        display: none;
    }
    .wp-content table tbody,
    .wp-content .wp-block-table tbody {
        display: block;
    }
    .wp-content table tr,
    .wp-content .wp-block-table tr {
        display: block;
        margin-bottom: 14px;
        border: 1px solid var(--neutral-200);
        border-radius: 10px;
        overflow: hidden;
    }
    .wp-content table tr.table-scroll__header {
        display: none;
    }
    .wp-content table td,
    .wp-content .wp-block-table td {
        display: block;
        padding: 10px 14px;
        border-bottom: 1px solid var(--neutral-100);
        font-size: 13.5px;
        background: none;
        color: var(--dark-600);
    }
    .wp-content table td:last-child,
    .wp-content .wp-block-table td:last-child {
        border-bottom: none;
    }
    .wp-content table td[data-label]::before,
    .wp-content .wp-block-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--blue-500);
        margin-bottom: 4px;
    }
}

/* ── Entry / Single post layout ── */
/* ===================== SINGLE POST ===================== */
.post-hero {
    position: relative;
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--dark-900) 100%);
    padding: 56px 0 48px;
    overflow: hidden;
}

.post-hero .hero-decor,
.post-hero .hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.post-hero .hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
}

.post-hero .hero-grid-lines {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 48px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 48px 100%;
}

.post-hero .hero-overlay {
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.post-hero .hero-content {
    position: relative;
    z-index: 1;
}

.post-hero .hero-text {
    max-width: 100%;
}

.page-hero-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.page-hero-breadcrumb a {
    color: var(--gold-300);
    text-decoration: none;
    transition: color 0.2s;
}

.page-hero-breadcrumb a:hover {
    color: #fff;
}

.page-hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.45);
}

.page-hero-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--gold-300);
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.3);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.post-hero .hero-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue-200);
}

.hero-meta-item i {
    font-size: 15px;
    color: var(--gold-300);
}

.post-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
}

.post-main {
    min-width: 0;
}

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 24px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--blue-100);
    border-radius: 14px;
    padding: 20px 22px;
}

.sidebar-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-800);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--neutral-200);
}

.sidebar-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    padding: 7px 0;
}

.sidebar-item span:first-child {
    color: var(--dark-500);
    font-weight: 500;
}

.sidebar-item span:last-child {
    color: var(--dark-800);
    font-weight: 600;
    text-align: right;
}

.sidebar-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tag a {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 5px 11px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.sidebar-tag a:hover {
    background: var(--blue-600);
    color: #fff;
}

.sidebar-related {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
}

.related-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--neutral-100);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-thumb img {
    transform: scale(1.06);
}

.related-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.related-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark-800);
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item:hover .related-title {
    color: var(--blue-600);
}

.related-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--dark-500);
}

.related-date i {
    font-size: 12px;
    color: var(--blue-500);
}

@media (max-width: 980px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .post-hero {
        padding: 40px 0 32px;
    }

    .post-hero .hero-title {
        font-size: 28px;
    }
}

.entry-section {
    padding-top: 48px;
}

.entry-featured-wrap {
    padding-top: 48px;
}

.entry-featured-wrap .entry-featured-image {
    margin-bottom: 0;
}

.entry-featured-image {
    margin-bottom: 40px;
}

.entry-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.entry-content {
    padding: 0 24px;
}

.entry-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--neutral-200);
    flex-wrap: wrap;
    padding-left: 24px;
    padding-right: 24px;
}

.entry-nav-link {
    flex: 1;
    min-width: 200px;
    padding: 16px;
    border: 1.5px solid var(--neutral-200);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-700);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.entry-nav-link:hover {
    border-color: var(--blue-300);
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
    color: var(--dark-700);
    text-decoration: none;
}

.entry-nav-next { text-align: right; }

.entry-nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-400);
}

.entry-nav-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .entry-nav { flex-direction: column; }
    .entry-nav-next { text-align: left; }
    .entry-content { padding: 0 16px; }
}
