/* ToolOrbitHub — Consolidated global.css
   Place this at /assets/css/global.css and ensure header.php links to /assets/css/global.css
*/

/* ===== MOBILE NAV EMERGENCY FIX =====
   Put this at the VERY TOP to override conflicting rules.
*/
html, body { overflow-x: hidden !important; }

/* === Variables & base === */
:root{
  --brand:#0b2545;
  --accent-1:#ff9900;
  --accent-2:#e68a00;
  --muted:#6b7280;
  --bg:#ffffff;
  --card-bg:#ffffff;
  --max-width:1180px;
  --pad-desktop:28px;
  --pad-mobile:18px;
  --radius:12px;
  --shadow-subtle: 0 6px 20px rgba(11,37,69,0.06);
  --shadow-strong: 0 10px 30px rgba(11,37,69,0.09);
  --font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --text: #111827;
  --link: var(--brand);
  --max-read-width:900px;
}

/* === Reset / base === */
* { box-sizing: border-box; }
html,body { height:100%; margin:0; padding:0; font-family:var(--font-family); color:var(--text); background:var(--bg); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; -webkit-overflow-scrolling:touch; }
img, video, iframe { max-width:100%; height:auto; display:block; }
a { color:var(--link); text-decoration:none; }
a:hover { text-decoration:underline; opacity:0.95; }

/* Wrapper & spacing */
.wrap { max-width:var(--max-width); margin:0 auto; padding:0 var(--pad-mobile); box-sizing:border-box; }
@media(min-width:1000px){ .wrap { padding:0 var(--pad-desktop); } }

/* Typography */
h1 { font-size:1.9rem; margin:10px 0 14px; line-height:1.12; color:var(--brand); font-weight:800; }
h2 { font-size:1.15rem; margin:20px 0 10px; color:var(--brand); font-weight:700; }
h3 { font-size:1rem; margin:14px 0 6px; font-weight:700; }
p, li { font-size:1rem; color:var(--text); line-height:1.6; margin:10px 0; }
.small { font-size:0.92rem; color:var(--muted); }
.meta { color:var(--muted); font-size:0.95rem; }

/* Prevent accidental horizontal scroll globally */
html, body { overflow-x: hidden; }

/* === Header & nav === */
.site-header { background:linear-gradient(180deg,#fff,#fff); border-bottom:1px solid #eef2f7; position:sticky; top:0; z-index:1300; }
.header-inner { display:flex; align-items:center; gap:16px; padding:12px 0; }
.brand { display:flex; align-items:center; gap:12px; font-weight:800; color:var(--brand); font-size:1.05rem; text-decoration:none; flex:0 0 auto; }
.site-logo { max-height:64px; height:auto; width:auto; display:block; object-fit:contain; }
.brand-name { line-height:1; font-weight:800; }
.brand-sub { margin-top:2px; font-size:0.9rem; color:var(--muted); }

/* Desktop nav */
.site-nav { margin-left:auto; display:flex; gap:18px; align-items:center; }
.site-nav a { padding:6px 8px; border-radius:8px; color:var(--brand); font-weight:600; white-space:nowrap; }

/* Mobile toggle */
.mobile-nav-toggle { display:none; margin-left:auto; background:none; border:0; padding:8px; cursor:pointer; color:var(--brand); position:relative; z-index:1402; }
.hamburger { display:inline-block; width:36px; height:22px; position:relative; }
.hamburger .line { position:absolute; left:0; right:0; height:3px; background:var(--brand); border-radius:3px; transition: transform .22s ease, opacity .18s ease, top .22s cubic-bezier(.2,.9,.2,1); }
.hamburger .line-1 { top:0; }
.hamburger .line-2 { top:9px; }
.hamburger .line-3 { top:18px; }

/* Desktop breakpoint */
@media(min-width:900px){
  .mobile-nav-toggle { display:none !important; }
  .site-nav { display:flex !important; position:static !important; box-shadow:none !important; background:transparent !important; }
}

/* === Mobile nav panel & overlay ===
   Overlay sits below nav but above page; nav must have higher z-index.
*/
#mobile-nav-overlay {
  position:fixed;
  inset:0;
  background: rgba(11,37,69,0.54);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:1399;
  transition: opacity .22s ease, visibility .22s ease;
}

/* Panel/menu */
#site-nav {
  position: fixed;
  top: 62px;
  left: 50%;
  transform: translate(-50%, -8px);
  width: calc(100% - 48px);
  max-width: 360px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  padding: 14px;
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: transform .32s cubic-bezier(.2,.9,.2,1), opacity .22s ease;
  display: none;
}

/* Visible states (toggled by JS) */
body.nav-open #site-nav,
#site-nav.open {
  display:block;
  transform: translate(-50%, 0);
  opacity:1;
  pointer-events:auto;
}

body.nav-open #mobile-nav-overlay,
#mobile-nav-overlay.visible {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

/* Mobile nav items layout */
#site-nav a { display:block; padding:12px 14px; color:var(--brand); font-weight:600; border-radius:10px; margin-bottom:8px; position:relative; z-index:1401; text-align:center; }

/* Hamburger open state */
.mobile-nav-toggle.is-open .line-1 { transform: translateY(6px) rotate(45deg); }
.mobile-nav-toggle.is-open .line-2 { opacity:0; transform: scaleX(.2); }
.mobile-nav-toggle.is-open .line-3 { transform: translateY(-6px) rotate(-45deg); }

/* ensure overlay doesn't trap clicks when invisible */
#mobile-nav-overlay { pointer-events: none; }
#mobile-nav-overlay.visible { pointer-events: auto; }

/* === Hero, layout, cards === */
.site-main { padding:28px 0 80px; }
.hero { display:flex; gap:22px; align-items:flex-start; flex-wrap:wrap; margin-top:36px; margin-bottom:18px; }
.hero > div { flex:1; min-width:260px; }
.card, .tool-card { background:var(--card-bg); border-radius:var(--radius); padding:18px; border:1px solid #eef4fb; box-shadow:var(--shadow-subtle); display:flex; flex-direction:column; }
.card:hover, .tool-card:hover { box-shadow:var(--shadow-strong); transform: translateY(-4px); transition:transform .12s ease, box-shadow .12s ease; }

/* Grid utilities */
.tools-grid { display:grid; gap:18px; grid-template-columns:1fr; margin-top:12px; }
@media(min-width:760px){ .tools-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1100px){ .tools-grid{ grid-template-columns:repeat(3,1fr); } }

.reviews-grid { display:grid; gap:18px; grid-template-columns:1fr; }
@media(min-width:760px){ .reviews-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1100px){ .reviews-grid{ grid-template-columns:repeat(3,1fr); } }

/* Buttons */
.btn, .cta-primary, .cta-secondary { display:inline-block; text-decoration:none; border-radius:10px; padding:12px 16px; font-weight:700; font-size:0.98rem; }
.cta-primary { background: linear-gradient(180deg,var(--accent-1),var(--accent-2)); color:#fff; border:0; box-shadow:0 6px 18px rgba(230,138,0,0.20); }
.cta-primary:hover { background: linear-gradient(180deg,var(--accent-2),#d17600); transform:translateY(-1px); }
.cta-secondary { background:#fff; color:var(--brand); border:1px solid #e6eef6; padding:10px 14px; font-weight:700; }

/* Article / review */
article { max-width:var(--max-read-width); margin:0 auto; }
article h1 { font-size:1.75rem; }
article p, article li { font-size:1.02rem; line-height:1.72; }
article ul, article ol { margin:12px 0 12px 20px; }

/* Pros / cons */
.procon { display:flex; gap:12px; flex-wrap:wrap; margin:14px 0; }
.procon .box { flex:1; min-width:180px; border-radius:10px; padding:12px; background:#fff; border:1px solid #eef4fb; }

/* Tables */
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; margin:18px 0; }
.compare-table, .comparison-table { width:100%; border-collapse:collapse; min-width:720px; }
.compare-table th, .compare-table td, .comparison-table th, .comparison-table td { padding:10px; border:1px solid #eef4fb; text-align:left; vertical-align:top; font-size:0.95rem; }

/* Footer */
.site-footer { border-top:1px solid #eef2f7; padding:24px 0; text-align:center; color:var(--muted); font-size:0.95rem; }

/* Forms */
input[type="email"], input[type="text"], textarea { width:100%; padding:10px; border-radius:10px; border:1px solid #e6eaf0; font-size:0.98rem; }

/* Sticky mobile CTA */
.mobile-cta { display:none; }
@media(max-width:760px){
  .mobile-cta { position:fixed; left:50%; transform:translateX(-50%); bottom:16px; z-index:9999; width:calc(100% - 36px); max-width:680px; display:flex; gap:12px; align-items:center; padding:10px 12px; background:linear-gradient(90deg,var(--accent-1),var(--accent-2)); border-radius:12px; box-shadow:0 10px 30px rgba(230,138,0,0.18); color:#fff; font-weight:700; }
  .mobile-cta a { color:#fff; font-weight:800; text-align:center; flex:1; }
  .mobile-cta .close { background:transparent; border:0; color:#fff; font-size:18px; }
}

/* Accessibility: focus */
a:focus, button:focus, input:focus { outline:3px solid rgba(255,153,0,0.18); outline-offset:3px; }

/* Safe paddings on small screens (prevent edges touching) */
@media(max-width:760px){
  .wrap, .site-main, article, .card { padding-left:16px !important; padding-right:16px !important; }
  h1 { font-size:1.45rem; }
  .site-logo { max-height:44px; }
  .header-inner { padding:10px 0; }
  .hero { margin-top:18px; gap:14px; }
  .card { padding:12px; }
}

/* Blog & review article tweaks */
.site-main article { max-width:900px; margin:0 auto; line-height:1.65; }
.site-main .comparison-table { margin:14px 0 22px; }
.site-main h1 { font-size:30px; margin-bottom:10px; color:#0f172a; }

/* Emergency fixes: ensure page doesn't push beyond viewport */
html, body { overscroll-behavior-x: none; }

/* final minor polish */
.card { border-radius:12px; border:1px solid #eef4fb; box-shadow:0 8px 30px rgba(11,37,69,0.03); }
.tool-card .btn, .card .btn { margin-top:auto; display:inline-block; }

/* ensure elements that should be above menu remain so (CTA etc) */
.mobile-cta, .sticky-cta, .sticky-cta-wrapper { z-index: 50 !important; }

/* small helpers */
.kicker { font-size:0.9rem; color:var(--muted); font-weight:700; letter-spacing:0.6px; text-transform:uppercase; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* responsive table / overflow hint */
.table-wrap:after { content: "↔ Swipe to view"; display:block; font-size:0.82rem; color:var(--muted); margin-top:6px; text-align:right; opacity:0.9; }

/* ---------- Desktop-first override (final, put at EOF of style.css) ---------- */
@media (min-width: 900px) {
  .mobile-nav-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  #site-nav,
  .site-nav {
    display: flex !important;
    position: static !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: auto !important;
    overflow: visible !important;
    align-items: center !important;
    gap: 18px !important;
  }
  body.nav-open #site-nav,
  body.nav-open .site-nav {
    display: flex !important;
  }
  #mobile-nav-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }
  html, body {
    overflow-x: hidden !important;
  }
}

/* ensure responsive tables behave */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0;
  padding-bottom: 6px;
  box-sizing: border-box;
}
.table-wrap table,
.table-wrap .comparison-table,
.table-wrap .compare-table {
  width: 100%;
  min-width: 420px;
  max-width: none;
  border-collapse: collapse;
  box-sizing: border-box;
}
.table-wrap th,
.table-wrap td {
  white-space: nowrap;
  padding: 10px;
  box-sizing: border-box;
}
@media (max-width: 520px) {
  .table-wrap table,
  .comparison-table { min-width: 320px; }
  .table-wrap th,
  .table-wrap td { padding: 8px 6px; font-size: 0.95rem; }
}

/* REVIEW content specific tweaks */
.review-content {
    padding-right: 20px;
    padding-left: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.review-content a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}
.review-content a:hover {
    color: #004fcc;
    text-decoration: underline;
}

/* ===== Final theme / spacing polish (append at EOF) ===== */

:root{
  /* ensure brand variables exist (won't clobber if already set) */
  --brand: var(--brand, #0b2545);
  --accent-1: var(--accent-1, #ff9900);
}

/* --- Safe page paddings so text never touches edges --- */
.wrap, .site-main, article, .card, .review-hero-card, .review-content {
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}

/* Slightly larger safe padding for very small screens */
@media (max-width: 520px) {
  .wrap, .site-main, article, .card, .review-hero-card, .review-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* --- Header & nav polish --- */
.site-header { background: #fff !important; }
.site-nav a, #site-nav a { color: var(--brand) !important; font-weight:600 !important; }
.site-nav a:hover, #site-nav a:hover { color: color-mix(in srgb, var(--brand) 80%, black 10%) !important; }

/* Force desktop nav visible (keeps desktop appearance stable) */
@media (min-width: 900px) {
  #site-nav, .site-nav {
    display:flex !important;
    position:static !important;
    transform:none !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  .mobile-nav-toggle, #mobile-nav-toggle { display:none !important; }
}

/* --- Hero / review header spacing (prevent text hugging edges) --- */
.review-hero-card .card.hero-card, .hero-card {
  padding: 20px !important;
  border-radius: 14px !important;
}

/* Ensure the big H1 in article and the card H1 have breathing room */
article h1, .review-title {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 2px;
  padding-right: 2px;
}

/* --- Review content link coloring and weight (theme) --- */
.review-content a, .site-main a {
  color: var(--brand) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.review-content a:hover, .site-main a:hover {
  color: color-mix(in srgb, var(--brand) 75%, #004fcc 25%) !important;
  text-decoration: underline !important;
}

/* --- Card / grid polish --- */
.reviews-grid .card, .tools-grid .card, .tool-card {
  padding: 16px !important;
  border-radius: 12px !important;
  border: 1px solid #eef4fb !important;
}
.reviews-grid { gap: 20px !important; }

/* --- Prevent horizontal overflow caused by large tables/content --- */
html, body { overflow-x: hidden !important; }
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* --- Small devices: make sure hero/card width is nice --- */
@media (max-width: 760px) {
  .hero, .review-hero-card .card.hero-card { margin-left: 0 !important; margin-right: 0 !important; }
  article { padding-left: 8px !important; padding-right: 8px !important; }
}

/* Accessibility focus polish */
a:focus, button:focus, input:focus { outline: 3px solid rgba(255,153,0,0.18) !important; outline-offset: 3px !important; }

/* Remove leftover debug rules if any */
#site-nav.debug { outline: none !important; }

/* ===== FINAL LINK THEME OVERRIDE (GLOBAL) ===== */

/* All site links */
a,
.site-main a,
.review-content a,
.reviews-grid a,
.tools-grid a,
.card a {
    color: var(--brand) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* Hover state */
a:hover,
.site-main a:hover,
.review-content a:hover,
.reviews-grid a:hover,
.tools-grid a:hover,
.card a:hover {
    color: #004fcc !important; /* slightly brighter brand-blue */
    text-decoration: underline !important;
}

/* Special case: card CTA links ("Read Review →") */
.reviews-grid .card a,
.tools-grid .card a {
    color: var(--brand) !important;
    font-weight: 600 !important;
}

/* Hover for CTA links */
.reviews-grid .card a:hover,

/* =========================
   ToolOrbitHub - brand/link overrides (put at EOF of global.css)
   ========================= */

:root{
  --brand: #0b2545;
  --brand-hover: #004fcc;
  --accent-1: #ff9900;
}

/* Make primary links use the brand color everywhere important */
a,
.wrap a,
.review-content a,
.site-nav a,
.card a,
.tool-card a {
  color: var(--brand) !important;
  text-decoration: none !important;
  font-weight: 600;
}

/* Hover / focus states */
a:hover,
a:focus,
.review-content a:hover,
.site-nav a:hover {
  color: var(--brand-hover) !important;
  text-decoration: underline !important;
  outline: none;
}

/* Specific CTA / secondary link styles (don't override primary CTAs) */
.cta-primary, .btn, .cta-primary a {
  color: #fff !important;
}

/* Ensure small "read review" links inside cards keep readable weight */
.card a, .tool-card a {
  font-weight: 700 !important;
}

/* Accessibility: visible focus ring using brand accent */
a:focus, button:focus, input:focus {
  outline: 3px solid rgba(11,37,69,0.12) !important;
  outline-offset: 3px !important;
}

/* Small tweak: keep link color in lists/quick highlights */
.review-content .kicker a,
.review-content ul a,
.review-content ol a { color: var(--brand) !important; }

/* Defensive: make sure inlined/older selectors don't win */
[class*="link"], [class*="Link"] { color: var(--brand) !important; }

/* === Force brand link color for card / review links (override inline style) === */
:root { --brand: #0b2545; --brand-hover: #004fcc; }

/* Card links produced with inline style="color:inherit" */
a.card,
.card a,
.reviews-grid a.card,
.reviews-grid a.card * {
  color: var(--brand) !important;
  font-weight: 700 !important;       /* keep links bold like you wanted */
  text-decoration: none !important;
}

/* Read-review link inside card (hover) */
a.card:hover,
.card a:hover,
.reviews-grid a.card:hover,
.reviews-grid a.card:hover * {
  color: var(--brand-hover) !important;
  text-decoration: underline !important;
}

/* also ensure generic review-content links follow brand */
.review-content a { color: var(--brand) !important; }
.review-content a:hover { color: var(--brand-hover) !important; text-decoration: underline !important; }

/* Force brand color on anchored review cards (target anchors even if they have inline styles) */
section.reviews-grid a,
.reviews-grid a,
article .card a,
.card a,
.tool-card a,
.review-content a,
.wrap a {
  color: var(--brand) !important;
  font-weight: 700 !important;
}
a[style*="color"] {
  color: var(--brand) !important;
  font-weight: 700 !important;
}

/* ========== FORCE theme color on review cards & links ========== */
/* Very specific selectors and !important will override inline styles */
section.reviews-grid a.card,
section.reviews-grid a.card * ,
section.reviews-grid a.card .tool-title,
section.reviews-grid a.card .small,
section.reviews-grid a.card .card-link,
section.reviews-grid a.card .card a
{
  color: var(--brand) !important;
  font-weight: 700 !important;
}

/* Read link line specifically */
section.reviews-grid a.card .small,
section.reviews-grid a.card .read-link,
section.reviews-grid a.card .card-cta {
  color: var(--brand) !important;
  font-weight: 600 !important;
}

/* Ensure nav & other page links use brand color */
a, .site-nav a, .review-content a {
  color: var(--brand) !important;
}
a:hover, .site-nav a:hover, .review-content a:hover {
  color: var(--brand-hover) !important;
  text-decoration: underline !important;
}

/* === Theme variables & hard overrides (add at EOF of global.css) === */
:root{
  --brand: #0b2545;
  --brand-hover: #004fcc;
  --accent-1: #ff9900;
}

/* Primary link / card overrides (safe once inline colors are removed) */
a, .site-nav a, .wrap a, .review-content a, .card a, .tool-card a, .reviews-grid a.card {
  color: var(--brand) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

a:hover, a:focus, .site-nav a:hover, .review-content a:hover {
  color: var(--brand-hover) !important;
  text-decoration: underline !important;
}

/* CTA button fallback if something overrides it */
.cta-primary, .btn.cta-primary, .cta-primary a { 
  color: #fff !important; 
  background: linear-gradient(180deg,var(--accent-1), #e68a00) !important;
}

/* Card link style */
.reviews-grid a.card, .card a {
  color: var(--brand) !important;
  font-weight: 700 !important;
}
/* ===== FORCE: show mobile menu toggle & icon (paste at EOF of global.css) ===== */

/* Make sure the toggle is visible on mobile */
#mobile-nav-toggle,
.mobile-nav-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: transparent !important;
  border: 0 !important;
  padding: 8px !important;
  margin: 0 !important;
  z-index: 99999 !important; /* sit on top */
  position: relative !important;
}

/* In case some rule set width/height to zero */
#mobile-nav-toggle, .mobile-nav-toggle { width: 44px !important; height: 44px !important; }

/* Ensure any SVG / icon inside is visible */
#mobile-nav-toggle svg,
#mobile-nav-toggle i,
.mobile-nav-toggle svg,
.mobile-nav-toggle i,
#mobile-nav-toggle .hamburger,
.mobile-nav-toggle .hamburger {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Hamburger lines (or three-dot icon fallback) */
.hamburger .line,
.mobile-nav-toggle .line {
  display: block !important;
  width: 22px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: var(--brand, #0b2545) !important; /* brand color fallback */
  transition: transform .22s ease, opacity .18s ease !important;
}

/* If the site uses a three-dot icon via pseudo-elements */
#mobile-nav-toggle::before,
#mobile-nav-toggle::after,
#mobile-nav-toggle .dot,
.mobile-nav-toggle::before,
.mobile-nav-toggle::after,
.mobile-nav-toggle .dot {
  display: inline-block !important;
  visibility: visible !important;
  background: var(--brand, #0b2545) !important;
}

/* Make sure it's visible at typical mobile sizes (override any accidental desktop-only rules) */
@media (max-width: 900px) {
  #mobile-nav-toggle, .mobile-nav-toggle { display: inline-flex !important; }
}

/* Keep it hidden on large screens if you want (optional) */
@media (min-width: 900px) {
  #mobile-nav-toggle, .mobile-nav-toggle {
    display: none !important; /* leave this if you want desktop to show full menu */
  }
}

.social-links {
  text-align: center;
  margin: 40px auto 20px;
}

.social-links h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #0b2545;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f4f8;
  border-radius: 50%;
  transition: 0.25s ease-in-out;
}

.social-icons a svg {
  width: 22px;
  height: 22px;
  fill: #0b2545;
  transition: 0.25s ease-in-out;
}

.social-icons a:hover {
  background: #0b2545;
}

.social-icons a:hover svg {
  fill: #ffffff;
}

/* Placeholder icons (future profiles) */
.social-icons a.coming-soon {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
/* ---------- Review CTA & Buttons ---------- */
.card.article-cta{ background:transparent; border:none; padding:0; }
.cta-grid .card{ background:#fff; border:1px solid rgba(11,37,69,0.04); border-radius:10px; box-shadow:0 6px 18px rgba(12,20,30,0.03); }
.cta-primary{ display:inline-block; background:#ff9a00; color:#fff; padding:10px 14px; border-radius:8px; text-decoration:none; font-weight:700; box-shadow:0 6px 18px rgba(255,154,0,0.12); }

/* Small text */
.small { font-size:14px; color:#6b7380; }

/* ---------- Floating Sticky CTA ---------- */
#sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 2200;
  display: none; /* controlled by JS */
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg,#ffb64d,#ff9a00);
  color: #07142b;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(11,37,69,0.12);
  font-weight:700;
  cursor:pointer;
}
#sticky-cta a { color:#07142b; text-decoration:none; font-weight:700; }
#sticky-close { background:transparent; border:none; color: rgba(7,20,43,0.7); font-size:16px; margin-left:8px; cursor:pointer; }

/* responsive for mobile */
@media (max-width: 720px){
  #sticky-cta { left: 12px; right: 12px; bottom: 12px; justify-content:space-between; padding:12px 16px; border-radius:12px; width:auto; }
  .cta-grid { grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); }
}
/* Top offer styles */
.top-offer {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 9999;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  box-shadow: 0 6px 18px rgba(11,37,69,0.06);
}
.top-offer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 18px;
  gap:12px;
}
.top-offer-left { display:flex; align-items:center; gap:12px; min-width:0; }
.offer-badge {
  font-weight:700;
  padding:8px 10px;
  border-radius:8px;
  color:#fff;
  min-width:72px;
  text-align:center;
  box-shadow: 0 2px 6px rgba(11,37,69,0.08);
  font-size:14px;
}
.offer-text .offer-title { font-weight:700; font-size:16px; margin-bottom:2px; color:#082033; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.offer-text .offer-sub { font-size:13px; color:#344453; opacity:0.9; }

.top-offer-right { display:flex; align-items:center; gap:12px; margin-left:auto; }
.offer-timer { font-weight:700; font-size:14px; color:#082033; padding:6px 8px; border-radius:6px; background:rgba(255,255,255,0.6); }
.offer-cta {
  display:inline-block;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  box-shadow: 0 6px 18px rgba(11,37,69,0.08);
}

/* close button */
.offer-close { background:transparent; border:none; font-size:18px; cursor:pointer; color:rgba(11,37,69,0.6); padding:6px; }

/* COLOR: orange */
.top-offer.offer-orange { background: linear-gradient(90deg,#fff 0%, #fff 60%); }
.top-offer.offer-orange .offer-badge { background:#ff9a00; }
.top-offer.offer-orange .offer-cta { background:#ff9a00; color:#fff; }

/* COLOR: teal */
.top-offer.offer-teal { background: linear-gradient(90deg,#f7fffc 0%, #f7fffc 60%); }
.top-offer.offer-teal .offer-badge { background:#0fb5a6; }
.top-offer.offer-teal .offer-cta { background:#0fb5a6; color:#fff; }

/* Responsive: stack on mobile */
@media (max-width:780px) {
  .top-offer-inner { flex-direction:column; align-items:stretch; gap:8px; padding:10px; }
  .top-offer-left { justify-content:space-between; }
  .offer-text .offer-title { font-size:15px; }
  .offer-text .offer-sub { font-size:13px; }
  .top-offer-right { justify-content:space-between; width:100%; }
  .offer-cta { flex:1; text-align:center; }
  .offer-timer { order:3; justify-self:flex-start; margin-top:6px; }
  .offer-close { position:absolute; top:8px; right:10px; }
}

/* small utility */
.top-offer.hidden { display:none !important; }
/* quick temporary: put menu above offer (may cover it visually) */
.mobile-menu,
.header-mobile-nav { z-index: 13000 !important; }

/* Fix: Push mobile menu below the top offer bar */
body.nav-open #site-nav.open {
  margin-top: 100px !important; /* adjust if needed */
}

/* Push overlay below offer bar so user can still close menu */
#mobile-nav-overlay.visible {
  top: 100px !important;
}

/* 🚫 Disable ALL mobile menu animations & transitions */
#site-nav,
#site-nav.open {
  transition: none !important;
  transform: translate(-50%, 0) !important;
  opacity: 1 !important;
}

/* Ensure links appear instantly */
#site-nav a {
  animation: none !important;
  transition: none !important;
}
