/* Společný vzhled stránek mládeže (zakladna, třídy, žáci, dorost, junioři) */

body { font-family: 'Roboto', sans-serif; color: #333; }
.heading-font,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Roboto Condensed', sans-serif; }
:root { --dark: #151515; }
a { color: var(--red); }
ul { list-style: none; padding: 0; margin: 0; }
ul li::before { display: none !important; }

#stm-top-bar { background: var(--dark); min-height: 50px; }
#stm-top-bar .inner { display: flex; align-items: center; height: 50px; }
.stm-ticker-wrap { flex: 1; display: flex; align-items: center; gap: 12px; overflow: hidden; }
.stm-ticker-label { font-family: 'Roboto Condensed', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; background: var(--red); color: #fff; padding: 3px 8px 2px; white-space: nowrap; flex-shrink: 0; }
.stm-ticker-text { font-family: 'Roboto', sans-serif; font-size: 13px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stm-ticker-text a { color: rgba(255,255,255,.7); text-decoration: none; }
.stm-ticker-text a:hover { color: var(--red); }
.topbar-right { display: flex; align-items: center; gap: 13px; }
.topbar-icon { color: rgba(255,255,255,.5); font-size: 14px; text-decoration: none; transition: color .2s; }
.topbar-icon:hover { color: var(--red); }
.topbar-div { width: 1px; height: 14px; background: rgba(255,255,255,.15); }

.stm-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); position: relative; z-index: 200; }
.stm-header-container { display: flex; align-items: center; height: 80px; }
.stm-main-menu { flex: 1; }
.stm-main-menu-unit { display: flex; align-items: center; }
.header-menu { display: flex; margin: 0; padding: 0; flex-wrap: wrap; }
.header-menu > li { position: relative; }
.header-menu > li > a { display: flex; align-items: center; font-family: 'Roboto Condensed', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--dark); text-decoration: none; padding: 0 11px; height: 80px; transition: color .2s; position: relative; }
.header-menu > li > a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.header-menu > li > a:hover, .header-menu > li.current-menu-item > a { color: var(--red); }
.header-menu > li > a:hover::after, .header-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.header-menu > li .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 200px; border-top: 3px solid var(--red); box-shadow: 0 6px 20px rgba(0,0,0,.12); list-style: none; padding: 6px 0; margin: 0; z-index: 500; }
.header-menu > li:hover .sub-menu { display: block; }
.header-menu .sub-menu li a { display: block; font-family: 'Roboto Condensed', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; color: #333; padding: 9px 18px; text-decoration: none; transition: all .2s; }
.header-menu .sub-menu li a:hover { color: var(--red); padding-left: 22px; }
.header-menu .sub-menu li.current-menu-item > a { color: var(--red); }

.stm-title-box {
    background: var(--dark);
    padding: 35px 0 30px;
    position: relative;
    overflow: hidden;
}
.stm-title-box::after {
    content: '';
    position: absolute;
    right: -30px; top: 0; bottom: 0;
    width: 260px;
    background: var(--red);
    transform: skewX(-8deg);
    opacity: .07;
}
.stm-title-box .container { position: relative; z-index: 2; }
.page-title-h { font-family: 'Roboto Condensed', sans-serif; font-size: 36px; font-weight: 700; text-transform: uppercase; color: #fff; margin: 0 0 8px; line-height: 1; }
.breadcrumb-bar { font-family: 'Roboto', sans-serif; font-size: 13px; color: rgba(255,255,255,.45); }
.breadcrumb-bar a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.breadcrumb-bar a:hover { color: var(--red); }
.breadcrumb-bar span { color: var(--red); margin: 0 6px; }

/* —— Mládež: obsah —— */
.mladez-page { padding: 44px 0 60px; background: #f5f5f5; }
.mladez-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #444;
    background: #fff;
    border-left: 4px solid var(--red);
    padding: 20px 22px 20px 24px;
    margin-bottom: 32px;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 1px 5px rgba(0,0,0,.05);
}

.mladez-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.mladez-sec-head h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    margin: 0;
    padding-left: 14px;
    border-left: 4px solid var(--red);
    line-height: 1;
}
.mladez-sec-head a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    text-decoration: none;
    color: var(--red);
}
.mladez-sec-head a:hover { color: var(--primary-hover); }
.mladez-sec-head a i { margin-left: 4px; }

.mladez-news-list { background: #fff; border-radius: 3px; box-shadow: 0 1px 5px rgba(0,0,0,.05); overflow: hidden; }
.mladez-news-item {
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
    transition: background .15s;
}
.mladez-news-item:last-child { border-bottom: 0; }
.mladez-news-item:hover { background: #fafafa; }
.mladez-news-item .news-date {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.mladez-news-item h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
    line-height: 1.25;
}
.mladez-news-item h3 a { color: var(--dark); text-decoration: none; transition: color .2s; }
.mladez-news-item h3 a:hover { color: var(--red); }
.mladez-news-item .excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.mladez-aside { display: flex; flex-direction: column; gap: 20px; }
.mladez-panel {
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 5px rgba(0,0,0,.05);
    padding: 20px 20px 18px;
    border-top: 3px solid var(--red);
}
.mladez-panel h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    margin: 0 0 6px;
    line-height: 1;
}
.mladez-panel-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #888;
    margin: 0 0 14px;
    line-height: 1.4;
}

.mladez-table-wrap { overflow-x: auto; margin-bottom: 12px; }
.mladez-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
}
.mladez-table th {
    background: var(--dark);
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .5px;
    padding: 8px 6px;
    text-align: center;
}
.mladez-table th:first-child { text-align: left; padding-left: 10px; }
.mladez-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.mladez-table td:first-child { text-align: left; padding-left: 10px; font-weight: 700; }
.mladez-table tr.highlight td { background: rgba(110,180,40,.07); }
.mladez-table tr.highlight td:first-child { border-left: 3px solid var(--red); padding-left: 7px; }

.mladez-link-all {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--red);
}
.mladez-link-all:hover { color: var(--primary-hover); }
.mladez-link-all i { margin-left: 3px; }

.mladez-scoreline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
}
.mladez-scoreline .score {
    flex-shrink: 0;
    background: var(--dark);
    color: #fff;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 16px;
}
.mladez-scoreline .score--win { background: #1e7e34; }
.mladez-scoreline .score--loss { background: #c0392b; }
.mladez-meta-row {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}
.mladez-meta-row i { color: var(--red); width: 18px; margin-right: 4px; }

.mladez-tournament .t-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 10px;
}
.mladez-tournament .t-detail { font-size: 13px; color: #555; line-height: 1.55; margin-bottom: 8px; }
.mladez-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: rgba(226,30,34,.1);
    color: var(--red);
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 10px;
}

.mladez-quick-links {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #ddd;
}
.mladez-quick-links h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--red);
}
.mladez-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.mladez-pills a {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    text-decoration: none;
    transition: all .2s;
}
.mladez-pills a:hover, .mladez-pills a.is-active {
    border-color: var(--red);
    color: var(--red);
}

/* Footer */
.stm-footer { background: #111; }
#footer-main { padding: 58px 0 38px; }
.fw-title { font-family: 'Roboto Condensed', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; color: #fff; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }
.fw p { font-family: 'Roboto', sans-serif; font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.8; }
.fw-menu li { margin-bottom: 9px; }
.fw-menu li a { font-family: 'Roboto', sans-serif; font-size: 14px; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.fw-menu li a::before { content: '›'; color: var(--red); margin-right: 7px; }
.fw-menu li a:hover { color: var(--red); }
#stm-footer-bottom { background: #0a0a0a; padding: 16px 0; }
.fb-left { font-family: 'Roboto', sans-serif; font-size: 13px; color: rgba(255,255,255,.35); line-height: 38px; }
.fb-left a { color: var(--red); text-decoration: none; }
.fb-socials { display: inline-flex; gap: 6px; }
.fb-socials li a { width: 32px; height: 32px; border-radius: 2px; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: 13px; text-decoration: none; transition: all .2s; }
.fb-socials li a:hover { background: var(--red); color: #fff; }

.mob-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; margin-left: auto; padding: 6px;
}
.mob-toggle span { display: block; width: 22px; height: 2px; background: #333; border-radius: 2px; }

@media (max-width: 991px) {
    .header-menu > li > a { padding: 0 9px; font-size: 13px; }
    .stm-main-menu { display: none; }
    .mob-toggle { display: flex !important; }
    .stm-header.mobile-nav-open .stm-main-menu {
        display: block;
        position: absolute;
        left: 0; right: 0; top: 100%;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,.12);
        padding: 12px 0 20px;
        z-index: 300;
    }
    .stm-header.mobile-nav-open .header-menu { flex-direction: column; width: 100%; }
    .stm-header.mobile-nav-open .header-menu > li > a { height: auto; padding: 12px 20px; }
    .stm-header.mobile-nav-open .header-menu > li .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: 0;
        padding-left: 12px;
    }
    .stm-header.mobile-nav-open .header-menu > li.mobile-sub-open .sub-menu { display: block; }
    .mladez-aside { margin-top: 28px; }
}
