/*
Theme Name: Internetikasiinod
Theme URI: https://internetikasiinod.ee
Author: SEO Agentuur
Description: Käsitsi kodeeritud kerge teema saidile Internetikasiinod.ee - Eesti online-kasiinode võrdlusleht. Ilma JavaScriptita: ainult semantiline HTML ja CSS.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: internetikasiinod
*/

/* ============ Tokens ============ */
:root {
  --ik-bg: #071410;
  --ik-bg-soft: #0a1a14;
  --ik-surface: #0f231b;
  --ik-surface-2: #143024;
  --ik-line: rgba(255, 255, 255, 0.09);
  --ik-text: #edf5f0;
  --ik-muted: #93aa9e;
  --ik-gold: #f2c14e;
  --ik-gold-2: #d99b26;
  --ik-mint: #43d98b;
  --ik-red: #ff7373;
  --ik-radius: 14px;
  --ik-font-head: "Sora", "Segoe UI", sans-serif;
  --ik-font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --ik-max: 1180px;
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ik-bg);
  color: var(--ik-text);
  font-family: var(--ik-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--ik-font-head);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--ik-gold); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; height: auto; }
strong { color: var(--ik-text); }
.ik-wrap { max-width: var(--ik-max); margin: 0 auto; padding: 0 20px; }
.ik-muted { color: var(--ik-muted); }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--ik-gold); outline-offset: 2px; }

/* ============ Header ============ */
.ik-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 20, 16, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ik-line);
}
.ik-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.ik-logo {
  font-family: var(--ik-font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ik-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.ik-logo:hover { text-decoration: none; }
.ik-logo em { font-style: normal; color: var(--ik-gold); }
.ik-logo__chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(var(--ik-gold) 0 25%, var(--ik-surface-2) 25% 50%, var(--ik-gold) 50% 75%, var(--ik-surface-2) 75%);
  border: 2px solid var(--ik-gold);
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
  color: var(--ik-bg);
  font-weight: 800;
}
.ik-logo__chip::after {
  content: "€";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ik-gold);
  display: grid;
  place-items: center;
}
.ik-nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
}
.ik-nav a { color: var(--ik-text); font-weight: 600; font-size: 0.95rem; }
.ik-nav a:hover { color: var(--ik-gold); text-decoration: none; }
.ik-nav ul { display: flex; gap: 4px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.ik-nav__cta {
  background: linear-gradient(180deg, var(--ik-gold), var(--ik-gold-2));
  color: var(--ik-bg) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.ik-nav__cta:hover { filter: brightness(1.06); }

/* ============ Hero ============ */
.ik-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(242, 193, 78, 0.14), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(67, 217, 139, 0.10), transparent 60%),
    linear-gradient(180deg, var(--ik-bg-soft), var(--ik-bg));
  border-bottom: 1px solid var(--ik-line);
  padding: 64px 0 48px;
}
.ik-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 44px;
  align-items: center;
}
.ik-hero h1 { max-width: 18ch; }
.ik-hero h1 em { font-style: normal; color: var(--ik-gold); }
.ik-hero__lead { max-width: 62ch; color: var(--ik-muted); font-size: 1.08rem; }
.ik-hero__badges {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.ik-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ik-surface);
  border: 1px solid var(--ik-line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
}
.ik-badge svg { width: 16px; height: 16px; fill: var(--ik-mint); flex: none; }

/* Hero: edetabeli esikoha pakkumine */
.ik-offer {
  background: linear-gradient(180deg, var(--ik-surface), var(--ik-bg-soft));
  border: 1px solid rgba(242, 193, 78, 0.5);
  border-radius: var(--ik-radius);
  padding: 22px 22px 18px;
  box-shadow: 0 0 0 1px rgba(242, 193, 78, 0.18), 0 18px 44px rgba(0, 0, 0, 0.45);
}
.ik-offer__flag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ik-gold), var(--ik-gold-2));
  color: var(--ik-bg);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ik-offer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ik-offer__name {
  margin: 0;
  font-family: var(--ik-font-head);
  font-weight: 700;
  font-size: 1.15rem;
}
.ik-offer__name a { color: var(--ik-text); }
.ik-offer__name a:hover { color: var(--ik-gold); text-decoration: none; }
.ik-offer__bonus {
  font-family: var(--ik-font-head);
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.ik-offer__bonus em { font-style: normal; color: var(--ik-gold); }
.ik-offer .ik-card__meta { margin-bottom: 16px; }
.ik-offer .ik-btn--gold { display: grid; width: 100%; }
.ik-offer__link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.ik-offer__terms {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--ik-line);
  color: var(--ik-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

/* ============ Toplist ============ */
.ik-toplist { padding: 56px 0 30px; }
.ik-toplist__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ik-updated { color: var(--ik-muted); font-size: 0.9rem; margin: 0; }
.ik-updated strong { color: var(--ik-gold); }

.ik-toplist__list { list-style: none; margin: 0; padding: 0; }
.ik-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 18px 26px;
  align-items: center;
  background: linear-gradient(180deg, var(--ik-surface), var(--ik-bg-soft));
  border: 1px solid var(--ik-line);
  border-radius: var(--ik-radius);
  padding: 24px 26px 18px 58px;
  margin-bottom: 16px;
}
.ik-card--top {
  border-color: rgba(242, 193, 78, 0.55);
  box-shadow: 0 0 0 1px rgba(242, 193, 78, 0.25), 0 14px 40px rgba(0, 0, 0, 0.35);
}
.ik-card__rank {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 38px;
  display: grid;
  place-items: center;
  font-family: var(--ik-font-head);
  font-weight: 700;
  color: var(--ik-muted);
  border-right: 1px solid var(--ik-line);
  border-radius: var(--ik-radius) 0 0 var(--ik-radius);
  background: rgba(255, 255, 255, 0.02);
}
.ik-card--r1 .ik-card__rank { color: var(--ik-gold); background: rgba(242, 193, 78, 0.10); }
.ik-card--r2 .ik-card__rank, .ik-card--r3 .ik-card__rank { color: var(--ik-text); }
.ik-card__flag {
  position: absolute;
  top: -11px;
  left: 54px;
  background: linear-gradient(180deg, var(--ik-gold), var(--ik-gold-2));
  color: var(--ik-bg);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ik-card__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ik-logomark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex: none;
  border-radius: 12px;
  background: var(--ik-surface-2);
  border: 1px solid var(--ik-line);
  font-family: var(--ik-font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.ik-logomark img { width: 100%; height: 100%; object-fit: contain; }
.ik-card__name {
  color: var(--ik-text);
  font-family: var(--ik-font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0;
}
.ik-card__name a { color: inherit; }
.ik-card__name a:hover { color: var(--ik-gold); text-decoration: none; }
.ik-card__logo { display: inline-flex; }
.ik-score {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--ik-muted);
}
.ik-score__num {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  padding: 0 6px;
  border-radius: 8px;
  background: rgba(67, 217, 139, 0.14);
  border: 1px solid rgba(67, 217, 139, 0.4);
  color: var(--ik-mint);
  font-family: var(--ik-font-head);
  font-weight: 700;
}
.ik-card__bonus {
  font-family: var(--ik-font-head);
  font-size: 1.22rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.ik-card__bonus em { font-style: normal; color: var(--ik-gold); }
.ik-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  color: var(--ik-muted);
  font-size: 0.85rem;
}
.ik-card__meta strong { display: block; color: var(--ik-text); font-size: 0.95rem; }
.ik-card__pros { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.88rem; }
.ik-card__pros li { padding-left: 22px; position: relative; }
.ik-card__pros li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 13px;
  background: var(--ik-mint);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2l-3.5-3.6L4 14.1 9 19 20 8l-1.4-1.4z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2l-3.5-3.6L4 14.1 9 19 20 8l-1.4-1.4z"/></svg>') center/contain no-repeat;
}
.ik-card__actions { display: grid; gap: 10px; justify-items: stretch; }
.ik-btn {
  display: inline-grid;
  place-items: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--ik-font-head);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}
.ik-btn:hover { text-decoration: none; }
.ik-btn--gold {
  background: linear-gradient(180deg, var(--ik-gold), var(--ik-gold-2));
  color: var(--ik-bg);
  box-shadow: 0 6px 18px rgba(242, 193, 78, 0.25);
}
.ik-btn--gold:hover { filter: brightness(1.07); }
.ik-btn--ghost {
  border: 1px solid var(--ik-line);
  color: var(--ik-text);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  padding: 10px 22px;
}
.ik-btn--ghost:hover { border-color: var(--ik-gold); color: var(--ik-gold); }
.ik-card__terms {
  display: block;
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--ik-line);
  color: var(--ik-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* ============ Comparison table ============ */
.ik-compare { padding: 30px 0 10px; }
.ik-compare__scroll { position: relative; overflow-x: auto; border: 1px solid var(--ik-line); border-radius: var(--ik-radius); }
.ik-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--ik-bg-soft);
  font-size: 0.92rem;
}
.ik-table caption {
  caption-side: bottom;
  color: var(--ik-muted);
  font-size: 0.78rem;
  padding: 10px 14px;
  text-align: left;
}
.ik-table th, .ik-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--ik-line); }
.ik-table thead th {
  background: var(--ik-surface-2);
  font-family: var(--ik-font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ik-muted);
}
.ik-table tbody tr:last-child th, .ik-table tbody tr:last-child td { border-bottom: 0; }
.ik-table tbody th { font-weight: 700; }
.ik-table tbody th a { color: var(--ik-text); }
.ik-table tbody th a:hover { color: var(--ik-gold); text-decoration: none; }
.ik-table .ik-score__num { min-width: 38px; height: 24px; font-size: 0.85rem; }
.ik-table__cta { color: var(--ik-gold); font-weight: 700; white-space: nowrap; }

/* ============ Steps ============ */
.ik-steps { padding: 56px 0; }
.ik-steps__grid {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.ik-step {
  background: var(--ik-surface);
  border: 1px solid var(--ik-line);
  border-radius: var(--ik-radius);
  padding: 22px;
}
.ik-step__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(242, 193, 78, 0.13);
  border: 1px solid var(--ik-gold);
  color: var(--ik-gold);
  font-family: var(--ik-font-head);
  font-weight: 700;
  margin-bottom: 12px;
}
.ik-step h3 { margin-bottom: 6px; }
.ik-step p { margin: 0; color: var(--ik-muted); font-size: 0.92rem; }

/* ============ Content ============ */
.ik-content { padding: 20px 0 40px; }
.ik-content__cols { max-width: 780px; }
.ik-content h2 { margin-top: 1.6em; }
.ik-content h2:first-child { margin-top: 0; }
.ik-content p, .ik-content li { color: #c6d4cc; }
.ik-content ul { padding-left: 22px; }
.ik-content li { margin-bottom: 8px; }

/* ============ FAQ ============ */
.ik-faq { padding: 40px 0 64px; }
.ik-faq__list { margin-top: 24px; display: grid; gap: 10px; }
.ik-faq__item {
  background: var(--ik-surface);
  border: 1px solid var(--ik-line);
  border-radius: var(--ik-radius);
  overflow: hidden;
}
.ik-faq__item[open] { border-color: rgba(242, 193, 78, 0.4); }
.ik-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-family: var(--ik-font-head);
  font-weight: 600;
  position: relative;
}
.ik-faq__q::-webkit-details-marker { display: none; }
.ik-faq__q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--ik-gold);
  font-family: var(--ik-font-head);
}
.ik-faq__item[open] .ik-faq__q::after { content: "–"; }
.ik-faq__a { margin: 0; padding: 0 20px 18px; color: var(--ik-muted); }

/* ============ Footer ============ */
.ik-footer { border-top: 1px solid var(--ik-line); background: var(--ik-bg-soft); padding: 40px 0 26px; }
.ik-rg {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 115, 115, 0.06);
  border: 1px solid rgba(255, 115, 115, 0.25);
  border-radius: var(--ik-radius);
  padding: 18px 20px;
  margin-bottom: 30px;
}
.ik-rg__age {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--ik-red);
  color: var(--ik-red);
  font-family: var(--ik-font-head);
  font-weight: 800;
}
.ik-rg p { margin: 0; font-size: 0.88rem; color: var(--ik-muted); }
.ik-rg a { color: var(--ik-text); text-decoration: underline; }
.ik-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--ik-line);
}
.ik-footer__grid h4 { font-size: 0.95rem; margin-bottom: 10px; }
.ik-footer__grid p { font-size: 0.85rem; color: var(--ik-muted); margin: 0; }
.ik-footer__grid ul { list-style: none; margin: 0; padding: 0; }
.ik-footer__grid li { margin-bottom: 7px; }
.ik-footer__grid a { color: var(--ik-muted); font-size: 0.9rem; }
.ik-footer__grid a:hover { color: var(--ik-gold); }
.ik-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding-top: 18px;
}
.ik-footer__bottom p { margin: 0; font-size: 0.8rem; color: var(--ik-muted); }

/* ============ Single kasiino / inner pages ============ */
.ik-page { padding: 48px 0 64px; }
.ik-page__in { max-width: 780px; }
.ik-page h1 { margin-bottom: 0.4em; }
.ik-crumbs { margin-bottom: 18px; font-size: 0.85rem; }
.ik-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--ik-muted); }
.ik-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ik-line); }
.ik-crumbs p { margin: 0; color: var(--ik-muted); }
.ik-crumbs a { color: var(--ik-muted); }
.ik-crumbs a:hover { color: var(--ik-gold); }
.ik-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  margin: 14px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ik-line);
  color: var(--ik-muted);
  font-size: 0.85rem;
}
.ik-byline strong { color: var(--ik-text); }
.ik-single__lead { font-size: 1.05rem; color: var(--ik-muted); max-width: 62ch; }
.ik-single__back { margin-top: 32px; font-weight: 600; }
.ik-single__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 26px 0;
  padding: 0;
}
.ik-fact {
  background: var(--ik-surface);
  border: 1px solid var(--ik-line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--ik-muted);
}
.ik-fact dt { margin: 0; }
.ik-fact dd { margin: 2px 0 0; display: block; font-size: 1rem; color: var(--ik-text); font-weight: 600; }
.ik-proscons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 26px 0; }
.ik-proscons section {
  background: var(--ik-surface);
  border: 1px solid var(--ik-line);
  border-radius: var(--ik-radius);
  padding: 18px 20px;
}
.ik-proscons ul { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.92rem; }
.ik-proscons li { padding-left: 24px; position: relative; margin-bottom: 8px; }
.ik-proscons li::before { position: absolute; left: 0; font-weight: 800; }
.ik-proscons--pros li::before { content: "✓"; color: var(--ik-mint); }
.ik-proscons--cons li::before { content: "✕"; color: var(--ik-red); }
/* ============ Gutenbergi sisu (lehed + avalehe tekstiosa) ============ */
.ik-entry-content a { text-decoration: underline; }
.ik-entry-content h2 { margin-top: 1.6em; }
.ik-entry-content h2:first-child { margin-top: 0; }
.ik-entry-content h3 { margin-top: 1.4em; margin-bottom: 0.4em; }
.ik-entry-content p, .ik-entry-content li { color: #c6d4cc; }
.ik-entry-content ul, .ik-entry-content ol { padding-left: 22px; margin: 0 0 1.1em; }
.ik-entry-content li { margin-bottom: 8px; }
.ik-entry-content figure { margin: 28px 0; }
.ik-entry-content img { border-radius: var(--ik-radius); }
.ik-entry-content figcaption {
  margin-top: 8px;
  color: var(--ik-muted);
  font-size: 0.85rem;
  text-align: center;
}
.ik-entry-content blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--ik-gold);
  color: var(--ik-text);
  font-size: 1.05rem;
}
.ik-entry-content .wp-block-table { overflow-x: auto; }
.ik-entry-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.ik-entry-content .wp-block-table th,
.ik-entry-content .wp-block-table td {
  border: 1px solid var(--ik-line);
  padding: 10px 14px;
  text-align: left;
}
.ik-entry-content .wp-block-table thead th { background: var(--ik-surface-2); color: var(--ik-text); }
.ik-entry-content .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--ik-line);
  margin: 34px 0;
}
.ik-entry-content .wp-block-button__link {
  display: inline-grid;
  place-items: center;
  padding: 13px 26px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--ik-gold), var(--ik-gold-2));
  color: var(--ik-bg);
  font-family: var(--ik-font-head);
  font-weight: 700;
  text-decoration: none;
}
.ik-entry-content .wp-block-columns { gap: 24px; }
/* "Üksikasjad" plokk = KKK */
.ik-entry-content .wp-block-details {
  background: var(--ik-surface);
  border: 1px solid var(--ik-line);
  border-radius: var(--ik-radius);
  padding: 0;
  margin: 0 0 10px;
  overflow: hidden;
}
.ik-entry-content .wp-block-details[open] { border-color: rgba(242, 193, 78, 0.4); }
.ik-entry-content .wp-block-details summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-family: var(--ik-font-head);
  font-weight: 600;
  color: var(--ik-text);
}
.ik-entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.ik-entry-content .wp-block-details summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ik-gold);
  font-size: 1.3rem;
  line-height: 1;
}
.ik-entry-content .wp-block-details[open] summary::after { content: "–"; }
.ik-entry-content .wp-block-details > *:not(summary) { margin: 0 20px 16px; color: var(--ik-muted); }

/* ============ Archive ============ */
.ik-archive__grid { display: grid; gap: 16px; margin-top: 26px; }
.ik-archive__lead { max-width: 70ch; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .ik-card { grid-template-columns: 1fr 1fr; }
  .ik-card__actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .ik-hero__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .ik-header { position: static; }
  .ik-header__in { justify-content: center; }
  .ik-nav { justify-content: center; }
  .ik-hero { padding: 44px 0 36px; text-align: center; }
  .ik-hero h1, .ik-hero__lead { margin-inline: auto; }
  .ik-hero__badges { justify-content: center; }
  .ik-offer { text-align: left; }
  .ik-card { grid-template-columns: 1fr; padding: 22px 18px 16px 52px; }
  .ik-card__actions { grid-template-columns: 1fr; }
  .ik-card__rank { width: 34px; }
  .ik-card__flag { left: 48px; }
  .ik-footer__bottom { justify-content: center; text-align: center; }
}

/* Homepage guide text = same width as upper content (2026-07-29) */
body.home .ik-content__cols{max-width:none}
