/* ============================================================
   SENECA EQ — styly pro obsah z blokového editoru
   ============================================================ */

/* Skupiny a rytmus obsahu */
.wp-block-group { min-width: 0; }
.entry-rhythm p + p { margin-top: 14px; }

/* Nadpisy z editoru dědí typografii motivu */
.wp-block-heading { font-family: var(--font-head); }

/* Tlačítka (core/button) */
.wp-block-buttons { gap: 14px; }
.wp-block-button__link {
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem;
  padding: 14px 28px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--gold); color: #fff; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--gold-deep); }
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.cta-band .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.cta-band .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--ink); }

/* FAQ — core/details */
.wp-block-details.faq-item {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  margin-bottom: 14px; padding: 0; overflow: hidden;
}
.wp-block-details.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.wp-block-details.faq-item summary::-webkit-details-marker { display: none; }
.wp-block-details.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold); transition: transform .2s;
}
.wp-block-details.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details.faq-item > :not(summary) { padding: 0 24px; color: var(--ink-soft); }
.wp-block-details.faq-item > :last-child:not(summary) { padding-bottom: 22px; }

/* Tabulky — core/table */
.wp-block-table.nice {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; margin: 0;
}
.wp-block-table.nice table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.wp-block-table.nice th, .wp-block-table.nice td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line);
}
.wp-block-table.nice th {
  background: var(--mist); font-weight: 700; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .05em;
}
.wp-block-table.nice tr:last-child td { border-bottom: none; }
.wp-block-table.nice td:last-child { font-variant-numeric: tabular-nums; }
.wp-block-table.srovnani td:nth-child(2) { color: var(--sage-deep); font-weight: 600; }
.wp-block-table.srovnani td:nth-child(3) { color: #b3540e; }

/* Reference — citace a osoba */
.testimonial .wp-block-quote { border: none; margin: 0; padding: 0; }
.testimonial .wp-block-quote p {
  font-family: var(--font-head); font-size: 1.12rem; font-style: italic;
  line-height: 1.55; color: var(--ink);
}
.testimonial .wp-block-quote p::before { content: "„"; color: var(--gold); font-size: 1.6em; line-height: 0; margin-right: 2px; }
.testimonial .wp-block-quote p::after { content: "“"; color: var(--gold); }
.testimonial-person .wp-block-image { margin: 0; }
.testimonial-person .wp-block-image img { width: 62px; height: 62px; border-radius: 50%; }
.testimonial-person .who p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.testimonial-person .who p.t-name { font-size: 1.02rem; font-weight: 700; color: var(--ink); }

/* Obrázkové bloky v designových prvcích */
.feature-media { margin: 0; }
.hero-card { margin: 0; }

/* Ceníkové karty */
.price-card .wp-block-list { text-align: left; }
.price-card .wp-block-buttons { margin-top: auto; justify-content: center; }
.price-value { font-family: var(--font-head); font-size: 2.5rem; font-weight: 600; margin: 14px 0 4px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* GDPR zvýrazněná karta */
.card.gdpr-note { border-left: 4px solid var(--gold); margin-bottom: 44px; }

/* Užší sloupec — rytmus nadpisů dlouhého textu */
.narrow .wp-block-heading:not(h1) { margin: 36px 0 14px; }
.narrow .wp-block-list { margin: 14px 0; }

/* Pomocné třídy (nahrazují dřívější inline styly) */
.u-center { text-align: center; }
.u-center .eyebrow { justify-content: center; }
.u-mt { margin-top: 36px; }
.u-mt-sm { margin-top: 22px; }
.u-mb { margin-bottom: 18px; }
.u-lead { font-size: 1.15rem; }
.u-note { font-size: .95rem; color: var(--ink-soft); }
.wp-block-buttons.u-center-btns { justify-content: center; margin-top: 36px; }

/* Eyebrow jako odstavec */
p.eyebrow { margin-bottom: 18px; }

/* Drobné korekce v editoru */
.editor-styles-wrapper { background: var(--paper); }
