:root{
  --gold:        #d4af37;
  --gold-light:  #f1d27a;
  --gold-dark:   #a8842a;
  --black:       #0d0d0d;
  --black-soft:  #141414;
  --card:        #1a1a1a;
  --card-2:      #202020;
  --line:        #2e2a1f;
  --text:        #eaeaea;
  --text-dim:    #b7b7b7;
  --radius:      14px;
  --shadow:      0 8px 24px rgba(0,0,0,.55);
  --gold-gradient: linear-gradient(135deg,#f1d27a 0%,#d4af37 45%,#a8842a 100%);
}

/* ---------- WRAPPER ARTIKEL ---------- */
article[itemtype*="Article"]{
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 18px 60px;
  background: var(--black);
  color: var(--text);
  font-family: "Noto Sans Thai","Sarabun","Prompt",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* ---------- HEADINGS ---------- */
article h1{
  font-size: clamp(1.5rem, 4.6vw, 2.2rem);
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 22px;
  padding-bottom: 16px;
  color: #fff;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 3px solid transparent;
  border-image: var(--gold-gradient) 1;
}

article h2{
  font-size: clamp(1.2rem, 3.6vw, 1.55rem);
  font-weight: 700;
  color: var(--gold-light);
  margin: 44px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
  line-height: 1.45;
}

article h3{
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  font-weight: 700;
  color: var(--gold);
  margin: 26px 0 10px;
}

article h4{
  font-size: .98rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 14px 0 6px;
  text-transform: none;
}

/* ---------- PARAGRAF & INLINE ---------- */
article p{
  margin: 0 0 16px;
  color: var(--text);
}
article strong{
  color: var(--gold-light);
  font-weight: 700;
}
article em{
  color: var(--text-dim);
  font-style: italic;
  font-size: .93em;
}
article a{
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s ease;
}
article a:hover{ color: var(--gold-light); }

/* ---------- SECTION CARD ---------- */
article section{
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin: 26px 0;
  box-shadow: var(--shadow);
}
article section#introduction{
  background: linear-gradient(160deg,#171717 0%,#111 100%);
  border-color: var(--gold-dark);
}

/* ---------- LIST ---------- */
article ul{
  list-style: none;
  padding-left: 0;
  margin: 12px 0 18px;
}
article ul li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text);
}
article ul li::before{
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: .8em;
  line-height: 2.3;
}
article ol{
  padding-left: 22px;
  margin: 12px 0 18px;
}
article ol li{ margin-bottom: 10px; }

/* ---------- BRAND REVIEW CARDS ---------- */
.brand-review{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px 4px;
  margin: 12px 0 20px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.brand-review:hover{
  transform: translateY(-2px);
  border-color: var(--gold-dark);
  box-shadow: 0 10px 26px rgba(212,175,55,.12);
}
.brand-review h4:first-child{
  color: var(--gold);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

/* ---------- TABLE (RESPONSIVE, MOBILE SCROLL) ---------- */
.responsive-table{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin: 14px 0 8px;
}
.responsive-table table{
  border-collapse: collapse !important;
  width: 100%;
  min-width: 760px;
  font-size: .9rem;
  background: var(--card);
  color: var(--text);
}
.responsive-table thead th{
  background: var(--gold-gradient) !important;
  color: #111 !important;
  font-weight: 800;
  padding: 12px 10px;
  text-align: left;
  white-space: nowrap;
  border: none !important;
}
.responsive-table tbody td{
  padding: 11px 10px;
  border: 1px solid var(--line) !important;
  vertical-align: top;
}
.responsive-table tbody tr:nth-child(even){
  background: var(--card-2);
}
.responsive-table tbody tr:hover{
  background: #262218;
}

/* ---------- FAQ ---------- */
#faq .faq-item{
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
#faq .faq-item h3{
  margin: 0 0 8px;
  color: var(--gold-light);
  font-size: 1.02rem;
  cursor: pointer;
}
#faq .faq-item p{
  color: var(--text-dim);
  margin-bottom: 10px;
}

/* ---------- TESTIMONIAL ---------- */
.testimonial-box{
  position: relative;
  background: linear-gradient(150deg,#1c1a14 0%,#141414 100%);
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  padding: 18px 18px 12px 46px;
  margin: 14px 0;
}
.testimonial-box::before{
  content: "❝";
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 2rem;
  color: var(--gold);
  opacity: .6;
  line-height: 1;
}
.testimonial-box h3{
  margin: 0 0 6px;
  color: var(--gold-light);
  font-size: 1rem;
}
.testimonial-box p{
  color: var(--text-dim);
  margin: 0;
  font-size: .96rem;
}

/* ---------- FOOTNOTE / DISCLAIMER ---------- */
article section p em:only-child{
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold-dark);
  background: rgba(212,175,55,.05);
  border-radius: 6px;
}

/* ---------- FOCUS & SELECTION ---------- */
article a:focus-visible,
#faq .faq-item h3:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}
article ::selection{
  background: var(--gold);
  color: #111;
}

/* ---------- SCROLLBAR (opsional, WebKit) ---------- */
.responsive-table::-webkit-scrollbar{ height: 8px; }
.responsive-table::-webkit-scrollbar-track{ background: var(--black); }
.responsive-table::-webkit-scrollbar-thumb{
  background: var(--gold-dark);
  border-radius: 8px;
}

/* ---------- MOBILE TWEAK ---------- */
@media (max-width: 640px){
  article[itemtype*="Article"]{
    padding: 18px 12px 44px;
    font-size: 16px;
  }
  article section{
    padding: 16px 14px;
    margin: 18px 0;
    border-radius: 12px;
  }
  article h2{ margin-top: 32px; }
  .brand-review{ padding: 14px 14px 2px; }
  .testimonial-box{ padding: 16px 14px 10px 42px; }
  .responsive-table table{ font-size: .84rem; }
}

/* ---------- PRINT ---------- */
@media print{
  article[itemtype*="Article"]{ background:#fff; color:#000; }
  article section{ box-shadow:none; border-color:#ccc; background:#fff; }
  article h1, article h2, article h3, article strong{ color:#000 !important; -webkit-text-fill-color:#000; }
}
.floating-menu{display:none}.floating-menu{display:none}