/*
Theme Name: dubaitoto Panduan Indonesia G7PCPYQ8
Theme URI: https://dubaitotologin.asia/
Author: Redaksi dubaitoto Panduan Indonesia
Description: Tema editorial independen Style 6 untuk panduan DUBAITOTO Indonesia.
Version: 1.0.0
Text Domain: dubaitoto-panduan
*/

:root {
  --bg: #f7faf9;
  --surface: #ffffff;
  --soft: #edf4f2;
  --ink: #17231f;
  --muted: #5f706a;
  --accent: #175e52;
  --accent-dark: #0f483f;
  --warm: #a15725;
  --line: #d2dfda;
  --focus: #0b6f80;
  --measure: 46rem;
  --wide: 74rem;
  --shadow: 0 8px 24px rgba(23, 35, 31, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, .96rem + .16vw, 1.125rem);
  line-height: 1.78;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--warm); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.header-inner { width: min(calc(100% - 2rem), var(--wide)); min-height: 4.5rem; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; }
.site-brand { flex: 0 1 22rem; display: flex; align-items: center; min-width: 0; }
.site-brand a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.custom-logo { width: auto; max-width: min(21rem, 55vw); max-height: 3.25rem; object-fit: contain; }
.brand-fallback { font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: .18rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: flex; align-items: center; min-height: 48px; padding: .55rem .6rem; border-bottom: 2px solid transparent; color: var(--ink); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { border-color: var(--accent); color: var(--accent-dark); }
.site-main { min-height: 60vh; }
.page-shell { width: min(calc(100% - 2rem), var(--wide)); margin: 0 auto; padding: clamp(2rem, 5vw, 4.6rem) 0 clamp(4rem, 8vw, 7rem); }
.article-header { width: min(100%, 58rem); margin-bottom: clamp(2rem, 5vw, 4.2rem); }
.eyebrow { margin: 0 0 .9rem; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); line-height: 1.13; letter-spacing: -.03em; text-wrap: balance; }
h1 { max-width: 15ch; margin: 0; font-size: clamp(2.25rem, 5.7vw, 4.6rem); }
.dynamic-page h1 { max-width: 20ch; font-size: clamp(2.15rem, 4.8vw, 4rem); }
.article-body { width: min(100%, var(--measure)); }
.article-body > section, .article-body > h2 { margin-top: clamp(3.2rem, 7vw, 6.2rem); }
.article-body h2 { padding-top: .65rem; border-top: 1px solid var(--line); font-size: clamp(1.75rem, 3.4vw, 2.65rem); }
.article-body h3 { margin-top: 2.4rem; font-size: clamp(1.32rem, 2vw, 1.75rem); }
.article-body p { margin: 0 0 1.35rem; }
.article-body ul, .article-body ol { margin: 1.25rem 0 1.7rem; padding-left: 1.4rem; }
.article-body li { margin: .65rem 0; }
.article-body strong { color: #102f29; }
.article-body figure { width: min(100vw - 2rem, 70rem); margin: clamp(2rem, 5vw, 3.8rem) 0; }
.article-body figure img { width: 100%; border-radius: 4px; background: var(--soft); box-shadow: var(--shadow); aspect-ratio: var(--ratio, 3 / 2); object-fit: cover; }
.article-body figure.hero-editorial img { --ratio: 16 / 9; }
.article-body figcaption { max-width: 52rem; margin-top: .65rem; color: var(--muted); font-size: .87rem; line-height: 1.55; }
.table-wrap { width: min(100vw - 2rem, 70rem); overflow-x: auto; margin: 1.6rem 0 2.1rem; border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; min-width: 44rem; border-collapse: collapse; font-size: .92rem; line-height: 1.55; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--soft); color: var(--accent-dark); }
tr:last-child td { border-bottom: 0; }
blockquote { margin: 2rem 0; padding: .2rem 0 .2rem 1.25rem; border-left: 4px solid var(--warm); color: var(--muted); }
.faq-section { width: min(100vw - 2rem, 62rem); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { min-height: 48px; padding: 1rem 2.4rem 1rem 0; cursor: pointer; color: var(--ink); font-weight: 750; line-height: 1.4; }
.faq-item p { padding: 0 0 1.1rem; color: var(--muted); }
.contact-form { margin-top: 2rem; padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid var(--line); background: var(--surface); }
.contact-form label { display: block; margin-top: 1rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; margin-top: .4rem; padding: .7rem; border: 1px solid #87958f; background: #fff; color: var(--ink); font: inherit; }
.contact-form textarea { min-height: 10rem; resize: vertical; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 1.2rem; padding: .65rem 1.15rem; border: 0; border-radius: 2px; background: var(--accent-dark); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.button:hover { background: var(--warm); color: #fff; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--accent); background: var(--soft); }
.site-footer { border-top: 1px solid var(--line); background: #eef3f1; }
.footer-inner { width: min(calc(100% - 2rem), var(--wide)); margin: 0 auto; padding: 3rem 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 2.4rem; }
.footer-brand { margin: 0 0 .65rem; font-weight: 800; }
.footer-note { max-width: 38rem; margin: 0; color: var(--muted); font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: .35rem 1.2rem; }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .88rem; }
.footer-mail { grid-column: 1 / -1; margin: 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .88rem; }
.error-page { text-align: center; }
.error-page h1 { max-width: none; }

@media (min-width: 940px) {
  .article-body > .wide { width: min(70rem, calc(100vw - 4rem)); }
}
@media (max-width: 1040px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: .7rem 1rem 1rem; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem; }
  .primary-nav a { font-size: .95rem; white-space: normal; }
}
@media (max-width: 620px) {
  .header-inner, .page-shell, .footer-inner { width: min(calc(100% - 2rem), var(--wide)); }
  .primary-nav ul { grid-template-columns: 1fr; }
  .custom-logo { max-width: 69vw; max-height: 2.8rem; }
  .article-header { margin-bottom: 2.3rem; }
  .article-body > section, .article-body > h2 { margin-top: 3.3rem; }
  .article-body figure, .table-wrap, .faq-section { width: 100%; }
  .article-body figure img { aspect-ratio: 5 / 4; object-position: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.3rem; }
  .footer-nav { justify-content: flex-start; }
  .footer-mail { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
