/* Carreau Brno v5.9.4 — refinements on top of the real PHP v5.9.3 site.
   Keep the database and user content untouched. */

/* Give the two independent event strips room to breathe; alternate composition. */
.svitavka-section { margin-block-start:clamp(28px,4vw,56px); }
@media (min-width:1001px) {
  .svitavka-section .svitavka-layout {
    grid-template-columns:minmax(0,46%) minmax(0,54%)!important;
  }
  .svitavka-section .svitavka-copy {
    order:0;
    padding:clamp(42px,4.2vw,68px) clamp(34px,4.2vw,68px)
            clamp(42px,4.2vw,68px) max(34px,calc((100vw - 1176px)/2))!important;
  }
  .svitavka-section .svitavka-visual { order:1; }
}
@media (max-width:1000px) {
  /* At narrow widths, the full-width photo comes first again. */
  .svitavka-section .svitavka-visual {order:0;}
  .svitavka-section .svitavka-copy {order:1;}
}
@media (max-width:520px) {
  .svitavka-section {margin-block-start:28px;}
}

/* Consistent club typography: Sofia Sans, not the extra-condensed display cut.
   Small negative tracking is permitted; letters must never optically collide. */
.page h1,.page h2,.page h3,
.page-cover h1,.about-hero-copy h1,.achievements-hero h1,
.vars-copy h2,.vars-name,.svitavka-copy h2,
.activity-copy h3,.quick-card .extra-brand strong {
  font-family:'Sofia Sans',system-ui,Arial,sans-serif!important;
  letter-spacing:-.008em!important;
}
.page h1,.page h2 {line-height:1.07!important;}
.page h3 {line-height:1.17!important;}

/* Three main interior titles use uppercase and the same blue on light backgrounds. */
.page-cover h1,
.about-hero-copy h1,
.achievements-hero h1 {
  text-transform:uppercase!important;
  font-weight:900!important;
  color:var(--blue)!important;
  letter-spacing:-.009em!important;
  overflow-wrap:normal;
}
.about-hero-copy h1 {font-size:clamp(48px,5.6vw,79px)!important;}
.achievements-hero h1 {font-size:clamp(43px,5.1vw,75px)!important;}
.page-cover h1 {font-size:clamp(66px,7.2vw,104px)!important;}

/* Consistent heading blue for content sections, while headings on dark VARS
   and navy achievement highlights keep the necessary white contrast. */
.page :is(h2,h3) {color:var(--blue);}
.vars-feature h2,.vars-feature h3,.vars-feature .vars-name,
.achievements-highlight h3 {color:#fff!important;}
.achievements-year h3 {color:var(--ink)!important;}
body.dark .page :is(h2,h3) {color:var(--blue);}
body.dark .vars-feature h2,body.dark .vars-feature .vars-name,
body.dark .achievements-highlight h3 {color:#fff!important;}
body.dark .achievements-year h3 {color:var(--ink)!important;}

/* Page success numbers match the centered homepage stats, now 9 / 2 / 9. */
.achievements-numbers-grid > div {
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:4px 14px!important;
  min-width:0;
}
.achievements-numbers-grid > div:first-child {padding-left:14px!important;}
.achievements-numbers-grid strong {letter-spacing:-.012em;}
.achievements-numbers-grid span {text-align:center;}
.achievements-teams h3 {margin:0 0 14px;}
.achievements-individual-brief {
  padding-left:17px;
  margin-top:23px!important;
  border-left:3px solid var(--red);
}

/* The home competition card encompasses both leagues and EuroCup; keep
   Extraliga's original logo but allow the descriptive name to wrap. */
.competition-brand.extra-brand strong {
  font-size:clamp(20px,2vw,30px)!important;
  line-height:1.17;
  letter-spacing:0!important;
}

@media (max-width:1000px) {
  .about-hero-copy h1 {font-size:clamp(49px,6.2vw,67px)!important;}
  .achievements-hero h1 {font-size:clamp(40px,5.3vw,60px)!important;}
}
@media (max-width:760px) {
  .about-hero-copy h1 {font-size:clamp(49px,9vw,69px)!important;}
  .achievements-hero h1 {font-size:clamp(40px,8.8vw,62px)!important;}
  .page-cover h1 {font-size:clamp(56px,11vw,76px)!important;}
}
@media (max-width:390px) {
  .about-hero-copy h1 {font-size:clamp(43px,10.4vw,51px)!important;}
  .achievements-hero h1 {font-size:clamp(37px,9.9vw,43px)!important;}
  .page-cover h1 {font-size:clamp(52px,14vw,61px)!important;}
}

/* The longest section titles must remain legible at 320px, without clipping. */
@media (max-width:390px) {
  .section-heading h2 {font-size:clamp(38px,11.8vw,46px)!important;}
}
