/* =========================================================================
   O federaci
   ========================================================================= */

/* ---------- hero ---------- */

.ab-hero { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--white); isolation: isolate; }
.ab-hero-media { position: absolute; inset: 0 0 0 auto; width: 64%; z-index: -1; }
.ab-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.ab-hero-media::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, var(--navy-deep) 0%, rgba(11, 29, 51, .75) 28%, rgba(11, 29, 51, .2) 62%, rgba(11, 29, 51, .55) 100%);
}
.ab-hero-inner { min-height: 180px; padding-top: 24px; padding-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ab-hero h1 { margin: 0 0 6px; font-size: clamp(32px, 4.3vw, 60px); font-weight: 800; line-height: 1; text-transform: uppercase; }
.ab-hero h1 span { color: var(--gold); }
.ab-hero-lead { margin: 0 0 6px; font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; }
.ab-hero-text > p:not(.ab-hero-lead) { margin: 0 0 16px; font-size: 15px; font-weight: 500; letter-spacing: .01em; opacity: .95; }
.ab-hero .breadcrumb ol { margin: 0; }
.ab-hero-quote { flex: 0 0 auto; max-width: 250px; margin: 0; align-self: center; }
.ab-hero-quote p { margin: 0; font-size: 19px; font-style: italic; line-height: 1.4; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.ab-hero-quote p::before { content: '„'; }
.ab-hero-quote p::after { content: '“'; }
.ab-hero-quote::after { content: ''; display: block; width: 44px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--gold); }

.ab-page { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }

/* ---------- fakta ---------- */

.ab-facts { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 12px; }
.ab-facts-list {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none; margin: 0; padding: 14px 6px;
    border-radius: 14px; background: #F7F7F7;
}
.ab-facts-list li { display: flex; align-items: center; gap: 16px; padding: 4px 22px; }
.ab-facts-list li + li { border-left: 1px solid #DDDDDD; }
.ab-facts-list i { flex: none; font-size: 32px; color: var(--gold); }
.ab-facts-list span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--text-muted); line-height: 1.35; }
.ab-facts-list b { font-size: 23px; font-weight: 800; color: var(--navy-deep); line-height: 1.15; }
.ab-facts-list b.is-text { font-size: 17px; margin-bottom: 2px; }
.ab-facts-list a { color: var(--text-muted); }
.ab-iba {
    display: flex; align-items: center; gap: 18px;
    padding: 14px 22px;
    border-radius: 14px;
    background: linear-gradient(120deg, #0E2A55 0%, #1B4A8A 100%);
    color: var(--white); text-decoration: none;
    transition: filter .15s;
}
.ab-iba:hover { filter: brightness(1.1); }
.ab-iba img { width: 120px; height: auto; padding: 6px 8px; border-radius: 6px; background: var(--white); }
.ab-iba span { font-size: 13.5px; line-height: 1.4; }

/* ---------- o nás + vize ---------- */

.ab-row-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 300px; gap: 18px; align-items: stretch; }
.ab-about p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: #2A333E; }
.ab-official { margin: 12px 0 14px; padding: 10px 14px; border-radius: 10px; background: #F7F7F7; font-size: 13px; }
.ab-official > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; padding: 2px 0; }
.ab-official dt { color: var(--text-muted); }
.ab-official dd { margin: 0; font-weight: 600; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-actions .btn { min-height: 40px; font-size: 14px; }

.ab-vision-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.ab-vision-cards li { padding: 18px 16px; border-radius: 10px; text-align: center; }
.ab-vision-cards .is-gold { background: #FBF0DA; }
.ab-vision-cards .is-blue { background: #E2EBF7; }
.ab-vision-cards i { font-size: 30px; color: var(--gold); }
.ab-vision-cards .is-blue i { color: var(--navy); }
.ab-vision-cards h3 { margin: 10px 0 8px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.ab-vision-cards p { margin: 0; font-size: 13px; line-height: 1.5; text-align: left; color: #2A333E; }
.ab-purpose { margin-top: 10px; font-size: 13.5px; }
.ab-purpose summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 4px 0; }
.ab-purpose ol { margin: 6px 0 0; padding-left: 20px; line-height: 1.55; }

.ab-photo { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--navy-deep); min-height: 220px; }
.ab-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ab-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 29, 51, .1) 0%, rgba(11, 29, 51, .75) 100%); }
.ab-photo figcaption {
    position: absolute; right: 18px; top: 50%; z-index: 1; transform: translateY(-50%);
    max-width: 170px;
    font-size: 18px; font-style: italic; font-weight: 600; color: var(--white); line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.ab-photo figcaption::before { content: '„'; }
.ab-photo figcaption::after { content: '“'; display: block; width: 40px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--gold); font-size: 0; }

/* ---------- vedení + komise ---------- */

.ab-card {
    padding: 16px 18px;
    border: 1px solid #E5E5E5; border-radius: 14px;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(16, 40, 70, .06);
    scroll-margin-top: 14px;
}
.ab-card .section-title, .ab-about .section-title, .ab-vision .section-title { font-size: 19px; margin-bottom: 12px; }

.ab-row-people { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 14px; align-items: stretch; }
.ab-leaders { display: flex; flex-direction: column; }
.ab-leader-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.ab-leader-list li {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 14px 10px 16px;
    border-radius: 12px;
    background: linear-gradient(160deg, #F4F6F9 0%, #F4F6F9 55%, #E9EEF5 100%);
}
.ab-leader-photo {
    width: 112px; height: 112px; margin-bottom: 10px;
    border-radius: 50%; overflow: hidden; background: var(--gold-gradient);
    box-shadow: 0 0 0 4px var(--white), 0 6px 18px rgba(16, 40, 70, .2);
}
.ab-leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ab-leader-list b { font-size: 16px; }
.ab-leader-list span { font-size: 13.5px; color: var(--text-muted); }
.ab-more { align-self: flex-end; margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--navy); }
.ab-more i { margin-left: 5px; font-size: 11px; }

.ab-comm-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.ab-comm-list > li { display: flex; gap: 12px; padding: 12px 12px 14px; border: 1px solid #E8EAED; border-radius: 10px; }
.ab-comm-list > li > i { flex: none; width: 30px; margin-top: 2px; font-size: 22px; text-align: center; color: var(--gold); }
.ab-comm-list h3 { margin: 0 0 6px; font-size: 13.5px; font-weight: 800; line-height: 1.3; }
.ab-comm-list abbr { margin-left: 2px; font-size: 11px; font-weight: 700; color: var(--gold-dark); text-decoration: none; }
.ab-comm-list ul { margin: 0; padding-left: 16px; font-size: 12.5px; line-height: 1.5; color: #3A4450; }

/* ---------- kategorie ---------- */

.ab-rules-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 12px; }
.ab-rules-head .section-title { margin: 0; }
.ab-rules-head p { margin: 0; max-width: 640px; font-size: 13px; color: var(--text-muted); }
.ab-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.ab-cat { padding: 14px 16px; border-radius: 12px; background: #F7F7F7; }
.ab-cat h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.ab-cat h3 small { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); }
.ab-cat-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; font-size: 12.5px; color: #3A4450; }
.ab-cat-meta i { margin-right: 6px; color: var(--gold-dark); }
.ab-gloves + .ab-gloves { margin-top: 8px; }
.ab-oz { display: inline-block; margin-bottom: 5px; padding: 1px 8px; border-radius: 5px; background: var(--navy); color: var(--white); font-size: 11px; font-weight: 700; }
.ab-weights { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ab-weights li { padding: 2px 8px; border-radius: 5px; background: var(--white); border: 1px solid #E3E5E8; font-size: 12px; font-variant-numeric: tabular-nums; }
.ab-cat-note { margin: 8px 0 0; font-size: 12.5px; color: var(--text-muted); }

/* ---------- zkratky ---------- */

.ab-abbr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ab-abbr-grid h3 { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--gold-light); font-size: 14px; font-weight: 800; }
.ab-abbr-grid dl { margin: 0; }
.ab-abbr-grid dl > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 8px; padding: 4px 0; font-size: 13px; line-height: 1.4; }
.ab-abbr-grid dt { font-weight: 800; color: var(--navy); }
.ab-abbr-grid dd { margin: 0; }
.ab-abbr-grid small { display: block; font-size: 11.5px; color: var(--text-muted); }

/* ---------- partneři ---------- */

.ab-partners .section-title { font-size: 19px; margin-bottom: 8px; }
.ab-partners ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; list-style: none; margin: 0; padding: 4px 10px; }
.ab-partners li { flex: 0 1 auto; }
.ab-partners img { display: block; height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(.15); transition: filter .15s, transform .15s; }
.ab-partners a:hover img { filter: none; transform: scale(1.05); }

/* =========================================================================
   Responzivita
   ========================================================================= */

@media (max-width: 1280px) {
    .ab-facts { grid-template-columns: minmax(0, 1fr); }
    .ab-row-about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
    .ab-photo { grid-column: 1 / -1; min-height: 240px; }
    .ab-comm-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ab-abbr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    .ab-facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
    .ab-facts-list li:nth-child(3) { border-left: 0; }
    .ab-row-about { grid-template-columns: minmax(0, 1fr); }
    .ab-row-people { grid-template-columns: minmax(0, 1fr); }
    .ab-comm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-hero-quote { display: none; }
    .ab-hero-media { width: 80%; }
}

@media (max-width: 640px) {
    .ab-hero-media { width: 100%; }
    .ab-hero-media::after { background: linear-gradient(90deg, rgba(11, 29, 51, .92) 0%, rgba(11, 29, 51, .6) 100%); }
    .ab-facts-list { grid-template-columns: minmax(0, 1fr); }
    .ab-facts-list li { padding: 6px 14px; }
    .ab-facts-list li + li { border-left: 0; border-top: 1px solid #DDDDDD; padding-top: 12px; }
    .ab-iba { flex-direction: column; align-items: flex-start; gap: 10px; }
    .ab-vision-cards { grid-template-columns: minmax(0, 1fr); }
    .ab-vision-cards li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; text-align: left; padding: 14px; }
    .ab-vision-cards i { grid-row: 1 / span 2; font-size: 26px; margin-top: 4px; }
    .ab-vision-cards h3 { margin: 0; }
    .ab-leader-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-leader-photo { width: 92px; height: 92px; }
    .ab-comm-list, .ab-cat-grid, .ab-abbr-grid { grid-template-columns: minmax(0, 1fr); }
    .ab-actions .btn { flex: 1 1 100%; }
    .ab-partners ul { justify-content: center; }
    .ab-partners img { height: 36px; }
}
