/* =========================================================
   INTEGRITY NEWS - SKIN BRAND
   Palet: biru korporat (#0b3d91) + merah (#e31e24) sesuai logo.
   Dimuat setelah style.css.
   ========================================================= */
:root {
  --blue: #0b3d91;
  --blue-2: #072a66;
  --red: #e31e24;
  --red2: #b81419;
}

/* ---------- topbar ---------- */
.topbar { background: var(--blue); color: #dbe6ff; }
.topbar .icon-btn { color: #dbe6ff; }
.topbar .admin-link { color: #fff; }
.topbar-slogan { font-size: 11px; letter-spacing: .4px; }

/* ---------- header + brand ---------- */
.site-header { border-top: 4px solid var(--red); border-bottom: 1px solid #dcdfe3; }
.header-inner { min-height: 78px; gap: 14px; }
.brand { gap: 0; }
.brand img, .brand-logo {
  height: 50px; width: auto; max-width: 260px; object-fit: contain;
  background: transparent !important; padding: 0 !important; border-radius: 0 !important;
}
.brand:hover img { opacity: .9; }
.main-nav { margin-left: auto; }
.main-nav a { border-bottom: 3px solid transparent; border-radius: 0; padding: 24px 10px; font-size: 12.5px; letter-spacing: .1px; }
.main-nav a:hover, .main-nav a.active { background: transparent; color: var(--red); border-bottom-color: var(--red); }

/* ---------- ticker ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-label { background: var(--red); color: #fff; border-radius: 2px; }
.ticker-content span a { color: #222; font-weight: 600; }
.ticker-content span a:hover { color: var(--red); }
.ticker-track { mask-image: linear-gradient(90deg, #000 0%, #000 96%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 96%, transparent 100%); }
.ticker-content { padding-left: 4px; }

/* ---------- section ---------- */
.section-head { border-bottom: 2px solid #222; padding-bottom: 9px; align-items: flex-end; }
.section-title { font-family: Inter, Arial, sans-serif; font-weight: 900; font-size: 24px; letter-spacing: -.5px; }
.section-title span { color: var(--red); }
.section-more { font-size: 12px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.section-more:hover { color: var(--red); }

/* ---------- hero ---------- */
.hero-feature-content h1 { font-family: Inter, Arial, sans-serif; font-weight: 900; font-size: 32px; line-height: 1.18; letter-spacing: -.6px; }
.hero-badge { border-radius: 2px; }
.hero-feature, .hero-side .carousel-item, .card, .widget, .gallery-card { border-radius: 4px; }
.card-cat-badge { border-radius: 0; }
.pop-num { font-family: Inter, Arial, sans-serif; }

/* ---------- hero carousel: gambar penuh + teks overlay ---------- */
.hero-side { min-height: 430px; }
.hero-side .carousel-item { display: block; background: #111; }
.hero-side .carousel-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 0; display: block;
}
.hero-side .carousel-item > div {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 54px 16px 34px; display: block;
  background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,0) 100%);
}
.hero-side .carousel-item > div h3 { color: #fff; font-size: 17px; line-height: 1.35; font-weight: 900; }
.hero-side .carousel-item > div .card-cat { color: #ff9ea2; }
.hero-side .carousel-item > div .card-date { color: #d7dbe2; }
.hero-side .carousel-dots { bottom: 10px; z-index: 4; }
.hero-side .carousel-dot { background: rgba(255,255,255,.5); }
.hero-side .carousel-dot.active { background: #e31e24; }

/* ---------- widget head ---------- */
.widget-head { border-bottom: 2px solid #222; }
.widget-head h3 { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .3px; }
.widget-head h3::after { height: 2px; bottom: -2px; background: var(--red); }

/* ---------- footer ---------- */
.footer { border-top: 4px solid var(--red); background: #101a2e; }
.footer-logo { height: 46px; width: auto; max-width: 250px; object-fit: contain; }
.footer-col h4 { letter-spacing: .6px; }
.socials a { background: #25d366; }

/* ---------- halaman statis ---------- */
.page-shell { border-radius: 4px; }
.page-shell h1 { font-family: Inter, Arial, sans-serif; font-weight: 900; letter-spacing: -.5px; }
.page-lead { font-size: 15px; color: #4b5563; line-height: 1.7; margin-bottom: 18px; }

/* ---------- kartu statis (redaksi / iklan) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 20px; }
.info-card h3 { font-size: 15px; font-weight: 900; margin-bottom: 6px; }
.info-card p { font-size: 13px; color: #4b5563; line-height: 1.6; }
.info-card .big { font-size: 22px; font-weight: 900; color: var(--blue); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 26px; }
.team-item { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 4px; padding: 14px; background: #fff; }
.team-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 900; }
.team-item b { font-size: 14px; display: block; }
.team-item span { font-size: 12px; color: var(--muted); }

/* ---------- galeri halaman ---------- */
.gallery-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-page-grid .gallery-card img { height: 210px; }
.gallery-page-grid .gallery-info h4 { font-size: 14px; }

/* ---------- iklan ---------- */
.rate-table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 13px; background: #fff; }
.rate-table th, .rate-table td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; }
.rate-table th { background: #f3f6fb; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.rate-table td strong { color: var(--blue); }
.cta-band { background: linear-gradient(120deg, var(--blue), #1650b8); color: #fff; border-radius: 4px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 26px 0; }
.cta-band h3 { font-size: 19px; font-weight: 900; margin-bottom: 4px; }
.cta-band p { font-size: 13px; color: #d7e3ff; }
.cta-band a { background: #fff; color: var(--blue); font-weight: 900; font-size: 13px; padding: 11px 22px; border-radius: 4px; white-space: nowrap; }
.cta-band a:hover { background: #eaf1ff; }

/* ---------- breadcrumb / artikel ---------- */
.breadcrumb a { color: var(--blue); font-weight: 600; }
.article-cat-tag { border-radius: 2px; }
.article-title { font-family: Inter, Arial, sans-serif; font-weight: 900; letter-spacing: -.7px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .main-nav { margin-left: 0; }
  .main-nav a { padding: 10px 12px; border-bottom: none; border-left: 3px solid transparent; }
  .main-nav a.active { border-left-color: var(--red); border-bottom: none; }
  .info-grid, .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .brand img, .brand-logo { height: 40px; max-width: 210px; }
  .header-inner { min-height: 66px; }
  .info-grid, .gallery-page-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-feature-content h1 { font-size: 24px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .brand img, .brand-logo { height: 34px; max-width: 180px; }
}
