/* ============================================================
   GATE ML — ad-slot + SEO-component styles (shared).
   Reserved space prevents CLS; slots stay visually quiet so
   the premium design survives monetisation.
   ============================================================ */
.ad-slot {
  display: block;
  min-height: 110px;
  margin: clamp(28px, 4vw, 52px) auto;
  max-width: 970px;
  padding: 14px 18px 12px;
  border: 1px dashed rgba(128, 124, 116, 0.45);
  border-radius: 10px;
  background: rgba(128, 124, 116, 0.08);
  color: inherit;
}
.ad-slot::before {
  content: "Advertisement";
  display: block;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 8px;
}
.ad-slot ins.adsbygoogle { display: block; min-height: 90px; }
.ad-slot__note { margin: 0; font-size: 12.5px; opacity: 0.62; }
.ad-slot--leaderboard { min-height: 130px; }
.ad-slot--inarticle { min-height: 280px; max-width: 728px; }
.ad-slot--sidebar { min-height: 600px; }
.ad-slot--results { min-height: 130px; }
@media (max-width: 720px) {
  .ad-slot--sidebar { min-height: 280px; }
  .ad-slot--inarticle { min-height: 250px; }
}

/* Breadcrumbs */
.crumbs { font-size: 12.5px; opacity: 0.78; margin: 0 0 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: 0.6; }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq { border-top: 1px solid rgba(128, 124, 116, 0.3); }
.faq details { border-bottom: 1px solid rgba(128, 124, 116, 0.3); padding: 18px 4px; }
.faq summary {
  cursor: pointer; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 6px 2px; min-height: 44px;
  transition: color 0.18s;
}
.faq summary:hover { color: rgba(226, 96, 31, 0.9); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "+"; flex: none; font-size: 20px; font-weight: 400; line-height: 1;
  color: rgba(128, 124, 116, 0.7); transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq details[open] > summary::after { content: "−"; transform: rotate(180deg); }
.faq details p { margin: 10px 0 4px; }

/* Footer legal */
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  padding-top: 16px; margin-top: 8px;
  font-size: 12px; letter-spacing: 0.06em;
}
.footer-legal a { opacity: 0.6; transition: opacity 0.18s; }
.footer-legal a:hover { opacity: 1; }

/* Topic cards / hubs */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.topic-card { border: 1px solid currentColor; border-radius: 12px; padding: 18px; }
.topic-card h3 { margin: 0 0 8px; }
.topic-card p { margin: 0 0 12px; font-size: 0.95rem; line-height: 1.6; }
.seo-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.seo-table th, .seo-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid currentColor; }
.formula { font-family: Georgia, serif; background: rgba(128,124,116,.12); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
