/* Abschnitt mit Button auf der Kategorieseite + Tabs. Wird sofort geladen (klein); explo.css erst beim Öffnen.
   Schrift, Überschrift und Button kommen vom Shop-Template (h3, btn btn-primary); hier nur Fläche, Abstände, Linien. */
.explo-page { --explo-accent: #2e90cf; margin: 24px 0 32px; scroll-margin-top: 90px; }

.explo-teaser {
  display: flex; align-items: center; gap: 32px;
  padding: 22px 26px;
  border: 1px solid #e6e6e6;
  border-top: 3px solid var(--explo-accent);
  border-radius: 2px;
  background: #f5f7fa;
}
/* Kleines Vorschaubild der Zeichnung (klickbar, öffnet die Zeichnung) */
.explo-thumb {
  flex: 0 0 auto;
  position: relative;
  width: 168px; height: 126px;
  padding: 0;
  border: 1px solid #dcdfe4;
  border-radius: 2px;
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
}
.explo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.explo-thumb:hover img, .explo-thumb:focus-visible img { transform: scale(1.05); }
.explo-thumb:hover { border-color: var(--explo-accent); }
.explo-teaser-text { flex: 1; min-width: 0; }
.explo-teaser-text p { margin: 0; max-width: 62ch; }
.explo-teaser-title { margin: 0 0 6px; }

/* Vorteile: Häkchen in der Akzentfarbe */
.explo-usps {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  margin: 12px 0 0; padding: 0;
  list-style: none;
  font-weight: 600;
}
.explo-usps li { position: relative; padding-left: 20px; }
.explo-usps li::before {
  content: "";
  position: absolute; left: 3px; top: .2em;
  width: 7px; height: 12px;
  border: solid var(--explo-accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.explo-teaser-action { flex: 0 0 auto; text-align: center; }
.explo-open-btn { padding: 10px 26px; white-space: nowrap; }
.explo-open-btn.is-loading { cursor: progress; opacity: .75; }
.explo-close-label, .explo-open-btn[aria-expanded="true"] .explo-open-label { display: none; }
.explo-open-btn[aria-expanded="true"] .explo-close-label { display: inline; }
.explo-teaser-meta { margin-top: 8px; font-size: 13px; }
.explo-teaser-meta strong { color: var(--explo-accent); }

.explo-panel { margin-top: 20px; }
/* Die Teileliste richtet sich nach der Breite des Inhaltsbereichs, nicht des Fensters (siehe explo.css) */
.explo-host { container: explo / inline-size; }
.explo-panel[hidden] { display: none; }
.explo-status:empty { display: none; }
.explo-status { margin-bottom: 12px; padding: 10px 12px; border: 1px solid #f0c36d; background: #fff8e6; }

/* Tabs wie die Hauptnavigation: Text, aktiver Tab mit Linie darunter */
.explo-tabs {
  display: flex; flex-wrap: wrap; gap: 0 4px;
  margin: 0 0 16px;
  border-bottom: 1px solid #e6e6e6;
}
.explo-tab {
  margin-bottom: -1px;
  padding: 8px 14px;
  border-bottom: 3px solid transparent;
  color: inherit;
  text-decoration: none;
}
.explo-tab:hover { color: var(--explo-accent); text-decoration: none; }
.explo-tab.is-active { border-bottom-color: var(--explo-accent); font-weight: 600; }

@media (max-width: 767px) {
  .explo-teaser { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 16px; }
  .explo-thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 220px; }
  .explo-usps { flex-direction: column; }
  .explo-open-btn { width: 100%; }
  .explo-tab { padding: 8px 10px; }
}
