/*
Theme Name: Vegas969 Guide 6T8iClet
Theme URI: https://vegas969login.asia/
Author: Redaksi Vegas969 Panduan Indonesia
Description: Tema editorial independen untuk Vegas969 Panduan Indonesia, dibuat khusus untuk run 6T8iClet.
Version: 1.0.0
Text Domain: vegas969-guide
*/

:root {
  --bg: #f7f0e5;
  --paper: #fffdf8;
  --soft: #efe1d2;
  --forest: #263f38;
  --terracotta: #a94e38;
  --sage: #527362;
  --ochre: #9b6914;
  --ink: #302a26;
  --muted: #685e57;
  --line: #d6c4b2;
  --focus: #13513e;
  --wide: 1180px;
  --read: 760px;
  --shadow: 0 16px 38px rgba(80, 50, 35, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.76;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: #7f3427; text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { color: var(--forest); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 999; background: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,253,248,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { max-width: var(--wide); min-height: 74px; margin: auto; padding: 10px clamp(16px,4vw,48px); display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.custom-logo { display: block; width: min(300px, 38vw); max-height: 54px; object-fit: contain; object-position: left center; }
.brand-fallback { color: var(--forest); font-weight: 800; line-height: 1.1; max-width: 260px; }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--forest); font-weight: 800; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: flex; align-items: center; min-height: 48px; padding: 8px 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 10px; }
.site-nav a:hover { background: var(--soft); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--soft); }
.hero:before { content: ""; position: absolute; width: 52vw; height: 52vw; right: -18vw; top: -24vw; z-index: -1; border-radius: 50%; background: #d8b29b; }
.hero-inner { max-width: var(--wide); margin: auto; padding: clamp(48px,7vw,92px) clamp(16px,4vw,48px) 42px; }
.eyebrow { margin: 0 0 12px; color: var(--sage); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1,h2,h3 { color: var(--forest); line-height: 1.15; letter-spacing: -.025em; }
h1 { max-width: 970px; margin: 0 0 18px; font-size: clamp(2.2rem,5.3vw,4.15rem); }
h2 { margin: 2.5em 0 .65em; font-size: clamp(1.75rem,3.4vw,2.65rem); scroll-margin-top: 96px; }
h3 { margin: 2em 0 .6em; font-size: clamp(1.28rem,2vw,1.65rem); }
.dek { max-width: 780px; margin: 0; color: #4f4640; font-size: clamp(1.08rem,1.8vw,1.35rem); }
.hero-figure { max-width: var(--wide); margin: 36px auto -78px; }
.hero-figure img { display:block; width:100%; aspect-ratio: 3/2; object-fit:cover; border-radius: 72px 18px 72px 18px; box-shadow: var(--shadow); }
.site-main { max-width: var(--wide); margin: auto; padding: 106px clamp(16px,4vw,48px) 90px; }
.article-body { max-width: var(--read); margin: auto; }
.article-body > p { margin: 0 0 1.25em; }
.article-body > h2:nth-of-type(3n+1) { position: relative; }
.article-body > h2:nth-of-type(3n+1):before { content:""; position:absolute; left:-28px; top:.25em; width:12px; height:1.1em; border-radius:12px 3px; background:var(--terracotta); }
.content-figure { width: min(1020px, calc(100vw - 32px)); margin: 54px 50%; transform: translateX(-50%); }
.content-figure img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border-radius: 18px 58px 18px 58px; box-shadow:var(--shadow); }
figcaption { margin-top: 10px; color: var(--muted); font-size: .84rem; text-align:center; }
table { width: min(1040px, calc(100vw - 32px)); margin: 32px 50%; transform: translateX(-50%); border-collapse: collapse; background: var(--paper); box-shadow: var(--shadow); }
th, td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--forest); color: #fff; }
ol, ul { padding-left: 1.3em; }
.asset-box { width:min(980px,calc(100vw - 32px)); margin:36px 50%; transform:translateX(-50%); padding:26px; border:1px solid var(--line); border-radius:32px 12px; background:var(--paper); box-shadow:var(--shadow); }
.faq-block { width:min(920px,calc(100vw - 32px)); margin:72px 50% 0; transform:translateX(-50%); padding:clamp(20px,4vw,38px); border-radius:48px 16px; background:#e8f0ea; }
.faq-block h2 { margin-top:0; }
details { border-top:1px solid #becfc3; }
details:last-child { border-bottom:1px solid #becfc3; }
summary { padding:18px 4px; cursor:pointer; color:var(--forest); font-weight:800; }
details p { margin:0 4px 20px; }
.page-intro { padding-bottom: 8px; }
.page-intro .dek { font-size:1.12rem; }
.site-footer { color:#f8f0e7; background:var(--forest); }
.footer-inner { max-width:var(--wide); margin:auto; padding:58px clamp(16px,4vw,48px); display:grid; grid-template-columns:1.1fr 1fr; gap:40px; }
.site-footer p { margin:.3em 0 1em; }
.footer-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 22px; }
.site-footer a { display:flex; min-height:44px; align-items:center; color:#fff; }
.footer-name { font-size:1.15rem; font-weight:800; }

@media (max-width: 980px) {
  .menu-toggle { display:inline-flex; align-items:center; justify-content:center; }
  .site-nav { display:none; position:absolute; inset:74px 0 auto 0; margin:0; padding:12px 16px 20px; background:var(--paper); border-bottom:1px solid var(--line); box-shadow:var(--shadow); }
  .site-nav.is-open { display:block; }
  .site-nav ul { align-items:stretch; flex-direction:column; }
  .site-nav a { min-height:48px; font-size:16px; }
}
@media (max-width: 720px) {
  body { font-size:16px; }
  .custom-logo { width:230px; max-width:64vw; }
  .hero-inner { padding-top:42px; }
  .hero-figure { margin-top:28px; margin-bottom:-52px; }
  .hero-figure img { aspect-ratio:4/3; border-radius:42px 14px; }
  .site-main { padding-top:76px; padding-bottom:58px; }
  .article-body > h2:nth-of-type(3n+1):before { display:none; }
  .content-figure { margin-top:36px; margin-bottom:36px; }
  .content-figure img { border-radius:14px 36px; }
  .footer-inner { grid-template-columns:1fr; }
  .footer-links { grid-template-columns:1fr; }
  table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *:before, *:after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}
