/* =========================================================
   KATA KABAR - NEWS WEBSITE UI SYSTEM
   Cleaned final stylesheet without duplicates
   Prioritizes active/final override styles
   ========================================================= */

/* =========================
   1) ROOT TOKENS
   ========================= */
:root {
  /* Brand */
  --color-primary: #0d1fbf;
  --color-primary-header: #0d1fbf;
  --color-primary-hover: #2a3eff;
  --color-danger: #e21b1b;

  /* Light mode */
  --color-bg: #f6f7fb;
  --color-bg-section: #f1f3f9;
  --color-bg-card: #ffffff;
  --color-border: #e6e8f0;

  --color-text: #1a1d29;
  --color-close: #1a1d29;
  --color-text-secondary: #5c6175;
  --color-text-header: #eef1ff;
  --color-text-muted: #8a8fa3;

  --color-link: #0d1fbf;
  --color-link-hover: #2a3eff;
  --color-breaking: #e21b1b;
  --color-tag-bg: #eef1ff;
  --color-tag-text: #0d1fbf;

  /* Helpers */
  --color-success: #0f9f61;
  --color-warning: #f59e0b;
  --color-overlay: rgba(15, 20, 36, 0.45);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 20, 36, 0.04);
  --shadow-sm: 0 4px 14px rgba(15, 20, 36, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 20, 36, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 20, 36, 0.12);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Typography */
  --font-sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 40px;
  --text-4xl: 52px;

  --line-tight: 1.2;
  --line-normal: 1.6;
  --line-relaxed: 1.8;

  /* Layout */
  --container: 980px;
  --header-height: 76px;
  --sidebar-sticky-top: 150px;

  /* Motion */
  --transition-fast: 160ms ease;
  --transition-normal: 240ms ease;
}

/* =========================
   2) DARK MODE TOKENS
   ========================= */
[data-theme="dark"] {
  --color-primary: #6d83ff;
  --color-primary-header: #0d1fbf;
  --color-primary-hover: #93a4ff;
  --color-danger: #ff4b4b;

  --color-bg: #0f1424;
  --color-bg-section: #151b2f;
  --color-bg-card: #1b223a;
  --color-border: #2a3350;

  --color-text: #f2f4fa;
  --color-close: #1a1d29;
  --color-text-secondary: #b7bdd6;
  --color-text-header: #eef1ff;
  --color-text-muted: #7f86a3;

  --color-link: #6d83ff;
  --color-link-hover: #93a4ff;
  --color-breaking: #ff4b4b;
  --color-tag-bg: rgba(109, 131, 255, 0.14);
  --color-tag-text: #c9d2ff;

  --color-success: #34d399;
  --color-warning: #fbbf24;
  --color-overlay: rgba(2, 6, 23, 0.6);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.18);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.34);
}

/* Optional auto dark mode when manual attr is absent */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-primary: #6d83ff;
    --color-primary-header: #0d1fbf;
    --color-primary-hover: #93a4ff;
    --color-danger: #ff4b4b;

    --color-bg: #0f1424;
    --color-bg-section: #151b2f;
    --color-bg-card: #1b223a;
    --color-border: #2a3350;

    --color-text: #f2f4fa;
    --color-text-secondary: #b7bdd6;
    --color-text-muted: #7f86a3;

    --color-link: #6d83ff;
    --color-link-hover: #93a4ff;
    --color-breaking: #ff4b4b;
    --color-tag-bg: rgba(109, 131, 255, 0.14);
    --color-tag-text: #c9d2ff;

    --color-success: #34d399;
    --color-warning: #fbbf24;
    --color-overlay: rgba(2, 6, 23, 0.6);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.18);
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.34);
  }
}

/* =========================
   3) RESET / BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: clip;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: var(--line-normal);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  padding-left: 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote {
  margin: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--space-6) 0;
}

::selection {
  background: rgba(13, 31, 191, 0.18);
  color: var(--color-text);
}

:focus-visible {
  outline: 3px solid rgba(13, 31, 191, 0.22);
  outline-offset: 2px;
  border-radius: 8px;
}

/* =========================
   4) LAYOUT HELPERS
   ========================= */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.page-wrap {
  padding: var(--space-8) 0 var(--space-12);
}

.section {
  background: var(--color-bg-section);
  border-radius: var(--radius-xl);
}

.section + .section {
  margin-top: var(--space-8);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.main-layout,
.site-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
  gap: var(--space-8);
  align-items: start;
}

.site-content-main,
.content-stack {
  min-width: 0;
  display: grid;
  gap: var(--space-8);
}

.site-content-sidebar {
  min-width: 0;
}

.sidebar-stack {
  display: grid;
  gap: var(--space-6);
  position: sticky;
  top: var(--sidebar-sticky-top);
  align-self: start;
  height: fit-content;
}

/* =========================
   5) CARDS
   ========================= */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-body,
.card-header,
.card-footer {
  min-width: 0;
}

.card-body {
  padding: var(--space-5);
}

.card-header,
.card-footer {
  padding: var(--space-5);
}

.card-header {
  border-bottom: 1px solid var(--color-border);
}

.card-footer {
  border-top: 1px solid var(--color-border);
}

/* =========================
   6) HEADER / NAVBAR
   ========================= */

/* =========================
   HEADER BASE
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.header-top {
  position: relative;
  z-index: 30;
}

.header-nav-wrap {
  position: relative;
  z-index: 20;
  width: 100%;
  background: linear-gradient(to right, #e73535, #6f0000);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-nav-wrap .container {
  display: flex;
  justify-content: center;
}

.header-mobile-left,
.header-mobile-right {
  display: none;
}

.desktop-only {
  display: inline-flex;
}

/* =========================
   LOGO
   ========================= */
.site-logo-link,
.footer-logo-link,
.mobile-drawer-brand {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* =========================
   DATETIME / THEME
   ========================= */
.header-datetime {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.theme-icon {
  font-size: 18px;
  line-height: 1;
}

.theme-icon-dark {
  display: none;
}

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: inline;
}

/* =========================
   MAIN NAV BASE
   ========================= */
.main-nav,
.main-nav-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav {
  flex-wrap: wrap;
}

.main-nav-row {
  min-height: 52px;
  flex-wrap: wrap;
  padding: 8px 0;
  justify-content: center;
}

/* visibility helper */
.desktop-main-nav {
  display: flex;
}

.mobile-main-nav {
  display: none;
}

/* link biasa + nav-link dropdown */
.main-nav > a,
.main-nav-row > a,
.main-nav .nav-item > .nav-link,
.main-nav-row .nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-text-header);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  line-height: 1.2;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

/* hover active */
.main-nav > a:hover,
.main-nav > a.is-active,
.main-nav-row > a:hover,
.main-nav-row > a.is-active,
.main-nav .nav-item:hover > .nav-link,
.main-nav .nav-item.is-active > .nav-link,
.main-nav-row .nav-item:hover > .nav-link,
.main-nav-row .nav-item.is-active > .nav-link {
  background: var(--color-primary-header);
  color: var(--color-text-header);
}

/* =========================
   DROPDOWN
   ========================= */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item.has-dropdown > .nav-link {
  cursor: pointer;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-width: 300px;
  padding: 8px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(10, 16, 40, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast),
    transform var(--transition-fast);
  z-index: 120;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: var(--color-bg-card);
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  transform: rotate(45deg);
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.35;
  background: transparent;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-dropdown a:hover,
.nav-dropdown a.is-active {
  background: var(--color-tag-bg, rgba(13, 31, 191, 0.08));
  color: var(--color-primary);
  transform: translateX(2px);
}

/* dropdown kanan jika mepet */
.nav-item:last-child .nav-dropdown,
.nav-item:nth-last-child(2) .nav-dropdown {
  left: auto;
  right: 0;
}

.nav-item:last-child .nav-dropdown::before,
.nav-item:nth-last-child(2) .nav-dropdown::before {
  left: auto;
  right: 22px;
}

/* =========================
   SEARCHBAR
   ========================= */
.searchbar {
  position: relative;
  min-width: 260px;
}

.header-searchbar.searchbar {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.searchbar input,
.header-searchbar.searchbar input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  border-radius: 999px;
  padding: 0 16px 0 44px;
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.searchbar input::placeholder,
.header-searchbar.searchbar input::placeholder {
  color: var(--color-text-muted);
}

.searchbar input:focus,
.header-searchbar.searchbar input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(13, 31, 191, 0.1);
}

.searchbar .icon,
.header-searchbar.searchbar .icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  z-index: 2;
}

/* =========================
   DARK MODE
   ========================= */
[data-theme="dark"] .header-searchbar.searchbar input {
  background: #f6f7fb;
  border-color: #35405f;
  color: #1a1d29;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    var(--shadow-xs);
}

[data-theme="dark"] .header-searchbar.searchbar input::placeholder {
  color: #8f97b5;
}

[data-theme="dark"] .header-searchbar.searchbar .icon {
  color: #9aa3c7;
}

[data-theme="dark"] .header-searchbar.searchbar input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(109, 131, 255, 0.16);
}

[data-theme="dark"] .nav-dropdown {
  background: #151a28;
  border-color: #2a3147;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .nav-dropdown::before {
  background: #151a28;
  border-left-color: #2a3147;
  border-top-color: #2a3147;
}

[data-theme="dark"] .nav-dropdown a {
  color: #e7ebff;
}

[data-theme="dark"] .nav-dropdown a:hover,
[data-theme="dark"] .nav-dropdown a.is-active {
  background: rgba(109, 131, 255, 0.16);
  color: #ffffff;
}

/* =========================
   MOBILE MENU / DRAWER
   ========================= */
.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--transition-fast),
    transform var(--transition-fast),
    color var(--transition-fast),
    background var(--transition-fast);
}

.mobile-menu-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 36, 0.68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--transition-normal),
    visibility var(--transition-normal);
  z-index: 1100;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background:
    radial-gradient(
      circle at top right,
      rgba(13, 31, 191, 0.1),
      transparent 30%
    ),
    var(--color-bg);
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform var(--transition-normal),
    opacity var(--transition-normal),
    visibility var(--transition-normal);
  z-index: 1200;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.mobile-drawer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 16px;
  display: grid;
  gap: 18px;
}

.mobile-drawer-meta,
.mobile-drawer-dummy {
  display: grid;
  gap: 12px;
}

.mobile-drawer-info,
.mobile-drawer-card,
.mobile-overlay-section {
  padding: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
}

.mobile-drawer-card h4 {
  font-size: var(--text-sm);
  font-weight: 900;
  margin-bottom: 6px;
}

.mobile-drawer-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.mobile-drawer-info-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.mobile-drawer-datetime {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.mobile-drawer-theme {
  width: 100%;
  justify-content: center;
  border-radius: 14px;
}

.mobile-drawer-search .searchbar {
  min-width: 100%;
}

.mobile-drawer-nav {
  display: grid;
  gap: 8px;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
  background: var(--color-bg-section);
  border: 1px solid transparent;
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.is-active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-tag-bg);
  transform: translateY(-1px);
}

/* =========================
   NEW OVERLAY LAYOUT
   ========================= */
.mobile-overlay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mobile-overlay-section-head {
  margin-bottom: 14px;
}

.mobile-overlay-section-head h3 {
  font-size: var(--text-md);
  font-weight: 900;
  line-height: 1.2;
}

.mobile-overlay-section-head p {
  margin-top: 6px;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.mobile-overlay-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.mobile-overlay-searchbar {
  min-width: 0;
}

.mobile-overlay-searchbar .searchbar,
.mobile-overlay-searchbar.searchbar {
  min-width: 0;
  width: 100%;
}

.mobile-overlay-search-form .btn {
  min-width: 96px;
  height: 46px;
}

.mobile-drawer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-drawer-nav-grid a {
  justify-content: center;
  text-align: center;
  min-height: 50px;
}

.mobile-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-category-grid a {
  justify-content: center;
  text-align: center;
  min-height: 50px;
}

/* prevent background scroll */
body.drawer-open {
  touch-action: none;
}

/* =========================
   DESKTOP HEADER
   ========================= */
@media (min-width: 861px) {
  .header-top {
    min-height: 78px;
    display: grid;
    grid-template-columns: 220px minmax(320px, 1fr) auto;
    align-items: center;
    gap: var(--space-5);
    padding: 14px 0;
  }

  .header-top-left {
    display: flex;
    align-items: center;
  }

  .header-top-center {
    display: flex;
    justify-content: center;
  }

  .header-top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    white-space: nowrap;
  }

  .header-searchbar {
    width: 100%;
    max-width: 560px;
  }

  .desktop-main-nav {
    display: flex !important;
    width: 100%;
    justify-content: center;
  }

  .mobile-main-nav {
    display: none !important;
  }
}

/* =========================
   MOBILE HEADER
   ========================= */
@media (max-width: 860px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .header-top {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px 0;
  }

  .header-mobile-left,
  .header-mobile-right {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-top-left {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  .header-top-center,
  .header-top-right {
    display: none !important;
  }

  .site-logo-link {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .site-logo {
    height: 34px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    margin-inline: auto;
  }

  .header-nav-wrap {
    overflow: hidden;
  }

  .desktop-main-nav {
    display: none !important;
  }

  .mobile-main-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    min-height: auto;
    padding: 8px 0 10px;
    width: 100%;
    overflow: visible;
  }

  .mobile-main-nav > a {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding: 9px 6px;
    font-size: 11px;
    line-height: 1.2;
    border-radius: 999px;
  }

  .main-nav-row .desktop-only {
    display: none !important;
  }

  .main-nav .nav-item.has-dropdown .nav-dropdown,
  .main-nav-row .nav-item.has-dropdown .nav-dropdown,
  .main-nav .nav-item.has-dropdown .nav-caret,
  .main-nav-row .nav-item.has-dropdown .nav-caret {
    display: none !important;
  }
}

/* =========================
   SMALL MOBILE
   ========================= */
@media (max-width: 640px) {
  .site-logo {
    height: 32px;
    max-width: 150px;
  }

  .mobile-drawer-body {
    padding: 14px;
  }

  .mobile-overlay-grid {
    grid-template-columns: 1fr;
  }

  .mobile-overlay-search-form {
    grid-template-columns: 1fr;
  }

  .mobile-overlay-search-form .btn {
    width: 100%;
  }

  .mobile-drawer-nav-grid {
    grid-template-columns: 1fr;
  }

  .mobile-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* =========================
   7) BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

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

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

.btn-secondary {
  background: var(--color-bg-card);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-danger {
  background: var(--color-danger);
  color: #fff;
}

.btn-danger:hover {
  filter: brightness(1.04);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-tag-bg);
  color: var(--color-primary);
}

/* =========================
   8) BREAKING NEWS BAR
   ========================= */
.breaking-bar {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.breaking-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0;
  min-height: 52px;
}

.breaking-label {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex: 0 0 auto;
  background: var(--color-breaking);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 14px 16px;
}

.breaking-content {
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 14px 18px;
}

.breaking-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.5;
  font-weight: 600;
}

.breaking-link:hover {
  text-decoration: underline;
}

#breakingText {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.breaking-char {
  display: inline-block;
  white-space: pre;
}

/* =========================
   9) SECTION HEADERS
   ========================= */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

.section-title {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.section-subtitle {
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}

.section-link {
  font-size: var(--text-sm);
  font-weight: 700;
}

.category-pill-dynamic {
  background: var(--tag-bg, #eef1ff) !important;
  color: var(--tag-text, #0d1fbf) !important;
  border: 1px solid color-mix(in srgb, var(--tag-bg, #eef1ff) 78%, #000 12%);
  box-shadow: var(--shadow-xs);
}

.category-pill-dynamic a {
  color: inherit !important;
}

.news-list-content {
  min-width: 0;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-list-tag-desktop {
  display: contents;
}

.news-list-tag-mobile {
  display: none;
}

/* style mobile tag dibuat sama seperti desktop */
.news-list-tag-mobile-ui {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 5px 0 0 5px;
  padding: 6px 10px 6px 10px;
  margin-bottom: 8px;
}

.news-list-tag-mobile-ui::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, #ff4d4f 0%, #b30000 100%);
}

@media (max-width: 860px) {
  .news-list-tag-desktop {
    display: none;
  }

  .news-list-tag-mobile {
    display: block;
  }

  .news-list-content {
    justify-content: center;
  }

  .news-list-title {
    order: 2;
  }

  .news-meta {
    order: 3;
    margin-top: 6px;
    margin-bottom: 0;
  }

  .news-list-excerpt {
    display: none !important;
  }
}

/* =========================
   10) HERO
   ========================= */
.hero {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-bottom: 1px solid var(--color-border);
}

[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #141b30 0%, #0f1424 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-main-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 31, 191, 0.06);
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(15, 20, 36, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

[data-theme="dark"] .hero-main-wrap {
  background: rgba(27, 34, 58, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: var(--color-bg-card, #1b223a);
  border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-md, 0 10px 30px rgba(0, 0, 0, 0.12));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 24px 24px 0 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  border-radius: 24px 24px 0 0;
  background:
    linear-gradient(
      to top,
      rgba(10, 14, 24, 0.88) 10%,
      rgba(10, 14, 24, 0.18) 60%
    ),
    linear-gradient(to right, rgba(10, 14, 24, 0.24), transparent);
}

.hero-content,
.news-content,
.widget-body,
.widget-head {
  min-width: 0;
}

.hero-content {
  width: 100%;
  padding: 28px 28px 44px;
  color: #fff;
}

.hero-kicker {
  margin-bottom: 12px;
}

.hero-title {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 900;
  max-width: 760px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px; /* jarak dari bawah slider */

  transform: translateX(-50%);

  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;

  z-index: 5;
}

.dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot.active {
  width: 28px;
  background: #fff;
}

.hero-bottom {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 100%;
  min-width: 0;
}

/* Hero mini cards */
.card.hero-mini {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card, #ffffff);
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.06));
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 8px 24px rgba(0, 0, 0, 0.08));
  height: 100%;
}

.hero-mini-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
}

.hero-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform var(--transition-normal);
  will-change: transform;
}

.card.hero-mini:hover .hero-mini-media img {
  transform: scale(1.08);
}

.hero-mini-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-mini-body {
  padding: 16px;
}

.hero-mini-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 800;
  color: var(--color-text, #111827);
  word-break: break-word;
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-mini-meta {
  font-size: 9px;
  color: var(--color-text-muted, #6b7280);
  overflow-wrap: anywhere;
}

/* =========================
   FOCUS HIGHLIGHT SECTION
   ========================= */
.focus-highlight-section {
  background: #2b2b2f;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Dark mode highlight */
[data-theme="dark"] .focus-highlight-section {
  position: relative;
  background:
    radial-gradient(
      1200px 600px at -10% -20%,
      rgba(13, 31, 191, 0.35),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 110% 120%,
      rgba(226, 27, 27, 0.28),
      transparent 60%
    ),
    linear-gradient(135deg, #0f1424 0%, #151b2f 40%, #1b223a 100%);

  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .focus-highlight-section::before {
  content: "";
  position: absolute;
  inset: -50%;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(13, 31, 191, 0.45),
      transparent 45%
    ),
    radial-gradient(circle at 80% 90%, rgba(226, 27, 27, 0.45), transparent 45%);

  opacity: 0.45;
  mix-blend-mode: screen;

  animation: highlightGradientRotate 8s linear infinite;
}

[data-theme="dark"] .focus-highlight-main-title {
  color: #ffffff;
}

[data-theme="dark"] .focus-highlight-card {
  background: #1b223a;
}

[data-theme="dark"] .focus-highlight-card-title {
  color: #e6e9ff;
}

[data-theme="dark"] .focus-highlight-card-meta {
  color: #9aa3c7;
}

.focus-highlight-section .section-head {
  margin-bottom: 14px;
}

.focus-highlight-section .section-title {
  color: #ffffff;
}

.focus-highlight-section .section-subtitle {
  color: rgba(255, 255, 255, 0.68);
}

.focus-highlight-wrap {
  display: grid;
  gap: 14px;
}

.focus-highlight-main,
.focus-highlight-card {
  min-width: 0;
}

.focus-highlight-main {
  display: grid;
  gap: 14px;
}

.focus-highlight-main-media,
.focus-highlight-card-media {
  display: block;
  overflow: hidden;
}

.focus-highlight-main-media img,
.focus-highlight-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.focus-highlight-main-media {
  border-radius: 10px;
  background: #1f1f23;
}

.focus-highlight-main-media img {
  aspect-ratio: 16 / 9;
}

.focus-highlight-main-content {
  min-width: 0;
}

.focus-highlight-main-title {
  font-size: 17px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
}

.focus-highlight-main-title a {
  color: #ffffff;
  text-decoration: none;
}

.focus-highlight-main-title a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.focus-highlight-main-meta {
  margin-top: 6px;
  font-size: 11px;
  color: #7b7d86;
}

.focus-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.focus-highlight-card {
  background: #f4f4f5;
  border-radius: 8px;
  overflow: hidden;
}

.focus-highlight-card-media {
  background: #d8d8dc;
}

.focus-highlight-card-media img {
  aspect-ratio: 16 / 9;
}

.focus-highlight-card-body {
  padding: 8px 10px 10px;
}

.focus-highlight-card-title {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  color: #25262b;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
}

.focus-highlight-card-title a {
  color: inherit;
  text-decoration: none;
}

.focus-highlight-card-title a:hover {
  color: inherit;
  text-decoration: underline;
}

.focus-highlight-card-meta {
  margin-top: 6px;
  font-size: 11px;
  color: #7b7d86;
}

.focus-highlight-card-desktop-only {
  display: none;
}

/* Desktop */
@media (min-width: 861px) {
  .focus-highlight-section {
    padding: 14px;
    border-radius: 10px;
  }

  .focus-highlight-wrap {
    gap: 14px;
  }

  .focus-highlight-main {
    grid-template-columns: minmax(320px, 1.08fr) minmax(220px, 1fr);
    align-items: center;
    gap: 16px;
  }

  .focus-highlight-main-media {
    border-radius: 8px;
  }

  .focus-highlight-main-media img {
    aspect-ratio: 16 / 8.7;
  }

  .focus-highlight-main-title {
    font-size: 24px;
    line-height: 1.22;
  }

  .focus-highlight-main-meta {
    margin-top: 6px;
    font-size: 12px;
    color: #7b7d86;
  }

  .focus-highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .focus-highlight-card {
    border-radius: 8px;
  }

  .focus-highlight-card-body {
    padding: 10px 12px 12px;
  }

  .focus-highlight-card-title {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
  }

  .focus-highlight-card-meta {
    margin-top: 8px;
    font-size: 10px;
  }

  .focus-highlight-card-desktop-only {
    display: block;
  }
}

/* Mobile */
@media (max-width: 860px) {
  .focus-highlight-section {
    padding: 8px;
    border-radius: 10px;
    margin-inline: -16px;
  }

  .focus-highlight-section .section-head {
    padding: 0 8px;
  }

  .focus-highlight-main {
    gap: 10px;
  }

  .focus-highlight-main-media {
    border-radius: 6px;
  }

  .focus-highlight-main-media img {
    aspect-ratio: 16 / 9.3;
  }

  .focus-highlight-main-title {
    font-size: 14px;
    line-height: 1.32;
    padding: 0 2px;
  }

  .focus-highlight-main-meta {
    margin-top: 6px;
    font-size: 12px;
    padding: 0 2px;
  }

  .focus-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .focus-highlight-card {
    border-radius: 6px;
  }

  .focus-highlight-card-body {
    padding: 7px 8px 9px;
  }

  .focus-highlight-card-title {
    font-size: 12px;
    line-height: 1.35;
  }

  .focus-highlight-card-meta {
    margin-top: 5px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .focus-highlight-section {
    margin-inline: -8px;
  }

  .focus-highlight-main-title {
    font-size: 13px;
  }

  .focus-highlight-card-title {
    font-size: 11px;
  }

  .focus-highlight-card-meta {
    font-size: 10px;
  }
}

/* =========================
   SIDEBAR PHOTO GALLERY
   ========================= */
.sidebar-gallery-widget {
  overflow: hidden;
}

.sidebar-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.sidebar-gallery-item {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

/* 2 item = 2 kolom */
.sidebar-gallery-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 3 item = 2 kolom + 1 full */
.sidebar-gallery-grid-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sidebar-gallery-grid-3 .sidebar-gallery-item:nth-child(3) {
  grid-column: 1 / -1;
}

/* 4 item = 2 kolom semua */
.sidebar-gallery-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sidebar-gallery-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-bg-section);
  box-shadow: var(--shadow-xs);
}

.sidebar-gallery-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-normal);
}

.sidebar-gallery-item:hover .sidebar-gallery-media img {
  transform: scale(1.06);
}

/* samakan dengan page album list */
.photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.photo-overlay-content {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.photo-overlay-content i {
  font-size: var(--text-sm);
}

.sidebar-gallery-media:hover .photo-overlay-content {
  background: var(--color-danger);
  color: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.sidebar-gallery-title {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--color-text);
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.4em * 3);
}

.sidebar-gallery-title a {
  color: inherit;
  text-decoration: none;
}

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

@media (max-width: 860px) {
  .sidebar-gallery-grid {
    gap: 12px;
  }

  .sidebar-gallery-media {
    border-radius: 12px;
  }

  .photo-overlay-content {
    gap: 5px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .photo-overlay-content i {
    font-size: 11px;
  }

  .sidebar-gallery-title {
    font-size: 12px;
  }
}
/* =========================
   11) TAGS / CATEGORY STRIP
   ========================= */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-text, #111827);
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: all var(--transition-fast);
}

.category-chip:hover,
.category-chip.is-active {
  border-color: var(--color-primary);
  background: var(--color-tag-bg);
  color: var(--color-primary);
}

/* =========================
   12) NEWS CARDS / LIST
   ========================= */
.news-card {
  overflow: hidden;
}

.news-thumb,
.news-list-thumb {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-section);
  border-radius: inherit;
}

.news-thumb {
  aspect-ratio: 16 / 10;
}

.news-thumb img,
.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform var(--transition-normal);
  will-change: transform;
}

.news-card:hover .news-thumb img,
.news-list-item:hover .news-list-thumb img {
  transform: scale(1.08);
}

.news-content {
  padding: var(--space-5);
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: var(--space-3);
  font-size: 9px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.news-title {
  font-size: clamp(18px, 2vw, 1.05rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.news-title + .news-excerpt {
  margin-top: 10px;
}

.news-excerpt {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}

.news-footer {
  margin-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.news-author {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* Compact list */
.news-list {
  display: grid;
  gap: var(--space-4);
}

.news-list-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

.news-list-thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.news-list-item > div:last-child {
  min-width: 0;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-list-tag {
  position: absolute;
  bottom: 7px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border-radius: 5px 0 0 5px;
  padding-left: 10px; /* biar ada ruang dari garis */
  position: absolute;
}

/* garis merah kiri */
.news-list-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0px;
  bottom: 0px;
  width: 4px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, #ff4d4f 0%, #b30000 100%);
}

.news-list-title {
  font-size: var(--text-md);
  line-height: 1.35;
  font-weight: 800;
  word-break: break-word;
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-list-excerpt {
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================
   ARTICLE COMMENTS - IG STYLE
   ========================= */

.article-comments-wrap {
  padding: 0 var(--space-8) var(--space-8);
}

.article-comments-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.article-comments-header {
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.article-comments-heading {
  min-width: 0;
}

.article-comments-title {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}

.article-comments-subtitle {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.article-comments-body {
  padding: 20px 24px 24px;
}

/* alerts */
.article-comments-alert {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.article-comments-alert-success {
  background: rgba(15, 159, 97, 0.08);
  border-color: rgba(15, 159, 97, 0.18);
  color: #0b7a4a;
}

.article-comments-alert-danger {
  background: rgba(226, 27, 27, 0.08);
  border-color: rgba(226, 27, 27, 0.16);
  color: #b91c1c;
}

.article-comments-alert-list {
  margin: 0;
  padding-left: 18px;
}

/* stream */
.article-comments-stream {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* item */
.article-comment {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.article-comment-main {
  min-width: 0;
}

.article-comment-avatar,
.article-comments-composer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-hover) 100%
  );
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 40px;
  box-shadow: var(--shadow-xs);
}

.article-comment-avatar-child {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 12px;
  background: linear-gradient(135deg, #6f7cff 0%, #9ca8ff 100%);
}

.article-comment-content {
  min-width: 0;
}

.article-comment-textline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.article-comment-author {
  font-weight: 800;
  color: var(--color-text);
  margin-right: 6px;
}

.article-comment-text {
  color: var(--color-text-secondary);
}

.article-comment-replying-to {
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 4px;
}

.article-comment-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.article-comment-time {
  color: var(--color-text-muted);
  font-weight: 600;
}

.article-comment-reply-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.article-comment-reply-btn:hover {
  color: var(--color-text);
}

/* replies */
.article-comment-children {
  margin-top: 12px;
  margin-left: 6px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.article-comment-children::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-border) 70%, transparent);
}

.article-comment-child {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

/* empty */
.article-comments-empty {
  padding: 28px 16px;
  text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: 18px;
  background: color-mix(
    in srgb,
    var(--color-bg-section) 70%,
    var(--color-bg-card)
  );
}

.article-comments-empty-title {
  color: var(--color-text);
  font-size: 17px;
  font-weight: 800;
}

.article-comments-empty-text {
  margin-top: 6px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* divider */
.article-comments-divider {
  height: 1px;
  margin: 22px 0 18px;
  background: var(--color-border);
}

/* composer */
.article-comments-composer {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.article-comments-composer-main {
  min-width: 0;
}

.article-comments-form {
  display: grid;
  gap: 10px;
}

.article-comments-reply-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(13, 31, 191, 0.14);
  border-radius: 14px;
  background: rgba(13, 31, 191, 0.05);
}

.article-comments-reply-banner-text {
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.5;
}

.article-comments-reply-cancel {
  border: 0;
  background: transparent;
  color: var(--color-danger);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.article-comments-form-group {
  min-width: 0;
}

.article-comments-input,
.article-comments-textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-section);
  color: var(--color-text);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.article-comments-input {
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
}

.article-comments-textarea {
  min-height: 92px;
  padding: 12px 14px;
  border-radius: 18px;
  resize: vertical;
  line-height: 1.6;
  font-size: 14px;
}

.article-comments-input::placeholder,
.article-comments-textarea::placeholder {
  color: var(--color-text-muted);
}

.article-comments-input:focus,
.article-comments-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(13, 31, 191, 0.08);
  background: var(--color-bg-card);
}

.article-comments-form-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.article-comments-submit {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    filter var(--transition-fast),
    box-shadow var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.article-comments-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: var(--shadow-sm);
}

/* dark mode */
[data-theme="dark"] .article-comments-card,
[data-theme="dark"] .article-comments-header {
  background: var(--color-bg-card);
}

[data-theme="dark"] .article-comments-empty {
  background: color-mix(in srgb, var(--color-bg-section) 88%, #ffffff 12%);
}

[data-theme="dark"] .article-comments-input,
[data-theme="dark"] .article-comments-textarea {
  background: rgba(255, 255, 255, 0.03);
}

/* tablet */
@media (max-width: 860px) {
  .article-comments-wrap {
    padding: 0 16px 16px;
  }

  .article-comments-header {
    padding: 18px 18px 12px;
  }

  .article-comments-body {
    padding: 18px;
  }
}

/* mobile */
@media (max-width: 640px) {
  .article-comments-wrap {
    padding: 0 12px 16px;
  }

  .article-comments-card {
    border-radius: 18px;
  }

  .article-comments-header {
    padding: 16px 14px 10px;
  }

  .article-comments-body {
    padding: 14px;
  }

  .article-comments-title {
    font-size: 18px;
  }

  .article-comments-subtitle {
    font-size: 13px;
  }

  .article-comment,
  .article-comments-composer {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .article-comment-avatar,
  .article-comments-composer-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 12px;
  }

  .article-comment-child {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
  }

  .article-comment-avatar-child {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 11px;
  }

  .article-comment-textline {
    font-size: 13px;
    line-height: 1.55;
  }

  .article-comment-meta {
    gap: 10px;
    font-size: 11px;
  }

  .article-comment-children {
    padding-left: 14px;
    margin-left: 2px;
  }

  .article-comments-input {
    height: 40px;
    font-size: 13px;
  }

  .article-comments-textarea {
    min-height: 84px;
    font-size: 13px;
    border-radius: 16px;
  }

  .article-comments-submit {
    min-height: 36px;
    padding: 0 16px;
    font-size: 12px;
  }
}
/* =========================
   13) SIDEBAR WIDGETS
   ========================= */
.widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.widget-title {
  font-size: var(--text-lg);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.widget-body {
  padding: var(--space-5);
}

/* Trending */
.trending-widget {
  overflow: hidden;
}

.trending-featured-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.trending-featured-link {
  display: block;
  overflow: hidden;
}

.trending-featured-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform var(--transition-normal);
  will-change: transform;
}

.trending-featured-link:hover img,
.trending-item-featured:hover ~ .trending-featured-media img {
  transform: scale(1.08);
}

.trending-list {
  display: grid;
  gap: var(--space-4);
}

.trending-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.trending-item + .trending-item {
  padding-top: 2px;
}

.trending-number {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: transparent;
  color: transparent;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  font-family: var(--font-sans);
  letter-spacing: -0.05em;
  text-align: center;
  text-shadow: none;
  -webkit-text-stroke: 1.5px var(--color-primary);
  text-stroke: 1.5px var(--color-primary);
  opacity: 0.95;
}

.trending-item-featured .trending-number {
  font-size: 40px;
  -webkit-text-stroke: 1.8px var(--color-danger);
  text-stroke: 1.8px var(--color-danger);
}

.trending-title {
  font-size: var(--text-sm);
  line-height: 1.45;
  font-weight: 800;
  word-break: break-word;
  overflow-wrap: anywhere;
  transition: color var(--transition-fast);
}

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

.trending-item-featured .trending-title {
  font-size: 15px;
  line-height: 1.42;
}

.trending-meta {
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.trending-widget:has(.trending-item-featured:hover)
  .trending-featured-media
  img {
  transform: scale(1.08);
}

/* Dark mode */
[data-theme="dark"] .trending-number {
  -webkit-text-stroke: 1.5px #8ea2ff;
  text-stroke: 1.5px #8ea2ff;
}

[data-theme="dark"] .trending-item-featured .trending-number {
  -webkit-text-stroke: 1.8px #ff7b7b;
  text-stroke: 1.8px #ff7b7b;
}

/* Newsletter */
.newsletter-box {
  display: grid;
  gap: var(--space-4);
}

.newsletter-box p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.newsletter-form {
  display: grid;
  gap: var(--space-3);
}

.newsletter-form input {
  height: 46px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0 14px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(13, 31, 191, 0.08);
}

/* =========================
   14) ARTICLE DETAIL PAGE
   ========================= */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  gap: var(--space-8);
  min-width: 0;
}

.article-main {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

.article-body-wrap,
.article-body-layout,
.article-inline-ad-shell,
.article-inline-ad-sticky {
  overflow: visible;
}

@media (min-width: 1101px) {
  .article-body-layout.has-inline-ad {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .article-inline-ad-shell {
    position: relative;
    align-self: start;
  }

  .article-inline-ad-sticky {
    position: sticky;
    top: calc(var(--sidebar-sticky-top) - 10px);
    align-self: start;
  }

  .article-inline-ad-card {
    position: relative;
    padding: 10px;
    background: var(--color-bg-section);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-xs);
    overflow: visible;
  }

  .article-inline-ad-card .ad-slot {
    width: 100%;
    max-width: 90px;
    margin-inline: auto;
  }
}

.article-header {
  padding: var(--space-8) var(--space-8) var(--space-6);
}

/* top row: breadcrumb kiri, time kanan */
.article-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--space-5);
}

.article-breadcrumb {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-start;
}

.article-time {
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
}

.article-kicker {
  margin-bottom: var(--space-4);
}

.article-title {
  font-size: clamp(10px, 4vw, 26px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 900;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.article-deck {
  margin-top: var(--space-4);
  color: var(--color-danger);
  font-size: clamp(12px, 1.4vw, 20px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.article-meta {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* wrapper gambar utama */
.article-cover-wrap {
  padding: 0 var(--space-8);
  margin: 0 0 var(--space-6);
}

/* gambar utama */
.article-cover {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  object-fit: contain;
  aspect-ratio: auto;
}

/* caption khusus cover */
.article-cover-caption {
  position: relative;
  margin-top: 12px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-section);
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.7;
  font-style: italic;
  text-align: left;
}

.article-cover-caption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, #ff4d4f 0%, #b30000 100%);
}

/* byline: editor kiri, views kanan, wartawan bawah kiri */
.article-byline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "editor views"
    "writer views";
  column-gap: 16px;
  row-gap: 4px;
  align-items: start;
  padding: 0 var(--space-8) var(--space-6);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.article-byline-editor {
  grid-area: editor;
  min-width: 0;
}

.article-byline-writer {
  grid-area: writer;
  min-width: 0;
}

.article-byline-views {
  grid-area: views;
  align-self: start;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
}

.article-byline strong {
  color: var(--color-text);
  font-weight: 700;
}

.article-views-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.85;
  flex: 0 0 18px;
}

.article-body {
  padding: var(--space-8);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: var(--line-relaxed);
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.article-body > * + * {
  margin-top: 1.2em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.6em;
}

.article-body h2 {
  font-size: 30px;
}

.article-body h3 {
  font-size: 24px;
}

.article-body a {
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.article-body blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 12px 0 12px 18px;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* gambar di isi artikel */
.article-body figure {
  margin: 1em 0;
}

.article-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.article-body .article-inline-ad .ad-slot-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--ad-radius, 2px);
}

.article-body .ad-slot-image {
  height: 100%;
  border-radius: var(--ad-radius, 2px);
}

/* caption gambar di isi artikel */
.article-body figcaption {
  position: relative;
  margin-top: 12px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg-section);
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.7;
  font-style: italic;
  text-align: left;
}

.article-body figcaption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0px;
  bottom: 0px;
  width: 4px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, #ff4d4f 0%, #b30000 100%);
}

/* wrapper author box */
.article-author-wrap {
  padding: 0 var(--space-8) var(--space-8);
}

/* dark mode fine tune */
[data-theme="dark"] .article-cover-caption,
[data-theme="dark"] .article-body figcaption {
  background: color-mix(in srgb, var(--color-bg-section) 88%, #ffffff 12%);
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}

/* tablet */
@media (max-width: 860px) {
  .article-header {
    padding: var(--space-6) 16px var(--space-5);
  }

  .article-header-top {
    gap: 10px;
    margin-bottom: var(--space-4);
  }

  .article-time {
    font-size: 13px;
  }

  .article-cover-wrap {
    padding: 0 16px;
    margin-bottom: var(--space-5);
  }

  .article-cover {
    border-radius: 18px;
    aspect-ratio: auto;
    height: auto;
  }

  .article-cover-caption {
    margin-top: 10px;
    padding: 11px 12px 11px 16px;
    font-size: 13px;
    line-height: 1.65;
    border-radius: 12px;
  }

  .article-cover-caption::before {
    width: 3px;
    top: 8px;
    bottom: 8px;
  }

  .article-byline {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "editor views"
      "writer views";
    column-gap: 12px;
    row-gap: 4px;
    padding: 0 16px 16px;
  }

  .article-body {
    padding: 16px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .article-body h3 {
    font-size: 20px;
  }

  .article-body figcaption {
    padding: 11px 12px 11px 16px;
    font-size: 13px;
    line-height: 1.65;
    border-radius: 5px;
  }

  .article-body figcaption::before {
    width: 3px;
  }

  .article-share {
    padding: 0 16px 16px;
  }

  .article-author-wrap {
    padding: 0 16px 16px;
  }
}

/* mobile */
@media (max-width: 640px) {
  .article-header-top {
    align-items: flex-start;
    gap: 8px;
  }

  .article-breadcrumb {
    font-size: 12px;
    line-height: 1.4;
  }

  .article-time {
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .article-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .article-cover-wrap {
    padding: 0 12px;
  }

  .article-cover {
    border-radius: 16px;
    aspect-ratio: auto;
    height: auto;
  }

  .article-cover-caption {
    font-size: 12px;
    line-height: 1.6;
    padding: 10px 12px 10px 15px;
  }

  .article-byline {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "editor views"
      "writer views";
    column-gap: 10px;
    row-gap: 2px;
    padding: 0 12px 16px;
    font-size: 12px;
  }

  .article-byline-views {
    font-size: 12px;
  }

  .article-views-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .article-body {
    font-size: 14px;
  }

  .article-body figcaption {
    font-size: 12px;
    line-height: 1.6;
    padding: 10px 12px 10px 15px;
  }

  .article-author-wrap {
    padding: 0 12px 16px;
  }
}

/* =========================
   ARTICLE SHARE BUTTONS
   ========================= */
.article-share {
  padding: 0 var(--space-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.article-share-label {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1;
}

.article-share-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.share-btn {
  min-width: 0;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  transition:
    transform var(--transition-fast),
    filter var(--transition-fast),
    opacity var(--transition-fast);
}

.share-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.share-btn:active {
  transform: translateY(0);
}

.share-btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.share-btn-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.share-btn-text {
  display: inline-block;
  white-space: nowrap;
}

/* brand colors */
.share-btn-facebook {
  background: #1877f2;
}

.share-btn-x {
  background: #000000;
}

.share-btn-whatsapp {
  background: #25d366;
}

.share-btn-telegram {
  background: #229ed9;
}

/* desktop/tablet */
@media (min-width: 641px) {
  .article-share-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* mobile: tetap sejajar, hanya icon */
@media (max-width: 640px) {
  .article-share {
    padding: 0 12px 16px;
    gap: 10px 12px;
  }

  .article-share-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .share-btn {
    height: 42px;
    padding: 0;
    gap: 0;
  }

  .share-btn-text {
    display: none;
  }

  .share-btn-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .share-btn-icon svg {
    width: 20px;
    height: 20px;
  }
}
/* =========================
   ARTICLE TAGS
   ========================= */
.article-tags-wrap {
  padding: 0 var(--space-8) var(--space-6);
  display: grid;
  gap: 12px;
}

.article-tags-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-xs);
}

.article-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--color-tag-bg);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.article-tag-chip:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .article-tags-wrap {
    padding: 0 16px 16px;
    gap: 10px;
  }

  .article-tag-chip {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .article-tags-wrap {
    padding: 0 12px 16px;
  }

  .article-tags-label {
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
  }

  .article-tags-list {
    gap: 8px;
  }

  .article-tag-chip {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }
}

/* =========================
   ARTICLE BODY + STICKY SIDE AD
   ========================= */

.article-main {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: visible !important;
}

.article-body-wrap {
  padding: 0 var(--space-8) var(--space-8);
  margin-top: 20px;
  overflow: visible !important;
}

.article-body-layout {
  display: block;
  min-width: 0;
  overflow: visible !important;
}

.article-body-layout .article-body {
  padding: 0;
}

.article-inline-ad-shell,
.article-inline-ad-sticky,
.article-inline-ad-card {
  overflow: visible !important;
}

/* desktop only */
@media (min-width: 1101px) {
  .article-body-layout.has-inline-ad {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    overflow: visible !important;
  }

  /* PENTING: yang sticky dibuat elemen grid item langsung */
  .article-inline-ad-shell {
    position: sticky;
    top: var(--sidebar-sticky-top);
    align-self: start;
    min-width: 0;
    height: fit-content;
  }

  .article-inline-ad-sticky {
    position: relative;
    top: auto;
  }

  .article-inline-ad-card {
    position: relative;
    padding: 10px;
    background: var(--color-bg-section);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-xs);
    overflow: visible !important;
  }

  .article-inline-ad-card .ad-slot {
    width: 100%;
    max-width: 90px;
    margin-inline: auto;
  }

  .article-inline-ad-card .ad-slot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .article-inline-ad-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-close);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    box-shadow: var(--shadow-xs);
    transition:
      transform var(--transition-fast),
      border-color var(--transition-fast),
      color var(--transition-fast),
      background var(--transition-fast);
  }

  .article-inline-ad-close:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
    color: var(--color-primary);
  }

  .article-body-layout.has-inline-ad .article-body {
    min-width: 0;
    padding: 0;
  }

  .article-body-layout.is-ad-closed {
    display: block;
  }

  .article-body-layout.is-ad-closed .article-inline-ad-shell {
    display: none;
  }
}

/* tablet + mobile */
@media (max-width: 1100px) {
  .article-body-wrap {
    padding: 0;
  }

  .article-body-layout,
  .article-body-layout.has-inline-ad,
  .article-body-layout.is-ad-closed {
    display: block;
  }

  .article-inline-ad-shell {
    display: none !important;
  }

  .article-body-layout .article-body {
    padding: var(--space-8);
  }
}

@media (max-width: 860px) {
  .article-body-layout .article-body {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .article-body-layout .article-body {
    padding: 12px;
  }
}

/* =========================
   15) AUTHOR BOX
   ========================= */
.author-box {
  display: grid;
  grid-template-columns: 70px minmax(106px, 1fr) minmax(300px, 325px);
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-bg-section) 92%, #ffffff 8%) 0%,
    var(--color-bg-section) 100%
  );
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.author-box-col {
  min-width: 0;
}

.author-box-col-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  flex: 0 0 70px;
}

.author-box-col-main {
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 0;
}

.author-box-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-danger);
  line-height: 1.2;
}

.author-name {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--color-text);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.author-box-col-side {
  min-width: 0;
}

/* PANEL GABUNGAN INFO + CTA */
.author-side-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  align-items: stretch;
  min-height: 112px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-xs);
}

.author-side-info {
  display: grid;
  grid-template-rows: 1fr 1fr;
  background: var(--color-bg-card);
  min-width: 0;
}

.author-side-row {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px 18px;
  min-width: 0;
}

.author-side-row + .author-side-row {
  border-top: 1px solid var(--color-border);
}

.author-side-row-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

.author-side-row-value {
  text-align: left;
  font-size: 15px;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.author-side-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px 0 28px;
  margin-left: -1px;
  background: var(--color-primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 50%);
  border-left: 1px solid
    color-mix(in srgb, var(--color-primary) 78%, #ffffff 10%);
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.author-side-cta:hover {
  background: var(--color-primary-hover);
  color: #fff !important;
  transform: none;
  box-shadow: none;
}

.author-side-cta span {
  display: block;
  position: relative;
  z-index: 2;
}

/* tablet */
@media (max-width: 860px) {
  .author-box {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    flex-basis: 72px;
  }

  .author-name {
    font-size: 20px;
  }

  .author-box-col-side {
    grid-column: 1 / -1;
  }

  .author-side-panel {
    grid-template-columns: minmax(0, 1fr) 118px;
    min-height: 96px;
    border-radius: 16px;
  }

  .author-side-row {
    padding: 12px 14px;
  }

  .author-side-row-value {
    font-size: 15px;
  }

  .author-side-cta {
    clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%);
  }
}

/* mobile */
@media (max-width: 640px) {
  .author-box {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .author-box-col-avatar {
    align-items: start;
    justify-content: flex-start;
  }

  .author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    flex-basis: 64px;
  }

  .author-box-col-main {
    gap: 4px;
  }

  .author-box-label {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .author-name {
    font-size: 16px;
    line-height: 1.2;
  }

  .author-box-col-side {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
  }

  .author-side-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 10px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .author-side-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--color-bg-card);
    box-shadow: var(--shadow-xs);
  }

  .author-side-row {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 12px;
  }

  .author-side-row + .author-side-row {
    border-top: 0;
    border-left: 1px solid var(--color-border);
  }

  .author-side-row-label {
    font-size: 11px;
    line-height: 1.3;
  }

  .author-side-row-value {
    text-align: left;
    font-size: 13px;
    line-height: 1.35;
  }

  .author-side-cta {
    min-height: 42px;
    margin-left: 0;
    clip-path: none;
    border-left: 0;
    border-radius: 999px;
    padding: 0 14px;
    transform: none !important;
    box-shadow: var(--shadow-xs);
  }
}

/* =========================
   16) PAGINATION
   ========================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-8);
}

.page-link {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-weight: 700;
}

.page-link:hover,
.page-link.is-active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-tag-bg);
}

.article-pagination {
  display: flex;
  justify-content: space-between;
  box-shadow: inset 5px 5px 4px #00000047;
  padding: 10px;
  min-width: 590px;
  margin: 0 var(--space-8) var(--space-8);
  padding: 10px 12px 10px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: #f1f1f1;
  border: 1px solid #e2e2e2;
  border-radius: 25px;
  box-shadow: inset 5px 5px 4px #00000047;
}

.article-pagination-label {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}

.article-pagination-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.article-pagination-link {
  width: 36px;
  height: 36px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #e5e7eb;
  border: 1px solid rgba(17, 24, 39, 0.18);
  color: #111827;

  font-size: 15px;
  font-weight: 900;
  text-decoration: none;

  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.8),
    inset 0 -3px 5px rgba(15, 20, 36, 0.16),
    0 2px 5px rgba(15, 20, 36, 0.12);

  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.article-pagination-link:hover,
.article-pagination-link.is-active {
  background: #00537f;
  border-color: #004466;
  color: #ffffff;

  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.22),
    inset 0 -4px 6px rgba(0, 0, 0, 0.22),
    0 3px 8px rgba(0, 83, 127, 0.28);
}

/* Sembunyikan teks Next/Halaman 1 lama */
.article-pagination-next,
.article-pagination-all {
  display: none;
}

@media (max-width: 640px) {
  .article-pagination {
    min-width: 0;
    width: calc(100% - 32px);
    max-width: 590px;

    margin: 0 16px 16px;
    padding: 8px 10px 8px 14px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;

    border-radius: 25px;
    overflow: hidden;
  }

  .article-pagination-label {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .article-pagination-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .article-pagination-link {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 12px;
    flex: 0 0 auto;
  }

  .pagination-wrap {
    min-width: 0;
    width: calc(100% - 32px);
    max-width: 590px;
    margin: 0 16px 16px;
    overflow: hidden;
  }
}

.pagination-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: inset 5px 5px 4px #00000047;
  border-radius: 25px;
  background: #f1f1f1;
  padding: 10px;
  max-width: 590px;
  width: 100%;
}

/* =========================
   17) FOOTER
   Premium News Portal Style
   ========================= */
.site-footer {
  /* margin-top: var(--space-12); */
  border-top: 1px solid var(--color-border);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-bg-section) 92%, #ffffff 8%) 0%,
    var(--color-bg-section) 100%
  );
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--color-border) 65%, transparent) 18%,
    color-mix(in srgb, var(--color-border) 100%, transparent) 50%,
    color-mix(in srgb, var(--color-border) 65%, transparent) 82%,
    transparent 100%
  );
  opacity: 0.7;
}

.footer-main {
  min-width: 0;
  padding: clamp(2.5rem, 4vw, 4.25rem) 0;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: clamp(2rem, 3vw, 4rem);
  align-items: start;
}

/* LEFT */
.footer-left {
  min-width: 0;
  padding-right: clamp(0rem, 1vw, 1rem);
}

.footer-brand {
  position: relative;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-brand p {
  margin-top: var(--space-5);
  color: var(--color-text-secondary);
  max-width: 42ch;
  line-height: 1.8;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.footer-network {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 82%, transparent);

  display: flex;
  flex-direction: column;
  align-items: center; /* center horizontal */
  text-align: center;
}

.footer-network-title {
  text-align: center;
}

.footer-network-logos {
  margin-top: var(--space-4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-network-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.footer-network-logos a:hover {
  transform: translateY(-2px);
  border-color: color-mix(
    in srgb,
    var(--color-primary) 28%,
    var(--color-border)
  );
  background: color-mix(
    in srgb,
    var(--color-primary) 4%,
    var(--color-card, #fff)
  );
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.footer-network-logo {
  height: 37px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* RIGHT */
.footer-right {
  min-width: 0;
  display: grid;
  gap: clamp(1.5rem, 2vw, 2.5rem);
}

.footer-title {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 10px;
  /* border-radius: 999px; */
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    color-mix(in srgb, var(--color-primary) 35%, transparent) 100%
  );
}

/* section cards feel */
.footer-categories,
.footer-company,
.footer-others {
  padding: 0;
}

.footer-categories {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid
    color-mix(in srgb, var(--color-border) 82%, transparent);
}

.footer-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 2vw, 3rem);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -2px;
  background: currentColor;
  opacity: 0.7;
  transition: width 0.22s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(2px);
}

.footer-links a:hover::before {
  width: 100%;
}

/* row 1: kategori */
.footer-categories .footer-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 28px;
}

/* bottom copyright */
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--color-border) 82%, transparent);
  padding: 1rem 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  background: color-mix(in srgb, var(--color-bg-section) 94%, #000000 6%);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* =========================
   TABLET / MOBILE
   ========================= */
@media (max-width: 991px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: clamp(2.25rem, 5vw, 3rem) 0;
  }

  .footer-left {
    text-align: center;
    padding-right: 0;
  }

  .footer-logo-link,
  .footer-logo {
    margin-inline: auto;
  }

  .footer-brand p {
    margin-inline: auto;
    max-width: 52ch;
  }

  .footer-network {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
  }

  .footer-network-logos {
    justify-content: center;
  }

  .footer-categories .footer-title,
  .footer-company .footer-title,
  .footer-others .footer-title {
    text-align: left;
  }

  .footer-categories .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }

  .footer-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .footer-company .footer-links,
  .footer-others .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .footer-logo {
    height: 42px;
  }

  .footer-brand p {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .footer-network-logos {
    gap: 12px;
  }

  .footer-network-logos a {
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .footer-network-logo {
    height: 28px;
  }

  .footer-categories .footer-links,
  .footer-bottom-grid {
    gap: var(--space-5);
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 0.93rem;
  }
}

/* =========================
   18) FORMS / INPUTS
   ========================= */
.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  border-radius: 14px;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.input,
.select {
  height: 46px;
  padding: 0 14px;
}

.textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-text-muted);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(13, 31, 191, 0.08);
}

/* =========================
   19) BREADCRUMB
   ========================= */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.breadcrumb a {
  color: var(--color-text-secondary);
}

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

/* =========================
   20) UTILITIES
   ========================= */
.text-primary {
  color: var(--color-primary);
}

.text-danger {
  color: var(--color-danger);
}

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

.text-secondary {
  color: var(--color-text-secondary);
}

.bg-card {
  background: var(--color-bg-card);
}

.bg-section {
  background: var(--color-bg-section);
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.border {
  border: 1px solid var(--color-border);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

/* =========================
   21) RESPONSIVE
   ========================= */
@media (max-width: 1100px) {
  .site-content-layout,
  .main-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
    top: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .header-top {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px 0;
  }

  .header-mobile-left,
  .header-mobile-right {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-top-left {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  .header-top-center,
  .header-top-right {
    display: none !important;
  }

  .site-logo-link {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .site-logo {
    height: 34px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    margin-inline: auto;
  }

  .header-nav-wrap {
    overflow: hidden;
  }

  .main-nav-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    min-height: auto;
    padding: 8px 0 10px;
    overflow: visible;
  }

  .main-nav-row a {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding: 9px 6px;
    font-size: 11px;
    line-height: 1.2;
    border-radius: 999px;
  }

  .main-nav-row .desktop-only {
    display: none !important;
  }

  .site-content-layout,
  .main-layout,
  .article-layout {
    grid-template-columns: 1fr !important;
    gap: var(--space-6);
  }

  .sidebar-stack {
    position: static !important;
    top: auto !important;
  }

  .hero {
    padding: 16px 0;
  }

  .hero-main-wrap {
    padding: 0;
    border-radius: 20px;
  }

  .hero-slider {
    position: relative;
    width: 100%;
    min-height: 260px;
    aspect-ratio: 16 / 11;
    height: auto !important;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
  }

  .hero-slide,
  .hero-slide img,
  .hero-overlay {
    border-radius: 20px 20px 0 0;
  }

  .hero-content {
    padding: 18px 18px 36px;
  }

  .hero-meta {
    gap: 6px;
    font-size: 13px;
  }

  .hero-dots {
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    justify-content: center;
  }

  .hero-bottom {
    display: none !important;
  }

  .hero-mini-body,
  .news-content,
  .widget-body,
  .widget-head {
    padding: 14px;
  }

  .hero-mini-title {
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-mini-meta {
    font-size: 13px;
  }

  .news-list-item {
    grid-template-columns: 130px 1fr !important;
    gap: 12px;
    align-items: center;
  }

  .news-list-thumb {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
  }

  .news-list-thumb img {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }

  .news-list-item > div:last-child {
    padding: 12px !important;
  }

  .news-meta {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .news-list-title {
    font-size: 14px;
    line-height: 1.35;
  }

  .news-list-excerpt {
    display: none !important;
  }

  .news-list-tag {
    font-size: 10px;
    padding: 4px 8px;
    min-height: auto;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-header,
  .article-body,
  .article-share {
    padding-left: 16px;
    padding-right: 16px;
  }

  .article-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .article-cover {
    aspect-ratio: 16 / 10;
  }

  .breaking-inner {
    grid-template-columns: 1fr;
  }

  .breaking-label {
    width: 100%;
    font-size: 11px;
    padding: 12px 14px;
  }

  .breaking-content {
    padding: 12px 14px;
  }

  #breakingText {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 16px, var(--container));
  }

  .page-wrap {
    padding: 16px 0 0px;
  }

  .site-header {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .site-logo {
    height: 32px;
    max-width: 150px;
  }

  .hero-slider {
    min-height: 220px;
    aspect-ratio: 16 / 12;
  }

  .hero-content {
    padding: 18px 18px 36px;
  }

  .hero-mini-title {
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-mini-meta {
    font-size: 13px;
  }

  .news-list-item {
    grid-template-columns: 130px 1fr !important;
    gap: 12px;
    align-items: center;
  }

  .news-list-thumb {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
  }

  .news-list-thumb img {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }

  .news-list-item > div:last-child {
    padding: 12px !important;
  }

  .news-meta {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .news-list-title {
    font-size: 12px;
    line-height: 1.35;
  }

  .news-list-excerpt {
    display: none !important;
  }

  .news-list-tag {
    font-size: 10px;
    padding: 4px 8px;
    min-height: auto;
  }

  .main-nav-row {
    gap: 6px;
  }

  .main-nav-row a {
    font-size: 11px;
    padding: 9px 6px;
    border-radius: 999px;
  }

  .pagination {
    gap: 8px;
  }

  .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
  }

  .footer-logo {
    height: 38px;
  }
}

@keyframes highlightGradientRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.ad-slot {
  width: var(--ad-width, 100%);
  max-width: 100%;
}

.ad-rotator-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--ad-radius, 2px);
  overflow: hidden;
  background: var(--color-bg-card, #fff);
}

/* kalau pakai ratio */
.ad-slot-ratio .ad-rotator-wrapper {
  aspect-ratio: var(--ad-ratio, 4 / 3);
  height: auto;
}

/* kalau pakai height fixed */
.ad-slot-fixed .ad-rotator-wrapper {
  height: var(--ad-height, 260px);
}

/* glossy animated overlay */
.ad-rotator-wrapper::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0.14) 55%,
    rgba(255, 255, 255, 0) 65%,
    transparent 80%
  );
  transform: translateX(-140%) skewX(-18deg);
  animation: adGlossySweep 10.8s ease-in-out infinite;
}

.ad-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 2s ease,
    visibility 2s ease;
}

.ad-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.ad-slot-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  border-radius: var(--ad-radius, 2px);
}

.ad-slide > a,
.ad-slide > div {
  display: block;
  width: 100%;
  height: 100%;
}

.ad-slot-multi-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ad-rotator-row {
  width: 100%;
}

@keyframes adGlossySweep {
  0% {
    transform: translateX(-140%) skewX(-18deg);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  45% {
    transform: translateX(140%) skewX(-18deg);
    opacity: 1;
  }
  60% {
    transform: translateX(160%) skewX(-18deg);
    opacity: 0;
  }
  100% {
    transform: translateX(160%) skewX(-18deg);
    opacity: 0;
  }
}

/* =========================
   MAGAZINE / MAJALAH SECTION
   ========================= */
.magazine-section {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(244, 247, 255, 0.94) 100%
  );
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .magazine-section {
  background: linear-gradient(
    135deg,
    rgba(24, 29, 48, 0.96) 0%,
    rgba(18, 23, 38, 0.98) 100%
  );
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 38px rgba(0, 0, 0, 0.3);
}

.magazine-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at top left,
      rgba(13, 31, 191, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(226, 27, 27, 0.06),
      transparent 26%
    );
}

.magazine-section > * {
  position: relative;
  z-index: 1;
}

.magazine-head {
  align-items: center;
}

.magazine-head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
}

.magazine-head-link:hover {
  color: var(--color-primary-hover);
}

.magazine-head-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tag-bg);
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1;
  box-shadow: var(--shadow-xs);
}

/* wrapper */
.magazine-slider {
  position: relative;
  min-width: 0;
}

.magazine-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* card */
.magazine-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: transparent;
  min-width: 0;
}

.magazine-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-fast);
}

.magazine-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(10, 14, 24, 0.08),
    rgba(10, 14, 24, 0) 45%
  );
}

.magazine-poster img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-normal);
}

.magazine-card:hover .magazine-poster {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 31, 191, 0.16);
}

.magazine-card:hover .magazine-poster img {
  transform: scale(1.04);
}

.magazine-content {
  padding: 14px 6px 0;
  min-width: 0;
}

.magazine-title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--color-text);
  word-break: break-word;
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.magazine-title a {
  color: inherit;
  text-decoration: none;
}

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

@media (min-width: 861px) {
  .magazine-title {
    min-height: calc(1.4em * 3);
  }
}

/* dots default hidden desktop */
.magazine-dots {
  display: none;
}

/* Tablet */
@media (max-width: 1100px) {
  .magazine-track {
    gap: 18px;
  }
}

/* Mobile slider */
@media (max-width: 860px) {
  .magazine-section {
    padding: 16px;
  }

  .magazine-head {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }

  .magazine-head-link {
    margin-left: auto;
  }

  .magazine-head-text {
    display: none;
  }

  .magazine-track {
    display: grid;
    grid-auto-flow: column;

    /* 🔥 ini kuncinya */
    grid-auto-columns: calc(33.333% - 8px);

    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }

  .magazine-track::-webkit-scrollbar {
    display: none;
  }

  .magazine-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .magazine-poster {
    border-radius: 18px;
  }

  .magazine-poster img {
    aspect-ratio: 3 / 4.1;
  }

  .magazine-content {
    padding: 12px 2px 0;
  }

  .magazine-title {
    font-size: 17px;
    min-height: unset;
  }

  .magazine-dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .magazine-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(140, 148, 170, 0.45);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition:
      transform 0.2s ease,
      width 0.2s ease,
      background 0.2s ease;
  }

  .magazine-dot.is-active {
    width: 24px;
    background: var(--color-primary);
  }
}

@media (max-width: 640px) {
  .magazine-head-link {
    gap: 0;
  }

  .magazine-poster {
    border-radius: 16px;
  }

  .magazine-title {
    font-size: 15px;
    line-height: 1.38;
  }
}

/* =========================
   REGIONAL NEWS SECTION
   ========================= */
.regional-news-section {
  margin-top: 5px;
  margin-bottom: 5px;
}
.regional-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.region-column {
  overflow: hidden;
  height: 100%;
}

.region-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
}

.region-column-title {
  font-size: var(--text-md);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.region-column-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
}

.region-column-link:hover {
  color: var(--color-primary-hover);
}

.region-column-link-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tag-bg);
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1;
}

.region-column-body {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.region-featured {
  display: grid;
  gap: 12px;
}

.region-featured-media {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-bg-section);
}

.region-featured-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-normal);
}

.region-featured:hover .region-featured-media img {
  transform: scale(1.06);
}

.region-featured-content {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0;
}

.region-featured .news-meta {
  margin-bottom: 8px;
  min-height: 18px;
}

.region-featured-title {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.region-featured-title a {
  color: var(--color-text);
  text-decoration: none;
}

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

.region-mini-list {
  display: grid;
  gap: 12px;
}

.region-mini-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.region-mini-thumb {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--color-bg-section);
  width: 92px;
  height: 70px;
  flex: 0 0 92px;
}

.region-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-normal);
}

.region-mini-item:hover .region-mini-thumb img {
  transform: scale(1.06);
}

.region-mini-content {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
}

.region-mini-item .news-meta {
  margin-bottom: 6px;
  min-height: 16px;
  line-height: 1.3;
}

.region-mini-title {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  word-break: break-word;
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.region-mini-title a {
  color: var(--color-text);
  text-decoration: none;
}

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

/* Kunci tinggi desktop supaya sejajar */
@media (min-width: 861px) {
  .region-featured-title {
    min-height: calc(1.35em * 3);
  }

  .region-mini-title {
    min-height: calc(1.4em * 3);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .regional-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .region-column-head {
    padding: 14px 16px;
  }

  .region-column-body {
    padding: 14px;
  }

  .region-featured-title {
    font-size: 16px;
    min-height: unset;
  }

  .region-mini-item {
    grid-template-columns: 84px 1fr;
    gap: 10px;
  }

  .region-mini-thumb {
    width: 84px;
    height: 64px;
  }

  .region-mini-title {
    font-size: 13px;
    min-height: unset;
  }
}

@media (max-width: 640px) {
  .region-column-link span:first-child {
    display: none;
  }

  .region-column-link {
    gap: 0;
  }

  .region-featured-media img {
    aspect-ratio: 16 / 9.5;
  }
}

/* =========================
   KATAKABAR TV SECTION
   ========================= */
.katakabar-tv-section {
  position: relative;
  padding: var(--space-6);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      1200px 600px at -10% -20%,
      rgba(13, 31, 191, 0.35),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 110% 120%,
      rgba(226, 27, 27, 0.28),
      transparent 60%
    ),
    linear-gradient(135deg, #0f1424 0%, #151b2f 40%, #1b223a 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.katakabar-tv-section::before {
  content: "";
  position: absolute;
  inset: -50%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(13, 31, 191, 0.45),
      transparent 55%
    ),
    radial-gradient(circle at 80% 90%, rgba(241, 12, 12, 0.45), transparent 55%);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: highlightGradientRotate 8s linear infinite;
}

.katakabar-tv-section > * {
  position: relative;
  z-index: 1;
}

.katakabar-tv-section .section-title {
  color: #ffffff;
}

.katakabar-tv-section .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.katakabar-tv-head {
  align-items: center;
}

.katakabar-tv-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 800;
}

.katakabar-tv-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-tag-bg);
}

.katakabar-tv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.katakabar-tv-head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-tag-bg);
  white-space: nowrap;
}

.katakabar-tv-head-link:hover {
  color: var(--color-primary-hover);
}

.katakabar-tv-head-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tag-bg);
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1;
}

/* Mobile behaviour seperti daerah */
@media (max-width: 640px) {
  .katakabar-tv-head-text {
    display: none;
  }

  .katakabar-tv-head-link {
    gap: 0;
  }
}

.katakabar-tv-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-fast);
}

.katakabar-tv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 31, 191, 0.18);
}

.katakabar-tv-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-bg);
}

.katakabar-tv-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 12, 24, 0.32),
    rgba(8, 12, 24, 0.04)
  );
  pointer-events: none;
}

.katakabar-tv-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-normal);
}

.katakabar-tv-card:hover .katakabar-tv-media img {
  transform: scale(1.06);
}

.katakabar-tv-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(226, 27, 27, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-xs);
}

.katakabar-tv-play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.katakabar-tv-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.katakabar-tv-content {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.katakabar-tv-date {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-danger);
}

.katakabar-tv-title {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.katakabar-tv-title a {
  color: var(--color-text);
  text-decoration: none;
}

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

.katakabar-tv-excerpt {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.65;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  max-height: calc(1.65em * 3);

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 861px) {
  .katakabar-tv-title {
    min-height: calc(1.3em * 3);
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .katakabar-tv-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile slider */
@media (max-width: 860px) {
  .katakabar-tv-section {
    padding: 16px;
  }

  .katakabar-tv-head {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }

  .katakabar-tv-head-link {
    margin-left: auto;
  }

  .katakabar-tv-head-text {
    display: none;
  }

  .katakabar-tv-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .katakabar-tv-grid::-webkit-scrollbar {
    display: none;
  }

  .katakabar-tv-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .katakabar-tv-content {
    padding: 16px;
  }

  .katakabar-tv-title {
    font-size: 18px;
    min-height: unset;
  }

  .katakabar-tv-excerpt {
    min-height: unset;
  }

  .katakabar-tv-play {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 640px) {
  .katakabar-tv-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .katakabar-tv-media img {
    aspect-ratio: 16 / 10.5;
  }

  .katakabar-tv-title {
    font-size: 16px;
  }

  .katakabar-tv-excerpt {
    font-size: 13px;
  }
}

/* =========================
   SERBA SERBI SECTION
   ========================= */
.serba-serbi-section {
  padding: var(--space-6);
  background:
    radial-gradient(
      circle at top left,
      rgba(13, 31, 191, 0.05),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(241, 243, 249, 0.95) 100%
    );
}

[data-theme="dark"] .serba-serbi-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(109, 131, 255, 0.12),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(21, 27, 47, 0.96) 0%,
      rgba(15, 20, 36, 0.98) 100%
    );
}

.serba-serbi-head {
  align-items: center;
}

/* header link baru */
.serba-serbi-head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
}

.serba-serbi-head-link:hover {
  color: var(--color-primary-hover);
}

.serba-serbi-head-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tag-bg);
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1;
}

.serba-serbi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.serba-serbi-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-fast);
}

.serba-serbi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 31, 191, 0.16);
}

.serba-serbi-media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-section);
}

.serba-serbi-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-normal);
}

.serba-serbi-card:hover .serba-serbi-media img {
  transform: scale(1.07);
}

.serba-serbi-content {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.serba-serbi-meta {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.serba-serbi-title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--color-text);
  word-break: break-word;
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.serba-serbi-title a {
  color: inherit;
  text-decoration: none;
}

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

@media (min-width: 861px) {
  .serba-serbi-title {
    min-height: calc(1.4em * 3);
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .serba-serbi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 860px) {
  .serba-serbi-section {
    padding: 16px;
  }

  .serba-serbi-head {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }

  .serba-serbi-head-link {
    margin-left: auto;
  }

  .serba-serbi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .serba-serbi-card {
    border-radius: 14px;
  }

  .serba-serbi-content {
    padding: 12px;
    gap: 6px;
  }

  .serba-serbi-title {
    font-size: 13px;
    min-height: unset;
  }

  .serba-serbi-meta {
    font-size: 10px;
  }

  .serba-serbi-head-text {
    display: none;
  }
}

@media (max-width: 640px) {
  .serba-serbi-head-link {
    gap: 0;
  }

  .serba-serbi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .serba-serbi-media img {
    aspect-ratio: 1 / 1;
  }

  .serba-serbi-title {
    font-size: 12px;
    line-height: 1.35;
  }
}

/* =========================
   RELATED NEWS SECTION
   ========================= */
.related-news-section {
  padding: var(--space-6);
  background:
    radial-gradient(
      circle at top left,
      rgba(13, 31, 191, 0.05),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(241, 243, 249, 0.95) 100%
    );
}

[data-theme="dark"] .related-news-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(109, 131, 255, 0.12),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(21, 27, 47, 0.96) 0%,
      rgba(15, 20, 36, 0.98) 100%
    );
}

.related-news-head {
  align-items: center;
}

.related-news-head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
}

.related-news-head-link:hover {
  color: var(--color-primary-hover);
}

.related-news-head-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tag-bg);
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1;
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-news-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-fast);
}

.related-news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 31, 191, 0.16);
}

.related-news-media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-section);
}

.related-news-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-normal);
}

.related-news-card:hover .related-news-media img {
  transform: scale(1.07);
}

.related-news-content {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.related-news-meta {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.related-news-title {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--color-text);
  word-break: break-word;
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-news-title a {
  color: inherit;
  text-decoration: none;
}

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

@media (min-width: 861px) {
  .related-news-title {
    min-height: calc(1.4em * 3);
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .related-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 860px) {
  .related-news-section {
    padding: 16px;
  }

  .related-news-head {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }

  .related-news-head-link {
    margin-left: auto;
  }

  .related-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .related-news-card {
    border-radius: 14px;
  }

  .related-news-content {
    padding: 12px;
    gap: 6px;
  }

  .related-news-title {
    font-size: 13px;
    min-height: unset;
  }

  .related-news-meta {
    font-size: 10px;
  }

  .related-news-head-text {
    display: none;
  }
}

@media (max-width: 640px) {
  .related-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-news-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    grid-template-rows: none;
    align-items: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .related-news-media {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }

  .related-news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }

  .related-news-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .related-news-meta {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .related-news-title {
    font-size: 14px;
    line-height: 1.35;
  }
}

/* =========================
   NEWS INDEX PAGE
   ========================= */

.index-filter-card {
  padding: 20px;
  margin-bottom: 24px;
}

.index-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.index-filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.index-filter-item label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.index-filter-button button {
  min-width: 140px;
}

.index-news-list {
  margin-top: 8px;
}

.index-load-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.index-load-more .btn {
  min-width: 200px;
}

/* mobile */
@media (max-width: 768px) {
  .index-filter-row {
    grid-template-columns: 1fr;
  }

  .index-filter-button button {
    width: 100%;
  }
}

/* =========================
   PHOTO GALLERY PAGE
   ========================= */
.photo-gallery-page {
  padding: var(--space-8) 0;
  background: transparent;
}

.photo-gallery-head {
  margin-bottom: var(--space-2);
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.photo-gallery-card {
  overflow: hidden;
  border-radius: 20px;
}

.photo-gallery-media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-section);
}

.photo-gallery-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-normal);
}

.photo-gallery-card:hover .photo-gallery-media img {
  transform: scale(1.06);
}

.photo-gallery-content {
  padding: 16px;
}

.photo-gallery-title {
  font-size: 14px;
  line-height: 1.38;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--color-text);
  word-break: break-word;
  overflow-wrap: anywhere;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-gallery-title a {
  color: inherit;
  text-decoration: none;
}

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

@media (min-width: 861px) {
  .photo-gallery-title {
    min-height: calc(1.38em * 3);
  }
}

@media (max-width: 860px) {
  .photo-gallery-page {
    padding: 16px 0;
  }

  .photo-gallery-grid {
    gap: 14px;
  }

  .photo-gallery-card {
    border-radius: 16px;
  }

  .photo-gallery-content {
    padding: 12px;
  }

  .photo-gallery-title {
    font-size: 15px;
    min-height: unset;
  }
}

@media (max-width: 640px) {
  .photo-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .photo-gallery-title {
    font-size: 14px;
    line-height: 1.35;
  }

  .photo-gallery-media img {
    aspect-ratio: 16 / 9.5;
  }
}

/* =========================
   AUTHOR HERO CARD
   mengikuti author box detail berita
   tanpa tombol selengkapnya
   ========================= */

.author-hero-head {
  display: block;
  margin: 0;
}

.author-page-card.author-page-card-detail-look {
  width: 100%;
  padding: 20px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-bg-section) 92%, #ffffff 8%) 0%,
    var(--color-bg-section) 100%
  );
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.author-page-grid.author-page-grid-detail-look {
  display: grid;
  grid-template-columns: 70px minmax(160px, 1fr) minmax(280px, 340px);
  gap: 18px;
  align-items: center;
}

.author-page-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-page-photo {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  flex: 0 0 70px;
}

.author-page-content {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: center;
}

.author-page-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-danger);
  line-height: 1.2;
}

.author-page-name {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--color-text);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.author-page-side {
  min-width: 0;
}

.author-page-side-info {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-height: 112px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-xs);
}

.author-page-side-row {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px 18px;
  min-width: 0;
}

.author-page-side-row + .author-page-side-row {
  border-top: 1px solid var(--color-border);
}

.author-page-side-row-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

.author-page-side-row-value {
  font-size: 15px;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* tablet */
@media (max-width: 860px) {
  .author-page-card.author-page-card-detail-look {
    padding: 16px;
    border-radius: 16px;
  }

  .author-page-grid.author-page-grid-detail-look {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .author-page-photo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    flex-basis: 72px;
  }

  .author-page-name {
    font-size: 20px;
  }

  .author-page-side {
    grid-column: 1 / -1;
  }

  .author-page-side-info {
    min-height: 96px;
    border-radius: 16px;
  }

  .author-page-side-row {
    padding: 12px 14px;
  }

  .author-page-side-row-value {
    font-size: 15px;
  }
}

/* mobile */
@media (max-width: 640px) {
  .author-page-card.author-page-card-detail-look {
    padding: 14px;
    border-radius: 16px;
  }

  .author-page-grid.author-page-grid-detail-look {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .author-page-photo-wrap {
    align-items: start;
    justify-content: flex-start;
  }

  .author-page-photo {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    flex-basis: 64px;
  }

  .author-page-content {
    gap: 4px;
  }

  .author-page-label {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .author-page-name {
    font-size: 16px;
    line-height: 1.2;
  }

  .author-page-side {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
  }

  .author-page-side-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: 0;
    border-radius: 14px;
  }

  .author-page-side-row {
    gap: 4px;
    padding: 12px;
  }

  .author-page-side-row + .author-page-side-row {
    border-top: 0;
    border-left: 1px solid var(--color-border);
  }

  .author-page-side-row-label {
    font-size: 11px;
  }

  .author-page-side-row-value {
    font-size: 13px;
    line-height: 1.35;
  }
}

.article-youtube-anchor {
  display: block;
  padding: 0 var(--space-8) var(--space-6);
}

.article-youtube-anchor:not(.is-visible) {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.article-youtube-card {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.article-youtube-anchor:not(.is-visible) .article-youtube-card {
  opacity: 0;
  visibility: hidden;
}

.article-youtube-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.article-youtube-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.article-youtube-card.is-floating {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 998;
  width: min(360px, calc(100vw - 32px));
  box-shadow: var(--shadow-lg);
  opacity: 1;
  visibility: visible;
}

.article-youtube-anchor.is-ended {
  height: auto;
}

.article-youtube-anchor.is-ended .article-youtube-card {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.article-youtube-anchor.is-closed {
  display: none !important;
}

@media (max-width: 860px) {
  .article-youtube-anchor {
    padding: 0 16px 16px;
  }

  .article-youtube-card.is-floating {
    left: 12px;
    right: 12px;
    bottom: 82px;
    width: auto;
  }
}
