#logo {
    object-fit: contain;
}

* {
    font-family: 'Rouben', sans-serif !important;
}

.karty-wrap{margin:16px 0}
.karty-grid{display:flex;gap:24px}
.k-col{flex:1;background:#fff;border:1px solid #eee;border-radius:8px;padding:12px}
.k-head{font-weight:700;margin-bottom:8px}
.k-item{padding:4px 0;border-bottom:1px dashed #eee}
.k-item:last-child{border-bottom:0}
.k-min{font-variant-numeric:tabular-nums;min-width:3ch;display:inline-block}
.k-badge{display:inline-block;font-size:.8em;padding:2px 6px;border-radius:4px;border:1px solid #ccc;margin:0 6px}
.k-role{color:#666;font-size:.9em}
.k-empty{color:#aaa}
.badge{display:inline-block;font-size:.8em;padding:2px 6px;border-radius:4px;border:1px solid #ccc;margin:0 6px}
.badge-warning{background:#ffff45;border-color:#d0d0d0}
.badge-danger{background:#ffecec;border-color:#e74c3c}
.badge-secondary{background:#fff1e6;border-color:#f39c12}
.badge-light{background:#f7f7f7;border-color:#ddd}
.text-muted{color:#666}
.badge[title]{ cursor: help; vertical-align: baseline; margin-left: 6px; }

/* RESET cizích stylů */
.table-soupiska th,
.table-soupiska td {
    background: transparent !important;
    color: inherit !important;
}

/* HLAVIČKA */
.table-soupiska thead th {
    background: #ed1c24 !important;
    color: #fff !important;
    padding: 10px 8px;
    font-weight: 600;
    border-bottom: 2px solid #b00000;
}

/* Tělo tabulky */
.table-soupiska tbody tr:nth-child(odd) {
    background: #F0EDEE;
}
.table-soupiska tbody tr:nth-child(even) {
    background: #ffffff;
}

.table-soupiska td {
    padding: 10px 8px;
    border-bottom: 1px solid #d0d0d0;
}

/* Sloupce */
.table-soupiska th.cislo, .table-soupiska td.td-cislo,
.table-soupiska th.vyska, .table-soupiska td.td-vyska,
.table-soupiska th.vaha, .table-soupiska td.td-vaha,
.table-soupiska th.post, .table-soupiska td.td-post,
.table-soupiska th.vek, .table-soupiska td.td-vek,
.table-soupiska th.datum, .table-soupiska td.td-datum {
    text-align: center;
    width: 80px;
}

.table-soupiska th.jmeno, .table-soupiska td.td-jmeno {
    text-align: left;
    width: 35%;
}

/* Odkazy */
.table-soupiska td a {
	color: #ed1c24 !important;
    text-decoration: none;
    font-weight: 500;
}

/* Hlavička soupisky (název + menu) */
.soupiska-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 25px;
}

.soupiska-top-menu a {
    display: inline-block;
    background: #e0e0e0;
    padding: 6px 14px;
    margin-left: 10px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    transition: .2s;
}

.soupiska-top-menu a:hover {
    background: #ed1c24;
    color: #fff;
}




.logo-report {
	align-items: center !important;
    display: flex !important;
}

.text-center {
	text-align: center;
}

.pt30 {
	padding-top: 30px;
}

.report-dole span{
	font-weight: 700;
    color: #7a7f86;
	text-transform: uppercase;
    letter-spacing: .04em;
    padding-left: 15px;
}

.md-row2{grid-template-columns: 140px 1fr !important;gap:8px;}

@media (max-width: 1440px) {
    #logo {
        height: 100px;
        object-fit: contain;
    } 
}

@media (max-width: 992px) {
    #logo {
        height: 80px;
        top: 1rem;
        left: 1rem;
        object-fit: contain;
    } 
}

@media (min-width: 1200px) {
    .subpage.match .image {
        min-width: 50vw;
    }
}
 /* TOP BAR EXTRA CSS */

@media (min-width: 1200px) {
    header {
        top: 40px;
    }
    header.scrolled {
        top: 0px;
    }
    body {
        margin-top: 140px;
    }
    div.es-light.es-with-logos div.es-menu-inner-fn{
        width: 1080px !important;
    }
}
@media (max-width: 1199px) {
    #es-strip-container {
        display: none;
    }
}

/* TOP BAR END */

.photogallery_item {
    height: 200px;
    position: relative;
}

.photogallery_item.last .camera_alt {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background-color: rgba(0, 0, 0, .5);
    color: white;
}
.banner-hp{
    display: flex;
    justify-content: center;
    background: #fff;
}
.text-left{text-align: left !important;}
.text-right{text-align: right !important;}
          .md-card{background:#fff;border-radius:8px}
          .match-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px}
          .team-side{display:flex;align-items:center;gap:18px}
          .team-side.right{flex-direction:row-reverse}
          .team_logo{width:92px;height:auto;max-height:92px;object-fit:contain}
          .team_name{font-weight:700;font-size:28px;line-height:1.1}
          .scorebox{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
          .scorebox .score{background:#32d071;border-radius:8px;padding:14px 18px;font-weight:800;
                           font-size:44px;line-height:1;color:#0b3d1f;min-width:108px;text-align:center}
          .scorebox .sub{font-weight:700;opacity:.8}
          .scorebox .tag{font-size:13px;letter-spacing:.04em;text-transform:uppercase}

          /* --- ODDÍLY (STŘELCI/KARTY/SESTAVY) --- */
          .md-section{border-top:1px solid #d0d0d0;}
          .md-row{display:grid;grid-template-columns:140px 1fr 1fr;gap:24px;align-items:start;
                  padding:18px 0;border-bottom:1px solid #d0d0d0;}
          .md-title{font-weight:700;color:#7a7f86;text-transform:uppercase;letter-spacing:.04em;padding-left: 15px;}
          .md-col{font-size:16px}
          .md-col.muted{color:#7a7f86}
          .roster{white-space:normal}
          .meta-small{color:#7a7f86;font-size:14px}

          /* drobná responsivita */
          @media (max-width:992px){
            .match-head{grid-template-columns:1fr}
            .team-side.right{flex-direction:row}
            .team_name{text-align:center}
            .md-row{grid-template-columns:1fr;gap:8px;}
          }
		  .ico.ico-card.yellow{display:inline-block;width:10px;height:14px;background:#ffd200;border:1px solid #bfa000;margin-left:6px;vertical-align:-2px}
.notime.small{font-size:.9em;color:#888}
