/**
 * Účetní ceník — shortcode [vpdane_ucetni_cenik]
 * Sladění s child theme style.css (typografie, barvy z palety WP / vpdane).
 */

/* Základ: stejné jako .entry-content p / li (style.css) */
.entry-content .vpdane-ucetni-cenik.vpdane-gb,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb {
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--p-100);
  max-width: 100%;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb *,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb * {
  box-sizing: border-box;
}

/* Nadpisy — fonty a řezy jako ve style.css; mezery jen u nadpisů přímo v sekci (ne uvnitř karet) */
.entry-content .vpdane-ucetni-cenik.vpdane-gb h2,
.entry-content .vpdane-ucetni-cenik.vpdane-gb h3,
.entry-content .vpdane-ucetni-cenik.vpdane-gb h4,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb h2,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb h3,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb h4 {
  font-family: var(--font);
  font-weight: 400;
  line-height: 125%;
  color: var(--p-100);
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package-title-small,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package-title-small {
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
  color: var(--p-100);
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h2,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h2 {
  font-size: 40px;
  margin: 0 auto 20px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h3,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h3 {
  font-size: 24px;
  margin: 32px auto 16px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h4,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h4 {
  font-size: 22px;
  margin: 24px auto 12px;
}

/* Nadpis uvnitř karty balíčku — vizuálně podsekce, ne plná h2 stránky */
.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card > h2,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card > h2 {
  font-size: 24px;
  margin: 8px 0 16px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card h3,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card h3 {
  font-size: 24px;
  margin: 28px 0 12px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card h4,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card h4 {
  font-size: 22px;
  margin: 20px 0 10px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb p,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb p {
  margin-bottom: 16px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb ul,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb ul {
  margin: 0 0 16px 1.1em;
  padding: 0;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb li,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb li {
  margin-bottom: 6px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__lead,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__lead {
  font-size: 20px;
  line-height: 28px;
  color: var(--n-60);
  margin-bottom: 16px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__table-wrap,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
  -webkit-overflow-scrolling: touch;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb table,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 24px;
  min-width: 260px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb th,
.entry-content .vpdane-ucetni-cenik.vpdane-gb td,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb th,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb td {
  border: 1px solid var(--n-30);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb thead th,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb thead th {
  background: var(--n-10);
  font-weight: 600;
  color: var(--p-100);
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb tbody th,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb tbody th {
  font-weight: 600;
  background: var(--n-05);
  color: var(--p-100);
  width: 28%;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__price,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__note,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__note {
  font-size: 16px;
  line-height: 24px;
  color: var(--n-60);
  margin-top: 8px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card {
  border: 1px solid var(--n-30);
  border-radius: 10px;
  padding: 24px 24px 20px;
  margin-bottom: 24px;
  background: #fff;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card--accent,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card--accent {
  border-color: var(--n-30);
  box-shadow: none;
  border-top: 3px solid var(--s-100);
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__badge,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--n-10);
  color: var(--p-100);
  margin-bottom: 8px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__totals,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__totals {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--n-20);
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__totals p,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__totals p {
  margin-bottom: 8px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__emph,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__emph {
  font-weight: 700;
  color: var(--p-100);
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variants,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variants {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

@media (min-width: 520px) {
  .entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variants,
  #top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variants {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variants,
  #top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variants {
    grid-template-columns: repeat(3, 1fr);
  }
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variant,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variant {
  border: 1px solid var(--n-30);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--n-05);
  font-size: 16px;
  line-height: 24px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variant strong,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__variant strong {
  display: block;
  margin-bottom: 4px;
  color: var(--p-100);
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__split,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__split {
  font-size: 16px;
  line-height: 24px;
  margin: 12px 0 0;
  padding: 16px 18px;
  background: var(--n-05);
  border-radius: 10px;
  border: 1px solid var(--n-30);
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__split p,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__split p {
  margin: 0 0 8px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__split p:last-child,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__split p:last-child {
  margin-bottom: 0;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section {
  margin-bottom: 48px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section:last-child,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section:last-child {
  margin-bottom: 0;
}

/* Tablety — shodné breakpointy a řezy jako ve style.css */
@media (max-width: 782px) {
  .entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h2,
  #top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h2 {
    font-size: 36px;
  }

  .entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h3,
  #top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h3 {
    font-size: 32px;
  }

  .entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h4,
  #top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__section > h4 {
    font-size: 24px;
  }

  .entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card > h2,
  #top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card > h2 {
    font-size: 20px;
  }

  .entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card h3,
  #top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card h3 {
    font-size: 20px;
  }

  .entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card h4,
  #top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card h4 {
    font-size: 20px;
  }
}

/* --- Balíčky vedle sebe, zvýraznění prostřední / ISDOC --- */
.entry-content .vpdane-ucetni-cenik__section--packages .vpdane-ucetni-cenik__packages-title,
#top .widget-content .vpdane-ucetni-cenik__section--packages .vpdane-ucetni-cenik__packages-title {
  margin-bottom: 24px;
}

.entry-content .vpdane-ucetni-cenik__packages-grid,
#top .widget-content .vpdane-ucetni-cenik__packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .entry-content .vpdane-ucetni-cenik__packages-grid,
  #top .widget-content .vpdane-ucetni-cenik__packages-grid {
    grid-template-columns: 1fr;
  }
}

.entry-content .vpdane-ucetni-cenik__packages-grid .vpdane-gb__card,
#top .widget-content .vpdane-ucetni-cenik__packages-grid .vpdane-gb__card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.entry-content .vpdane-ucetni-cenik__packages-grid .vpdane-ucetni-cenik__cta-wrap,
#top .widget-content .vpdane-ucetni-cenik__packages-grid .vpdane-ucetni-cenik__cta-wrap {
  margin-top: auto;
  padding-top: 16px;
}

.entry-content .vpdane-gb__card--featured,
#top .widget-content .vpdane-gb__card--featured {
  position: relative;
  z-index: 1;
  border: 2px solid var(--t-100);
  box-shadow:
    0 12px 40px rgba(0, 58, 99, 0.12),
    0 0 0 1px rgba(196, 106, 45, 0.25);
  transform: scale(1.02);
}

@media (max-width: 960px) {
  .entry-content .vpdane-gb__card--featured,
  #top .widget-content .vpdane-gb__card--featured {
    transform: none;
  }
}

.entry-content .vpdane-gb__badge--popular,
#top .widget-content .vpdane-gb__badge--popular {
  float: right;
  margin: 0 0 8px 12px;
  background: var(--n-10);
  color: var(--p-100);
}

.entry-content .vpdane-gb__card--featured .vpdane-gb__totals,
#top .widget-content .vpdane-gb__card--featured .vpdane-gb__totals {
  clear: both;
}

.entry-content .vpdane-gb__variant--isdoc,
#top .widget-content .vpdane-gb__variant--isdoc {
  border-color: var(--t-100);
  background: rgba(196, 106, 45, 0.1);
}

.entry-content .vpdane-gb__variant--isdoc strong,
#top .widget-content .vpdane-gb__variant--isdoc strong {
  color: var(--t-100);
}

.entry-content .vpdane-gb__variant--isdoc-spotlight,
#top .widget-content .vpdane-gb__variant--isdoc-spotlight {
  animation: vpdane-isdoc-glow 2.4s ease-in-out infinite;
}

@keyframes vpdane-isdoc-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(196, 106, 45, 0.35);
  }
  50% {
    box-shadow: 0 0 22px 6px rgba(196, 106, 45, 0.45);
  }
}

.entry-content .vpdane-gb__variant--pick,
#top .widget-content .vpdane-gb__variant--pick {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: var(--p-100);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.entry-content .vpdane-gb__variant--pick.is-selected,
#top .widget-content .vpdane-gb__variant--pick.is-selected {
  border-color: var(--p-100);
  background: var(--n-10);
  box-shadow: 0 0 0 2px var(--p-100);
}

/* Balíčky: varianty na plnou šířku karty (řádek = štítek vlevo, cena vpravo) */
.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variants--pick,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variants--pick {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant--pick,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant--pick {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  width: 100%;
  min-height: 0;
  padding: 11px 16px;
  text-align: left;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant-label,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant-label {
  flex: 1 1 auto;
  min-width: 0;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant-label strong,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant-label strong {
  display: inline;
  margin: 0;
  font-weight: 700;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant-value,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant-value {
  flex: 0 0 auto;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--p-100);
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package > .vpdane-gb__totals,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package > .vpdane-gb__totals {
  margin-top: 16px;
  padding: 14px 16px;
  border-top: none;
  background: var(--n-05);
  border: 1px solid var(--n-30);
  border-radius: 10px;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package > .vpdane-gb__totals p,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package > .vpdane-gb__totals p {
  margin-bottom: 0;
}

.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant--isdoc .vpdane-gb__variant-label strong,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-ucetni-cenik__package .vpdane-gb__variant--isdoc .vpdane-gb__variant-label strong {
  color: var(--t-100);
}

.entry-content .vpdane-ucetni-cenik__cta-wrap,
#top .widget-content .vpdane-ucetni-cenik__cta-wrap {
  margin-top: 16px;
}

.entry-content .vpdane-ucetni-cenik__cta-wrap .button,
#top .widget-content .vpdane-ucetni-cenik__cta-wrap .button {
  width: 100%;
}

/* Formulář — vizuál jako .frm_form_widget (style.css), bez záporného marginu */
.entry-content .vpdane-ucetni-cenik__form-anchor,
#top .widget-content .vpdane-ucetni-cenik__form-anchor {
  scroll-margin-top: calc(var(--header, 108px) + 16px);
}

.entry-content .vpdane-ucetni-cenik__formSkin,
#top .widget-content .vpdane-ucetni-cenik__formSkin {
  background: #fff;
  padding: 60px 40px 40px;
  border-radius: 16px;
  box-shadow: 0 15px 47px 0 #0000001a;
  margin-top: 8px;
}

.entry-content .vpdane-ucetni-cenik__formSkin .widget-title,
#top .widget-content .vpdane-ucetni-cenik__formSkin .widget-title {
  color: var(--p-100);
  margin-top: 0;
  margin-bottom: 24px;
}

.entry-content .vpdane-ucetni-cenik__formNotice,
#top .widget-content .vpdane-ucetni-cenik__formNotice {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.entry-content .vpdane-ucetni-cenik__formNotice--ok,
#top .widget-content .vpdane-ucetni-cenik__formNotice--ok {
  background: var(--n-05);
  border: 1px solid var(--n-30);
  color: var(--p-100);
}

/* Kotva po odeslání: prostor pod fixní hlavičkou při scrollu na poděkování */
.entry-content #vpdane-ucetni-cenik-poptavka-diky,
#top .widget-content #vpdane-ucetni-cenik-poptavka-diky {
  scroll-margin-top: 5rem;
}

.entry-content .vpdane-ucetni-cenik__formNotice--err,
#top .widget-content .vpdane-ucetni-cenik__formNotice--err {
  background: #fff5f5;
  border: 1px solid var(--t-100);
  color: var(--p-100);
}

.entry-content .vpdane-ucetni-cenik__form .form-field label,
#top .widget-content .vpdane-ucetni-cenik__form .form-field label {
  margin: 0;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
  color: var(--p-100);
}

.entry-content .vpdane-ucetni-cenik__form .form-field,
#top .widget-content .vpdane-ucetni-cenik__form .form-field {
  margin-bottom: 16px;
}

.entry-content .vpdane-ucetni-cenik__form input[type="text"],
.entry-content .vpdane-ucetni-cenik__form input[type="email"],
.entry-content .vpdane-ucetni-cenik__form select,
.entry-content .vpdane-ucetni-cenik__form textarea,
#top .widget-content .vpdane-ucetni-cenik__form input[type="text"],
#top .widget-content .vpdane-ucetni-cenik__form input[type="email"],
#top .widget-content .vpdane-ucetni-cenik__form select,
#top .widget-content .vpdane-ucetni-cenik__form textarea {
  width: 100%;
  max-width: 100%;
  font-size: 16px;
  padding: 4px;
  border: none;
  border-bottom: 1px solid var(--n-30);
  color: #000;
  background: transparent;
  border-radius: 0;
}

.entry-content .vpdane-ucetni-cenik__form textarea,
#top .widget-content .vpdane-ucetni-cenik__form textarea {
  min-height: 120px;
  resize: vertical;
}

.entry-content .vpdane-ucetni-cenik__form .frm_submit,
#top .widget-content .vpdane-ucetni-cenik__form .frm_submit {
  text-align: right;
  margin-top: 8px;
}

.entry-content .vpdane-ucetni-cenik__section--form,
#top .widget-content .vpdane-ucetni-cenik__section--form {
  margin-top: 32px;
  margin-bottom: 0;
}

/* Starý accent pruh — balíčky ho už nepoužívají; ponecháno kvůli starším vloženým HTML */
.entry-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card--accent,
#top .widget-content .vpdane-ucetni-cenik.vpdane-gb .vpdane-gb__card--accent {
  border-top: 3px solid var(--s-100);
}

/* --- Vzorový příklad: „Zjistit více“ + tooltip (hover / focus-within) --- */
.entry-content .vpdane-ucetni-cenik__package,
#top .widget-content .vpdane-ucetni-cenik__package {
  overflow: visible;
}

.entry-content .vpdane-ucetni-cenik__example-wrap,
#top .widget-content .vpdane-ucetni-cenik__example-wrap {
  margin-bottom: 12px;
}

.entry-content .vpdane-ucetni-cenik__more,
#top .widget-content .vpdane-ucetni-cenik__more {
  position: relative;
  display: inline-block;
}

.entry-content .vpdane-ucetni-cenik__more-link,
#top .widget-content .vpdane-ucetni-cenik__more-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  color: var(--s-100);
  text-decoration: underline;
  cursor: help;
  text-align: left;
}

.entry-content .vpdane-ucetni-cenik__more-link:hover,
.entry-content .vpdane-ucetni-cenik__more-link:focus,
#top .widget-content .vpdane-ucetni-cenik__more-link:hover,
#top .widget-content .vpdane-ucetni-cenik__more-link:focus {
  color: var(--t-100);
  outline: none;
}

.entry-content .vpdane-ucetni-cenik__more-link:focus-visible,
#top .widget-content .vpdane-ucetni-cenik__more-link:focus-visible {
  outline: 2px solid var(--t-100);
  outline-offset: 2px;
}

.entry-content .vpdane-ucetni-cenik__tooltip,
#top .widget-content .vpdane-ucetni-cenik__tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  z-index: 50;
  min-width: min(100%, 280px);
  max-width: min(420px, 92vw);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

.entry-content .vpdane-ucetni-cenik__tooltip-inner,
#top .widget-content .vpdane-ucetni-cenik__tooltip-inner {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--n-30);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  font-size: 15px;
  line-height: 22px;
  color: var(--p-100);
}

.entry-content .vpdane-ucetni-cenik__tooltip-inner ul,
#top .widget-content .vpdane-ucetni-cenik__tooltip-inner ul {
  margin-bottom: 10px;
}

.entry-content .vpdane-ucetni-cenik__tooltip-heading,
#top .widget-content .vpdane-ucetni-cenik__tooltip-heading {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--p-100);
}

@media (hover: hover) {
  .entry-content .vpdane-ucetni-cenik__more:hover .vpdane-ucetni-cenik__tooltip,
  .entry-content .vpdane-ucetni-cenik__more:focus-within .vpdane-ucetni-cenik__tooltip,
  #top .widget-content .vpdane-ucetni-cenik__more:hover .vpdane-ucetni-cenik__tooltip,
  #top .widget-content .vpdane-ucetni-cenik__more:focus-within .vpdane-ucetni-cenik__tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

/* Zařízení bez jemného hoveru: obsah viditelný hned (bez najetí) */
@media (hover: none) {
  .entry-content .vpdane-ucetni-cenik__more-link,
  #top .widget-content .vpdane-ucetni-cenik__more-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .entry-content .vpdane-ucetni-cenik__tooltip,
  #top .widget-content .vpdane-ucetni-cenik__tooltip {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    max-width: none;
    margin-top: 0;
  }

  .entry-content .vpdane-ucetni-cenik__tooltip-inner,
  #top .widget-content .vpdane-ucetni-cenik__tooltip-inner {
    box-shadow: none;
  }
}
