/*
Theme Name: ForexAbad Trading Portal Standalone
Theme URI: https://forexabad.com
Description: Institutional Currency Intelligence & Financial Operating Portal for ForexAbad. Ultra-fast, 100% full-width responsive light color theme with instant-loading economic calendar, live interbank tickers, interactive calculators, and full Google AdSense & Core Web Vitals compliance.
Author: ForexAbad Engineering Desk
Author URI: https://forexabad.com
Version: 2.2.0
License: GNU General Public License v2 or later
Text Domain: forexabad-trading-portal
*/

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #f0f9ff;
  --primary-border: #bae6fd;
  
  --accent: #059669;
  --accent-light: #ecfdf5;
  --accent-gold: #d97706;
  --accent-danger: #ef4444;
  
  --bg-page: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  
  --border: #e2e8f0;
  --border-focus: #cbd5e1;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 14px 28px -5px rgba(15, 23, 42, 0.08);

  --container-max: 1560px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
  text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--primary-hover); text-decoration: underline; }

/* Full-Width Fluid Container */
.fx-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .fx-container { padding: 0 16px; }
}

/* ==========================================================================
   TOP LIVE BAR
   ========================================================================== */
.fx-top-bar {
  background: #ffffff;
  color: var(--text-muted);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.fx-top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.fx-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 11.5px;
  border: 1px solid #a7f3d0;
}
.fx-status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
  animation: fx-pulse 2s infinite;
}
@keyframes fx-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.fx-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.fx-nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.fx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.5px;
  color: var(--text-main) !important;
  text-decoration: none !important;
}
.fx-brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0284c7 0%, #059669 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 19px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}
.fx-brand span { color: var(--primary); }

.fx-nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.fx-nav-menu a {
  color: var(--text-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.fx-nav-menu a:hover, .fx-nav-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}
.fx-btn-calendar {
  background: #0284c7 !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  font-weight: 600 !important;
}
.fx-btn-calendar:hover {
  background: #0369a1 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  text-decoration: none !important;
}

/* Mobile Toggle & Menu */
.fx-mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
}
.fx-mobile-menu {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.fx-mobile-menu.open { display: block; }
.fx-mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fx-mobile-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-main);
  font-weight: 600;
  border-radius: 6px;
}
.fx-mobile-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 992px) {
  .fx-nav-menu { display: none; }
  .fx-mobile-toggle { display: block; }
}

/* ==========================================================================
   HOMEPAGE HERO SECTION (FULL WIDTH RESPONSIVE LIGHT UI)
   ========================================================================== */
.fx-hero {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  color: var(--text-main);
  padding: 60px 0 50px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.fx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}
.fx-hero h1 {
  font-size: 46px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text-main);
  max-width: 900px;
}
.fx-hero h1 span {
  background: linear-gradient(90deg, #0284c7 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fx-hero p {
  color: #475569;
  font-size: 18px;
  max-width: 780px;
  margin-bottom: 30px;
  line-height: 1.65;
}
.fx-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}
.fx-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 45px;
}
.fx-hero-text {
  min-width: 0;
}
.fx-hero-profile {
  display: flex;
  justify-content: center;
  align-items: center;
}
.fx-profile-card {
  position: relative;
  text-align: center;
  max-width: 360px;
  width: 100%;
}
.fx-profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
}
.fx-profile-avatar-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 290px;
  height: 290px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(5, 150, 105, 0.08) 50%, rgba(255, 255, 255, 0) 75%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.fx-profile-img {
  position: relative;
  z-index: 1;
  max-width: 310px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.12));
  transition: transform 0.3s ease;
}
.fx-profile-img:hover {
  transform: translateY(-4px) scale(1.02);
}
.fx-profile-verified {
  position: absolute;
  bottom: 8px;
  right: 12px;
  z-index: 2;
  background: #059669;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35);
  border: 2px solid #ffffff;
}
.fx-profile-name {
  font-size: 22px;
  font-weight: 850;
  color: var(--text-main);
  margin: 0 0 4px;
}
.fx-profile-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 10px;
}
.fx-profile-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.fx-ptag {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

@media (max-width: 992px) {
  .fx-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .fx-hero h1 {
    font-size: 34px;
    margin-left: auto;
    margin-right: auto;
  }
  .fx-hero p {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }
  .fx-hero-btns {
    justify-content: center;
  }
  .fx-profile-img {
    max-width: 250px;
  }
  .fx-profile-avatar-wrap::before {
    width: 240px;
    height: 240px;
  }
}
.fx-btn-primary {
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fx-btn-primary:hover {
  background: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  text-decoration: none;
}
.fx-btn-secondary {
  background: #ffffff;
  color: var(--text-main) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fx-btn-secondary:hover {
  background: var(--surface-alt);
  border-color: #cbd5e1;
  text-decoration: none;
}

.fx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.fx-stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fx-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.fx-stat-num {
  font-size: 32px;
  font-weight: 850;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.fx-stat-label {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   CATEGORY BAR & ARTICLE CARDS
   ========================================================================== */
.fx-cat-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: 35px;
  position: sticky;
  top: 72px;
  z-index: 900;
}
.fx-cat-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}
.fx-cat-scroll::-webkit-scrollbar { display: none; }
.fx-cat-pill {
  white-space: nowrap;
  background: var(--surface-alt);
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.fx-cat-pill:hover, .fx-cat-pill.active {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  text-decoration: none;
}

.fx-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}
.fx-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}
.fx-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.fx-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 750;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--primary-border);
}
.fx-read-time {
  font-size: 12.5px;
  color: var(--text-muted);
}
.fx-card-title {
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
  margin-bottom: 12px;
}
.fx-card-title a {
  color: var(--text-main);
  transition: color 0.18s ease;
}
.fx-card-title a:hover {
  color: var(--primary);
  text-decoration: none;
}
.fx-card-excerpt {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.fx-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.fx-read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   ECONOMIC CALENDAR SPECIFIC STYLES (FULL-WIDTH, INSTANT LOAD)
   ========================================================================== */
.fx-calendar-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  color: #0f172a;
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 34px 28px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.06);
}
.fx-calendar-title {
  color: #0f172a;
  font-size: 34px;
  font-weight: 850;
  margin: 10px 0 10px;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
.fx-calendar-subtitle {
  color: #475569;
  font-size: 16px;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.65;
}

.fx-ticker-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.fx-ticker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}
.fx-ticker-title {
  font-size: 15px;
  font-weight: 750;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fx-live-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.fx-ticker-tag {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Split Dual-Desk: Economic Calendar & Fundamental Signals Desk */
.fx-split-desk-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 35px;
}
@media (max-width: 1100px) {
  .fx-split-desk-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.fx-desk-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.fx-calendar-card,
.fx-signals-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.fx-signals-gauge-wrap,
.fx-signals-quotes-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
}
.fx-cal-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.fx-engine-switcher {
  display: inline-flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.fx-engine-btn {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 650;
  color: #475569;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fx-engine-btn.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

@keyframes fxPulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Educational Cards Below Calendar */
.fx-calendar-bottom-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 35px;
}
.fx-guide-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.fx-guide-heading {
  font-size: 18px;
  font-weight: 750;
  color: var(--text-main);
  margin-top: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fx-guide-list {
  padding-left: 20px;
  margin: 0;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.75;
}

/* ==========================================================================
   ARTICLE SINGLE LAYOUT & TYPOGRAPHY
   ========================================================================== */
.fx-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
}
@media (max-width: 1024px) {
  .fx-article-layout { grid-template-columns: 1fr; }
}

.fx-article-main {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.fx-article-header h1 {
  font-size: 36px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.8px;
  color: var(--text-main);
  margin-bottom: 20px;
}
.fx-article-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
}
.fx-article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.fx-article-body h3 {
  font-size: 20px;
  font-weight: 750;
  color: var(--text-main);
  margin: 28px 0 12px;
}
.fx-article-body p { margin-bottom: 20px; }
.fx-article-body ul, .fx-article-body ol {
  margin-bottom: 22px;
  padding-left: 24px;
}
.fx-article-body li { margin-bottom: 8px; }
.fx-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 14.5px;
}
.fx-article-body th, .fx-article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.fx-article-body th {
  background: var(--surface-alt);
  font-weight: 750;
  color: var(--text-main);
}

.fx-author-box {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.fx-btn-back {
  background: var(--surface-alt);
  color: var(--text-main);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 13.5px;
  border: 1px solid var(--border);
}
.fx-btn-back:hover {
  background: #e2e8f0;
  text-decoration: none;
}

/* Sidebar Widgets */
.fx-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fx-widget {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.fx-widget-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}

/* ==========================================================================
   GOOGLE ADSENSE POLICY-COMPLIANT SLOTS
   ========================================================================== */
.fx-ad-slot {
  width: 100%;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.fx-ad-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  user-select: none;
}
.fx-ad-placeholder {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.fx-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  color: #475569;
}
.fx-disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 40px;
  font-size: 13px;
  line-height: 1.65;
  color: #92400e;
}
.fx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 992px) {
  .fx-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fx-footer-grid { grid-template-columns: 1fr; }
}
.fx-footer-grid h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}
.fx-footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fx-footer-grid a {
  color: #475569;
  font-size: 14px;
  transition: color 0.18s ease;
}
.fx-footer-grid a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.fx-copyright {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (ALL WEBSITES & ALL DEVICES COMPLIANCE)
   ========================================================================== */
@media (max-width: 768px) {
  .fx-hero { padding: 40px 0 35px; }
  .fx-hero h1 { font-size: 32px; letter-spacing: -0.5px; }
  .fx-hero p { font-size: 16px; }
  .fx-calendar-title { font-size: 26px; }
  .fx-article-header h1 { font-size: 28px; }
  .fx-article-main { padding: 24px 18px; }
  .fx-cal-header-flex { flex-direction: column; }
  .fx-engine-switcher { width: 100%; display: flex; }
  .fx-engine-btn { flex: 1; text-align: center; }
}
