*{box-sizing:border-box}
:root{
--primary:#1769e8;
--primary2:#0d47a1;
--dark:#081426;
--text:#172033;
--muted:#64748b;
--bg:#f5f8fc;
--card:#fff;
--border:#e5eaf1;
--success:#16a34a;
--warning:#f59e0b;
--danger:#dc2626;
--shadow:0 10px 35px rgba(15,35,70,.08)
}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
html.dark body{--bg:#07101f;--card:#0e1a2c;--text:#edf4ff;--muted:#9eacc0;--border:#203149;--shadow:0 10px 35px rgba(0,0,0,.25)}
a{color:inherit}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(15px);border-bottom:1px solid var(--border)}
.dark .site-header{background:rgba(7,16,31,.96)}
.header-inner{max-width:1400px;margin:auto;min-height:74px;padding:0 28px;display:flex;align-items:center;gap:25px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:22px;font-weight:900;white-space:nowrap}
.brand-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#1769e8,#4facfe);color:#fff;display:grid;place-items:center;font-size:21px;font-weight:900;box-shadow:0 7px 18px rgba(23,105,232,.25)}
.brand-blue{color:var(--primary)}
.main-nav{display:flex;align-items:center;gap:20px;margin-left:auto}
.main-nav a{text-decoration:none;font-size:14px;font-weight:700;color:var(--text);opacity:.88}
.main-nav a:hover{color:var(--primary);opacity:1}
.header-actions{display:flex;gap:8px}
.icon-btn,.mobile-toggle{border:1px solid var(--border);background:var(--card);color:var(--text);width:40px;height:40px;border-radius:10px;cursor:pointer;font-size:19px}
.mobile-toggle{display:none}
.search-panel{display:none;border-top:1px solid var(--border);padding:14px 25px}
.search-panel.active{display:block}
.search-box{max-width:900px;margin:auto;display:flex;gap:10px}
.search-box input{flex:1;padding:13px 16px;border:1px solid var(--border);border-radius:10px;background:var(--card);color:var(--text);font-size:15px}
.search-box button,.btn{border:0;border-radius:10px;background:var(--primary);color:#fff;padding:12px 20px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-block}
main{min-height:500px}
.hero{background:linear-gradient(135deg,#061a38 0%,#0c4da8 55%,#1c91ee 100%);color:#fff;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:500px;height:500px;border-radius:50%;right:-150px;top:-180px;background:rgba(255,255,255,.08)}
.hero-inner{max-width:1400px;margin:auto;padding:100px 28px 115px;position:relative;z-index:2}
.eyebrow{font-size:12px;letter-spacing:3px;font-weight:900;color:#a9d5ff}
.hero h1{font-size:clamp(45px,7vw,82px);line-height:1.02;margin:15px 0 20px;max-width:850px}
.hero p{font-size:19px;color:#dcecff;max-width:720px;margin:0 0 28px}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}
.btn-light{background:#fff;color:#0759bd}
.btn-outline{border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.08)}
.container{max-width:1400px;margin:auto;padding:65px 28px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}
.section-head h2{margin:0;font-size:30px}
.section-head p{margin:4px 0 0;color:var(--muted)}
.view-all{color:var(--primary);font-weight:800;text-decoration:none}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stat-card,.data-card,.feature-card,.country-card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:25px;box-shadow:var(--shadow)}
.stat-icon{font-size:27px;margin-bottom:12px}
.stat-value{font-size:30px;font-weight:900}
.stat-label{color:var(--muted);font-size:14px}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.feature-card{min-height:190px;transition:.2s}
.feature-card:hover,.data-card:hover,.country-card:hover{transform:translateY(-4px)}
.feature-icon{font-size:34px;margin-bottom:15px}
.feature-card h3,.data-card h3{margin:0 0 8px;font-size:20px}
.feature-card p,.data-card p{margin:0;color:var(--muted)}
.card-link{display:inline-block;margin-top:18px;color:var(--primary);font-weight:800;text-decoration:none}
.tourism-card{background:linear-gradient(145deg,#0c3f83,#1488e5);color:#fff}
.tourism-card p{color:#d8ebff}
.rank-list{display:grid;gap:12px}
.rank-row{display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:14px;padding:16px;background:var(--card);border:1px solid var(--border);border-radius:13px}
.rank-no{font-size:20px;font-weight:900;color:var(--primary)}
.rank-name{font-weight:800}
.rank-value{font-weight:900}
.mini-bar{height:7px;background:#e7edf5;border-radius:99px;margin-top:7px;overflow:hidden}
.dark .mini-bar{background:#203149}
.mini-bar span{display:block;height:100%;background:linear-gradient(90deg,#1769e8,#42a5f5);border-radius:99px}
.country-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.country-card{display:block;text-decoration:none}
.flag{font-size:34px;margin-bottom:12px}
.country-card h3{margin:0}
.country-meta{font-size:13px;color:var(--muted)}
.badge{display:inline-block;padding:5px 9px;border-radius:8px;background:#eaf2ff;color:#1769e8;font-size:11px;font-weight:800;margin-top:10px}
.dark .badge{background:#122c50}
.compare-box{background:linear-gradient(135deg,#0b1f3e,#1769e8);color:#fff;border-radius:24px;padding:42px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.compare-box p{color:#d9eaff}
.compare-box .btn{background:#fff;color:#1769e8}
.page-hero{background:linear-gradient(135deg,#071a35,#1769e8);color:#fff;padding:65px 28px}
.page-hero-inner{max-width:1400px;margin:auto}
.page-hero h1{font-size:48px;margin:0 0 8px}
.page-hero p{margin:0;color:#dbeaff}
.table-wrap{overflow:auto;background:var(--card);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow)}
table{width:100%;border-collapse:collapse;min-width:700px}
th,td{text-align:left;padding:15px 18px;border-bottom:1px solid var(--border)}
th{font-size:12px;text-transform:uppercase;color:var(--muted);letter-spacing:.6px;background:rgba(100,116,139,.05)}
td{font-weight:600}
.alert{border-left:4px solid var(--danger);background:rgba(220,38,38,.07);padding:16px 18px;border-radius:10px}
.footer-grid{max-width:1400px;margin:auto;padding:65px 28px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:45px}
.site-footer{background:#071426;color:#fff}
.site-footer a{display:block;text-decoration:none;color:#b9c8dc;margin:8px 0}
.site-footer a:hover{color:#fff}
.footer-brand p{color:#aab8ca}
.footer-logo{color:#fff}
.site-footer h4{margin:5px 0 15px}
.footer-muted{max-width:400px}
.footer-copy{margin-top:25px;font-size:13px}
.notice{padding:15px 18px;background:#fff8e7;border:1px solid #f7d98b;border-radius:12px;color:#75520b}
.dark .notice{background:#332a13;color:#f6d98b;border-color:#67521d}
@media(max-width:1100px){
.main-nav{gap:13px}.main-nav a{font-size:13px}.stats-grid{grid-template-columns:repeat(2,1fr)}.country-grid{grid-template-columns:repeat(3,1fr)}.card-grid-4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:800px){
.header-inner{padding:12px 18px;flex-wrap:wrap}.mobile-toggle{display:block;margin-left:auto}.header-actions{order:2}.main-nav{display:none;order:3;width:100%;margin:0;overflow:auto;flex-direction:column;align-items:flex-start;padding:10px 0}.main-nav.active{display:flex}.main-nav a{padding:6px 0}.hero-inner{padding:75px 22px 85px}.hero h1{font-size:48px}.container{padding:45px 18px}.card-grid,.country-grid,.card-grid-4{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr}.compare-box{display:block;padding:30px}.footer-grid{grid-template-columns:1fr 1fr;padding:45px 22px}}
@media(max-width:500px){.stats-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.header-actions{margin-left:auto}.brand{font-size:19px}}

/* ===== WorldDataLive Professional Header/Footer Upgrade ===== */
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand-text strong{
  font-size:22px;
  font-weight:900;
  letter-spacing:-.4px;
}
.brand-text small{
  margin-top:4px;
  font-size:9px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:800;
}
.brand-mark{
  position:relative;
  overflow:hidden;
}
.brand-mark:after{
  content:"";
  position:absolute;
  width:22px;
  height:22px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
}
.brand-mark span{
  position:relative;
  z-index:2;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-brand strong{
  display:block;
  font-size:20px;
  font-weight:900;
}
.footer-brand small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:10px;
  letter-spacing:1.3px;
  text-transform:uppercase;
  font-weight:800;
}
@media(max-width:900px){
  .main-nav{
    position:absolute;
    left:15px;
    right:15px;
    top:74px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:10px;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--shadow);
  }
  .main-nav.active{display:flex}
  .main-nav a{
    padding:13px 14px;
    border-radius:10px;
  }
  .main-nav a:hover{
    background:var(--bg);
  }
  .mobile-toggle{display:inline-grid;place-items:center}
  .brand-text small{font-size:8px;letter-spacing:1px}
}
@media(max-width:600px){
  .brand-text strong{font-size:19px}
  .brand-mark{width:36px;height:36px}
  .header-inner{padding:0 16px;gap:10px}
}

/* =========================================================
   WorldDataLive Premium Homepage
   ========================================================= */

.wdl-container{
  width:min(1380px,calc(100% - 48px));
  margin:0 auto;
}

.wdl-section{
  padding:92px 0;
}

.wdl-kicker{
  display:inline-block;
  margin-bottom:10px;
  color:var(--primary);
  font-size:11px;
  font-weight:900;
  letter-spacing:2px;
  text-transform:uppercase;
}

.wdl-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:34px;
}

.wdl-section-heading h2{
  margin:0;
  font-size:clamp(30px,4vw,48px);
  line-height:1.08;
  letter-spacing:-1.5px;
}

.wdl-section-heading p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:16px;
}

.wdl-view-link{
  color:var(--primary);
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  white-space:nowrap;
}

.center-heading{
  display:block;
  text-align:center;
}

.center-heading p{
  max-width:620px;
  margin:12px auto 0;
}

/* HERO */

.wdl-hero{
  position:relative;
  overflow:hidden;
  min-height:650px;
  display:flex;
  align-items:center;
  color:#fff;
  background:
    radial-gradient(circle at 80% 25%,rgba(67,160,255,.34),transparent 28%),
    radial-gradient(circle at 20% 80%,rgba(30,110,255,.22),transparent 32%),
    linear-gradient(135deg,#041329 0%,#092d62 48%,#0b67c7 100%);
}

.wdl-hero-grid{
  position:absolute;
  inset:0;
  opacity:.14;
  background-image:
    linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px);
  background-size:70px 70px;
  mask-image:linear-gradient(to bottom,black,transparent);
}

.wdl-hero-inner{
  width:min(1380px,calc(100% - 48px));
  margin:0 auto;
  padding:105px 0 115px;
  position:relative;
  z-index:2;
}

.wdl-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:8px 13px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(10px);
  font-size:10px;
  font-weight:900;
  letter-spacing:1.8px;
}

.wdl-pulse{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#62e6a8;
  box-shadow:0 0 0 5px rgba(98,230,168,.12);
}

.wdl-hero h1{
  max-width:900px;
  margin:25px 0 20px;
  font-size:clamp(56px,8vw,108px);
  line-height:.94;
  letter-spacing:-5px;
  font-weight:950;
}

.wdl-hero h1 span{
  background:linear-gradient(90deg,#fff,#9bd3ff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.wdl-hero-copy{
  max-width:720px;
  margin:0 0 32px;
  color:#d5e8ff;
  font-size:19px;
  line-height:1.7;
}

.wdl-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.wdl-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:50px;
  padding:0 22px;
  border-radius:12px;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  transition:.2s ease;
}

.wdl-btn span{
  font-size:19px;
  line-height:1;
}

.wdl-btn-primary{
  background:#fff;
  color:#0753ad;
  box-shadow:0 14px 35px rgba(0,0,0,.18);
}

.wdl-btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.wdl-btn-glass{
  color:#fff;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}

.wdl-btn-glass:hover{
  background:rgba(255,255,255,.15);
}

.wdl-trust-line{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:58px;
  color:#a9c9eb;
  font-size:12px;
  font-weight:700;
}

.wdl-trust-line i{
  width:4px;
  height:4px;
  border-radius:50%;
  background:#6e9ccc;
}

/* SNAPSHOT */

.wdl-snapshot{
  background:var(--bg);
}

.wdl-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.wdl-stat-card{
  min-height:205px;
  padding:25px;
  border:1px solid var(--border);
  border-radius:20px;
  background:var(--card);
  box-shadow:var(--shadow);
  transition:.22s ease;
}

.wdl-stat-card:hover{
  transform:translateY(-5px);
}

.wdl-stat-icon{
  display:grid;
  place-items:center;
  width:45px;
  height:45px;
  margin-bottom:28px;
  border-radius:13px;
  background:rgba(23,105,232,.09);
  font-size:20px;
}

.wdl-stat-label{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.wdl-stat-card strong{
  display:block;
  margin:6px 0;
  font-size:34px;
  line-height:1;
  letter-spacing:-1px;
}

.wdl-stat-card small{
  color:var(--muted);
  font-size:11px;
}

/* ECONOMIES */

.wdl-economies{
  background:var(--card);
}

.wdl-ranking-grid{
  display:grid;
  gap:10px;
}

.wdl-economy-card{
  display:grid;
  grid-template-columns:65px 58px minmax(160px,1fr) 160px 35px;
  align-items:center;
  gap:16px;
  padding:18px 22px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--bg);
  color:var(--text);
  text-decoration:none;
  transition:.2s ease;
}

.wdl-economy-card:hover{
  transform:translateX(5px);
  border-color:rgba(23,105,232,.3);
  box-shadow:var(--shadow);
}

.wdl-rank-number{
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}

.wdl-country-symbol{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:14px;
  background:var(--card);
  border:1px solid var(--border);
  color:var(--primary);
  font-size:12px;
  font-weight:950;
}

.wdl-economy-info strong,
.wdl-economy-info span,
.wdl-economy-value strong,
.wdl-economy-value span{
  display:block;
}

.wdl-economy-info strong{
  font-size:16px;
}

.wdl-economy-info span,
.wdl-economy-value span{
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
}

.wdl-economy-value{
  text-align:right;
}

.wdl-economy-value strong{
  font-size:16px;
}

.wdl-arrow{
  color:var(--primary);
  font-size:20px;
  text-align:right;
}

/* EXPLORE */

.wdl-explore{
  background:var(--bg);
}

.wdl-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.wdl-feature-card{
  min-height:245px;
  padding:27px;
  position:relative;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:22px;
  background:var(--card);
  color:var(--text);
  text-decoration:none;
  box-shadow:var(--shadow);
  transition:.25s ease;
}

.wdl-feature-card:after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:-80px;
  bottom:-90px;
  border-radius:50%;
  background:currentColor;
  opacity:.035;
}

.wdl-feature-card:hover{
  transform:translateY(-6px);
}

.wdl-feature-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.wdl-feature-icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:14px;
  background:rgba(23,105,232,.09);
  font-size:20px;
}

.wdl-feature-arrow{
  color:var(--muted);
  font-size:20px;
}

.wdl-feature-label{
  display:block;
  margin-top:28px;
  color:var(--muted);
  font-size:9px;
  font-weight:950;
  letter-spacing:1.6px;
}

.wdl-feature-card h3{
  margin:6px 0 7px;
  font-size:23px;
  letter-spacing:-.5px;
}

.wdl-feature-card p{
  margin:0;
  max-width:330px;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}

.feature-cyan .wdl-feature-icon{background:rgba(6,182,212,.1)}
.feature-purple .wdl-feature-icon{background:rgba(124,58,237,.1)}
.feature-green .wdl-feature-icon{background:rgba(22,163,74,.1)}
.feature-red .wdl-feature-icon{background:rgba(220,38,38,.1)}
.feature-orange .wdl-feature-icon{background:rgba(245,158,11,.1)}

/* INSIGHTS */

.wdl-insights{
  background:var(--card);
}

.wdl-insight-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.wdl-insight-card{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:18px;
  padding:26px;
  border:1px solid var(--border);
  border-radius:20px;
  background:var(--bg);
}

.wdl-insight-number{
  color:var(--primary);
  font-size:12px;
  font-weight:950;
}

.wdl-insight-tag{
  color:var(--primary);
  font-size:9px;
  font-weight:950;
  letter-spacing:1.5px;
}

.wdl-insight-card h3{
  margin:8px 0;
  font-size:19px;
  line-height:1.25;
}

.wdl-insight-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}

/* FINAL CTA */

.wdl-final-cta{
  padding:25px 0 95px;
  background:var(--card);
}

.wdl-cta-box{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
  padding:55px 60px;
  border-radius:28px;
  color:#fff;
  background:
    radial-gradient(circle at 85% 20%,rgba(255,255,255,.14),transparent 25%),
    linear-gradient(135deg,#071a38,#0b58b7);
  box-shadow:0 25px 60px rgba(5,48,105,.2);
}

.wdl-cta-box h2{
  margin:5px 0 8px;
  font-size:clamp(28px,4vw,45px);
  line-height:1.05;
  letter-spacing:-1.5px;
}

.wdl-cta-box p{
  margin:0;
  color:#c5dcf7;
  font-size:14px;
}

.wdl-cta-box .wdl-kicker{
  color:#8fc6ff;
}

.wdl-btn-light{
  flex-shrink:0;
  color:#0753ad;
  background:#fff;
}

.wdl-btn-light:hover{
  transform:translateY(-2px);
}

/* DARK MODE */

.dark .wdl-economies,
.dark .wdl-insights,
.dark .wdl-final-cta{
  background:var(--bg);
}

.dark .wdl-economy-card{
  background:var(--card);
}

.dark .wdl-feature-card,
.dark .wdl-stat-card{
  background:var(--card);
}

/* RESPONSIVE */

@media(max-width:1000px){
  .wdl-stat-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .wdl-feature-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .wdl-insight-grid{
    grid-template-columns:1fr;
  }

  .wdl-hero{
    min-height:590px;
  }
}

@media(max-width:700px){
  .wdl-section{
    padding:65px 0;
  }

  .wdl-container,
  .wdl-hero-inner{
    width:min(100% - 32px,1380px);
  }

  .wdl-section-heading{
    display:block;
  }

  .wdl-view-link{
    display:inline-block;
    margin-top:15px;
  }

  .wdl-hero-inner{
    padding:80px 0 85px;
  }

  .wdl-hero h1{
    font-size:clamp(48px,16vw,75px);
    letter-spacing:-3px;
  }

  .wdl-hero-copy{
    font-size:16px;
  }

  .wdl-trust-line{
    flex-wrap:wrap;
    margin-top:40px;
  }

  .wdl-stat-grid,
  .wdl-feature-grid{
    grid-template-columns:1fr;
  }

  .wdl-stat-card{
    min-height:175px;
  }

  .wdl-economy-card{
    grid-template-columns:38px 48px minmax(0,1fr) 25px;
    gap:10px;
    padding:14px;
  }

  .wdl-economy-value{
    display:none;
  }

  .wdl-economy-info strong{
    font-size:14px;
  }

  .wdl-economy-info span{
    font-size:10px;
  }

  .wdl-cta-box{
    display:block;
    padding:38px 25px;
    border-radius:22px;
  }

  .wdl-btn-light{
    margin-top:25px;
  }
}

@media(max-width:420px){
  .wdl-hero-actions{
    display:grid;
  }

  .wdl-btn{
    width:100%;
  }

  .wdl-trust-line i{
    display:none;
  }

  .wdl-trust-line{
    gap:8px 12px;
  }
}

/* =========================================================
   WorldDataLive - Clean Professional Header
   ========================================================= */

.wdl-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e8ebef;
    backdrop-filter: blur(14px);
}

.wdl-nav-wrap {
    width: min(1240px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.wdl-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.wdl-logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #111827;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1px;
}

.wdl-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.wdl-logo-text strong {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.4px;
}

.wdl-logo-text small {
    margin-top: 4px;
    color: #7a8492;
    font-size: 10px;
    font-weight: 500;
}

.wdl-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.wdl-nav-link,
.wdl-dropdown-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #3f4854;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.wdl-nav-link:hover,
.wdl-dropdown-btn:hover {
    background: #f3f5f7;
    color: #111827;
}

.wdl-dropdown {
    position: relative;
}

.wdl-dropdown-btn span {
    margin-left: 7px;
    font-size: 16px;
    line-height: 1;
}

.wdl-dropdown-menu {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    width: 210px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 13px;
    box-shadow: 0 18px 45px rgba(15,23,42,.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .18s ease;
}

.wdl-dropdown:hover .wdl-dropdown-menu,
.wdl-dropdown.open .wdl-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wdl-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #3f4854;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.wdl-dropdown-menu a:hover {
    background: #f3f5f7;
    color: #111827;
}

.wdl-compare-link {
    background: #111827;
    color: #fff !important;
    margin-left: 5px;
}

.wdl-compare-link:hover {
    background: #273142 !important;
    color: #fff !important;
}

.wdl-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 4px;
}

.wdl-icon-btn {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #e4e8ed;
    border-radius: 9px;
    background: #fff;
    color: #343b46;
    font-size: 21px;
    cursor: pointer;
}

.wdl-icon-btn:hover {
    background: #f3f5f7;
}

.wdl-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    margin-left: auto;
    border: 1px solid #e4e8ed;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
}

.wdl-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: #202733;
    border-radius: 2px;
}

.wdl-search-box {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 14px;
}

.wdl-search-box.open {
    display: block;
}

.wdl-search-box form {
    display: flex;
    align-items: center;
    max-width: 620px;
    margin-left: auto;
    overflow: hidden;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    background: #fff;
}

.wdl-search-box form > span {
    padding-left: 14px;
    color: #7b8490;
    font-size: 20px;
}

.wdl-search-box input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 14px;
}

.wdl-search-box button {
    height: 46px;
    padding: 0 18px;
    border: 0;
    background: #111827;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* Dark mode */

html.dark body .wdl-header {
    background: rgba(15,23,42,.96);
    border-color: #273244;
}

html.dark body .wdl-logo-mark {
    background: #fff;
    color: #111827;
}

html.dark body .wdl-logo-text strong {
    color: #fff;
}

html.dark body .wdl-logo-text small {
    color: #9ca8b8;
}

html.dark body .wdl-nav-link,
html.dark body .wdl-dropdown-btn {
    color: #c8d0dc;
}

html.dark body .wdl-nav-link:hover,
html.dark body .wdl-dropdown-btn:hover {
    background: #202b3d;
    color: #fff;
}

html.dark body .wdl-dropdown-menu {
    background: #182234;
    border-color: #2c394c;
}

html.dark body .wdl-dropdown-menu a {
    color: #c8d0dc;
}

html.dark body .wdl-dropdown-menu a:hover {
    background: #243147;
    color: #fff;
}

html.dark body .wdl-icon-btn,
html.dark body .wdl-menu-btn {
    background: #182234;
    border-color: #334155;
    color: #fff;
}

html.dark body .wdl-menu-btn span {
    background: #fff;
}

html.dark body .wdl-search-box form {
    background: #182234;
    border-color: #334155;
}

html.dark body .wdl-search-box input {
    color: #fff;
}

/* Mobile */

@media (max-width: 980px) {

    .wdl-nav-wrap {
        min-height: 68px;
        gap: 10px;
    }

    .wdl-logo-text small {
        display: none;
    }

    .wdl-menu-btn {
        display: block;
    }

    .wdl-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 12px 16px 16px;
        background: #fff;
        border-bottom: 1px solid #e6e9ee;
        box-shadow: 0 15px 30px rgba(15,23,42,.10);
    }

    .wdl-nav.open {
        display: flex;
    }

    .wdl-nav-link,
    .wdl-dropdown-btn {
        width: 100%;
        justify-content: space-between;
        padding: 0 13px;
    }

    .wdl-compare-link {
        margin: 5px 0 0;
        justify-content: center;
    }

    .wdl-dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        margin: 2px 0 5px;
        padding: 5px;
        box-shadow: none;
        border-radius: 9px;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .wdl-dropdown.open .wdl-dropdown-menu {
        display: block;
    }

    html.dark body .wdl-nav {
        background: #0f172a;
        border-color: #273244;
    }

    .wdl-search-box {
        width: calc(100% - 24px);
    }

    .wdl-search-box form {
        max-width: none;
    }
}

@media (max-width: 520px) {

    .wdl-nav-wrap {
        width: calc(100% - 20px);
    }

    .wdl-logo-mark {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .wdl-logo-text strong {
        font-size: 16px;
    }

    .wdl-actions {
        gap: 3px;
    }

    .wdl-icon-btn {
        width: 38px;
        height: 38px;
    }

    .wdl-search-box button {
        padding: 0 13px;
    }
}


/* ===== WorldDataLive PHP Header ===== */
.wdl-header{
    width:100%;
    position:relative;
    z-index:1000;
    background:#ffffff;
    border-bottom:1px solid #e5e7eb;
}

.wdl-header .wdl-header-inner{
    max-width:1200px;
    margin:0 auto;
    padding:14px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

.wdl-brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#111827;
}

.wdl-logo-mark{
    width:42px;
    height:42px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:800;
    background:#111827;
    color:#fff;
}

.wdl-brand-text{
    display:flex;
    flex-direction:column;
}

.wdl-brand-name{
    font-size:20px;
    font-weight:800;
    line-height:1.1;
}

.wdl-brand-tagline{
    font-size:11px;
    color:#6b7280;
    margin-top:3px;
}

.wdl-nav{
    display:flex;
    align-items:center;
    gap:5px;
}

.wdl-nav a,
.wdl-dropdown-button{
    border:0;
    background:none;
    text-decoration:none;
    color:#374151;
    font-size:14px;
    font-weight:600;
    padding:9px 11px;
    border-radius:8px;
    cursor:pointer;
}

.wdl-nav a:hover,
.wdl-dropdown-button:hover{
    background:#f3f4f6;
    color:#111827;
}

.wdl-dropdown{
    position:relative;
}

.wdl-dropdown-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:190px;
    padding:8px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:10px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.wdl-dropdown:hover .wdl-dropdown-menu{
    display:block;
}

.wdl-dropdown-menu a{
    display:block;
    width:100%;
}

.wdl-header-actions{
    display:flex;
    align-items:center;
    gap:7px;
}

.wdl-search-toggle,
.wdl-theme-toggle,
.wdl-menu-toggle{
    width:38px;
    height:38px;
    border:1px solid #e5e7eb;
    background:#fff;
    color:#374151;
    border-radius:8px;
    cursor:pointer;
    font-size:17px;
}

.wdl-menu-toggle{
    display:none;
}

.wdl-search-panel{
    display:none;
    max-width:1200px;
    margin:0 auto;
    padding:10px 20px 15px;
}

.wdl-search-panel.active{
    display:block;
}

.wdl-search-panel form{
    display:flex;
    gap:8px;
}

.wdl-search-panel input{
    flex:1;
    padding:11px 13px;
    border:1px solid #d1d5db;
    border-radius:8px;
    font-size:14px;
}

.wdl-search-panel button{
    padding:11px 18px;
    border:0;
    border-radius:8px;
    background:#111827;
    color:#fff;
    cursor:pointer;
}

/* ===== Mobile ===== */
@media (max-width:900px){
    .wdl-header .wdl-header-inner{
        padding:12px 16px;
    }

    .wdl-menu-toggle{
        display:block;
    }

    .wdl-nav{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        flex-direction:column;
        align-items:stretch;
        gap:2px;
        padding:12px 16px;
        background:#fff;
        border-bottom:1px solid #e5e7eb;
        box-shadow:0 12px 25px rgba(0,0,0,.08);
    }

    .wdl-nav.active{
        display:flex;
    }

    .wdl-nav a,
    .wdl-dropdown-button{
        width:100%;
        text-align:left;
        padding:12px;
    }

    .wdl-dropdown-menu{
        position:static;
        box-shadow:none;
        border:0;
        padding-left:15px;
    }

    .wdl-dropdown:hover .wdl-dropdown-menu{
        display:none;
    }

    .wdl-dropdown.active .wdl-dropdown-menu{
        display:block;
    }

    .wdl-brand-tagline{
        display:none;
    }
}

/* ===== Dark Mode ===== */
html.dark body .wdl-header{
    background:#111827;
    border-color:#374151;
}

html.dark body .wdl-brand,
html.dark body .wdl-nav a,
html.dark body .wdl-dropdown-button{
    color:#f9fafb;
}

html.dark body .wdl-nav a:hover,
html.dark body .wdl-dropdown-button:hover{
    background:#1f2937;
}

html.dark body .wdl-dropdown-menu{
    background:#111827;
    border-color:#374151;
}

html.dark body .wdl-search-toggle,
html.dark body .wdl-theme-toggle,
html.dark body .wdl-menu-toggle{
    background:#1f2937;
    border-color:#374151;
    color:#f9fafb;
}

html.dark body .wdl-nav{
    background:#111827;
    border-color:#374151;
}

/* ===== MOBILE HEADER FIX ===== */
@media (max-width: 900px) {

    .wdl-header {
        position: relative;
        width: 100%;
    }

    .wdl-nav-wrap {
        width: 100%;
        min-height: 68px;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .wdl-logo {
        display: flex;
        align-items: center;
        gap: 9px;
        text-decoration: none;
    }

    .wdl-logo-mark {
        flex-shrink: 0;
    }

    .wdl-logo-text strong {
        font-size: 18px;
    }

    .wdl-logo-text small {
        font-size: 10px;
    }

    .wdl-menu-btn {
        display: flex !important;
        width: 42px;
        height: 42px;
        padding: 8px;
        border: 1px solid var(--border);
        border-radius: 9px;
        background: var(--card);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }

    .wdl-menu-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
    }

    .wdl-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px 16px 16px;
        background: var(--card);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.12);
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        z-index: 1050;
    }

    .wdl-nav.active {
        display: flex !important;
    }

    .wdl-nav-link,
    .wdl-dropdown-btn {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        border-radius: 8px;
        text-align: left;
    }

    .wdl-dropdown {
        width: 100%;
    }

    .wdl-dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        padding: 4px 0 4px 15px;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .wdl-dropdown.active .wdl-dropdown-menu {
        display: block;
    }

    .wdl-dropdown-menu a {
        display: block;
        width: 100%;
        padding: 9px 12px;
    }
}

/* Desktop hamburger hidden */
@media (min-width: 901px) {
    .wdl-menu-btn {
        display: none !important;
    }
}

/* ===== HEADER SEARCH FIX ===== */
.wdl-search-box {
    display: none;
}

.wdl-search-box.active {
    display: block;
}

.wdl-search-box form {
    display: flex;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}

.wdl-search-box input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--text);
}

.wdl-search-box button {
    padding: 11px 18px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
}

@media (max-width: 900px) {
    .wdl-search-box form {
        padding: 10px 16px 14px;
    }
}

/* ===== SEARCH FINAL FIX ===== */
.wdl-search-box {
    width: 100%;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.wdl-search-box form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wdl-search-box input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--text);
    font-size: 15px;
    outline: none;
}

.wdl-search-box input:focus {
    border-color: var(--primary);
}

.wdl-search-box form > span {
    font-size: 22px;
    color: var(--muted);
}

.wdl-search-box button {
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 600px) {
    .wdl-search-box form {
        padding: 10px 14px;
        gap: 7px;
    }

    .wdl-search-box button {
        padding: 0 13px;
    }

    .wdl-search-box form > span {
        display: none;
    }
}

/* =========================================================
   WORLD DATALIVE — PREMIUM BLUE NAVIGATION
   ========================================================= */

.wdl-header{
    background:rgba(255,255,255,.97);
    border-bottom:1px solid #dbe5f1;
    box-shadow:0 3px 18px rgba(15,60,110,.06);
    backdrop-filter:blur(14px);
}

.wdl-nav-wrap{
    max-width:1280px;
    min-height:72px;
    margin:0 auto;
    padding:10px 22px;
    display:flex;
    align-items:center;
    gap:28px;
}

/* ===== LOGO ===== */

.wdl-logo{
    display:flex;
    align-items:center;
    gap:11px;
    text-decoration:none;
    color:#102a43;
    flex-shrink:0;
}

.wdl-logo-mark{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:linear-gradient(135deg,#1769e8,#0d47a1);
    color:#fff;
    font-size:23px;
    font-weight:900;
    box-shadow:0 7px 18px rgba(23,105,232,.25);
}

.wdl-logo-text{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.wdl-logo-text strong{
    color:#102a43;
    font-size:19px;
    font-weight:800;
    letter-spacing:-.3px;
}

.wdl-logo-text small{
    color:#6b7c93;
    font-size:10px;
    margin-top:5px;
    letter-spacing:.2px;
}

/* ===== NAVIGATION ===== */

.wdl-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:3px;
    flex:1;
}

.wdl-nav-link,
.wdl-dropdown-btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:40px;
    padding:8px 11px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#34495e;
    text-decoration:none;
    font-size:13.5px;
    font-weight:650;
    white-space:nowrap;
    cursor:pointer;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.wdl-nav-link:hover,
.wdl-dropdown-btn:hover{
    background:#edf5ff;
    color:#1769e8;
}

.wdl-nav-link:active,
.wdl-dropdown-btn:active{
    transform:translateY(1px);
}

/* Active-style links */
.wdl-nav-link[href="/"],
.wdl-nav-link[href="/ranking"],
.wdl-nav-link[href="/compare"]{
    font-weight:700;
}

/* ===== CATEGORIES ===== */

.wdl-dropdown{
    position:relative;
}

.wdl-dropdown-btn span{
    font-size:14px;
    color:#66809a;
    transition:transform .2s ease;
}

.wdl-dropdown:hover .wdl-dropdown-btn span{
    transform:rotate(180deg);
}

.wdl-dropdown-menu{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:50%;
    transform:translateX(-50%);
    width:230px;
    padding:9px;
    background:#fff;
    border:1px solid #dce7f3;
    border-radius:13px;
    box-shadow:
        0 18px 45px rgba(17,63,105,.14),
        0 3px 10px rgba(17,63,105,.06);
}

.wdl-dropdown-menu::before{
    content:"";
    position:absolute;
    top:-6px;
    left:50%;
    width:11px;
    height:11px;
    background:#fff;
    border-left:1px solid #dce7f3;
    border-top:1px solid #dce7f3;
    transform:translateX(-50%) rotate(45deg);
}

.wdl-dropdown:hover .wdl-dropdown-menu{
    display:block;
}

.wdl-dropdown-menu a{
    display:flex;
    align-items:center;
    width:100%;
    min-height:40px;
    padding:9px 11px;
    border-radius:8px;
    color:#34495e;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    transition:all .18s ease;
}

.wdl-dropdown-menu a:hover{
    background:#edf5ff;
    color:#1769e8;
    padding-left:15px;
}

/* ===== COMPARE ===== */

.wdl-compare-link{
    color:#1769e8;
    background:#f0f6ff;
}

.wdl-compare-link:hover{
    background:#1769e8;
    color:#fff;
}

/* ===== ACTION BUTTONS ===== */

.wdl-actions{
    display:flex;
    align-items:center;
    gap:7px;
    flex-shrink:0;
}

.wdl-icon-btn,
.wdl-menu-btn{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d8e4f0;
    border-radius:10px;
    background:#fff;
    color:#34495e;
    cursor:pointer;
    transition:all .2s ease;
}

.wdl-icon-btn:hover,
.wdl-menu-btn:hover{
    background:#edf5ff;
    border-color:#b8d3f3;
    color:#1769e8;
    transform:translateY(-1px);
}

.wdl-icon-btn span{
    font-size:19px;
}

/* ===== SEARCH ===== */

.wdl-search-box{
    background:#f8fbff;
    border-top:1px solid #e2ebf5;
    border-bottom:1px solid #dbe7f3;
}

.wdl-search-box form{
    max-width:1280px;
    padding:12px 22px;
}

.wdl-search-box input{
    height:44px;
    background:#fff;
    border:1px solid #d4e1ee;
    color:#172033;
    border-radius:10px;
}

.wdl-search-box input:focus{
    border-color:#1769e8;
    box-shadow:0 0 0 3px rgba(23,105,232,.10);
}

.wdl-search-box button{
    height:44px;
    border-radius:10px;
    padding:0 20px;
    background:linear-gradient(135deg,#1769e8,#0d47a1);
    font-weight:700;
    box-shadow:0 5px 14px rgba(23,105,232,.18);
}

/* ===== MOBILE ===== */

@media (max-width:900px){

    .wdl-nav-wrap{
        min-height:68px;
        padding:10px 15px;
        gap:10px;
    }

    .wdl-logo-mark{
        width:41px;
        height:41px;
        border-radius:11px;
    }

    .wdl-logo-text strong{
        font-size:17px;
    }

    .wdl-nav{
        top:100%;
        padding:12px;
        background:#fff;
        border-top:1px solid #e0e9f3;
        box-shadow:0 18px 35px rgba(15,60,110,.12);
    }

    .wdl-nav-link,
    .wdl-dropdown-btn{
        min-height:46px;
        justify-content:flex-start;
        padding:11px 13px;
        font-size:14px;
    }

    .wdl-dropdown-btn{
        justify-content:space-between;
    }

    .wdl-dropdown-menu{
        width:100%;
        transform:none;
        position:static;
        padding:4px 0 5px 10px;
        border:0;
        box-shadow:none;
        background:transparent;
    }

    .wdl-dropdown-menu::before{
        display:none;
    }

    .wdl-dropdown-menu a{
        min-height:40px;
    }

    .wdl-actions{
        gap:5px;
    }

    .wdl-icon-btn,
    .wdl-menu-btn{
        width:38px;
        height:38px;
    }

}

/* ===== DARK MODE ===== */

html.dark body .wdl-header{
    background:rgba(8,20,38,.97);
    border-color:#203149;
    box-shadow:0 3px 18px rgba(0,0,0,.25);
}

html.dark body .wdl-logo,
html.dark body .wdl-logo-text strong{
    color:#edf4ff;
}

html.dark body .wdl-logo-text small{
    color:#91a4bc;
}

html.dark body .wdl-nav-link,
html.dark body .wdl-dropdown-btn{
    color:#cbd8e8;
}

html.dark body .wdl-nav-link:hover,
html.dark body .wdl-dropdown-btn:hover{
    background:#142943;
    color:#55a0ff;
}

html.dark body .wdl-compare-link{
    background:#122c4d;
    color:#55a0ff;
}

html.dark body .wdl-compare-link:hover{
    background:#1769e8;
    color:#fff;
}

html.dark body .wdl-icon-btn,
html.dark body .wdl-menu-btn{
    background:#0e1a2c;
    border-color:#29405d;
    color:#d5e3f2;
}

html.dark body .wdl-icon-btn:hover,
html.dark body .wdl-menu-btn:hover{
    background:#142943;
    border-color:#38658e;
    color:#55a0ff;
}

html.dark body .wdl-dropdown-menu{
    background:#0e1a2c;
    border-color:#29405d;
}

html.dark body .wdl-dropdown-menu::before{
    background:#0e1a2c;
    border-color:#29405d;
}

html.dark body .wdl-dropdown-menu a{
    color:#cbd8e8;
}

html.dark body .wdl-dropdown-menu a:hover{
    background:#142943;
    color:#55a0ff;
}

html.dark body .wdl-search-box{
    background:#0a1729;
    border-color:#203149;
}

html.dark body .wdl-search-box input{
    background:#0e1a2c;
    border-color:#29405d;
    color:#edf4ff;
}

@media (max-width:900px){

    html.dark body .wdl-nav{
        background:#0e1a2c;
        border-color:#203149;
    }

}

/* =========================================================
   WORLD DATALIVE — ATTRACTIVE NAV BUTTONS
   ========================================================= */

/* Main navigation buttons */
.wdl-nav-link,
.wdl-dropdown-btn{
    position:relative;
    overflow:hidden;
    transition:
        color .25s ease,
        background .25s ease,
        box-shadow .25s ease,
        transform .2s ease;
}

/* Subtle animated highlight */
.wdl-nav-link::before,
.wdl-dropdown-btn::before{
    content:"";
    position:absolute;
    left:50%;
    bottom:3px;
    width:0;
    height:2px;
    border-radius:10px;
    background:linear-gradient(90deg,#1769e8,#55a0ff);
    transform:translateX(-50%);
    transition:width .25s ease;
}

.wdl-nav-link:hover::before,
.wdl-dropdown-btn:hover::before{
    width:55%;
}

.wdl-nav-link:hover,
.wdl-dropdown-btn:hover{
    transform:translateY(-1px);
    background:linear-gradient(
        135deg,
        #edf5ff,
        #f7fbff
    );
    color:#1769e8;
    box-shadow:0 5px 14px rgba(23,105,232,.09);
}

/* Compare — standout button */
.wdl-compare-link{
    padding-left:15px !important;
    padding-right:15px !important;
    background:linear-gradient(
        135deg,
        #1769e8,
        #0d47a1
    ) !important;
    color:#fff !important;
    border-radius:10px !important;
    box-shadow:0 6px 16px rgba(23,105,232,.22);
}

.wdl-compare-link::before{
    display:none;
}

.wdl-compare-link:hover{
    background:linear-gradient(
        135deg,
        #2580ff,
        #1255bd
    ) !important;
    color:#fff !important;
    transform:translateY(-2px);
    box-shadow:0 9px 22px rgba(23,105,232,.30);
}

/* Search + theme buttons */
.wdl-icon-btn{
    position:relative;
    overflow:hidden;
    border:1px solid #cbdced;
    background:linear-gradient(
        145deg,
        #ffffff,
        #f3f8fe
    );
    color:#1769e8;
    box-shadow:0 4px 12px rgba(23,105,232,.07);
}

.wdl-icon-btn:hover{
    border-color:#9fc3eb;
    background:linear-gradient(
        135deg,
        #1769e8,
        #0d47a1
    );
    color:#fff;
    box-shadow:0 8px 19px rgba(23,105,232,.25);
    transform:translateY(-2px);
}

.wdl-icon-btn:active{
    transform:translateY(0) scale(.96);
}

/* Search icon */
#wdlSearchBtn span{
    display:inline-block;
    font-size:21px;
    line-height:1;
    transition:transform .25s ease;
}

#wdlSearchBtn:hover span{
    transform:scale(1.12) rotate(-8deg);
}

/* Theme icon */
#wdlThemeBtn span{
    display:inline-block;
    font-size:18px;
    transition:transform .3s ease;
}

#wdlThemeBtn:hover span{
    transform:rotate(25deg) scale(1.12);
}

/* Mobile hamburger */
.wdl-menu-btn{
    position:relative;
    overflow:hidden;
    border:1px solid #cbdced;
    background:linear-gradient(
        145deg,
        #ffffff,
        #f3f8fe
    );
    color:#1769e8;
    box-shadow:0 4px 12px rgba(23,105,232,.08);
}

.wdl-menu-btn:hover{
    background:linear-gradient(
        135deg,
        #1769e8,
        #0d47a1
    );
    color:#fff;
    border-color:#1769e8;
    box-shadow:0 8px 18px rgba(23,105,232,.25);
}

/* Mobile nav links */
@media (max-width:900px){

    .wdl-nav-link,
    .wdl-dropdown-btn{
        border:1px solid transparent;
        margin:2px 0;
        background:transparent;
    }

    .wdl-nav-link:hover,
    .wdl-dropdown-btn:hover{
        background:#edf5ff;
        border-color:#d5e7fa;
        box-shadow:none;
        transform:none;
    }

    .wdl-nav-link::before,
    .wdl-dropdown-btn::before{
        display:none;
    }

    .wdl-compare-link{
        justify-content:center !important;
        margin-top:5px !important;
        box-shadow:0 7px 17px rgba(23,105,232,.22);
    }

    .wdl-icon-btn,
    .wdl-menu-btn{
        width:40px;
        height:40px;
    }

}

/* Dark mode buttons */
html.dark body .wdl-icon-btn,
html.dark body .wdl-menu-btn{
    background:linear-gradient(
        145deg,
        #142943,
        #0e1a2c
    );
    border-color:#294866;
    color:#55a0ff;
}

html.dark body .wdl-icon-btn:hover,
html.dark body .wdl-menu-btn:hover{
    background:linear-gradient(
        135deg,
        #1769e8,
        #0d47a1
    );
    color:#fff;
    border-color:#1769e8;
}

html.dark body .wdl-nav-link:hover,
html.dark body .wdl-dropdown-btn:hover{
    background:linear-gradient(
        135deg,
        #142943,
        #102238
    );
    color:#55a0ff;
    border-color:#203d5c;
}

html.dark body .wdl-compare-link{
    background:linear-gradient(
        135deg,
        #1769e8,
        #0d47a1
    ) !important;
    color:#fff !important;
}

/* Search submit button */
.wdl-search-box button{
    background:linear-gradient(
        135deg,
        #1769e8,
        #0d47a1
    );
    transition:all .25s ease;
}

.wdl-search-box button:hover{
    background:linear-gradient(
        135deg,
        #2580ff,
        #1255bd
    );
    transform:translateY(-1px);
    box-shadow:0 7px 18px rgba(23,105,232,.25);
}


/* ===== MOBILE MENU BUTTON VISIBILITY FIX ===== */
.wdl-menu-btn{
    display:none;
    width:44px;
    height:44px;
    padding:0;
    margin:0;
    border:1px solid #dbe5f2;
    border-radius:10px;
    background:#fff;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    flex-shrink:0;
    box-shadow:0 4px 12px rgba(23,105,232,.10);
}

.wdl-menu-btn span{
    display:block !important;
    width:21px !important;
    height:3px !important;
    margin:0 !important;
    padding:0 !important;
    background:#1769e8 !important;
    border-radius:3px;
    opacity:1 !important;
    visibility:visible !important;
}

.wdl-menu-btn:hover{
    background:#f0f6ff;
    border-color:#1769e8;
}

html.dark body .wdl-menu-btn{
    background:#0e1a2c;
    border-color:#29415f;
}

html.dark body .wdl-menu-btn span{
    background:#60a5fa !important;
}

@media (max-width:900px){
    .wdl-menu-btn{
        display:flex !important;
    }
}

@media (min-width:901px){
    .wdl-menu-btn{
        display:none !important;
    }
}


/* ===== DESKTOP MENU BUTTON HIDE / NAV ALIGN FIX ===== */
@media (min-width:901px){
    .wdl-menu-btn{
        display:none !important;
        position:absolute !important;
        width:0 !important;
        height:0 !important;
        padding:0 !important;
        margin:0 !important;
        border:0 !important;
        visibility:hidden !important;
    }

    .wdl-header{
        display:flex;
        align-items:center;
    }

    .wdl-nav-wrap{
        display:flex;
        align-items:center;
        flex:1;
    }

    .wdl-nav{
        display:flex !important;
        align-items:center;
    }
}


/* ===== FINAL MENU BUTTON POSITION FIX ===== */

/* Desktop: completely remove hamburger from layout */
@media (min-width:901px){
    header.wdl-header .wdl-nav-wrap > .wdl-menu-btn{
        display:none !important;
        visibility:hidden !important;
        position:fixed !important;
        left:-9999px !important;
        top:-9999px !important;
        width:1px !important;
        height:1px !important;
        min-width:0 !important;
        min-height:0 !important;
        margin:0 !important;
        padding:0 !important;
        overflow:hidden !important;
    }

    header.wdl-header .wdl-nav-wrap{
        display:flex !important;
        align-items:center !important;
    }

    header.wdl-header .wdl-nav{
        display:flex !important;
        align-items:center !important;
    }
}

/* Mobile: show hamburger normally */
@media (max-width:900px){
    header.wdl-header .wdl-nav-wrap > .wdl-menu-btn{
        display:flex !important;
        visibility:visible !important;
        position:relative !important;
        left:auto !important;
        top:auto !important;
        width:44px !important;
        height:44px !important;
        margin:0 !important;
        padding:0 !important;
        overflow:visible !important;
    }
}


/* ===== DEFINITIVE DESKTOP HAMBURGER FIX ===== */
@media screen and (min-width: 981px) {
    header.wdl-header .wdl-nav-wrap > #wdlMenuBtn {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -10000px !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
}

/* Mobile hamburger */
@media screen and (max-width: 980px) {
    header.wdl-header .wdl-nav-wrap > #wdlMenuBtn {
        display: flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        position: relative !important;
        left: auto !important;
        width: 42px !important;
        height: 42px !important;
        margin-left: auto !important;
        padding: 8px !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
    }
}


/* ================================
   HOMEPAGE HERO
================================ */

.wdl-hero {
    width: 100%;
    padding: 90px 20px 100px;
    background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 55%, #eef5ff 100%);
    border-bottom: 1px solid #e8edf3;
}

.wdl-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.wdl-hero-label {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2563eb;
}

.wdl-hero h1 {
    margin: 0 auto 20px;
    max-width: 850px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #0f172a;
}

.wdl-hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.65;
    color: #64748b;
}

.wdl-hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.wdl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all .2s ease;
}

.wdl-btn-primary {
    background: #2563eb;
    color: #fff;
    border: 1px solid #2563eb;
}

.wdl-btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

.wdl-btn-secondary {
    background: #fff;
    color: #1e40af;
    border: 1px solid #cbd5e1;
}

.wdl-btn-secondary:hover {
    border-color: #2563eb;
    transform: translateY(-1px);
}

html.dark body .wdl-hero {
    background: linear-gradient(135deg, #0f172a 0%, #111827 55%, #172554 100%);
    border-color: #263244;
}

html.dark body .wdl-hero h1 {
    color: #f8fafc;
}

html.dark body .wdl-hero p {
    color: #94a3b8;
}

html.dark body .wdl-btn-secondary {
    background: #111827;
    color: #bfdbfe;
    border-color: #334155;
}

@media (max-width: 600px) {
    .wdl-hero {
        padding: 65px 18px 75px;
    }

    .wdl-hero h1 {
        letter-spacing: -0.8px;
    }

    .wdl-hero-actions {
        flex-direction: column;
    }

    .wdl-btn {
        width: 100%;
        max-width: 300px;
    }
}





/* =========================================================
   WORLD DATALIVE — CLEAN HOMEPAGE HERO
   ========================================================= */

.wdl-home .wdl-hero {
    width: 100%;
    min-height: auto;
    padding: 38px 20px 65px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #0f172a;
    background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 55%, #eef5ff 100%);
    border-bottom: 1px solid #e8edf3;
}

.wdl-home .wdl-live-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: fit-content;
    margin: 0 auto 14px;
    padding: 7px 12px;
    gap: 9px;
    box-sizing: border-box;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15,23,42,.07);
}

.wdl-home .wdl-live-dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.wdl-home .wdl-live-text {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #1e293b;
}

.wdl-home .wdl-live-status {
    padding: 3px 7px;
    border-radius: 5px;
    background: #ecfdf3;
    color: #16a34a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
}

/* Main Hero Card */
.wdl-home .wdl-hero-card {
    display: block;
    position: relative;
    flex: none;
    width: min(850px, calc(100% - 20px));
    margin: 0 auto;
    padding: 34px 38px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

.wdl-home .wdl-hero-card h1 {
    margin: 0 auto 12px;
    max-width: 760px;
    font-size: clamp(30px, 4.5vw, 48px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    font-weight: 800;
    color: #0f172a;
}

.wdl-home .wdl-hero-card p {
    margin: 0 auto;
    max-width: 650px;
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
}

.wdl-home .wdl-hero-card .wdl-hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.wdl-home .wdl-hero-card .wdl-btn {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
}

/* Dark Mode */
html.dark body .wdl-home .wdl-hero {
    color: #f8fafc;
    background: linear-gradient(135deg, #071426 0%, #0f172a 55%, #102a4c 100%);
    border-color: #1e293b;
}

html.dark body .wdl-home .wdl-live-card {
    background: #0f172a;
    border-color: #334155;
}

html.dark body .wdl-home .wdl-live-text {
    color: #f8fafc;
}

html.dark body .wdl-home .wdl-live-status {
    background: rgba(34,197,94,.12);
    color: #4ade80;
}

html.dark body .wdl-home .wdl-hero-card {
    background: #0f172a;
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

html.dark body .wdl-home .wdl-hero-card h1 {
    color: #f8fafc;
}

html.dark body .wdl-home .wdl-hero-card p {
    color: #94a3b8;
}

/* Mobile */
@media (max-width: 600px) {
    .wdl-home .wdl-hero {
        padding: 25px 14px 48px;
    }

    .wdl-home .wdl-live-card {
        margin-bottom: 11px;
    }

    .wdl-home .wdl-hero-card {
        width: 100%;
        padding: 25px 18px;
        border-radius: 15px;
    }

    .wdl-home .wdl-hero-card h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .wdl-home .wdl-hero-card p {
        font-size: 15px;
    }
}

/* ===== CENTER WORLD DATA LIVE CARD ===== */

.wdl-home .wdl-live-card {
    position: relative !important;
    display: flex !important;
    flex: 0 0 auto !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto 14px auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    align-self: center !important;
    float: none !important;
}

/* ===== FOOTER DARK / LIGHT TOGGLE ===== */

.footer-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 9px 13px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.footer-theme-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.footer-theme-btn span:first-child {
    font-size: 17px;
    line-height: 1;
}

html.dark body .footer-theme-btn {
    background: #172033;
    border-color: #334155;
    color: #e2e8f0;
}

html.dark body .footer-theme-btn:hover {
    border-color: #60a5fa;
    color: #93c5fd;
}



/* =========================================================
   FOOTER THEME BUTTON — FINAL
   ========================================================= */

.footer-theme-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding: 9px 14px !important;
    min-height: 38px !important;
    border: 1px solid #d7e0ea !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all .2s ease !important;
}

.footer-theme-btn:hover {
    border-color: #2563eb !important;
    color: #2563eb !important;
    transform: translateY(-1px);
}

.footer-theme-btn span:first-child {
    font-size: 17px !important;
    line-height: 1 !important;
}

html.dark body .footer-theme-btn {
    background: #111827 !important;
    border-color: #374151 !important;
    color: #e5e7eb !important;
}

html.dark body .footer-theme-btn:hover {
    border-color: #60a5fa !important;
    color: #93c5fd !important;
}



/* =========================================================
   WORLD DATALIVE — FOOTER THEME TOGGLE
   ========================================================= */

.footer-theme-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding: 9px 14px !important;
    min-height: 38px !important;
    box-sizing: border-box !important;

    border: 1px solid #d7e0ea !important;
    border-radius: 9px !important;

    background: #ffffff !important;
    color: #334155 !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    transition: all .2s ease !important;
}

.footer-theme-btn:hover {
    border-color: #2563eb !important;
    color: #2563eb !important;
    transform: translateY(-1px);
}

.footer-theme-btn span:first-child {
    font-size: 17px !important;
    line-height: 1 !important;
}

html.dark body .footer-theme-btn {
    background: #111827 !important;
    border-color: #374151 !important;
    color: #e5e7eb !important;
}

html.dark body .footer-theme-btn:hover {
    border-color: #60a5fa !important;
    color: #93c5fd !important;
}



/* =====================================================
   FOOTER DARK / LIGHT BUTTON
   ===================================================== */

.footer-theme-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    margin-top: 12px !important;
    padding: 9px 14px !important;
    min-height: 38px !important;

    border: 1px solid #d7e0ea !important;
    border-radius: 9px !important;

    background: #fff !important;
    color: #334155 !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    transition: all .2s ease !important;
}

.footer-theme-btn:hover {
    border-color: #2563eb !important;
    color: #2563eb !important;
    transform: translateY(-1px);
}

.footer-theme-btn span:first-child {
    font-size: 17px !important;
    line-height: 1 !important;
}

html.dark body .footer-theme-btn {
    background: #111827 !important;
    border-color: #374151 !important;
    color: #e5e7eb !important;
}

html.dark body .footer-theme-btn:hover {
    border-color: #60a5fa !important;
    color: #93c5fd !important;
}


/* =========================================================
   WORLD DATALIVE — FOOTER LIGHT / DARK MODE
   ========================================================= */

/* LIGHT MODE */
.site-footer {
    background: #071426;
    color: #ffffff;
}

.site-footer a {
    color: #b9c8dc;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer h4 {
    color: #ffffff;
}

.footer-brand p {
    color: #aab8ca;
}

.footer-muted {
    color: #aab8ca !important;
}

.footer-copy {
    color: #94a3b8;
}


/* DARK MODE */
html.dark body .site-footer {
    background: #030914 !important;
    color: #f8fafc !important;
    border-top: 1px solid #1e293b;
}

html.dark body .site-footer h4 {
    color: #f8fafc !important;
}

html.dark body .site-footer a {
    color: #aebbd0 !important;
}

html.dark body .site-footer a:hover {
    color: #60a5fa !important;
}

html.dark body .footer-brand p {
    color: #aebbd0 !important;
}

html.dark body .site-footer .footer-muted {
    color: #94a3b8 !important;
}

html.dark body .site-footer .footer-copy {
    color: #64748b !important;
}


/* FOOTER THEME BUTTON — LIGHT */
.footer-theme-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    margin-top: 12px !important;
    padding: 9px 14px !important;

    border: 1px solid #d7e0ea !important;
    border-radius: 9px !important;

    background: #ffffff !important;
    color: #334155 !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    transition: .2s ease !important;
}

.footer-theme-btn:hover {
    border-color: #2563eb !important;
    color: #2563eb !important;
}


/* FOOTER THEME BUTTON — DARK */
html.dark body .footer-theme-btn {
    background: #111827 !important;
    border-color: #334155 !important;
    color: #e5e7eb !important;
}

html.dark body .footer-theme-btn:hover {
    background: #1e293b !important;
    border-color: #60a5fa !important;
    color: #93c5fd !important;
}


/* =========================================================
   FINAL FOOTER THEME OVERRIDE
   ========================================================= */

.site-footer {
    background: #f8fafc !important;
    color: #1e293b !important;
    border-top: 1px solid #e2e8f0 !important;
}

.site-footer h4 {
    color: #0f172a !important;
}

.site-footer a {
    color: #475569 !important;
}

.site-footer a:hover {
    color: #2563eb !important;
}

.site-footer .footer-brand p {
    color: #475569 !important;
}

.site-footer .footer-muted {
    color: #64748b !important;
}

.site-footer .footer-copy {
    color: #64748b !important;
}

/* DARK MODE */
html.dark body .site-footer {
    background: #030712 !important;
    color: #f8fafc !important;
    border-top: 1px solid #1e293b !important;
}

html.dark body .site-footer h4 {
    color: #f8fafc !important;
}

html.dark body .site-footer a {
    color: #cbd5e1 !important;
}

html.dark body .site-footer a:hover {
    color: #60a5fa !important;
}

html.dark body .site-footer .footer-brand p {
    color: #cbd5e1 !important;
}

html.dark body .site-footer .footer-muted {
    color: #94a3b8 !important;
}

html.dark body .site-footer .footer-copy {
    color: #64748b !important;
}

/* FOOTER THEME BUTTON */
.footer-theme-btn {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

html.dark body .footer-theme-btn {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}


/* =========================================================
   FOOTER — VERTICAL STACK LAYOUT
   ========================================================= */

.site-footer .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 32px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 55px 28px !important;
}

.site-footer .footer-brand,
.site-footer .footer-grid > div {
    width: 100% !important;
    max-width: 100% !important;
}

.site-footer .footer-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

.site-footer .footer-grid h4 {
    margin: 0 0 12px 0 !important;
}

.site-footer .footer-grid a {
    display: block !important;
    margin: 7px 0 !important;
}

.site-footer .footer-theme-btn {
    margin-top: 12px !important;
}

.site-footer .footer-copy {
    margin-top: 18px !important;
}

/* Mobile */
@media (max-width: 600px) {
    .site-footer .footer-grid {
        padding: 42px 20px !important;
        gap: 28px !important;
    }
}


/* FOOTER LOGO + TEXT STACK */
.site-footer .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.site-footer .footer-brand .footer-logo {
    display: flex !important;
    margin: 0 0 12px 0 !important;
}

.site-footer .footer-brand > p {
    display: block !important;
    margin: 4px 0 !important;
}

.site-footer .footer-brand .footer-muted {
    margin-top: 8px !important;
    line-height: 1.7 !important;
    max-width: 650px !important;
}


/* =========================================================
   FOOTER RESPONSIVE
   Desktop: columns side by side
   Mobile: keep vertical layout
   ========================================================= */

@media (min-width: 901px) {
    .site-footer .footer-grid {
        display: grid !important;
        grid-template-columns: 2fr 1fr 1fr 1fr !important;
        align-items: start !important;
        gap: 45px !important;
        max-width: 1400px !important;
        padding: 65px 28px !important;
    }

    .site-footer .footer-grid > div {
        width: auto !important;
    }
}

@media (max-width: 900px) {
    .site-footer .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 28px !important;
    }
}


/* =========================
   HOMEPAGE LIVE INFO CARDS
========================= */

.wdl-live-info-grid{
    max-width:1100px;
    margin:28px auto 0;
    padding:0 22px 55px;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.wdl-info-card{
    position:relative;
    overflow:hidden;
    padding:28px 30px;
    border:1px solid #e2e8f0;
    border-radius:20px;
    background:rgba(255,255,255,.92);
    box-shadow:0 12px 35px rgba(15,23,42,.08);
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.wdl-info-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 42px rgba(15,23,42,.13);
    border-color:#bfdbfe;
}

.wdl-info-card::after{
    content:"";
    position:absolute;
    width:130px;
    height:130px;
    right:-55px;
    top:-55px;
    border-radius:50%;
    background:rgba(37,99,235,.07);
}

.wdl-info-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:20px;
}

.wdl-info-title{
    display:flex;
    align-items:center;
    gap:11px;
    font-size:15px;
    font-weight:700;
    color:#334155;
}

.wdl-info-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#eff6ff;
    font-size:21px;
}

.wdl-info-badge{
    padding:5px 10px;
    border-radius:999px;
    background:#ecfdf5;
    color:#047857;
    font-size:11px;
    font-weight:800;
    letter-spacing:.04em;
}

.wdl-info-value{
    font-size:30px;
    line-height:1.15;
    font-weight:800;
    color:#0f172a;
    letter-spacing:-.03em;
}

.wdl-info-sub{
    margin-top:8px;
    font-size:13px;
    color:#64748b;
}

.wdl-info-loading{
    color:#94a3b8;
}

html.dark body .wdl-info-card{
    background:#0e1a2c;
    border-color:#203149;
    box-shadow:0 12px 35px rgba(0,0,0,.22);
}

html.dark body .wdl-info-card:hover{
    border-color:#315b8f;
}

html.dark body .wdl-info-title{
    color:#cbd5e1;
}

html.dark body .wdl-info-icon{
    background:#122744;
}

html.dark body .wdl-info-value{
    color:#f8fafc;
}

html.dark body .wdl-info-sub{
    color:#94a3b8;
}

@media(max-width:700px){
    .wdl-live-info-grid{
        grid-template-columns:1fr;
        padding:0 16px 40px;
        gap:16px;
    }

    .wdl-info-card{
        padding:23px;
        border-radius:17px;
    }

    .wdl-info-value{
        font-size:26px;
    }
}


/* Compact Live Info Cards */
.wdl-live-info-grid{
    max-width:850px !important;
    margin:20px auto 40px !important;
    padding:0 16px !important;
    gap:16px !important;
}

.wdl-info-card{
    padding:18px 20px !important;
    border-radius:15px !important;
}

.wdl-info-top{
    margin-bottom:12px !important;
}

.wdl-info-icon{
    width:34px !important;
    height:34px !important;
    border-radius:9px !important;
    font-size:17px !important;
}

.wdl-info-title{
    font-size:13px !important;
    gap:8px !important;
}

.wdl-info-badge{
    padding:4px 8px !important;
    font-size:9px !important;
}

.wdl-info-value{
    font-size:22px !important;
}

.wdl-info-sub{
    margin-top:5px !important;
    font-size:11px !important;
}

@media(max-width:700px){
    .wdl-live-info-grid{
        grid-template-columns:1fr !important;
        max-width:520px !important;
        margin-top:16px !important;
    }

    .wdl-info-card{
        padding:16px 18px !important;
    }

    .wdl-info-value{
        font-size:20px !important;
    }
}


/* Ultra Compact Live Cards */
.wdl-live-info-grid{
    max-width:700px !important;
    margin:14px auto 30px !important;
    padding:0 12px !important;
    gap:12px !important;
}

.wdl-info-card{
    padding:12px 15px !important;
    border-radius:12px !important;
}

.wdl-info-top{
    margin-bottom:7px !important;
}

.wdl-info-icon{
    width:27px !important;
    height:27px !important;
    border-radius:7px !important;
    font-size:13px !important;
}

.wdl-info-title{
    font-size:11px !important;
    gap:6px !important;
}

.wdl-info-badge{
    padding:3px 6px !important;
    font-size:8px !important;
}

.wdl-info-value{
    font-size:17px !important;
    line-height:1.1 !important;
}

.wdl-info-sub{
    margin-top:3px !important;
    font-size:9px !important;
}

@media(max-width:700px){
    .wdl-live-info-grid{
        max-width:400px !important;
        gap:10px !important;
    }

    .wdl-info-card{
        padding:11px 14px !important;
    }

    .wdl-info-value{
        font-size:16px !important;
    }
}


/* Desktop: Full Website Width Live Cards */
@media (min-width: 901px){
    .wdl-live-info-grid{
        width:100% !important;
        max-width:1400px !important;
        margin:18px auto 40px !important;
        padding:0 28px !important;
        box-sizing:border-box !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:18px !important;
    }

    .wdl-info-card{
        min-height:0 !important;
        height:auto !important;
        padding:14px 20px !important;
    }
}

@media (max-width:900px){
    .wdl-live-info-grid{
        width:100% !important;
        box-sizing:border-box !important;
    }
}


/* =================================
   FULL SCREEN DESKTOP LAYOUT
================================= */

@media (min-width: 901px){

    html,
    body{
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
        padding:0 !important;
    }

    .site-header,
    .site-header-inner,
    header{
        width:100% !important;
        max-width:none !important;
        box-sizing:border-box !important;
    }

    .wdl-home{
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
        padding-left:0 !important;
        padding-right:0 !important;
    }

    .wdl-hero{
        width:100% !important;
        max-width:none !important;
        box-sizing:border-box !important;
    }

    /* Keep live cards mini */
    .wdl-live-info-grid{
        width:100% !important;
        max-width:none !important;
        box-sizing:border-box !important;
    }

    .wdl-info-card{
        width:auto !important;
    }

    .site-footer{
        width:100% !important;
    }
}

/* Mobile remains unchanged */
@media (max-width:900px){
    .wdl-home,
    .wdl-hero,
    .wdl-live-info-grid{
        width:100%;
        box-sizing:border-box;
    }
}


/* =================================
   MINI LIVE INFO CARDS
================================= */

.wdl-live-info-grid{
    display:flex !important;
    justify-content:center !important;
    align-items:stretch !important;
    gap:10px !important;
    width:100% !important;
    max-width:100% !important;
    margin:14px auto 30px !important;
    padding:0 12px !important;
    box-sizing:border-box !important;
}

.wdl-info-card{
    flex:0 1 280px !important;
    width:280px !important;
    min-width:0 !important;
    max-width:280px !important;
    min-height:105px !important;
    height:105px !important;
    padding:11px 14px !important;
    box-sizing:border-box !important;
    border-radius:12px !important;
}

.wdl-info-top{
    margin-bottom:6px !important;
}

.wdl-info-icon{
    width:26px !important;
    height:26px !important;
    font-size:13px !important;
}

.wdl-info-title{
    font-size:11px !important;
    gap:6px !important;
}

.wdl-info-badge{
    font-size:8px !important;
    padding:3px 6px !important;
}

.wdl-info-value{
    font-size:16px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.wdl-info-sub{
    font-size:9px !important;
    margin-top:3px !important;
    line-height:1.3 !important;
}

@media(max-width:700px){
    .wdl-live-info-grid{
        display:grid !important;
        grid-template-columns:1fr !important;
        max-width:340px !important;
        gap:9px !important;
    }

    .wdl-info-card{
        width:100% !important;
        max-width:none !important;
        height:100px !important;
        min-height:100px !important;
    }
}


/* ===== EXTRA MINI INFO CARDS ===== */

.wdl-live-info-grid{
    gap:8px !important;
    margin:12px auto 25px !important;
    padding:0 10px !important;
}

.wdl-info-card{
    flex:0 1 220px !important;
    width:220px !important;
    max-width:220px !important;
    min-height:78px !important;
    height:78px !important;
    padding:8px 11px !important;
    border-radius:10px !important;
}

.wdl-info-top{
    margin-bottom:4px !important;
}

.wdl-info-icon{
    width:22px !important;
    height:22px !important;
    border-radius:6px !important;
    font-size:11px !important;
}

.wdl-info-title{
    font-size:10px !important;
    gap:5px !important;
}

.wdl-info-badge{
    padding:2px 5px !important;
    font-size:7px !important;
}

.wdl-info-value{
    font-size:14px !important;
    line-height:1 !important;
}

.wdl-info-sub{
    margin-top:3px !important;
    font-size:8px !important;
    line-height:1.1 !important;
}

@media(max-width:700px){
    .wdl-live-info-grid{
        gap:7px !important;
        max-width:300px !important;
    }

    .wdl-info-card{
        width:100% !important;
        max-width:100% !important;
        height:74px !important;
        min-height:74px !important;
        padding:8px 10px !important;
    }

    .wdl-info-value{
        font-size:13px !important;
    }
}


/* Visitor Population - Extra Mini */
.wdl-info-card:has(#wdlVisitorPopulation){
    flex:0 1 180px !important;
    width:180px !important;
    max-width:180px !important;
    min-height:65px !important;
    height:65px !important;
    padding:7px 9px !important;
}

.wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-top{
    margin-bottom:3px !important;
}

.wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-icon{
    width:19px !important;
    height:19px !important;
    font-size:10px !important;
}

.wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-title{
    font-size:9px !important;
}

.wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-badge{
    font-size:6px !important;
    padding:2px 4px !important;
}

.wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-value{
    font-size:12px !important;
}

.wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-sub{
    font-size:7px !important;
    margin-top:2px !important;
}

@media(max-width:700px){
    .wdl-info-card:has(#wdlVisitorPopulation){
        width:100% !important;
        max-width:100% !important;
        height:65px !important;
        min-height:65px !important;
    }
}


/* Visitor Population - MINI on Mobile */
@media (max-width:700px){

    .wdl-info-card:has(#wdlVisitorPopulation){
        width:180px !important;
        max-width:180px !important;
        min-width:180px !important;
        height:65px !important;
        min-height:65px !important;
        padding:7px 9px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }

    .wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-icon{
        width:19px !important;
        height:19px !important;
        font-size:10px !important;
    }

    .wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-title{
        font-size:9px !important;
    }

    .wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-badge{
        font-size:6px !important;
        padding:2px 4px !important;
    }

    .wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-value{
        font-size:12px !important;
    }

    .wdl-info-card:has(#wdlVisitorPopulation) .wdl-info-sub{
        font-size:7px !important;
    }
}


/* Visitor Population = World Population Card Size */
.wdl-info-card:has(#wdlVisitorPopulation){
    flex:0 1 220px !important;
    width:220px !important;
    max-width:220px !important;
    min-width:220px !important;
    height:78px !important;
    min-height:78px !important;
    padding:8px 11px !important;
    margin:0 !important;
}

@media(max-width:700px){
    .wdl-info-card:has(#wdlVisitorPopulation){
        width:220px !important;
        max-width:220px !important;
        min-width:220px !important;
        height:78px !important;
        min-height:78px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
}


/* FORCE VISITOR POPULATION SAME SIZE AS WORLD POPULATION */
.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorPopulation){
    width:220px !important;
    max-width:220px !important;
    min-width:220px !important;
    height:78px !important;
    min-height:78px !important;
    max-height:78px !important;
    flex:0 0 220px !important;
    box-sizing:border-box !important;
    padding:8px 11px !important;
    margin:0 !important;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlWorldPopulation){
    width:220px !important;
    max-width:220px !important;
    min-width:220px !important;
    height:78px !important;
    min-height:78px !important;
    max-height:78px !important;
    flex:0 0 220px !important;
    box-sizing:border-box !important;
    padding:8px 11px !important;
    margin:0 !important;
}

@media(max-width:700px){
    .wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorPopulation),
    .wdl-live-info-grid > .wdl-info-card:has(#wdlWorldPopulation){
        width:220px !important;
        max-width:220px !important;
        min-width:220px !important;
        height:78px !important;
        min-height:78px !important;
        max-height:78px !important;
        flex:0 0 220px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
}


/* ==========================================
   DESKTOP: POPULATION CARDS SIDE BY SIDE
========================================== */

@media (min-width:701px){

    .wdl-live-info-grid{
        display:flex !important;
        flex-direction:row !important;
        justify-content:center !important;
        align-items:stretch !important;
        flex-wrap:nowrap !important;
        gap:10px !important;
    }

    .wdl-live-info-grid .wdl-info-card:has(#wdlWorldPopulation),
    .wdl-live-info-grid .wdl-info-card:has(#wdlVisitorPopulation){
        width:220px !important;
        min-width:220px !important;
        max-width:220px !important;
        height:78px !important;
        min-height:78px !important;
        max-height:78px !important;
        flex:0 0 220px !important;
        box-sizing:border-box !important;
        margin:0 !important;
        padding:8px 11px !important;
    }

}

/* Mobile: keep existing layout */
@media (max-width:700px){

    .wdl-live-info-grid{
        display:grid !important;
        grid-template-columns:1fr !important;
    }

}


/* =========================================================
   HOMEPAGE — 3 LIVE INFO CARDS
   ========================================================= */

.wdl-home .wdl-live-info-grid{
    width:100% !important;
    max-width:720px !important;
    margin:18px auto 0 !important;
    display:flex !important;
    flex-direction:row !important;
    justify-content:center !important;
    align-items:stretch !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
}

.wdl-home .wdl-live-info-grid .wdl-info-card{
    flex:0 0 220px !important;
    width:220px !important;
    min-width:220px !important;
    max-width:220px !important;
    height:78px !important;
    min-height:78px !important;
    max-height:78px !important;
    box-sizing:border-box !important;
    margin:0 !important;
    padding:8px 11px !important;
    overflow:hidden !important;
}

.wdl-home .wdl-live-info-grid .wdl-info-top{
    margin-bottom:4px !important;
}

.wdl-home .wdl-live-info-grid .wdl-info-title{
    font-size:12px !important;
    line-height:16px !important;
}

.wdl-home .wdl-live-info-grid .wdl-info-icon{
    font-size:14px !important;
}

.wdl-home .wdl-live-info-grid .wdl-info-badge{
    font-size:8px !important;
    padding:2px 5px !important;
}

.wdl-home .wdl-live-info-grid .wdl-info-value{
    font-size:18px !important;
    line-height:21px !important;
    margin:0 !important;
}

.wdl-home .wdl-live-info-grid .wdl-info-sub{
    font-size:9px !important;
    line-height:12px !important;
    margin-top:2px !important;
}

@media (max-width:700px){

    .wdl-home .wdl-live-info-grid{
        width:100% !important;
        max-width:100% !important;
        display:grid !important;
        grid-template-columns:1fr !important;
        justify-items:center !important;
        gap:10px !important;
    }

    .wdl-home .wdl-live-info-grid .wdl-info-card{
        width:220px !important;
        min-width:220px !important;
        max-width:220px !important;
        height:78px !important;
        min-height:78px !important;
        max-height:78px !important;
    }

}


/* =========================================================
   GLOBAL OVERVIEW
   ========================================================= */

.wdl-global-overview{
    width:100%;
    max-width:1100px;
    margin:42px auto 0;
    padding:0 18px 34px;
    box-sizing:border-box;
}

.wdl-global-heading{
    text-align:center;
    margin-bottom:20px;
}

.wdl-global-kicker{
    display:inline-block;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.5px;
    text-transform:uppercase;
    padding:5px 10px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    margin-bottom:7px;
}

.wdl-global-heading h2{
    margin:0;
    font-size:28px;
    line-height:34px;
    font-weight:800;
}

.wdl-global-heading p{
    margin:6px 0 0;
    font-size:13px;
    opacity:.68;
}

.wdl-global-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.wdl-global-card{
    min-height:128px;
    padding:15px 14px;
    border:1px solid rgba(100,116,139,.16);
    border-radius:14px;
    background:rgba(255,255,255,.72);
    box-shadow:0 5px 18px rgba(15,23,42,.06);
    box-sizing:border-box;
    transition:transform .2s ease,box-shadow .2s ease;
}

.wdl-global-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(15,23,42,.10);
}

.wdl-global-icon{
    font-size:20px;
    line-height:22px;
    margin-bottom:8px;
}

.wdl-global-label{
    font-size:11px;
    font-weight:700;
    opacity:.68;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.wdl-global-value{
    margin-top:3px;
    font-size:22px;
    line-height:27px;
    font-weight:800;
    letter-spacing:-.3px;
}

.wdl-global-unit{
    margin-top:1px;
    font-size:9px;
    opacity:.52;
}

.wdl-global-updated{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    margin-top:15px;
    font-size:10px;
    opacity:.58;
}

.wdl-global-live-dot{
    width:6px;
    height:6px;
    border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 0 3px rgba(34,197,94,.12);
}

@media(max-width:900px){
    .wdl-global-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .wdl-global-overview{
        margin-top:32px;
        padding-left:12px;
        padding-right:12px;
    }

    .wdl-global-heading h2{
        font-size:24px;
        line-height:30px;
    }

    .wdl-global-grid{
        grid-template-columns:repeat(2,1fr);
        gap:9px;
    }

    .wdl-global-card{
        min-height:115px;
        padding:12px 11px;
        border-radius:12px;
    }

    .wdl-global-value{
        font-size:18px;
        line-height:23px;
    }
}

@media(max-width:430px){
    .wdl-global-grid{
        grid-template-columns:1fr 1fr;
    }

    .wdl-global-card{
        min-height:108px;
    }

    .wdl-global-label{
        font-size:10px;
    }

    .wdl-global-value{
        font-size:17px;
    }
}



/* Global Overview - 12 card responsive layout */
.wdl-home .wdl-global-overview .wdl-global-grid{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:14px !important;
}

.wdl-home .wdl-global-overview .wdl-global-card{
    min-width:0 !important;
    box-sizing:border-box !important;
}

@media (max-width:900px){
    .wdl-home .wdl-global-overview .wdl-global-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width:700px){
    .wdl-home .wdl-global-overview .wdl-global-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:10px !important;
    }
}

@media (max-width:430px){
    .wdl-home .wdl-global-overview .wdl-global-grid{
        grid-template-columns:1fr !important;
    }
}

/* Global Overview - All cards identical */
.wdl-home .wdl-global-overview .wdl-global-grid{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:16px !important;
    align-items:stretch !important;
}

.wdl-home .wdl-global-overview .wdl-global-card{
    width:100% !important;
    min-width:0 !important;
    height:145px !important;
    min-height:145px !important;
    max-height:145px !important;
    box-sizing:border-box !important;
    margin:0 !important;
    padding:20px 16px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    overflow:hidden !important;
}

.wdl-home .wdl-global-overview .wdl-global-icon{
    width:38px !important;
    height:38px !important;
    min-height:38px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 auto 8px !important;
    font-size:25px !important;
    line-height:1 !important;
}

.wdl-home .wdl-global-overview .wdl-global-label{
    width:100% !important;
    min-height:20px !important;
    margin:0 0 6px !important;
    font-size:14px !important;
    line-height:20px !important;
    font-weight:600 !important;
    text-align:center !important;
}

.wdl-home .wdl-global-overview .wdl-global-value{
    width:100% !important;
    min-height:30px !important;
    margin:0 !important;
    font-size:22px !important;
    line-height:30px !important;
    font-weight:800 !important;
    text-align:center !important;
    white-space:nowrap !important;
}

@media(max-width:900px){
    .wdl-home .wdl-global-overview .wdl-global-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    }
}

@media(max-width:700px){
    .wdl-home .wdl-global-overview .wdl-global-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:12px !important;
    }

    .wdl-home .wdl-global-overview .wdl-global-card{
        height:140px !important;
        min-height:140px !important;
        max-height:140px !important;
    }
}

@media(max-width:430px){
    .wdl-home .wdl-global-overview .wdl-global-grid{
        grid-template-columns:1fr !important;
    }

    .wdl-home .wdl-global-overview .wdl-global-card{
        width:100% !important;
        height:135px !important;
        min-height:135px !important;
        max-height:135px !important;
    }
}

/* Homepage - Navigation Data Sections */
.wdl-home-page-sections{
    width:100%;
    max-width:1100px;
    margin:0 auto;
}

.wdl-home-data-section{
    width:100%;
    margin:42px auto 0;
    padding:0 0 8px;
}

.wdl-home-section-heading{
    text-align:center;
    margin:0 auto 18px;
}

.wdl-home-section-heading span{
    display:inline-block;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    margin-bottom:5px;
}

.wdl-home-section-heading h2{
    margin:0;
    font-size:26px;
    line-height:1.2;
}

.wdl-home-section-heading p{
    margin:7px 0 0;
    font-size:14px;
    opacity:.72;
}

.wdl-home-five-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
}

.wdl-home-five-card{
    min-width:0;
    min-height:112px;
    box-sizing:border-box;
    padding:18px 14px;
    border:1px solid rgba(100,116,139,.20);
    border-radius:14px;
    background:var(--card-bg,#fff);
    text-decoration:none;
    display:flex;
    flex-direction:column;
    justify-content:center;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.wdl-home-five-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(15,23,42,.10);
}

.wdl-home-five-card strong{
    font-size:14px;
    line-height:1.4;
    color:inherit;
}

.wdl-home-five-card small{
    margin-top:7px;
    font-size:12px;
    line-height:1.45;
    opacity:.68;
    color:inherit;
}

@media(max-width:900px){
    .wdl-home-five-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:650px){
    .wdl-home-five-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .wdl-home-section-heading h2{
        font-size:23px;
    }
}

@media(max-width:430px){
    .wdl-home-five-grid{
        grid-template-columns:1fr;
    }

    .wdl-home-five-card{
        min-height:92px;
    }
}


/* Navigation page sections - professional vertical country lists */
.wdl-nav-data-sections{
    width:100%;
    max-width:1100px;
    margin:42px auto 0;
}

.wdl-page-data-section{
    width:100%;
    margin:0 0 42px;
}

.wdl-page-data-heading{
    text-align:center;
    margin:0 auto 18px;
}

.wdl-page-data-heading span{
    display:inline-block;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    margin-bottom:6px;
}

.wdl-page-data-heading h2{
    margin:0;
    font-size:26px;
    line-height:1.2;
}

.wdl-page-data-heading p{
    margin:7px 0 0;
    font-size:14px;
    opacity:.7;
}

.wdl-country-list{
    width:100%;
    max-width:850px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:9px;
}

.wdl-country-row{
    width:100%;
    min-height:70px;
    box-sizing:border-box;
    display:grid;
    grid-template-columns:48px minmax(180px,1fr) minmax(180px,1fr);
    align-items:center;
    gap:14px;
    padding:13px 18px;
    border:1px solid rgba(100,116,139,.18);
    border-radius:12px;
    background:var(--card-bg,#fff);
    color:inherit;
    text-decoration:none;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.wdl-country-row:hover{
    transform:translateX(4px);
    box-shadow:0 8px 22px rgba(15,23,42,.09);
    border-color:rgba(37,99,235,.28);
}

.wdl-country-row > span{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(37,99,235,.08);
    font-size:14px;
    font-weight:800;
}

.wdl-country-row strong{
    font-size:15px;
    line-height:1.35;
}

.wdl-country-row small{
    font-size:12px;
    line-height:1.4;
    opacity:.68;
    text-align:right;
}

@media(max-width:700px){
    .wdl-nav-data-sections{
        margin-top:32px;
    }

    .wdl-page-data-heading h2{
        font-size:23px;
    }

    .wdl-country-row{
        grid-template-columns:42px minmax(0,1fr);
        gap:11px;
        min-height:68px;
        padding:12px 14px;
    }

    .wdl-country-row small{
        grid-column:2;
        text-align:left;
        margin-top:-7px;
    }
}

@media(max-width:430px){
    .wdl-country-row{
        min-height:64px;
        padding:10px 12px;
    }

    .wdl-country-row strong{
        font-size:14px;
    }

    .wdl-country-row small{
        font-size:11px;
    }
}

/* =========================================================
   WorldDataLive Blog Page
   ========================================================= */

.wdl-blog-page{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:50px 20px 70px;
    box-sizing:border-box;
}

.wdl-blog-hero{
    text-align:center;
    margin-bottom:38px;
}

.wdl-blog-kicker{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 13px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    margin-bottom:12px;
}

.wdl-blog-hero h1{
    margin:0;
    font-size:clamp(30px,5vw,48px);
    line-height:1.1;
    font-weight:800;
}

.wdl-blog-hero p{
    margin:12px auto 0;
    max-width:650px;
    font-size:16px;
    line-height:1.7;
    opacity:.72;
}

.wdl-blog-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.wdl-blog-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    border:1px solid rgba(127,127,127,.18);
    border-radius:18px;
    background:var(--card-bg,#fff);
    box-shadow:0 8px 28px rgba(0,0,0,.06);
    transition:transform .2s ease,box-shadow .2s ease;
}

.wdl-blog-card:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 35px rgba(0,0,0,.10);
}

.wdl-blog-image{
    width:100%;
    height:210px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(14,165,233,.08));
    color:rgba(80,80,80,.55);
    font-size:13px;
    font-weight:700;
}

.wdl-blog-content{
    padding:20px;
}

.wdl-blog-meta{
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:10px;
    font-size:12px;
    font-weight:700;
    opacity:.58;
}

.wdl-blog-content h2{
    margin:0 0 9px;
    font-size:21px;
    line-height:1.3;
    font-weight:800;
}

.wdl-blog-content p{
    margin:0 0 18px;
    font-size:14px;
    line-height:1.65;
    opacity:.68;
}

.wdl-blog-read-more{
    display:inline-flex;
    align-items:center;
    gap:5px;
    text-decoration:none;
    font-size:14px;
    font-weight:800;
    color:#2563eb;
}

.wdl-blog-read-more:hover{
    text-decoration:underline;
}

/* Dark mode */

html.dark body .wdl-blog-card,
[data-theme="dark"] .wdl-blog-card{
    background:#111827;
    border-color:rgba(255,255,255,.10);
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

html.dark body .wdl-blog-image,
[data-theme="dark"] .wdl-blog-image{
    background:linear-gradient(135deg,rgba(59,130,246,.14),rgba(14,165,233,.10));
    color:rgba(255,255,255,.55);
}

/* Mobile */

@media(max-width:700px){

    .wdl-blog-page{
        padding:35px 14px 50px;
    }

    .wdl-blog-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .wdl-blog-image{
        height:180px;
    }

    .wdl-blog-content{
        padding:17px;
    }

    .wdl-blog-content h2{
        font-size:19px;
    }
}



/* =========================================================
   Homepage Blog Section
   ========================================================= */

.wdl-home-blog{
    width:100%;
    max-width:1200px;
    margin:45px auto 0;
    padding:0 20px 55px;
    box-sizing:border-box;
}

.wdl-home-blog-heading{
    text-align:center;
    margin-bottom:25px;
}

.wdl-home-blog-kicker{
    display:inline-flex;
    padding:5px 12px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
}

.wdl-home-blog-heading h2{
    margin:10px 0 7px;
    font-size:30px;
    font-weight:800;
}

.wdl-home-blog-heading p{
    margin:0;
    font-size:14px;
    opacity:.68;
}

.wdl-home-blog-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}

.wdl-home-blog-card{
    overflow:hidden;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#ffffff;
    box-shadow:0 4px 16px rgba(15,23,42,.06);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.wdl-home-blog-card:hover{
    transform:translateY(-3px);
    border-color:#d6deea;
    box-shadow:0 10px 24px rgba(15,23,42,.10);
}

.wdl-home-blog-image-link{
    display:block;
    width:100%;
    height:125px;
    overflow:hidden;
    background:#f1f5f9;
}

.wdl-home-blog-image-img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.wdl-home-blog-image-placeholder{
    height:125px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f1f5f9;
    font-size:12px;
    font-weight:700;
    color:#64748b;
}

.wdl-home-blog-body{
    position:relative;
    z-index:2;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    padding:14px;
    background:#ffffff;
    color:#111827;
}

.wdl-home-blog-body h3,
.wdl-home-blog-body h3 a{
    color:#111827 !important;
    visibility:visible !important;
    opacity:1 !important;
}

.wdl-home-blog-body p{
    color:#4b5563 !important;
}

.wdl-home-blog-meta{
    color:#64748b !important;
}

.wdl-home-blog-link{
    color:#2563eb !important;
}

.wdl-home-blog-body{
    padding:14px;
    background:#ffffff;
}

.wdl-home-blog-meta{
    margin-bottom:7px;
    font-size:10px;
    font-weight:700;
    color:#64748b;
    opacity:1;
}

.wdl-home-blog-body h3{
    margin:0 0 7px;
    font-size:16px;
    line-height:1.3;
    font-weight:800;
    color:#111827;
}

.wdl-home-blog-body h3 a{
    color:#111827;
    text-decoration:none;
}

.wdl-home-blog-body h3 a:hover{
    color:#2563eb;
}

.wdl-home-blog-body p{
    margin:0 0 12px;
    font-size:12px;
    line-height:1.5;
    color:#4b5563;
    opacity:1;
}

.wdl-home-blog-link{
    color:#2563eb;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.wdl-home-blog-link:hover{
    color:#1d4ed8;
    text-decoration:underline;
}

.wdl-home-blog-footer{
    text-align:center;
    margin-top:22px;
}

.wdl-home-blog-all{
    display:inline-flex;
    align-items:center;
    padding:9px 17px;
    border:1px solid #bfdbfe;
    border-radius:999px;
    background:#ffffff;
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.wdl-home-blog-all:hover{
    background:#eff6ff;
    border-color:#93c5fd;
}

/* Dark mode */

html.dark body .wdl-home-blog-card,
[data-theme="dark"] .wdl-home-blog-card{
    background:#111827;
    border-color:rgba(255,255,255,.10);
    box-shadow:0 8px 25px rgba(0,0,0,.25);
}

html.dark body .wdl-home-blog-image,
[data-theme="dark"] .wdl-home-blog-image{
    background:linear-gradient(135deg,rgba(59,130,246,.14),rgba(14,165,233,.10));
}

/* Responsive */

@media(max-width:1000px){
    .wdl-home-blog-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:700px){
    .wdl-home-blog{
        padding:0 14px 45px;
        margin-top:35px;
    }

    .wdl-home-blog-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .wdl-home-blog-card{
        display:flex;
        min-height:120px;
    }

    .wdl-home-blog-image-link{
        width:115px;
        min-width:115px;
        height:120px;
    }

    .wdl-home-blog-body{
        flex:1;
    }
}



/* =========================================================
   Homepage Ranking Section
   ========================================================= */

.wdl-home-ranking{
    width:100%;
    max-width:1000px;
    margin:10px auto 0;
    padding:35px 20px 55px;
    box-sizing:border-box;
}

.wdl-home-ranking-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-ranking-kicker{
    display:inline-flex;
    padding:5px 12px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
}

.wdl-home-ranking-heading h2{
    margin:10px 0 7px;
    font-size:30px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-ranking-heading p{
    margin:0;
    font-size:14px;
    opacity:.68;
}

.wdl-home-ranking-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wdl-home-ranking-card{
    width:100%;
    min-height:76px;
    display:flex;
    align-items:center;
    gap:15px;
    padding:10px 14px;
    box-sizing:border-box;
    border:1px solid rgba(127,127,127,.18);
    border-radius:14px;
    background:var(--card-bg,#fff);
    box-shadow:0 5px 18px rgba(0,0,0,.05);
    transition:transform .2s ease,box-shadow .2s ease;
}

.wdl-home-ranking-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(0,0,0,.08);
}

.wdl-ranking-position{
    width:34px;
    min-width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(37,99,235,.09);
    color:#2563eb;
    font-size:14px;
    font-weight:900;
}

.wdl-ranking-flag{
    width:48px;
    min-width:48px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:rgba(127,127,127,.08);
    font-size:10px;
    opacity:.6;
}

.wdl-ranking-country{
    flex:1;
    min-width:0;
}

.wdl-ranking-country h3{
    margin:0 0 3px;
    font-size:16px;
    font-weight:800;
}

.wdl-ranking-country span{
    font-size:11px;
    opacity:.55;
}

.wdl-ranking-value{
    min-width:130px;
    text-align:right;
}

.wdl-ranking-value span{
    font-size:13px;
    font-weight:800;
    opacity:.7;
}

.wdl-ranking-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 11px;
    border-radius:8px;
    color:#2563eb;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.wdl-ranking-link:hover{
    background:rgba(37,99,235,.08);
}

.wdl-home-ranking-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-ranking-all{
    display:inline-flex;
    padding:9px 17px;
    border:1px solid rgba(37,99,235,.25);
    border-radius:999px;
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.wdl-home-ranking-all:hover{
    background:rgba(37,99,235,.07);
}

/* Dark mode */

html.dark body .wdl-home-ranking-card,
[data-theme="dark"] .wdl-home-ranking-card{
    background:#111827;
    border-color:rgba(255,255,255,.10);
    box-shadow:0 7px 22px rgba(0,0,0,.25);
}

/* Mobile */

@media(max-width:700px){

    .wdl-home-ranking{
        padding:30px 14px 45px;
    }

    .wdl-home-ranking-card{
        min-height:70px;
        gap:10px;
        padding:9px 10px;
    }

    .wdl-ranking-position{
        width:30px;
        min-width:30px;
        height:30px;
        font-size:12px;
    }

    .wdl-ranking-flag{
        width:42px;
        min-width:42px;
        height:34px;
    }

    .wdl-ranking-country h3{
        font-size:14px;
    }

    .wdl-ranking-value{
        min-width:auto;
    }

    .wdl-ranking-value span{
        font-size:11px;
    }

    .wdl-ranking-link{
        padding:6px;
        font-size:11px;
    }
}



/* =========================================================
   Homepage Economy Section
   ========================================================= */

.wdl-home-economy{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    padding:35px 20px 55px;
    box-sizing:border-box;
}

.wdl-home-economy-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-economy-kicker{
    display:inline-flex;
    padding:5px 12px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
}

.wdl-home-economy-heading h2{
    margin:10px 0 7px;
    font-size:30px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-economy-heading p{
    margin:0;
    font-size:14px;
    opacity:.68;
}

.wdl-home-economy-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wdl-home-economy-card{
    width:100%;
    min-height:82px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:10px 14px;
    box-sizing:border-box;
    border:1px solid rgba(127,127,127,.18);
    border-radius:14px;
    background:var(--card-bg,#fff);
    box-shadow:0 5px 18px rgba(0,0,0,.05);
    transition:transform .2s ease,box-shadow .2s ease;
}

.wdl-home-economy-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(0,0,0,.08);
}

.wdl-economy-position{
    width:34px;
    min-width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(37,99,235,.09);
    color:#2563eb;
    font-size:14px;
    font-weight:900;
}

.wdl-economy-flag{
    width:48px;
    min-width:48px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:rgba(127,127,127,.08);
    font-size:10px;
    opacity:.6;
}

.wdl-economy-country{
    flex:1;
    min-width:150px;
}

.wdl-economy-country h3{
    margin:0 0 3px;
    font-size:16px;
    font-weight:800;
}

.wdl-economy-country span{
    font-size:11px;
    opacity:.55;
}

.wdl-economy-metric{
    min-width:105px;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.wdl-economy-metric span{
    font-size:10px;
    opacity:.52;
}

.wdl-economy-metric strong{
    font-size:13px;
    font-weight:800;
}

.wdl-economy-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 11px;
    border-radius:8px;
    color:#2563eb;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.wdl-economy-link:hover{
    background:rgba(37,99,235,.08);
}

.wdl-home-economy-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-economy-all{
    display:inline-flex;
    padding:9px 17px;
    border:1px solid rgba(37,99,235,.25);
    border-radius:999px;
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.wdl-home-economy-all:hover{
    background:rgba(37,99,235,.07);
}

/* Dark mode */

html.dark body .wdl-home-economy-card,
[data-theme="dark"] .wdl-home-economy-card{
    background:#111827;
    border-color:rgba(255,255,255,.10);
    box-shadow:0 7px 22px rgba(0,0,0,.25);
}

/* Mobile */

@media(max-width:700px){

    .wdl-home-economy{
        padding:30px 14px 45px;
    }

    .wdl-home-economy-card{
        min-height:76px;
        gap:9px;
        padding:9px 10px;
    }

    .wdl-economy-position{
        width:30px;
        min-width:30px;
        height:30px;
        font-size:12px;
    }

    .wdl-economy-flag{
        width:42px;
        min-width:42px;
        height:34px;
    }

    .wdl-economy-country{
        min-width:0;
    }

    .wdl-economy-country h3{
        font-size:14px;
    }

    .wdl-economy-metric{
        display:none;
    }

    .wdl-economy-link{
        padding:6px;
        font-size:11px;
    }
}



/* =========================================================
   Homepage Demographics Section
   ========================================================= */

.wdl-home-demographics{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    padding:35px 20px 55px;
    box-sizing:border-box;
}

.wdl-home-demographics-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-demographics-kicker{
    display:inline-flex;
    padding:5px 12px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
}

.wdl-home-demographics-heading h2{
    margin:10px 0 7px;
    font-size:30px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-demographics-heading p{
    margin:0;
    font-size:14px;
    opacity:.68;
}

.wdl-home-demographics-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wdl-home-demographics-card{
    width:100%;
    min-height:82px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:10px 14px;
    box-sizing:border-box;
    border:1px solid rgba(127,127,127,.18);
    border-radius:14px;
    background:var(--card-bg,#fff);
    box-shadow:0 5px 18px rgba(0,0,0,.05);
    transition:transform .2s ease,box-shadow .2s ease;
}

.wdl-home-demographics-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(0,0,0,.08);
}

.wdl-demo-position{
    width:34px;
    min-width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(37,99,235,.09);
    color:#2563eb;
    font-size:14px;
    font-weight:900;
}

.wdl-demo-flag{
    width:48px;
    min-width:48px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:rgba(127,127,127,.08);
    font-size:10px;
    opacity:.6;
}

.wdl-demo-country{
    flex:1;
    min-width:150px;
}

.wdl-demo-country h3{
    margin:0 0 3px;
    font-size:16px;
    font-weight:800;
}

.wdl-demo-country span{
    font-size:11px;
    opacity:.55;
}

.wdl-demo-metric{
    min-width:105px;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.wdl-demo-metric span{
    font-size:10px;
    opacity:.52;
}

.wdl-demo-metric strong{
    font-size:13px;
    font-weight:800;
}

.wdl-demo-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 11px;
    border-radius:8px;
    color:#2563eb;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.wdl-demo-link:hover{
    background:rgba(37,99,235,.08);
}

.wdl-home-demographics-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-demographics-all{
    display:inline-flex;
    padding:9px 17px;
    border:1px solid rgba(37,99,235,.25);
    border-radius:999px;
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.wdl-home-demographics-all:hover{
    background:rgba(37,99,235,.07);
}

/* Dark mode */

html.dark body .wdl-home-demographics-card,
[data-theme="dark"] .wdl-home-demographics-card{
    background:#111827;
    border-color:rgba(255,255,255,.10);
    box-shadow:0 7px 22px rgba(0,0,0,.25);
}

/* Mobile */

@media(max-width:700px){

    .wdl-home-demographics{
        padding:30px 14px 45px;
    }

    .wdl-home-demographics-card{
        min-height:76px;
        gap:9px;
        padding:9px 10px;
    }

    .wdl-demo-position{
        width:30px;
        min-width:30px;
        height:30px;
        font-size:12px;
    }

    .wdl-demo-flag{
        width:42px;
        min-width:42px;
        height:34px;
    }

    .wdl-demo-country{
        min-width:0;
    }

    .wdl-demo-country h3{
        font-size:14px;
    }

    .wdl-demo-metric{
        display:none;
    }

    .wdl-demo-link{
        padding:6px;
        font-size:11px;
    }
}



/* =========================================================
   Homepage Education Section
   ========================================================= */

.wdl-home-education{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    padding:35px 20px 55px;
    box-sizing:border-box;
}

.wdl-home-education-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-education-kicker{
    display:inline-flex;
    padding:5px 12px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
}

.wdl-home-education-heading h2{
    margin:10px 0 7px;
    font-size:30px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-education-heading p{
    margin:0;
    font-size:14px;
    opacity:.68;
}

.wdl-home-education-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wdl-home-education-card{
    width:100%;
    min-height:82px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:10px 14px;
    box-sizing:border-box;
    border:1px solid rgba(127,127,127,.18);
    border-radius:14px;
    background:var(--card-bg,#fff);
    box-shadow:0 5px 18px rgba(0,0,0,.05);
    transition:transform .2s ease,box-shadow .2s ease;
}

.wdl-home-education-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(0,0,0,.08);
}

.wdl-edu-position{
    width:34px;
    min-width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(37,99,235,.09);
    color:#2563eb;
    font-size:14px;
    font-weight:900;
}

.wdl-edu-flag{
    width:48px;
    min-width:48px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#fff;
    font-size:10px;
    opacity:1;
    filter:none;
    mix-blend-mode:normal;
}

.wdl-edu-flag img{
    display:block;
    width:42px;
    height:28px;
    min-width:42px;
    min-height:28px;
    object-fit:fill;
    opacity:1;
    filter:none;
    -webkit-filter:none;
    mix-blend-mode:normal;
    visibility:visible;
}

.wdl-edu-country{
    flex:1;
    min-width:150px;
}

.wdl-edu-country h3{
    margin:0 0 3px;
    font-size:16px;
    font-weight:800;
}

.wdl-edu-country span{
    font-size:11px;
    opacity:.55;
}

.wdl-edu-metric{
    min-width:110px;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.wdl-edu-metric span{
    font-size:10px;
    opacity:.52;
}

.wdl-edu-metric strong{
    font-size:13px;
    font-weight:800;
}

.wdl-edu-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 11px;
    border-radius:8px;
    color:#2563eb;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.wdl-edu-link:hover{
    background:rgba(37,99,235,.08);
}

.wdl-home-education-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-education-all{
    display:inline-flex;
    padding:9px 17px;
    border:1px solid rgba(37,99,235,.25);
    border-radius:999px;
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.wdl-home-education-all:hover{
    background:rgba(37,99,235,.07);
}

/* Dark mode */

html.dark body .wdl-home-education-card,
[data-theme="dark"] .wdl-home-education-card{
    background:#111827;
    border-color:rgba(255,255,255,.10);
    box-shadow:0 7px 22px rgba(0,0,0,.25);
}

/* Mobile */

@media(max-width:700px){

    .wdl-home-education{
        padding:30px 14px 45px;
    }

    .wdl-home-education-card{
        min-height:76px;
        gap:9px;
        padding:9px 10px;
    }

    .wdl-edu-position{
        width:30px;
        min-width:30px;
        height:30px;
        font-size:12px;
    }

    .wdl-edu-flag{
        width:42px;
        min-width:42px;
        height:34px;
    }

    .wdl-edu-country{
        min-width:0;
    }

    .wdl-edu-country h3{
        font-size:14px;
    }

    .wdl-edu-metric{
        display:none;
    }

    .wdl-edu-link{
        padding:6px;
        font-size:11px;
    }
}



/* =========================================================
   Homepage Tourism Section
   ========================================================= */

.wdl-home-tourism{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    padding:35px 20px 55px;
    box-sizing:border-box;
}

.wdl-home-tourism-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-tourism-kicker{
    display:inline-flex;
    padding:5px 12px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
}

.wdl-home-tourism-heading h2{
    margin:10px 0 7px;
    font-size:30px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-tourism-heading p{
    margin:0;
    font-size:14px;
    opacity:.68;
}

.wdl-home-tourism-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wdl-home-tourism-card{
    width:100%;
    min-height:82px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:10px 14px;
    box-sizing:border-box;
    border:1px solid rgba(127,127,127,.18);
    border-radius:14px;
    background:var(--card-bg,#fff);
    box-shadow:0 5px 18px rgba(0,0,0,.05);
    transition:transform .2s ease,box-shadow .2s ease;
}

.wdl-home-tourism-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(0,0,0,.08);
}

.wdl-tourism-position{
    width:34px;
    min-width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(37,99,235,.09);
    color:#2563eb;
    font-size:14px;
    font-weight:900;
}

.wdl-tourism-flag{
    width:48px;
    min-width:48px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#fff;
    font-size:10px;
    opacity:1;
    filter:none;
    -webkit-filter:none;
    mix-blend-mode:normal;
    isolation:isolate;
}

.wdl-tourism-flag img{
    display:block;
    width:42px;
    height:28px;
    min-width:42px;
    min-height:28px;
    max-width:42px;
    max-height:28px;
    object-fit:fill;
    object-position:center;
    opacity:1;
    filter:none;
    -webkit-filter:none;
    mix-blend-mode:normal;
    visibility:visible;
    background:transparent;
    border:0;
    box-shadow:none;
}

.wdl-tourism-country{
    flex:1;
    min-width:150px;
}

.wdl-tourism-country h3{
    margin:0 0 3px;
    font-size:16px;
    font-weight:800;
}

.wdl-tourism-country span{
    font-size:11px;
    opacity:.55;
}

.wdl-tourism-metric{
    min-width:110px;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.wdl-tourism-metric span{
    font-size:10px;
    opacity:.52;
}

.wdl-tourism-metric strong{
    font-size:13px;
    font-weight:800;
}

.wdl-tourism-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 11px;
    border-radius:8px;
    color:#2563eb;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.wdl-tourism-link:hover{
    background:rgba(37,99,235,.08);
}

.wdl-home-tourism-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-tourism-all{
    display:inline-flex;
    padding:9px 17px;
    border:1px solid rgba(37,99,235,.25);
    border-radius:999px;
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.wdl-home-tourism-all:hover{
    background:rgba(37,99,235,.07);
}

/* Dark mode */

html.dark body .wdl-home-tourism-card,
[data-theme="dark"] .wdl-home-tourism-card{
    background:#111827;
    border-color:rgba(255,255,255,.10);
    box-shadow:0 7px 22px rgba(0,0,0,.25);
}

/* Mobile */

@media(max-width:700px){

    .wdl-home-tourism{
        padding:30px 14px 45px;
    }

    .wdl-home-tourism-card{
        min-height:76px;
        gap:9px;
        padding:9px 10px;
    }

    .wdl-tourism-position{
        width:30px;
        min-width:30px;
        height:30px;
        font-size:12px;
    }

    .wdl-tourism-flag{
        width:42px;
        min-width:42px;
        height:34px;
    }

    .wdl-tourism-country{
        min-width:0;
    }

    .wdl-tourism-country h3{
        font-size:14px;
    }

    .wdl-tourism-metric{
        display:none;
    }

    .wdl-tourism-link{
        padding:6px;
        font-size:11px;
    }
}



/* =========================================================
   Homepage Banking Section
   ========================================================= */

.wdl-home-banking{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    padding:35px 20px 55px;
    box-sizing:border-box;
}

.wdl-home-banking-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-banking-kicker{
    display:inline-flex;
    padding:5px 12px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
}

.wdl-home-banking-heading h2{
    margin:10px 0 7px;
    font-size:30px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-banking-heading p{
    margin:0;
    font-size:14px;
    opacity:.68;
}

.wdl-home-banking-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wdl-home-banking-card{
    width:100%;
    min-height:82px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:10px 14px;
    box-sizing:border-box;
    border:1px solid rgba(127,127,127,.18);
    border-radius:14px;
    background:var(--card-bg,#fff);
    box-shadow:0 5px 18px rgba(0,0,0,.05);
    transition:transform .2s ease,box-shadow .2s ease;
}

.wdl-home-banking-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(0,0,0,.08);
}

.wdl-bank-position{
    width:34px;
    min-width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(37,99,235,.09);
    color:#2563eb;
    font-size:14px;
    font-weight:900;
}

.wdl-bank-logo{
    width:48px;
    min-width:48px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:rgba(127,127,127,.08);
    font-size:10px;
    opacity:.6;
}

.wdl-bank-name{
    flex:1;
    min-width:150px;
}

.wdl-bank-name h3{
    margin:0 0 3px;
    font-size:16px;
    font-weight:800;
}

.wdl-bank-name span{
    font-size:11px;
    opacity:.55;
}

.wdl-bank-metric{
    min-width:105px;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.wdl-bank-metric span{
    font-size:10px;
    opacity:.52;
}

.wdl-bank-metric strong{
    font-size:13px;
    font-weight:800;
}

.wdl-bank-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 11px;
    border-radius:8px;
    color:#2563eb;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.wdl-bank-link:hover{
    background:rgba(37,99,235,.08);
}

.wdl-home-banking-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-banking-all{
    display:inline-flex;
    padding:9px 17px;
    border:1px solid rgba(37,99,235,.25);
    border-radius:999px;
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.wdl-home-banking-all:hover{
    background:rgba(37,99,235,.07);
}

/* Dark mode */

html.dark body .wdl-home-banking-card,
[data-theme="dark"] .wdl-home-banking-card{
    background:#111827;
    border-color:rgba(255,255,255,.10);
    box-shadow:0 7px 22px rgba(0,0,0,.25);
}

/* Mobile */

@media(max-width:700px){

    .wdl-home-banking{
        padding:30px 14px 45px;
    }

    .wdl-home-banking-card{
        min-height:76px;
        gap:9px;
        padding:9px 10px;
    }

    .wdl-bank-position{
        width:30px;
        min-width:30px;
        height:30px;
        font-size:12px;
    }

    .wdl-bank-logo{
        width:42px;
        min-width:42px;
        height:34px;
    }

    .wdl-bank-name{
        min-width:0;
    }

    .wdl-bank-name h3{
        font-size:14px;
    }

    .wdl-bank-metric{
        display:none;
    }

    .wdl-bank-link{
        padding:6px;
        font-size:11px;
    }
}



/* =========================================================
   Homepage Energy Section
   ========================================================= */

.wdl-home-energy{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    padding:35px 20px 55px;
    box-sizing:border-box;
}

.wdl-home-energy-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-energy-kicker{
    display:inline-flex;
    padding:5px 12px;
    border-radius:999px;
    background:rgba(37,99,235,.10);
    color:#2563eb;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
}

.wdl-home-energy-heading h2{
    margin:10px 0 7px;
    font-size:30px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-energy-heading p{
    margin:0;
    font-size:14px;
    opacity:.68;
}

.wdl-home-energy-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wdl-home-energy-card{
    width:100%;
    min-height:82px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:10px 14px;
    box-sizing:border-box;
    border:1px solid rgba(127,127,127,.18);
    border-radius:14px;
    background:var(--card-bg,#fff);
    box-shadow:0 5px 18px rgba(0,0,0,.05);
    transition:transform .2s ease,box-shadow .2s ease;
}

.wdl-home-energy-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(0,0,0,.08);
}

.wdl-energy-position{
    width:34px;
    min-width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(37,99,235,.09);
    color:#2563eb;
    font-size:14px;
    font-weight:900;
}

.wdl-energy-icon{
    width:48px;
    min-width:48px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:rgba(127,127,127,.08);
    font-size:10px;
    opacity:.6;
}

.wdl-energy-country{
    flex:1;
    min-width:150px;
}

.wdl-energy-country h3{
    margin:0 0 3px;
    font-size:16px;
    font-weight:800;
}

.wdl-energy-country span{
    font-size:11px;
    opacity:.55;
}

.wdl-energy-metric{
    min-width:120px;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.wdl-energy-metric span{
    font-size:10px;
    opacity:.52;
}

.wdl-energy-metric strong{
    font-size:13px;
    font-weight:800;
}

.wdl-energy-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 11px;
    border-radius:8px;
    color:#2563eb;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.wdl-energy-link:hover{
    background:rgba(37,99,235,.08);
}

.wdl-home-energy-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-energy-all{
    display:inline-flex;
    padding:9px 17px;
    border:1px solid rgba(37,99,235,.25);
    border-radius:999px;
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.wdl-home-energy-all:hover{
    background:rgba(37,99,235,.07);
}

/* Dark mode */

html.dark body .wdl-home-energy-card,
[data-theme="dark"] .wdl-home-energy-card{
    background:#111827;
    border-color:rgba(255,255,255,.10);
    box-shadow:0 7px 22px rgba(0,0,0,.25);
}

/* Mobile */

@media(max-width:700px){

    .wdl-home-energy{
        padding:30px 14px 45px;
    }

    .wdl-home-energy-card{
        min-height:76px;
        gap:9px;
        padding:9px 10px;
    }

    .wdl-energy-position{
        width:30px;
        min-width:30px;
        height:30px;
        font-size:12px;
    }

    .wdl-energy-icon{
        width:42px;
        min-width:42px;
        height:34px;
    }

    .wdl-energy-country{
        min-width:0;
    }

    .wdl-energy-country h3{
        font-size:14px;
    }

    .wdl-energy-metric{
        display:none;
    }

    .wdl-energy-link{
        padding:6px;
        font-size:11px;
    }
}



/* Homepage Weather Section */
.wdl-home-weather{
    width:100%;
    max-width:1200px;
    margin:42px auto 0;
    padding:0 18px;
    box-sizing:border-box;
}

.wdl-home-weather-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-weather-kicker{
    display:inline-block;
    font-size:12px;
    font-weight:800;
    letter-spacing:.14em;
    color:#2563eb;
    margin-bottom:7px;
}

.wdl-home-weather-heading h2{
    margin:0;
    font-size:28px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-weather-heading p{
    margin:8px auto 0;
    max-width:650px;
    color:#64748b;
    font-size:14px;
}

.wdl-home-weather-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.wdl-home-weather-card{
    display:grid;
    grid-template-columns:52px 100px minmax(180px,1fr) 150px 150px 80px;
    align-items:center;
    gap:16px;
    min-height:82px;
    padding:14px 18px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(15,23,42,.05);
}

.wdl-weather-position{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#eff6ff;
    color:#2563eb;
    font-weight:800;
}

.wdl-weather-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    height:48px;
    border-radius:12px;
    background:#f1f5f9;
    color:#64748b;
    font-size:11px;
    font-weight:700;
}

.wdl-weather-country h3{
    margin:0;
    font-size:16px;
    font-weight:800;
}

.wdl-weather-country span{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:12px;
}

.wdl-weather-metric span{
    display:block;
    color:#64748b;
    font-size:11px;
    margin-bottom:4px;
}

.wdl-weather-metric strong{
    font-size:15px;
    font-weight:800;
}

.wdl-weather-link{
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
}

.wdl-weather-link:hover{
    text-decoration:underline;
}

.wdl-home-weather-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-weather-all{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 18px;
    border-radius:10px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

@media(max-width:850px){
    .wdl-home-weather-card{
        grid-template-columns:44px 90px 1fr 110px 110px 65px;
        gap:10px;
        padding:12px;
    }
}

@media(max-width:700px){
    .wdl-home-weather{
        padding:0 12px;
    }

    .wdl-home-weather-heading h2{
        font-size:24px;
    }

    .wdl-home-weather-card{
        grid-template-columns:42px 1fr auto;
        gap:12px;
        min-height:auto;
        padding:14px;
    }

    .wdl-weather-icon{
        display:none;
    }

    .wdl-weather-country{
        grid-column:2;
    }

    .wdl-weather-metric{
        grid-column:2;
    }

    .wdl-weather-metric:nth-of-type(5){
        grid-column:3;
        grid-row:2;
    }

    .wdl-weather-link{
        grid-column:3;
        grid-row:1;
    }
}




/* Homepage Conflicts Section */
.wdl-home-conflicts{
    width:100%;
    max-width:1200px;
    margin:42px auto 0;
    padding:0 18px;
    box-sizing:border-box;
}

.wdl-home-conflicts-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-conflicts-kicker{
    display:inline-block;
    font-size:12px;
    font-weight:800;
    letter-spacing:.14em;
    color:#dc2626;
    margin-bottom:7px;
}

.wdl-home-conflicts-heading h2{
    margin:0;
    font-size:28px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-conflicts-heading p{
    margin:8px auto 0;
    max-width:680px;
    color:#64748b;
    font-size:14px;
}

.wdl-home-conflicts-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.wdl-home-conflict-card{
    display:grid;
    grid-template-columns:52px 100px minmax(180px,1fr) 130px 140px 80px;
    align-items:center;
    gap:16px;
    min-height:82px;
    padding:14px 18px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(15,23,42,.05);
}

.wdl-conflict-position{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fef2f2;
    color:#dc2626;
    font-weight:800;
}

.wdl-conflict-status{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    height:42px;
    border-radius:11px;
    background:#fef2f2;
    color:#b91c1c;
    font-size:11px;
    font-weight:800;
}

.wdl-conflict-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#dc2626;
    flex:0 0 auto;
}

.wdl-conflict-info h3{
    margin:0;
    font-size:16px;
    font-weight:800;
}

.wdl-conflict-info span{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:12px;
}

.wdl-conflict-metric span{
    display:block;
    color:#64748b;
    font-size:11px;
    margin-bottom:4px;
}

.wdl-conflict-metric strong{
    font-size:14px;
    font-weight:800;
}

.wdl-conflict-link{
    color:#dc2626;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
}

.wdl-conflict-link:hover{
    text-decoration:underline;
}

.wdl-home-conflicts-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-conflicts-all{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 18px;
    border-radius:10px;
    background:#dc2626;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

@media(max-width:850px){
    .wdl-home-conflict-card{
        grid-template-columns:44px 90px 1fr 100px 100px 65px;
        gap:10px;
        padding:12px;
    }
}

@media(max-width:700px){
    .wdl-home-conflicts{
        padding:0 12px;
    }

    .wdl-home-conflicts-heading h2{
        font-size:24px;
    }

    .wdl-home-conflict-card{
        grid-template-columns:42px 1fr auto;
        gap:12px;
        min-height:auto;
        padding:14px;
    }

    .wdl-conflict-status{
        display:none;
    }

    .wdl-conflict-info{
        grid-column:2;
    }

    .wdl-conflict-metric{
        grid-column:2;
    }

    .wdl-conflict-metric:nth-of-type(5){
        grid-column:3;
        grid-row:2;
    }

    .wdl-conflict-link{
        grid-column:3;
        grid-row:1;
    }
}




/* Homepage Countries Section */
.wdl-home-countries{
    width:100%;
    max-width:1200px;
    margin:42px auto 0;
    padding:0 18px;
    box-sizing:border-box;
}

.wdl-home-countries-heading{
    text-align:center;
    margin-bottom:22px;
}

.wdl-home-countries-kicker{
    display:inline-block;
    font-size:12px;
    font-weight:800;
    letter-spacing:.14em;
    color:#2563eb;
    margin-bottom:7px;
}

.wdl-home-countries-heading h2{
    margin:0;
    font-size:28px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-countries-heading p{
    margin:8px auto 0;
    max-width:680px;
    color:#64748b;
    font-size:14px;
}

.wdl-home-countries-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.wdl-home-country-card{
    display:grid;
    grid-template-columns:52px 100px minmax(180px,1fr) 140px 140px 80px;
    align-items:center;
    gap:16px;
    min-height:82px;
    padding:14px 18px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(15,23,42,.05);
}

.wdl-country-position{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#eff6ff;
    color:#2563eb;
    font-weight:800;
}

.wdl-country-flag{
    display:flex;
    align-items:center;
    justify-content:center;
    height:48px;
    border-radius:12px;
    background:#f1f5f9;
    color:#64748b;
    font-size:11px;
    font-weight:700;
}

.wdl-country-info h3{
    margin:0;
    font-size:16px;
    font-weight:800;
}

.wdl-country-info span{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:12px;
}

.wdl-country-metric span{
    display:block;
    color:#64748b;
    font-size:11px;
    margin-bottom:4px;
}

.wdl-country-metric strong{
    font-size:14px;
    font-weight:800;
}

.wdl-country-link{
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
}

.wdl-country-link:hover{
    text-decoration:underline;
}

.wdl-home-countries-footer{
    text-align:center;
    margin-top:20px;
}

.wdl-home-countries-all{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 18px;
    border-radius:10px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

@media(max-width:850px){
    .wdl-home-country-card{
        grid-template-columns:44px 90px 1fr 110px 110px 65px;
        gap:10px;
        padding:12px;
    }
}

@media(max-width:700px){
    .wdl-home-countries{
        padding:0 12px;
    }

    .wdl-home-countries-heading h2{
        font-size:24px;
    }

    .wdl-home-country-card{
        grid-template-columns:42px 1fr auto;
        gap:12px;
        min-height:auto;
        padding:14px;
    }

    .wdl-country-flag{
        display:none;
    }

    .wdl-country-info{
        grid-column:2;
    }

    .wdl-country-metric{
        grid-column:2;
    }

    .wdl-country-metric:nth-of-type(5){
        grid-column:3;
        grid-row:2;
    }

    .wdl-country-link{
        grid-column:3;
        grid-row:1;
    }
}



/* =========================================================
   WorldDataLive - Unified Homepage Dark Mode
   Uses html.dark body to match main.js theme system
   ========================================================= */

html.dark body .wdl-home-blog-card,
html.dark body .wdl-home-ranking-card,
html.dark body .wdl-home-economy-card,
html.dark body .wdl-home-demographics-card,
html.dark body .wdl-home-education-card,
html.dark body .wdl-home-tourism-card,
html.dark body .wdl-home-banking-card,
html.dark body .wdl-home-energy-card,
html.dark body .wdl-home-weather-card,
html.dark body .wdl-home-conflict-card,
html.dark body .wdl-home-country-card{
    background:#0e1a2c !important;
    border-color:#203149 !important;
    box-shadow:0 8px 28px rgba(0,0,0,.22) !important;
}

html.dark body .wdl-home-blog-card h3,
html.dark body .wdl-home-ranking-card h3,
html.dark body .wdl-home-economy-card h3,
html.dark body .wdl-home-demographics-card h3,
html.dark body .wdl-home-education-card h3,
html.dark body .wdl-home-tourism-card h3,
html.dark body .wdl-home-banking-card h3,
html.dark body .wdl-home-energy-card h3,
html.dark body .wdl-home-weather-card h3,
html.dark body .wdl-home-conflict-card h3,
html.dark body .wdl-home-country-card h3{
    color:#edf4ff !important;
}

html.dark body .wdl-home-blog-card p,
html.dark body .wdl-home-blog-card span,
html.dark body .wdl-home-ranking-card span,
html.dark body .wdl-home-economy-card span,
html.dark body .wdl-home-demographics-card span,
html.dark body .wdl-home-education-card span,
html.dark body .wdl-home-tourism-card span,
html.dark body .wdl-home-banking-card span,
html.dark body .wdl-home-energy-card span,
html.dark body .wdl-home-weather-card span,
html.dark body .wdl-home-conflict-card span,
html.dark body .wdl-home-country-card span{
    color:#9eacc0 !important;
}

html.dark body .wdl-info-card{
    background:#0e1a2c !important;
    border-color:#203149 !important;
}

html.dark body .wdl-info-title,
html.dark body .wdl-info-sub{
    color:#9eacc0 !important;
}

html.dark body .wdl-info-value{
    color:#edf4ff !important;
}

html.dark body .wdl-home-ranking-card:hover,
html.dark body .wdl-home-economy-card:hover,
html.dark body .wdl-home-demographics-card:hover,
html.dark body .wdl-home-education-card:hover,
html.dark body .wdl-home-tourism-card:hover,
html.dark body .wdl-home-banking-card:hover,
html.dark body .wdl-home-energy-card:hover,
html.dark body .wdl-home-weather-card:hover,
html.dark body .wdl-home-conflict-card:hover,
html.dark body .wdl-home-country-card:hover,
html.dark body .wdl-home-blog-card:hover{
    border-color:#355174 !important;
    background:#122039 !important;
}

html.dark body .wdl-country-flag,
html.dark body .wdl-weather-icon,
html.dark body .wdl-conflict-status,
html.dark body .wdl-country-position,
html.dark body .wdl-weather-position,
html.dark body .wdl-conflict-position,
html.dark body .wdl-energy-position,
html.dark body .wdl-energy-icon{
    background:#16263d !important;
    color:#b8c7da !important;
}

html.dark body .wdl-home-blog-image{
    background:#16263d !important;
}

html.dark body .wdl-home-blog-heading p,
html.dark body .wdl-home-ranking-heading p,
html.dark body .wdl-home-economy-heading p,
html.dark body .wdl-home-demographics-heading p,
html.dark body .wdl-home-education-heading p,
html.dark body .wdl-home-tourism-heading p,
html.dark body .wdl-home-banking-heading p,
html.dark body .wdl-home-energy-heading p,
html.dark body .wdl-home-weather-heading p,
html.dark body .wdl-home-conflicts-heading p,
html.dark body .wdl-home-countries-heading p{
    color:#9eacc0 !important;
}

html.dark body .wdl-home-blog-heading h2,
html.dark body .wdl-home-ranking-heading h2,
html.dark body .wdl-home-economy-heading h2,
html.dark body .wdl-home-demographics-heading h2,
html.dark body .wdl-home-education-heading h2,
html.dark body .wdl-home-tourism-heading h2,
html.dark body .wdl-home-banking-heading h2,
html.dark body .wdl-home-energy-heading h2,
html.dark body .wdl-home-weather-heading h2,
html.dark body .wdl-home-conflicts-heading h2,
html.dark body .wdl-home-countries-heading h2{
    color:#edf4ff !important;
}

html.dark body .wdl-home-blog-link,
html.dark body .wdl-ranking-link,
html.dark body .wdl-economy-link,
html.dark body .wdl-demographics-link,
html.dark body .wdl-education-link,
html.dark body .wdl-tourism-link,
html.dark body .wdl-banking-link,
html.dark body .wdl-energy-link,
html.dark body .wdl-weather-link,
html.dark body .wdl-conflict-link,
html.dark body .wdl-country-link{
    color:#60a5fa !important;
}

html.dark body .wdl-home-blog-all,
html.dark body .wdl-home-ranking-all,
html.dark body .wdl-home-economy-all,
html.dark body .wdl-home-demographics-all,
html.dark body .wdl-home-education-all,
html.dark body .wdl-home-tourism-all,
html.dark body .wdl-home-banking-all,
html.dark body .wdl-home-energy-all,
html.dark body .wdl-home-weather-all,
html.dark body .wdl-home-conflicts-all,
html.dark body .wdl-home-countries-all{
    color:#fff !important;
}


/* =========================================================
   GLOBAL OVERVIEW - FINAL DARK / LIGHT MODE
   Manual theme uses html.dark body from main.js
   ========================================================= */

.wdl-global-overview .wdl-info-card{
    background:#ffffff !important;
    border:1px solid #dce5ef !important;
    color:#172033 !important;
    box-shadow:0 8px 28px rgba(15,23,42,.07) !important;
}

.wdl-global-overview .wdl-info-title,
.wdl-global-overview .wdl-info-sub{
    color:#64748b !important;
}

.wdl-global-overview .wdl-info-value{
    color:#172033 !important;
}

.wdl-global-overview .wdl-info-icon{
    color:#2563eb !important;
}

html.dark body .wdl-global-overview .wdl-info-card{
    background:#0e1a2c !important;
    border-color:#203149 !important;
    color:#edf4ff !important;
    box-shadow:0 8px 28px rgba(0,0,0,.24) !important;
}

html.dark body .wdl-global-overview .wdl-info-title,
html.dark body .wdl-global-overview .wdl-info-sub{
    color:#9eacc0 !important;
}

html.dark body .wdl-global-overview .wdl-info-value{
    color:#edf4ff !important;
}

html.dark body .wdl-global-overview .wdl-info-icon{
    color:#60a5fa !important;
}

html.dark body .wdl-global-overview .wdl-info-card:hover{
    background:#122039 !important;
    border-color:#355174 !important;
}

.wdl-global-overview .wdl-info-card:hover{
    border-color:#bfd0e3 !important;
}


/* =========================================================
   GLOBAL OVERVIEW - HARD THEME LOCK
   Light = white cards
   Dark  = dark cards
   Manual theme only
   ========================================================= */

html:not(.dark) body .wdl-global-overview .wdl-info-card{
    background:#ffffff !important;
    border-color:#dce5ef !important;
    color:#172033 !important;
}

html:not(.dark) body .wdl-global-overview .wdl-info-title,
html:not(.dark) body .wdl-global-overview .wdl-info-sub{
    color:#64748b !important;
}

html:not(.dark) body .wdl-global-overview .wdl-info-value{
    color:#172033 !important;
}

html:not(.dark) body .wdl-global-overview .wdl-info-icon{
    color:#2563eb !important;
}

html.dark body .wdl-global-overview .wdl-info-card{
    background:#0e1a2c !important;
    border-color:#203149 !important;
    color:#edf4ff !important;
    box-shadow:0 8px 28px rgba(0,0,0,.25) !important;
}

html.dark body .wdl-global-overview .wdl-info-title,
html.dark body .wdl-global-overview .wdl-info-sub{
    color:#9eacc0 !important;
}

html.dark body .wdl-global-overview .wdl-info-value{
    color:#edf4ff !important;
}

html.dark body .wdl-global-overview .wdl-info-icon{
    color:#60a5fa !important;
}

html.dark body .wdl-global-overview .wdl-info-card:hover{
    background:#122039 !important;
    border-color:#355174 !important;
}


/* =========================================================
   GLOBAL OVERVIEW - FINAL DARK / LIGHT FIX
   Exact classes used by the 12 Global Overview cards
   ========================================================= */

html:not(.dark) body .wdl-global-overview .wdl-global-card{
    background:#ffffff !important;
    border:1px solid #dce5ef !important;
    color:#172033 !important;
    box-shadow:0 8px 28px rgba(15,23,42,.07) !important;
}

html:not(.dark) body .wdl-global-overview .wdl-global-icon{
    color:#2563eb !important;
}

html:not(.dark) body .wdl-global-overview .wdl-global-label{
    color:#64748b !important;
}

html:not(.dark) body .wdl-global-overview .wdl-global-value{
    color:#172033 !important;
}

html:not(.dark) body .wdl-global-overview .wdl-global-unit{
    color:#94a3b8 !important;
}

html.dark body .wdl-global-overview .wdl-global-card{
    background:#0e1a2c !important;
    border:1px solid #203149 !important;
    color:#edf4ff !important;
    box-shadow:0 8px 28px rgba(0,0,0,.25) !important;
}

html.dark body .wdl-global-overview .wdl-global-icon{
    color:#60a5fa !important;
}

html.dark body .wdl-global-overview .wdl-global-label{
    color:#9eacc0 !important;
}

html.dark body .wdl-global-overview .wdl-global-value{
    color:#edf4ff !important;
}

html.dark body .wdl-global-overview .wdl-global-unit{
    color:#8293aa !important;
}

html.dark body .wdl-global-overview .wdl-global-card:hover{
    background:#122039 !important;
    border-color:#355174 !important;
}

html:not(.dark) body .wdl-global-overview .wdl-global-card:hover{
    background:#ffffff !important;
    border-color:#bfd0e3 !important;
}



/* =========================================================
   WorldDataLive Uploaded Logo
   ========================================================= */

.wdl-logo-image-wrap{
    width:48px !important;
    height:48px !important;
    flex:0 0 48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    border-radius:10px !important;
    background:#fff !important;
}

.wdl-logo-image{
    width:100% !important;
    height:100% !important;
    display:block !important;
    object-fit:contain !important;
    object-position:center !important;
}

.footer-logo-image-wrap{
    width:46px !important;
    height:46px !important;
    flex:0 0 46px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    border-radius:10px !important;
    background:#fff !important;
}

.footer-logo-image{
    width:100% !important;
    height:100% !important;
    display:block !important;
    object-fit:contain !important;
    object-position:center !important;
}

@media (max-width:700px){
    .wdl-logo-image-wrap{
        width:42px !important;
        height:42px !important;
        flex-basis:42px !important;
    }

    .footer-logo-image-wrap{
        width:42px !important;
        height:42px !important;
        flex-basis:42px !important;
    }
}


/* Round logo containers */
.wdl-logo-image-wrap{
    width:48px !important;
    height:48px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    background:#fff !important;
    border:2px solid rgba(37,99,235,.15) !important;
    box-shadow:0 4px 14px rgba(15,23,42,.12) !important;
}

.wdl-logo-image{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    border-radius:50% !important;
}

.footer-logo-image-wrap{
    width:46px !important;
    height:46px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    background:#fff !important;
    border:2px solid rgba(37,99,235,.15) !important;
    box-shadow:0 4px 14px rgba(15,23,42,.12) !important;
}

.footer-logo-image{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    border-radius:50% !important;
}

@media (max-width:700px){
    .wdl-logo-image-wrap{
        width:42px !important;
        height:42px !important;
    }

    .footer-logo-image-wrap{
        width:42px !important;
        height:42px !important;
    }
}

/* FINAL CIRCULAR WEBSITE LOGO */
.wdl-logo-image-wrap,
.footer-logo-image-wrap{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
    max-width:48px !important;
    max-height:48px !important;
    flex:0 0 48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    border-radius:50% !important;
    background:#fff !important;
    aspect-ratio:1 / 1 !important;
}

.wdl-logo-image,
.footer-logo-image{
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    max-width:none !important;
    max-height:none !important;
    display:block !important;
    object-fit:cover !important;
    object-position:center !important;
    border-radius:50% !important;
    aspect-ratio:1 / 1 !important;
}

@media (max-width:700px){
    .wdl-logo-image-wrap,
    .footer-logo-image-wrap{
        width:42px !important;
        height:42px !important;
        min-width:42px !important;
        min-height:42px !important;
        max-width:42px !important;
        max-height:42px !important;
        flex-basis:42px !important;
    }
}

/* FINAL MOBILE LOGO SIZE */
@media (max-width:700px){
    .wdl-logo-image-wrap{
        width:34px !important;
        height:34px !important;
        min-width:34px !important;
        min-height:34px !important;
        max-width:34px !important;
        max-height:34px !important;
        flex:0 0 34px !important;
        border-radius:50% !important;
    }

    .wdl-logo-image{
        width:34px !important;
        height:34px !important;
        max-width:34px !important;
        max-height:34px !important;
        border-radius:50% !important;
    }

    .wdl-logo-text strong{
        font-size:17px !important;
    }

    .wdl-logo-text small{
        font-size:10px !important;
    }
}


/* =========================================================
   SEPARATE LOGO AND BRAND TEXT LINKS
   ========================================================= */

.wdl-logo{
    display:inline-flex !important;
    align-items:center !important;
    gap:10px !important;
    flex-shrink:0 !important;
}

.wdl-logo-image-link{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-decoration:none !important;
    flex:0 0 auto !important;
}

.wdl-logo-text-link{
    display:flex !important;
    align-items:center !important;
    text-decoration:none !important;
    flex:0 0 auto !important;
}

.wdl-logo-text-link:hover,
.wdl-logo-image-link:hover{
    text-decoration:none !important;
}

.wdl-logo-text-link .wdl-logo-text{
    cursor:pointer !important;
}

.wdl-logo-image-link .wdl-logo-image-wrap{
    cursor:pointer !important;
}

@media (max-width:700px){
    .wdl-logo{
        gap:8px !important;
    }
}

/* Remove unwanted line from logo text link */
.wdl-logo-text-link,
.wdl-logo-text-link:link,
.wdl-logo-text-link:visited,
.wdl-logo-text-link:hover,
.wdl-logo-text-link:active,
.wdl-logo-text-link:focus{
    text-decoration:none !important;
    border:0 !important;
    border-bottom:0 !important;
    box-shadow:none !important;
    outline:none !important;
    background:none !important;
}

.wdl-logo-text-link::before,
.wdl-logo-text-link::after{
    display:none !important;
    content:none !important;
}

/* ===== WorldDataLive Premium Wordmark ===== */
.wdl-logo-text-link,
.wdl-logo-text-link:link,
.wdl-logo-text-link:visited,
.wdl-logo-text-link:hover,
.wdl-logo-text-link:active,
.wdl-logo-text-link:focus{
    text-decoration:none !important;
    border:0 !important;
    outline:none !important;
    box-shadow:none !important;
    background:none !important;
}

.wdl-logo-text{
    display:block !important;
    white-space:nowrap !important;
    line-height:1 !important;
}

.wdl-logo-text strong{
    display:block !important;
    font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size:21px !important;
    font-weight:800 !important;
    letter-spacing:-0.7px !important;
    line-height:1 !important;
    color:#172033 !important;
    text-decoration:none !important;
}

.wdl-logo-text strong::first-letter{
    color:#172033;
}

html.dark body .wdl-logo-text strong{
    color:#edf4ff !important;
}

/* WorldDataLive color balance */
.wdl-logo-text strong{
    color:#172033 !important;
}

.wdl-logo-text strong .brand-blue{
    color:#2563eb !important;
}

html.dark body .wdl-logo-text strong .brand-blue{
    color:#60a5fa !important;
}

/* Make sure no decorative line appears */
.wdl-logo-text-link::before,
.wdl-logo-text-link::after,
.wdl-logo-text::before,
.wdl-logo-text::after{
    content:none !important;
    display:none !important;
}

@media (max-width:700px){
    .wdl-logo-text strong{
        font-size:17px !important;
        letter-spacing:-0.5px !important;
    }
}


/* ===== WorldDataLive Premium Wordmark Colors ===== */
.wdl-logo-text strong{
    display:block !important;
    font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size:21px !important;
    font-weight:800 !important;
    letter-spacing:-0.65px !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

.wdl-logo-text .wdl-word,
.wdl-logo-text .wdl-live{
    color:#172033 !important;
}

.wdl-logo-text .wdl-data{
    color:#2563eb !important;
}

html.dark body .wdl-logo-text .wdl-word,
html.dark body .wdl-logo-text .wdl-live{
    color:#edf4ff !important;
}

html.dark body .wdl-logo-text .wdl-data{
    color:#60a5fa !important;
}

@media (max-width:700px){
    .wdl-logo-text strong{
        font-size:17px !important;
        letter-spacing:-0.5px !important;
    }
}


/* ===== Footer Separate Logo + Text Buttons ===== */
.footer-logo{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
}

.footer-logo-image-link,
.footer-logo-text-link{
    text-decoration:none !important;
    border:0 !important;
    border-bottom:0 !important;
    box-shadow:none !important;
    outline:none !important;
    background:none !important;
}

.footer-logo-image-link:hover,
.footer-logo-image-link:focus,
.footer-logo-text-link:hover,
.footer-logo-text-link:focus{
    text-decoration:none !important;
    border:0 !important;
    box-shadow:none !important;
    outline:none !important;
}

.footer-logo-text{
    display:block !important;
}

.footer-logo-text strong{
    display:block !important;
    font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size:19px !important;
    font-weight:800 !important;
    letter-spacing:-0.55px !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

.footer-logo-text .wdl-word,
.footer-logo-text .wdl-live{
    color:#172033 !important;
}

.footer-logo-text .wdl-data{
    color:#2563eb !important;
}

html.dark body .footer-logo-text .wdl-word,
html.dark body .footer-logo-text .wdl-live{
    color:#edf4ff !important;
}

html.dark body .footer-logo-text .wdl-data{
    color:#60a5fa !important;
}

.footer-logo-image-link::before,
.footer-logo-image-link::after,
.footer-logo-text-link::before,
.footer-logo-text-link::after{
    content:none !important;
    display:none !important;
}

@media (max-width:700px){
    .footer-logo{
        gap:10px !important;
    }

    .footer-logo-text strong{
        font-size:17px !important;
    }
}


/* =========================================================
   HOMEPAGE WEATHER / CONFLICTS / COUNTRIES
   FIX LIGHT + DARK MODE
   Manual WDL theme controls these cards.
   ========================================================= */

/* ---------- LIGHT MODE ---------- */
html:not(.dark) body .wdl-home-weather-card,
html:not(.dark) body .wdl-home-conflict-card,
html:not(.dark) body .wdl-home-country-card{
    background:#ffffff !important;
    border:1px solid #e2e8f0 !important;
    box-shadow:0 6px 20px rgba(15,23,42,.05) !important;
    color:#172033 !important;
}

html:not(.dark) body .wdl-home-weather-heading h2,
html:not(.dark) body .wdl-home-conflicts-heading h2,
html:not(.dark) body .wdl-home-countries-heading h2,
html:not(.dark) body .wdl-weather-country h3,
html:not(.dark) body .wdl-conflict-info h3,
html:not(.dark) body .wdl-country-info h3,
html:not(.dark) body .wdl-weather-metric strong,
html:not(.dark) body .wdl-conflict-metric strong,
html:not(.dark) body .wdl-country-metric strong{
    color:#172033 !important;
}

html:not(.dark) body .wdl-home-weather-heading p,
html:not(.dark) body .wdl-home-conflicts-heading p,
html:not(.dark) body .wdl-home-countries-heading p,
html:not(.dark) body .wdl-weather-country span,
html:not(.dark) body .wdl-weather-metric span,
html:not(.dark) body .wdl-conflict-info span,
html:not(.dark) body .wdl-conflict-metric span,
html:not(.dark) body .wdl-country-info span,
html:not(.dark) body .wdl-country-metric span{
    color:#64748b !important;
}

html:not(.dark) body .wdl-weather-icon,
html:not(.dark) body .wdl-country-flag{
    background:#f1f5f9 !important;
    color:#64748b !important;
}

html:not(.dark) body .wdl-weather-position,
html:not(.dark) body .wdl-country-position{
    background:#eff6ff !important;
    color:#2563eb !important;
}

html:not(.dark) body .wdl-conflict-position,
html:not(.dark) body .wdl-conflict-status{
    background:#fef2f2 !important;
    color:#b91c1c !important;
}


/* ---------- DARK MODE ---------- */
html.dark body .wdl-home-weather-card,
html.dark body .wdl-home-conflict-card,
html.dark body .wdl-home-country-card{
    background:#0e1a2c !important;
    border:1px solid #203149 !important;
    box-shadow:0 8px 28px rgba(0,0,0,.25) !important;
    color:#edf4ff !important;
}

html.dark body .wdl-home-weather-heading h2,
html.dark body .wdl-home-conflicts-heading h2,
html.dark body .wdl-home-countries-heading h2,
html.dark body .wdl-weather-country h3,
html.dark body .wdl-conflict-info h3,
html.dark body .wdl-country-info h3,
html.dark body .wdl-weather-metric strong,
html.dark body .wdl-conflict-metric strong,
html.dark body .wdl-country-metric strong{
    color:#edf4ff !important;
}

html.dark body .wdl-home-weather-heading p,
html.dark body .wdl-home-conflicts-heading p,
html.dark body .wdl-home-countries-heading p,
html.dark body .wdl-weather-country span,
html.dark body .wdl-weather-metric span,
html.dark body .wdl-conflict-info span,
html.dark body .wdl-conflict-metric span,
html.dark body .wdl-country-info span,
html.dark body .wdl-country-metric span{
    color:#9eacc0 !important;
}

html.dark body .wdl-weather-icon,
html.dark body .wdl-country-flag{
    background:#122039 !important;
    color:#9eacc0 !important;
}

html.dark body .wdl-weather-position,
html.dark body .wdl-country-position{
    background:#122039 !important;
    color:#60a5fa !important;
}

html.dark body .wdl-conflict-position,
html.dark body .wdl-conflict-status{
    background:#3f1515 !important;
    color:#fca5a5 !important;
}


/* ---------- CARD HOVER ---------- */
html:not(.dark) body .wdl-home-weather-card:hover,
html:not(.dark) body .wdl-home-conflict-card:hover,
html:not(.dark) body .wdl-home-country-card:hover{
    background:#ffffff !important;
    border-color:#bfd0e3 !important;
}

html.dark body .wdl-home-weather-card:hover,
html.dark body .wdl-home-conflict-card:hover,
html.dark body .wdl-home-country-card:hover{
    background:#122039 !important;
    border-color:#355174 !important;
}


/* =========================================================
   WorldDataLive Logo Text — Premium Subtle 3D
   Header + Footer
   ========================================================= */

.wdl-logo-text strong,
.footer-logo-text strong{
    text-shadow:
        0 1px 0 rgba(255,255,255,.95),
        0 2px 0 rgba(203,213,225,.75),
        0 3px 5px rgba(15,23,42,.18) !important;
    transform:translateY(-1px);
}

/* Blue "Data" gets a slightly stronger premium depth */
.wdl-logo-text .wdl-data,
.footer-logo-text .wdl-data{
    text-shadow:
        0 1px 0 rgba(255,255,255,.95),
        0 2px 0 rgba(147,197,253,.75),
        0 3px 5px rgba(37,99,235,.25) !important;
}

/* Dark mode */
html.dark body .wdl-logo-text strong,
html.dark body .footer-logo-text strong{
    text-shadow:
        0 1px 0 rgba(255,255,255,.16),
        0 2px 0 rgba(30,41,59,.95),
        0 3px 6px rgba(0,0,0,.45) !important;
}

html.dark body .wdl-logo-text .wdl-data,
html.dark body .footer-logo-text .wdl-data{
    text-shadow:
        0 1px 0 rgba(255,255,255,.14),
        0 2px 0 rgba(30,64,175,.95),
        0 3px 6px rgba(0,0,0,.5) !important;
}

/* Keep mobile logo clean */
@media(max-width:700px){
    .wdl-logo-text strong,
    .footer-logo-text strong{
        transform:translateY(-1px);
    }
}


/* =========================================================
   GLOBAL RANKINGS
   Database-driven country ranking cards
   ========================================================= */

.wdl-ranking-page{
    padding-bottom:60px;
}

.wdl-ranking-hero{
    padding:56px 20px 42px;
    background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 100%);
    border-bottom:1px solid #e2e8f0;
}

.wdl-ranking-hero-inner{
    max-width:1400px;
    margin:0 auto;
}

.wdl-ranking-eyebrow,
.wdl-ranking-kicker,
.wdl-ranking-card-label{
    display:block;
    font-size:11px;
    font-weight:800;
    letter-spacing:1.4px;
    color:#2563eb;
}

.wdl-ranking-hero h1{
    margin:8px 0 10px;
    font-size:42px;
    line-height:1.1;
    letter-spacing:-1.2px;
    color:#172033;
}

.wdl-ranking-hero p{
    max-width:720px;
    margin:0;
    color:#64748b;
    font-size:16px;
    line-height:1.7;
}

.wdl-ranking-grid-section{
    max-width:1400px;
    margin:0 auto;
    padding:42px 20px 0;
}

.wdl-ranking-section-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px;
}

.wdl-ranking-section-heading h2{
    margin:6px 0 0;
    font-size:28px;
    line-height:1.2;
    letter-spacing:-.6px;
    color:#172033;
}

.wdl-ranking-all-link{
    flex:0 0 auto;
    text-decoration:none !important;
    color:#2563eb !important;
    font-size:14px;
    font-weight:700;
}

.wdl-ranking-all-link:hover{
    color:#1d4ed8 !important;
}

.wdl-ranking-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.wdl-ranking-card{
    overflow:hidden;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:18px;
    box-shadow:0 7px 24px rgba(15,23,42,.06);
}

.wdl-ranking-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    padding:22px 22px 18px;
    border-bottom:1px solid #edf2f7;
}

.wdl-ranking-card-head h3{
    margin:6px 0 6px;
    color:#172033;
    font-size:20px;
    line-height:1.25;
    letter-spacing:-.35px;
}

.wdl-ranking-card-head p{
    margin:0;
    color:#64748b;
    font-size:13px;
    line-height:1.5;
}

.wdl-ranking-count{
    flex:0 0 auto;
    padding:6px 9px;
    border-radius:8px;
    background:#eff6ff;
    color:#2563eb;
    font-size:11px;
    font-weight:800;
    white-space:nowrap;
}

.wdl-ranking-list{
    padding:6px 0;
}

.wdl-ranking-row{
    display:flex;
    align-items:center;
    min-height:58px;
    gap:12px;
    padding:9px 18px;
    text-decoration:none !important;
    border-bottom:1px solid #f1f5f9;
    transition:background .16s ease, transform .16s ease;
}

.wdl-ranking-row:last-child{
    border-bottom:0;
}

.wdl-ranking-row:hover{
    background:#f8fbff;
    transform:translateX(2px);
}

.wdl-ranking-position{
    width:26px;
    flex:0 0 26px;
    text-align:center;
    color:#94a3b8;
    font-size:12px;
    font-weight:800;
}

.wdl-ranking-country{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    flex:1 1 auto;
}

.wdl-ranking-flag,
.wdl-ranking-flag-placeholder{
    width:30px;
    height:22px;
    flex:0 0 30px;
    border-radius:5px;
    object-fit:cover;
    background:#f1f5f9;
}

.wdl-ranking-flag-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
}

.wdl-ranking-country-name{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#172033;
    font-size:14px;
    font-weight:700;
}

.wdl-ranking-value{
    flex:0 0 auto;
    color:#172033;
    font-size:14px;
    font-weight:800;
    text-align:right;
}

.wdl-ranking-value small{
    margin-left:3px;
    color:#94a3b8;
    font-size:10px;
    font-weight:700;
}

.wdl-ranking-empty{
    padding:24px 20px;
    color:#64748b;
    font-size:13px;
}

.wdl-ranking-note{
    max-width:1400px;
    margin:24px auto 0;
    padding:15px 20px;
    color:#64748b;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:12px;
    font-size:12px;
    line-height:1.6;
}

.wdl-ranking-note strong{
    color:#475569;
}

/* ---------- DARK MODE ---------- */

html.dark body .wdl-ranking-hero{
    background:linear-gradient(135deg,#091426 0%,#0e1b30 100%);
    border-color:#203149;
}

html.dark body .wdl-ranking-hero h1,
html.dark body .wdl-ranking-section-heading h2,
html.dark body .wdl-ranking-card-head h3,
html.dark body .wdl-ranking-country-name,
html.dark body .wdl-ranking-value{
    color:#edf4ff;
}

html.dark body .wdl-ranking-hero p,
html.dark body .wdl-ranking-card-head p{
    color:#9eacc0;
}

html.dark body .wdl-ranking-card{
    background:#0e1a2c;
    border-color:#203149;
    box-shadow:0 8px 28px rgba(0,0,0,.25);
}

html.dark body .wdl-ranking-card-head{
    border-color:#203149;
}

html.dark body .wdl-ranking-count{
    background:#122039;
    color:#60a5fa;
}

html.dark body .wdl-ranking-row{
    border-color:#18283e;
}

html.dark body .wdl-ranking-row:hover{
    background:#122039;
}

html.dark body .wdl-ranking-position{
    color:#71829a;
}

html.dark body .wdl-ranking-value small{
    color:#71829a;
}

html.dark body .wdl-ranking-note{
    color:#9eacc0;
    background:#0e1a2c;
    border-color:#203149;
}

html.dark body .wdl-ranking-note strong{
    color:#c5d2e3;
}

/* ---------- RESPONSIVE ---------- */

@media(max-width:900px){
    .wdl-ranking-grid{
        grid-template-columns:1fr;
    }

    .wdl-ranking-hero h1{
        font-size:36px;
    }
}

@media(max-width:700px){
    .wdl-ranking-hero{
        padding:40px 16px 32px;
    }

    .wdl-ranking-hero h1{
        font-size:32px;
    }

    .wdl-ranking-grid-section{
        padding:30px 14px 0;
    }

    .wdl-ranking-section-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }

    .wdl-ranking-section-heading h2{
        font-size:24px;
    }

    .wdl-ranking-card-head{
        padding:18px 16px 15px;
    }

    .wdl-ranking-row{
        padding:9px 14px;
    }

    .wdl-ranking-value{
        font-size:13px;
    }
}



/* =========================================================
   GLOBAL RANKINGS — SHARP SVG FLAGS
   ========================================================= */

.wdl-ranking-flag,
.wdl-ranking-flag-placeholder{
    width:30px !important;
    height:22px !important;
    min-width:30px !important;
    min-height:22px !important;
    flex:0 0 30px !important;
    display:block !important;
    object-fit:contain !important;
    object-position:center !important;
    border-radius:4px !important;
    background:#f1f5f9 !important;
}

html.dark body .wdl-ranking-flag,
html.dark body .wdl-ranking-flag-placeholder{
    background:#122039 !important;
}

@media(max-width:700px){
    .wdl-ranking-flag,
    .wdl-ranking-flag-placeholder{
        width:30px !important;
        height:22px !important;
        min-width:30px !important;
        min-height:22px !important;
        flex-basis:30px !important;
    }
}


/* =========================================================
   GLOBAL RANKINGS — TRUE FLAG COLORS
   ========================================================= */

.wdl-ranking-country .wdl-ranking-flag{
    display:block !important;
    width:30px !important;
    height:22px !important;
    min-width:30px !important;
    min-height:22px !important;
    max-width:30px !important;
    max-height:22px !important;
    flex:0 0 30px !important;

    object-fit:fill !important;
    object-position:center !important;

    opacity:1 !important;
    filter:none !important;
    mix-blend-mode:normal !important;
    background:transparent !important;

    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
}

html.dark body .wdl-ranking-country .wdl-ranking-flag{
    opacity:1 !important;
    filter:none !important;
    mix-blend-mode:normal !important;
    background:transparent !important;
}



/* =========================================================
   HOMEPAGE GLOBAL RANKINGS — REAL COUNTRY DATA
   ========================================================= */

.wdl-home-ranking-card{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    min-height:68px !important;
    padding:12px 16px !important;
    text-decoration:none !important;
    background:#fff !important;
    border:1px solid #e2e8f0 !important;
    border-radius:14px !important;
    color:#172033 !important;
    box-shadow:0 5px 18px rgba(15,23,42,.05) !important;
    transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

.wdl-home-ranking-card:hover{
    transform:translateY(-2px) !important;
    border-color:#bfd0e3 !important;
    box-shadow:0 9px 24px rgba(15,23,42,.09) !important;
}

.wdl-home-ranking-card .wdl-ranking-position{
    width:28px !important;
    min-width:28px !important;
    color:#94a3b8 !important;
    font-size:13px !important;
    font-weight:800 !important;
    text-align:center !important;
}

.wdl-home-ranking-card .wdl-ranking-flag{
    width:36px !important;
    height:26px !important;
    min-width:36px !important;
    min-height:26px !important;
    flex:0 0 36px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:transparent !important;
    border:0 !important;
    border-radius:4px !important;
    overflow:hidden !important;
}

.wdl-home-ranking-card .wdl-ranking-flag img{
    display:block !important;
    width:36px !important;
    height:26px !important;
    min-width:36px !important;
    min-height:26px !important;
    max-width:36px !important;
    max-height:26px !important;
    object-fit:fill !important;
    opacity:1 !important;
    filter:none !important;
    mix-blend-mode:normal !important;
    background:transparent !important;
}

.wdl-home-ranking-card .wdl-ranking-country{
    min-width:0 !important;
    flex:1 1 auto !important;
}

.wdl-home-ranking-card .wdl-ranking-country h3{
    margin:0 0 3px !important;
    color:#172033 !important;
    font-size:15px !important;
    font-weight:800 !important;
    line-height:1.25 !important;
}

.wdl-home-ranking-card .wdl-ranking-country span{
    color:#64748b !important;
    font-size:11px !important;
}

.wdl-home-ranking-card .wdl-ranking-value{
    flex:0 0 auto !important;
    color:#172033 !important;
    font-size:14px !important;
    font-weight:800 !important;
    text-align:right !important;
}

.wdl-home-ranking-card .wdl-ranking-link{
    flex:0 0 auto !important;
    color:#2563eb !important;
    font-size:12px !important;
    font-weight:800 !important;
}

html.dark body .wdl-home-ranking-card{
    background:#0e1a2c !important;
    border-color:#203149 !important;
    color:#edf4ff !important;
    box-shadow:0 7px 24px rgba(0,0,0,.22) !important;
}

html.dark body .wdl-home-ranking-card:hover{
    background:#122039 !important;
    border-color:#355174 !important;
}

html.dark body .wdl-home-ranking-card .wdl-ranking-country h3,
html.dark body .wdl-home-ranking-card .wdl-ranking-value{
    color:#edf4ff !important;
}

html.dark body .wdl-home-ranking-card .wdl-ranking-country span{
    color:#9eacc0 !important;
}

html.dark body .wdl-home-ranking-card .wdl-ranking-position{
    color:#71829a !important;
}

html.dark body .wdl-home-ranking-card .wdl-ranking-link{
    color:#60a5fa !important;
}

@media(max-width:700px){
    .wdl-home-ranking-card{
        gap:10px !important;
        padding:11px 12px !important;
    }

    .wdl-home-ranking-card .wdl-ranking-value{
        font-size:12px !important;
    }

    .wdl-home-ranking-card .wdl-ranking-link{
        display:none !important;
    }
}


/* Homepage ranking flags — force original SVG colors */
.wdl-home-ranking-card .wdl-ranking-flag img{
    display:block !important;
    width:36px !important;
    height:26px !important;
    min-width:36px !important;
    min-height:26px !important;
    max-width:36px !important;
    max-height:26px !important;
    object-fit:fill !important;
    object-position:center !important;
    opacity:1 !important;
    filter:none !important;
    -webkit-filter:none !important;
    mix-blend-mode:normal !important;
    isolation:isolate !important;
    visibility:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

html.dark body .wdl-home-ranking-card .wdl-ranking-flag img{
    opacity:1 !important;
    filter:none !important;
    -webkit-filter:none !important;
    mix-blend-mode:normal !important;
    visibility:visible !important;
}


/* Homepage ranking flag container — restore full color */
.wdl-home-ranking-card .wdl-ranking-flag{
    opacity:1 !important;
    filter:none !important;
    -webkit-filter:none !important;
    mix-blend-mode:normal !important;
    background:transparent !important;
}

html.dark body .wdl-home-ranking-card .wdl-ranking-flag{
    opacity:1 !important;
    filter:none !important;
    -webkit-filter:none !important;
    mix-blend-mode:normal !important;
}


/* Homepage ranking metric buttons */
.wdl-home-ranking-tabs{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    margin:20px 0 18px !important;
}

.wdl-home-ranking-tab{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    padding:8px 14px !important;
    border:1px solid #dbe3ef !important;
    border-radius:999px !important;
    background:#ffffff !important;
    color:#334155 !important;
    text-decoration:none !important;
    font-size:13px !important;
    font-weight:700 !important;
    line-height:1.2 !important;
    transition:all .16s ease !important;
}

.wdl-home-ranking-tab:hover{
    border-color:#2563eb !important;
    color:#2563eb !important;
    background:#f8fbff !important;
}

.wdl-home-ranking-tab.is-active{
    background:#2563eb !important;
    border-color:#2563eb !important;
    color:#ffffff !important;
    box-shadow:0 4px 12px rgba(37,99,235,.20) !important;
}

html.dark body .wdl-home-ranking-tab{
    background:#0e1a2c !important;
    border-color:#263852 !important;
    color:#cbd5e1 !important;
}

html.dark body .wdl-home-ranking-tab:hover{
    border-color:#60a5fa !important;
    color:#93c5fd !important;
    background:#12213a !important;
}

html.dark body .wdl-home-ranking-tab.is-active{
    background:#2563eb !important;
    border-color:#2563eb !important;
    color:#ffffff !important;
}

@media(max-width:700px){
    .wdl-home-ranking-tabs{
        gap:7px !important;
        margin-top:16px !important;
    }

    .wdl-home-ranking-tab{
        min-height:35px !important;
        padding:7px 11px !important;
        font-size:12px !important;
    }
}


/* Homepage Global Ranking metric buttons */
.wdl-home-ranking-tabs{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:9px !important;
    margin:20px 0 18px !important;
}

.wdl-home-ranking-tab{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    padding:8px 14px !important;
    border:1px solid #dbe3ef !important;
    border-radius:999px !important;
    background:#fff !important;
    color:#334155 !important;
    text-decoration:none !important;
    font-size:13px !important;
    font-weight:700 !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    transition:all .16s ease !important;
}

.wdl-home-ranking-tab:hover{
    border-color:#2563eb !important;
    color:#2563eb !important;
    background:#f8fbff !important;
}

.wdl-home-ranking-tab.is-active{
    background:#2563eb !important;
    border-color:#2563eb !important;
    color:#fff !important;
    box-shadow:0 4px 12px rgba(37,99,235,.20) !important;
}

html.dark body .wdl-home-ranking-tab{
    background:#0e1a2c !important;
    border-color:#263852 !important;
    color:#cbd5e1 !important;
}

html.dark body .wdl-home-ranking-tab:hover{
    border-color:#60a5fa !important;
    color:#93c5fd !important;
    background:#12213a !important;
}

html.dark body .wdl-home-ranking-tab.is-active{
    background:#2563eb !important;
    border-color:#2563eb !important;
    color:#fff !important;
}

@media(max-width:700px){
    .wdl-home-ranking-tabs{
        gap:7px !important;
        margin:16px 0 !important;
    }

    .wdl-home-ranking-tab{
        min-height:35px !important;
        padding:7px 11px !important;
        font-size:12px !important;
    }
}



/* =========================================================
   WORLD DATALIVE — HOMEPAGE ECONOMY LEADERS
   ========================================================= */

.wdl-home-economy{
    width:100%;
    margin:0 0 46px;
}

.wdl-home-economy-heading{
    margin-bottom:20px;
}

.wdl-home-economy-kicker{
    display:inline-block;
    margin-bottom:7px;
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
}

.wdl-home-economy-heading h2{
    margin:0;
    color:#0f172a;
    font-size:30px;
    line-height:1.2;
    font-weight:800;
}

.wdl-home-economy-heading p{
    margin:8px 0 0;
    color:#64748b;
    font-size:14px;
}

.wdl-home-economy-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wdl-home-economy-card{
    display:grid;
    grid-template-columns:42px 44px minmax(180px,1fr) 125px 125px 125px 58px;
    align-items:center;
    gap:14px;
    min-height:76px;
    padding:12px 16px;
    border:1px solid #e2e8f0;
    border-radius:14px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    box-shadow:0 4px 16px rgba(15,23,42,.05);
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.wdl-home-economy-card:hover{
    transform:translateY(-2px);
    border-color:#bfdbfe;
    box-shadow:0 10px 26px rgba(15,23,42,.09);
}

.wdl-economy-position{
    color:#64748b;
    font-size:15px;
    font-weight:800;
    text-align:center;
}

.wdl-economy-flag{
    width:40px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:4px;
}

.wdl-economy-flag img{
    display:block;
    width:40px;
    height:28px;
    object-fit:fill;
    opacity:1 !important;
    filter:none !important;
    -webkit-filter:none !important;
    mix-blend-mode:normal !important;
}

.wdl-economy-country h3{
    margin:0;
    color:#0f172a;
    font-size:16px;
    font-weight:800;
}

.wdl-economy-country span{
    display:block;
    margin-top:3px;
    color:#64748b;
    font-size:12px;
}

.wdl-economy-metric{
    min-width:0;
}

.wdl-economy-metric span{
    display:block;
    margin-bottom:3px;
    color:#64748b;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.wdl-economy-metric strong{
    color:#0f172a;
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
}

.wdl-economy-link{
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    text-align:right;
    white-space:nowrap;
}

.wdl-home-economy-footer{
    margin-top:16px;
}

.wdl-home-economy-all{
    color:#2563eb;
    font-size:13px;
    font-weight:800;
    text-decoration:none;
}

.wdl-home-economy-all:hover{
    text-decoration:underline;
}

html.dark body .wdl-home-economy-heading h2{
    color:#edf4ff;
}

html.dark body .wdl-home-economy-heading p{
    color:#9eacc0;
}

html.dark body .wdl-home-economy-card{
    background:#0e1a2c;
    border-color:#203149;
    box-shadow:0 8px 24px rgba(0,0,0,.20);
}

html.dark body .wdl-home-economy-card:hover{
    border-color:#315b91;
    box-shadow:0 10px 28px rgba(0,0,0,.28);
}

html.dark body .wdl-economy-position{
    color:#94a3b8;
}

html.dark body .wdl-economy-country h3,
html.dark body .wdl-economy-metric strong{
    color:#edf4ff;
}

html.dark body .wdl-economy-country span,
html.dark body .wdl-economy-metric span{
    color:#9eacc0;
}

html.dark body .wdl-economy-link,
html.dark body .wdl-home-economy-all{
    color:#60a5fa;
}

@media(max-width:900px){
    .wdl-home-economy-card{
        grid-template-columns:34px 40px minmax(150px,1fr) 105px 105px 55px;
    }

    .wdl-economy-metric:nth-of-type(3){
        display:none;
    }
}

@media(max-width:700px){
    .wdl-home-economy-heading h2{
        font-size:24px;
    }

    .wdl-home-economy-card{
        grid-template-columns:28px 36px minmax(0,1fr) auto;
        gap:10px;
        padding:11px 12px;
        min-height:68px;
    }

    .wdl-economy-flag{
        width:34px;
        height:24px;
    }

    .wdl-economy-flag img{
        width:34px;
        height:24px;
    }

    .wdl-economy-country h3{
        font-size:14px;
    }

    .wdl-economy-country span{
        font-size:11px;
    }

    .wdl-economy-metric{
        display:none;
    }

    .wdl-economy-metric:first-of-type{
        display:block;
    }

    .wdl-economy-link{
        font-size:11px;
    }
}

/* =========================================================
   PREMIUM ECONOMY LEADERS CARDS
   ========================================================= */

.wdl-home-economy{
    margin-top:10px !important;
}

.wdl-home-economy-list{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:14px !important;
}

.wdl-home-economy-card{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    min-height:270px !important;
    padding:20px !important;
    border:1px solid #e2e8f0 !important;
    border-radius:20px !important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%) !important;
    box-shadow:0 8px 28px rgba(15,23,42,.06) !important;
    overflow:hidden !important;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease !important;
}

.wdl-home-economy-card::before{
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    height:3px !important;
    background:linear-gradient(90deg,#2563eb,#60a5fa) !important;
}

.wdl-home-economy-card:hover{
    transform:translateY(-5px) !important;
    border-color:#bfdbfe !important;
    box-shadow:0 16px 38px rgba(15,23,42,.12) !important;
}

.wdl-economy-position{
    position:absolute !important;
    top:15px !important;
    right:15px !important;
    width:30px !important;
    height:30px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:9px !important;
    background:#eff6ff !important;
    color:#2563eb !important;
    font-size:12px !important;
    font-weight:900 !important;
}

.wdl-economy-flag{
    width:54px !important;
    height:38px !important;
    margin-bottom:18px !important;
    border-radius:7px !important;
    overflow:hidden !important;
    box-shadow:0 2px 7px rgba(15,23,42,.12) !important;
    background:#fff !important;
}

.wdl-economy-flag img{
    width:54px !important;
    height:38px !important;
    display:block !important;
    object-fit:fill !important;
    opacity:1 !important;
    filter:none !important;
}

.wdl-economy-country{
    margin-bottom:18px !important;
    min-height:51px !important;
}

.wdl-economy-country h3{
    margin:0 !important;
    color:#0f172a !important;
    font-size:17px !important;
    line-height:1.3 !important;
    font-weight:850 !important;
    letter-spacing:-.01em !important;
}

.wdl-economy-country span{
    margin-top:5px !important;
    color:#64748b !important;
    font-size:11px !important;
    font-weight:700 !important;
}

.wdl-economy-metric{
    padding:11px 0 !important;
    border-top:1px solid #e8edf4 !important;
}

.wdl-economy-metric span{
    margin-bottom:4px !important;
    color:#64748b !important;
    font-size:9px !important;
    font-weight:800 !important;
    letter-spacing:.08em !important;
}

.wdl-economy-metric strong{
    color:#0f172a !important;
    font-size:15px !important;
    font-weight:850 !important;
}

.wdl-economy-link{
    display:block !important;
    margin-top:auto !important;
    padding-top:12px !important;
    border-top:1px solid #e8edf4 !important;
    color:#2563eb !important;
    font-size:11px !important;
    font-weight:850 !important;
    text-align:left !important;
}

.wdl-home-economy-footer{
    margin-top:20px !important;
    text-align:right !important;
}

.wdl-home-economy-all{
    display:inline-flex !important;
    align-items:center !important;
    padding:10px 15px !important;
    border:1px solid #dbeafe !important;
    border-radius:10px !important;
    background:#eff6ff !important;
    color:#2563eb !important;
    font-size:12px !important;
    font-weight:800 !important;
    text-decoration:none !important;
    transition:all .18s ease !important;
}

.wdl-home-economy-all:hover{
    background:#2563eb !important;
    border-color:#2563eb !important;
    color:#fff !important;
}

/* Dark mode */

html.dark body .wdl-home-economy-card{
    border-color:#203149 !important;
    background:linear-gradient(180deg,#0e1a2c 0%,#0a1526 100%) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.22) !important;
}

html.dark body .wdl-home-economy-card:hover{
    border-color:#315b91 !important;
    box-shadow:0 16px 38px rgba(0,0,0,.34) !important;
}

html.dark body .wdl-economy-position{
    background:#10284a !important;
    color:#60a5fa !important;
}

html.dark body .wdl-economy-flag{
    box-shadow:0 2px 8px rgba(0,0,0,.35) !important;
}

html.dark body .wdl-economy-country h3,
html.dark body .wdl-economy-metric strong{
    color:#edf4ff !important;
}

html.dark body .wdl-economy-country span,
html.dark body .wdl-economy-metric span{
    color:#94a3b8 !important;
}

html.dark body .wdl-economy-metric,
html.dark body .wdl-economy-link{
    border-color:#203149 !important;
}

html.dark body .wdl-economy-link{
    color:#60a5fa !important;
}

html.dark body .wdl-home-economy-all{
    background:#10284a !important;
    border-color:#24466f !important;
    color:#60a5fa !important;
}

html.dark body .wdl-home-economy-all:hover{
    background:#2563eb !important;
    color:#fff !important;
}

/* Tablet */

@media(max-width:1100px){
    .wdl-home-economy-list{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}

/* Mobile */

@media(max-width:700px){
    .wdl-home-economy-list{
        grid-template-columns:1fr !important;
        gap:11px !important;
    }

    .wdl-home-economy-card{
        min-height:0 !important;
        padding:17px !important;
    }

    .wdl-economy-flag{
        width:48px !important;
        height:34px !important;
        margin-bottom:14px !important;
    }

    .wdl-economy-flag img{
        width:48px !important;
        height:34px !important;
    }

    .wdl-economy-country{
        margin-bottom:10px !important;
    }

    .wdl-economy-metric{
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        gap:15px !important;
    }

    .wdl-economy-metric span{
        margin:0 !important;
    }

    .wdl-economy-metric strong{
        font-size:14px !important;
    }

    .wdl-economy-link{
        margin-top:4px !important;
    }

    .wdl-home-economy-footer{
        text-align:center !important;
    }
}


/* =========================================================
   ECONOMY LEADERS — GLOBAL RANKING STYLE
   ========================================================= */

.wdl-home-economy-list{
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
}

.wdl-home-economy-card{
    position:relative !important;
    display:grid !important;
    grid-template-columns:52px 54px minmax(180px,1.5fr) repeat(3,minmax(120px,1fr)) 90px !important;
    align-items:center !important;
    gap:16px !important;
    min-height:82px !important;
    padding:14px 18px !important;
    border:1px solid #e2e8f0 !important;
    border-radius:14px !important;
    background:#fff !important;
    box-shadow:0 4px 16px rgba(15,23,42,.05) !important;
    text-decoration:none !important;
    transition:all .18s ease !important;
    overflow:hidden !important;
}

.wdl-home-economy-card::before{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:3px !important;
    background:#2563eb !important;
}

.wdl-home-economy-card:hover{
    transform:translateY(-2px) !important;
    border-color:#bfdbfe !important;
    box-shadow:0 9px 25px rgba(37,99,235,.10) !important;
}

.wdl-economy-position{
    position:static !important;
    width:38px !important;
    height:38px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:10px !important;
    background:#eff6ff !important;
    color:#2563eb !important;
    font-size:13px !important;
    font-weight:900 !important;
}

.wdl-economy-flag{
    width:48px !important;
    height:32px !important;
    margin:0 !important;
    border-radius:5px !important;
    overflow:hidden !important;
    box-shadow:0 2px 6px rgba(15,23,42,.12) !important;
    background:#fff !important;
}

.wdl-economy-flag img{
    display:block !important;
    width:48px !important;
    height:32px !important;
    object-fit:fill !important;
    opacity:1 !important;
    filter:none !important;
}

.wdl-economy-country{
    min-width:0 !important;
    min-height:0 !important;
    margin:0 !important;
}

.wdl-economy-country h3{
    margin:0 !important;
    color:#0f172a !important;
    font-size:16px !important;
    line-height:1.3 !important;
    font-weight:850 !important;
}

.wdl-economy-country span{
    display:block !important;
    margin-top:4px !important;
    color:#64748b !important;
    font-size:10px !important;
    font-weight:700 !important;
}

.wdl-economy-metric{
    padding:0 !important;
    border:0 !important;
    min-width:0 !important;
}

.wdl-economy-metric span{
    display:block !important;
    margin:0 0 4px !important;
    color:#64748b !important;
    font-size:9px !important;
    font-weight:800 !important;
    letter-spacing:.07em !important;
    text-transform:uppercase !important;
}

.wdl-economy-metric strong{
    display:block !important;
    color:#0f172a !important;
    font-size:14px !important;
    font-weight:850 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.wdl-economy-link{
    margin:0 !important;
    padding:9px 11px !important;
    border:1px solid #dbeafe !important;
    border-radius:9px !important;
    background:#eff6ff !important;
    color:#2563eb !important;
    font-size:10px !important;
    font-weight:850 !important;
    text-align:center !important;
    white-space:nowrap !important;
}

.wdl-home-economy-card:hover .wdl-economy-link{
    background:#2563eb !important;
    border-color:#2563eb !important;
    color:#fff !important;
}

html.dark body .wdl-home-economy-card{
    border-color:#203149 !important;
    background:#0e1a2c !important;
    box-shadow:0 5px 18px rgba(0,0,0,.22) !important;
}

html.dark body .wdl-home-economy-card:hover{
    border-color:#315b91 !important;
    box-shadow:0 10px 28px rgba(0,0,0,.34) !important;
}

html.dark body .wdl-economy-position{
    background:#10284a !important;
    color:#60a5fa !important;
}

html.dark body .wdl-economy-country h3,
html.dark body .wdl-economy-metric strong{
    color:#edf4ff !important;
}

html.dark body .wdl-economy-country span,
html.dark body .wdl-economy-metric span{
    color:#94a3b8 !important;
}

html.dark body .wdl-economy-link{
    background:#10284a !important;
    border-color:#24466f !important;
    color:#60a5fa !important;
}

html.dark body .wdl-home-economy-card:hover .wdl-economy-link{
    background:#2563eb !important;
    color:#fff !important;
}

@media(max-width:1000px){
    .wdl-home-economy-card{
        grid-template-columns:44px 48px minmax(150px,1.5fr) repeat(2,minmax(105px,1fr)) 82px !important;
    }

    .wdl-home-economy-card .wdl-economy-metric:nth-of-type(3){
        display:none !important;
    }
}

@media(max-width:700px){
    .wdl-home-economy-card{
        grid-template-columns:38px 46px minmax(0,1fr) !important;
        gap:11px !important;
        min-height:78px !important;
        padding:13px !important;
    }

    .wdl-economy-position{
        width:34px !important;
        height:34px !important;
        font-size:12px !important;
    }

    .wdl-economy-flag{
        width:46px !important;
        height:31px !important;
    }

    .wdl-economy-flag img{
        width:46px !important;
        height:31px !important;
    }

    .wdl-economy-country h3{
        font-size:14px !important;
    }

    .wdl-economy-country span{
        font-size:9px !important;
    }

    .wdl-economy-metric{
        display:none !important;
    }

    .wdl-economy-link{
        display:none !important;
    }
}


/* Economy cards — slimmer */
.wdl-home-economy-card{
    min-height:62px !important;
    padding:9px 15px !important;
    gap:13px !important;
    border-radius:11px !important;
}

.wdl-economy-position{
    width:32px !important;
    height:32px !important;
    border-radius:8px !important;
    font-size:12px !important;
}

.wdl-economy-flag,
.wdl-economy-flag img{
    width:42px !important;
    height:28px !important;
}

.wdl-economy-country h3{
    font-size:14px !important;
}

.wdl-economy-country span{
    margin-top:2px !important;
    font-size:9px !important;
}

.wdl-economy-metric span{
    margin-bottom:2px !important;
    font-size:8px !important;
}

.wdl-economy-metric strong{
    font-size:12px !important;
}

.wdl-economy-link{
    padding:7px 9px !important;
    font-size:9px !important;
    border-radius:7px !important;
}

@media(max-width:700px){
    .wdl-home-economy-card{
        min-height:58px !important;
        padding:8px 11px !important;
        gap:9px !important;
    }

    .wdl-economy-position{
        width:30px !important;
        height:30px !important;
    }

    .wdl-economy-flag,
    .wdl-economy-flag img{
        width:40px !important;
        height:27px !important;
    }
}


/* Economy — center the View button like Global Rankings */
.wdl-home-economy-card{
    grid-template-columns:52px 48px minmax(180px,1.5fr) repeat(3,minmax(110px,1fr)) 100px !important;
}

.wdl-economy-link{
    justify-self:center !important;
    align-self:center !important;
    min-width:72px !important;
    text-align:center !important;
}

@media(max-width:1000px){
    .wdl-home-economy-card{
        grid-template-columns:44px 46px minmax(150px,1.5fr) repeat(2,minmax(105px,1fr)) 90px !important;
    }
}

@media(max-width:700px){
    .wdl-home-economy-card{
        grid-template-columns:38px 42px minmax(0,1fr) 70px !important;
    }

    .wdl-economy-link{
        display:block !important;
        min-width:62px !important;
        padding:6px 7px !important;
        justify-self:center !important;
    }
}


/* GLOBAL ECONOMY — centered heading */
.wdl-home-economy,
.wdl-home-economy-section{
    text-align:center !important;
}

.wdl-home-economy-heading,
.wdl-home-economy-header{
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

.wdl-home-economy-heading h2,
.wdl-home-economy-header h2{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.wdl-home-economy-heading p,
.wdl-home-economy-header p{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
}



/* =========================================================
   FINAL ECONOMY HEADING CENTER FIX
   ========================================================= */

section.wdl-home-economy{
    width:100% !important;
    max-width:1000px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

section.wdl-home-economy > .wdl-home-economy-heading{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 auto 22px !important;
    padding:0 !important;
    text-align:center !important;
    box-sizing:border-box !important;
}

section.wdl-home-economy > .wdl-home-economy-heading .wdl-home-economy-kicker{
    display:inline-flex !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

section.wdl-home-economy > .wdl-home-economy-heading h2,
section.wdl-home-economy > .wdl-home-economy-heading p{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}


/* Economy — View button aligned with Per Capita */
.wdl-home-economy-card{
    align-items:center !important;
}

.wdl-economy-metric{
    align-self:center !important;
}

.wdl-economy-link{
    align-self:center !important;
    justify-self:center !important;
    margin:0 !important;
    white-space:nowrap !important;
}


/* Economy flags — preserve original SVG colors */
.wdl-home-economy-card .wdl-economy-flag{
    opacity:1 !important;
    filter:none !important;
    -webkit-filter:none !important;
    mix-blend-mode:normal !important;
    background:#fff !important;
    isolation:isolate !important;
}

.wdl-home-economy-card .wdl-economy-flag img{
    display:block !important;
    width:42px !important;
    height:28px !important;
    min-width:42px !important;
    min-height:28px !important;
    max-width:42px !important;
    max-height:28px !important;
    object-fit:fill !important;
    object-position:center !important;
    opacity:1 !important;
    filter:none !important;
    -webkit-filter:none !important;
    mix-blend-mode:normal !important;
    visibility:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

html.dark body .wdl-home-economy-card .wdl-economy-flag,
html.dark body .wdl-home-economy-card .wdl-economy-flag img{
    opacity:1 !important;
    filter:none !important;
    -webkit-filter:none !important;
    mix-blend-mode:normal !important;
    visibility:visible !important;
}


/* =========================================================
   HOMEPAGE EDUCATION LEADERS
   ========================================================= */

.wdl-home-education{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    text-align:center;
}

.wdl-home-education-heading{
    width:100%;
    margin:0 auto 22px;
    text-align:center;
}

.wdl-home-education-kicker{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 7px;
    font-size:11px;
    font-weight:800;
    letter-spacing:.16em;
    color:#2563eb;
}

.wdl-home-education-heading h2{
    margin:0;
    font-size:30px;
    line-height:1.15;
    color:var(--text);
}

.wdl-home-education-heading p{
    max-width:680px;
    margin:9px auto 0;
    color:var(--muted);
    font-size:14px;
    line-height:1.6;
}

.wdl-home-education-list{
    display:flex;
    flex-direction:column;
    gap:9px;
    width:100%;
}

.wdl-home-education-card{
    display:grid;
    grid-template-columns:44px 48px minmax(180px,1.6fr) minmax(125px,1fr) minmax(125px,1fr) 70px;
    align-items:center;
    gap:12px;
    min-height:62px;
    padding:9px 15px;
    box-sizing:border-box;
    border:1px solid var(--border);
    border-radius:11px;
    background:var(--card);
    color:var(--text);
    text-decoration:none;
    box-shadow:var(--shadow);
    transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    text-align:left;
}

.wdl-home-education-card:hover{
    transform:translateY(-2px);
    border-color:#2563eb;
}

.wdl-edu-position{
    font-size:13px;
    font-weight:800;
    color:#64748b;
    text-align:center;
}

.wdl-edu-flag{
    width:42px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:4px;
    background:#fff;
}

.wdl-edu-flag img{
    display:block;
    width:42px;
    height:28px;
    min-width:42px;
    min-height:28px;
    object-fit:fill;
    opacity:1;
    filter:none;
    mix-blend-mode:normal;
}

.wdl-edu-country h3{
    margin:0;
    font-size:15px;
    font-weight:800;
    color:var(--text);
}

.wdl-edu-country span{
    display:block;
    margin-top:2px;
    font-size:11px;
    color:var(--muted);
}

.wdl-edu-metric{
    align-self:center;
}

.wdl-edu-metric span{
    display:block;
    margin-bottom:2px;
    font-size:10px;
    font-weight:700;
    color:var(--muted);
}

.wdl-edu-metric strong{
    display:block;
    font-size:14px;
    font-weight:800;
    color:var(--text);
}

.wdl-edu-link{
    align-self:center;
    justify-self:center;
    white-space:nowrap;
    font-size:12px;
    font-weight:800;
    color:#2563eb;
}

.wdl-home-education-footer{
    margin-top:18px;
    text-align:center;
}

.wdl-home-education-all{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 18px;
    border-radius:9px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

html.dark body .wdl-home-education-card{
    background:var(--card);
    border-color:var(--border);
}

html.dark body .wdl-home-education-card:hover{
    border-color:#60a5fa;
}

html.dark body .wdl-edu-flag{
    background:#fff;
}

html.dark body .wdl-home-education-all{
    background:#3b82f6;
}

@media(max-width:900px){
    .wdl-home-education-card{
        grid-template-columns:38px 42px minmax(150px,1.5fr) minmax(105px,1fr) minmax(105px,1fr) 60px;
        gap:9px;
        padding:8px 11px;
    }

    .wdl-edu-flag,
    .wdl-edu-flag img{
        width:38px;
        min-width:38px;
        height:25px;
        min-height:25px;
    }
}

@media(max-width:700px){
    .wdl-home-education-card{
        grid-template-columns:30px 38px minmax(120px,1fr) 80px;
        gap:8px;
        min-height:58px;
        padding:8px 10px;
    }

    .wdl-edu-metric:nth-of-type(2){
        display:none;
    }

    .wdl-edu-metric{
        text-align:right;
    }

    .wdl-edu-metric span{
        font-size:9px;
    }

    .wdl-edu-metric strong{
        font-size:12px;
    }

    .wdl-edu-link{
        font-size:11px;
    }
}


/* =========================================================
   EDUCATION PAGE
   ========================================================= */

.wdl-education-page{
    padding-bottom:60px;
}

.wdl-education-hero{
    width:100%;
    padding:54px 20px 48px;
    box-sizing:border-box;
    background:linear-gradient(135deg,#eff6ff,#ffffff);
    border-bottom:1px solid var(--border);
}

.wdl-education-hero-inner{
    width:100%;
    max-width:1100px;
    margin:0 auto;
    text-align:center;
}

.wdl-education-eyebrow,
.wdl-education-kicker{
    display:inline-flex;
    font-size:11px;
    font-weight:800;
    letter-spacing:.16em;
    color:#2563eb;
}

.wdl-education-hero h1{
    margin:8px 0 0;
    font-size:38px;
    line-height:1.12;
    color:var(--text);
}

.wdl-education-hero p{
    max-width:700px;
    margin:12px auto 0;
    color:var(--muted);
    font-size:15px;
    line-height:1.7;
}

.wdl-education-content{
    width:100%;
    max-width:1200px;
    margin:38px auto 0;
    padding:0 20px;
    box-sizing:border-box;
}

.wdl-education-heading{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.wdl-education-heading h2{
    margin:5px 0 0;
    color:var(--text);
    font-size:26px;
}

.wdl-education-count{
    color:var(--muted);
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
}

.wdl-education-search{
    margin-bottom:18px;
}

.wdl-education-search-box{
    display:flex;
    align-items:center;
    width:100%;
    max-width:650px;
    min-height:46px;
    margin:0 auto;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--card);
    overflow:hidden;
}

.wdl-education-search-box > span{
    padding-left:14px;
    color:var(--muted);
    font-size:20px;
}

.wdl-education-search-box input{
    flex:1;
    min-width:0;
    height:44px;
    border:0;
    outline:0;
    padding:0 12px;
    background:transparent;
    color:var(--text);
    font-size:14px;
}

.wdl-education-search-box input::placeholder{
    color:var(--muted);
}

.wdl-education-search-box a{
    color:var(--muted);
    text-decoration:none;
    font-size:21px;
    padding:0 8px;
}

.wdl-education-search-box button{
    height:46px;
    border:0;
    padding:0 18px;
    background:#2563eb;
    color:#fff;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}

.wdl-education-table-wrap{
    width:100%;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:13px;
    background:var(--card);
    box-shadow:var(--shadow);
}

.wdl-education-table-head,
.wdl-education-row{
    display:grid;
    grid-template-columns:55px minmax(210px,1.8fr) 90px 90px 95px 90px 125px 70px;
    align-items:center;
    gap:10px;
    box-sizing:border-box;
}

.wdl-education-table-head{
    min-height:48px;
    padding:0 14px;
    background:rgba(37,99,235,.06);
    border-bottom:1px solid var(--border);
    color:var(--muted);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.wdl-education-row{
    min-height:72px;
    padding:9px 14px;
    border-bottom:1px solid var(--border);
}

.wdl-education-row:last-child{
    border-bottom:0;
}

.wdl-education-rank{
    color:var(--muted);
    font-size:13px;
    font-weight:800;
    text-align:center;
}

.wdl-education-country{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

.wdl-education-flag{
    width:42px;
    height:28px;
    min-width:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:4px;
    background:#fff;
}

.wdl-education-flag img{
    display:block;
    width:42px;
    height:28px;
    min-width:42px;
    min-height:28px;
    object-fit:fill;
    opacity:1;
    filter:none;
    mix-blend-mode:normal;
}

.wdl-education-country strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:var(--text);
    font-size:14px;
}

.wdl-education-country small{
    display:block;
    margin-top:3px;
    color:var(--muted);
    font-size:10px;
}

.wdl-education-value{
    color:var(--text);
    font-size:13px;
    font-weight:800;
}

.wdl-education-view{
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
}

.wdl-education-view:hover{
    text-decoration:underline;
}

.wdl-education-empty{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:180px;
    color:var(--muted);
}

.wdl-education-empty strong{
    color:var(--text);
}

.wdl-education-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:24px;
    flex-wrap:wrap;
}

.wdl-education-pagination > a,
.wdl-education-pages a,
.wdl-education-pages span,
.wdl-education-pagination > span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 10px;
    box-sizing:border-box;
    border:1px solid var(--border);
    border-radius:8px;
    background:var(--card);
    color:var(--text);
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.wdl-education-pages{
    display:flex;
    gap:6px;
}

.wdl-education-pages span.active{
    border-color:#2563eb;
    background:#2563eb;
    color:#fff;
}

.wdl-education-pagination > a:hover,
.wdl-education-pages a:hover{
    border-color:#2563eb;
    color:#2563eb;
}

html.dark body .wdl-education-hero{
    background:linear-gradient(135deg,#0b1729,#07101f);
}

html.dark body .wdl-education-table-head{
    background:rgba(96,165,250,.08);
}

html.dark body .wdl-education-search-box,
html.dark body .wdl-education-table-wrap{
    background:var(--card);
}

html.dark body .wdl-education-flag{
    background:#fff;
}

@media(max-width:1050px){
    .wdl-education-table-wrap{
        overflow-x:auto;
    }

    .wdl-education-table-head,
    .wdl-education-row{
        min-width:900px;
    }
}

@media(max-width:700px){
    .wdl-education-hero{
        padding:40px 16px 34px;
    }

    .wdl-education-hero h1{
        font-size:30px;
    }

    .wdl-education-content{
        margin-top:28px;
        padding:0 12px;
    }

    .wdl-education-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }

    .wdl-education-heading h2{
        font-size:22px;
    }

    .wdl-education-search-box button{
        padding:0 13px;
    }
}


/* =========================
   COUNTRY SEARCH AUTOCOMPLETE
========================= */
.wdl-search-autocomplete{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    z-index:9999;
    overflow:hidden;
    border:1px solid var(--border,#dbe3ef);
    border-radius:12px;
    background:var(--card,#fff);
    box-shadow:0 14px 35px rgba(15,23,42,.16);
}

.wdl-search-result{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    min-height:52px;
    padding:9px 14px;
    box-sizing:border-box;
    color:var(--text,#111827);
    text-decoration:none;
    border-bottom:1px solid var(--border,#dbe3ef);
}

.wdl-search-result:last-child{
    border-bottom:0;
}

.wdl-search-result:hover{
    background:rgba(37,99,235,.08);
}

.wdl-search-result-flag{
    display:block !important;
    width:30px !important;
    height:20px !important;
    min-width:30px !important;
    object-fit:cover !important;
    border-radius:3px !important;
    opacity:1 !important;
    filter:none !important;
    mix-blend-mode:normal !important;
}

.wdl-search-result-name{
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

html.dark body .wdl-search-autocomplete{
    box-shadow:0 14px 35px rgba(0,0,0,.35);
}

html.dark body .wdl-search-result:hover{
    background:rgba(96,165,250,.10);
}

/* ===== COUNTRY AUTOCOMPLETE VISIBILITY FIX ===== */
.wdl-search-box form{
    position:relative !important;
    overflow:visible !important;
}

.wdl-search-autocomplete{
    display:none;
    position:absolute !important;
    top:calc(100% + 8px) !important;
    left:0 !important;
    right:0 !important;
    z-index:99999 !important;
    max-height:420px;
    overflow-y:auto !important;
    overflow-x:hidden !important;
}

/* ===== AJAX COUNTRY AUTOCOMPLETE FINAL ===== */
.wdl-search-box {
    position: relative !important;
}

.wdl-search-autocomplete {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: 100% !important;
    max-height: 420px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: none;
    background: #ffffff !important;
    border: 1px solid #d9e2ec !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.15) !important;
    z-index: 999999 !important;
}

.wdl-search-result {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #172033 !important;
    background: #ffffff !important;
}

.wdl-search-result:hover {
    background: #f1f5f9 !important;
}

.wdl-search-result-flag {
    width: 28px !important;
    height: 20px !important;
    object-fit: cover !important;
    border-radius: 3px !important;
    flex: 0 0 28px !important;
}

.wdl-search-result-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.wdl-search-box form {
    overflow: visible !important;
}


/* Homepage Weather Live Data */
.wdl-home-weather-title-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
}

.wdl-home-weather-live{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 12px;
    border:1px solid #dce5f0;
    border-radius:999px;
    background:#fff;
    color:#526174;
    font-size:11px;
    font-weight:800;
    letter-spacing:.04em;
    white-space:nowrap;
}

.wdl-home-weather-live span{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#22a06b;
    box-shadow:0 0 0 3px rgba(34,160,107,.10);
}

.wdl-home-weather-card{
    min-height:92px;
}

.wdl-weather-icon{
    min-width:76px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
}

.wdl-weather-icon span{
    font-size:28px;
    line-height:1;
}

.wdl-weather-icon small{
    color:#718096;
    font-size:10px;
    font-weight:700;
    text-align:center;
    white-space:nowrap;
}

.wdl-weather-country h3{
    display:flex;
    align-items:center;
    gap:7px;
}

.wdl-weather-flag{
    width:24px;
    height:18px;
    object-fit:cover;
    border-radius:2px;
    display:inline-block;
    flex:0 0 24px;
    box-shadow:0 0 0 1px rgba(0,0,0,.08);
}

.wdl-home-weather-empty{
    width:100%;
    padding:28px;
    text-align:center;
    border:1px solid #e2e8f0;
    border-radius:14px;
    color:#64748b;
    background:#fff;
}

@media (max-width:900px){
    .wdl-home-weather-title-row{
        flex-direction:column;
        gap:14px;
    }

    .wdl-home-weather-card{
        grid-template-columns:34px 58px minmax(120px,1fr) 80px 70px auto;
        gap:10px;
    }

    .wdl-weather-icon{
        min-width:58px;
    }
}

@media (max-width:640px){
    .wdl-home-weather-card{
        grid-template-columns:30px 52px minmax(100px,1fr) 70px;
    }

    .wdl-home-weather-card .wdl-weather-metric:nth-of-type(2){
        display:none;
    }

    .wdl-home-weather-card .wdl-weather-link{
        grid-column:4;
    }
}

html.dark body .wdl-home-weather-live{
    background:#111827;
    border-color:#263244;
    color:#b8c4d4;
}

html.dark body .wdl-weather-icon small{
    color:#94a3b8;
}

html.dark body .wdl-home-weather-empty{
    background:#111827;
    border-color:#263244;
    color:#94a3b8;
}


/* Weather heading alignment fix */
.wdl-home-weather-heading{
    display:block !important;
}

.wdl-home-weather-title-row{
    display:block !important;
}

.wdl-home-weather-live{
    margin-top:14px;
    width:max-content;
}

@media (max-width:640px){
    .wdl-home-weather-live{
        margin-top:12px;
    }
}


/* Weather country flag + name link */
.wdl-weather-country-link{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:inherit;
    text-decoration:none;
    border-radius:6px;
}

.wdl-weather-country-link:hover .wdl-weather-country-name{
    color:#1769d1;
    text-decoration:underline;
}

.wdl-weather-country-link img{
    transition:transform .18s ease;
}

.wdl-weather-country-link:hover img{
    transform:scale(1.05);
}

.wdl-weather-country-name{
    font-weight:700;
    transition:color .18s ease;
}

html.dark body .wdl-weather-country-link:hover .wdl-weather-country-name{
    color:#6ea8ff;
}


/* Homepage Conflicts — database state */
.wdl-home-conflicts-empty{
    width:100%;
    padding:28px;
    text-align:center;
    border:1px solid #e2e8f0;
    border-radius:14px;
    color:#64748b;
    background:#fff;
}

.wdl-conflict-status{
    max-width:190px;
}

.wdl-conflict-status span:last-child{
    line-height:1.3;
}

html.dark body .wdl-home-conflicts-empty{
    background:#111827;
    border-color:#263244;
    color:#94a3b8;
}


/* Homepage Conflict Country Links */
.wdl-conflict-country-list{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    align-items:center;
}

.wdl-conflict-country-link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:5px 8px;
    border-radius:7px;
    color:inherit;
    text-decoration:none;
    background:#f5f8fc;
    border:1px solid #e1e8f1;
    transition:all .18s ease;
}

.wdl-conflict-country-link:hover{
    color:#1769d1;
    border-color:#b9d1ef;
    background:#eef5ff;
}

.wdl-conflict-country-link img{
    width:24px;
    height:18px;
    object-fit:cover;
    border-radius:2px;
    box-shadow:0 0 0 1px rgba(0,0,0,.08);
    transition:transform .18s ease;
}

.wdl-conflict-country-link:hover img{
    transform:scale(1.05);
}

.wdl-conflict-country-link span{
    font-size:13px;
    font-weight:750;
    line-height:1.2;
}

html.dark body .wdl-conflict-country-link{
    background:#172033;
    border-color:#29364a;
}

html.dark body .wdl-conflict-country-link:hover{
    color:#6ea8ff;
    background:#1b2940;
    border-color:#395579;
}

/* =========================================================
   WorldDataLive - Active Conflicts Page
   ========================================================= */

.wdl-conflicts-page{
    max-width:1400px;
    margin:0 auto;
    padding:36px 24px 70px;
}

.wdl-conflicts-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:34px;
    margin-bottom:28px;
    border:1px solid #e1e8f1;
    border-radius:16px;
    background:linear-gradient(135deg,#f8fbff,#ffffff);
}

.wdl-conflicts-kicker{
    display:block;
    margin-bottom:8px;
    color:#1769d1;
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
}

.wdl-conflicts-hero h1{
    margin:0;
    font-size:36px;
    line-height:1.15;
    font-weight:800;
    color:#142033;
}

.wdl-conflicts-hero p{
    max-width:720px;
    margin:10px 0 0;
    color:#617086;
    font-size:15px;
    line-height:1.6;
}

.wdl-conflicts-count{
    min-width:145px;
    padding:18px 22px;
    text-align:center;
    border:1px solid #e1e8f1;
    border-radius:12px;
    background:#fff;
}

.wdl-conflicts-count strong{
    display:block;
    font-size:30px;
    line-height:1;
    color:#1769d1;
}

.wdl-conflicts-count span{
    display:block;
    margin-top:7px;
    color:#66758a;
    font-size:12px;
    font-weight:700;
}

.wdl-conflicts-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.wdl-conflict-page-card{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 190px 90px;
    align-items:center;
    gap:22px;
    padding:22px;
    border:1px solid #e1e8f1;
    border-radius:14px;
    background:#fff;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.wdl-conflict-page-card:hover{
    transform:translateY(-2px);
    border-color:#cbd9e9;
    box-shadow:0 8px 28px rgba(20,32,51,.08);
}

.wdl-conflict-page-number{
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:50%;
    background:#eef5ff;
    color:#1769d1;
    font-size:14px;
    font-weight:800;
}

.wdl-conflict-page-status{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-bottom:10px;
    color:#a32929;
    font-size:12px;
    font-weight:800;
}

.wdl-conflict-live-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#d93434;
    box-shadow:0 0 0 4px rgba(217,52,52,.10);
}

.wdl-conflict-page-countries{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
}

.wdl-conflict-page-country{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:7px 10px;
    border:1px solid #e1e8f1;
    border-radius:8px;
    background:#f8fafc;
    color:#172033;
    text-decoration:none;
    font-size:14px;
    font-weight:750;
    transition:all .18s ease;
}

.wdl-conflict-page-country:hover{
    color:#1769d1;
    border-color:#b9d1ef;
    background:#eef5ff;
}

.wdl-conflict-page-country img{
    width:24px;
    height:18px;
    object-fit:cover;
    border-radius:2px;
    box-shadow:0 0 0 1px rgba(0,0,0,.08);
}

.wdl-conflict-page-since{
    margin-top:9px;
    color:#748297;
    font-size:12px;
}

.wdl-conflict-page-meta{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.wdl-conflict-page-meta div{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.wdl-conflict-page-meta span{
    color:#8190a4;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.wdl-conflict-page-meta strong{
    color:#263449;
    font-size:13px;
}

.wdl-conflict-page-view{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    color:#1769d1;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.wdl-conflict-page-view:hover{
    text-decoration:underline;
}

.wdl-conflicts-empty{
    padding:70px 24px;
    text-align:center;
    border:1px solid #e1e8f1;
    border-radius:16px;
    background:#fff;
}

.wdl-conflicts-empty-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:54px;
    height:54px;
    margin:0 auto 16px;
    border-radius:50%;
    background:#edf8f1;
    color:#23824a;
    font-size:24px;
    font-weight:800;
}

.wdl-conflicts-empty h2{
    margin:0;
    color:#172033;
    font-size:22px;
}

.wdl-conflicts-empty p{
    margin:8px auto 0;
    max-width:500px;
    color:#718096;
    font-size:14px;
    line-height:1.6;
}

html.dark body .wdl-conflicts-hero,
html.dark body .wdl-conflict-page-card,
html.dark body .wdl-conflicts-count,
html.dark body .wdl-conflicts-empty{
    background:#111a2a;
    border-color:#29364a;
}

html.dark body .wdl-conflicts-hero{
    background:linear-gradient(135deg,#111a2a,#172236);
}

html.dark body .wdl-conflicts-hero h1,
html.dark body .wdl-conflicts-empty h2{
    color:#f3f6fb;
}

html.dark body .wdl-conflicts-hero p,
html.dark body .wdl-conflicts-page-since,
html.dark body .wdl-conflicts-empty p{
    color:#9aa9bc;
}

html.dark body .wdl-conflict-page-country{
    color:#edf3fa;
    background:#172033;
    border-color:#29364a;
}

html.dark body .wdl-conflict-page-country:hover{
    color:#6ea8ff;
    background:#1b2940;
    border-color:#395579;
}

html.dark body .wdl-conflict-page-meta strong{
    color:#e7edf5;
}

html.dark body .wdl-conflict-page-meta span,
html.dark body .wdl-conflicts-count span{
    color:#91a0b5;
}

@media (max-width:900px){
    .wdl-conflict-page-card{
        grid-template-columns:38px minmax(0,1fr);
        gap:16px;
    }

    .wdl-conflict-page-meta{
        grid-column:2;
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .wdl-conflict-page-view{
        grid-column:2;
        justify-content:flex-start;
    }
}

@media (max-width:640px){
    .wdl-conflicts-page{
        padding:24px 14px 50px;
    }

    .wdl-conflicts-hero{
        flex-direction:column;
        align-items:flex-start;
        padding:24px;
    }

    .wdl-conflicts-hero h1{
        font-size:29px;
    }

    .wdl-conflicts-count{
        width:100%;
        box-sizing:border-box;
    }

    .wdl-conflict-page-card{
        grid-template-columns:34px minmax(0,1fr);
        padding:17px;
    }

    .wdl-conflict-page-number{
        width:34px;
        height:34px;
    }

    .wdl-conflict-page-meta{
        grid-template-columns:1fr;
    }
}

/* =========================================================
   WorldDataLive - Conflict Details
   ========================================================= */

.wdl-conflict-details-page{
    max-width:1400px;
    margin:0 auto;
    padding:30px 24px 70px;
}

.wdl-conflict-back{
    display:inline-flex;
    align-items:center;
    margin-bottom:20px;
    color:#1769d1;
    text-decoration:none;
    font-size:14px;
    font-weight:750;
}

.wdl-conflict-back:hover{
    text-decoration:underline;
}

.wdl-conflict-detail-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding:36px;
    border:1px solid #e1e8f1;
    border-radius:16px;
    background:linear-gradient(135deg,#f8fbff,#fff);
}

.wdl-conflict-detail-status{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:12px;
    color:#a32929;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
}

.wdl-conflict-detail-heading h1{
    margin:0;
    color:#142033;
    font-size:36px;
    line-height:1.2;
}

.wdl-conflict-detail-heading p{
    margin:10px 0 0;
    color:#68778b;
    font-size:15px;
}

.wdl-conflict-detail-id{
    padding:9px 13px;
    border:1px solid #dce5ef;
    border-radius:8px;
    background:#fff;
    color:#66758a;
    font-size:12px;
    font-weight:750;
    white-space:nowrap;
}

.wdl-conflict-detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-top:20px;
}

.wdl-conflict-detail-card{
    padding:26px;
    border:1px solid #e1e8f1;
    border-radius:14px;
    background:#fff;
}

.wdl-conflict-detail-card h2{
    margin:0 0 18px;
    color:#172033;
    font-size:19px;
}

.wdl-conflict-detail-countries{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.wdl-conflict-detail-country{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border:1px solid #e1e8f1;
    border-radius:9px;
    background:#f8fafc;
    color:#172033;
    text-decoration:none;
    font-size:14px;
    font-weight:750;
    transition:all .18s ease;
}

.wdl-conflict-detail-country:hover{
    color:#1769d1;
    border-color:#b9d1ef;
    background:#eef5ff;
}

.wdl-conflict-detail-country img{
    width:32px;
    height:24px;
    object-fit:cover;
    border-radius:2px;
}

.wdl-conflict-detail-country b{
    margin-left:3px;
    color:#1769d1;
}

.wdl-conflict-detail-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.wdl-conflict-detail-info div{
    padding-bottom:13px;
    border-bottom:1px solid #edf1f5;
}

.wdl-conflict-detail-info span{
    display:block;
    margin-bottom:5px;
    color:#8190a4;
    font-size:11px;
    font-weight:750;
    text-transform:uppercase;
}

.wdl-conflict-detail-info strong{
    color:#27354a;
    font-size:14px;
}

.wdl-conflict-detail-note{
    display:flex;
    gap:15px;
    margin-top:20px;
    padding:23px 26px;
    border:1px solid #dce8f5;
    border-radius:14px;
    background:#f6faff;
}

.wdl-conflict-detail-note-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 32px;
    width:32px;
    height:32px;
    border-radius:50%;
    background:#1769d1;
    color:#fff;
    font-weight:800;
}

.wdl-conflict-detail-note h2{
    margin:0 0 5px;
    color:#172033;
    font-size:16px;
}

.wdl-conflict-detail-note p{
    margin:0;
    color:#65758a;
    font-size:13px;
    line-height:1.6;
}

.wdl-conflict-not-found{
    padding:80px 25px;
    text-align:center;
    border:1px solid #e1e8f1;
    border-radius:16px;
    background:#fff;
}

.wdl-conflict-not-found h1{
    margin:0 0 8px;
    color:#172033;
}

.wdl-conflict-not-found p{
    margin:0 auto 22px;
    max-width:500px;
    color:#718096;
}

.wdl-conflict-back-button{
    display:inline-flex;
    padding:10px 16px;
    border-radius:8px;
    background:#1769d1;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:750;
}

html.dark body .wdl-conflict-detail-hero,
html.dark body .wdl-conflict-detail-card,
html.dark body .wdl-conflict-not-found{
    background:#111a2a;
    border-color:#29364a;
}

html.dark body .wdl-conflict-detail-hero{
    background:linear-gradient(135deg,#111a2a,#172236);
}

html.dark body .wdl-conflict-detail-heading h1,
html.dark body .wdl-conflict-detail-card h2,
html.dark body .wdl-conflict-not-found h1,
html.dark body .wdl-conflict-detail-note h2{
    color:#f3f6fb;
}

html.dark body .wdl-conflict-detail-heading p,
html.dark body .wdl-conflict-detail-note p,
html.dark body .wdl-conflict-not-found p{
    color:#9aa9bc;
}

html.dark body .wdl-conflict-detail-id,
html.dark body .wdl-conflict-detail-country{
    background:#172033;
    border-color:#29364a;
    color:#edf3fa;
}

html.dark body .wdl-conflict-detail-country:hover{
    color:#6ea8ff;
    background:#1b2940;
    border-color:#395579;
}

html.dark body .wdl-conflict-detail-info div{
    border-color:#29364a;
}

html.dark body .wdl-conflict-detail-info strong{
    color:#e7edf5;
}

html.dark body .wdl-conflict-detail-note{
    background:#111f34;
    border-color:#29466a;
}

@media (max-width:800px){
    .wdl-conflict-detail-hero{
        align-items:flex-start;
        flex-direction:column;
        padding:27px;
    }

    .wdl-conflict-detail-heading h1{
        font-size:29px;
    }

    .wdl-conflict-detail-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width:600px){
    .wdl-conflict-details-page{
        padding:22px 14px 50px;
    }

    .wdl-conflict-detail-card{
        padding:20px;
    }

    .wdl-conflict-detail-info{
        grid-template-columns:1fr;
        gap:14px;
    }

    .wdl-conflict-detail-note{
        padding:20px;
    }
}

/* Homepage World Countries Directory */
.wdl-home-countries{
    margin-top:32px;
}

.wdl-section-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

.wdl-section-kicker{
    display:block;
    margin-bottom:6px;
    color:#1769d1;
    font-size:11px;
    font-weight:800;
    letter-spacing:.1em;
}

.wdl-section-heading h2{
    margin:0;
    color:#172033;
    font-size:25px;
}

.wdl-section-heading p{
    margin:6px 0 0;
    color:#718096;
    font-size:13px;
}

.wdl-section-link{
    color:#1769d1;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
}

.wdl-section-link:hover{
    text-decoration:underline;
}

.wdl-home-country-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.wdl-home-country-card{
    display:block;
    padding:17px;
    border:1px solid #e1e8f1;
    border-radius:12px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    transition:all .18s ease;
}

.wdl-home-country-card:hover{
    transform:translateY(-2px);
    border-color:#bfd3ea;
    box-shadow:0 7px 22px rgba(20,32,51,.07);
}

.wdl-home-country-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.wdl-home-country-top img{
    width:32px;
    height:24px;
    object-fit:cover;
    border-radius:2px;
    box-shadow:0 0 0 1px rgba(0,0,0,.08);
}

.wdl-home-country-arrow{
    color:#1769d1;
    font-size:17px;
    font-weight:800;
}

.wdl-home-country-card h3{
    margin:13px 0 4px;
    color:#172033;
    font-size:14px;
    line-height:1.35;
}

.wdl-home-country-card > span{
    color:#7a8799;
    font-size:11px;
}

.wdl-home-country-empty{
    padding:30px;
    border:1px solid #e1e8f1;
    border-radius:12px;
    background:#fff;
    color:#718096;
    text-align:center;
}

html.dark body .wdl-home-country-card,
html.dark body .wdl-home-country-empty{
    background:#111a2a;
    border-color:#29364a;
}

html.dark body .wdl-section-heading h2,
html.dark body .wdl-home-country-card h3{
    color:#f3f6fb;
}

html.dark body .wdl-section-heading p,
html.dark body .wdl-home-country-card > span,
html.dark body .wdl-home-country-empty{
    color:#9aa9bc;
}

@media (max-width:900px){
    .wdl-home-country-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:650px){
    .wdl-section-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .wdl-home-country-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:420px){
    .wdl-home-country-grid{
        grid-template-columns:1fr;
    }
}

/* Homepage Country Cards - Grid Fix */
.wdl-home-countries-list{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:14px !important;
    align-items:stretch;
}

.wdl-home-country-card{
    display:grid !important;
    grid-template-columns:42px 1fr;
    grid-template-rows:auto auto auto auto;
    align-items:center;
    gap:10px 12px;
    min-width:0;
    box-sizing:border-box;
    padding:18px !important;
}

.wdl-country-position{
    grid-column:1;
    grid-row:1;
}

.wdl-country-flag{
    grid-column:2;
    grid-row:1;
    display:flex;
    align-items:center;
}

.wdl-country-info{
    grid-column:1 / -1;
    grid-row:2;
    min-width:0;
}

.wdl-country-metric{
    grid-column:1 / -1;
}

.wdl-country-link{
    grid-column:1 / -1;
}

@media (max-width:1100px){
    .wdl-home-countries-list{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}

@media (max-width:700px){
    .wdl-home-countries-list{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media (max-width:440px){
    .wdl-home-countries-list{
        grid-template-columns:1fr !important;
    }
}


/* Homepage Country Cards - Vertical List */
.wdl-home-countries-list{
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
}

.wdl-home-country-card{
    display:grid !important;
    grid-template-columns:42px 70px minmax(180px,1fr) 160px 130px 80px !important;
    grid-template-rows:auto !important;
    align-items:center !important;
    gap:16px !important;
    width:100% !important;
    box-sizing:border-box !important;
}

.wdl-country-position,
.wdl-country-flag,
.wdl-country-info,
.wdl-country-metric,
.wdl-country-link{
    grid-column:auto !important;
    grid-row:auto !important;
}

@media (max-width:900px){
    .wdl-home-country-card{
        grid-template-columns:36px 55px minmax(140px,1fr) 120px 100px 70px !important;
        gap:10px !important;
    }
}

@media (max-width:650px){
    .wdl-home-country-card{
        grid-template-columns:36px 55px minmax(0,1fr) !important;
    }

    .wdl-country-metric{
        display:none !important;
    }

    .wdl-country-link{
        justify-self:end;
    }
}


/* Clickable Country Flag + Name */
.wdl-home-country-identity{
    display:contents;
    color:inherit;
    text-decoration:none;
}

.wdl-home-country-identity .wdl-country-flag,
.wdl-home-country-identity .wdl-country-info{
    cursor:pointer;
}

.wdl-home-country-identity .wdl-country-flag img{
    transition:transform .18s ease;
}

.wdl-home-country-identity:hover .wdl-country-flag img{
    transform:scale(1.06);
}

.wdl-home-country-identity:hover .wdl-country-info h3{
    color:#1769d1;
}

html.dark body .wdl-home-country-identity:hover .wdl-country-info h3{
    color:#6ea8ff;
}


/* =========================================================
   WorldDataLive Professional Information Pages
   ========================================================= */

.info-page {
  min-height: 60vh;
  color: var(--text, #172033);
}

.info-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.info-hero {
  padding: 78px 0 68px;
  background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 55%, #eef8f5 100%);
  border-bottom: 1px solid rgba(20, 45, 80, .08);
}

.info-hero .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #2563eb;
}

.info-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.info-hero .lead {
  max-width: 850px;
  margin: 0;
  color: #526176;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.info-section {
  padding: 68px 0;
}

.info-section.alt {
  background: #f7f9fc;
  border-top: 1px solid rgba(20, 45, 80, .06);
  border-bottom: 1px solid rgba(20, 45, 80, .06);
}

.info-section h2 {
  margin: 0 0 18px;
  color: #172033;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.info-section h2:not(:first-child) {
  margin-top: 46px;
}

.info-section h3 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 19px;
}

.info-section p,
.info-section li {
  color: #526176;
  font-size: 16px;
  line-height: 1.8;
}

.info-section p {
  max-width: 920px;
  margin: 0 0 18px;
}

.info-grid,
.method-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.info-grid article,
.method-grid article,
.contact-card {
  padding: 26px;
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(20, 40, 70, .05);
}

.info-grid article p,
.method-grid article p,
.contact-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.source-list {
  max-width: 930px;
  margin: 20px 0 0;
  padding-left: 24px;
}

.source-list li {
  margin-bottom: 9px;
}

.method-steps {
  max-width: 950px;
  margin: 24px 0;
  padding-left: 27px;
}

.method-steps li {
  margin-bottom: 14px;
  padding-left: 5px;
}

.link-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.link-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}

.link-panel a:hover {
  transform: translateY(-1px);
  border-color: #2563eb;
  box-shadow: 0 7px 20px rgba(37, 99, 235, .12);
}

.notice-box {
  max-width: 950px;
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 4px solid #2563eb;
  border-radius: 10px;
  background: #eef5ff;
}

.notice-box p {
  margin: 0;
}

.info-section a:not(.link-panel a) {
  color: #2563eb;
  font-weight: 700;
}

@media (max-width: 900px) {
  .info-grid,
  .method-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-hero {
    padding: 58px 0 50px;
  }

  .info-section {
    padding: 52px 0;
  }
}

@media (max-width: 620px) {
  .info-container {
    width: min(100% - 28px, 1180px);
  }

  .info-grid,
  .method-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .info-hero h1 {
    font-size: 36px;
  }

  .info-hero .lead {
    font-size: 16px;
  }

  .info-section {
    padding: 42px 0;
  }

  .info-section h2:not(:first-child) {
    margin-top: 36px;
  }

  .info-grid article,
  .method-grid article,
  .contact-card {
    padding: 22px;
  }
}

/* ============================================================
   WorldDataLive — Automatic Country SEO Overview
   ============================================================ */

.wdl-country-seo-overview {
    padding: 0 24px 42px;
    background: #f5f8fc;
}

.wdl-country-seo-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 34px 0 0;
}

.wdl-country-seo-kicker {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #2563eb;
}

.wdl-country-seo-inner > h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
}

.wdl-country-seo-lead {
    max-width: 920px;
    margin: 0 0 28px;
    color: #526174;
    font-size: 17px;
    line-height: 1.8;
}

.wdl-country-seo-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.wdl-country-seo-topic {
    padding: 24px;
    border: 1px solid #e3eaf3;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.wdl-country-seo-topic h3 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 19px;
    line-height: 1.35;
}

.wdl-country-seo-topic p {
    margin: 0 0 12px;
    color: #5b687a;
    font-size: 14px;
    line-height: 1.75;
}

.wdl-country-seo-topic p:last-child {
    margin-bottom: 0;
}

.wdl-country-seo-facts {
    display: grid;
    gap: 9px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.wdl-country-seo-facts li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f7f9fc;
    color: #536174;
    font-size: 13px;
}

.wdl-country-seo-facts strong {
    color: #172033;
    white-space: nowrap;
}

.wdl-country-seo-topic-wide {
    margin-bottom: 18px;
}

.wdl-country-seo-facts-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wdl-country-seo-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 22px 24px;
    border: 1px solid #dbe5f1;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f7faff);
}

.wdl-country-seo-navigation strong {
    display: block;
    margin-bottom: 5px;
    color: #172033;
    font-size: 15px;
}

.wdl-country-seo-navigation span {
    color: #66758a;
    font-size: 13px;
    line-height: 1.5;
}

.wdl-country-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.wdl-country-seo-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d7e1ee;
    border-radius: 9px;
    background: #ffffff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .18s ease;
}

.wdl-country-seo-links a:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-1px);
}

@media (max-width: 800px) {
    .wdl-country-seo-overview {
        padding: 0 16px 32px;
    }

    .wdl-country-seo-inner {
        padding-top: 26px;
    }

    .wdl-country-seo-topic-grid {
        grid-template-columns: 1fr;
    }

    .wdl-country-seo-facts-inline {
        grid-template-columns: 1fr;
    }

    .wdl-country-seo-navigation {
        align-items: flex-start;
        flex-direction: column;
    }

    .wdl-country-seo-lead {
        font-size: 15px;
        line-height: 1.7;
    }

    .wdl-country-seo-topic {
        padding: 20px;
    }
}



/* ============================================================
   WorldDataLive — GSC Intent Focus
   ============================================================ */

.wdl-country-seo-intent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 30px;
    padding: 12px 16px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.045);
    font-size: 14px;
}

.wdl-country-seo-intent span {
    color: #64748b;
    font-weight: 600;
}

.wdl-country-seo-intent strong {
    color: #1d4ed8;
    font-weight: 700;
}

@media (max-width: 640px) {
    .wdl-country-seo-intent {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}


/* Country SEO contextual internal links */
.wdl-country-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wdl-country-seo-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #fff;
    color: #1769aa;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.wdl-country-seo-links a:hover {
    border-color: #1769aa;
    background: #f4f9fd;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .wdl-country-seo-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .wdl-country-seo-links a {
        justify-content: center;
        text-align: center;
    }
}

/* ============================================================
   WorldDataLive — Clean Visitor Location Card
   ============================================================ */

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) {
    width: 100%;
    box-sizing: border-box;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: none;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation)::after {
    display: none;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation):hover {
    transform: none;
    box-shadow: none;
    border-color: #d5dde8;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-icon {
    font-size: 16px;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-badge {
    padding: 4px 8px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #f8fbff;
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value img {
    flex: 0 0 auto;
    width: 28px !important;
    height: auto;
    margin-right: 9px !important;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-sub {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-location-line {
    display: block;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-location-line + .wdl-location-line {
    margin-top: 2px;
}

.wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-location-extra {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
}

html.dark body .wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) {
    border-color: #263244;
    background: #111827;
}

html.dark body .wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-title {
    color: #cbd5e1;
}

html.dark body .wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value {
    color: #f8fafc;
}

html.dark body .wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-sub {
    color: #94a3b8;
}

html.dark body .wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-badge {
    border-color: #1e3a5f;
    background: #0f172a;
    color: #60a5fa;
}

@media (max-width: 640px) {
    .wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) {
        padding: 15px 16px;
        border-radius: 10px;
    }

    .wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value {
        font-size: 19px;
    }

    .wdl-live-info-grid > .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-sub {
        font-size: 12px;
        line-height: 1.8;
    }
}

/* ============================================================
   FINAL VISITOR LOCATION OVERRIDE
   ============================================================ */

.wdl-info-card:has(#wdlVisitorLocation) {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px 20px !important;
    margin: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
}

.wdl-info-card:has(#wdlVisitorLocation)::before,
.wdl-info-card:has(#wdlVisitorLocation)::after {
    display: none !important;
    content: none !important;
}

.wdl-info-card:has(#wdlVisitorLocation):hover {
    transform: none !important;
    box-shadow: none !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 12px !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #334155 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-icon {
    font-size: 16px !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-badge {
    padding: 4px 8px !important;
    border: 1px solid #dbeafe !important;
    border-radius: 999px !important;
    background: #f8fbff !important;
    color: #2563eb !important;
    font-size: 10px !important;
    font-weight: 700 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 0 8px !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value img {
    width: 28px !important;
    height: auto !important;
    flex: 0 0 auto !important;
    margin: 0 9px 0 0 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-sub {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-location-line {
    display: block !important;
    margin: 0 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-location-line + .wdl-location-line {
    margin-top: 2px !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-location-extra {
    display: block !important;
    margin-top: 3px !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
}

html.dark body .wdl-info-card:has(#wdlVisitorLocation) {
    border-color: #263244 !important;
    background: #111827 !important;
}

html.dark body .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-title {
    color: #cbd5e1 !important;
}

html.dark body .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value {
    color: #f8fafc !important;
}

html.dark body .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-sub {
    color: #94a3b8 !important;
}

@media (max-width: 640px) {
    .wdl-info-card:has(#wdlVisitorLocation) {
        padding: 15px 16px !important;
        border-radius: 10px !important;
    }

    .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value {
        font-size: 19px !important;
    }
}

/* ============================================================
   VISITOR LOCATION — CLEAN DATA LAYOUT / NO CARD
   ============================================================ */

.wdl-info-card:has(#wdlVisitorLocation) {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.wdl-info-card:has(#wdlVisitorLocation)::before,
.wdl-info-card:has(#wdlVisitorLocation)::after {
    display: none !important;
    content: none !important;
}

.wdl-info-card:has(#wdlVisitorLocation):hover {
    transform: none !important;
    box-shadow: none !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-title {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-icon {
    font-size: 15px !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-badge {
    padding: 3px 7px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    font-size: 9px !important;
    letter-spacing: .5px !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    font-size: 21px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value img {
    width: 26px !important;
    height: auto !important;
    margin: 0 8px 0 0 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-info-sub {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-location-line {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-location-line + .wdl-location-line {
    margin-top: 1px !important;
}

.wdl-info-card:has(#wdlVisitorLocation) .wdl-location-extra {
    display: block !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

html.dark body .wdl-info-card:has(#wdlVisitorLocation) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 640px) {
    .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value {
        font-size: 19px !important;
    }

    .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-sub {
        font-size: 12px !important;
    }
}


/* FINAL: Visitor Location = plain layout, NOT a card */
html body .wdl-info-card:has(#wdlVisitorLocation) {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    outline: none !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    transform: none !important;
    overflow: visible !important;
}

html body .wdl-info-card:has(#wdlVisitorLocation)::before,
html body .wdl-info-card:has(#wdlVisitorLocation)::after {
    display: none !important;
    content: none !important;
}

html body .wdl-info-card:has(#wdlVisitorLocation):hover {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

html body .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-top {
    margin: 0 0 8px !important;
    padding: 0 !important;
}

html body .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-value {
    margin: 0 0 4px !important;
    padding: 0 !important;
}

html body .wdl-info-card:has(#wdlVisitorLocation) .wdl-info-sub {
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   FINAL: World Population / Visitor Population / Location
   Three separate clean data sections — NO CARDS
   ========================================================= */

html body .wdl-visitor-stats-clean {
    width: min(1400px, calc(100% - 80px)) !important;
    margin: 0 auto 70px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .wdl-population-live-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 90px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .wdl-population-live-item {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .wdl-visitor-location-clean {
    display: block !important;
    width: 100% !important;
    margin: 70px 0 0 !important;
    padding: 28px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body .wdl-visitor-location-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #64748b !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
}

html body .wdl-visitor-location-clean .wdl-info-value {
    margin: 0 0 5px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .wdl-visitor-location-clean .wdl-info-sub {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .wdl-visitor-location-clean .wdl-info-badge {
    flex: 0 0 auto !important;
}

@media (max-width: 700px) {
    html body .wdl-visitor-stats-clean {
        width: calc(100% - 32px) !important;
        margin-bottom: 45px !important;
    }

    html body .wdl-population-live-grid {
        grid-template-columns: 1fr !important;
        gap: 42px !important;
    }

    html body .wdl-visitor-location-clean {
        margin-top: 45px !important;
        padding-top: 22px !important;
    }
}


/* =========================================================
   FINAL ORDER — 3 SEPARATE CLEAN DATA BLOCKS
   ========================================================= */

html body .wdl-visitor-stats-clean {
    width: min(1400px, calc(100% - 80px)) !important;
    margin: 0 auto 70px !important;
    padding: 0 !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .wdl-visitor-location-clean {
    display: block !important;
    width: 100% !important;
    margin: 0 0 65px !important;
    padding: 0 0 32px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body .wdl-visitor-location-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}

html body .wdl-single-population {
    display: block !important;
    width: 100% !important;
    margin: 0 0 65px !important;
    padding: 0 0 32px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body .wdl-single-population:last-child {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html body .wdl-single-population .wdl-population-title {
    margin-bottom: 8px !important;
}

html body .wdl-single-population .wdl-population-events {
    justify-content: flex-start !important;
}

@media (max-width: 700px) {
    html body .wdl-visitor-stats-clean {
        width: calc(100% - 32px) !important;
    }

    html body .wdl-visitor-location-clean {
        margin-bottom: 45px !important;
        padding-bottom: 25px !important;
    }

    html body .wdl-single-population {
        margin-bottom: 45px !important;
        padding-bottom: 25px !important;
    }
}


/* =========================================================
   WORLD DATA LIVE — FINAL CLEAN 3-SECTION LAYOUT
   ========================================================= */

html body .wdl-live-data-clean {
    width: min(1400px, calc(100% - 80px)) !important;
    margin: 0 auto 70px !important;
    padding: 0 !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .wdl-live-data-clean .wdl-visitor-location-clean,
html body .wdl-live-data-clean .wdl-single-population {
    display: block !important;
    width: 100% !important;
    margin: 0 0 60px !important;
    padding: 0 0 32px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body .wdl-live-data-clean .wdl-visitor-location-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}

html body .wdl-live-data-clean .wdl-info-value,
html body .wdl-live-data-clean .wdl-info-sub {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .wdl-live-data-clean .wdl-info-value {
    margin: 0 0 5px !important;
    padding: 0 !important;
}

html body .wdl-live-data-clean .wdl-info-sub {
    margin: 0 !important;
    padding: 0 !important;
}

html body .wdl-live-data-clean .wdl-single-population .wdl-population-title {
    margin: 0 0 8px !important;
}

html body .wdl-live-data-clean .wdl-single-population .wdl-population-number {
    margin: 0 !important;
}

html body .wdl-live-data-clean .wdl-single-population .wdl-population-events {
    justify-content: flex-start !important;
}

html body .wdl-live-data-clean .wdl-single-population:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

@media (max-width: 700px) {
    html body .wdl-live-data-clean {
        width: calc(100% - 32px) !important;
    }

    html body .wdl-live-data-clean .wdl-visitor-location-clean,
    html body .wdl-live-data-clean .wdl-single-population {
        margin-bottom: 42px !important;
        padding-bottom: 24px !important;
    }
}


/* FINAL COMPACT SIZE — LIVE DATA */
html body .wdl-live-data-clean {
    max-width: 1100px !important;
    margin-bottom: 45px !important;
}

html body .wdl-live-data-clean .wdl-visitor-location-heading {
    font-size: 14px !important;
    margin-bottom: 7px !important;
}

html body .wdl-live-data-clean .wdl-info-value {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
}

html body .wdl-live-data-clean .wdl-info-sub {
    font-size: 13px !important;
    line-height: 1.45 !important;
}

html body .wdl-live-data-clean .wdl-population-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 5px !important;
}

html body .wdl-live-data-clean .wdl-population-number {
    font-size: clamp(26px, 2.5vw, 36px) !important;
    line-height: 1.1 !important;
}

html body .wdl-live-data-clean .wdl-population-unit {
    font-size: 12px !important;
    margin-top: 2px !important;
}

html body .wdl-live-data-clean .wdl-population-events {
    font-size: 12px !important;
    gap: 18px !important;
    margin-top: 8px !important;
}

html body .wdl-live-data-clean .wdl-visitor-location-clean,
html body .wdl-live-data-clean .wdl-single-population {
    margin-bottom: 38px !important;
    padding-bottom: 20px !important;
}


/* LIVE BIRTH / DEATH COUNTING EFFECT */
#wdlVisitorBirths,
#wdlVisitorDeaths,
#wdlWorldBirths,
#wdlWorldDeaths {
    display: inline-block;
    transition: transform 0.18s ease, opacity 0.18s ease;
    will-change: transform, opacity;
}

.wdl-counter-tick {
    transform: scale(1.08);
    opacity: 0.72;
}


/* TEMP TEST — Homepage Blog text visibility */
.wdl-home-blog-body{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    color:#111827 !important;
    background:#ffffff !important;
}

.wdl-home-blog-body h3,
.wdl-home-blog-body h3 a{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    color:#111827 !important;
}

.wdl-home-blog-body p,
.wdl-home-blog-meta,
.wdl-home-blog-link{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
}

.wdl-home-blog-body p{
    color:#4b5563 !important;
}

.wdl-home-blog-meta{
    color:#64748b !important;
}

.wdl-home-blog-link{
    color:#2563eb !important;
}

/* WorldDataLive - Homepage Blog Section Dark Mode Fix */
html.dark body .wdl-home-blog-heading h2{
    color:#edf4ff !important;
}

html.dark body .wdl-home-blog-heading p{
    color:#9eacc0 !important;
}

html.dark body .wdl-home-blog-kicker{
    color:#60a5fa !important;
}


/* WorldDataLive - Homepage Blog Cards Dark Mode Final Fix */
html.dark body .wdl-home-blog-card .wdl-home-blog-body{
    background:#0e1a2c !important;
    color:#edf4ff !important;
}

html.dark body .wdl-home-blog-card .wdl-home-blog-body h3,
html.dark body .wdl-home-blog-card .wdl-home-blog-body h3 a{
    color:#edf4ff !important;
}

html.dark body .wdl-home-blog-card .wdl-home-blog-body p{
    color:#9eacc0 !important;
}

html.dark body .wdl-home-blog-card .wdl-home-blog-meta{
    color:#9eacc0 !important;
}

html.dark body .wdl-home-blog-card .wdl-home-blog-link{
    color:#60a5fa !important;
}


/* WorldDataLive - View All Blog Posts Dark Mode */
html.dark body .wdl-home-blog-all,
html.dark body .wdl-home-blog-all:visited{
    color:#edf4ff !important;
}

html.dark body .wdl-home-blog-all:hover{
    color:#60a5fa !important;
}


/* WorldDataLive - Darker View All Blog Posts */
html.dark body .wdl-home-blog-all,
html.dark body .wdl-home-blog-all:visited{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:9px 16px;
    border-radius:8px;
    background:#091322 !important;
    border:1px solid #1b2b40 !important;
    color:#aebbd0 !important;
    box-shadow:none !important;
}

html.dark body .wdl-home-blog-all:hover{
    background:#0d1a2b !important;
    border-color:#263b55 !important;
    color:#d5dfec !important;
}


/* FINAL: View All Blog Posts - Dark Mode */
html.dark body .wdl-home-blog-footer .wdl-home-blog-all{
    background:#050b14 !important;
    border:1px solid #172235 !important;
    color:#9aa9bd !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025) !important;
}

html.dark body .wdl-home-blog-footer .wdl-home-blog-all:hover{
    background:#09111e !important;
    border-color:#22344d !important;
    color:#c5d0df !important;
}


/* VIEW ALL BLOG POSTS - HARD DARK MODE RESET */
html.dark body .wdl-home-blog-footer > a.wdl-home-blog-all,
html.dark body .wdl-home-blog-footer > a.wdl-home-blog-all:visited,
html.dark body .wdl-home-blog-footer > a.wdl-home-blog-all:hover,
html.dark body .wdl-home-blog-footer > a.wdl-home-blog-all:active{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-height:0 !important;
    padding:9px 16px !important;
    margin:0 !important;

    background:#050b14 !important;
    background-image:none !important;
    background-color:#050b14 !important;

    border:1px solid #172235 !important;
    border-radius:8px !important;

    color:#9aa9bd !important;
    text-decoration:none !important;

    box-shadow:none !important;
    opacity:1 !important;
    filter:none !important;
    text-shadow:none !important;
}

html.dark body .wdl-home-blog-footer > a.wdl-home-blog-all:hover{
    background:#09111e !important;
    background-image:none !important;
    background-color:#09111e !important;
    border-color:#22344d !important;
    color:#c5d0df !important;
}



/* WorldDataLive UCDP Conflicts Integration */

.wdl-home-conflicts .wdl-home-conflicts-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.wdl-home-conflict-card{
    position:relative;
}

.wdl-ucdp-conflict-parties{
    margin:7px 0 3px;
    font-size:14px;
    line-height:1.45;
    font-weight:800;
    color:#111827;
}

.wdl-ucdp-conflict-parties span{
    margin:0 5px;
    color:#9ca3af;
    font-weight:700;
}

.wdl-ucdp-territory{
    display:block;
    margin-top:3px;
    font-size:11px;
    color:#6b7280;
}

.wdl-home-conflicts .wdl-conflict-country-list{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.wdl-home-conflicts .wdl-conflict-country-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.wdl-home-conflicts .wdl-conflict-country-link img{
    object-fit:cover;
    border-radius:2px;
    box-shadow:0 0 0 1px rgba(17,24,39,.08);
}

.wdl-home-conflicts .wdl-conflict-metric strong{
    font-size:12px;
}

html.dark body .wdl-ucdp-conflict-parties{
    color:#f3f4f6;
}

html.dark body .wdl-ucdp-conflict-parties span{
    color:#9ca3af;
}

html.dark body .wdl-ucdp-territory{
    color:#9ca3af;
}

/* WorldDataLive — Country Education Data */
.wdl-country-education-data {
    margin: 24px 0;
    padding: 24px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.wdl-country-education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 18px;
}

.wdl-country-section-kicker {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #64748b;
}

.wdl-country-education-header h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.25;
    color: #111827;
}

.wdl-country-education-header p {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 14px;
}

.wdl-country-education-link {
    flex: 0 0 auto;
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.wdl-country-education-link:hover {
    text-decoration: underline;
}

.wdl-country-education-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}

.wdl-country-education-item {
    padding: 15px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: transparent;
}

.wdl-country-education-item span {
    display: block;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 13px;
}

.wdl-country-education-item strong {
    display: block;
    color: #111827;
    font-size: 20px;
}

.wdl-country-education-item strong small {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.wdl-country-education-empty {
    color: #64748b;
    font-size: 14px;
}

html.dark .wdl-country-education-data,
html.dark body .wdl-country-education-data {
    border-color: #374151;
}

html.dark .wdl-country-section-kicker,
html.dark body .wdl-country-section-kicker,
html.dark .wdl-country-education-header p,
html.dark body .wdl-country-education-header p,
html.dark .wdl-country-education-item span,
html.dark body .wdl-country-education-item span,
html.dark .wdl-country-education-item strong small,
html.dark body .wdl-country-education-item strong small,
html.dark .wdl-country-education-empty,
html.dark body .wdl-country-education-empty {
    color: #9ca3af;
}

html.dark .wdl-country-education-header h2,
html.dark body .wdl-country-education-header h2,
html.dark .wdl-country-education-item strong,
html.dark body .wdl-country-education-item strong {
    color: #f3f4f6;
}

html.dark .wdl-country-education-item,
html.dark body .wdl-country-education-item {
    border-color: #374151;
}

@media (max-width:760px) {
    .wdl-country-education-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .wdl-country-education-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Country Tourism Data
   ============================================================ */

.wdl-country-tourism-data{
    margin:24px 0;
    padding:24px 0;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
}

.wdl-country-tourism-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    margin-bottom:18px;
}

.wdl-country-tourism-header h2{
    margin:4px 0 6px;
}

.wdl-country-tourism-header p{
    margin:0;
    color:#64748b;
}

.wdl-country-tourism-link{
    white-space:nowrap;
    font-weight:600;
    text-decoration:none;
}

.wdl-country-tourism-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.wdl-country-tourism-item{
    padding:15px 16px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:transparent;
}

.wdl-country-tourism-item span{
    display:block;
    font-size:.82rem;
    color:#64748b;
    margin-bottom:6px;
}

.wdl-country-tourism-item strong{
    display:block;
    font-size:1.15rem;
    color:#111827;
}

.wdl-country-tourism-item small{
    display:block;
    margin-top:4px;
    color:#64748b;
}

html.dark .wdl-country-tourism-data,
html.dark body .wdl-country-tourism-data{
    border-color:#374151;
}

html.dark .wdl-country-tourism-header p,
html.dark body .wdl-country-tourism-header p,
html.dark .wdl-country-tourism-item span,
html.dark body .wdl-country-tourism-item span,
html.dark .wdl-country-tourism-item small,
html.dark body .wdl-country-tourism-item small{
    color:#9ca3af;
}

html.dark .wdl-country-tourism-item,
html.dark body .wdl-country-tourism-item{
    border-color:#374151;
}

html.dark .wdl-country-tourism-item strong,
html.dark body .wdl-country-tourism-item strong{
    color:#f3f4f6;
}

@media (max-width:700px){
    .wdl-country-tourism-header{
        display:block;
    }

    .wdl-country-tourism-link{
        display:inline-block;
        margin-top:12px;
    }

    .wdl-country-tourism-grid{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   TOOLS NAV DROPDOWN
   ========================================================= */

.wdl-tools-trigger{
    display:inline-flex;
    align-items:center;
    position:relative;
}

.wdl-tools-link{
    padding-right:7px;
}

.wdl-tools-toggle{
    min-width:25px;
    width:25px;
    min-height:40px;
    height:40px;
    padding:0 4px;
    margin-left:-3px;
    border-radius:7px;
}

.wdl-tools-toggle span{
    display:inline-block;
}

.wdl-tools-menu{
    width:320px;
    max-height:calc(100vh - 100px);
    overflow-y:auto;
    z-index:9999;
}

.wdl-dropdown.open .wdl-dropdown-menu{
    display:block;
}

.wdl-dropdown.open .wdl-tools-toggle span{
    transform:rotate(180deg);
}

@media (min-width:901px){
    .wdl-tools-toggle{
        display:none;
    }

    .wdl-tools-trigger{
        display:block;
    }

    .wdl-tools-dropdown:hover .wdl-tools-menu{
        display:block;
    }
}

@media (max-width:900px){
    .wdl-tools-trigger{
        display:flex;
        width:100%;
        align-items:center;
    }

    .wdl-tools-link{
        flex:1;
        width:auto;
    }

    .wdl-tools-toggle{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        flex:0 0 42px;
        width:42px;
        min-width:42px;
        height:46px;
        min-height:46px;
        margin-left:0;
        padding:0;
    }

    .wdl-tools-menu{
        width:100%;
        max-height:none;
        overflow:visible;
    }

    .wdl-tools-dropdown.open .wdl-tools-menu{
        display:block;
    }
}

/* Keyword Research - Free Suggestions */
.wdl-kv-suggestions{
    margin-top:24px;
    padding:24px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:18px;
    background:#f8fafc;
}

.wdl-kv-suggestions-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

.wdl-kv-suggestions-head h3{
    margin:6px 0 0;
    font-size:21px;
    line-height:1.3;
}

.wdl-kv-suggestions-head > span{
    font-size:13px;
    font-weight:700;
    color:#64748b;
    white-space:nowrap;
}

.wdl-kv-suggestion-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.wdl-kv-suggestion{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    padding:13px 15px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:12px;
    background:#fff;
    color:#1e293b;
    font-size:14px;
    line-height:1.45;
}

.wdl-kv-suggestion > span:first-child{
    flex:0 0 auto;
    font-size:18px;
    color:#64748b;
}

.wdl-kv-suggestion > span:last-child{
    min-width:0;
    overflow-wrap:anywhere;
}

.wdl-kv-source{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;
    margin-top:16px;
    color:#64748b;
    font-size:12px;
}

.wdl-kv-source strong{
    color:#334155;
}

@media(max-width:700px){
    .wdl-kv-suggestions{
        padding:18px;
    }

    .wdl-kv-suggestions-head{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }

    .wdl-kv-suggestion-list{
        grid-template-columns:1fr;
    }
}
