/* ═══════════════════════════════════════
   GST Road News — Main Stylesheet
   ═══════════════════════════════════════ */

/* ── RESET & BASE ────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: #f4f6f9; color: #222; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── HEADER ──────────────────────────── */
#gstn-header { background: #fff; border-bottom: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.gstn-hdr-3col {
  display: grid;
  grid-template-columns: 380px 1fr 380px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 12px;
}
.gstn-ear-ad { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gstn-logo-center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gstn-logo-center img { max-height: 90px; width: auto; display: block; }
.gstn-site-tagline { font-size: 11px; color: #888; margin-top: 4px; font-family: sans-serif; }
.gstn-ad-label { font-size: 9px; color: #bbb; text-align: center; display: block; margin-bottom: 2px; font-family: sans-serif; }

/* ── NAV ─────────────────────────────── */
#gstn-nav { background: #29ABE2; position: relative; }
.gstn-nav-in { max-width: 1240px; margin: 0 auto; padding: 0 12px; display: flex; align-items: center; justify-content: center; }
#gstn-menu { display: flex; list-style: none; flex-wrap: nowrap; }
#gstn-menu li { position: relative; }
#gstn-menu li a { display: block; padding: 12px 13px; color: #fff; font-size: 13px; font-weight: 600; font-family: 'Noto Sans Tamil', sans-serif; white-space: nowrap; transition: background .2s; }
#gstn-menu li a:hover { background: rgba(0,0,0,.15); }
#gstn-menu li ul { display: none; position: absolute; top: 100%; left: 0; background: #1a1d27; border: 1px solid #2a2d3a; border-radius: 0 0 6px 6px; min-width: 180px; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
#gstn-menu li:hover > ul { display: block; }
#gstn-menu li ul li a { padding: 9px 14px; font-size: 12px; border-bottom: 1px solid #2a2d3a; color: #ccc; }
#gstn-menu li ul li:last-child a { border-bottom: none; }
#gstn-menu li ul li a:hover { background: rgba(41,171,226,.15); color: #fff; }
.gstn-hamburger { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 10px; margin-left: auto; }

/* ── TICKER ──────────────────────────── */
#gstn-ticker { display: flex; align-items: center; background: #CC0000; overflow: hidden; height: 36px; }
.gstn-ticker-label { background: #900; color: #fff; padding: 0 14px; font-size: 12px; font-weight: 700; white-space: nowrap; height: 100%; display: flex; align-items: center; gap: 6px; font-family: sans-serif; flex-shrink: 0; }
.gstn-ticker-wrap { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; }
.gstn-ticker-inner { display: flex; align-items: center; white-space: nowrap; animation: ticker-scroll 40s linear infinite; font-size: 13px; color: #fff; font-family: 'Noto Sans Tamil', sans-serif; padding-left: 20px; }
.gstn-ticker-inner a { color: #fff; text-decoration: none; margin-right: 30px; }
.gstn-ticker-inner a:hover { text-decoration: underline; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.gstn-blink { display: inline-block; width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink-pulse 1.2s ease-in-out infinite; }
@keyframes blink-pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(.7); } }

/* ── MAIN LAYOUT ─────────────────────── */
.gstn-wrap { max-width: 1240px; margin: 0 auto; padding: 14px 12px; }
.gstn-layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
main { min-width: 0; }

/* ── HERO ────────────────────────────── */
.gstn-hero { margin-bottom: 16px; }
.gstn-hero-grid { display: grid; grid-template-columns: 1fr 280px; gap: 10px; }
.gstn-hero-main { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.12); background: #fff; }
.gstn-hero-img { width: 100%; height: 320px; object-fit: cover; display: block; transition: transform .4s; }
.gstn-hero-main:hover .gstn-hero-img { transform: scale(1.03); }
.gstn-hero-ph { width: 100%; height: 320px; background: linear-gradient(135deg,#e8f4fd,#d0eaf9); display: flex; align-items: center; justify-content: center; font-size: 60px; }
.gstn-hero-body { padding: 14px 16px 16px; }
.gstn-hero-cat { background: #29ABE2; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 3px; display: inline-block; margin-bottom: 6px; font-family: sans-serif; }
.gstn-hero-title { font-size: 20px; font-weight: 800; color: #111; line-height: 1.35; margin-bottom: 8px; font-family: 'Noto Sans Tamil', sans-serif; }
.gstn-hero-title a { color: inherit; }
.gstn-hero-title a:hover { color: #29ABE2; }
.gstn-hero-exc { font-size: 13px; color: #666; margin-bottom: 8px; font-family: 'Noto Sans Tamil', sans-serif; line-height: 1.6; }
.gstn-hero-meta { font-size: 11px; color: #aaa; display: flex; gap: 14px; font-family: sans-serif; }
.gstn-hero-side { display: flex; flex-direction: column; gap: 8px; }
.gstn-hs-item { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s; }
.gstn-hs-item:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.14); }
.gstn-hs-img { width: 100%; height: 90px; object-fit: cover; display: block; transition: transform .4s; }
.gstn-hs-item:hover .gstn-hs-img { transform: scale(1.05); }
.gstn-hs-ph { width: 100%; height: 90px; background: #f0f4f8; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.gstn-hs-cat { font-size: 10px; font-weight: 700; color: #29ABE2; padding: 5px 8px 0; font-family: sans-serif; }
.gstn-hs-title { font-size: 12px; font-weight: 700; padding: 3px 8px 4px; line-height: 1.45; font-family: 'Noto Sans Tamil', sans-serif; color: #222; }
.gstn-hs-title a:hover { color: #29ABE2; }
.gstn-hs-meta { font-size: 10px; color: #aaa; padding: 0 8px 7px; font-family: sans-serif; }

/* ── 2 COLUMN ────────────────────────── */
.gstn-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }

/* ── NEWS BOX ────────────────────────── */
.gstn-nlbox { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); margin-bottom: 0; }
.gstn-nlbox-head { background: linear-gradient(135deg,#29ABE2,#1E8FBD); padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; }
.gstn-nlbox-head h3 { font-size: 13px; font-weight: 700; color: #fff; margin: 0; font-family: 'Noto Sans Tamil', sans-serif; }
.gstn-nlbox-head a { color: rgba(255,255,255,.8); font-size: 11px; text-decoration: none; }
.gstn-nlbox-head a:hover { color: #fff; }
.gstn-nl-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-bottom: 1px solid #f0f0f0; transition: background .2s; }
.gstn-nl-item:last-child { border-bottom: none; }
.gstn-nl-item:hover { background: #f9fbff; }
.gstn-nl-thumb { width: 65px; height: 50px; object-fit: cover; border-radius: 5px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.gstn-nl-ph { width: 65px; height: 50px; background: #f0f4f8; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.gstn-nl-title a { font-size: 12px; font-weight: 600; color: #222; line-height: 1.5; font-family: 'Noto Sans Tamil', sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gstn-nl-title a:hover { color: #29ABE2; }
.gstn-nl-meta { font-size: 10px; color: #aaa; margin-top: 2px; font-family: sans-serif; }
.gstn-cat-tag { font-size: 10px; font-weight: 700; color: #29ABE2; font-family: sans-serif; margin-bottom: 2px; }
.t-blue { color: #29ABE2; }

/* ── TRENDING ────────────────────────── */
.gstn-trend-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #f0f0f0; transition: background .2s; }
.gstn-trend-item:last-child { border-bottom: none; }
.gstn-trend-item:hover { background: #f9fbff; }
.gstn-trend-num { width: 22px; height: 22px; background: linear-gradient(135deg,#29ABE2,#1E8FBD); color: #fff; font-size: 11px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: sans-serif; }

/* ── SECTION HEADING ─────────────────── */
.gstn-sh { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; position: relative; }
.gstn-sh::before { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: linear-gradient(90deg,#29ABE2,#F7C430); border-radius: 2px; }
.gstn-sh h2 { font-size: 16px; font-weight: 800; color: #111; margin: 0; font-family: 'Noto Sans Tamil', sans-serif; }

/* ── ADS ─────────────────────────────── */
.gstn-ad-if { margin: 14px 0; text-align: center; }
.gstn-abvflash-ad { padding: 6px 12px; text-align: center; background: #f9f9f9; border-bottom: 1px solid #eee; }
.gstn-ad-placeholder { background: #fff; border: 1px dashed #ddd; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #ccc; font-size: 11px; font-family: sans-serif; }

/* ── ADVERTISE CTA ───────────────────── */
.gstn-adcta { background: linear-gradient(135deg,#29ABE2,#1E8FBD); border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0; box-shadow: 0 8px 24px rgba(41,171,226,.25); flex-wrap: wrap; }
.gstn-adcta h3 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 4px; font-family: 'Noto Sans Tamil', sans-serif; }
.gstn-adcta p { color: rgba(255,255,255,.8); font-size: 13px; margin: 0; font-family: sans-serif; }
.gstn-adcta-btn { background: #F7C430; color: #333; padding: 10px 22px; border-radius: 6px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(247,196,48,.4); transition: transform .2s, box-shadow .2s; }
.gstn-adcta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(247,196,48,.5); }

/* ── SIDEBAR ─────────────────────────── */
.gstn-sidebar { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gstn-sb-box { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.gstn-sb-head { background: linear-gradient(135deg,#0f1117,#1a1d27); border-bottom: 3px solid #29ABE2; padding: 10px 14px; }
.gstn-sb-head h3 { font-size: 13px; font-weight: 700; color: #fff; margin: 0; font-family: 'Noto Sans Tamil', sans-serif; }
.gstn-sb-item { display: flex; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #f5f5f5; transition: background .2s; align-items: flex-start; }
.gstn-sb-item:last-child { border-bottom: none; }
.gstn-sb-item:hover { background: #f9fbff; }
.gstn-sb-img { width: 58px; height: 44px; object-fit: cover; border-radius: 5px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.gstn-sb-ph { width: 58px; height: 44px; background: #f0f4f8; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.gstn-sb-cat { font-size: 10px; font-weight: 700; color: #29ABE2; margin-bottom: 2px; font-family: sans-serif; }
.gstn-sb-title a { font-size: 11px; font-weight: 600; color: #222; line-height: 1.5; font-family: 'Noto Sans Tamil', sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gstn-sb-title a:hover { color: #29ABE2; }
.gstn-sb-meta { font-size: 10px; color: #aaa; margin-top: 2px; font-family: sans-serif; }

/* GOLD RATES */
.gstn-rates-widget .gstn-rates-grid { padding: 8px 0; }
.gstn-rate-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #f5f5f5; }
.gstn-rate-row:last-child { border-bottom: none; }
.gstn-rate-left { display: flex; align-items: center; gap: 8px; }
.gstn-rate-icon-big { font-size: 22px; }
.gstn-rate-name-big { font-size: 12px; font-weight: 700; color: #333; font-family: 'Noto Sans Tamil', sans-serif; }
.gstn-rate-sub { font-size: 10px; color: #aaa; font-family: sans-serif; }
.gstn-rate-price { font-size: 18px; font-weight: 800; color: #F7C430; font-family: sans-serif; }

/* ── ARTICLE PAGE ────────────────────── */
.gstn-single { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 24px rgba(0,0,0,.08); margin-bottom: 16px; }
.gstn-s-cat { background: #29ABE2; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; display: inline-block; font-family: sans-serif; margin-bottom: 8px; }
.gstn-s-title { font-size: 22px; font-weight: 800; color: #111; line-height: 1.45; font-family: 'Noto Sans Tamil', sans-serif; margin-bottom: 12px; }
.gstn-s-meta { display: flex; gap: 16px; font-size: 12px; color: #999; margin-bottom: 16px; flex-wrap: wrap; font-family: sans-serif; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.gstn-s-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.gstn-s-content { font-size: 15px; line-height: 1.9; color: #333; font-family: 'Noto Sans Tamil', sans-serif; }
.gstn-s-content h2 { font-size: 17px; font-weight: 700; color: #111; margin: 20px 0 10px; padding-left: 12px; border-left: 3px solid #29ABE2; }
.gstn-s-content p { margin-bottom: 14px; }

/* ── FOOTER ──────────────────────────── */
#gstn-footer { background: #0f1117; border-top: 3px solid #29ABE2; padding: 32px 0 0; margin-top: 20px; box-shadow: 0 -4px 20px rgba(0,0,0,.08); }
.gstn-ftr-in { max-width: 1240px; margin: 0 auto; padding: 0 16px 24px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.gstn-fb-logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.gstn-fb-logo span { color: #29ABE2; }
.gstn-fb-desc { font-size: 12px; color: #555; line-height: 1.7; margin-bottom: 10px; font-family: 'Noto Sans Tamil', sans-serif; }
.gstn-fb-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.gstn-fba { background: rgba(41,171,226,.1); color: #29ABE2; font-size: 10px; padding: 3px 8px; border-radius: 99px; font-family: 'Noto Sans Tamil', sans-serif; }
.gstn-fc h5 { font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; font-family: sans-serif; }
.gstn-fc ul { list-style: none; }
.gstn-fc ul li { margin-bottom: 8px; }
.gstn-fc ul li a { color: #666; font-size: 12px; font-family: 'Noto Sans Tamil', sans-serif; transition: color .2s; }
.gstn-fc ul li a:hover { color: #29ABE2; }
.gstn-ftr-bot { border-top: 1px solid #1a1d27; padding: 14px 16px; text-align: center; font-size: 11px; color: #444; font-family: sans-serif; }

/* ── FLOAT BUTTONS ───────────────────── */
.gstn-wa-float { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.5); z-index: 999; transition: transform .25s, box-shadow .25s; animation: wa-bounce 3s ease-in-out infinite; }
.gstn-wa-float:hover { transform: scale(1.12); box-shadow: 0 8px 24px rgba(37,211,102,.6); animation: none; }
@keyframes wa-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.gstn-float-ad { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; z-index: 999; box-shadow: 0 4px 16px rgba(0,0,0,.3); transition: transform .25s; }
.gstn-float-ad:hover { transform: scale(1.1); }
.gstn-float-ad img { width: 100%; height: 100%; object-fit: cover; }

/* ── HOVER ANIMATIONS ────────────────── */
.gstn-hs-item, .gstn-nlbox, .gstn-sb-box { transition: transform .25s, box-shadow .25s; }
@keyframes fadeSlideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.gstn-nlbox { animation: fadeSlideUp .4s ease both; }

/* ── RESPONSIVE ──────────────────────── */
@media(max-width:1100px){
  .gstn-hdr-3col { grid-template-columns: 1fr; }
  .gstn-ear-ad { display: none; }
  .gstn-logo-center { padding: 10px 0; }
}
@media(max-width:900px){
  .gstn-layout { grid-template-columns: 1fr; }
  .gstn-hero-grid { grid-template-columns: 1fr; }
  .gstn-hero-side { display: none; }
  .gstn-2col { grid-template-columns: 1fr; }
  .gstn-ftr-in { grid-template-columns: 1fr 1fr; }
  .gstn-hamburger { display: block; }
  #gstn-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #1a1d27; z-index: 999; border-top: 1px solid #2a2d3a; }
  #gstn-menu.open { display: flex; }
  #gstn-menu li a { border-bottom: 1px solid #2a2d3a; }
  #gstn-nav { position: relative; }
  .gstn-nav-in { flex-wrap: wrap; }
  .gstn-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media(max-width:600px){
  .gstn-wrap { padding: 8px; }
  .gstn-hero-img { height: 220px; }
  .gstn-single { padding: 14px; border-radius: 8px; }
  .gstn-s-title { font-size: 18px; }
  .gstn-ftr-in { grid-template-columns: 1fr; gap: 16px; }
  .gstn-sidebar { grid-template-columns: 1fr; }
  .gstn-adcta { flex-direction: column; text-align: center; }
}
@media(max-width:480px){
  .gstn-hero-img { height: 180px; }
  .gstn-hero-title { font-size: 16px; }
  .gstn-s-title { font-size: 16px; }
  .gstn-logo-center img { max-height: 65px; }
}

/* ── WIDTH FIX ───────────────────────── */
html, body { max-width: 100%; overflow-x: hidden; }
#gstn-header, #gstn-nav, #gstn-ticker, #gstn-footer { width: 100%; }
.gstn-wrap {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  width: 100% !important;
}
.gstn-layout {
  display: grid !important;
  grid-template-columns: 1fr 300px !important;
  gap: 16px !important;
  width: 100% !important;
}
.gstn-hdr-3col {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 8px 16px !important;
}
.gstn-nav-in {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}
.gstn-ftr-in {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 16px 24px !important;
}
.gstn-2col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
}