/* =========================================================
   SULTENG EASY - MAIN STYLESHEET (REFACTORED & OPTIMIZED)
   - Silver Theme v5.64, Purple Category Nav v5.55/v5.57
   - Consolidated CSS tokens, zero bloat, optimal performance
   - Fix 100vw layout overflow, fix mobile tagline legibility
   ========================================================= */

:root {
  /* Core Base Colors */
  --ink: #111111;
  --muted: #686868;
  --paper: #ffffff;
  --soft: #f6f6f6;
  --yellow: #ffd400;
  --line: #e7e7e7;
  --max: 1240px;

  /* Theme Silver Solid (Header & Footer v5.61-v5.64) */
  --se-final-silver: #e3e3e3;
  --se-silver-10: #e6e6e6;
  --se-silver-hi: #f5f5f5;
  --se-silver-lo: #dcdcdc;
  --se-silver-ink: #171717;
  --se-silver-muted: #5f5f5f;

  /* Purple Category Navigation Bar (v5.55-v5.57) */
  --se-cat-purple-top: #4f2a68;
  --se-cat-purple-mid: #3b1f50;
  --se-cat-purple-bottom: #2b153c;
  --se-cat-text: #ffffff;
  --se-cat-divider: rgba(255, 255, 255, 0.13);
  --se-cat-orange: #f57c00;
  --se-cat-orange-top: #ff9d22;
  --se-cat-orange-bottom: #e86800;

  /* Mobile Spacing & Layout Tokens */
  --se-m-pad: 16px;
  --se-m-line: #d9d9d9;
  --se-m-soft: #f4f4f4;
  --se-m-ink: #111111;
  --se-m-muted: #666666;
}

/* =========================================================
   1. CSS RESET & GLOBAL BASE
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  line-height: 1.55;
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

/* =========================================================
   2. SITE HEADER & BRAND IDENTITY
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--se-final-silver);
  color: var(--se-silver-ink);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-row {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.se-header-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand,
.site-header .se-header-identity .brand.se-brand-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  white-space: nowrap;
}

.se-brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  padding-top: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 2.05rem;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: var(--se-silver-ink);
}

.se-brand-wordmark > span {
  color: #171717;
}

.se-brand-wordmark > em {
  margin-left: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04em;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.07em;
  color: #d88700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68);
}

/* Dua aksen atap/swoosh geometris di atas kata Sulteng */
.se-brand-wordmark::before,
.se-brand-wordmark::after {
  content: "";
  position: absolute;
  pointer-events: none;
  display: block;
  height: 4px;
  border-radius: 999px;
  transform-origin: left center;
  background: linear-gradient(90deg, #ff8a00 0%, #ffd400 62%, rgba(255, 212, 0, 0.05) 100%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}

.se-brand-wordmark::before {
  width: 46px;
  top: 4px;
  left: 30px;
  transform: rotate(-31deg);
}

.se-brand-wordmark::after {
  width: 82px;
  top: -2px;
  left: 61px;
  transform: rotate(11deg);
}

.se-brand-tagline {
  display: block;
  margin: 3px 0 0 3px;
  font-size: 0.55rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #4d4d4d;
  opacity: 1;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.menu-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #262626;
  font-size: 1.25rem;
  transition: color 0.16s ease;
}

.icon-button:hover,
.menu-button:hover {
  color: #e56f00;
}

/* Dropdown Menu Hamburger */
.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: flex;
}

@media (min-width: 600px) {
  .mobile-menu {
    position: absolute;
    z-index: 70;
    top: calc(100% + 8px);
    right: max(16px, calc((100vw - var(--max)) / 2));
    width: min(260px, calc(100vw - 32px));
    margin: 0;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--se-final-silver);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 14px 32px rgba(0, 0, 0, 0.16);
  }

  .mobile-menu a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #202020;
    transition: background 0.15s, color 0.15s;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    background: rgba(245, 124, 0, 0.10);
    color: #e86800;
  }
}

@media (max-width: 599px) {
  .mobile-menu {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 var(--se-m-pad) 10px;
    background: var(--se-final-silver);
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  }

  .mobile-menu a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    color: #202020;
    font-size: 0.85rem;
    font-weight: 800;
  }
}

/* =========================================================
   3. GLOBAL INFO PUBLIK TICKER (RUNNING TEXT)
   ========================================================= */
.se-public-ticker {
  width: 100%;
  height: 28px;
  overflow: hidden;
  color-scheme: light;
  background: linear-gradient(180deg, #ededed 0%, var(--se-silver-10) 58%, #dedede 100%);
  color: #202020;
  border-top: 1px solid rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 2px 6px rgba(0, 0, 0, 0.08);
  contain: layout paint;
}

.se-public-ticker-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  height: 100%;
  align-items: center;
  will-change: transform;
  animation: se-public-ticker-scroll 32s linear infinite;
}

.se-public-ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  padding: 0 24px 0 0;
  white-space: nowrap;
  font-size: 0.67rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.012em;
}

.se-public-ticker-lead {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 0 11px;
  background: linear-gradient(180deg, #ff9d22 0%, #f57c00 58%, #e86800 100%);
  color: #ffffff;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  border-right: 1px solid rgba(120, 57, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.se-public-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #242424;
}

.se-public-ticker-item strong {
  font-size: 0.76rem;
  font-weight: 900;
  color: #4f2a68;
}

.se-public-ticker-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  color: #ffffff;
}

.se-public-ticker-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.se-public-ticker-icon svg {
  display: block;
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.se-public-ticker-emergency .se-public-ticker-icon,
.se-public-ticker-fire .se-public-ticker-icon {
  background: #d71920;
}

.se-public-ticker-police .se-public-ticker-icon,
.se-public-ticker-medical .se-public-ticker-icon {
  background: #0057b8;
}

.se-public-ticker-sar .se-public-ticker-icon {
  background: #e95b0c;
}

.se-public-ticker-separator {
  color: #8a8a8a;
  font-weight: 900;
}

.se-public-ticker-note {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #6b6b6b;
}

.se-public-ticker:hover .se-public-ticker-track,
.se-public-ticker:focus-within .se-public-ticker-track {
  animation-play-state: paused;
}

@keyframes se-public-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 719px) {
  .se-public-ticker {
    height: 24px;
  }
  .se-public-ticker-group {
    gap: 11px;
    padding-right: 20px;
    font-size: 0.62rem;
  }
  .se-public-ticker-lead {
    padding: 0 9px;
    font-size: 0.56rem;
  }
  .se-public-ticker-item {
    gap: 5px;
  }
  .se-public-ticker-item strong {
    font-size: 0.70rem;
  }
  .se-public-ticker-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }
  .se-public-ticker-note {
    font-size: 0.58rem;
  }
  .se-public-ticker-track {
    animation-duration: 28s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .se-public-ticker {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .se-public-ticker::-webkit-scrollbar {
    display: none;
  }
  .se-public-ticker-track {
    animation: none;
    transform: none;
  }
  .se-public-ticker-group[aria-hidden="true"] {
    display: none;
  }
}

/* =========================================================
   4. CATEGORY NAVIGATION (PURPLE BAR)
   ========================================================= */
.site-header .category-nav,
.site-header .desktop-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 46px;
  margin: 0;
  padding: 0 max(14px, calc((100vw - 1240px) / 2));
  background: linear-gradient(180deg, var(--se-cat-purple-top) 0%, var(--se-cat-purple-mid) 52%, var(--se-cat-purple-bottom) 100%);
  color: var(--se-cat-text);
  border: 0;
  border-bottom: 2px solid rgba(245, 124, 0, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 5px 13px rgba(24, 8, 35, 0.18);
}

.site-header .category-nav > a,
.site-header .desktop-category-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 0.68rem;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0.015em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.site-header .category-nav > a:not(:last-child),
.site-header .desktop-category-nav > a:not(:last-child) {
  border-right: 1px solid var(--se-cat-divider);
  border-bottom: 1px solid var(--se-cat-divider);
}

/* =========================================================
   5. EDITORIAL SECTIONS, HERO & CARDS
   ========================================================= */
.eyebrow,
.hero-kicker,
.kicker,
.article-kicker {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #705f00;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0.1rem 0;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section-heading h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.section-heading h2 { font-size: 1.5rem; }

.section-heading p {
  margin: 0.45rem 0 0;
  max-width: 760px;
  color: var(--muted);
}

.section {
  padding: 34px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 4px solid #111111;
  padding-top: 12px;
  margin-bottom: 18px;
}

.section-title h2 {
  font-size: 1.35rem;
  margin: 0;
}

/* Hero Berita Utama */
.hero {
  padding: 38px 0 34px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(2.15rem, 8vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0.45rem 0 1rem;
  max-width: 980px;
}

.hero p {
  font-size: 1.1rem;
  color: #404040;
  max-width: 760px;
}

.hero-featured {
  margin: 24px auto 0;
  width: min(100%, 820px);
  max-width: 820px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #ededed;
}

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

.hero-media {
  margin-top: 24px;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #ececec;
}

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

.meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.dev-notice {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #ead777;
  background: #fff9d9;
  border-radius: 12px;
}

.dev-notice p { margin: 0.25rem 0; }

/* Grid Berita */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.news-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  min-width: 0;
}

.news-card a { display: block; }

.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ededed;
}

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

.placeholder-thumb {
  background: linear-gradient(135deg, #ededed, #dcdcdc);
}

.news-card h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0.35rem 0 0.65rem;
  overflow-wrap: anywhere;
}

.news-card h3 a:hover {
  text-decoration: underline;
}

.news-card p {
  margin: 0.4rem 0;
  color: #444444;
}

.empty,
.empty-state-public {
  color: var(--muted);
  background: var(--soft);
  padding: 18px;
  border-radius: 10px;
}

.empty-state-public {
  border: 1px solid var(--line);
}

.empty-state-public strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.empty-state-public p { margin: 0; }

/* Breaking News */
.breaking-section {
  padding: 18px 0 22px;
}

.breaking-section .section-title {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 0;
}

.breaking-section .section-title h2 {
  display: inline-flex;
  align-items: center;
  background: var(--yellow);
  color: var(--ink);
  padding: 7px 11px;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 5px 5px 0 0;
}

.breaking-list {
  background: var(--ink);
  border-radius: 0 8px 8px 8px;
  overflow: hidden;
}

.breaking-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 13px 15px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.breaking-item:last-child {
  border-bottom: 0;
}

.breaking-item strong {
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 800;
}

.breaking-item span {
  color: #cfcfcf;
  font-size: 0.76rem;
  line-height: 1.2;
  white-space: nowrap;
}

.breaking-item:hover strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Popular & Viral Feed */
.split {
  display: grid;
  gap: 36px;
  padding: 10px 0 36px;
}

.popular-list {
  list-style: none;
  counter-reset: popular;
  margin: 0;
  padding: 0;
}

.popular-list li {
  counter-increment: popular;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-weight: 800;
  line-height: 1.25;
}

.popular-list li:before {
  content: counter(popular, decimal-leading-zero);
  font-size: 0.82rem;
  color: #8a7300;
}

.viral-list {
  display: grid;
}

.viral-list > a {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.viral-list span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.viral-list b {
  font-size: 0.72rem;
  color: #7a6500;
  text-transform: uppercase;
}

.viral-page {
  padding: 42px 0 64px;
}

.viral-page .section-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.viral-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

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

.viral-item-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #ededed;
}

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

.viral-item-body {
  min-width: 0;
  align-self: center;
}

.viral-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #766300;
}

.viral-item h2 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.viral-item h2 a:hover { text-decoration: underline; }

.viral-item p {
  margin: 0.35rem 0 0.8rem;
  color: #494949;
}

.viral-item-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.viral-source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  font-weight: 800;
}

.viral-source-link:hover { opacity: 0.88; }

/* Listing Page */
.listing-page {
  padding: 42px 0 64px;
}

.listing-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 26px;
}

.listing-header h1 {
  margin: 0.25rem 0 0.6rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.listing-header p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.article-list {
  display: grid;
  gap: 0;
}

.article-list-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.article-list-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #eee;
}

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

.article-list-body h2 {
  margin: 0.25rem 0 0.55rem;
  font-size: 1.4rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.article-list-body p {
  margin: 0.4rem 0;
  color: #444444;
}

/* =========================================================
   6. ARTICLE READING EXPERIENCE & DETAIL PAGE
   ========================================================= */
.article-shell {
  max-width: 820px;
}

.article-page {
  padding: 42px 0 64px;
}

.article-page h1 {
  font-size: clamp(1.95rem, 7vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 1rem;
}

.standfirst,
.article-lead {
  font-size: 1.15rem;
  color: #3e3e3e;
}

.article-meta {
  border-block: 1px solid var(--line);
  padding: 14px 0;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 0.86rem;
}

.article-featured,
.article-featured-image {
  margin: 0 0 26px;
}

.article-featured img,
.article-featured-image img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.article-featured figcaption,
.article-featured-image figcaption {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Full Bleed Image (Desktop) */
.article-featured-fullbleed {
  position: static;
  width: 100%;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 0;
}

.article-featured-fullbleed > img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-featured-fullbleed figcaption {
  width: 100%;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Mode Contain untuk Infografis / Poster Berita */
.se-home-hero-photo.is-contain,
.article-featured-fullbleed.is-contain {
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}

.se-home-hero-photo.is-contain > img,
.article-featured-fullbleed.is-contain > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

/* Article Reading Typography (Optimal Clean Text) */
.article-page .article-body,
.article-page.shell.article-shell .article-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1.07rem, calc(1.03rem + 0.18vw), 1.17rem);
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: 0.002em;
  color: #202124;
  text-align: left;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.article-page .article-body p,
.article-page.shell.article-shell .article-body p {
  margin: 0 0 1.15em;
}

.article-page .article-body p:last-child,
.article-page.shell.article-shell .article-body p:last-child {
  margin-bottom: 0;
}

.article-body h2,
.article-body h3 {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.2;
  margin: 1.7em 0 0.7em;
}

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

/* Article List Marker Alignment */
.article-page .article-body .se-article-line.se-article-list-item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.34em;
  align-items: start;
  margin: 0;
  padding: 0;
  text-indent: 0;
}

.article-page .article-body .se-article-list-marker,
.article-page .article-body .se-article-list-content {
  display: block;
  min-width: 0;
}

.article-page .article-body .se-article-list-marker {
  white-space: nowrap;
}

/* Contextual Article Card (In-Article Recommendation) */
.article-page .se-contextual-card {
  margin: 18px 0 22px;
  padding: 14px 0;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.article-page .se-contextual-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 18px;
  color: #111111;
  text-decoration: none;
}

.article-page .se-contextual-copy {
  display: block;
  min-width: 0;
}

.article-page .se-contextual-category {
  display: block;
  margin: 0 0 5px;
  color: #705f00;
  font-size: 0.66rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.article-page .se-contextual-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: #111111;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.article-page .se-contextual-meta {
  display: block;
  margin-top: 6px;
  color: #747474;
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 500;
}

.article-page .se-contextual-thumb {
  display: block;
  width: 160px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 7px;
  background: #ededed;
}

.article-page .se-contextual-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
}

@media (hover: hover) {
  .article-page .se-contextual-link:hover .se-contextual-title {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
  }
}

.source-box {
  margin-top: 36px;
  padding: 16px;
  background: var(--soft);
  border-radius: 10px;
  border-left: 4px solid var(--yellow);
  overflow-wrap: anywhere;
}

/* =========================================================
   7. PUBLIC SEARCH & ADS SLOTS
   ========================================================= */
.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 24px;
}

.search-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 11px 14px;
  background: #ffffff;
  color: var(--ink);
}

.search-form input:focus {
  outline: 2px solid rgba(255, 212, 0, 0.45);
  border-color: #a99100;
}

.search-form button {
  border: 0;
  border-radius: 10px;
  padding: 0 20px;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
}

.search-summary {
  margin: 0 0 18px;
  color: var(--muted);
}

.public-ad {
  width: 100%;
  margin: 26px 0;
  text-align: center;
  overflow: hidden;
}

.public-ad-label {
  margin: 0 0 6px;
  font-size: 0.66rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777777;
}

.public-ad-body {
  width: 100%;
  overflow: hidden;
}

.public-ad-body > a { display: block; }

.public-ad-body img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.public-ad-body iframe,
.public-ad-body ins {
  max-width: 100%;
}

.ad-placeholder {
  display: grid;
  place-items: center;
  min-height: 120px;
  margin: 4px 0 42px;
  border: 1px dashed #c5c5c5;
  background: #fafafa;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #888888;
}

@media (max-width: 719px) {
  .ad-device-desktop { display: none !important; }
}

@media (min-width: 720px) {
  .ad-device-mobile { display: none !important; }
}

/* =========================================================
   8. FOOTER & UTILITY
   ========================================================= */
.site-footer {
  background: var(--se-final-silver);
  color: var(--se-silver-ink);
  padding: 38px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

.site-footer .shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer .footer-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 2px;
}

.site-footer .se-brand-wordmark > span {
  color: #171717;
}

.site-footer .se-brand-wordmark > em {
  color: #d88700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.70);
}

.site-footer .se-brand-wordmark::before,
.site-footer .se-brand-wordmark::after {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}

.site-footer .se-brand-tagline {
  color: #4d4d4d;
}

.site-footer p {
  color: #494949;
  max-width: 520px;
  margin: 0.35rem 0;
  font-size: 0.88rem;
}

.site-footer small {
  color: #666666;
}

.site-footer a {
  color: #3d2450;
  transition: color 0.15s;
}

.site-footer a:hover {
  color: #e56f00;
}

.site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.footer-pages small {
  display: block;
  line-height: 1.9;
}

.footer-pages a {
  white-space: nowrap;
}

/* Utility Pages */
.error-page,
.setup-page {
  padding: 64px 0 96px;
}

.error-page h1 { font-size: 2.2rem; }

.button {
  display: inline-block;
  border: 0;
  background: #111111;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.setup-card {
  max-width: 560px;
  margin: auto;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 16px;
}

.setup-card h1 { font-size: 1.8rem; }

.setup-card form {
  display: grid;
  gap: 14px;
}

.setup-card label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.setup-card input {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
}

.alert {
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
}

.alert.error { background: #ffe7e7; }
.alert.success { background: #e7faed; }

/* =========================================================
   9. DESKTOP & TABLET MEDIA QUERIES
   ========================================================= */
@media (min-width: 720px) {
  .header-row { height: 72px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .hero { padding-block: 48px; }
}

@media (min-width: 1024px) {
  .news-grid { grid-template-columns: repeat(4, 1fr); }
  .hero p { font-size: 1.25rem; }
  .article-body { font-size: 1.17rem; }
}

/* =========================================================
   10. MOBILE EDITORIAL FEED & SMARTPHONE OPTIMIZATION (<=719px)
   ========================================================= */
@media (max-width: 719px) {
  .shell {
    width: calc(100% - (var(--se-m-pad) * 2));
    max-width: none;
    margin-inline: auto;
  }

  /* Header Smartphone v5.64: rapat, logo seimbang */
  .site-header .header-row {
    height: 72px;
    min-height: 72px;
    padding-top: 4px;
    padding-bottom: 2px;
    padding-inline: 16px;
  }

  .site-header .se-header-identity .brand.se-brand-logo {
    min-height: 54px;
    justify-content: center;
  }

  .site-header .se-brand-wordmark {
    padding-top: 8px;
    font-size: 1.6rem;
    line-height: 0.92;
  }

  .site-header .se-brand-wordmark::before {
    width: 37px;
    height: 4px;
    top: 3px;
    left: 24px;
  }

  .site-header .se-brand-wordmark::after {
    width: 67px;
    height: 4px;
    top: -2px;
    left: 50px;
  }

  /* Tagline diperbaiki: tetap terbaca dan proporsional */
  .site-header .se-brand-tagline {
    display: block;
    margin: 2px 0 0 3px;
    font-size: 0.52rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #4d4d4d;
    white-space: nowrap;
  }

  .section {
    padding: 24px 0;
  }

  .section-title {
    margin: 0 0 15px;
    padding: 11px 0 0;
    border-top: 4px solid #111111;
  }

  .section-title h2 {
    font-size: 1.22rem;
  }

  .section-heading {
    display: block;
    margin-bottom: 14px;
  }

  .section-heading h1 {
    font-size: 2rem;
  }

  /* Berita Utama Smartphone (Perbaikan: Full bleed aman tanpa 100vw overflow) */
  .hero {
    padding: 0 0 24px;
    border-bottom: 1px solid var(--se-m-line);
  }

  .hero h1 {
    margin: 0.38rem 0 0.62rem;
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  .hero > .hero-featured {
    width: calc(100% + (var(--se-m-pad) * 2));
    margin-left: calc(-1 * var(--se-m-pad));
    margin-right: calc(-1 * var(--se-m-pad));
    max-width: none;
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }

  .hero > .hero-featured > img {
    border-radius: 0;
  }

  /* Detail Artikel Full Bleed (Perbaikan: Tidak memicu horizontal scrollbar) */
  .article-featured-fullbleed {
    width: calc(100% + (var(--se-m-pad) * 2));
    margin-left: calc(-1 * var(--se-m-pad));
    margin-right: calc(-1 * var(--se-m-pad));
    max-width: none;
    aspect-ratio: 16 / 9;
    margin-bottom: 18px;
    border-radius: 0;
  }

  .article-featured-fullbleed > img {
    border-radius: 0;
  }

  .article-featured-fullbleed figcaption {
    width: calc(100% - (var(--se-m-pad) * 2));
    margin: 6px auto 0;
  }

  /* Grid Berita Modern Mobile: teks kiri, thumbnail kanan (112px) */
  .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .news-card,
  .section.shell .news-grid .news-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    grid-template-rows: auto auto 1fr auto;
    column-gap: 13px;
    row-gap: 0;
    min-width: 0;
    padding: 15px 0;
    border-bottom: 1px solid var(--se-m-line);
  }

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

  .news-card .thumb,
  .section.shell .news-grid .news-card .thumb {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: start;
    width: 112px;
    max-width: 112px;
    aspect-ratio: 16 / 9;
    margin: 0;
    border-radius: 6px;
    background: #ececec;
  }

  .news-card .thumb img,
  .section.shell .news-grid .news-card .thumb img {
    border-radius: 6px;
  }

  .news-card .kicker {
    grid-column: 1;
    margin: 0 0 5px;
    font-size: 0.68rem;
  }

  .news-card h3 {
    grid-column: 1;
    margin: 0 0 6px;
    font-size: 1.02rem;
    line-height: 1.2;
  }

  .news-card p {
    grid-column: 1;
    margin: 0 0 7px;
    color: #4b4b4b;
    font-size: 0.85rem;
    line-height: 1.37;
  }

  .news-card .meta {
    grid-column: 1;
    margin-top: auto;
    font-size: 0.68rem;
  }

  /* Listing Items */
  .listing-page,
  .viral-page {
    padding: 24px 0 44px;
  }

  .article-list-item {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid var(--se-m-line);
  }

  .article-list-thumb {
    grid-column: 2;
    grid-row: 1;
    width: 112px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
  }

  .article-list-body {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .article-list-body h2 {
    margin: 0.15rem 0 0.38rem;
    font-size: 1.02rem;
    line-height: 1.18;
  }

  .article-list-body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0.3rem 0;
    color: #4b4b4b;
    font-size: 0.82rem;
  }

  /* Item Pertama Listing menjadi Lead Card */
  .article-list-item:first-child {
    display: block;
    padding: 18px 0;
  }

  .article-list-item:first-child .article-list-thumb {
    width: 100%;
    margin: 0 0 12px;
    border-radius: 8px;
  }

  .article-list-item:first-child .article-list-body h2 {
    font-size: 1.32rem;
  }

  /* Viral Page Mobile */
  .viral-item {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 13px;
    padding: 15px 0;
  }

  .viral-item-thumb {
    grid-column: 2;
    grid-row: 1;
    width: 112px;
    border-radius: 6px;
  }

  .viral-item-body {
    grid-column: 1;
    grid-row: 1;
  }

  .viral-item h2 {
    font-size: 1.02rem;
  }

  .viral-item p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.82rem;
  }

  /* In-Article Contextual Card Mobile */
  .article-page .se-contextual-card {
    margin: 16px 0 18px;
    padding: 13px 0;
  }

  .article-page .se-contextual-link {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
  }

  .article-page .se-contextual-thumb {
    width: 112px;
  }

  .article-page .se-contextual-title {
    font-size: 0.95rem;
    line-height: 1.25;
  }

  /* Search Mobile */
  .search-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
  }

  .search-form input {
    border-radius: 8px 0 0 8px;
    border-right: 0;
  }

  .search-form button {
    border-radius: 0 8px 8px 0;
  }
}

@media (max-width: 430px) {
  .site-header .se-brand-wordmark {
    font-size: 1.5rem;
  }
  .site-header .se-brand-tagline {
    font-size: 0.48rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 380px) {
  .site-header .se-brand-wordmark {
    font-size: 1.38rem;
  }
  .site-header .se-brand-tagline {
    font-size: 0.45rem;
    letter-spacing: 0.12em;
  }
}

/* Warna default (Light Mode) untuk Running Text */
.se-static-ticker,
.se-static-ticker span,
.se-static-ticker a,
.se-static-ticker-content {
    color: #111111 !important; /* Warna hitam gelap */
}

//* Mengunci warna Running Text agar tidak dipaksa Pink oleh Android */
.se-static-ticker,
.se-static-ticker span,
.se-static-ticker a,
.se-static-ticker-content {
    color: #111111 !important; /* Warna hitam gelap */
}

