/* Visa guides — matches the thaiprivilegeapply.com dark/gold theme */
:root{ --ink:#0c0a08; --ink2:#141110; --paper:#f7f1e6; --gold:#c9a24b; --gold-soft:#e4c988; --line:rgba(255,255,255,0.1); }
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--ink); color:var(--paper); font-family:'Prompt',sans-serif; font-weight:300; line-height:1.75; -webkit-text-size-adjust:100%; }
a{ color:var(--gold-soft); }
img{ max-width:100%; height:auto; }

.g-nav{ position:sticky; top:0; z-index:50; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 24px; background:rgba(12,10,8,0.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
@media(min-width:640px){ .g-nav{ padding:16px 48px; } }
.g-brand{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:18px; letter-spacing:0.08em; text-transform:uppercase; color:#fff; text-decoration:none; white-space:nowrap; }
.g-links{ display:none; list-style:none; margin:0; padding:0; gap:28px; }
@media(min-width:900px){ .g-links{ display:flex; } }
.g-links a{ color:#fff; opacity:0.78; text-decoration:none; font-size:13px; letter-spacing:0.04em; }
.g-links a:hover{ opacity:1; color:var(--gold-soft); }
.g-right{ display:flex; align-items:center; gap:14px; }
.g-lang{ color:#fff; opacity:0.7; text-decoration:none; font-size:13px; }
.g-cta{ font-size:12px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink); background:var(--gold-soft); padding:10px 18px; border-radius:2px; text-decoration:none; white-space:nowrap; }
@media(max-width:420px){ .g-brand{ font-size:14px; } .g-cta{ padding:9px 12px; font-size:11px; } }

.g-main{ max-width:880px; margin:0 auto; padding:0 20px 40px; }
@media(min-width:640px){ .g-main{ padding:0 40px 60px; } }
.g-hero{ padding:48px 0 28px; border-bottom:1px solid var(--line); }
.g-hero-hub{ text-align:left; }
.g-crumbs{ font-size:12.5px; opacity:0.65; margin-bottom:22px; }
.g-crumbs a{ color:#fff; text-decoration:none; }
.g-crumbs a:hover{ color:var(--gold-soft); }
.g-crumbs span{ margin:0 4px; }
.g-eyebrow{ font-size:11px; font-weight:600; letter-spacing:0.24em; text-transform:uppercase; color:var(--gold-soft); margin-bottom:12px; }
.g-hero h1{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(32px,5vw,50px); line-height:1.08; color:#fff; margin:0; }
html[lang="th"] .g-hero h1{ font-family:'Prompt',sans-serif; font-weight:600; font-size:clamp(26px,4.2vw,40px); line-height:1.3; }
.g-lede{ font-size:17px; opacity:0.85; margin:20px 0 0; }
.g-meta{ font-size:12.5px; opacity:0.6; margin:18px 0 0; }
.g-meta a{ color:inherit; }

.g-body{ padding-top:12px; font-size:16px; overflow-wrap:anywhere; }
.g-body h2, .g-related h2, .g-hubsec h2, .g-main > article h2{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(25px,3.4vw,32px); color:#fff; line-height:1.2; margin:44px 0 12px; }
html[lang="th"] .g-body h2, html[lang="th"] .g-related h2, html[lang="th"] .g-hubsec h2{ font-family:'Prompt',sans-serif; font-weight:600; font-size:clamp(21px,3vw,26px); }
.g-body h3{ font-size:18px; font-weight:600; color:var(--gold-soft); margin:28px 0 8px; }
.g-body p{ margin:0 0 16px; opacity:0.92; }
.g-body ul, .g-body ol{ margin:0 0 18px; padding-left:22px; }
.g-body li{ margin-bottom:8px; opacity:0.92; }
.g-body strong{ color:#fff; font-weight:600; }
.g-tablewrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; margin:18px 0 24px; border:1px solid var(--line); }
.g-table{ width:100%; min-width:560px; border-collapse:collapse; font-size:14px; }
.g-table th, .g-table td{ padding:12px 14px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
.g-table thead th{ color:var(--gold-soft); font-weight:600; background:rgba(201,162,75,0.07); }
.g-table tbody tr:last-child td, .g-table tbody tr:last-child th{ border-bottom:0; }
.g-table tbody th{ color:#fff; font-weight:500; }
.g-tip{ border-left:3px solid var(--gold); background:rgba(201,162,75,0.07); padding:14px 18px; margin:20px 0; font-size:15px; }
.g-note{ margin:36px 0 8px; padding:18px 20px; border:1px solid rgba(201,162,75,0.35); background:rgba(201,162,75,0.05); font-size:14px; opacity:0.9; }
.g-note strong{ color:var(--gold-soft); display:block; margin-bottom:4px; }

.g-faq details{ border-bottom:1px solid var(--line); padding:14px 0; }
.g-faq summary{ cursor:pointer; font-weight:500; color:#fff; list-style:none; position:relative; padding-right:28px; }
.g-faq summary::-webkit-details-marker{ display:none; }
.g-faq summary::after{ content:'+'; position:absolute; right:4px; top:0; color:var(--gold-soft); font-size:20px; line-height:1.3; }
.g-faq details[open] summary::after{ content:'\2212'; }
.g-faq details p{ margin:10px 0 0; opacity:0.85; }

.g-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:18px; }
@media(max-width:620px){ .g-grid{ grid-template-columns:1fr; } }
.g-card{ display:flex; flex-direction:column; gap:8px; background:var(--ink); border:1px solid var(--line); padding:22px 22px; color:#fff; text-decoration:none; transition:background 250ms, border-color 250ms; }
.g-card:hover{ background:var(--ink2); border-color:rgba(201,162,75,0.45); }
.g-card-cat{ font-size:10.5px; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold-soft); }
.g-card-t{ font-size:16px; font-weight:500; line-height:1.4; }
.g-card:hover .g-card-t{ color:var(--gold-soft); }
.g-card-d{ font-size:13.5px; opacity:0.68; line-height:1.6; }
.g-card-more{ font-size:12px; color:var(--gold-soft); letter-spacing:0.06em; margin-top:auto; }
.g-related{ margin-top:52px; }
.g-hubsec{ margin-top:44px; }

.g-ctabox{ margin:56px 0 0; padding:34px 28px; text-align:center; background:linear-gradient(160deg,#17130f,#0c0a08); border:1px solid rgba(201,162,75,0.35); }
.g-ctabox h2{ font-family:'Cormorant Garamond',serif; font-size:clamp(25px,3.6vw,34px); color:#fff; margin:0 0 10px; line-height:1.2; }
html[lang="th"] .g-ctabox h2{ font-family:'Prompt',sans-serif; font-weight:600; font-size:clamp(20px,3vw,26px); }
.g-ctabox p{ opacity:0.8; margin:0 auto 22px; max-width:56ch; }
.g-btns{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.g-btn{ display:inline-block; padding:13px 22px; font-size:12.5px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; text-decoration:none; border-radius:2px; }
.g-btn-p{ background:var(--gold-soft); color:var(--ink); }
.g-btn-g{ border:1px solid rgba(255,255,255,0.35); color:#fff; }
.g-btn:hover{ filter:brightness(1.08); }
.g-foot{ text-align:center; font-size:12px; opacity:0.5; padding:28px 20px 40px; border-top:1px solid var(--line); line-height:1.9; }
.g-foot a{ color:inherit; }
