/*
Theme Name: Scam Ready ASEAN Indonesia
Theme URI: https://internetsehat.id/scam-ready-asean/
Author: ICT Watch — Internet Sehat
Description: Tema WordPress one-pager berdesain clean & nyaman di mata dengan latar utama putih untuk program edukasi masyarakat Scam Ready ASEAN di Indonesia (ICT Watch / Internet Sehat, didukung ASEAN Foundation & Google.org). Dilengkapi Data & Target Indonesia, Tentang Program, Video YouTube, Game Be Scam Ready, Kurikulum ToT, Human Interest Story (Bunga Rampai), Galeri Foto Kegiatan, serta link Media Sosial di footer.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scam-ready-asean
Tags: education, clean, white, one-page, custom-colors, custom-logo, custom-menu, featured-images
*/

:root {
  --sra-primary: #0f2942;
  --sra-accent: #2563eb;
  --sra-accent-soft: #eff6ff;
  --sra-teal: #0d9488;
  --sra-bg: #ffffff;
  --sra-surface: #f8fafc;
  --sra-surface-soft: #f4f7fb;
  --sra-border: #e6edf5;
  --sra-text: #1e293b;
  --sra-muted: #64748b;
  --sra-radius: 18px;
  --sra-shadow-sm: 0 4px 16px rgba(15, 41, 66, 0.04);
  --sra-shadow-md: 0 14px 36px -10px rgba(15, 41, 66, 0.08);
  --sra-shadow-lg: 0 24px 54px -14px rgba(15, 41, 66, 0.11);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--sra-bg);
  color: var(--sra-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sra-accent); text-decoration: none; }

.sra-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.sra-hero, .sra-section { scroll-margin-top: 86px; }
.admin-bar .sra-hero, .admin-bar .sra-section { scroll-margin-top: 118px; }

/* Header & Navigation */
.sra-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sra-border);
}
.admin-bar .sra-header { top: 32px; }
.sra-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
.sra-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sra-primary);
  font-weight: 800;
  font-size: 18.5px;
  letter-spacing: -0.025em;
}
.sra-brand img.custom-logo { max-height: 44px; width: auto; }
.sra-logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sra-primary), var(--sra-accent));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}
.sra-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sra-nav a {
  display: inline-block;
  color: var(--sra-muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.sra-nav a:hover {
  color: var(--sra-primary);
  background: var(--sra-surface-soft);
}
.sra-nav .current-menu-item > a,
.sra-nav a.is-active {
  color: var(--sra-accent);
  background: var(--sra-accent-soft);
}
.sra-menu-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--sra-border);
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--sra-primary);
  cursor: pointer;
}

/* Buttons */
.sra-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}
.sra-btn-primary {
  background: var(--sra-accent);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.45);
}
.sra-btn-primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
}
.sra-btn-outline {
  background: #ffffff;
  color: var(--sra-primary);
  border-color: var(--sra-border);
}
.sra-btn-outline:hover {
  border-color: var(--sra-accent);
  color: var(--sra-accent);
  background: var(--sra-accent-soft);
}

/* Hero */
.sra-hero {
  padding: 88px 0 80px;
  background:
    radial-gradient(680px circle at 90% 10%, rgba(37, 99, 235, 0.07), transparent 60%),
    radial-gradient(520px circle at 8% 92%, rgba(13, 148, 136, 0.06), transparent 55%),
    #ffffff;
  border-bottom: 1px solid var(--sra-border);
}
.sra-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}
.sra-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sra-accent-soft);
  color: var(--sra-accent);
  border: 1px solid rgba(37, 99, 235, 0.16);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
.sra-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.16;
  font-weight: 800;
  color: var(--sra-primary);
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.sra-hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--sra-muted);
  max-width: 540px;
  margin: 0 0 32px;
}
.sra-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.sra-hero-card {
  background: #ffffff;
  border: 1px solid var(--sra-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--sra-shadow-lg);
}
.sra-hero-card img {
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
}

/* Sections */
.sra-section {
  padding: 92px 0;
  background: #ffffff;
}
.sra-section-alt {
  background: var(--sra-surface);
  border-top: 1px solid var(--sra-border);
  border-bottom: 1px solid var(--sra-border);
}
.sra-section-head {
  max-width: 660px;
  margin-bottom: 52px;
}
.sra-section-head.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sra-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sra-accent);
  background: var(--sra-accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.sra-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--sra-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.sra-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--sra-muted);
  margin: 0;
}

/* Stats */
.sra-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sra-stat-card {
  background: #ffffff;
  border: 1px solid var(--sra-border);
  border-radius: var(--sra-radius);
  padding: 28px 24px;
  box-shadow: var(--sra-shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.sra-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sra-shadow-md);
}
.sra-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--sra-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.sra-stat-label {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}
.sra-stat-sub {
  font-size: 13px;
  color: var(--sra-muted);
}

/* Urgency & Data Indonesia */
.sra-urgency-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-top: 32px;
}
.sra-urgency-box {
  background: var(--sra-surface);
  border: 1px solid var(--sra-border);
  border-radius: var(--sra-radius);
  padding: 28px;
}
.sra-urgency-box h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--sra-primary);
}
.sra-urgency-source {
  font-size: 12.5px;
  color: var(--sra-muted);
  margin-bottom: 18px;
}
.sra-mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sra-mini-metric {
  background: #ffffff;
  border: 1px solid var(--sra-border);
  border-radius: 14px;
  padding: 16px;
}
.sra-mini-metric strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--sra-primary);
  margin-bottom: 4px;
}
.sra-mini-metric span {
  font-size: 12.5px;
  color: var(--sra-muted);
  display: block;
}

/* Game Be Scam Ready */
.sra-game-showcase {
  background: linear-gradient(145deg, #f8fbff 0%, #eff6ff 55%, #f0fdfa 100%);
  border: 1px solid #dbeafe;
  border-radius: 26px;
  padding: 40px;
  box-shadow: var(--sra-shadow-lg);
}
.sra-game-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.sra-game-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 28px;
}
.sra-game-chip {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbeafe;
  border-radius: 13px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sra-primary);
}
.sra-game-card {
  background: #ffffff;
  border: 1px solid var(--sra-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--sra-shadow-md);
  text-align: center;
}
.sra-game-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2942, #1d4ed8);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 12px;
}
.sra-game-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

/* About */
.sra-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.sra-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.sra-pillar {
  background: #ffffff;
  border: 1px solid var(--sra-border);
  border-radius: var(--sra-radius);
  padding: 24px;
  box-shadow: var(--sra-shadow-sm);
}
.sra-pillar h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  color: var(--sra-primary);
}
.sra-pillar p {
  margin: 0;
  font-size: 13.5px;
  color: var(--sra-muted);
}

/* Video YouTube Section */
.sra-video-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--sra-border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--sra-shadow-lg);
}
.sra-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
}
.sra-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Curriculum */
.sra-curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sra-module {
  background: #ffffff;
  border: 1px solid var(--sra-border);
  border-radius: var(--sra-radius);
  padding: 30px;
  display: flex;
  gap: 20px;
  box-shadow: var(--sra-shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sra-module:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: var(--sra-shadow-md);
}
.sra-module-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--sra-accent);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sra-module-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--sra-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.sra-module h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--sra-primary);
}
.sra-module p {
  margin: 0;
  font-size: 14.5px;
  color: var(--sra-muted);
}

/* Stories */
.sra-stories-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.sra-filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: var(--sra-surface-soft);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--sra-border);
}
.sra-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--sra-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sra-filter-btn.is-active,
.sra-filter-btn:hover {
  background: var(--sra-primary);
  color: #ffffff;
}
.sra-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.sra-story-card {
  background: #ffffff;
  border: 1px solid var(--sra-border);
  border-radius: var(--sra-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sra-shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.sra-story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sra-shadow-md);
}
.sra-story-thumb {
  height: 195px;
  background: linear-gradient(135deg, #eff6ff, #f0fdfa);
  position: relative;
  overflow: hidden;
}
.sra-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sra-story-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--sra-primary);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(15, 41, 66, 0.08);
}
.sra-story-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sra-story-date {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 8px;
}
.sra-story-title {
  margin: 0 0 10px;
  font-size: 17.5px;
  line-height: 1.4;
}
.sra-story-title a { color: var(--sra-primary); }
.sra-story-title a:hover { color: var(--sra-accent); }
.sra-story-excerpt {
  font-size: 14px;
  color: var(--sra-muted);
  margin: 0 0 18px;
  flex: 1;
}
.sra-story-meta {
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Gallery */
.sra-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sra-gallery-item {
  position: relative;
  border-radius: var(--sra-radius);
  overflow: hidden;
  border: 1px solid var(--sra-border);
  background: #ffffff;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--sra-shadow-sm);
}
.sra-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.sra-gallery-item:hover img { transform: scale(1.04); }
.sra-gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 18px 16px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78), transparent);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
}

/* Single Post & Page */
.sra-article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}
.sra-article-header { margin-bottom: 32px; }
.sra-article-header h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--sra-primary);
  line-height: 1.2;
  margin: 12px 0 16px;
}
.sra-article-thumb {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--sra-border);
}
.sra-article-content { font-size: 16.5px; color: #1e293b; }
.sra-article-content p { margin-bottom: 1.35em; }
.sra-article-content h2, .sra-article-content h3 { color: var(--sra-primary); margin-top: 1.6em; }

/* Lightbox */
.sra-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}
.sra-lightbox.is-open { display: flex; }
.sra-lightbox-inner {
  max-width: 860px;
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.sra-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}
.sra-lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #0f172a;
}
.sra-lightbox-cap {
  padding: 18px 24px;
  font-weight: 700;
  color: var(--sra-primary);
}

/* Footer & Social */
.sra-footer {
  background: #ffffff;
  border-top: 1px solid var(--sra-border);
  padding: 68px 0 36px;
}
.sra-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.sra-footer h4 {
  margin: 0 0 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sra-primary);
}
.sra-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.sra-footer a { color: var(--sra-muted); font-size: 14.5px; }
.sra-footer a:hover { color: var(--sra-accent); }
.sra-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.sra-social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--sra-border);
  background: var(--sra-surface);
  color: var(--sra-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.sra-social-link:hover {
  background: var(--sra-accent);
  border-color: var(--sra-accent);
  color: #ffffff;
  transform: translateY(-2px);
}
.sra-footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--sra-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: #64748b;
}

@media (max-width: 960px) {
  .sra-hero-grid, .sra-about-grid, .sra-curriculum-grid, .sra-footer-grid, .sra-urgency-grid, .sra-game-grid { grid-template-columns: 1fr; }
  .sra-stats-grid, .sra-stories-grid, .sra-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sra-menu-toggle { display: inline-flex; }
  .sra-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--sra-border);
    padding: 16px 24px;
  }
  .sra-nav.is-open { display: block; }
  .sra-nav ul { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sra-stats-grid, .sra-stories-grid, .sra-gallery-grid, .sra-pillars, .sra-mini-metrics, .sra-game-chips { grid-template-columns: 1fr; }
  .sra-game-showcase { padding: 24px 18px; }
}
