/* Hudebniště – společný vizuální standard 1.3.20.
   Záměrně načítat PO CSS konkrétního layoutu.
   Hodnoty upravujte zde; styly specifických komponent mohou mít vlastní výjimky.
*/
:root {
  --hn-heading-1: clamp(2.1rem, 3.4vw, 2.75rem);
  --hn-heading-2: clamp(1.75rem, 2.6vw, 2.15rem);
  --hn-heading-3: clamp(1.4rem, 2vw, 1.7rem);
  --hn-heading-4: 1.3rem;
  --hn-heading-5: 1.13rem;
  --hn-heading-6: 1rem;
  --hn-heading-weight: 700;
  --hn-button-radius: .7rem;
  --hn-button-padding-block: .72rem;
  --hn-button-padding-inline: 1.2rem;
  --hn-button-font-weight: 700;
  --hn-button-border-width: 2px;
}

/* Typografická hierarchie: H1 je vždy větší než H2. Textové styly,
   nadpisy uvnitř grafických prvků a administrace Joomla zůstávají nedotčené. */
body main h1 { font-size: var(--hn-heading-1); line-height: 1.15; font-weight: var(--hn-heading-weight); }
body main h2 { font-size: var(--hn-heading-2); line-height: 1.2; font-weight: var(--hn-heading-weight); }
body main h3 { font-size: var(--hn-heading-3); line-height: 1.25; font-weight: var(--hn-heading-weight); }
body main h4 { font-size: var(--hn-heading-4); line-height: 1.3; font-weight: var(--hn-heading-weight); }
body main h5 { font-size: var(--hn-heading-5); line-height: 1.35; font-weight: var(--hn-heading-weight); }
body main h6 { font-size: var(--hn-heading-6); line-height: 1.4; font-weight: var(--hn-heading-weight); }

/* Výjimky se silnější specificitou ze starších layoutů. */
body.template-vip main .nazev_krz-title h1,
body main .web-content .com-content-article .page-header h1 {
  font-size: var(--hn-heading-1);
}
body main .web-content .hudebniste-blog-item__title {
  font-size: var(--hn-heading-3);
}

/* Sjednocení běžných CTA. Omezujeme se na obsah stránky a známé třídy;
   .btn-close, navigační šipky a ovládací prvky formulářů nezasahujeme. */
body main :is(a.button, button.button, .btn-primary, .btn-secondary, a.vip-button, button.vip-button, .button-primary, .button-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: var(--hn-button-padding-block) var(--hn-button-padding-inline);
  border-radius: var(--hn-button-radius);
  border-width: var(--hn-button-border-width);
  border-style: solid;
  font-weight: var(--hn-button-font-weight);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

body main :is(.button-primary, .btn-primary, a.vip-button:not(.vip-button-purchase)) {
  color: var(--white, #fff);
  background: var(--green-700, #4f6300);
  border-color: var(--green-700, #4f6300);
}
body main :is(.button-primary, .btn-primary, a.vip-button:not(.vip-button-purchase)):hover {
  color: var(--white, #fff);
  background: var(--green-800, #3b4900);
  border-color: var(--green-800, #3b4900);
}
body main :is(.button-secondary, .btn-secondary, .vip-button-purchase) {
  color: var(--green-800, #3b4900);
  background: transparent;
  border-color: var(--green-700, #4f6300);
}
body main :is(.button-secondary, .btn-secondary, .vip-button-purchase):hover {
  color: var(--green-900, #263000);
  background: var(--green-100, #e8edd4);
  border-color: var(--green-800, #3b4900);
}
body main :is(.button, .btn-primary, .btn-secondary, .vip-button):focus-visible {
  outline: 3px solid var(--pink, #c52184);
  outline-offset: 3px;
}
body main :is(.button, .btn-primary, .btn-secondary, .vip-button):disabled,
body main :is(.button, .btn-primary, .btn-secondary, .vip-button)[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  body main :is(.button, .btn-primary, .btn-secondary, .vip-button) { transition: none; }
}
