/*
Theme Name: Kadence Child - DroneAllowed
Template: kadence
Version: 1.0.0
*/

/* ── FONT & RESET ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* DroneAllowed Color Palette */
  --brand:        #1E3A8A; /* Koyu Lacivert */
  --brand-2:      #3B82F6; /* Canlı Mavi */
  --brand-3:      #0EA5E9; /* Sky Blue */
  --brand-4:      #F8FAFC; /* Açık Beyaz arka plan */
  --text:         #111827; /* Koyu Gri */
  --text-2:       #374151;
  --text-3:       #6b7280;
  --white:        #ffffff;
  --black:        #0f172a;
  --dark:         #0f172a;
  --border:       #e5e7eb;
  --card-bg:      #ffffff;

  /* Utility */
  --shadow-sm:    0 1px 4px rgba(30,58,138,.07);
  --shadow:       0 4px 16px rgba(30,58,138,.1);
  --shadow-lg:    0 8px 32px rgba(30,58,138,.15);
  --radius:       10px;
  --radius-sm:    6px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', sans-serif;

  /* Status */
  --green:        #16a34a;
  --green-light:  #dcfce7;
  --red:          #dc2626;
  --red-light:    #fee2e2;
  --amber:        #d97706;
  --amber-light:  #fef3c7;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--brand-4);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  margin: 0; padding: 0;
}

a { color: var(--brand-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-3); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.3; color: var(--text); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
.main-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.header-style-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo a {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.logo a em { color: var(--brand-3); font-style: normal; }
.logo img { height: 38px; width: auto; }

/* Nav */
.main-nav { display: flex; align-items: center; }
.main-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-menu > li { position: relative; }
.main-menu > li > a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
}
.main-menu > li > a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Dropdown */
.main-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  z-index: 9999;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  list-style: none;
  margin: 0;
}
.main-menu li:hover > .sub-menu { display: block; }
.main-menu .sub-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-size: 14px;
  transition: background .15s;
}
.main-menu .sub-menu li a:hover { background: #eff6ff; color: var(--brand-2); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 10px; }
.search-icon {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 18px;
  cursor: pointer;
  padding: 6px 10px;
  transition: color .2s;
}
.search-icon:hover { color: #fff; }
.btn-dark {
  background: var(--brand-2);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.btn-dark:hover { background: var(--brand); color: #fff; }

/* Mobile menu button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer; padding: 0;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .25s;
}

/* Off-canvas */
#da-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 9997;
}
#da-overlay.open { display: block; }
#da-drawer {
  position: fixed; top: 0; right: -300px;
  width: 280px; height: 100vh;
  background: var(--dark); z-index: 9998;
  overflow-y: auto;
  transition: right .3s;
  padding: 72px 0 40px;
  box-shadow: -4px 0 24px rgba(0,0,0,.3);
}
#da-drawer.open { right: 0; }
.drawer-menu { list-style: none; margin: 0; padding: 0; }
.drawer-menu li { border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer-menu li a {
  display: block; padding: 14px 24px;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.85) !important;
  transition: background .2s;
}
.drawer-menu li a:hover { background: rgba(255,255,255,.08); color: var(--brand-3) !important; }

/* ══════════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════════ */
.topbar {
  background: var(--brand);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar .date { color: rgba(255,255,255,.7); }
.topbar .social-links { display: flex; gap: 12px; }
.topbar .social-links a { color: rgba(255,255,255,.6); font-size: 13px; transition: color .2s; }
.topbar .social-links a:hover { color: var(--brand-3); }

/* ══════════════════════════════════════════════════
   CATEGORY BADGE — tag-category style
══════════════════════════════════════════════════ */
.tag-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 3px 10px;
  border-radius: 20px;
  color: var(--white) !important;
  background: var(--brand-2);
  transition: transform .15s, box-shadow .15s;
}
.tag-category:hover { transform: translateY(-2px); box-shadow: 0 3px 10px rgba(59,130,246,.4); }
.tag-category.bg-brand-1 { background: var(--brand-2); }
.tag-category.bg-success  { background: #16a34a; }
.tag-category.bg-warning  { background: #d97706; }
.tag-category.bg-danger   { background: #dc2626; }
.tag-category.bg-primary  { background: var(--brand); }
.tag-category.bg-sky      { background: var(--brand-3); }

/* ══════════════════════════════════════════════════
   POST THUMB (background-image cards)
══════════════════════════════════════════════════ */
.post-thumb {
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.thumb-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}
.post-content-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 22px 18px;
  z-index: 1;
}
.img-link {
  position: absolute; inset: 0; z-index: 2;
}
.img-hover-scale { transition: transform .4s; }
.img-hover-scale:hover { transform: scale(1.04); }

/* ══════════════════════════════════════════════════
   POST META
══════════════════════════════════════════════════ */
.post-meta-1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-date { font-size: 13px; color: var(--text-3); }
.post-date.text-white { color: rgba(255,255,255,.75) !important; }
.post-meta-2 { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); flex-wrap: wrap; }
.post-meta-2 img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 600; color: var(--text); }
.time-to-read::before { content: '·'; margin-right: 6px; }
.post-title { font-family: var(--font-heading); line-height: 1.35; color: var(--text); }
.post-title a { color: inherit; }
.post-title a:hover { color: var(--brand-2); }

/* ══════════════════════════════════════════════════
   HOMEPAGE — FEATURED GRID (home-2 style)
══════════════════════════════════════════════════ */
.featured-grid { padding: 52px 0; }
.featured-main .post-thumb { height: 480px; }
.featured-main .post-thumb .post-content-overlay { padding: 28px 28px 26px; }
.featured-main .post-title { font-size: clamp(22px, 3vw, 32px); color: #fff; margin: 10px 0 0; }

.featured-side .row { gap: 0; }
.featured-side .post-thumb { height: 228px; }
.featured-side .post-title { font-size: 15px; color: #fff; margin: 8px 0 0; }

/* Country quick-links row */
.country-row {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.country-row .container { display: flex; }
.country-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  border-right: 1px solid var(--border);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.country-item:last-child { border-right: none; }
.country-item:hover { background: #eff6ff; color: var(--brand-2); }
.country-item .flag { font-size: 22px; }

/* ══════════════════════════════════════════════════
   HOMEPAGE — LOOP LIST (horizontal cards)
══════════════════════════════════════════════════ */
.section-header-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.section-header-title h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 0;
  color: var(--text);
}
.section-header-title .view-all { font-size: 13px; color: var(--brand-2); font-weight: 600; }
.section-header-title .view-all:hover { color: var(--brand-3); }

.loop-list { display: flex; flex-direction: column; gap: 20px; }
.loop-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.loop-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.loop-item .post-thumb { height: 100%; min-height: 140px; border-radius: 0; }
.loop-item-body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; }
.loop-item-body .post-title { font-size: 17px; margin: 8px 0 12px; }
.loop-item-body .post-excerpt { font-size: 13.5px; color: var(--text-3); margin: 0; line-height: 1.6; }

/* ══════════════════════════════════════════════════
   HOMEPAGE — POST CARD (grid cards like Flow)
══════════════════════════════════════════════════ */
.post-card-1 {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.post-card-1:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-1 .post-thumb { height: 220px; border-radius: 0; }
.post-card-1 .post-content { padding: 20px; }
.post-card-1 .post-title { font-size: 18px; margin: 10px 0 14px; }
.post-card-1 .post-excerpt { font-size: 14px; color: var(--text-3); margin: 0 0 14px; line-height: 1.65; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.posts-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* ══════════════════════════════════════════════════
   HOMEPAGE — EDITOR'S PICKED SECTION
══════════════════════════════════════════════════ */
.editors-section {
  background: var(--white);
  padding: 52px 0;
  border-top: 1px solid var(--border);
}
.editors-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--brand-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.editors-card .post-thumb { height: 300px; border-radius: var(--radius); }
.editors-card .post-title { font-size: clamp(20px, 2.5vw, 28px); margin: 12px 0 16px; }
.editors-card .post-excerpt { color: var(--text-3); font-size: 15px; line-height: 1.75; }

/* ══════════════════════════════════════════════════
   HOMEPAGE — WHY TRUST US
══════════════════════════════════════════════════ */
.why-section {
  background: var(--dark);
  padding: 64px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.why-card .icon { font-size: 34px; margin-bottom: 14px; }
.why-card h3 { font-size: 16px; color: #fff; margin: 0 0 8px; }
.why-card p { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 0; line-height: 1.65; }

/* ══════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════ */
.primary-sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.widget-header-1 {
  padding: 14px 20px;
  border-bottom: 2px solid var(--brand-2);
  background: var(--brand-4);
}
.widget-header-1 h5 {
  font-family: var(--font-heading);
  font-size: 16px;
  margin: 0;
  color: var(--text);
}
.widget-body { padding: 16px 20px; }

/* Search widget */
.search-form-widget { display: flex; gap: 8px; }
.search-form-widget input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color .2s;
}
.search-form-widget input:focus { outline: none; border-color: var(--brand-2); }
.search-form-widget button {
  background: var(--brand-2); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 9px 14px; cursor: pointer; font-size: 16px;
}

/* Latest posts list */
.list-post { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.list-post li { display: flex; gap: 12px; align-items: flex-start; }
.list-post .post-thumb { width: 70px; height: 60px; min-height: unset; flex-shrink: 0; border-radius: 6px; }
.list-post .post-content h5 { font-size: 13px; margin: 0 0 5px; line-height: 1.4; color: var(--text); font-family: var(--font-body); }
.list-post .post-on { font-size: 11px; color: var(--text-3); }

/* Country tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-item {
  background: #eff6ff; color: var(--brand);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  text-decoration: none; transition: all .2s;
}
.tag-item:hover { background: var(--brand-2); color: #fff; }

/* CTA widget */
.widget-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--brand) 100%);
  text-align: center; padding: 28px 20px;
  border-radius: var(--radius);
}
.widget-cta .cta-icon { font-size: 38px; margin-bottom: 12px; }
.widget-cta h4 { color: #fff; font-size: 17px; margin: 0 0 8px; }
.widget-cta p { color: rgba(255,255,255,.75); font-size: 13.5px; margin: 0 0 16px; line-height: 1.5; }
.btn-cta {
  display: inline-block; background: var(--brand-3);
  color: #fff !important; padding: 10px 22px;
  border-radius: 8px; font-size: 14px; font-weight: 700;
  transition: background .2s;
}
.btn-cta:hover { background: var(--brand-2); color: #fff; }

/* ══════════════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════════════ */
.single-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.single-layout {
  display: grid !important;
  grid-template-columns: 1fr 320px !important;
  gap: 36px !important;
  padding: 40px 20px 60px !important;
  align-items: start !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}
.single-layout > main { min-width: 0; overflow: hidden; }
.single-layout > aside { min-width: 0; }
.entry-article { min-width: 0; width: 100%; }

/* Breadcrumb */
.breadcrumb-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb-wrap .container { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb-wrap a { color: var(--brand-2); }
.breadcrumb-wrap .sep { color: var(--text-3); }

/* Entry header */
.entry-header { margin-bottom: 28px; }
.entry-header-style-1 { padding: 0; }
.entry-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.2;
  margin: 14px 0 20px;
  color: var(--text);
}

/* Featured image */
.entry-featured-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.entry-featured-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

/* Article body */
.entry-main-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-2);
}
.entry-main-content h2 {
  font-size: 24px; margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dbeafe;
  color: var(--text);
}
.entry-main-content h3 { font-size: 20px; margin: 28px 0 12px; color: var(--text); }
.entry-main-content h4 { font-size: 17px; margin: 22px 0 10px; color: var(--text); }
.entry-main-content p { margin-bottom: 18px; }
.entry-main-content ul, .entry-main-content ol { margin: 0 0 18px 24px; }
.entry-main-content li { margin-bottom: 7px; }
.entry-main-content blockquote {
  background: #eff6ff;
  border-left: 4px solid var(--brand-2);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-2);
}
.entry-main-content a { color: var(--brand-2); }
.entry-main-content img { border-radius: var(--radius-sm); margin: 20px 0; }

/* Quick rules box */
.quick-rules-box {
  background: linear-gradient(135deg, #0f172a 0%, var(--brand) 100%);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.quick-rules-box h3 { color: var(--brand-3); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 16px; font-family: var(--font-body); }
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rule-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 12px 14px;
}
.rule-type { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.rule-status { font-size: 14px; font-weight: 600; color: #fff; }
.rule-item.allowed .rule-status { color: #4ade80; }
.rule-item.restricted .rule-status { color: #fbbf24; }
.rule-item.banned .rule-status { color: #f87171; }

/* Legal note */
.legal-note {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid var(--amber);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #92400e;
  margin-bottom: 28px;
}

/* Last verified */
.last-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
}

/* Callout boxes */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: 10px; padding: 16px 18px; margin: 24px 0;
}
.callout-icon { font-size: 22px; flex-shrink: 0; }
.callout-body { flex: 1; font-size: 14.5px; color: #1e3a8a; line-height: 1.7; }
.callout-body strong { color: #1e40af; }
.callout.warn { background: var(--amber-light); border-color: #fcd34d; }
.callout.warn .callout-body { color: #92400e; }
.callout.danger { background: var(--red-light); border-color: #fca5a5; }
.callout.danger .callout-body { color: #7f1d1d; }
.callout.success { background: var(--green-light); border-color: #86efac; }
.callout.success .callout-body { color: #14532d; }

/* Tags + share row */
.entry-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap;
}

/* Author bio */
.author-bio {
  background: var(--brand-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex; gap: 18px;
  align-items: flex-start;
  margin-top: 36px;
}
.author-bio img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio h4 { font-size: 16px; margin: 0 0 5px; }
.author-bio p { font-size: 13.5px; color: var(--text-3); margin: 0; line-height: 1.65; }

/* Related posts */
.related-posts { margin-top: 48px; }
.related-posts h3 { font-size: 22px; margin: 0 0 20px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; color: inherit;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related-card .post-thumb { height: 130px; border-radius: 0; }
.related-card-body { padding: 12px 14px; }
.related-card-body h4 { font-size: 13px; margin: 0 0 5px; line-height: 1.4; color: var(--text); font-family: var(--font-body); }
.related-card-body span { font-size: 11px; color: var(--text-3); }

/* ══════════════════════════════════════════════════
   CONTENT TABLES
══════════════════════════════════════════════════ */
.entry-main-content table, .entry-content table, article table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  margin: 28px 0; border: 1px solid var(--border);
}
.entry-main-content table th, .entry-content table th, article table th {
  background: var(--brand) !important; color: #fff !important;
  padding: 12px 16px !important; text-align: left !important;
  font-size: 13px !important; font-weight: 600 !important;
  border-right: 1px solid rgba(255,255,255,.15) !important;
  border-bottom: none !important; white-space: nowrap;
}
.entry-main-content table td, .entry-content table td, article table td {
  padding: 11px 16px; border: 1px solid var(--border);
  vertical-align: top; line-height: 1.6;
}
.entry-main-content table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even) { background: #f8fafc; }
.entry-main-content table tbody tr:hover,
.entry-content table tbody tr:hover { background: #eff6ff; }

/* FAQ */
.faq-section { margin: 36px 0; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-item h3 {
  font-size: 15px; font-weight: 600; padding: 14px 18px; margin: 0;
  background: #f8fafc; border-bottom: 1px solid var(--border);
  color: var(--text); display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
}
.faq-item h3::before {
  content: "?"; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; background: var(--brand-2); color: #fff;
  border-radius: 50%; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.faq-item p { padding: 14px 18px; margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.75; }

/* Stat cards */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 28px 0; }
.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--brand-2); border-radius: 10px;
  padding: 18px 16px; text-align: center;
}
.stat-card .stat-num { display: block; font-size: 28px; font-weight: 700; font-family: var(--font-heading); color: var(--brand); }
.stat-card .stat-label { font-size: 12px; color: var(--text-3); margin-top: 3px; }

/* Steps */
.steps { margin: 28px 0; }
.step { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; margin-top: 2px;
}
.step-body strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.step-body p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ══════════════════════════════════════════════════
   ARCHIVE / TAXONOMY
══════════════════════════════════════════════════ */
.archive-header {
  background: var(--dark);
  padding: 52px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.archive-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(59,130,246,.2) 0%, transparent 55%);
}
.archive-header h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 0 0 8px; position: relative; }
.archive-header p { color: rgba(255,255,255,.6); font-size: 15px; margin: 0; position: relative; }

.archive-layout {
  max-width: 1200px; margin: 0 auto;
  padding: 40px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
.archive-list { display: flex; flex-direction: column; gap: 22px; }
.archive-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: transform .2s, box-shadow .2s;
}
.archive-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.archive-card .post-thumb { height: 100%; min-height: 160px; border-radius: 0; }
.archive-card-body { padding: 22px 26px; }
.archive-card-body h2 { font-size: 20px; margin: 8px 0 10px; line-height: 1.3; }
.archive-card-body p { font-size: 14px; color: var(--text-3); margin: 0 0 16px; line-height: 1.65; }
.archive-card-footer { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); flex-wrap: wrap; }
.btn-read-more {
  margin-left: auto; background: var(--brand-2); color: #fff;
  font-size: 13px; font-weight: 700; padding: 7px 16px;
  border-radius: var(--radius-sm); transition: background .2s;
}
.btn-read-more:hover { background: var(--brand); color: #fff; }

/* ══════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════ */
.pagination-wrap {
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: center;
}
.pagination-wrap ul {
  display: inline-flex; gap: 6px;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.pagination-wrap .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--card-bg); color: var(--text);
  font-size: 14px; font-weight: 600; transition: all .2s;
}
.pagination-wrap .page-numbers:hover { border-color: var(--brand-2); color: var(--brand-2); }
.pagination-wrap .page-numbers.current { background: var(--brand-2); border-color: var(--brand-2); color: #fff; pointer-events: none; }
.pagination-wrap .page-numbers.dots { border: none; background: transparent; pointer-events: none; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: #64748b;
  padding: 56px 0 0;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-logo em { color: var(--brand-3); font-style: normal; }
.footer-desc { font-size: 13.5px; line-height: 1.75; color: #94a3b8; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; margin: 0 0 14px; letter-spacing: .3px; font-family: var(--font-body); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #64748b; font-size: 13.5px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--brand-3); }
.footer-newsletter { margin-top: 16px; }
.footer-newsletter input {
  width: 100%; border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: 9px 14px;
  font-size: 14px; font-family: var(--font-body);
  background: rgba(255,255,255,.06); color: #fff; margin-bottom: 8px;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter button {
  width: 100%; background: var(--brand-2); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 9px 14px; font-weight: 700; cursor: pointer; font-size: 14px;
  transition: background .2s;
}
.footer-newsletter button:hover { background: var(--brand-3); }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; flex-wrap: wrap; gap: 8px;
}

/* ══════════════════════════════════════════════════
   STATIC PAGE
══════════════════════════════════════════════════ */
.page-header { background: var(--dark); padding: 52px 0; text-align: center; }
.page-header h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 0; }
.page-body {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 36px 40px;
}
.page-body h2 { font-size: 20px; margin: 28px 0 10px; padding-bottom: 8px; border-bottom: 2px solid #dbeafe; color: var(--text); }
.page-body h2:first-child { margin-top: 0; }
.page-body h3 { font-size: 17px; margin: 22px 0 8px; color: var(--text); }
.page-body p { color: var(--text-2); line-height: 1.8; margin-bottom: 14px; }
.page-body ul { margin: 0 0 16px 20px; color: var(--text-2); line-height: 1.8; }
.page-body a { color: var(--brand-2); }
.page-body strong { color: var(--text); }

/* ══════════════════════════════════════════════════
   CONTENT BOT COMPONENTS (da-* prefix)
══════════════════════════════════════════════════ */

/* Callout — info */
.da-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0;
}
.da-callout-icon { font-size: 22px; flex-shrink: 0; line-height: 1.4; }
.da-callout-body { flex: 1; font-size: 14.5px; color: #1e3a8a; line-height: 1.75; }
.da-callout-body strong { color: #1e40af; }
.da-callout-body a { color: var(--brand-2); }

/* Callout — warning */
.da-callout.da-callout--warn {
  background: var(--amber-light);
  border-color: #fcd34d;
}
.da-callout.da-callout--warn .da-callout-body { color: #92400e; }
.da-callout.da-callout--warn .da-callout-body strong { color: #78350f; }

/* Callout — danger */
.da-callout.da-callout--danger {
  background: var(--red-light);
  border-color: #fca5a5;
}
.da-callout.da-callout--danger .da-callout-body { color: #7f1d1d; }

/* Highlight bar */
.da-highlight-bar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #7dd3fc;
  border-left: 4px solid var(--brand-2);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 28px 0;
}
.da-hb-icon { font-size: 24px; flex-shrink: 0; line-height: 1; }
.da-hb-text {
  font-size: 14.5px;
  color: #0c4a6e;
  line-height: 1.75;
}
.da-hb-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--brand);
  margin-bottom: 4px;
}

/* Stats */
.da-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.da-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-2);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
}
.da-stat-num {
  display: block;
  font-size: 30px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--brand);
  line-height: 1.1;
}
.da-stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
  line-height: 1.4;
}

/* Steps */
.da-steps { margin: 28px 0; }
.da-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.da-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-top: 2px;
}
.da-step-body strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}
.da-step-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
}
.da-step-body a { color: var(--brand-2); }

/* Compare cards */
.da-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.da-compare-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  background: var(--white);
}
.da-compare-card h4 {
  font-size: 15px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  font-family: var(--font-body);
  font-weight: 700;
}
.da-compare-card ul {
  list-style: none;
  margin: 0; padding: 0;
}
.da-compare-card ul li {
  font-size: 14px;
  color: var(--text-2);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.da-compare-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 12px;
}
.da-compare-card--pro {
  border-top: 3px solid #16a34a;
  background: #f0fdf4;
}
.da-compare-card--pro h4 { color: #15803d; border-color: #bbf7d0; }
.da-compare-card--pro ul li::before { color: #16a34a; }
.da-compare-card--con {
  border-top: 3px solid #d97706;
  background: #fffbeb;
}
.da-compare-card--con h4 { color: #b45309; border-color: #fde68a; }
.da-compare-card--con ul li::before { content: '!'; color: #d97706; }

/* Checklist */
.da-checklist {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}
.da-checklist li {
  padding: 8px 0 8px 32px;
  position: relative;
  font-size: 15px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.da-checklist li:last-child { border-bottom: none; }
.da-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 22px; height: 22px;
  background: var(--brand-2);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  top: 10px;
  line-height: 22px;
  text-align: center;
}

/* Responsive: bot components */
@media (max-width: 600px) {
  .da-compare { grid-template-columns: 1fr; }
  .da-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .single-layout { grid-template-columns: 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .archive-card { grid-template-columns: 1fr; }
  .archive-card .post-thumb { min-height: 200px; }
  .featured-main .post-thumb { height: 360px; }
  .editors-card { grid-template-columns: 1fr; gap: 24px; }
  .rules-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-right .btn-dark { display: none; }
  .mobile-toggle { display: flex; }
  .country-row .country-item span { display: none; }
  .loop-item { grid-template-columns: 1fr; }
  .loop-item .post-thumb { min-height: 200px; }
  .entry-content table, article table { display: block; overflow-x: auto; font-size: 13px; }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-featured-img img { height: 260px; }
  .featured-main .post-thumb { height: 280px; }
  .page-body { padding: 24px 20px; }
  .featured-side .post-thumb { height: 180px; }
}
@media (min-width: 769px) {
  .mobile-toggle, #da-drawer, #da-overlay { display: none !important; }
}
