/*
Theme Name: Gold Rate Today Dubai
Theme URI: https://goldratetodaydubai.com
Author: Gold Rate Dubai
Author URI: https://goldratetodaydubai.com
Description: Professional gold rate website theme. Marquee topbar, live rates, responsive tables, gold calculator, Zakat calculator. Built for goldratetodaydubai.com
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goldratetodaydubai
Tags: gold, finance, calculator, responsive, custom-menu
*/

/* =============================================================
   CSS CUSTOM PROPERTIES
============================================================= */
:root {
  --gold:      #C9962A;
  --gold-l:    #F5D97E;
  --gold-m:    #E8C060;
  --gold-d:    #8B6914;
  --gold-bg:   #FBF7EE;
  --gold-br:   #E8DBBF;
  --dark:      #1A1209;
  --dark2:     #120B04;
  --dark3:     #0A0602;
  --text:      #2C2416;
  --muted:     #7A6E5C;
  --white:     #FFFDF7;
  --card:      #FFFEF9;
  --grn:       #1a7a3c;
  --grn-bg:    #e8f5ee;
  --red:       #c0392b;
  --red-bg:    #fdf0ee;
  --r-sm:      6px;
  --r-md:      10px;
  --r-lg:      16px;
  --shadow:    0 2px 12px rgba(0,0,0,.08);
  --shadow-g:  0 4px 20px rgba(201,150,42,.18);
  --trans:     all .2s ease;
  --maxw:      1200px;
}

/* =============================================================
   RESET & BASE
============================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--white); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--gold-d); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--gold); }
ul   { list-style: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(26px, 5vw, 46px); }
h2 { font-size: clamp(20px, 3.5vw, 32px); }
h3 { font-size: clamp(17px, 2.5vw, 22px); }
h4 { font-size: 18px; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* =============================================================
   LAYOUT UTILITIES
============================================================= */
.wrap    { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-sm { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.sec       { padding: 56px 0; }
.sec-sm    { padding: 36px 0; }
.sec-alt   { background: var(--gold-bg); border-top: 1px solid var(--gold-br); border-bottom: 1px solid var(--gold-br); }
.sec-dark  { background: var(--dark); }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ga { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.flex-b { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.flex-c { display: flex; align-items: center; }
.flex-w { flex-wrap: wrap; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }
.sec-lbl  { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 8px; display: block; font-family: 'DM Sans', sans-serif; }
.sec-ttl  { margin-bottom: 8px; }
.sec-dsc  { color: var(--muted); font-size: 15px; max-width: 600px; margin-bottom: 28px; }

/* =============================================================
   MARQUEE TOPBAR  — matches live site exactly
   Scrolling: 🥇 GOLD DUBAI LIVE · 24K: AED xxx/gram · ...
============================================================= */
.topbar-marquee {
  background: #1a1209;
  border-bottom: 1px solid #2e1f08;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 50s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  font-size: 13px;
  color: #C8B894;
  white-space: nowrap;
  border-right: 1px solid #2e1f08;
  height: 38px;
}
.mk-label { color: #8B7A5A; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.mk-val   { color: #F5D97E; font-weight: 700; font-size: 14px; }
.mk-unit  { color: #7A6A4A; font-size: 11px; }
.mk-up    { color: #2ECC71; font-weight: 700; }
.mk-dn    { color: #FF6B5B; font-weight: 700; }
.mk-icon  { font-size: 15px; }

/* =============================================================
   FOREX STRIP
============================================================= */
.fx-strip { background: #0F0A04; border-bottom: 1px solid #1A1006; padding: 8px 0; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.fx-inner { display: flex; gap: 20px; align-items: center; padding: 0 20px; min-width: max-content; }
.fx-item  { font-size: 13px; color: #A89470; }
.fx-item strong { color: #F5D97E; }
.fx-up  { color: #2ECC71; }
.fx-dn  { color: #FF6B5B; }

/* =============================================================
   NAVIGATION
============================================================= */
.sitenav {
  background: #fff;
  border-bottom: 2px solid var(--gold-br);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.nav-in {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.logo-mark { width: 48px; height: 42px; background: linear-gradient(135deg, #C9962A 0%, #F5D97E 100%); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 8px 6px; }
.logo-t { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--dark); font-weight: 700; line-height: 1.2; }
.logo-s { font-size: 10px; color: var(--muted); }
.nav-menu { display: flex; align-items: center; gap: 0; }
.nav-menu > li { position: relative; }
.nav-menu a { display: block; padding: 8px 11px; font-size: 13.5px; font-weight: 500; color: var(--text); border-radius: var(--r-sm); white-space: nowrap; transition: var(--trans); text-decoration: none; }
.nav-menu a:hover { background: var(--gold-bg); color: var(--gold-d); }
.nav-menu .has-dd > a::after { content: " \25BE"; font-size: 10px; color: var(--muted); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--gold-br); border-radius: var(--r-md); min-width: 210px; box-shadow: 0 8px 24px rgba(0,0,0,.1); padding: 6px; z-index: 300; margin-top: 0; }
/* Invisible bridge: padding fills gap so mouse stays over dropdown while moving down */
.has-dd { position: relative; }
.has-dd > a { padding-bottom: 10px; }
.dropdown { padding-top: 10px; margin-top: -10px; }
.has-dd:hover .dropdown { display: block; }
.dropdown a { font-size: 13px; padding: 9px 14px; border-radius: 6px; display: block; }
.dropdown a:hover { background: var(--gold-bg); color: var(--gold-d); }
.nav-cta { background: var(--gold) !important; color: #fff !important; padding: 9px 18px !important; border-radius: 20px !important; font-weight: 600 !important; margin-left: 8px; }
.nav-cta:hover { background: var(--gold-d) !important; color: #fff !important; }
.nav-tog { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--dark); padding: 4px 8px; line-height: 1; }
/* Mobile menu */
.mob-menu { display: none; position: fixed; inset: 0; background: rgba(15,10,4,.97); z-index: 1000; overflow-y: auto; flex-direction: column; }
.mob-menu.open { display: flex; }
.mob-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(201,150,42,.15); }
.mob-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; padding: 4px; line-height: 1; }
.mob-rates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 16px 20px; }
.mob-rc { background: rgba(255,255,255,.05); border: 1px solid rgba(201,150,42,.15); border-radius: 8px; padding: 12px; text-align: center; }
.mob-rc-k { font-size: 10px; color: #8B7A5A; text-transform: uppercase; margin-bottom: 4px; }
.mob-rc-v { font-family: 'Playfair Display', serif; font-size: 18px; color: #F5D97E; font-weight: 700; }
.mob-rc-u { font-size: 10px; color: #5A4E3A; }
.mob-nav { padding: 8px 20px 24px; }
.mob-nav .sub-lbl { color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin: 18px 0 6px; font-weight: 600; display: block; }
.mob-nav a { display: block; color: #C8B894; font-size: 16px; padding: 11px 0; border-bottom: 1px solid rgba(201,150,42,.08); text-decoration: none; }
.mob-nav .sub a { font-size: 14px; padding: 9px 0 9px 14px; }
.mob-nav a:hover { color: #F5D97E; }

/* =============================================================
   HERO — dark background matching current live site
============================================================= */
.hero {
  background: linear-gradient(180deg, #1C1208 0%, #120B04 50%, #0A0602 100%);
  padding: 52px 20px 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,150,42,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-in { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; } /* legacy - not used in new hero */
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(201,150,42,.12); border: 1px solid rgba(201,150,42,.25); border-radius: 30px; padding: 7px 16px; font-size: 12px; color: #E8D090; margin-bottom: 22px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; animation: livepulse 2s infinite; flex-shrink: 0; display: inline-block; }
@keyframes livepulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 em { color: #F5D97E; font-style: italic; }
.hero-sub { color: #B0946A; font-size: 15px; font-weight: 300; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hero-sub strong { color: #D4B070; font-weight: 500; }
/* Hero rate cards */
.hero-rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 740px; margin: 0 auto 36px; }
.hrc { background: rgba(255,255,255,.04); border: 1px solid rgba(201,150,42,.2); border-radius: 12px; padding: 18px 12px; text-align: center; transition: var(--trans); }
.hrc:hover { border-color: rgba(201,150,42,.45); background: rgba(201,150,42,.08); }
.hrc.feat { background: rgba(201,150,42,.14); border: 1.5px solid rgba(201,150,42,.5); box-shadow: 0 4px 24px rgba(201,150,42,.15); }
.hrc-star { font-size: 13px; margin-bottom: 4px; color: #C9962A; }
.hrc-k    { font-size: 11px; color: #9A8460; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 6px; }
.hrc-p    { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.8vw, 28px); color: #fff; font-weight: 700; line-height: 1; }
.hrc.feat .hrc-p { color: #F5D97E; }
.hrc-aed  { font-size: 11px; color: #6A5A40; margin-top: 4px; }
.hrc-chg  { font-size: 12px; margin-top: 6px; font-weight: 500; }
.rate-up  { color: #2ECC71; }
.rate-dn  { color: #FF6B5B; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-src  { font-size: 12px; color: #4A3A20; }
.hero-src span { color: #7A6040; }

/* =============================================================
   BUTTONS
============================================================= */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: var(--trans); border: none; cursor: pointer; text-decoration: none; line-height: 1; }
.btn-gold    { background: var(--gold); color: #fff; }
.btn-gold:hover    { background: var(--gold-d); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-g); }
.btn-outline { background: transparent; color: #D4B070; border: 1px solid rgba(201,150,42,.35); }
.btn-outline:hover { background: rgba(201,150,42,.1); border-color: var(--gold); color: #F5D97E; }
.btn-green   { background: #27AE60; color: #fff; }
.btn-green:hover   { background: #1E8449; color: #fff; }
.btn-ghost   { background: transparent; color: var(--gold-d); border: 1px solid var(--gold-br); }
.btn-ghost:hover   { background: var(--gold-bg); color: var(--gold-d); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* =============================================================
   RATE TABLES — FULLY RESPONSIVE
============================================================= */
.tbl-outer {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-br) transparent;
}
.tbl-outer::-webkit-scrollbar { height: 4px; }
.tbl-outer::-webkit-scrollbar-thumb { background: var(--gold-br); border-radius: 4px; }
.grd-tbl {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.grd-tbl th {
  background: var(--dark);
  color: #F5D97E;
  font-size: 12px;
  font-weight: 500;
  padding: 13px 16px;
  text-align: left;
  letter-spacing: .3px;
  white-space: nowrap;
}
.grd-tbl td { padding: 13px 16px; border-bottom: 1px solid #F5EDD8; vertical-align: middle; white-space: nowrap; }
.grd-tbl tbody tr:last-child td { border-bottom: none; }
.grd-tbl tbody tr:hover td { background: #FFFBF0; }
.price-main { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--dark); }
.kp { display: inline-flex; align-items: center; gap: 7px; }
.kd { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.d24 { background: #C9962A; }
.d22 { background: #B8860B; }
.d21 { background: #8B6914; }
.d18 { background: #6B5A3E; }
.d14 { background: #8B7355; }
.ch-up { color: var(--grn); font-weight: 600; font-size: 13px; }
.ch-dn { color: var(--red); font-weight: 600; font-size: 13px; }
.src-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
/* Responsive hide columns progressively */
@media (max-width: 700px) {
  .grd-tbl .col-oz,
  .grd-tbl .col-kg { display: none; }
  .grd-tbl td, .grd-tbl th { padding: 11px 12px; }
  .price-main { font-size: 17px; }
}
@media (max-width: 500px) {
  .grd-tbl .col-tola { display: none; }
  .grd-tbl { min-width: 320px; }
}

/* =============================================================
   CARDS
============================================================= */
.card     { background: var(--card); border: 1px solid var(--gold-br); border-radius: var(--r-lg); padding: 24px; }
.card-sm  { padding: 16px; border-radius: var(--r-md); }
.card-hov { transition: var(--trans); }
.card-hov:hover { border-color: var(--gold); box-shadow: var(--shadow-g); transform: translateY(-2px); }
.stat-card { background: var(--gold-bg); border-radius: var(--r-md); padding: 16px; text-align: center; }
.stat-lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.stat-val { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; color: var(--dark); }

/* =============================================================
   FORMS
============================================================= */
.f-lbl { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.f-inp { width: 100%; padding: 11px 14px; font-size: 15px; border: 1.5px solid var(--gold-br); border-radius: 8px; background: #fff; color: var(--text); transition: var(--trans); -webkit-appearance: none; appearance: none; }
select.f-inp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6E5C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
.f-inp:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,150,42,.12); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-grp { margin-bottom: 16px; }
.cb-row { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 16px; cursor: pointer; }
.cb-row input { accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.calc-res { background: linear-gradient(135deg, #120B04 0%, #1C1208 100%); border-radius: var(--r-md); padding: 20px; border: 1px solid rgba(201,150,42,.2); margin-top: 4px; }
.cr-lbl { font-size: 12px; color: #8B7A5A; margin-bottom: 4px; }
.cr-val { font-family: 'Playfair Display', serif; font-size: 32px; color: #F5D97E; font-weight: 700; }
.cr-sub { font-size: 12px; color: #6B5E44; margin-top: 8px; line-height: 1.5; }

/* =============================================================
   GCC / COUNTRY CARDS
============================================================= */
.gcc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.gcc-card { padding: 18px; display: block; color: inherit; text-decoration: none; }
.gcc-feat { border-color: var(--gold) !important; box-shadow: var(--shadow-g) !important; }
.gcc-flag { font-size: 30px; margin-bottom: 10px; }
.gcc-nm   { font-weight: 600; font-size: 14px; color: var(--dark); margin-bottom: 2px; }
.gcc-cur  { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.gcc-rate { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold-d); font-weight: 700; }
.gcc-rl   { font-size: 11px; color: var(--muted); }
.gcc-note { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* =============================================================
   FAQ ACCORDION
============================================================= */
.faq-item { background: #fff; border: 1px solid var(--gold-br); border-radius: var(--r-md); overflow: hidden; margin-bottom: 8px; }
.faq-btn { width: 100%; text-align: left; background: none; border: none; padding: 16px 20px; font-size: 14px; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit; line-height: 1.4; }
.faq-icon { font-size: 20px; color: var(--gold); flex-shrink: 0; transition: transform .25s; font-weight: 300; }
.faq-btn.open .faq-icon { transform: rotate(45deg); }
.faq-body { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--muted); line-height: 1.75; border-top: 1px solid var(--gold-br); }
.faq-body.open { display: block; }
.faq-body a { color: var(--gold-d); }

/* =============================================================
   NEWS / BLOG CARDS
============================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nc { display: block; color: inherit; background: #fff; border: 1px solid var(--gold-br); border-radius: var(--r-lg); overflow: hidden; transition: var(--trans); text-decoration: none; }
.nc:hover { border-color: var(--gold); box-shadow: var(--shadow-g); transform: translateY(-2px); }
.nc-img  { height: 140px; background: var(--gold-bg); display: flex; align-items: center; justify-content: center; font-size: 44px; overflow: hidden; line-height: 0; }
.nc-img img { width: 100%; height: 140px; object-fit: cover; display: block; }
.nc-body { padding: 16px; }
.nc-tag  { display: inline-block; font-size: 11px; background: var(--gold-bg); color: var(--gold-d); padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.nc-ttl  { font-weight: 600; font-size: 15px; margin: 10px 0 6px; color: var(--dark); line-height: 1.4; font-family: inherit; }
.nc-dt   { font-size: 12px; color: var(--muted); }

/* =============================================================
   BREADCRUMB
============================================================= */
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 14px 0; }
.breadcrumb a { color: var(--gold-d); }
.breadcrumb a:hover { color: var(--gold); }
.bc-sep { color: var(--gold); margin: 0 2px; }

/* =============================================================
   PAGE HERO (inner pages)
============================================================= */
.pg-hero { background: linear-gradient(160deg, #1C1208 0%, #0F0A04 100%); padding: 40px 20px 44px; }
.pg-hero h1 { color: #fff; font-size: clamp(22px, 4vw, 36px); margin-bottom: 8px; }
.pg-hero p  { color: #C8B894; font-size: 15px; max-width: 600px; margin: 0; }
.rate-pill  { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,150,42,.15); border: 1px solid rgba(201,150,42,.3); border-radius: 20px; padding: 6px 14px; font-size: 13px; color: #F5D97E; margin-top: 14px; }

/* =============================================================
   CHART
============================================================= */
.chart-wrap { background: #fff; border: 1px solid var(--gold-br); border-radius: var(--r-lg); padding: 24px; }
.chart-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.chart-canvas-wrap { position: relative; width: 100%; }
canvas.grd-chart { display: block; width: 100% !important; height: 260px !important; }

/* =============================================================
   ZAKAT BANNER
============================================================= */
.zakat-ban { background: linear-gradient(135deg, #0A2818 0%, #143D22 100%); border-radius: var(--r-lg); padding: 36px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; border: 1px solid rgba(39,174,96,.2); }
.zk-txt h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: #fff; margin-bottom: 8px; }
.zk-txt p  { color: #9BCDB0; font-size: 14px; margin-bottom: 18px; }
.zk-stats  { display: flex; gap: 24px; flex-wrap: wrap; }
.zk-sl { font-size: 10px; color: #6BAF88; text-transform: uppercase; letter-spacing: .8px; }
.zk-sv { font-family: 'Playfair Display', serif; font-size: 19px; color: #fff; font-weight: 700; }

/* =============================================================
   TRUST BAR
============================================================= */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.ti-icon { font-size: 28px; margin-bottom: 8px; }
.ti-ttl  { color: #F5D97E; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.ti-dsc  { color: #6B5E44; font-size: 13px; }

/* =============================================================
   CONTENT PAGES (legal, info, about)
============================================================= */
.content-body h2 { font-size: 22px; margin: 30px 0 12px; }
.content-body h3 { font-size: 18px; margin: 22px 0 10px; }
.content-body p  { font-size: 15px; margin-bottom: 14px; line-height: 1.75; }
.content-body ul, .content-body ol { margin: 0 0 16px 20px; }
.content-body li { font-size: 15px; margin-bottom: 6px; line-height: 1.65; list-style: disc; }
.content-body .tbl-outer { margin: 20px 0; }
.content-body table { width: 100%; min-width: 380px; font-size: 14px; border-collapse: collapse; }
.content-body table th { background: var(--gold-bg); padding: 10px 14px; font-weight: 600; border: 1px solid var(--gold-br); text-align: left; white-space: nowrap; }
.content-body table td { padding: 10px 14px; border: 1px solid var(--gold-br); }
.content-body table tr:nth-child(even) td { background: #FFFBF3; }
.info-box { background: var(--gold-bg); border-left: 4px solid var(--gold); padding: 14px 18px; margin: 20px 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.info-box p { margin: 0; font-size: 14px; }

/* =============================================================
   FOOTER
============================================================= */
.footer { background: #0F0A04; color: #7A6E5C; padding: 56px 0 32px; border-top: 1px solid #1A1006; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ft-brand h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: #F5D97E; margin-bottom: 10px; }
.ft-brand p  { font-size: 13px; color: #5A4E3A; line-height: 1.7; }
.ft-col h4   { color: #F5D97E; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.ft-col a    { display: block; color: #5A4E3A; font-size: 13px; margin-bottom: 8px; transition: var(--trans); }
.ft-col a:hover { color: #F5D97E; }
.ft-bot { border-top: 1px solid #1A1006; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #3A3020; }
.ft-bot a { color: #4A3E2A; }
.ft-bot a:hover { color: #F5D97E; }
.ft-social { display: flex; gap: 10px; margin-top: 14px; }
.ft-social a { color: #5A4E3A; font-size: 13px; background: rgba(201,150,42,.08); padding: 6px 12px; border-radius: 6px; }
.ft-social a:hover { color: #F5D97E; background: rgba(201,150,42,.18); }

/* =============================================================
   RESPONSIVE BREAKPOINTS
============================================================= */
@media (max-width: 1024px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .g2 { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .hero-rates { grid-template-columns: repeat(2, 1fr); }
  .chart-stats { grid-template-columns: repeat(2, 1fr); }
  .gcc-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu  { display: none; }
  .nav-tog   { display: block; }
  .hero      { padding: 40px 16px 52px; }
  .hero-rates { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sec       { padding: 40px 0; }
  .ft-grid   { grid-template-columns: 1fr; gap: 24px; }
  .g3        { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .f-row     { grid-template-columns: 1fr; }
  .zakat-ban { padding: 24px; gap: 20px; }
  .pg-hero   { padding: 32px 16px 36px; }
}
@media (max-width: 640px) {
  .gcc-grid   { grid-template-columns: repeat(2, 1fr); }
  .chart-stats { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hrc-p  { font-size: 18px; }
  .g4     { grid-template-columns: 1fr 1fr; }
  .gcc-grid { grid-template-columns: 1fr 1fr; }
}
@media print {
  .topbar-marquee, .fx-strip, .sitenav, .footer, .hero-btns, .mob-menu { display: none; }
  .hero { padding: 16px; }
  body { background: #fff; color: #000; }
}

/* =============================================================
   KARAT PAGE SPECIFIC RESPONSIVE
============================================================= */
.karat-hero-stats {
  grid-template-columns: repeat(3,1fr);
}
@media (max-width: 600px) {
  .karat-hero-stats {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}

/* Meta info strip wrap on mobile */
@media (max-width: 640px) {
  .pg-hero .rate-pill { font-size: 12px; padding: 5px 12px; }
  .sec-lbl { font-size: 11px; }
}

/* Fix: calculator grid on mobile */
@media (max-width: 480px) {
  .f-row { grid-template-columns: 1fr; }
  .calc-res .cr-val { font-size: 24px; }
  .zakat-ban { flex-direction: column; gap: 16px; padding: 20px; }
  .zk-stats  { gap: 16px; }
  .chart-stats { grid-template-columns: 1fr 1fr; }
}

/* Fix: tables don't break layouts */
.tbl-outer { display: block; }
.grd-tbl   { display: table; }

/* Fix: card grid on mobile */
@media (max-width: 480px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .gcc-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}

/* Fix: footer on very small screens */
@media (max-width: 400px) {
  .ft-bot { flex-direction: column; text-align: center; gap: 8px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
}

/* Ensure tbl-outer doesn't hide on mobile */
@media (max-width: 480px) {
  .tbl-outer { overflow-x: auto; }
  .grd-tbl   { min-width: 300px; }
}

/* Fix price-main on very small screens */
@media (max-width: 360px) {
  .price-main { font-size: 15px; }
  .grd-tbl th, .grd-tbl td { padding: 9px 8px; font-size: 12px; }
}

/* Fix btn-ghost color (was missing) */
.btn-ghost {
  background: transparent;
  color: var(--gold-d);
  border: 1px solid var(--gold-br);
}
.btn-ghost:hover {
  background: var(--gold-bg);
  color: var(--gold-d);
}

/* =============================================================
   SINGLE POST / BLOG PAGE RESPONSIVE
============================================================= */
@media (max-width: 768px) {
  .single-sidebar { display: none; }
}

/* =============================================================
   GCC / CURRENCY / CITY PAGE RESPONSIVE
============================================================= */
@media (max-width: 600px) {
  .gcc-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   FOREX MARQUEE ROW 2 — scrolling like topbar
============================================================= */
.fx-strip-marquee {
  background: #0D0800;
  border-bottom: 1px solid #1A0E00;
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
}
.fx-marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  animation: fxScroll 60s linear infinite;
  will-change: transform;
  gap: 0;
  min-width: max-content;
}
.fx-marquee-track:hover { animation-play-state: paused; }
@keyframes fxScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.fx-mq-label {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  height: 34px;
  font-size: 11px;
  color: #F5D97E;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-right: 1px solid #2E1A04;
}
.fx-mq-item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 34px;
  border-right: 1px solid #2E1A04;
  white-space: nowrap;
}
.fx-mq-pair { font-size: 11px; color: #8B7A5A; }
.fx-mq-rate { font-size: 13px; color: #E8C97A; font-weight: 600; }
.fx-mq-source { font-size: 10px; color: #3A2A10; padding: 0 14px; }

/* =============================================================
   HERO TEXT — MORE PROMINENT (fix dim text)
============================================================= */
/* Hero eyebrow: was too dim */
.hero-eyebrow {
  background: rgba(201,150,42,.20) !important;
  border: 1px solid rgba(201,150,42,.50) !important;
  color: #F5D97E !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}
/* Hero subtitle: brighter */
.hero-sub {
  color: #D4B88A !important;
  font-size: 16px !important;
}
.hero-sub strong { color: #F0D070 !important; }

/* Hero rate card improvements: brighter text */
.hrc-k    { color: #C8A870 !important; font-size: 12px !important; }
.hrc-aed  { color: #9A8060 !important; font-size: 12px !important; font-weight: 500; }
.hrc-chg  { font-size: 13px !important; font-weight: 700 !important; }
.rate-up  { color: #2ECC71 !important; }
.rate-dn  { color: #FF5C4D !important; }
/* Featured card */
.hrc.feat { box-shadow: 0 0 0 1px rgba(201,150,42,.3), 0 6px 32px rgba(201,150,42,.25) !important; }
.hrc.feat .hrc-p { font-size: clamp(22px, 3vw, 32px) !important; }

/* =============================================================
   TRUST BAR — dark background (matches site style, not white)
============================================================= */
/* Override the sec-dark background on trust bar */
.trust-section {
  background: linear-gradient(135deg, #1C1208 0%, #0F0A04 100%) !important;
  border-top: 1px solid #2E1A04;
  border-bottom: 1px solid #2E1A04;
  padding: 40px 0;
}
.trust-grid { gap: 32px; }
.ti-icon  { font-size: 36px; margin-bottom: 12px; }
.ti-ttl   { color: #F5D97E; font-size: 15px; margin-bottom: 6px; }
.ti-dsc   { color: #8B7A5A; font-size: 14px; line-height: 1.5; }

/* =============================================================
   LOGO MARK — SVG gold bar
============================================================= */
.logo-mark {
  width: 48px !important;
  height: 42px !important;
  background: linear-gradient(135deg, #C9962A 0%, #F5D97E 100%) !important;
  border-radius: var(--r-sm) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  padding: 7px !important;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-t { font-size: 15px !important; }

/* =============================================================
   ADDITIONAL HERO CARD VISIBILITY FIXES
============================================================= */
.hero-rates .hrc { border-color: rgba(201,150,42,.30) !important; }
.hero-rates .hrc:hover { border-color: rgba(201,150,42,.60) !important; }
.hero-rates .hrc .hrc-p { text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* =============================================================
   TOPBAR MARQUEE — rate values brighter
============================================================= */
.mk-val { color: #FFE680 !important; font-weight: 700 !important; font-size: 14px !important; }
.mk-up  { color: #00E676 !important; font-weight: 700 !important; font-size: 13px !important; }
.mk-dn  { color: #FF5252 !important; font-weight: 700 !important; font-size: 13px !important; }
.mk-label { color: #A89060 !important; font-size: 11px !important; }

/* =============================================================
   FRONT PAGE TRUST BAR OVERRIDE
============================================================= */
.sec-trust-bar {
  background: linear-gradient(135deg, #1C1208 0%, #120B04 100%);
  border-top: 1px solid rgba(201,150,42,.15);
  border-bottom: 1px solid rgba(201,150,42,.15);
  padding: 44px 0;
}


/* ═══════════════════════════════════════════
   v6 FINAL OVERRIDES
═══════════════════════════════════════════ */

/* ── Change % badge — highly prominent in marquee ── */
.mk-chg-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .3px;
  line-height: 1;
}
.mk-chg-up {
  background: #00C853;
  color: #002400 !important;
}
.mk-chg-dn {
  background: #FF1744;
  color: #fff !important;
}

/* ── Marquee brand text ── */
.mk-brand {
  color: #F5D97E;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.mk-date  { color: #C8B894; font-size: 12px; }
.mk-gold-bar-icon { margin-right: 4px; display: inline-flex; align-items: center; }
.mk-sep   { color: #5A4A2A; margin: 0 2px; }

/* ── Forex marquee items ── */
.fx-mq-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 34px;
  border-right: 1px solid #1A0E00;
  white-space: nowrap;
}
.fx-mq-hdr { }
.fx-mq-hdr span {
  color: #C9962A;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.fx-mq-pair { color: #A89470; font-size: 12px; }
.fx-mq-rate { color: #F5D97E; font-weight: 700; font-size: 13px; }
.fx-mq-chg  { font-size: 11px; font-weight: 700; }
.fx-mq-src  { color: #3A2E1A; font-size: 10px; }
.fx-up { color: #00E676 !important; }
.fx-dn { color: #FF5252 !important; }

/* ── TRUST BAR — must be dark, NOT white ── */
.sec-trust-bar,
section.sec-trust-bar {
  background: linear-gradient(135deg, #1C1208 0%, #0F0800 100%) !important;
  border-top:    2px solid rgba(201,150,42,.2) !important;
  border-bottom: 2px solid rgba(201,150,42,.2) !important;
  padding: 44px 0 !important;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.ti-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ti-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201,150,42,.12);
  border: 1px solid rgba(201,150,42,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 28px;
}
.ti-ttl { color: #F5D97E; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.ti-dsc { color: #8B7A5A; font-size: 13px; line-height: 1.6; max-width: 180px; margin: 0 auto; }

/* ── Logo mark — white background removed, transparent ── */
.logo-mark {
  width: 46px !important;
  height: 46px !important;
  background: transparent !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Ensure footer also has correct site name ── */
.ft-brand h3 { color: #F5D97E; }

/* ── Fix any leftover white section backgrounds that shouldn't be white ── */
.sec-trust-bar * { background: transparent; }
.sec-trust-bar .ti-icon-wrap { background: rgba(201,150,42,.12) !important; }

/* ── Template pages: ensure dynamic content shows ── */
/* These ensure PHP-rendered data overrides any cached/static content */
[data-karat] { contain: layout; }

/* ── Inner page hero responsive ── */
@media (max-width: 640px) {
  .pg-hero h1 { font-size: clamp(20px, 5vw, 28px); }
  .pg-hero p  { font-size: 13px; }
  .rate-pill  { font-size: 12px; padding: 5px 12px; }
}

/* ── Karat stats grid responsive ── */
@media (max-width: 580px) {
  .karat-hero-stats,
  .karat-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}

/* ── Trust bar responsive ── */
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ti-icon-wrap { width: 50px; height: 50px; font-size: 22px; }
}

/* ═══ FOREX MARQUEE FINAL FIX ═══
   Force horizontal scrolling - no line breaks */
.fx-strip-marquee {
  overflow: hidden !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  background: #0D0800 !important;
  border-bottom: 1px solid #1A0E00 !important;
}
.fx-marquee-track,
#fx-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
  min-width: max-content !important;
  animation: fxScroll 60s linear infinite !important;
  will-change: transform;
}
.fx-marquee-track > *,
#fx-marquee-track > * {
  display: inline-flex !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* ═══ HERO SECTION — matches goldratetodaydubai.com layout ═══
   2-column: text LEFT + cards RIGHT
   Featured 24K big card top-right + 2 smaller cards below */
.hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #111008 40%, #1a1205 100%) !important;
  padding: 60px 20px 70px !important;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,150,42,.07) 0%, transparent 70%);
  pointer-events: none;
}
/* 2-column hero layout */
.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
/* LEFT: text column */
.hero-text {}
.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,150,42,.12);
  border: 1px solid rgba(201,150,42,.2);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 12px;
  color: #C8A84A;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-h1 em { color: #C9962A; font-style: italic; }
.hero-desc-txt {
  font-size: 15px;
  color: #9A8A6A;
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-desc-txt strong { color: #C8A86A; font-weight: 500; }
.hero-action-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C9962A;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s;
  border: none;
  cursor: pointer;
}
.hero-btn-primary:hover { background: #A07820; color: #fff; transform: translateY(-1px); }
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #C8A86A;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s;
  border: 1px solid rgba(201,150,42,.3);
}
.hero-btn-secondary:hover { background: rgba(201,150,42,.1); color: #F5D97E; border-color: #C9962A; }
.hero-live-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6A5A3A;
}
.hero-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ECC71;
  animation: livepulse 2s infinite;
  flex-shrink: 0;
}
.hero-chg-inline {
  font-weight: 700;
  font-size: 13px;
}

/* RIGHT: cards column */
.hero-cards {}
/* Featured 24K card — big, dark bordered */
.hero-card-featured {
  background: rgba(255,255,255,.03);
  border: 1.5px solid rgba(201,150,42,.4);
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.hero-card-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,150,42,.06) 0%, transparent 70%);
}
.hero-card-feat-label {
  font-size: 11px;
  color: #8B7A50;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.hero-card-feat-label .star { color: #C9962A; }
.hero-card-feat-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 62px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
}
.hero-card-feat-unit {
  font-size: 13px;
  color: #6A5A3A;
  margin-bottom: 12px;
  position: relative;
}
.hero-card-feat-sub {
  font-size: 12px;
  color: #5A4A2A;
  margin-bottom: 14px;
  position: relative;
}
.hero-chg-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  position: relative;
}
.hero-chg-badge.up   { background: rgba(46,204,113,.15); color: #2ECC71; border: 1px solid rgba(46,204,113,.25); }
.hero-chg-badge.down { background: rgba(231,76,60,.15);  color: #E74C3C; border: 1px solid rgba(231,76,60,.25); }

/* 2 smaller cards side by side */
.hero-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-card-sm {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(201,150,42,.2);
  border-radius: 12px;
  padding: 18px 16px;
  transition: border-color .2s;
}
.hero-card-sm:hover { border-color: rgba(201,150,42,.4); }
.hero-card-sm-label {
  font-size: 11px;
  color: #7A6A46;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 8px;
}
.hero-card-sm-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #E8D080;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-card-sm-unit {
  font-size: 12px;
  color: #5A4A2A;
  margin-bottom: 10px;
}
.hero-card-sm-chg {
  font-size: 12px;
  font-weight: 600;
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-text { text-align: center; }
  .hero-action-btns { justify-content: center; }
  .hero-live-strip { justify-content: center; }
  .hero-cards { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero-card-feat-price { font-size: 40px; }
  .hero-cards-row { grid-template-columns: 1fr 1fr; }
  .hero-card-sm-price { font-size: 22px; }
}

/* ═══ HERO CARD VISIBILITY BOOST ═══ */
.hero-card-featured {
  background: rgba(201,150,42,.06) !important;
  border: 1.5px solid rgba(201,150,42,.5) !important;
}
.hero-card-sm {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(201,150,42,.25) !important;
}
/* Ensure fxScroll works for inline-styled element */
@keyframes fxScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════
   HERO FINAL FIX — Override old centered layout
   These rules MUST come last to win specificity
═══════════════════════════════════════════════════ */
.hero {
  padding: 56px 20px 68px !important;
}
/* 2-column grid layout */
.hero-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 56px !important;
  align-items: center !important;
  position: relative !important;
  z-index: 1 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  text-align: left !important;
}
/* LEFT column */
.hero-text {
  position: relative !important;
  z-index: 1 !important;
}
/* RIGHT column */
.hero-cards {
  position: relative !important;
  z-index: 1 !important;
}
/* Eyebrow pill */
.hero-eyebrow-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(201,150,42,.12) !important;
  border: 1px solid rgba(201,150,42,.22) !important;
  border-radius: 30px !important;
  padding: 7px 16px !important;
  font-size: 11px !important;
  color: #C8A84A !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  margin-bottom: 22px !important;
}
/* H1 */
.hero-h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(32px, 4vw, 54px) !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.1 !important;
  margin-bottom: 18px !important;
}
.hero-h1 em { color: #C9962A !important; font-style: italic !important; }
/* Description */
.hero-desc-txt {
  font-size: 15px !important;
  color: #9A8A6A !important;
  line-height: 1.75 !important;
  margin-bottom: 32px !important;
  font-weight: 300 !important;
  max-width: 480px !important;
}
.hero-desc-txt strong { color: #C8A86A !important; }
/* Buttons */
.hero-action-btns {
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-bottom: 24px !important;
  align-items: center !important;
}
.hero-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #C9962A !important;
  color: #fff !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
}
.hero-btn-primary:hover { background: #A07820 !important; color: #fff !important; }
.hero-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  color: #C8A86A !important;
  padding: 13px 22px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  border: 1.5px solid rgba(201,150,42,.35) !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
}
.hero-btn-secondary:hover { background: rgba(201,150,42,.1) !important; color: #F5D97E !important; }
/* Live strip */
.hero-live-strip {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #6A5A3A !important;
  flex-wrap: wrap !important;
}
.hero-live-dot {
  width: 8px !important; height: 8px !important;
  border-radius: 50% !important;
  background: #2ECC71 !important;
  animation: livepulse 2s infinite !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}
/* Featured 24K card */
.hero-card-featured {
  background: rgba(201,150,42,.10) !important;
  border: 1.5px solid rgba(201,150,42,.7) !important;
  box-shadow: 0 0 0 1px rgba(201,150,42,.15), inset 0 1px 0 rgba(245,217,126,.1) !important;
  border-radius: 14px !important;
  padding: 26px 22px !important;
  margin-bottom: 14px !important;
  position: relative !important;
  overflow: hidden !important;
}
.hero-card-feat-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
  color: #8B7A50 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 10px !important;
}
.hero-card-feat-label .star { color: #C9962A !important; font-size: 14px !important; }
.hero-card-feat-price {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(44px, 6vw, 64px) !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1 !important;
  margin-bottom: 6px !important;
}
.hero-card-feat-unit {
  font-size: 18px !important;
  color: #C8A86A !important;
  font-weight: 400 !important;
  margin-bottom: 10px !important;
}
.hero-card-feat-sub {
  font-size: 12px !important;
  color: #5A4A2A !important;
  margin-bottom: 14px !important;
}
.hero-chg-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}
.hero-chg-badge.up   { background: rgba(46,204,113,.15) !important; color: #2ECC71 !important; border: 1px solid rgba(46,204,113,.3) !important; }
.hero-chg-badge.down { background: rgba(231,76,60,.15)  !important; color: #E74C3C !important; border: 1px solid rgba(231,76,60,.3)  !important; }
/* 2 smaller cards row */
.hero-cards-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}
.hero-card-sm {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(201,150,42,.4) !important;
  border-radius: 12px !important;
  padding: 18px 16px !important;
}
.hero-card-sm-label {
  font-size: 11px !important;
  color: #7A6A46 !important;
  text-transform: uppercase !important;
  letter-spacing: .7px !important;
  margin-bottom: 8px !important;
}
.hero-card-sm-price {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  font-weight: 700 !important;
  color: #E8D080 !important;
  line-height: 1 !important;
  margin-bottom: 4px !important;
}
.hero-card-sm-unit {
  font-size: 12px !important;
  color: #5A4A2A !important;
  margin-bottom: 8px !important;
}
.hero-card-sm-chg { font-size: 13px !important; font-weight: 600 !important; }
/* Responsive */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .hero-text { text-align: center !important; }
  .hero-action-btns { justify-content: center !important; }
  .hero-live-strip  { justify-content: center !important; }
  .hero-desc-txt    { max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
  .hero-cards       { max-width: 480px !important; margin: 0 auto !important; }
}

/* ═══════════════════════════════════════════════════
   UAE CITY FLAGS — text fallbacks for desktop
   Emoji flags don't render on Windows Chrome desktop
═══════════════════════════════════════════════════ */
.city-flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 6px;
  font-size: 18px;
  line-height: 1;
}

/* ═══════════════════════════════════════════
   ORIGINAL HERO — restored CSS classes
   (hero-in, hero-badge, dot, hrc-c, hero-desc)
═══════════════════════════════════════════ */

/* Remove legacy label from hero-in */
.hero-in {
  max-width: 820px !important;
  margin: 0 auto !important;
  text-align: center !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Live badge at top of hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(201,150,42,.12);
  border: 1px solid rgba(201,150,42,.25);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 12px;
  color: #E8D090;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: .3px;
}

/* Pulsing green dot */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ECC71;
  animation: livepulse 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

/* Hero description text */
.hero-desc {
  color: #C8A878;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  /* remove any accidental border/bg from old hero-desc-txt rules */
  background: none !important;
  border: none !important;
  padding: 0 !important;
  text-align: center;
}
.hero-desc strong { color: #F5D97E; font-weight: 600; }
.hero-desc a { color: #C9962A; text-decoration: underline; text-decoration-color: rgba(201,150,42,.3); }
.hero-desc a:hover { color: #F5D97E; }

/* Rate card change % row */
.hrc-c {
  font-size: 12px;
  margin-top: 8px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}
.hrc-c.up   { background: rgba(46,204,113,.15); color: #2ECC71; }
.hrc-c.down { background: rgba(231,76,60,.15);  color: #FF6B5B; }

/* Rate cards row layout */
.hero-rates {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  max-width: 740px !important;
  margin: 0 auto 36px !important;
}
@media (max-width: 680px) {
  .hero-rates { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 400px) {
  .hero-rates { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .hrc-p { font-size: 18px !important; }
}

/* ═══════════════════════════════════════════
   BLOG / ARCHIVE LAYOUT
═══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.single-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .blog-grid  { grid-template-columns: 1fr; }
  .single-grid { grid-template-columns: 1fr; }
  .blog-grid aside,
  .single-grid .single-sidebar { display: none; }
}

/* Pagination */
.pagination { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--gold-br); color: var(--text);
  transition: all .2s;
}
.pagination .page-numbers:hover { background: var(--gold-bg); border-color: var(--gold); color: var(--gold-d); }
.pagination .page-numbers.current { background: var(--gold); border-color: var(--gold); color: #fff; }
.pagination .page-numbers.prev,
.pagination .page-numbers.next { width: auto; padding: 0 16px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nav-links .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--gold-br); color: var(--text);
  padding: 0 12px; transition: all .2s;
}
.nav-links .page-numbers:hover  { background: var(--gold-bg); border-color: var(--gold); color: var(--gold-d); }
.nav-links .page-numbers.current{ background: var(--gold); border-color: var(--gold); color: #fff; }

/* Article hover effect */
article:hover { border-color: var(--gold) !important; box-shadow: 0 6px 20px rgba(201,150,42,.12) !important; transform: translateY(-2px); }

/* btn-green (Zakat) */
.btn-green { background: #27AE60; color: #fff; }
.btn-green:hover { background: #1E8449; color: #fff; }

/* ═══ HRC-U FIX — AED / gram unit text in hero cards ═══
   Defined with !important so LiteSpeed combined CSS cannot override it.
   This was missing, causing another plugin's CSS to bleed in. */
.hrc-u,
.hero-rates .hrc-u,
.hero .hrc-u {
  font-size: 12px !important;
  color: #8B7A60 !important;
  margin-top: 4px !important;
  display: block !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
}
/* Featured 24K card - slightly lighter unit text */
.hrc.feat .hrc-u {
  color: #A89470 !important;
}

/* ═══ BTN-GRN ALIAS FIX ═══ */
.btn-grn, .btn-grn:link, .btn-grn:visited {
  background: #27AE60 !important;
  color: #fff !important;
}
.btn-grn:hover { background: #1E8449 !important; color: #fff !important; }

/* ═══ MOBILE HOVER FIX ═══
   Touch devices: disable hover transforms (prevents sticky hover) */
@media (hover: none) {
  .card-hov:hover { transform: none !important; }
  .nc:hover        { transform: none !important; }
  .btn:hover       { transform: none !important; }
  article:hover    { transform: none !important; }
}
