/* ============================================================
   SWP — Theme CSS (BETA RELEASE)
   File: assets/css/theme.css
   ------------------------------------------------------------
   Berisi seluruh komponen tema, perbaikan layout Full/Boxed,
   optimalisasi Sidebar, dan perbaikan Overflow Mobile.
   ============================================================ */

/* ============================================================
   0. CONTAINER & LAYOUT DASAR
   ============================================================ */
.site-box .container {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .site-box .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 992px) {
  .site-box .container { padding-left: 3rem; padding-right: 3rem; }
}

/* Layout Full vs Boxed */
body.layout-full .site-wrapper {
  max-width: 100%;
}
body.layout-boxed .site-wrapper {
  max-width: var(--site-max, 1320px);
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(11, 30, 58, 0.15);
}
body.layout-boxed {
  background-color: #e2e8f0;
}
/* ============================================================
   1. TOP HEADER (Flexible Grid System)
   ============================================================ */

/* --- Dasar Container --- */
.top-header {
  position: relative;
  background: linear-gradient(90deg, #0c2d6b 0%, #1e5fd8 55%, #2f8bff 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  z-index: 1041;
}

/* --- Grid & Kolom --- */
.top-header-row {
  min-height: var(--tophdr-h, 40px);
  align-items: center;
}

.top-header-col {
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Di Desktop, hilangkan padding vertikal agar sejajar tengah */
@media (min-width: 768px) {
  .top-header-col {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Rata kanan otomatis untuk kolom terakhir */
.top-header-col:last-child {
  justify-content: flex-end;
}

/* Di HP, semua konten ke tengah */
@media (max-width: 767.98px) {
  .top-header-col,
  .top-header-col:last-child {
    justify-content: center;
  }
}

/* --- Link & Ikon Umum di Top Header --- */
.top-header a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}
.top-header a:hover {
  color: #fff;
}
.top-header i {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ============================================================
   1a. KONTEN: PENGUMUMAN & TICKER BERITA
   ============================================================ */
.top-announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.2;
}
.top-announcement strong {
  color: #cfe2ff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Animasi Dot */
.top-announcement .dot {
  width: 6px;
  height: 6px;
  background: #a8d1ff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(168, 209, 255, 0.35);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(168, 209, 255, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(168, 209, 255, 0.1); }
}

/* Ticker Berita */
.top-ticker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  overflow: hidden;
}
.top-ticker-label {
  background: #ef4444;
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.top-ticker-wrap {
  overflow: hidden;
  flex: 1;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.top-ticker-content {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: tickerScroll 20s linear infinite;
}
.top-ticker-content:hover {
  animation-play-state: paused;
}
.top-ticker-content a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  text-decoration: none;
}
.top-ticker-content a:hover {
  color: #fff;
  text-decoration: underline;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   1b. KONTEN: MENU & SOSIAL MEDIA
   ============================================================ */
/* Menu Secondary */
.top-right .top-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.15rem;
  align-items: center;
}
.top-right .top-menu li {
  display: inline-flex;
}
.top-right .top-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}
.top-right .top-menu a:hover {
  color: #fff;
}

/* Ikon Sosial Media */
.top-social .socials {
  margin-top: 0;
  gap: 0.4rem;
}
.top-social .socials a {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}
.top-social .socials a:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   1c. KONTEN: TOMBOL LOGIN / DAFTAR
   ============================================================ */
.top-right .btn-top-login {
  padding: 0.28rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-weight: 500;
  color: #fff;
  font-size: 0.74rem;
  transition: all var(--dur-fast) ease;
}
.top-right .btn-top-login:hover {
  background: #fff;
  border-color: #fff;
  color: var(--accent-dark);
}

.top-right .btn-top-register {
  padding: 0.28rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #6fb2ff 0%, #2f8bff 100%);
  border: 0;
  color: #fff;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(47, 139, 255, 0.4);
  transition: all var(--dur-fast) ease;
}
.top-right .btn-top-register:hover {
  background: linear-gradient(135deg, #2f8bff 0%, #1e5fd8 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 139, 255, 0.55);
  transform: translateY(-1px);
}

/* ============================================================
   1d. KONTEN: WIDGET AREA (Fallback)
   ============================================================ */
.top-widget {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}
.top-widget-title {
  font-weight: 700;
  margin-right: 0.5rem;
  color: #fff;
}
.top-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.top-widget ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.top-widget ul li a:hover {
  color: #fff;
}

/* ============================================================
   1e. RESPONSIVE (Tampilan HP)
   ============================================================ */
@media (max-width: 991.98px) {
  .top-header {
    font-size: 0.7rem;
  }
  .top-header-row {
    min-height: 36px; /* Lebih tipis di HP */
  }
  .top-right .btn-top-login,
  .top-right .btn-top-register {
    padding: 0.15rem 0.5rem;
    font-size: 0.68rem;
  }
  .top-announcement .dot {
    display: none; /* Hilangkan dot agar hemat tempat */
  }
}

/* ============================================================
   2. HEADER UTAMA
   ============================================================ */
.site-header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  z-index: 1040;
  background: transparent;
  transition: background var(--dur-base) ease, box-shadow var(--dur-base) ease;
  --brand-color: #ffffff;
  --nav-color: rgba(255,255,255,.9);
  --icon-color: rgba(255,255,255,.95);
}
body.layout-full .site-header { max-width: 100%; }
body.layout-boxed .site-header { max-width: var(--site-max, 1320px); }

.site-header.is-sticky {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(11,30,58,.45);
  --brand-color: var(--ink);
  --nav-color: var(--ink-2);
  --icon-color: var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
  transition: min-height var(--dur-base) ease;
}
.site-header.is-sticky .header-inner { min-height: var(--header-h-sm); }

.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  color: var(--brand-color); flex-shrink: 0;
}
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid currentColor; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.2rem;
}
.site-header.is-sticky .brand-mark {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30,95,216,.08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-body); font-size: .95rem; font-weight: 700; letter-spacing: .18em; }
.brand-text small { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; opacity: .75; margin-top: 3px; }

.header-actions {
  display: flex; align-items: center; gap: .35rem;
  margin-left: auto; flex-shrink: 0;
}
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--icon-color);
  font-size: 1.15rem; border-radius: 50%; transition: all var(--dur-fast) ease;
}
.icon-btn:hover { background: var(--accent-soft); color: var(--accent); }
.btn-canvas {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid currentColor; color: var(--icon-color);
  background: rgba(255,255,255,.08); border-radius: 50%;
  font-size: 1.1rem; transition: all var(--dur-base) ease;
}
.btn-canvas:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.site-header.is-sticky .btn-canvas { background: transparent; border-color: rgba(11,30,58,.15); }

/* ============================================================
   3. NAVIGASI UTAMA
   ============================================================ */
.main-nav {
  display: flex; align-items: stretch; align-self: stretch;
  margin-left: 1.75rem; gap: .1rem;
}
.main-nav .nav-item { display: flex; position: static; }
.main-nav .nav-link {
  display: flex; align-items: center; gap: .4rem;
  padding: 0 1rem; font-size: .875rem; font-weight: 500;
  color: var(--nav-color); position: relative; white-space: nowrap;
}
.main-nav .nav-link i { font-size: .7rem; transition: transform .28s ease; opacity: .75; }
.main-nav .nav-link::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 26px;
  height: 1px; background: var(--accent-light);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-header.is-sticky .main-nav .nav-link::after { background: var(--accent); }
.main-nav .nav-item:hover > .nav-link { color: var(--accent-light); }
.site-header.is-sticky .main-nav .nav-item:hover > .nav-link { color: var(--accent); }
.main-nav .nav-item:hover > .nav-link::after { transform: scaleX(1); }
.main-nav .has-mega:hover > .nav-link i { transform: rotate(180deg); }

/* ============================================================
   4. MEGA MENU
   ============================================================ */
.mega-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 40px 60px -34px rgba(11,30,58,.4);
  padding: 3rem 0 2.75rem; z-index: 999;
  display: none; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
@media (min-width: 992px) {
  .main-nav .has-mega:hover .mega-menu,
  .main-nav .has-mega:focus-within .mega-menu {
    display: block; opacity: 1; visibility: visible; transform: translateY(0);
  }
}
.mega-title {
  font-family: var(--font-body); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem;
}
.mega-list { list-style: none; padding: 0; margin: 0; }
.mega-list li { list-style: none !important; }
.mega-list li + li { margin-top: .55rem; }
.mega-list a {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--ink-2); font-size: .9rem; transition: color .22s ease, transform .22s ease;
}
.mega-list a:hover { color: var(--accent); transform: translateX(3px); }
.mega-list a i { font-size: .7rem; opacity: 0; transition: opacity .22s ease; }
.mega-list a:hover i { opacity: 1; }

.mega-feature {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #eaf2ff 0%, #dbeaff 100%);
  height: 100%; display: flex; flex-direction: column; border: 1px solid rgba(30,95,216,.1);
}
.mega-feature img { width: 100%; height: 130px; object-fit: cover; }
.mega-feature .mf-body { padding: 1rem 1.1rem 1.15rem; }
.mega-feature .mf-label { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.mega-feature h4 { font-size: 1.05rem; margin: .35rem 0 .55rem; }
.mega-feature a { font-size: .78rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.mega-feature a:hover { color: var(--accent); }

/* ============================================================
   5. TOMBOL
   ============================================================ */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: .84rem;
  letter-spacing: .04em; border-radius: 999px; padding: .82rem 1.75rem;
  display: inline-flex; align-items: center; gap: .55rem;
  transition: all var(--dur-base) ease; border: 1px solid transparent;
}
.btn-lg { padding: 1rem 2.15rem; font-size: .88rem; }
.btn-sm-header { padding: .62rem 1.35rem; font-size: .78rem; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  border-color: transparent; color: #fff; box-shadow: 0 10px 22px -12px rgba(30,95,216,.75);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: #fff; transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(30,95,216,.95);
}
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--accent-dark); transform: translateY(-2px); }
.btn-outline-ink { border-color: rgba(11,30,58,.25); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ============================================================
   6. SECTION (UMUM)
   ============================================================ */
.section { padding: clamp(72px, 9vw, 132px) 0; }
.section-sm { padding: clamp(56px, 6vw, 90px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: linear-gradient(135deg, #0c2d6b 0%, #1e5fd8 100%); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 4vw, 3.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: 1rem; }
.section-title em { font-style: italic; color: var(--accent); }
.section-lead { color: var(--muted); font-size: 1.02rem; font-weight: 300; margin-bottom: 0; }
.section-dark .section-lead { color: rgba(255,255,255,.7); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-light); margin-bottom: 1.6rem;
}
.eyebrow::before { content: ''; width: 42px; height: 1px; background: var(--accent-light); display: inline-block; }

/* ============================================================
   7. ABOUT
   ============================================================ */
.about-media { position: relative; padding-bottom: 3rem; padding-right: 3rem; }
.about-media .img-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-sm); }
.about-media .img-float { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-sm); border: 8px solid #fff; box-shadow: 0 20px 40px -24px rgba(11,30,58,.5); }
.about-badge {
  position: absolute; left: -18px; top: 34px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #fff; padding: 1.15rem 1.35rem; border-radius: var(--radius-sm);
  text-align: center; font-family: var(--font-display); font-size: 1.75rem; line-height: 1;
  box-shadow: 0 18px 36px -18px rgba(30,95,216,.7);
}
.about-badge span { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: #cfe2ff; margin-top: .5rem; }
.check-list { list-style: none; padding: 0; margin: 1.75rem 0 2.2rem; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .94rem; margin-bottom: .85rem; color: var(--ink-2); }
.check-list i { color: var(--accent); font-size: 1rem; margin-top: .2rem; }

/* ============================================================
   8. STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 2.6rem; }
.stat { background: #fff; padding: 2.2rem 1.2rem; text-align: center; }
.section-soft .stat { background: var(--soft); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 500; color: var(--ink); line-height: 1; margin-bottom: .55rem; }
.stat b em { font-style: normal; color: var(--accent-bright); }
.stat span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   9. FACULTY CARDS
   ============================================================ */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 2.1rem 1.75rem 2.2rem; height: 100%; position: relative; overflow: hidden;
  transition: transform var(--dur-base) ease, box-shadow var(--dur-base) ease;
}
.svc-card::before { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 100%); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 48px -32px rgba(30,95,216,.4); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-num { position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--font-display); font-size: 2.4rem; color: rgba(30,95,216,.08); line-height: 1; }
.svc-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.5rem; margin-bottom: 1.5rem; transition: all var(--dur-base) ease; }
.svc-card:hover .svc-icon { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%); color: #fff; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: .7rem; }
.svc-card p { font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem; font-weight: 300; }
.svc-link { font-size: .78rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .45rem; }
.svc-link:hover { color: var(--accent); }
.svc-link i { transition: transform .3s ease; }
.svc-link:hover i { transform: translateX(4px); }

/* ============================================================
   10. NEWS CARDS
   ============================================================ */
.project { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; background: var(--deep); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,34,79,.92) 0%, rgba(12,45,107,.30) 45%, transparent 75%); opacity: .9; transition: opacity .4s ease; }
.project:hover img { transform: scale(1.07); }
.project:hover::after { opacity: 1; }
.project-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.6rem 1.5rem; transform: translateY(8px); transition: transform .4s ease; }
.project:hover .project-body { transform: translateY(0); }
.project-cat { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #a8d1ff; font-weight: 700; }
.project h3 { color: #fff; font-size: 1.15rem; margin: .4rem 0 0; line-height: 1.3; }
.project .arrow { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); color: #fff; font-size: .95rem; opacity: 0; transform: scale(.8); transition: all var(--dur-base) ease; }
.project:hover .arrow { opacity: 1; transform: scale(1); }

/* ============================================================
   10b. POST CARDS (blog loop)
   ============================================================ */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all var(--dur-base) ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 48px -32px rgba(30,95,216,.4); border-color: transparent; }
.post-card-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); position: relative; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-thumb img { transform: scale(1.06); }
.post-card-thumb--placeholder { display: grid; place-items: center; color: var(--accent-soft); font-size: 2.5rem; }
.post-card-body { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: .75rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.post-card-cat { color: var(--accent); font-weight: 700; }
.post-card-date { color: var(--muted); font-weight: 500; }
.post-card-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; margin-bottom: .65rem; color: var(--ink); }
.post-card-title a { color: inherit; transition: color var(--dur-fast) ease; }
.post-card-title a:hover { color: var(--accent); }
.post-card-excerpt { font-size: .9rem; color: var(--muted); font-weight: 300; margin-bottom: 1.1rem; flex: 1; }
.post-card-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--ink); align-self: flex-start; transition: color var(--dur-fast) ease; }
.post-card-link:hover { color: var(--accent); }
.post-card-link i { transition: transform .3s ease; }
.post-card-link:hover i { transform: translateX(4px); }

/* ============================================================
   10c. PAGINATION
   ============================================================ */
.swp-pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: .4rem; flex-wrap: wrap; }
.swp-pagination .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .84rem; font-weight: 500; transition: all var(--dur-fast) ease; }
.swp-pagination .page-numbers:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.swp-pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.swp-pagination .page-numbers.prev, .swp-pagination .page-numbers.next { padding: 0 1.2rem; gap: .4rem; }

/* ============================================================
   10d. PAGE CONTENT
   ============================================================ */
.page-hero { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/7; }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; }
.page-content { font-size: 1.02rem; line-height: 1.8; color: var(--ink-2); max-width: 800px; overflow-wrap: break-word; word-wrap: break-word; }
.page-content p { margin-bottom: 1.4rem; }
.page-content h2, .page-content h3, .page-content h4 { margin-top: 2rem; margin-bottom: 1rem; }
.page-content img { border-radius: var(--radius-sm); margin: 1.5rem 0; max-width: 100%; height: auto; }
.page-content blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 1.5rem 0; font-style: italic; color: var(--ink); }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.page-content li { margin-bottom: .5rem; }
.page-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: var(--accent-dark); }
.page-content table { display: block; overflow-x: auto; max-width: 100%; }

/* ============================================================
   10e. SINGLE POST
   ============================================================ */
.single-head { margin-bottom: 2rem; }
.single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.single-cat { color: var(--accent); font-weight: 700; }
.single-date, .single-author { color: var(--muted); font-weight: 500; }
.single-author a { color: var(--ink); font-weight: 600; }
.single-author a:hover { color: var(--accent); }
.single-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.2; }
.single-thumb { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; }
.single-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.single-content { font-size: 1.02rem; line-height: 1.8; color: var(--ink-2); overflow-wrap: break-word; word-wrap: break-word; }
.single-content p { margin-bottom: 1.4rem; }
.single-content h2, .single-content h3, .single-content h4 { margin-top: 2rem; margin-bottom: 1rem; }
.single-content img { border-radius: var(--radius-sm); margin: 1.5rem 0; max-width: 100%; height: auto; }
.single-content blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 1.5rem 0; font-style: italic; color: var(--ink); }
.single-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.single-content a:hover { color: var(--accent-dark); }
.single-content table { display: block; overflow-x: auto; max-width: 100%; }
.single-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.single-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); }
.single-tags a { display: inline-block; padding: .3rem .75rem; background: var(--accent-soft); color: var(--accent); border-radius: 999px; font-size: .74rem; font-weight: 500; }
.single-tags a:hover { background: var(--accent); color: #fff; }

/* ============================================================
   10f. POST NAVIGATION
   ============================================================ */
.single-nav { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.single-nav-link { display: block; padding: 1.25rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: all var(--dur-base) ease; height: 100%; }
.single-nav-link:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.single-nav-label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .4rem; }
.single-nav-title { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); font-weight: 500; line-height: 1.35; }
.single-nav-link:hover .single-nav-title { color: var(--accent); }

/* ============================================================
   10g. SIDEBAR
   ============================================================ */
.swp-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sidebar-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.6rem 1.4rem; margin-bottom: 1.5rem; }
.sidebar-title { font-family: var(--font-body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); font-weight: 700; margin-bottom: 1.1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.sidebar-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.sidebar-list a { color: var(--ink-2); font-size: .9rem; line-height: 1.4; flex: 1; }
.sidebar-list a:hover { color: var(--accent); }
.sidebar-date { font-size: .7rem; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

/* ============================================================
   10h. SEARCH FORM
   ============================================================ */
.swp-search-input-wrap { position: relative; display: flex; align-items: stretch; }
.swp-search-field { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: .72rem 1.2rem; padding-right: 3rem; font-size: .9rem; background: #f8fbff; color: var(--ink-2); outline: none; transition: all var(--dur-fast) ease; }
.swp-search-field:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(30,95,216,.14); }
.swp-search-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .9rem; transition: background var(--dur-fast) ease; }
.swp-search-btn:hover { background: var(--accent-dark); }

/* ============================================================
   10i. PAGE LINKS (post pagination)
   ============================================================ */
.page-links { margin-top: 1.5rem; font-size: .84rem; color: var(--muted); }
.page-links a { display: inline-block; min-width: 32px; height: 32px; line-height: 32px; text-align: center; padding: 0 .6rem; margin: 0 .15rem; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.page-links a:hover { background: var(--accent); color: #fff; }

/* ============================================================
   10j. RESPONSIVE — single & sidebar
   ============================================================ */
@media (max-width: 991.98px) { .swp-sidebar { position: static; margin-top: 2.5rem; } }

/* ============================================================
   10k. SEARCH & ARCHIVE
   ============================================================ */
.search-top-form { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.post-card--search .post-card-excerpt { font-size: .86rem; }
.post-card--search .post-card-thumb--placeholder { font-size: 2rem; }
.archive-description { font-size: 1rem; color: var(--muted); font-weight: 300; line-height: 1.7; margin-bottom: 2rem; }

/* ============================================================
   10l. SEARCH HIGHLIGHT
   ============================================================ */
mark.search-highlight, .search-highlight { background: rgba(47,139,255,.22); color: var(--ink); padding: 0 .18em; border-radius: 3px; font-weight: 600; font-style: normal; }
.post-card-title .search-highlight { background: rgba(30,95,216,.15); color: var(--accent-dark); }
.post-card-excerpt .search-highlight { background: rgba(47,139,255,.18); color: var(--ink-2); font-weight: 500; }

/* ============================================================
   11. PAGE HEADER
   ============================================================ */
.page-header { position: relative; background: linear-gradient(135deg, #0c2d6b 0%, #1e5fd8 100%); background-size: cover; background-position: center; padding-top: calc(var(--header-h) + 3.5rem); padding-bottom: 4rem; overflow: hidden; }
.page-header-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(47,139,255,.35) 0%, transparent 50%), linear-gradient(135deg, rgba(12,45,107,.95) 0%, rgba(30,95,216,.85) 100%); z-index: 1; }
.page-header .container { position: relative; z-index: 2; }
.page-header-content { max-width: 820px; color: #fff; animation: pageHeaderFade .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pageHeaderFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.page-header-eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #a8d1ff; margin-bottom: 1.1rem; }
.page-header-eyebrow::before { content: ''; width: 36px; height: 1px; background: #a8d1ff; }
.page-header-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; color: #fff; font-weight: 500; margin-bottom: 1rem; letter-spacing: -.015em; }
.page-header-sub { font-size: 1.02rem; color: rgba(255,255,255,.8); font-weight: 300; line-height: 1.7; margin-bottom: 1.5rem; }
.page-header-breadcrumb { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .78rem; color: rgba(255,255,255,.7); margin-top: .5rem; }
.page-header-breadcrumb a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: .35rem; transition: color var(--dur-fast) ease; }
.page-header-breadcrumb a:hover { color: #fff; }
.page-header-breadcrumb i { font-size: .7rem; opacity: .7; }
.page-header-breadcrumb span { color: #fff; font-weight: 500; }

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer { background: #08224f; color: rgba(255,255,255,.6); padding-top: clamp(64px, 7vw, 96px); font-size: .9rem; }
.site-footer h5 { color: #fff; font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.4rem; }
.site-footer p { font-weight: 300; }
.footer-widget { margin-bottom: 1.5rem; }
.footer-widget:last-child { margin-bottom: 0; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul li { margin-bottom: .65rem; }
.footer-widget a { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-widget a:hover { color: #a8d1ff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .65rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-links a:hover { color: #a8d1ff; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: 1rem; font-size: .88rem; line-height: 1.6; }
.footer-contact i { color: #a8d1ff; margin-top: .2rem; }
.socials { display: flex; gap: .55rem; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: rgba(255,255,255,.7); font-size: .95rem; transition: all var(--dur-base) ease; }
.socials a:hover { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%); border-color: transparent; color: #fff; transform: translateY(-3px); }
.footer-bottom { margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid rgba(255,255,255,.1); padding: 1.6rem 0; font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #a8d1ff; }

/* ============================================================
   13. CANVAS MENU
   ============================================================ */
.canvas-menu { --bs-offcanvas-width: 400px; background: #08224f; color: rgba(255,255,255,.75); border: 0; }
.canvas-menu .offcanvas-header { padding: 1.5rem 1.75rem; border-bottom: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
.canvas-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; }
.canvas-brand .brand-mark { border-color: #a8d1ff; color: #a8d1ff; }
.btn-canvas-close { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font-size: 1rem; transition: all var(--dur-base) ease; }
.btn-canvas-close:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.canvas-body { position: relative; flex: 1; overflow: hidden; }
.canvas-panel { position: absolute; inset: 0; padding: 1.4rem 1.75rem 2rem; overflow-y: auto; transform: translateX(100%); opacity: 0; visibility: hidden; transition: transform .38s var(--ease), opacity .3s ease, visibility .38s; }
.canvas-panel.is-active { transform: translateX(0); opacity: 1; visibility: visible; }
.canvas-panel.is-prev { transform: translateX(-30%); opacity: 0; visibility: hidden; }
.canvas-panel-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.5rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.canvas-back { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font-size: .95rem; flex-shrink: 0; transition: all var(--dur-fast) ease; }
.canvas-back:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.canvas-panel-head h4 { color: #fff; font-size: 1.15rem; margin: 0; font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }
.canvas-nav { list-style: none; padding: 0; margin: 0; }
.canvas-nav > li { border-bottom: 1px solid rgba(255,255,255,.07); }
.canvas-nav > li > a, .canvas-nav .canvas-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.05rem 0; background: transparent; border: 0; text-align: left; font-family: var(--font-display); font-size: 1.3rem; color: #fff; transition: all var(--dur-fast) ease; }
.canvas-nav > li > a:hover, .canvas-nav .canvas-toggle:hover { color: #a8d1ff; padding-left: .35rem; }
.canvas-nav .canvas-toggle i { font-size: .85rem; color: rgba(255,255,255,.4); transition: color var(--dur-fast) ease; }
.canvas-nav .canvas-toggle:hover i { color: #a8d1ff; }
.canvas-sub { list-style: none; padding: 0; margin: 0; }
.canvas-sub li { border-bottom: 1px solid rgba(255,255,255,.06); }
.canvas-sub li:last-child { border-bottom: 0; }
.canvas-sub a, .canvas-sub .canvas-toggle-sm { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .85rem 0 .85rem .25rem; background: transparent; border: 0; text-align: left; font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.85); transition: all var(--dur-fast) ease; }
.canvas-sub a:hover, .canvas-sub .canvas-toggle-sm:hover { color: #a8d1ff; padding-left: .6rem; }
.canvas-sub .canvas-toggle-sm i { font-size: .7rem; opacity: .5; }
.canvas-cta { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.08); }
.canvas-cta .btn { width: 100%; justify-content: center; }
.canvas-cta .btn-outline-light-sm { background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff; padding: .72rem 1.25rem; font-size: .82rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: all var(--dur-base) ease; }
.canvas-cta .btn-outline-light-sm:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; }
.canvas-info { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.08); }
.canvas-info p { font-size: .82rem; margin-bottom: .35rem; color: rgba(255,255,255,.55); }
.canvas-info a { color: rgba(255,255,255,.85); }
.canvas-info a:hover { color: #a8d1ff; }

/* ============================================================
   14. REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   15. NO RESULTS & ERROR 404
   ============================================================ */
.no-results { padding: 3rem 1rem; text-align: center; }
.no-results-icon { margin-bottom: 1.5rem; }
.no-results .section-title { color: var(--ink); }
.no-results .section-lead { max-width: 480px; margin-inline: auto; margin-bottom: 1.5rem; }
.error-404 { text-align: center; padding: 1rem 0 2rem; max-width: 720px; margin-inline: auto; }
.error-404-number { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 500; line-height: 1; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: .5rem; letter-spacing: -.04em; }
.error-404-title { font-size: clamp(1.4rem, 2.8vw, 2rem); margin-bottom: 1rem; }
.error-404-desc { font-size: 1rem; color: var(--muted); font-weight: 300; line-height: 1.7; margin-bottom: 2rem; max-width: 520px; margin-inline: auto; }
.error-404-search { max-width: 480px; margin: 0 auto 2rem; }
.error-404-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.error-404-recent { margin-top: 2rem; }

/* ============================================================
   15b. COMMENTS
   ============================================================ */
.comments-area { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.comments-head { margin-bottom: 2rem; }
.comments-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); display: flex; align-items: center; gap: .6rem; margin: 0; }
.comments-title i { color: var(--accent); font-size: 1.2rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.comment-list .children { list-style: none; padding-left: 2rem; margin-top: 1.2rem; }
.swp-comment { margin-bottom: 1.5rem; }
.swp-comment-body { display: flex; gap: 1rem; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.swp-comment-avatar img { border-radius: 50%; width: 48px; height: 48px; object-fit: cover; }
.swp-comment-content { flex: 1; min-width: 0; }
.swp-comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: .6rem; font-size: .82rem; }
.swp-comment-author { font-weight: 600; color: var(--ink); }
.swp-comment-author a { color: var(--ink); }
.swp-comment-author a:hover { color: var(--accent); }
.swp-comment-date { color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; }
.swp-comment-pending { background: #fef3c7; color: #92400e; padding: .15rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 600; }
.swp-comment-text { font-size: .94rem; line-height: 1.7; color: var(--ink-2); }
.swp-comment-text p { margin-bottom: .8rem; }
.swp-comment-text p:last-child { margin-bottom: 0; }
.swp-comment-actions { display: flex; align-items: center; gap: 1rem; margin-top: .75rem; font-size: .8rem; }
.swp-comment-actions a { color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: .35rem; transition: color var(--dur-fast) ease; }
.swp-comment-actions a:hover { color: var(--accent-dark); }
.swp-comment-edit a { color: var(--muted); }
.swp-comment-edit a:hover { color: var(--ink); }
.comment-respond { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comment-reply-title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1.5rem; color: var(--ink); }
.comment-reply-title small { font-size: .76rem; font-weight: 400; margin-left: .75rem; }
.comment-reply-title small a { color: var(--muted); font-size: .82rem; }
.comment-reply-title small a:hover { color: var(--accent); }
.comment-notes { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.comment-form-field { margin-bottom: 1.1rem; }
.comment-form-field .form-label { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); margin-bottom: .4rem; display: block; }
.comment-form-field .form-control { border-radius: 9px; padding: .78rem 1rem; border: 1px solid var(--line); font-size: .92rem; background: #f8fbff; color: var(--ink-2); width: 100%; transition: all var(--dur-fast) ease; }
.comment-form-field .form-control:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(30,95,216,.14); outline: none; }
.comment-form-field textarea.form-control { resize: vertical; min-height: 120px; }
.comment-form-submit { margin-top: 1.5rem; }
.comment-form-submit .btn { cursor: pointer; }
.no-comments { padding: 1rem 0; color: var(--muted); font-size: .9rem; }
.comments-area .comment-navigation, .comments-area .nav-links { display: flex; justify-content: space-between; gap: .5rem; margin: 2rem 0 0; }
.comments-area .nav-links a { padding: .6rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; color: var(--ink-2); transition: all var(--dur-fast) ease; }
.comments-area .nav-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ============================================================
   15c. SIDEBAR WIDGETS (MODERN & CLEAN)
   ============================================================ */
.swp-sidebar .widget { background: #ffffff; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 4px 15px -5px rgba(11, 30, 58, 0.05); }
.swp-sidebar .widget-title, .swp-sidebar .widget .wp-block-heading { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); font-weight: 700; margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--accent-soft); position: relative; }
.swp-sidebar .widget-title::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.swp-sidebar .widget ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.swp-sidebar .widget ul li { padding: 0.7rem 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; line-height: 1.5; }
.swp-sidebar .widget ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.swp-sidebar .widget ul li a { color: var(--ink-2); text-decoration: none; transition: all 0.25s ease; display: flex; align-items: center; gap: 0.5rem; }
.swp-sidebar .widget ul li a::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: 0.65rem; color: var(--muted); transition: color 0.25s ease; }
.swp-sidebar .widget ul li a:hover { color: var(--accent); transform: translateX(4px); }
.swp-sidebar .widget ul li a:hover::before { color: var(--accent); }
.swp-sidebar .widget ul li .count { background: var(--soft); color: var(--muted); font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 6px; }
.swp-sidebar .widget ul li a:has(img)::before { display: none !important; content: none !important; }
.swp-sidebar .widget ul li a:has(img) { display: block !important; transform: none !important; }
.swp-sidebar .widget ul li:has(img) { border-bottom: none !important; padding-bottom: 0 !important; padding-top: 0.5rem !important; }
.swp-sidebar .widget img { max-width: 100%; height: auto; border-radius: 8px; transition: opacity 0.3s ease, transform 0.3s ease; }
.swp-sidebar .widget a:hover img { opacity: 0.9; transform: scale(1.02); }

/* TAG CLOUD (Universal: Sidebar & Footer) */
.swp-sidebar .widget .tagcloud, .site-footer .tagcloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.swp-sidebar .widget .tagcloud a, .site-footer .tagcloud a { display: inline-block; padding: 0.4rem 0.8rem; border-radius: 50px; font-size: 0.78rem !important; text-decoration: none; transition: all 0.25s ease; border: 1px solid transparent; }
.swp-sidebar .widget .tagcloud a { background: var(--soft); color: var(--ink-2) !important; }
.swp-sidebar .widget .tagcloud a:hover { background: #fff; border-color: var(--accent); color: var(--accent) !important; transform: translateY(-2px); box-shadow: 0 4px 10px -4px rgba(30, 95, 216, 0.3); }
.site-footer .tagcloud a { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85) !important; }
.site-footer .tagcloud a:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff !important; transform: translateY(-2px); box-shadow: 0 4px 10px -4px rgba(47, 139, 255, 0.4); }

/* ============================================================
   16. RESPONSIVE & MOBILE OVERFLOW FIX (BETA)
   ============================================================ */
@media (max-width: 1199.98px) {
  .main-nav { margin-left: .5rem; }
  .main-nav .nav-link { padding: 0 .75rem; font-size: .82rem; }
}

/* Tablet & Mobile / Bawah 992px */
@media (max-width: 991.98px) {
  .site-header { top: 0; }
  
  /* Perbaikan Overflow Header & Hamburger */
  .header-inner { flex-wrap: nowrap; gap: 0.5rem; }
  .header-actions { gap: 0.25rem; }
  .brand-text strong { font-size: 0.85rem; }
  .brand-text small { font-size: 0.55rem; }
  .btn-canvas { width: 40px; height: 40px; font-size: 1rem; flex-shrink: 0; }
  .icon-btn { width: 36px; height: 36px; font-size: 1rem; flex-shrink: 0; }

  .about-media { padding-right: 2rem; padding-bottom: 2rem; margin-bottom: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .page-header { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 3rem; }
  
  /* Canvas Menu lebar */
  .canvas-menu { --bs-offcanvas-width: 92vw; }
}

/* HP / Bawah 576px */
@media (max-width: 575.98px) {
  /* Perbaikan Hero Slider Overlap */
  .hero-slider .hs-content {
    padding-top: calc(var(--header-h) + 3rem) !important;
    padding-bottom: 6rem !important; /* Beri ruang bawah agar dot tidak menabrak tombol */
    min-height: 100vh !important;
    display: flex;
    align-items: center;
  }
  .hero-slider .hs-title { font-size: clamp(2rem, 8vw, 2.5rem) !important; line-height: 1.1; }
  .hero-slider .hs-sub { font-size: 0.95rem !important; margin-bottom: 1.5rem !important; }
  .hero-slider .hs-actions { flex-direction: column; width: 100%; gap: 0.75rem !important; }
  .hero-slider .hs-actions .btn { width: 100%; justify-content: center; }
  
  /* Dot & Panah Slider */
  .hero-slider .hs-dots { bottom: 20px !important; padding: 0.4rem 0.8rem !important; }
  .hero-slider .hs-arrow { display: none !important; }
  .hero-slider .hs-counter { display: none !important; }
  .hero-slider .hs-scroll { display: none !important; }

  /* Perbaikan konten */
  .stat { padding: 1.6rem .8rem; }
  .about-badge { left: 0; }
  .page-header { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 2.5rem; }
  
  /* Cegah horizontal scroll dari elemen lain */
  body, html { overflow-x: hidden !important; }
  .row { margin-right: 0; margin-left: 0; }
  .container, .container-fluid { padding-right: 15px; padding-left: 15px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .page-header-content { opacity: 1; transform: none; transition: none; animation: none; }
  .scroll-hint i { animation: none; }
}