/*
Theme Name: Trados
Theme URI: https://trados.co
Author: Trados LLC
Author URI: https://trados.co
Description: Custom theme for Trados — The Verified Network for Global Commodity Trade
Version: 1.0.0
License: Proprietary
Text Domain: trados
*/

/* ===================== RESET ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===================== DESIGN TOKENS ===================== */
:root {
  --navy: #1e2a35;
  --navy-light: #2d3e4e;
  --gold: #f5a623;
  --gold-dark: #e8870e;
  --gold-hover: #e8951a;
  --green: #22c55e;
  --green-dark: #16a34a;
  --purple: #6366f1;
  --bg-light: #f7f8fa;
  --bg-dark: #111827;
  --text: #1a1a2e;
  --text-heading: #1e2a35;
  --text-body: #4a5568;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e2e8f0;
  --border-light: #e5e7eb;
  --border-lighter: #f1f3f5;
  --nav-height: 72px;
  --container-max: 1200px;
  --section-inner-max: 1100px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 100px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================== TYPOGRAPHY ===================== */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
}
.section-subtitle {
  font-size: 18px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 600px;
}
.accent {
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== SCROLL PROGRESS ===================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  width: 0%;
  transition: width 0.1s linear;
}
.scroll-progress-below-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 99;
  height: 3px;
  background: transparent;
}
.scroll-progress-below-nav .scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--green));
  width: 0%;
  transition: width 0.1s;
}

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===================== LAYOUT ===================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 60px;
}
.section-inner {
  max-width: var(--section-inner-max);
  margin: 0 auto;
}
.section {
  padding: 100px 60px;
}
.section-alt {
  background: var(--bg-light);
}
.section-dark {
  background: var(--navy);
}
.section-center {
  text-align: center;
}
.section-center .section-title,
.section-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ===================== NAV ===================== */
/*
 * The nav lives inside an Elementor header template.
 * Elementor wraps it in containers with position:relative and z-index
 * that create stacking contexts, trapping the nav's z-index.
 * We must break every parent out of its stacking context.
 */
.elementor-location-header {
  position: relative !important;
  z-index: 9999 !important;
}
.elementor-location-header .elementor-top-section {
  overflow: visible !important;
  z-index: auto !important;
  height: var(--nav-height) !important;
  min-height: 0 !important;
}
.elementor-location-header .elementor-container {
  z-index: auto !important;
  height: var(--nav-height) !important;
  min-height: 0 !important;
}
.elementor-location-header .elementor-column,
.elementor-location-header .elementor-widget-wrap,
.elementor-location-header .elementor-widget {
  z-index: auto !important;
}
/* Hide orbs/particles injected by JS into the header section */
.elementor-location-header .el-hero-orbs,
.elementor-location-header .el-hero-particles {
  display: none !important;
}
/* Kill the 10px padding Elementor adds to widget-wrap — it creates a gray strip */
.elementor-location-header .elementor-widget-wrap {
  padding: 0 !important;
}

/* !important needed to override Elementor inline styles */
.nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
  padding: 0 60px !important;
  height: var(--nav-height) !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
/* Push nav below WP admin bar when logged in */
.admin-bar .nav {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px !important; }
}

/* No padding on main — each section handles its own nav clearance */
main {
  padding-top: 0 !important;
  position: relative;
  z-index: 1;
}
/* Kill the white gap: first Elementor section should sit flush below nav */
main > .elementor > .elementor-top-section:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/*
 * Inner-page hero: 400px, vertically centred.
 * Excludes the homepage (body.home) which keeps its own height.
 */
body:not(.home) main > .elementor > .elementor-top-section:first-child {
  /* 400px visible area BELOW the nav */
  height: calc(400px + var(--nav-height)) !important;
  min-height: calc(400px + var(--nav-height)) !important;
  max-height: calc(400px + var(--nav-height)) !important;
  padding-top: var(--nav-height) !important;
  box-sizing: border-box !important;
}
body:not(.home) main > .elementor > .elementor-top-section:first-child > .elementor-container {
  height: 100% !important;
  align-items: center !important;
}
body:not(.home) main > .elementor > .elementor-top-section:first-child .elementor-column {
  justify-content: center !important;
}
body:not(.home) main > .elementor > .elementor-top-section:first-child .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  padding: 0 !important;
}

/*
 * Inner-page hero text: force white/light colors on navy background.
 * Elementor sets inline dark colors that are invisible against navy.
 */
body:not(.home) main > .elementor > .elementor-top-section:first-child .elementor-heading-title {
  color: #fff !important;
  font-size: 52px !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px !important;
  line-height: 1.1 !important;
}
body:not(.home) main > .elementor > .elementor-top-section:first-child .elementor-text-editor,
body:not(.home) main > .elementor > .elementor-top-section:first-child .elementor-text-editor p {
  color: rgba(255,255,255,0.6) !important;
}
body:not(.home) main > .elementor > .elementor-top-section:first-child .elementor-widget-html {
  color: #fff !important;
}

/*
 * For Companies hero: move "White-Label SaaS Platform" badge
 * above the buttons instead of at the very top.
 * Widget order: badge(1) spacer(2) heading(3) text(4) spacer(5) buttons(6)
 * New order:    heading(1) text(2) badge(3) buttons(4) — hide spacers
 */
.page-id-8 main > .elementor > .elementor-top-section:first-child .elementor-widget-wrap {
  flex-wrap: nowrap !important;
}
.page-id-8 .elementor-element[data-id="f6b4e33"] {
  order: 4 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
.page-id-8 .elementor-element[data-id="ac95eb0"] {
  order: 1 !important;
}
.page-id-8 .elementor-element[data-id="eb57db9"] {
  order: 2 !important;
}
.page-id-8 .elementor-element[data-id="8f97388"] {
  order: 5 !important;
}
/* Hide spacers since flexbox centering handles spacing now */
.page-id-8 .elementor-element[data-id="4009e15"],
.page-id-8 .elementor-element[data-id="db1022c"] {
  display: none !important;
}

/*
 * Pricing hero (page-id-9): hide toggle & spacer from hero,
 * replace with trust badges. Toggle moves above pricing cards via JS.
 */
/* Hide the spacer only; the toggle widget now has trust badges */
.page-id-9 .elementor-element[data-id="caae122"] {
  display: none !important;
}
/* Pricing toggle repositioned above cards */
.pricing-toggle-moved {
  display: flex;
  justify-content: center;
  padding: 32px 0 8px;
}

/*
 * Contact page (page-id-12): remove gradient/grid bg, use flat navy.
 */
/* Contact page: flat navy hero, clean layout */
.con-hero {
  background: var(--navy) !important;
  background-image: none !important;
  padding: 0 60px !important;
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}
.con-hero-content {
  text-align: center !important;
}
.con-hero-grid,
.con-hero-glow,
.con-hero-float,
.con-hero-cards,
.con-hero::before,
.con-hero::after {
  display: none !important;
}

/* All inner-page Elementor heroes: consistent flat navy background */
body:not(.home) main > .elementor > .elementor-top-section:first-child {
  background: var(--navy) !important;
  background-image: none !important;
}

.nav-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 36px;
  background: url('/wp-content/uploads/2026/03/Trados-Trade-Verified.jpg') center/contain no-repeat;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--text-heading); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text-heading); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* WordPress nav menu compatibility */
.nav-menu-container ul {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu-container ul li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
  position: relative;
}
.nav-menu-container ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-menu-container ul li a:hover { color: var(--text-heading); }
.nav-menu-container ul li a:hover::after { transform: scaleX(1); }
.nav-menu-container ul li.current-menu-item a { color: var(--text-heading); }
.nav-menu-container ul li.current-menu-item a::after { transform: scaleX(1); }

/* ===================== BUTTONS ===================== */
.btn-ghost {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.btn-ghost:hover {
  border-color: var(--text-heading);
  background: var(--bg-light);
  transform: translateY(-1px);
}
.btn-primary {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,42,53,0.2);
}
.btn-gold {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: var(--gold);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.3);
}
.btn-gold:hover::after { transform: translateX(100%); }

.btn-large {
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}
.btn-large-gold,
a.btn-large-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}
.btn-large-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-large-gold:hover::after { transform: translateX(100%); }
.btn-large-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.4);
}
.btn-large-outline {
  background: #fff;
  color: var(--text-heading);
  border: 1.5px solid #d1d5db;
}
.btn-large-outline:hover {
  border-color: var(--text-heading);
  transform: translateY(-2px);
}

.btn-cta-primary {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  background: var(--gold);
  color: var(--text-heading);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}
.btn-cta-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.3);
}
.btn-cta-primary:hover::after { transform: translateX(100%); }

.btn-cta-outline {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.btn-cta-outline:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-outline-light {
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* ===================== HERO COMMON ===================== */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: -7s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
  top: 50%; left: 40%;
  animation-delay: -14s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(20px, 20px) scale(1.02); }
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(245,166,35,0.3);
  border-radius: 50%;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===================== CARDS ===================== */
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  border: 1px solid var(--border-light);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--bg-light);
}
.feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================== TESTIMONIAL CARDS ===================== */
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.testimonial-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
}
.testimonial-role {
  font-size: 11px;
  color: var(--text-light);
}

/* ===================== TRUST NUMBERS ===================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.trust-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.trust-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.trust-number {
  font-size: 44px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-label {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ===================== GRIDS ===================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* ===================== FINAL CTA ===================== */
.final-cta {
  padding: 40px 60px;
  background: #fffdf5;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 50%);
  border-radius: 50%;
  animation: orbFloat 20s ease-in-out infinite;
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.final-cta h2 em {
  color: var(--gold);
  font-style: italic;
}
.final-cta p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ===================== FOUNDER PHOTO (Our Story) ===================== */
/* Make the founder photo placeholder round */
.elementor-element-c2af190 > div {
  width: 160px !important;
  height: 160px !important;
  aspect-ratio: 1/1 !important;
  border-radius: 50% !important;
  border: 4px solid var(--gold) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
  overflow: hidden !important;
  font-size: 0 !important;
  color: transparent !important;
}
/* Hide the overlay text inside the photo placeholder */
.elementor-element-c2af190 > div > div {
  display: none !important;
}

/* ===================== HERO BANNERS ===================== */
/* Rounded bottom corners on all page hero sections */
main .elementor-top-section:first-child {
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

/* Fix Contact page hero heading — ensure white text on dark hero */
.elementor-12 .con-hero-content h1,
.con-hero-content h1,
.con-hero h1 {
  color: #FFFFFF !important;
}

/* ===================== CTA BANNER (above footer) ===================== */

/* ===================== FOOTER ===================== */
.elementor-location-footer {
  margin-top: 0 !important;
}
.elementor-location-footer .elementor-widget-wrap {
  padding: 0 !important;
}
.footer {
  padding: 64px 60px 32px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.5);
  border-top: 3px solid var(--gold);
}
.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3,
.footer h3,
.elementor-location-footer footer h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand h3::before,
.footer h3::before,
.elementor-location-footer footer h3::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url('/wp-content/uploads/2026/03/Trados-Trade-Verified.jpg') center/contain no-repeat;
  border-radius: 6px;
  flex-shrink: 0;
}
.footer-brand h3 span,
.footer h3 span,
.elementor-location-footer footer h3 span { color: var(--gold); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.footer-col a:hover {
  color: var(--gold);
  transform: translateX(4px);
}
/* WordPress footer menu compatibility */
.footer-col .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col .menu li a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.footer-col .menu li a:hover {
  color: var(--gold);
  transform: translateX(4px);
}
.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* ===================== FAQ COMMON ===================== */
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: #d1d5db; }
.faq-item.open { border-color: var(--gold); }
.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  gap: 16px;
  user-select: none;
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-light);
  transition: all 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  background: rgba(245,166,35,0.1);
  color: var(--gold);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ===================== POLICY / TERMS COMMON ===================== */
.policy-hero,
.terms-hero {
  padding: 140px 60px 60px;
  background: var(--navy);
  text-align: center;
}
.policy-hero h1,
.terms-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.policy-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  margin-bottom: 20px;
  line-height: 1.3;
}
.policy-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-light);
  margin: 28px 0 12px;
}
.policy-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}
.policy-section ul {
  margin: 0 0 16px 24px;
  list-style: disc;
}
.policy-section li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 6px;
}
.policy-section strong { color: var(--text-heading); font-weight: 600; }

/* ===================== BLOG — SINGLE POST ===================== */
.blog-hero {
  padding: 120px 60px 60px;
  background: var(--navy);
  text-align: center;
}
.blog-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.blog-hero-cats {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.blog-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(245,166,35,0.12);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  transition: all 0.3s;
}
.blog-cat-badge:hover {
  background: rgba(245,166,35,0.2);
  color: var(--gold);
}
.blog-hero-title {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.blog-hero-excerpt {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}
.blog-hero-meta {
  display: flex;
  justify-content: center;
}
.blog-meta-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
.blog-author-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.blog-meta-date {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* Featured Image */
.blog-featured-image {
  background: var(--bg-light);
  padding: 0 60px;
}
.blog-featured-image-inner {
  max-width: 900px;
  margin: 0 auto;
  transform: translateY(-40px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.blog-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* Article Content */
.blog-content {
  padding: 60px 60px 80px;
  background: #fff;
}
.blog-content-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
}
.blog-content-inner h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 48px 0 16px;
  letter-spacing: -0.5px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}
.blog-content-inner h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-heading);
  margin: 36px 0 12px;
}
.blog-content-inner h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-light);
  margin: 28px 0 10px;
}
.blog-content-inner p {
  margin-bottom: 20px;
}
.blog-content-inner a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.blog-content-inner a:hover {
  color: var(--gold);
}
.blog-content-inner ul,
.blog-content-inner ol {
  margin: 0 0 24px 24px;
  list-style: disc;
}
.blog-content-inner ol {
  list-style: decimal;
}
.blog-content-inner li {
  margin-bottom: 8px;
  line-height: 1.75;
}
.blog-content-inner blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-heading);
  font-size: 18px;
  line-height: 1.7;
}
.blog-content-inner blockquote p:last-child {
  margin-bottom: 0;
}
.blog-content-inner img {
  border-radius: var(--radius-md);
  margin: 32px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.blog-content-inner pre {
  background: var(--navy);
  color: #e2e8f0;
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.6;
}
.blog-content-inner code {
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--navy);
}
.blog-content-inner pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}
.blog-content-inner hr {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 48px 0;
}
.blog-content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.blog-content-inner th,
.blog-content-inner td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
}
.blog-content-inner th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text-heading);
}
.blog-content-inner figure {
  margin: 32px 0;
}
.blog-content-inner figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Tags */
.blog-tags {
  padding: 0 60px 48px;
  background: #fff;
}
.blog-tags-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.blog-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  transition: all 0.3s;
}
.blog-tag:hover {
  background: var(--navy);
  color: #fff;
}

/* Post Navigation */
.blog-post-nav {
  padding: 0 60px;
  background: var(--bg-light);
}
.blog-post-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
}
.blog-post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog-post-nav-next {
  text-align: right;
}
.blog-post-nav-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}
.blog-post-nav-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  transition: color 0.2s;
}
.blog-post-nav-title:hover {
  color: var(--gold-dark);
}

/* Related Posts Section */
.blog-related {
  padding: 80px 60px;
  background: var(--bg-light);
}
.blog-related-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===================== BLOG — ARCHIVE / LISTING ===================== */
.blog-archive-hero {
  padding: 140px 60px 60px;
  background: var(--navy);
  text-align: center;
}
.blog-archive-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.blog-archive-title {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.blog-archive-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.blog-archive-content {
  padding: 60px 60px 100px;
  background: var(--bg-light);
}
.blog-archive-content-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Blog Cards Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-out);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: transparent;
}
.blog-card-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 24px;
}
.blog-card-cats {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.blog-cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 4px;
  background: #e6f5ec;
  color: #2d7a4f;
  text-decoration: none;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease;
}
.blog-cat-badge:hover {
  background: #d0eddb;
  color: #1e5c3a;
}
.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-card-title a {
  color: inherit;
  transition: color 0.2s;
}
.blog-card-title a:hover {
  color: var(--gold-dark);
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

/* Pagination */
.blog-pagination {
  margin-top: 48px;
  text-align: center;
}
.blog-pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  background: #fff;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.blog-pagination .page-numbers.current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.blog-pagination .page-numbers:hover:not(.current) {
  border-color: var(--navy);
  color: var(--navy);
}
.blog-pagination .prev,
.blog-pagination .next {
  width: auto;
  padding: 0 16px;
  font-size: 13px;
}

/* Empty State */
.blog-empty {
  text-align: center;
  padding: 80px 24px;
}
.blog-empty h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.blog-empty p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ===================== HERO BADGE (reusable across all pages) ===================== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  margin-top: 16px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* Gold accent for <em> in hero titles */
.articles-hero-title em,
body:not(.home) main > .elementor > .elementor-top-section:first-child .elementor-heading-title em,
body:not(.home) main > .elementor > .elementor-top-section:first-child h1 em,
body:not(.home) main > .elementor > .elementor-top-section:first-child h2 em {
  color: var(--gold) !important;
  font-style: italic;
}

/* ===================== ARTICLES PAGE ===================== */

/* Hero */
.articles-hero {
  /* Match inner-page hero: 400px visible + nav clearance on top */
  height: calc(400px + var(--nav-height));
  min-height: calc(400px + var(--nav-height));
  padding-top: var(--nav-height);
  padding-bottom: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.articles-hero::before {
  display: none !important;
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 60%);
  border-radius: 50%;
}
.articles-hero::after {
  display: none !important;
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.05) 0%, transparent 60%);
  border-radius: 50%;
}
.articles-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  margin-top: -20px;
}
.articles-hero-title {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.articles-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* Category Filters */
.articles-filters {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 72px;
  z-index: 50;
}
.articles-filters-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 60px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.articles-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1.5px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.articles-filter-btn:hover {
  color: var(--text-heading);
  border-color: var(--border);
  background: #fff;
}
.articles-filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.articles-filter-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,0.08);
  padding: 1px 7px;
  border-radius: 10px;
}
.articles-filter-btn.active .articles-filter-count {
  background: rgba(255,255,255,0.2);
}

/* Featured Article */
.articles-featured {
  padding: 48px 60px 0;
  background: var(--bg-light);
}
.articles-featured-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.articles-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: all 0.4s var(--ease-out);
}
.articles-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: transparent;
}
.articles-featured-img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.articles-featured-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.articles-featured-card:hover .articles-featured-thumb {
  transform: scale(1.04);
}
.articles-featured-img-placeholder {
  background: linear-gradient(135deg, #f0f2f5, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
}
.articles-featured-placeholder-icon {
  color: var(--text-light);
  opacity: 0.5;
}
.articles-featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.articles-featured-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.articles-featured-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.articles-featured-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.articles-featured-card:hover .articles-featured-title {
  color: var(--gold-dark);
}
.articles-featured-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.articles-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.articles-featured-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.articles-featured-author {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}
.articles-featured-date {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

/* Newsletter CTA */
.articles-newsletter {
  padding: 0 60px;
  background: var(--bg-light);
}
.articles-newsletter-inner {
  max-width: 1100px;
  margin: 40px auto 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.articles-newsletter-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(245,166,35,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.articles-newsletter-text {
  flex: 1;
}
.articles-newsletter-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.articles-newsletter-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.articles-newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.articles-newsletter-input {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  width: 240px;
  transition: all 0.3s;
}
.articles-newsletter-input::placeholder {
  color: rgba(255,255,255,0.35);
}
.articles-newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.articles-newsletter-btn {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  white-space: nowrap;
}
.articles-newsletter-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}

/* Articles Grid Section */
.articles-grid-section {
  padding: 48px 60px 80px;
  background: var(--bg-light);
}
.articles-grid-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Articles Hero Animations */
.articles-hero-orbs,
.articles-hero-particles,
.articles-hero .hero-orb,
.articles-hero .particle,
.articles-hero .el-hero-orbs,
.articles-hero .el-hero-particles {
  display: none !important;
}
@keyframes articlesFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Card Scroll Animations */
.card-animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.card-animate.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Featured image interactive parallax */
.articles-featured-img {
  overflow: hidden;
}
.articles-featured-thumb {
  will-change: transform;
}

/* Newsletter CTA animation */
.nl-animate {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.nl-animate.nl-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Newsletter shimmer stripe */
.articles-newsletter-inner {
  position: relative;
  overflow: hidden;
}
.articles-newsletter-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: nlShimmer 4s ease-in-out infinite;
}
@keyframes nlShimmer {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

/* Blog card hover glow */
.blog-card {
  position: relative;
}
.blog-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold), var(--green), var(--purple));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s;
}
.blog-card:hover::before {
  opacity: 0.12;
}

/* Featured card subtle glow */
.articles-featured-card {
  position: relative;
}
.articles-featured-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, var(--gold), var(--green));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s;
}
.articles-featured-card:hover::before {
  opacity: 0.1;
}

/* ===================== PHOTO FX — ANIMATED OVERLAYS ===================== */
.photo-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  overflow: hidden;
}

/* --- Scan Lines --- */
.fx-scanlines::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.06) 3px,
    rgba(255,255,255,0.06) 4px
  );
  animation: fxScanMove 8s linear infinite;
}
.fx-scanlines::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(245,166,35,0.06), transparent);
  animation: fxScanBeam 4s ease-in-out infinite;
}
@keyframes fxScanMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}
@keyframes fxScanBeam {
  0%, 100% { top: -60%; }
  50% { top: 100%; }
}

/* --- Gradient Sweep --- */
.fx-gradient-sweep::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(245,166,35,0.15) 25%,
    transparent 50%,
    rgba(34,197,94,0.12) 75%,
    transparent 100%
  );
  background-size: 300% 300%;
  animation: fxGradientSweep 6s ease-in-out infinite;
}
@keyframes fxGradientSweep {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

/* --- Corner Accents --- */
.fx-corner-accents span {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: rgba(245,166,35,0.7);
  border-style: solid;
  border-width: 0;
  opacity: 0;
  animation: fxCornerFade 3s ease-in-out infinite;
}
.corner-tl { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; border-radius: 2px 0 0 0; }
.corner-tr { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; border-radius: 0 2px 0 0; animation-delay: 0.5s !important; }
.corner-bl { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 2px; animation-delay: 1s !important; }
.corner-br { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 2px 0; animation-delay: 1.5s !important; }
@keyframes fxCornerFade {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1); }
}

/* --- Light Leak --- */
.fx-light-leak::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -80%;
  background: radial-gradient(ellipse, rgba(245,166,35,0.18) 0%, transparent 55%);
  animation: fxLightLeak 7s ease-in-out infinite;
}
.fx-light-leak::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  bottom: -40%;
  right: -60%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 45%);
  animation: fxLightLeak2 9s ease-in-out infinite;
}
@keyframes fxLightLeak {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  33% { transform: translate(30%, 10%); opacity: 1; }
  66% { transform: translate(10%, -15%); opacity: 0.4; }
}
@keyframes fxLightLeak2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.4; }
  50% { transform: translate(-20%, -10%); opacity: 0.8; }
}

/* --- Diagonal Wipe --- */
.fx-diagonal-wipe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -45deg,
    transparent 40%,
    rgba(255,255,255,0.08) 50%,
    transparent 60%
  );
  background-size: 300% 300%;
  animation: fxDiagonalWipe 5s ease-in-out infinite;
}
@keyframes fxDiagonalWipe {
  0% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* --- Glow Ring --- */
.glow-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(245,166,35,0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  animation: fxGlowRing 4s ease-out infinite;
}
.glow-circle-2 {
  animation-delay: 2s;
  border-color: rgba(34,197,94,0.2);
}
@keyframes fxGlowRing {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* --- Floating Shapes --- */
.float-shape {
  position: absolute;
  opacity: 0.2;
  animation: fxFloatShape ease-in-out infinite;
}
.float-shape-circle {
  border-radius: 50%;
  border: 1.5px solid var(--gold);
}
.float-shape-square {
  border-radius: 3px;
  border: 1.5px solid rgba(34,197,94,0.4);
  transform: rotate(45deg);
}
@keyframes fxFloatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
  25% { transform: translateY(-15px) rotate(45deg); opacity: 0.18; }
  50% { transform: translateY(-8px) rotate(90deg); opacity: 0.12; }
  75% { transform: translateY(-20px) rotate(135deg); opacity: 0.16; }
}

/* --- Noise Grain --- */
.fx-noise-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  animation: fxNoiseShift 0.5s steps(3) infinite;
  mix-blend-mode: overlay;
}
@keyframes fxNoiseShift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2px, 1px); }
  66% { transform: translate(1px, -1px); }
  100% { transform: translate(0, 0); }
}

/* Blog hero image parallax — overflow handled in main rule above */

/* Placeholder cards (no thumbnail) */
.blog-card-thumb-placeholder {
  background: linear-gradient(135deg, #f0f2f5, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
}
.blog-card-placeholder-icon {
  color: var(--text-light);
  opacity: 0.4;
}

/* ===================== BLOG — RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero-title { font-size: 36px; }
  .blog-archive-title { font-size: 36px; }
  .articles-hero-title { font-size: 40px; }
  .articles-featured-card { grid-template-columns: 1fr; }
  .articles-featured-body { padding: 28px; }
  .articles-featured-title { font-size: 22px; }
  .articles-newsletter-inner { flex-direction: column; text-align: center; }
  .articles-newsletter-form { width: 100%; justify-content: center; }
  .articles-filters-inner { padding: 16px 30px; }
}
@media (max-width: 768px) {
  .articles-hero { padding: 100px 24px 48px; }
  .articles-hero-title { font-size: 32px; }
  .articles-hero-desc { font-size: 16px; }
  .articles-filters-inner { padding: 12px 24px; gap: 6px; }
  .articles-filter-btn { font-size: 12px; padding: 6px 14px; }
  .articles-featured { padding: 32px 24px 0; }
  .articles-featured-body { padding: 24px; }
  .articles-featured-title { font-size: 20px; }
  .articles-newsletter { padding: 0 24px; }
  .articles-newsletter-inner { padding: 28px 24px; gap: 20px; }
  .articles-newsletter-icon { display: none; }
  .articles-newsletter-form { flex-direction: column; }
  .articles-newsletter-input { width: 100%; }
  .articles-grid-section { padding: 32px 24px 60px; }
  .blog-hero { padding: 100px 24px 48px; }
  .blog-hero-title { font-size: 28px; }
  .blog-hero-excerpt { font-size: 16px; }
  .blog-featured-image { padding: 0 24px; }
  .blog-content { padding: 40px 24px 60px; }
  .blog-content-inner { font-size: 16px; }
  .blog-content-inner h2 { font-size: 24px; }
  .blog-content-inner h3 { font-size: 20px; }
  .blog-content-inner blockquote { padding: 20px; font-size: 16px; }
  .blog-tags { padding: 0 24px 32px; }
  .blog-post-nav { padding: 0 24px; }
  .blog-post-nav-inner { grid-template-columns: 1fr; }
  .blog-post-nav-next { text-align: left; }
  .blog-related { padding: 60px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-archive-hero { padding: 120px 24px 48px; }
  .blog-archive-title { font-size: 28px; }
  .blog-archive-content { padding: 40px 24px 60px; }
}

/* ===================== ANIMATION KEYFRAMES ===================== */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .nav { padding: 0 30px; }
  .nav-links { display: none; }
  .nav-menu-container { display: none; }
  .section { padding: 80px 30px; }
  .container { padding: 0 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 32px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .section { padding: 60px 24px; }
  .container { padding: 0 24px; }
  .section-title { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .final-cta { padding: 80px 24px; }
  .final-cta h2 { font-size: 32px; }
  .final-cta-buttons { flex-direction: column; align-items: center; }
  .footer { padding: 48px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===================== ELEMENTOR OVERRIDES ===================== */

/* Force Inter font everywhere — suppress Elementor's Roboto */
.elementor *,
.elementor h1, .elementor h2, .elementor h3, .elementor h4, .elementor h5, .elementor h6,
.elementor p, .elementor a, .elementor span, .elementor div,
.elementor .elementor-heading-title,
.elementor .elementor-widget-text-editor {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Fix line-height on all large headings to prevent overlap on multi-line titles */
.elementor h1,
.elementor h2,
.elementor .elementor-heading-title,
.section-title,
.final-cta .section-title {
  line-height: 1.2 !important;
}

/* Remove Elementor's default section padding — we control spacing via Elementor settings */
.elementor-section.elementor-top-section {
  padding: 0;
}
/* Let Elementor container be wider — our inner HTML handles max-width */
.elementor-section .elementor-container {
  max-width: 100%;
}
/* Remove Elementor widget bottom margin */
.elementor-widget:not(:last-child) {
  margin-bottom: 0;
}
/* Kill inter-section spacing */
.elementor-section-wrap > .elementor-section + .elementor-section {
  margin-top: 0;
}

/* ===== HERO — orbs, particles, positioning ===== */
.elementor-top-section:first-child {
  position: relative;
  overflow: hidden;
}
.elementor-top-section:first-child > .elementor-container {
  position: relative;
  z-index: 1;
}
.el-hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.el-hero-orbs .hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: orbFloat 20s ease-in-out infinite; }
.el-hero-orbs .hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%); top: -200px; right: -100px; }
.el-hero-orbs .hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%); bottom: -100px; left: -100px; animation-delay: -7s; }
.el-hero-orbs .hero-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%); top: 50%; left: 40%; animation-delay: -14s; }
.el-hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* ===== TWO PATHS ===== */
.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.path-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e5e7eb;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.path-card:hover::before { transform: scaleX(1); }
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: transparent;
}
.path-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.path-icon.traders { background: #eef1f5; }
.path-icon.companies { background: #fef3c7; }
.path-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: #1e2a35; }
.path-card p { font-size: 15px; line-height: 1.6; color: #6b7280; margin-bottom: 20px; }
.path-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.path-link:hover { gap: 10px; }

/* ===== HOW IT WORKS STEPS ===== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 14px;
  padding: 28px 16px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  border-color: var(--gold);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: #1e2a35;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.step-card:hover .step-num { background: var(--gold); }
.step-card h4 { font-size: 14px; font-weight: 700; color: #1e2a35; margin-bottom: 6px; }
.step-card p { font-size: 12px; color: #6b7280; line-height: 1.5; }

/* ===== LOI VERIFICATION FEATURE ===== */
.loi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}
.loi-visual {
  background: #1e2a35;
  border-radius: 16px;
  padding: 28px;
  position: relative;
}
.loi-doc {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.loi-doc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.loi-doc-title { font-size: 13px; font-weight: 700; color: #1e2a35; }
.loi-doc-badge { font-size: 10px; font-weight: 700; background: #dcfce7; color: #166534; padding: 3px 10px; border-radius: 100px; }
.loi-doc-line {
  height: 8px;
  border-radius: 4px;
  background: #f0f0f0;
  margin-bottom: 6px;
}
.loi-checks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.loi-check {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.loi-check-icon { font-size: 14px; }
.loi-check-text { font-size: 10px; color: rgba(255,255,255,0.8); font-weight: 500; }
.loi-features-list { display: flex; flex-direction: column; gap: 20px; }
.loi-feature-item { display: flex; gap: 16px; }
.loi-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.loi-feature-item h4 { font-size: 16px; font-weight: 700; color: #1e2a35; margin-bottom: 4px; }
.loi-feature-item p { font-size: 14px; color: #6b7280; line-height: 1.5; }

/* ===== WHITE-LABEL CLIENTS ===== */
.clients-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}
.client-logo {
  padding: 20px 40px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.client-logo:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.client-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #1e2a35;
  letter-spacing: -0.5px;
}

/* ===== CTA SECTION — radial glow ===== */
.elementor-top-section:last-child {
  position: relative;
  overflow: hidden;
}
.elementor-top-section:last-child::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 50%);
  border-radius: 50%;
  animation: orbFloat 20s ease-in-out infinite;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr !important; gap: 40px !important; padding: 0 30px !important; }
  .paths-grid { grid-template-columns: 1fr; }
  .loi-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .steps-row::before { display: none; }
  .clients-row { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 768px) {
  .hero-content { padding: 0 24px !important; }
  .hero-content h1 { font-size: 36px !important; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .clients-row { flex-direction: column; }
  .container { padding: 0 24px !important; }
}

/* ===================== AUTHOR BOX (E-E-A-T) ===================== */
.blog-author-box {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 0 24px;
}
.blog-author-box-inner {
  display: flex;
  gap: 24px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
}
.blog-author-box-avatar {
  flex-shrink: 0;
}
.blog-author-box-avatar .author-box-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.blog-author-box-info {
  flex: 1;
  min-width: 0;
}
.blog-author-box-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #94a3b8;
  display: block;
  margin-bottom: 4px;
}
.blog-author-box-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.3;
}
.blog-author-box-name a {
  color: inherit;
  text-decoration: none;
}
.blog-author-box-name a:hover {
  color: var(--gold);
}
.blog-author-box-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-dark, #d4910a);
  margin-bottom: 2px;
}
.blog-author-box-location {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}
.blog-author-box-bio {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 12px;
}
.blog-author-box-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.author-expertise-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  padding: 4px 12px;
  white-space: nowrap;
}
.blog-author-box-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.blog-author-box-link:hover {
  color: var(--gold);
}

/* Last Updated */
.blog-last-updated {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 0 24px;
}
.blog-last-updated-inner {
  font-size: 13px;
  color: #94a3b8;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

/* Mobile author box */
@media (max-width: 600px) {
  .blog-author-box-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
  }
  .blog-author-box-expertise {
    justify-content: center;
  }
  .blog-author-box-link {
    display: block;
    text-align: center;
  }
}

/* ===================== COMMENTS SECTION ===================== */
.blog-comments-wrap {
  background: #fff;
  padding: 0 60px;
}
.blog-comments-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
}
.trados-comments-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy, #1e2a35);
  margin-bottom: 32px;
}
.trados-comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.trados-comment {
  margin-bottom: 24px;
}
.trados-comment-body {
  background: #f8fafc;
  border-radius: 10px;
  padding: 20px 24px;
  border: 1px solid #f1f5f9;
}
.trados-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.trados-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.trados-comment-author {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #1e2a35);
}
.trados-comment-date {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}
.trados-comment-content {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}
.trados-comment-content p {
  margin: 0;
}
.trados-comment-reply {
  margin-top: 10px;
}
.trados-comment-reply a {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark, #d4911c);
  text-decoration: none;
  transition: color 0.2s;
}
.trados-comment-reply a:hover {
  color: var(--navy, #1e2a35);
}
/* Nested replies */
.trados-comment .children {
  list-style: none;
  padding-left: 28px;
  margin-top: 16px;
}
.trados-comment .children .trados-comment-body {
  background: #fff;
  border-color: #e2e8f0;
}
/* Comment Form */
.trados-comment-note {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 20px;
}
.trados-comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #1e2a35);
  margin-bottom: 6px;
}
.trados-comment-form input[type="text"],
.trados-comment-form input[type="email"],
.trados-comment-form input[type="url"],
.trados-comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: Inter, sans-serif;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--navy, #1e2a35);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}
.trados-comment-form input:focus,
.trados-comment-form textarea:focus {
  border-color: #f5a623;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}
.trados-comment-form textarea {
  min-height: 120px;
  resize: vertical;
}
.trados-comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: Inter, sans-serif;
  color: #fff;
  background: var(--navy, #1e2a35);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.trados-comment-submit:hover {
  background: var(--gold-dark, #d4911c);
}
#reply-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy, #1e2a35);
  margin-bottom: 20px;
}
.logged-in-as {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}
.logged-in-as a {
  color: var(--gold-dark, #d4911c);
}
@media (max-width: 767px) {
  .blog-comments-wrap {
    padding: 0 20px;
  }
  .trados-comment-body {
    padding: 16px;
  }
  .trados-comment .children {
    padding-left: 16px;
  }
}

/* ===================== HIDE SEARCH FROM HEADER ===================== */
.elementor-location-header .elementor-widget-search {
  display: none !important;
}

/* ===================== FLOATING SEARCH BUTTON + OVERLAY ===================== */
.trados-search-trigger {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 99999;
  height: 36px;
  padding: 0 14px 0 10px;
  border-radius: 20px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.trados-search-trigger:hover {
  background: rgba(255,255,255,0.1);
  border-color: #f5a623;
}
.trados-search-trigger svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}
.trados-search-label {
  color: #fff;
  font-size: 13px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}
.trados-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(30, 42, 53, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
}
.trados-search-overlay.active {
  display: flex;
}
.trados-search-box {
  width: 90%;
  max-width: 600px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: trados-search-in 0.25s ease;
}
@keyframes trados-search-in {
  from { opacity: 0; transform: translateY(-20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.trados-search-box form {
  display: flex;
  align-items: center;
}
.trados-search-box input[type="search"] {
  flex: 1;
  height: 56px;
  padding: 0 20px;
  font-size: 18px;
  font-family: Inter, sans-serif;
  color: #1e2a35;
  border: none;
  outline: none;
  background: transparent;
}
.trados-search-box input[type="search"]::placeholder {
  color: #a0aec0;
}
.trados-search-box button[type="submit"] {
  height: 56px;
  width: 56px;
  min-width: 56px;
  background: #1e2a35;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.trados-search-box button[type="submit"]:hover {
  background: #f5a623;
}
.trados-search-box button[type="submit"] svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.trados-search-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.trados-search-close:hover {
  opacity: 1;
}
/* ===================== MOBILE HEADER FIX ===================== */

/*
 * Problem: On mobile (<1024px), the site logo (984x546px) renders at full viewport
 * width because Elementor's responsive image sizing uses 100vw. The nav menu toggle
 * (hamburger) floats awkwardly, and the Log In / Get Started buttons stack oddly.
 *
 * Fix: Constrain the logo, fix the hamburger, hide/adjust action buttons on mobile.
 */

/* --- Constrain logo in header on ALL screen sizes --- */
.elementor-location-header .custom-logo,
.elementor-location-header .elementor-widget-theme-site-logo img {
  max-height: 44px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
}

/* --- Tablet & Mobile: 1024px and below --- */
@media (max-width: 1024px) {

  /* Fix the Elementor header section layout */
  .elementor-location-header .elementor-top-section {
    height: var(--nav-height) !important;
    min-height: var(--nav-height) !important;
    max-height: var(--nav-height) !important;
  }

  /* Ensure the header container is flex and aligned */
  .elementor-location-header .elementor-container {
    display: flex !important;
    align-items: center !important;
    height: var(--nav-height) !important;
    min-height: var(--nav-height) !important;
    max-height: var(--nav-height) !important;
    padding: 0 16px !important;
  }

  /* Logo column — shrink to content */
  .elementor-location-header .elementor-container > .elementor-column:first-child {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }

  /* Logo sizing for tablet/mobile */
  .elementor-location-header .custom-logo,
  .elementor-location-header .elementor-widget-theme-site-logo img {
    max-height: 38px !important;
    max-width: 140px !important;
  }

  /* Nav menu column — take remaining space */
  .elementor-location-header .elementor-container > .elementor-column:nth-child(2) {
    flex: 1 1 auto !important;
    width: auto !important;
  }

  /* Actions column (Login/Get Started) — auto width */
  .elementor-location-header .elementor-container > .elementor-column:last-child {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  /* Elementor nav menu hamburger toggle — make it look good */
  .elementor-location-header .elementor-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 8px !important;
    background: var(--navy) !important;
    border-radius: 8px !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    cursor: pointer !important;
  }

  .elementor-location-header .elementor-menu-toggle svg {
    fill: #fff !important;
    width: 22px !important;
    height: 22px !important;
  }

  .elementor-location-header .elementor-menu-toggle i {
    color: #fff !important;
    font-size: 20px !important;
  }

  /* Mobile dropdown nav styling */
  .elementor-location-header .elementor-nav-menu--dropdown {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    margin-top: 8px !important;
    padding: 8px !important;
    position: absolute !important;
    top: 100% !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
  }

  .elementor-location-header .elementor-nav-menu--dropdown li a {
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--navy) !important;
    border-radius: 8px !important;
  }

  .elementor-location-header .elementor-nav-menu--dropdown li a:hover {
    background: #f7f8fa !important;
    color: var(--gold) !important;
  }

  /* Search trigger — move inside header area on mobile */
  .trados-search-trigger {
    top: 18px !important;
    right: 70px !important;
    border-color: rgba(0,0,0,0.15) !important;
  }

  .trados-search-trigger svg {
    fill: var(--navy) !important;
  }

  .trados-search-label {
    color: var(--navy) !important;
  }

  /* Admin bar offset for search trigger */
  .admin-bar .trados-search-trigger {
    top: 64px !important;
  }
}

/* --- Phone: 768px and below --- */
@media (max-width: 768px) {

  :root {
    --nav-height: 64px;
  }

  .elementor-location-header .elementor-container {
    padding: 0 12px !important;
  }

  /* Smaller logo on phone */
  .elementor-location-header .custom-logo,
  .elementor-location-header .elementor-widget-theme-site-logo img {
    max-height: 32px !important;
    max-width: 120px !important;
  }

  /* Hide "Log In" text button on small screens — keep only Get Started */
  .elementor-location-header .elementor-container > .elementor-column:last-child .elementor-button.elementor-size-sm:not([style*="background"]),
  .elementor-location-header .btn-ghost {
    display: none !important;
  }

  /* Make Get Started button smaller on mobile */
  .elementor-location-header .elementor-button {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  /* Search trigger — slim it down */
  .trados-search-trigger {
    top: 14px !important;
    right: 56px !important;
    height: 32px !important;
    padding: 0 10px 0 8px !important;
  }

  .trados-search-trigger svg {
    width: 13px !important;
    height: 13px !important;
  }

  .trados-search-label {
    font-size: 11px !important;
  }

  /* Admin bar offset */
  .admin-bar .trados-search-trigger {
    top: 60px !important;
  }

  /* Fix hero section not getting pushed down enough */
  body:not(.home) main > .elementor > .elementor-top-section:first-child {
    height: calc(300px + var(--nav-height)) !important;
    min-height: calc(300px + var(--nav-height)) !important;
    max-height: calc(300px + var(--nav-height)) !important;
  }

  body:not(.home) main > .elementor > .elementor-top-section:first-child .elementor-heading-title {
    font-size: 32px !important;
  }

  /* Homepage hero: ensure content doesn't overlap header */
  body.home main > .elementor > .elementor-top-section:first-child {
    padding-top: var(--nav-height) !important;
  }
}

/* --- Very small phones: 480px and below --- */
@media (max-width: 480px) {

  .elementor-location-header .custom-logo,
  .elementor-location-header .elementor-widget-theme-site-logo img {
    max-height: 28px !important;
    max-width: 100px !important;
  }

  /* Hide search label, keep just icon */
  .trados-search-label {
    display: none !important;
  }

  .trados-search-trigger {
    right: 50px !important;
    padding: 0 8px !important;
  }
}

/* ===================== FOOTER — MOBILE FIX ===================== */

/*
 * Problem: Elementor nav-menu widgets in the footer collapse into hamburger
 * toggles on mobile. They should remain as vertical link lists.
 * Also: footer logo is too large, columns need to stack properly.
 */

/* Force footer nav menus to ALWAYS show as vertical lists, never hamburger */
.elementor-location-footer .elementor-widget-nav-menu .elementor-menu-toggle {
  display: none !important;
}

.elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu--main,
.elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu {
  display: flex !important;
  flex-direction: column !important;
}

.elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu--main ul,
.elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu {
  display: flex !important;
  flex-direction: column !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu li a {
  color: rgba(255,255,255,0.5) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  padding: 5px 0 !important;
  display: block !important;
  text-decoration: none !important;
  background: none !important;
}

.elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu li a:hover {
  color: rgba(255,255,255,0.8) !important;
}

/* Hide the dropdown container that Elementor creates for mobile */
.elementor-location-footer .elementor-nav-menu--dropdown {
  display: none !important;
}

/* Make sure the main nav is always visible in footer */
.elementor-location-footer .elementor-nav-menu--main {
  display: flex !important;
}

/* Footer layout on mobile */
@media (max-width: 1024px) {
  .elementor-location-footer .elementor-top-section > .elementor-container {
    flex-wrap: wrap !important;
  }

  /* Logo column — full width on top */
  .elementor-location-footer .elementor-top-section > .elementor-container > .elementor-column:first-child {
    width: 100% !important;
    margin-bottom: 32px !important;
    text-align: center !important;
  }

  /* Footer logo size */
  .elementor-location-footer .elementor-widget-image img {
    max-width: 200px !important;
    margin: 0 auto !important;
  }

  /* Link columns — 3 across */
  .elementor-location-footer .elementor-top-section > .elementor-container > .elementor-column:not(:first-child) {
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
  }
}

@media (max-width: 768px) {
  .elementor-location-footer .elementor-top-section {
    padding: 40px 24px !important;
  }

  /* Footer logo — smaller on phone */
  .elementor-location-footer .elementor-widget-image img {
    max-width: 160px !important;
  }

  /* Link columns — still 3 across on phone */
  .elementor-location-footer .elementor-top-section > .elementor-container > .elementor-column:not(:first-child) {
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
    padding: 0 8px !important;
  }

  /* Section headings */
  .elementor-location-footer h4.elementor-heading-title {
    font-size: 11px !important;
    margin-bottom: 12px !important;
  }

  .elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu li a {
    font-size: 13px !important;
    padding: 4px 0 !important;
  }

  /* Bottom bar */
  .elementor-location-footer .elementor-top-section:last-child {
    padding: 16px 24px !important;
  }

  .elementor-location-footer .elementor-top-section:last-child .elementor-text-editor {
    font-size: 12px !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  /* Stack footer columns vertically on very small screens */
  .elementor-location-footer .elementor-top-section > .elementor-container > .elementor-column:not(:first-child) {
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-bottom: 24px !important;
    text-align: center !important;
  }

  .elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu {
    align-items: center !important;
  }
}
