/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

@import url("../generatepress/style.css");

/************************************************************
 * HOMEPAGE (NEW) — vizuální styl bez „bojování“ s GB gridem
 * - Šířky sloupců (320 / 1fr / 280) nastavíš v GB:
 *   Desktop: Template Columns = 320px 1fr 280px
 *   Tablet : Template Columns = 1fr 320px
 *   Mobile : Template Columns = 1fr
 ************************************************************/

/* ---------- 0) ZÁKLADNÍ PROMĚNNÉ / WRAP ---------- */
.mhp-home-wrap {
  --wrap: 1340px;               /* vnitřní max-šířka stránky */
  --gap: 24px;                  /* mezery mezi sloupci/boxy */
  --radius: 10px;               /* zaoblení boxů a karet */
  --shadow: 0 1px 3px rgba(0,0,0,.06);
  --border: 1px solid #eaeaea;
  --bg-panel: #fff;
  --bg-soft: #f7f7f7;
  --text: #222;
  --muted: #666;
  --line: #eaeaea;
  --accent: #ff6600;            /* Motorhome oranžová */
  --green: #26890d;             /* Data&Cars zelená */
}

.mhp-home-wrap > .gb-inside-container {
  max-width: var(--wrap);
  margin-inline: auto;
  color: var(--text);
}

/* ---------- 1) HERO REKLAMA (CLS-safe „slot“) ---------- */
.mhp-hero-ad { margin: 16px 0 24px; }
.mhp-hero-ad-slot {
  aspect-ratio: 16/5;           /* desktop: široký billboard */
  width: 1100px;
  border: var(--border);
  background: linear-gradient(#f8f8f8, #efefef);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin:auto;
  horizontal-align:center;
}

/* na mobilu vyšší poměr, reklamy bývají „taller“ */
@media (max-width: 768px){
  .mhp-hero-ad-slot { aspect-ratio: 16/9; }
}

/* ---------- 2) BOXY PRO LEVÝ/PRAVÝ RAIL ---------- */
.mhp-box {
  background: var(--bg-panel);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.mhp-title {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--green);
}

/* pomocná varianta titulků s oranžovým akcentem */
.mhp-title--accent { border-bottom-color: var(--accent); }

/* ---------- 3) FORM PRVKY / TLAČÍTKA ---------- */
.mhp-input,
.mhp-select,
.mhp-textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}

.mhp-input:focus,
.mhp-select:focus,
.mhp-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(38,137,13,.15);
}

.mhp-btn {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform .06s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.mhp-btn:active { transform: translateY(1px); }

.mhp-btn--green {
  background: var(--green);
  color: #fff;
  border: 0;
}

.mhp-btn--green:hover { filter: brightness(1.05); }

.mhp-btn--outline {
  background: #fff;
  color: var(--green);
  border: 1px solid var(--green);
}

.mhp-btn--outline:hover {
  background: var(--green);
  color: #fff;
}

/* menší text v pomocných odkazech v boxech */
.mhp-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- 4) TRENDING (číslovaný seznam) ---------- */
.mhp-trending {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: trend;
}

.mhp-trending li {
  display: grid;
  grid-template-columns: 22px 1fr;   /* číslo + text */
  align-items: start;
  gap: 10px;
  margin-bottom: 10px;
}

.mhp-trending li::before {
  counter-increment: trend;
  content: counter(trend);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700; font-size: 12px;
  line-height: 1;
}

/* odkazy v trendingu */
.mhp-trending a {
  color: var(--text);
  text-decoration: none;
}
.mhp-trending a:hover { color: var(--accent); text-decoration: underline; }

/* drobná meta (datum/zdroj) */
.mhp-meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- 5) FEED KARET (jemný polish, zachovává tvé dlaždice) ---------- */
/* wrapper pro feed (nezasahujeme do šířek/masonry, jen vzhled) */
.mhp-feed { width: 100%; }

/* základní úpravy karet – pokud mají třídu .gb-card/.card, lehce sjednotíme */
.mhp-feed .card,
.mhp-feed .gb-card,
.mhp-feed [class*="card"] {
  border-radius: var(--radius);
  overflow: hidden;                 /* rádius i na obrázku */
  background: var(--bg-panel);
  border: var(--border);
  box-shadow: var(--shadow);
  transition: transform .06s ease, box-shadow .15s ease;
}

.mhp-feed .card:hover,
.mhp-feed .gb-card:hover,
.mhp-feed [class*="card"]:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

/* obrázky držíme CLS-friendly (pokud nejsou 16:9, jen lehce hlídáme overflow) */
.mhp-feed img { display: block; width: 100%; height: auto; }

/* nadpisy v kartách */
.mhp-feed h3, .mhp-feed h2 {
  margin: 10px 16px 8px;
  line-height: 1.25;
  font-weight: 700;
}
.mhp-feed p { margin: 0 16px 14px; }

/* badge kategorie (volitelné, pokud používáš) */
.mhp-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  margin: 10px 16px 6px;
}

/* ---------- 6) STICKY POCIT (až po ověření layoutu GB) ---------- */
/* až potvrdíš, že grid sedí, můžeš nechat sidebary lepit */
/*@media (min-width: 1025px){
  .mhp-left, .mhp-right {
    position: sticky;
    top: 20px;
    align-self: start;
    z-index: 2;       /* aby se nepřekrývaly středem při scrollu 
  }
  .mhp-center { z-index: 1; }
}*/

/* ---------- 7) RESPONSIVNÍ DOLADĚNÍ (vizuál) ---------- */
@media (max-width: 1200px){
  .mhp-home-wrap { --wrap: 1240px; }
}

@media (max-width: 1024px){
  .mhp-home-wrap { --wrap: 100%; }
  /* grid rozpad řeší GB (Columns/Template Columns). Tady jen vizuál: */
  .mhp-box { margin-bottom: 18px; }
}

@media (max-width: 768px){
  .mhp-title { font-size: 12px; }
  .mhp-feed h3, .mhp-feed h2 { margin: 10px 14px 8px; }
  .mhp-feed p { margin: 0 14px 14px; }
}

/* ---------- 8) PŘÍSTUPNOST / FOCUS STAVY ---------- */
.mhp-box a:focus-visible,
.mhp-feed a:focus-visible,
.mhp-btn:focus-visible,
.mhp-input:focus-visible,
.mhp-select:focus-visible {
  outline: 3px solid rgba(255,102,0,.35);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- 9) DROBNÉ UTILITKY ---------- */
.mhp-muted { color: var(--muted); }
.mhp-sep { height: 1px; background: var(--line); margin: 14px 0; }

/************************/

button,
input[type="button"],
input[type="submit"],
.wp-block-button__link {
background-color: #008000; /* Button background color */
color: #ffffff; /* Text color */
padding: 12px 24px; /* Button padding */
border: none; /* Remove default border */
border-radius: 5px; /* Rounded corners */
font-size: 16px; /* Font size */
cursor: pointer; /* Pointer cursor on hover */
transition: background-color 0.3s ease; /* Smooth hover transition */
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
background-color: #00ab00; /* Darker background on hover */
}

/*****************************/

/* ——— zrušit rámečky a vnitřní padding boxu akordeonu ——— */
.gb-accordion,
.gb-accordion__item {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* ——— toggle jako zelené tlačítko (platí na všechny akordeony) ——— */
.gb-accordion__toggle,
.gb-accordion__toggle-a9eb1caa { /* hashovaná varianta, kdyby jí blok přidal */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  column-gap: .75rem !important;
  width: 100% !important;

  background-color: #008000 !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border: none !important;
  border-radius: 5px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: background-color .3s ease, box-shadow .2s ease !important;
}

/* hover/focus jako u tlačítek */
.gb-accordion__toggle:hover,
.gb-accordion__toggle-a9eb1caa:hover {
  background-color: #00ab00 !important;
}
.gb-accordion__toggle:focus,
.gb-accordion__toggle-a9eb1caa:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0,128,0,.2) !important;
}

/* ikony šipek převzít barvu textu (bílé) */
.gb-accordion__toggle svg,
.gb-accordion__toggle .gb-accordion__toggle-icon-open,
.gb-accordion__toggle .gb-accordion__toggle-icon-close,
.gb-accordion__toggle-a9eb1caa svg,
.gb-accordion__toggle-a9eb1caa .gb-accordion__toggle-icon-open,
.gb-accordion__toggle-a9eb1caa .gb-accordion__toggle-icon-close {
  fill: currentColor !important;
  color: currentColor !important;
}

/* obsah akordeonu – bez rámečků, jen malé odsazení shora */
.gb-accordion__content {
  border: 0 !important;
  padding: 12px 0 0 !important;
  background: transparent !important;
}

/*******************************/

/* Desktop / tablet – 2 sloupce (beze změny) */
.gb-element-mh-grid-outer{
  display:grid;
  grid-template-columns:30% 70%;
  column-gap:20px;
  row-gap:20px;
  grid-template-areas: "left right";
}
.gb-element-mh-left-col{ grid-area:left; }
.gb-element-mh-right-col{ grid-area:right; }

/* Mobil – 1 sloupec: nejdřív obsah (right), pak filtr (left) */
@media (max-width: 767px){
  .gb-element-mh-grid-outer{
    grid-template-columns:1fr;
    grid-template-areas:
      "right"
      "left";
  }
  /* volitelné: zrušit sticky na mobilu */
  .gb-element-mh-left-col{ position:static; top:auto; }
}


/**********************/

/* ==== CAR2DB layout ==== */

/* Flex layout – jen pro základní info (car-row) */
.car-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2px;
  align-items: flex-start;
}

.car-box-flex {
  flex: 1 1 300px;
}

@media (max-width: 768px) {
  .car-row {
    flex-direction: column;
  }

  .car-box-flex {
    flex: 1 1 100%;
  }
}

/* Grid layout – pro volné skládání tabulek (masonry-like) */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
  grid-auto-flow: dense;
}

/* Box vzhled */
.car-box {
  background-color: #fff;
  padding: 20px;
  padding-bottom: 2px;
  font-family: sans-serif;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}

.car-box h4 {
      background: #fff;
    border-bottom: 2px solid #26890d;
    padding: 1px 14px;
    font-weight: 700;
    font-size: 12px;
    color: #111;
    margin-bottom: 12px;
}

/* Styl tabulek */
.car-specs {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.car-specs tr {
  line-height: 20px;
  vertical-align: top;
}

.car-specs th,
.car-specs td {
  padding: 4px 10px;
  border: none;
  font-weight: 400;
  font-size: 13px;
  text-align: left;
  width: 50%;
  box-sizing: border-box;
  word-break: break-word;
}

.car-specs tr:nth-child(odd) {
  background-color: #fff;
}

.car-specs tr:nth-child(even) {
  background-color: #f5f5f5;
}
 /**************/
 
 .make-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .make-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
 
 .model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.model-box {
/*  background: #f5f5f5;
  border: 1px solid #ddd; */
  border-radius: 6px;
  text-align: center;
  height: 60px;              /* menší výška jako button */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.model-box:hover {
 /* background: #e2e2e2; */
}

.model-image {
  display: none;             /* schováme prázdný blok pro obrázek */
}

.model-name {
  font-size: 14px;
  font-weight: 600;
}

/******************/

.tax-make .no-results {
  display: none !important;
}

.tax-model .no-results {
  display: none !important;
}

.tax-rapex_make .no-results {
  display: none !important;
}

.tax-rapex_model .no-results {
  display: none !important;
}


/******************/

/* Přepínací záložky generací */
/* Záložky generací – menší, zelené, jednoduché */
.gen-tab-nav {
  list-style: none;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 10px;
/*  background:#ff6600; */
  border: 2px solid #ff6600;
  border-radius:5px;
}

.gen-tab-nav li {
  margin: 0;
}

.gen-tab-nav li a {
  display: block;
  padding: 6px 10px;
  background: #e6f4e9;
  text-decoration: none;
  border-radius: 4px;
  color: #222;
  font-size: 14px;
  font-weight: normal;
  border: 1px solid #26890d;
  transition: all 0.2s ease;
}

.gen-tab-nav li a.active {
  background: #ff6600;
  color: #fff;
}

/* Obsah tabů – ve stylu jako basic info */
.gen-tab-content {
  display: none;
  border: 1px solid #ddd;
  padding: 15px 20px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 30px;
}

.gen-tab-content h2 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #444;
}

/* Styl pro výpis trimů jako tabulku */
.trims-list {
  border-collapse: collapse;
  width: 100%;
  margin: 0;
  padding: 0;
}

.trims-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

.trims-list li:nth-child(even) {
  background-color: #f7f7f7;
}

/* Odkazy v trimu */
.trims-list li a {
  color: #008000;
  text-decoration: none;
  font-weight: 500;
}

.trims-list li a:hover {
  text-decoration: underline;
}


/*********************/

.gen-tab-nav li {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.gen-tab-nav li .gen-years-label {
  font-size: 11px;
  color: #000;
  margin-top: 3px;
  margin-left: 2px;
}

/**************************/

#recalls-sidebar.widget {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

#recalls-sidebar .widget-title {
    font-size: 18px;
	color: #26890d;
    font-weight: 300;
    margin-bottom: 15px;
	border-bottom: 1px solid #000;
}

#recalls-sidebar .recall-item {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

#recalls-sidebar .recall-item hr {
    margin: 10px 0;
}

#recalls-sidebar .recall-item a {
    color: #0073aa;
    text-decoration: underline;
}

/************************************/

.recall-risk {
  max-height: 3.6em;
  overflow: hidden;
  line-height: 1.2em;
}
.recall-link {
  display: inline-block;
  margin-top: 5px;
}

/**************************/

.recall-alert-tag{
  color:#111; padding:4px 4px; display:inline-block;
  font-weight:600; font-size:18px; margin-bottom:5px;
  border-bottom:2px solid #008000;width:100%;
}
.recall-alert-tag::before{
  content:"⚠️";
  margin-right:4px;
}

.recall-link {
    color: #ff0000;
    font-weight: normal;
    text-decoration: none;
}

.recall-more-link {
    font-weight: normal;
	font-size: 14px;
	color: #ff0000;
	text-decoration: underline;
    display: block;
    text-align: right;
    margin-top: 2px;
}

.recall-more-link::after {
  content: ' \2192';
  margin-left:1px;
}

/************************/

.recall-detail {
  background: #f9f9fb;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.recall-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.recall-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  font-size: 15px;
  margin-bottom: 30px;
}

.recall-section {
  margin-bottom: 20px;
}

.recall-section h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #222;
}

.recall-section p {
  margin: 0;
  color: #444;
}

/*************************/

.recall-specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 15px;
}

.recall-specs th,
.recall-specs td {
  text-align: left;
  padding: 5px 12px;
}

.recall-specs th {
  width: 30%;
  background-color: #f3f4f6;
  font-weight: 600;
  color: #111;
}

.recall-specs tr:nth-child(even) td {
  background-color: #f6f7f6;
}

.recall-specs tr:nth-child(odd) td {
  background-color: #ffffff;
}

/*************************/

.model-image { background:#eee; display:flex; align-items:center; justify-content:center; }
.model-image img { max-width:80%; max-height:60px; display:block; }
.model-image.no-logo { /* šedá dlaždice beze změny, jen pro případné odlišení */ }

/*************************/

/* === Make tiles (logo nahoře, název dole) === */
.make-grid.make-grid--tiles{
  display:grid;
  gap: 20px;
  grid-template-columns: repeat(6, 1fr);
  text-align:center;
}
@media (max-width: 768px){
  .make-grid.make-grid--tiles{
    grid-template-columns: repeat(3, 1fr);
  }
}

.make-tile a{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#111;
}

.make-tile img{
  max-width:60px;
  max-height:60px;
  display:block;
}

.make-name{
  font-size:14px;
  color:#555;
}

.make-tile a:hover .make-name{
  color:#111;
  text-decoration: underline;
}

/****************************/

/* === Modely podle abecedy (Sauto-like) === */
.alpha-wrap{ display:block; }
.alpha-group{ margin: 8px 0 8px; }

/* Hlavička písmene – plná šířka, světle šedé pozadí */
.alpha-header {
    background: #fff;
    border-bottom: 1px solid #b9bfc3;
    padding: 1px 10px;
    font-weight: 400;
    font-size: 12px;
    color: #b9bfc3;
    margin-bottom: 12px;
}

/* Seznam „butonů“ – zalamuje do řádků */
.alpha-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* Buton modelu – podklad #e6f4e9, hover #26890d jako tvoje gen tabs */
.model-pill{
  display:inline-block;
  padding:7px 9px;
  border-radius:4px;
  background:#e6f4e9;              /* stejné jako .gen-tab-nav li a */
  border:1px solid #26890d;         /* rámeček jako tabs */
  color:#008000;
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  line-height:1;
}
.model-pill:hover{
  background:#26890d;               /* jako .gen-tab-nav li a.active */
  color:#fff;
  text-decoration:none;             /* bez underline na hoveru */
}

/* Responsivita – větší mezery na mobilu */
@media (max-width:768px){
  .alpha-header{ font-size:16px; }
  .alpha-list{ gap:10px; }
  .model-pill{ font-size:15px; padding:9px 12px; }
}

/*****************************/


/* 2-sloupcové specifikační tabulky */
.table-title {
  margin-bottom: 15px;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #008000;
  text-align: left;
}
.car-box .car-specs-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; }
.car-box .car-specs { width:100%; }
@media (max-width:768px){ .car-box .car-specs-grid { grid-template-columns:1fr; } }

/*********************/
/* Souhrn + make/model karty jako STK (jako v tisku) */

.okstk-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.okstk-v2-card {
  background: #f7f9f7;
  border: 1px solid #e2e8e2;
  border-radius: 8px;
  padding: 12px;
}

.okstk-v2-label {
  color: #444; font-size: 12px; text-transform: uppercase; letter-spacing: .02em;
}
.okstk-v2-value {
  font-size: 16px; font-weight: 600;
}

/* Grid → 1 sloupec pod 720px */
@media (max-width: 720px) {
  .okstk-v2-grid { grid-template-columns: 1fr; } 
  .okstk-v2-wrap { margin: 5px; padding: 5px; }
}



/************************/

.general-info { background:#fff; border:1px solid #eee; border-radius:8px; padding:18px; font-size:14px; }
.general-info h4 { background: #fff;
    border-bottom: 2px solid #008000;
    padding: 1px 14px;
    font-weight: 500;
    font-size: 12px;
    color: #111;
    margin-bottom: 12px; }

.general-info-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px 24px;
}
/* tablet = 2 sloupce bloků, desktop = 3 */
@media (min-width:768px){ .general-info-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width:1100px){ .general-info-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* jedna položka = ikona + 2 sloupce (label | value), vše doleva */
.gi-item{
  display:grid;
  grid-template-columns: 22px 40px 1fr; /* ikona | label | value */
  align-items:center;
  column-gap:8px;
  border-bottom:1px solid #eee;
}
.gi-icon{ display:inline-flex; }
.gi-label{ font-weight:300; }
.gi-value{
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; /* vizuální pojistka */
  min-width:0; /* aby fungovalo ellipsis v gridu */ font-weight:600;
}

.gi-icon, .rs-icon { color: var(--cdh-green, #26890d); }
.cdh-icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/***********************/

.recalls-summary{
  margin-top:12px;
  padding:12px 14px;
  border:1px solid #eee;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:14px; /* držíme sjednocenou velikost */
}
.rs-icon{
  color: var(--cdh-orange, #ff6600); /* oranžová značka */
  display:inline-flex;
  line-height:0;
}
.rs-icon svg{ width:18px; height:18px; }
.rs-title{ font-weight:700; }
.rs-count{
  background:#ff6600; color:#fff;
  padding:2px 10px; border-radius:999px; font-weight:700;
}
.rs-text{ opacity:.95; }

.recalls-summary-line{
  margin-top:12px;
  padding:10px 80px;
  background:#eee;
  border:1px solid #eee;
  border-radius:8px;
  font-size:14px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.rs-count-link{
  display:inline-block;
  padding:2px 10px;
  border-radius:999px;
  background:#ff6600;
  color:#fff;
  font-weight:700;
  text-decoration:none;
}
.rs-count-link:hover{ opacity:.9; }

.rs-count-badge{ /* fallback, když nejde link */
  display:inline-block;
  padding:2px 10px;
  border-radius:999px;
  background:#ff6600;
  color:#fff;
  font-weight:700;
}

.rs-make-link{
  text-decoration:underline;
  color:#ff6600;
}

/******************/

.accordion {
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #f6f7f6;
  cursor: pointer;
  font-weight: 600;
  color: #062657;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg); /* plus → mínus */
}

.ico-before {
  width: 24px;
  height: 24px;
  margin-right: 4px;
  vertical-align: middle;
  color: #00ab00;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content.open {
  max-height: 3000px; /* dostatečně velké pro obsah */
}

.table-wrapper {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.table-box {
  flex: 1 1 300px;
  margin-bottom: 0;
}

.table-title {
  margin-bottom: 8px;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #00ab00;
  text-align: left;
}

.striped-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.striped-table td {
  padding: 5px 10px;
  width: 50%;
  vertical-align: top;
}

.table-full-row td {
  background-color: #f6f7f6;
  font-style: italic;
  padding: 12px;
  text-align: left;
}

.striped-table tr:nth-child(even) {
  background-color: #f6f7f6;
}

.striped-table tr:nth-child(odd) {
  background-color: #fff;
}

/**************************/
.cdh-faq-wrap { margin: 24px 0; }
.cdh-faq-wrap .accordion{border:1px solid #e5e7eb;border-radius:10px;margin-bottom:12px;background:#fff;overflow:hidden}
.cdh-faq-wrap .accordion-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;user-select:none}
.cdh-faq-wrap .accordion-header:hover{background:#f8fafc}
.cdh-faq-wrap .accordion-header span{font-weight:600;line-height:1.3}
.cdh-faq-wrap .accordion-icon{transition:transform .2s ease;flex:0 0 auto}
.cdh-faq-wrap .accordion-content{max-height:0;overflow:hidden;transition:max-height .25s ease;padding:0 16px}
.cdh-faq-wrap .accordion.open .accordion-icon{transform:rotate(45deg)}
.cdh-faq-wrap .accordion.open .accordion-content{padding:12px 16px 16px;max-height:1000px}