/* ===== Dark Policy Base ===== */
body {
  background: #020617;
  color: #E5E7EB;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Policy Panels ===== */
.policy-panel {
  background: #0B1220;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* ===== Map Frame ===== */
.map-frame {
  background: #0F172A;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 14px;
  padding: 10px;
  overflow: hidden;
}

/* ===== Tags ===== */
.policy-tag {
  display: inline-block;
  padding: 6px 10px;
  margin-right: 8px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .6px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(15,23,42,0.65);
  color: #9CA3AF;
}

/* ===== Headings ===== */
h1, h2, h3 {
  letter-spacing: 0.6px;
}

/* ===== Buttons (if theme allows) ===== */
.wp-block-button__link {
  border-radius: 999px !important;
  border: 1px solid rgba(148,163,184,0.18);
  background: #0F172A;
}
.wp-block-button__link:hover {
  border-color: rgba(56,189,248,0.7);
}
/* ===== MailPoet sidebar MINI verzió ===== */

.widget_mailpoet_form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* szöveg */
.widget_mailpoet_form p {
  color: #b8c0cc !important;
  font-size: 11px !important;
  line-height: 1.4;
}

/* email mező */
.widget_mailpoet_form input[type="email"] {
  width: 100%;
  padding: 6px 8px;
  border-radius: 5px;
  border: 1px solid #3a3f45;
  background: #2f343a;
  color: #fff;
  font-size: 11px;
  margin-bottom: 6px;
}

/* gomb */
.widget_mailpoet_form input[type="submit"],
.widget_mailpoet_form button {
  width: 100%;
  background: #0d6efd;
  border: none;
  border-radius: 5px;
  padding: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
/* ===== Dark Policy Base ===== */
body {
  background: #020617;
  color: #E5E7EB;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== Policy Panels ===== */
.policy-panel {
  background: #0B1220;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* ===== Map Frame ===== */
.map-frame {
  background: #0F172A;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 14px;
  padding: 10px;
  overflow: hidden;
}

/* ===== Tags ===== */
.policy-tag {
  display: inline-block;
  padding: 6px 10px;
  margin-right: 8px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .6px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(15,23,42,0.65);
  color: #9CA3AF;
}

/* ===== Headings ===== */
h1, h2, h3 {
  letter-spacing: 0.6px;
}

/* ===== Buttons ===== */
.wp-block-button__link {
  border: 1px solid rgba(148,163,184,0.18);
  background: #0F172A;
}

.wp-block-button__link:hover {
  border-color: rgba(56,189,248,0.7);
}

/* ===== MailPoet sidebar MINI verzió ===== */
.widget_mailpoet_form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.widget_mailpoet_form p {
  color: #b8c0cc !important;
  font-size: 11px !important;
  line-height: 1.4;
}

.widget_mailpoet_form input[type="email"] {
  width: 100%;
  padding: 6px 8px;
  border-radius: 5px;
  border: 1px solid #3a3f45;
  background: #2f343a;
  color: #fff;
  font-size: 11px;
  margin-bottom: 6px;
}

.widget_mailpoet_form input[type="submit"],
.widget_mailpoet_form button {
  width: 100%;
  background: #0d6efd;
  border: none;
  border-radius: 5px;
  padding: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

/* =====================================================
   TÖRÉSVONALAK – Brutál térképes UI
   ===================================================== */

.tores-geo {
  --bg-panel: rgba(11, 18, 32, 0.92);
  --bg-panel-soft: rgba(15, 23, 42, 0.82);
  --border-soft: rgba(148, 163, 184, 0.22);
  --text-main: #e5e7eb;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-strong: #facc15;
  --danger: #ef4444;
  --success: #22c55e;

  position: relative;
  min-height: 720px;
  margin: 24px auto 40px auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(90deg, rgba(2,6,23,0.96) 0%, rgba(2,6,23,0.72) 38%, rgba(2,6,23,0.18) 100%),
    url("https://upload.wikimedia.org/wikipedia/commons/8/83/Equirectangular_projection_SW.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.65);
  color: var(--text-main);
}

.tores-geo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.tores-geo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 35%, rgba(250,204,21,0.18), transparent 28%),
    radial-gradient(circle at 80% 65%, rgba(239,68,68,0.18), transparent 24%);
  pointer-events: none;
}

.tores-geo a {
  color: inherit;
  text-decoration: none;
}

.tores-geo-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 70px 48px;
}

.tores-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.35);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
}

.tores-geo h1 {
  margin: 0 0 18px 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.95;
  color: #f8fafc;
  letter-spacing: -1.8px;
}

.tores-geo p {
  max-width: 540px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
}

.tores-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.tores-button {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--border-soft);
  background: rgba(15,23,42,0.86);
  color: #f8fafc !important;
  transition: all 0.25s ease;
}

.tores-button.primary {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #020617 !important;
  border: none;
}

.tores-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(56,189,248,0.25);
}

.tores-monitor {
  position: absolute;
  z-index: 4;
  right: 34px;
  top: 34px;
  width: 330px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.tores-monitor h3 {
  margin: 0 0 14px 0;
  color: #f8fafc;
  font-size: 18px;
}

.tores-alert {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(148,163,184,0.16);
  color: #cbd5e1;
  font-size: 14px;
}

.tores-alert:first-of-type {
  border-top: none;
}

.tores-level {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tores-level.high {
  color: var(--danger);
}

.tores-level.medium {
  color: var(--accent-strong);
}

.tores-level.low {
  color: var(--success);
}

.tores-dashboard {
  position: absolute;
  z-index: 4;
  left: 34px;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tores-card {
  background: var(--bg-panel-soft);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(10px);
}

.tores-card span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tores-card strong {
  display: block;
  margin-top: 8px;
  color: #f8fafc;
  font-size: 24px;
}

.tores-point {
  position: absolute;
  z-index: 5;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--danger);
  animation: tores-pulse 1.8s infinite;
}

.tores-point.yellow {
  background: var(--accent-strong);
}

.tores-point.blue {
  background: var(--accent);
}

.point-ukraine { top: 35%; left: 58%; }
.point-mideast { top: 48%; left: 61%; }
.point-redsea { top: 57%; left: 60%; }
.point-sahel { top: 61%; left: 51%; }
.point-taiwan { top: 50%; left: 82%; }

@keyframes tores-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239,68,68,0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(239,68,68,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239,68,68,0);
  }
}

@media (max-width: 900px) {
  .tores-geo {
    min-height: auto;
  }

  .tores-geo-content {
    padding: 42px 24px;
  }

  .tores-monitor {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    margin: 20px 24px;
  }

  .tores-dashboard {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin: 20px 24px 28px;
  }

  .tores-point {
    display: none;
  }
}