/*
 Theme Name:  R Web Design
 Theme URI:   https://example.com/
 Description: Child theme for your WordPress site using the RWD1989 palette and components.
 Author:      You
 License:     GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: r-web-design
 Template:     plant3
 Version:      3.3
*/
/* ======================================================
   GLOBAL BACKGROUND (using image-set)
====================================================== */

html, body{
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #050A15;
}

body{
  background-image:
    image-set(
      url("images/bg-grain-line.webp") type("image/webp"),
      url("images/bg-grain-line.png") type("image/png")
    );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Disable old navy layers if exist */
#rwd1989-bg,
#rwd1989-fx{
  display: none !important;
}

/* ======================================================
   Layout & Rhythm
====================================================== */

:root{
  --content-max: 1200px;
  --wide-max: 1440px;
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
}

.wp-site-blocks,
.gb-container > .gb-inside-container,
.wp-block-group__inner-container{
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.alignwide{ max-width: var(--wide-max); margin-inline:auto; }
.alignfull{ max-width:none; padding-inline:0; }

h1{ font-size: clamp(28px, 4vw, 48px); margin: var(--space-7) 0 var(--space-5); }
h2{ font-size: clamp(24px, 3.2vw, 36px); margin: var(--space-6) 0 var(--space-4); }
h3{ font-size: clamp(20px, 2.6vw, 28px); margin: var(--space-5) 0 var(--space-3); }

/*body{ font-size: 17px; line-height: 1.6; color:#EAF1FF; }*/

/* ======================================================
   Buttons
====================================================== */

.button,.wp-block-button__link{
  background: #FF8C42;
  color: #0A0F1C;
  border-radius: 999px;
  padding: .8em 1.4em;
  font-weight: 600;
  display:inline-flex; 
  align-items:center; 
  gap:.5em;
}

.button:hover,.wp-block-button__link:hover{ 
  filter: brightness(.98); 
}

/* ======================================================
   Contact Grid
====================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-grid > * { height: 100%; }

.map-wrap {
  position: relative;
  height: 100%;
  min-height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 320px; }
}

/* ======================================================
   Breadcrumb
====================================================== */

.rwd-breadcrumb {margin:12px 0 20px}
.rwd-breadcrumb ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.rwd-breadcrumb li{font-size:14px;opacity:.9}
.rwd-breadcrumb a{text-decoration:none;color:#8fb7ff}
.rwd-breadcrumb a:hover{color:#cfe3ff}
.rwd-breadcrumb li::after{content:"›";margin:0 6px;opacity:.4}
.rwd-breadcrumb li.current::after{content:"";margin:0}
.rwd-breadcrumb li.current{color:#e6eefc;font-weight:600;opacity:1}

/* ==========================================================
   LUX GOLD BUTTON (Seed / WP / Gutenberg)
   ใช้ได้กับ: <a>, <button>, input[type="submit"]
   - Hover = สีสว่างขึ้น + ลอยนิด ๆ
   - Active = กดลง
   - Focus-visible = วงเรืองแสง
   - .is-active = คลิกแล้วค้างสี (selected)
   - .no-arrow = ไม่เอาลูกศร
========================================================== */

:root{
  /* ปรับสีหลักได้ตรงนี้ */
  --btn-gold-text: #6b4a00;
  --btn-gold-border: rgba(140, 100, 0, 0.25);

  --btn-gold-g1: #ffd777;
  --btn-gold-g2: #f5c34b;
  --btn-gold-g3: #e2a62f;

  --btn-gold-h1: #ffe08f;
  --btn-gold-h2: #f7c95a;
  --btn-gold-h3: #e8ae3a;

  --btn-gold-a1: #f2b93a;
  --btn-gold-a2: #e0a428;
  --btn-gold-a3: #c98a14;

  --btn-focus-ring: rgba(255, 200, 80, 0.45);
}

/* ครอบคลุมปุ่มของ WP/Seed ที่เจอบ่อย */
.btn-gold,
.wp-block-button .wp-block-button__link.btn-gold,
.wp-block-button .wp-block-button__link.btn-gold:visited,
button.btn-gold,
a.btn-gold,
input[type="submit"].btn-gold{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 28px;
  border-radius: 999px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;

  color: var(--btn-gold-text) !important;

  background: linear-gradient(
    180deg,
    var(--btn-gold-g1) 0%,
    var(--btn-gold-g2) 45%,
    var(--btn-gold-g3) 100%
  );

  border: 1px solid var(--btn-gold-border);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    0 4px 10px rgba(140, 100, 0, 0.25);

  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

/* ลูกศร › แบบในภาพ */
.btn-gold::after{
  content: "›";
  font-size: 20px;
  line-height: 1;
  margin-left: 4px;
  transition: transform 0.22s ease;
}

/* ไม่เอาลูกศร */
.btn-gold.no-arrow::after{
  content: "";
  display: none;
}

/* Hover */
.btn-gold:hover{
  background: linear-gradient(
    180deg,
    var(--btn-gold-h1) 0%,
    var(--btn-gold-h2) 45%,
    var(--btn-gold-h3) 100%
  );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    0 6px 14px rgba(140, 100, 0, 0.35);

  transform: translateY(-1px);
}

.btn-gold:hover::after{
  transform: translateX(4px);
}

/* Active (กดลงค้าง) */
.btn-gold:active{
  transform: translateY(0);
  filter: brightness(0.98);
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,0.25),
    0 3px 8px rgba(140, 100, 0, 0.18);
}

/* Focus (คีย์บอร์ด / accessibility) */
.btn-gold:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px var(--btn-focus-ring),
    0 6px 14px rgba(140, 100, 0, 0.35);
}

/* ==========================================================
   SELECTED / TOGGLED (คลิกแล้วค้างสี)
   ใช้ใส่ class: is-active
========================================================== */
.btn-gold.is-active,
.btn-gold[aria-pressed="true"]{
  background: linear-gradient(
    180deg,
    var(--btn-gold-a1) 0%,
    var(--btn-gold-a2) 50%,
    var(--btn-gold-a3) 100%
  );
  color: #fff !important;

  border-color: rgba(120, 80, 0, 0.35);

  box-shadow:
    inset 0 2px 10px rgba(0,0,0,0.30),
    0 6px 14px rgba(140, 100, 0, 0.28);
}

/* Hover ตอน is-active ให้ขยับนิด ๆ (ไม่เปลี่ยนโทนมาก) */
.btn-gold.is-active:hover{
  filter: brightness(1.03);
}

/* Disabled */
.btn-gold:disabled,
.btn-gold.is-disabled{
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  filter: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 2px 6px rgba(0,0,0,0.08);
}

/* ลด motion สำหรับคนแพ้ animation */
@media (prefers-reduced-motion: reduce){
  .btn-gold{ transition: none; }
  .btn-gold::after{ transition: none; }
}

/* ============================
   BM Quick Links – Premium Set
   ============================ */
:root{
  --bm-navy-1:#1F3E78;
  --bm-navy-2:#142F5F;
  --bm-blue-1:#234A8C;
  --bm-gold-1:#FFD84D;
  --bm-gold-2:#F4C430;
  --bm-gold-3:#E0A800;

  --bm-radius: 18px;
  --bm-gap: 10px;
  --bm-pad: 12px;
  --bm-shadow: 0 14px 34px rgba(9, 18, 43, .22);
  --bm-shadow-soft: 0 10px 24px rgba(9, 18, 43, .14);
}

/* base structure */
.bm-quicklinks{
  width: 100%;
  max-width: 320px;     /* ปรับได้ */
  display: grid;
  gap: var(--bm-gap);
}

.bm-ql{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--bm-pad) 14px;
  border-radius: var(--bm-radius);
  text-decoration: none !important;
  position: relative;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.bm-ql__icon{
  width: 42px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 14px;
  flex: 0 0 auto;
}

.bm-ql__text{
  font-weight: 700;
  font-size: 15px;
  line-height: 1.1;
  flex: 1 1 auto;
}

.bm-ql__arrow{
  font-size: 22px;
  opacity: .9;
  transform: translateX(0);
  transition: transform .18s ease, opacity .18s ease;
}

.bm-ql:hover{
  transform: translateY(-1px);
}

.bm-ql:hover .bm-ql__arrow{
  transform: translateX(3px);
  opacity: 1;
}

.bm-ql:active{
  transform: translateY(0px);
}

/* ============================
   STYLE A – Luxury Navy
   ============================ */
.bm-style-a .bm-ql{
  color: #fff;
  background: linear-gradient(135deg, var(--bm-navy-1) 0%, var(--bm-navy-2) 100%);
  box-shadow: var(--bm-shadow-soft);
  border: 1px solid rgba(255,255,255,.08);
}

.bm-style-a .bm-ql::before{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  background:
    radial-gradient(600px 120px at 20% 15%, rgba(255,255,255,.12), transparent 55%),
    radial-gradient(500px 140px at 80% 80%, rgba(255,216,77,.10), transparent 60%);
  z-index:-1;
}

.bm-style-a .bm-ql__icon{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

.bm-style-a .bm-ql:hover{
  box-shadow: var(--bm-shadow);
  filter: saturate(1.02);
}

/* ITA special (ทองแบบพรีเมียม) */
.bm-style-a .bm-ql--ita{
  color: #1b2b55;
  background: linear-gradient(135deg, var(--bm-gold-1) 0%, var(--bm-gold-2) 55%, var(--bm-gold-3) 100%);
  border: 1px solid rgba(255,255,255,.35);
}

.bm-style-a .bm-ql--ita .bm-ql__icon{
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.55);
}

/* =========================================================
   PREMIUM MICRO-PLAY (Safe) — Soft overlay + Gold glow
   - ไม่กระทบ Header
   - เพิ่มมิติให้พื้นหลังแบบเนียนๆ
   ========================================================= */

/* 1) Soft Texture Overlay (เฉพาะโซนเนื้อหา ไม่โดน Header) */
:where(.site-content, .site-main, #content, main){
  position: relative;
  isolation: isolate;
}

:where(.site-content, .site-main, #content, main)::before{
  content:"";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  /* ไล่แสงเบา ๆ ให้ดูแพงขึ้น */
  background:
    radial-gradient(1200px 600px at 18% 8%, rgba(21, 46, 96, .06), transparent 62%),
    radial-gradient(900px 520px at 85% 35%, rgba(255, 216, 77, .05), transparent 68%),
    radial-gradient(900px 520px at 35% 85%, rgba(21, 46, 96, .04), transparent 70%);

  /* ถ้ารู้สึกชัดไป ลด opacity ได้ */
  opacity: .9;
}

/* ทำให้คอนเทนต์อยู่เหนือ overlay */
:where(.site-content, .site-main, #content, main) > *{
  position: relative;
  z-index: 1;
}


/* 2) Gold Reflection Glow ใต้ริ้วทอง (ทำที่ footer top แบบบางมาก) */
:where(footer, .site-footer, #colophon){
  position: relative;
  isolation: isolate;
}

:where(footer, .site-footer, #colophon)::before{
  content:"";
  position: absolute;
  left: 0; right: 0;
  top: -34px;                 /* ปรับตำแหน่ง glow ใกล้/ไกลริ้วทอง */
  height: 90px;
  z-index: 0;
  pointer-events: none;

  background: radial-gradient(ellipse at center,
      rgba(255, 216, 77, .26) 0%,
      rgba(255, 216, 77, .12) 42%,
      rgba(255, 216, 77, .00) 72%);

  filter: blur(22px);
  opacity: .85;               /* ถ้าชัดไป ลดเหลือ .6 */
}

/* กันไม่ให้ glow ไปทับของใน footer */
:where(footer, .site-footer, #colophon) > *{
  position: relative;
  z-index: 1;
}

@media (max-width: 480px){
  .bm-quicklinks{ max-width: 100%; }
  .bm-ql{ padding: 12px 12px; }
  .bm-ql__text{ font-size: 14px; }
}
/* =========================================================
   PREMIUM GUTENBERG KIT (MTPS)
   - ใช้กับ Gutenberg โดยใส่ class เพิ่มในบล็อก
   - ไม่ยุ่ง background เดิม
   ========================================================= */

/* ---------- Tokens ---------- */
:root{
  --mtps-navy: #0f2f57;
  --mtps-navy-2: #163a66;
  --mtps-blue: #1d4f8d;

  --mtps-gold-1: #f6d36a;
  --mtps-gold-2: #eab63f;
  --mtps-gold-3: #c88e1f;

  --mtps-ink: #0c1b33;
  --mtps-muted: #5e6f89;

  --mtps-radius: 22px;
  --mtps-radius-sm: 16px;
  --mtps-shadow: 0 22px 60px rgba(8, 18, 40, .10);
  --mtps-shadow-soft: 0 14px 34px rgba(8, 18, 40, .10);
  --mtps-border: 1px solid rgba(8,18,40,.08);
}

/* ---------- Section wrapper (หายใจ + ขอบนุ่ม) ---------- */
.premium-section{
  padding: clamp(18px, 3vw, 34px);
  border-radius: var(--mtps-radius);
  background: rgba(255,255,255,.72);
  border: var(--mtps-border);
  box-shadow: var(--mtps-shadow-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ลดช่องว่างบน/ล่างที่ Gutenberg ชอบใส่มา */
.premium-section > :first-child{ margin-top: 0 !important; }
.premium-section > :last-child{ margin-bottom: 0 !important; }

/* ---------- Premium title (หัวข้อ + เส้นใต้หรู) ---------- */
.premium-title{
  position: relative;
  display: inline-block;
  margin: 0 0 16px 0 !important;
  padding-bottom: 12px;
  color: var(--mtps-navy);
  letter-spacing: .2px;
}

.premium-title:after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:0;
  height:3px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(200,142,31,.0),
    rgba(246,211,106,.95),
    rgba(234,182,63,.95),
    rgba(200,142,31,.35)
  );
  opacity:.95;
}

/* ---------- Card ---------- */
.premium-card{
  border-radius: var(--mtps-radius);
  background: rgba(255,255,255,.78);
  border: var(--mtps-border);
  box-shadow: var(--mtps-shadow-soft);
  overflow: hidden;
}

.premium-card .wp-block-post-featured-image img,
.premium-card img{
  border-radius: 18px;
}

/* ---------- News grid (ใช้กับ Query Loop/Columns) ---------- */
.premium-news-grid .wp-block-post-template,
.premium-news-grid{
  gap: 18px !important;
}

.premium-news-grid .wp-block-post{
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(8,18,40,.07);
  box-shadow: 0 10px 26px rgba(8,18,40,.08);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.premium-news-grid .wp-block-post:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(8,18,40,.12);
}

.premium-news-grid .wp-block-post-featured-image{
  margin: 0 !important;
}

.premium-news-grid .wp-block-post-title{
  margin: 14px 16px 6px !important;
  color: var(--mtps-navy);
}

.premium-news-grid .wp-block-post-date{
  margin: 0 16px 16px !important;
  color: var(--mtps-muted);
  font-size: 13px;
}

/* ---------- Right quick menu (แบบในรูป) ---------- */
.premium-menu{
  border-radius: var(--mtps-radius);
  background: rgba(255,255,255,.62);
  border: var(--mtps-border);
  box-shadow: var(--mtps-shadow-soft);
  padding: 16px;
}

.premium-menu > :first-child{ margin-top: 0 !important; }
.premium-menu > :last-child{ margin-bottom: 0 !important; }

.premium-menu .premium-menu-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration:none !important;
  font-weight: 700;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 22px rgba(8,18,40,.10);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  margin: 0 0 14px 0;
}

.premium-menu .premium-menu-item:last-child{ margin-bottom: 0; }

.premium-menu .premium-menu-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(8,18,40,.14);
  filter: brightness(1.02);
}

.premium-menu .premium-menu-item:active{
  transform: translateY(0px) scale(.995);
}

/* Icon bubble */
.premium-menu .premium-menu-icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.premium-menu .premium-menu-text{
  flex: 1 1 auto;
  display:flex;
  flex-direction:column;
  line-height: 1.15;
}

.premium-menu .premium-menu-sub{
  font-weight: 600;
  font-size: 12px;
  opacity: .85;
}

.premium-menu .premium-menu-arrow{
  font-size: 18px;
  opacity: .9;
}

/* Variants */
.premium-menu .is-gold{
  color: #1a2333;
  background: linear-gradient(135deg, var(--mtps-gold-1), var(--mtps-gold-2) 55%, var(--mtps-gold-3));
}

.premium-menu .is-gold .premium-menu-icon{
  background: rgba(255,255,255,.35);
}

.premium-menu .is-navy{
  color: #fff;
  background: linear-gradient(135deg, #1f3f73, #142f57);
}

.premium-menu .is-navy .premium-menu-icon{
  background: rgba(255,255,255,.12);
}

/* ---------- Footer overlay (ลูกเล่นทับรูป footer แบบเบามาก) ---------- */
footer.premium-footer,
.site-footer.premium-footer,
#colophon.premium-footer{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Glow ทองด้านบน */
footer.premium-footer::before,
.site-footer.premium-footer::before,
#colophon.premium-footer::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:-42px;
  height:130px;
  pointer-events:none;
  z-index:1;
  background: radial-gradient(ellipse at center,
    rgba(255,216,77,.28) 0%,
    rgba(255,216,77,.12) 48%,
    rgba(255,216,77,0) 76%
  );
  filter: blur(22px);
  opacity:.70;
}

/* vignette บาง ๆ */
footer.premium-footer::after,
.site-footer.premium-footer::after,
#colophon.premium-footer::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
  background:
    radial-gradient(900px 240px at 18% 12%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(900px 320px at 85% 88%, rgba(0,0,0,.18), transparent 65%);
  opacity:.50;
}

footer.premium-footer > *,
.site-footer.premium-footer > *,
#colophon.premium-footer > *{
  position: relative;
  z-index:2;
}

/* ---------- Responsive small tweaks ---------- */
@media (max-width: 900px){
  .premium-section{ padding: 18px; border-radius: 18px; }
  .premium-menu{ padding: 14px; border-radius: 18px; }
  .premium-menu .premium-menu-item{ border-radius: 16px; }
}

/* ===== ITA Premium Card (HTML Block) ===== */
.ita-card{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 22px;
  border-radius:26px;
  text-decoration:none;
  position:relative;
  overflow:hidden;

  /* โทนทองแบบ premium */
  background: linear-gradient(135deg,#ffe57a 0%, #f5c83a 45%, #e6ad1a 100%);
  box-shadow:
    0 16px 35px rgba(16, 24, 40, .18),
    inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.ita-card::before{
  /* ไฮไลท์นุ่มๆ ให้ดูหรู */
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 55%);
  transform: rotate(-10deg);
  pointer-events:none;
}

.ita-card:hover{
  transform: translateY(-2px);
  box-shadow:
    0 22px 48px rgba(16, 24, 40, .22),
    inset 0 1px 0 rgba(255,255,255,.6);
  filter: saturate(1.03);
}

.ita-card:active{
  transform: translateY(0px);
}

/* Badge + Logo */
.ita-badge{
  width:62px;
  height:62px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 10px 18px rgba(16, 24, 40, .12);
  flex: 0 0 auto;
}

.ita-logo{
  width:38px;
  height:38px;
  object-fit:contain;
  display:block;
}

/* Text */
.ita-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:0;
}

.ita-title{
  font-weight:800;
  font-size:22px;
  letter-spacing:.2px;
  color:#0b1f3a;
}

.ita-subtitle{
  margin-top:6px;
  font-size:13px;
  color: rgba(11, 31, 58, .78);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Arrow */
.ita-arrow{
  margin-left:auto;
  font-size:34px;
  line-height:1;
  color: rgba(11, 31, 58, .65);
  transform: translateX(2px);
  transition: transform .22s ease, color .22s ease;
}

.ita-card:hover .ita-arrow{
  transform: translateX(8px);
  color: rgba(11, 31, 58, .85);
}

/* Mobile */
@media (max-width: 480px){
  .ita-card{ padding:16px 16px; border-radius:22px; }
  .ita-badge{ width:56px; height:56px; }
  .ita-title{ font-size:20px; }
  .ita-subtitle{ display:none; } /* ถ้าพื้นที่น้อย ซ่อนไป */
}

/* SubMenu */
.s-nav .sub-menu {
  min-width: 250px;
}


/* ======================================
   GreenShift Premium Button Support
   ====================================== */

/* Navy Button */
.gs-premium,
.gs-premium .gspb-button,
.gs-premium a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:2px 20px;
    border-radius:24px;
    background: linear-gradient(135deg,#2b416b,#1c2f55);
    color:#ffffff !important;
    text-decoration:none !important;
    font-weight:400;
    box-shadow:0 5px 25px rgba(0,0,0,.18);
    transition:all .25s ease;
}

.gs-premium:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(0,0,0,.25);
}

/* Gold Button */
.gs-gold,
.gs-gold .gspb-button,
.gs-gold a{
    display:flex;
    align-items:center;
    gap:16px;
    padding:20px 26px;
    border-radius:28px;
    background: linear-gradient(135deg,#ffe57a 0%, #f5c83a 45%, #e6ad1a 100%);
    color:#0b1f3a !important;
    font-weight:700;
    box-shadow:
        0 18px 38px rgba(0,0,0,.2),
        inset 0 1px 0 rgba(255,255,255,.6);
    transition:all .25s ease;
}

.gs-gold:hover{
    transform:translateY(-3px);
    box-shadow:
        0 15px 25px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.7);
}
