/******************************
ADMIN BASE
******************************/

body.admin-page {
    margin: 0;
    min-height: 100vh;
    background: #f4f4f4;
    font-family: "Manrope", sans-serif;
    color: #1f1f1f;
}

/******************************
ADMIN TOP MENU
******************************/

.admin-page .festival-nav {
    height: 50px;
    background: linear-gradient(180deg, #3f3f3f 0%, #2d2d2d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.admin-page .festival-nav-inner {
    width: 85%;
    max-width: calc(100% - 40px);
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.admin-page .festival-nav .dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 50px;
}

.admin-page .festival-nav .dropbtn {
    position: relative;
    height: 50px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s;
}

.admin-page .festival-nav .dropdown:hover .dropbtn,
.admin-page .festival-nav .drop-vysvietene {
    background: linear-gradient(180deg, #5b2b2b 0%, #7d1f1f 45%, #a51313 100%);
    color: #fff;
}

.admin-page .festival-nav .dropdown>a {
    display: flex;
    height: 50px;
    text-decoration: none;
}

.admin-page .festival-nav .dropdown-content {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    min-width: 180px;
    background: #333;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .35);
    z-index: 99999;
}

.admin-page .festival-nav .dropdown:hover .dropdown-content {
    display: block;
}

.admin-page .festival-nav .dropdown-content a {
    display: block;
    padding: 11px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.admin-page .festival-nav .dropdown-content a:hover {
    background: #1f1f1f;
}

/******************************
ADMIN TITLE BAR
******************************/

.admin-titlebar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.admin-titlebar-inner {
    width: 85%;
    max-width: calc(100% - 40px);
    height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.admin-titlebar h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -.03em;
    text-transform: uppercase;
    color: #111;
}

.admin-titlebar p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #8a8a8a;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-back-btn {
    height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: .25s;
}

.admin-back-btn:hover {
    background: linear-gradient(180deg, #b70000 0%, #8f0000 100%);
    color: #fff;
}

/******************************
ADMIN CONTENT
******************************/

.admin-main {
    width: 85%;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 52px 0 80px;
}

.admin-page-heading {
    margin-bottom: 28px;
}

.admin-page-heading span {
    display: inline-flex;
    height: 28px;
    padding: 0 12px;
    align-items: center;
    background: #b70000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.admin-page-heading h2 {
    margin: 18px 0 0;
    font-size: 42px;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -.045em;
    text-transform: uppercase;
    color: #111;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 34px;
}

.admin-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 28px;
    transition: .25s;
}

.admin-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -55px;
    bottom: -65px;
    border-radius: 50%;
    background: rgba(183, 0, 0, .07);
}

.admin-card span {
    display: block;
    margin-bottom: 20px;
    color: #777;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.admin-card strong {
    display: block;
    font-size: 44px;
    font-weight: 300;
    color: #111;
    line-height: 1;
}

.admin-card small {
    display: block;
    margin-top: 12px;
    color: #888;
    font-size: 14px;
}

.admin-card:hover {
    border-color: #b70000;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

/******************************
ADMIN PANEL
******************************/

.admin-panel {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 32px;
}

.admin-panel h3 {
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.admin-actions a {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: .25s;
}

.admin-actions a:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

/******************************
ADMIN RESPONSIVE
******************************/

@media(max-width:1200px) {
    .admin-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:800px) {
    .admin-page .festival-nav {
        overflow-x: auto;
    }

    .admin-page .festival-nav-inner {
        width: auto;
        max-width: none;
        padding: 0 14px;
    }

    .admin-titlebar-inner,
    .admin-main {
        width: calc(100% - 28px);
        max-width: none;
    }

    .admin-titlebar-inner {
        height: auto;
        padding: 24px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-cards,
    .admin-actions {
        grid-template-columns: 1fr;
    }

    .admin-page-heading h2 {
        font-size: 34px;
    }
}

/******************************
ADMIN LOGOUT
******************************/

.admin-page .festival-nav .admin-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 18px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: .25s;
}

.admin-page .festival-nav .admin-logout i {
    color: #ffffff;
    transition: .25s;
}

.admin-page .festival-nav .admin-logout:hover {
    background: linear-gradient(180deg, #b90000 0%, #8f0000 100%);
}

.admin-page .festival-nav .admin-logout:hover i {
    color: #fff;
    transform: translateX(4px);
}

/******************************
ADMIN LOGIN
******************************/

body.admin-login-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(183, 0, 0, .22), transparent 32%),
        radial-gradient(circle at 88% 82%, rgba(140, 0, 0, .18), transparent 35%),
        radial-gradient(circle at 82% 12%, rgba(255, 255, 255, .05), transparent 28%),
        linear-gradient(135deg, #181818 0%, #111111 45%, #050505 100%);
    font-family: "Manrope", sans-serif;
    color: #111;
}

body.admin-login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);

    background-size: 40px 40px;

    opacity: .35;
}

.admin-login-card {
    position: relative;
}

.admin-login-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -130px;
    top: -130px;
    border-radius: 50%;
    background: rgba(183, 0, 0, .08);
    filter: blur(70px);
    pointer-events: none;
}

.admin-login-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -120px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    filter: blur(90px);
    pointer-events: none;
}

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.admin-login-card {
    width: 100%;
    max-width: 430px;
    padding: 44px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
    box-sizing: border-box;
}

.admin-login-brand {
    margin-bottom: 34px;
}

.admin-login-brand span {
    display: block;
    margin-bottom: 12px;
    color: #b70000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.admin-login-brand strong {
    display: block;
    color: #111;
    font-size: 38px;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

.admin-login-brand small {
    display: block;
    margin-top: 10px;
    color: #888;
    font-size: 13px;
    letter-spacing: .22em;
}

.admin-login-form label {
    display: block;
    margin-bottom: 18px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/********************************
INPUTY
********************************/

.admin-login-form input[type="email"],
.admin-login-form input[type="text"] {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    padding: 0 15px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    color: #111;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: .25s;
}

.admin-login-form input[type="email"]:focus,
.admin-login-form input[type="text"]:focus,
.password-box input:focus {
    border-color: #b70000;
    background: #fff;
}

/********************************
HESLO
********************************/

.password-box {
    position: relative;
    margin-top: 8px;
}

.password-box input {
    width: 100%;
    height: 50px;
    padding: 0 52px 0 15px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    color: #111;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: .25s;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 0;
    background: transparent;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .25s;
}

.password-toggle:hover {
    color: #b70000;
}

.password-toggle i {
    font-size: 18px;
}

/********************************
ROW
********************************/

.admin-login-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 8px 0 24px;
}

.admin-login-check {
    display: flex !important;
    align-items: center;
    gap: 9px;
    margin: 0 !important;
    color: #555 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.admin-login-check input {
    accent-color: #b70000;
}

.admin-login-row a {
    color: #777;
    font-size: 13px;
    text-decoration: none;
    transition: .2s;
}

.admin-login-row a:hover {
    color: #b70000;
}

/********************************
LOGIN BUTTON
********************************/

.admin-login-form button[type="submit"] {
    width: 100%;
    height: 52px;
    border: 0;
    background: linear-gradient(180deg, #b90000 0%, #8f0000 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s;
}

.admin-login-form button[type="submit"]:hover {
    background: linear-gradient(180deg, #c81818 0%, #9b0505 100%);
}

.admin-login-form button[type="submit"] i {
    transition: .25s;
}

.admin-login-form button[type="submit"]:hover i {
    transform: translateX(4px);
}

/********************************
BACK
********************************/

.admin-login-back {
    display: block;
    margin-top: 24px;
    color: #777;
    text-align: center;
    font-size: 13px;
    text-decoration: none;
    transition: .2s;
}

.admin-login-back:hover {
    color: #b70000;
}

/********************************
RESPONSIVE
********************************/

@media(max-width:600px) {

    .admin-login-card {
        padding: 32px 24px;
    }

    .admin-login-brand strong {
        font-size: 32px;
    }

    .admin-login-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}

/******************************
ADMIN PREVIEW
******************************/

.admin-page .festival-nav .admin-preview {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 18px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: .25s;
}

.admin-page .festival-nav .admin-preview i {
    font-size: 15px;
    color: #9ec8ff;
    transition: .25s;
}

.admin-page .festival-nav .admin-preview:hover {
    background: linear-gradient(180deg, #b90000 0%, #8f0000 100%);
}

/**************************************
PAGE LOADER
**************************************/

#pageLoader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 99999;
}

/* DASHBOARD ANALYTICS V1 */
.analytics-dashboard { display:grid; gap:18px; font-family:"Google Sans Flex",sans-serif; }
.analytics-toolbar,.analytics-card,.analytics-kpi,.content-overview { background:#fff; border:1px solid #e5e7e8; }
.analytics-toolbar { min-height:70px; padding:14px 18px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.analytics-eyebrow,.analytics-card-head span,.content-overview-head span { color:#b70000; font-size:9px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.analytics-toolbar h3,.content-overview-head h3 { margin:3px 0 0; color:#17191a; font-size:20px; font-weight:600; }
.analytics-toolbar-actions,.analytics-periods { display:flex; align-items:center; gap:8px; }
.analytics-status { display:inline-flex; align-items:center; gap:7px; color:#7a858a; font-size:10px; white-space:nowrap; }
.analytics-status i { width:7px; height:7px; border-radius:50%; background:#c5c9cb; }
.analytics-status.is-ready i { background:#24a267; box-shadow:0 0 0 3px #e2f4eb; }
.analytics-status.is-offline i { background:#b70000; box-shadow:0 0 0 3px #f8e4e4; }
.analytics-status.is-loading i { background:#d29b24; animation:analyticsPulse 1s infinite alternate; }
@keyframes analyticsPulse { to { opacity:.35; } }
.analytics-periods { padding:3px; background:#f2f3f4; border-radius:5px; }
.analytics-periods button { height:30px; padding:0 12px; border:0; border-radius:3px; background:transparent; color:#687176; font:600 10px "Google Sans Flex",sans-serif; cursor:pointer; }
.analytics-periods button.is-active { background:#202426; color:#fff; box-shadow:0 2px 5px rgba(0,0,0,.14); }

.analytics-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.analytics-kpi { min-width:0; padding:17px 18px 15px; border-top:3px solid #202426; }
.analytics-kpi>div { display:flex; align-items:center; gap:8px; color:#778086; }
.analytics-kpi>div i { color:#b70000; font-size:13px; }
.analytics-kpi>div span { overflow:hidden; font-size:10px; font-weight:650; letter-spacing:.04em; text-transform:uppercase; text-overflow:ellipsis; white-space:nowrap; }
.analytics-kpi>strong { display:block; margin:12px 0 7px; color:#151718; font-size:30px; font-weight:580; line-height:1; }
.analytics-kpi>small { display:block; overflow:hidden; color:#92999d; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.analytics-kpi>small.is-positive { color:#188558; }
.analytics-kpi>small.is-negative { color:#b70000; }

.analytics-primary-grid { display:grid; grid-template-columns:minmax(0,2.25fr) minmax(250px,.75fr); gap:12px; }
.analytics-secondary-grid { display:grid; grid-template-columns:1.25fr 1fr .8fr; gap:12px; }
.analytics-card { min-width:0; padding:18px; }
.analytics-card-head { min-height:36px; margin-bottom:13px; display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.analytics-card-head h4 { margin:3px 0 0; color:#1d2022; font-size:14px; font-weight:650; }
.analytics-legend { display:flex; gap:13px; color:#788186; font-size:9px; }
.analytics-legend span { display:flex; align-items:center; gap:5px; color:inherit; letter-spacing:0; text-transform:none; }
.analytics-legend i { width:12px; height:3px; border-radius:2px; }
.analytics-legend i.visits { background:#b70000; }
.analytics-legend i.views { background:#89949b; }
.analytics-chart { height:250px; position:relative; overflow:hidden; }
.analytics-chart svg { width:100%; height:100%; }
.analytics-chart svg .grid line { stroke:#edf0f1; stroke-width:1; }
.analytics-chart svg polyline { fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.analytics-chart svg .visits-line { stroke:#b70000; }
.analytics-chart svg .views-line { stroke:#89949b; stroke-width:2; }
.analytics-empty { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#a0a6a9; text-align:center; }
.analytics-empty i { margin-bottom:9px; color:#d4d8da; font-size:27px; }
.analytics-empty strong { color:#747d82; font-size:12px; }
.analytics-empty span { margin-top:4px; font-size:9px; }

.analytics-summary-list { display:grid; }
.analytics-summary-list>div { min-height:49px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #eef0f1; }
.analytics-summary-list>div:last-child { border:0; }
.analytics-summary-list span { color:#727b80; font-size:10px; }
.analytics-summary-list strong { color:#202426; font-size:15px; font-weight:650; }
.analytics-ranking>p,.analytics-bars>p,.analytics-device-grid>p { margin:30px 0; color:#a0a6aa; font-size:10px; text-align:center; }
.analytics-ranking>div,.analytics-bars>div { min-height:35px; display:grid; grid-template-columns:18px minmax(80px,1fr) minmax(50px,.7fr) 42px; align-items:center; gap:8px; border-bottom:1px solid #f0f1f2; }
.analytics-ranking b,.analytics-bars b { color:#b70000; font-size:9px; }
.analytics-ranking span,.analytics-bars span { overflow:hidden; color:#586166; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.analytics-ranking i,.analytics-bars i { height:3px; overflow:hidden; border-radius:3px; background:#edf0f1; }
.analytics-ranking em,.analytics-bars em { display:block; height:100%; border-radius:3px; background:#b70000; }
.analytics-ranking strong,.analytics-bars strong { color:#202426; font-size:10px; text-align:right; }
.analytics-device-grid { min-height:120px; display:grid; grid-template-columns:repeat(3,1fr); gap:6px; align-items:center; }
.analytics-device-grid>div { min-width:0; padding:15px 5px; background:#f7f8f8; text-align:center; }
.analytics-device-grid i { display:block; margin-bottom:8px; color:#b70000; font-size:16px; }
.analytics-device-grid strong { display:block; color:#202426; font-size:16px; }
.analytics-device-grid span { display:block; overflow:hidden; margin-top:4px; color:#7d868b; font-size:8px; text-overflow:ellipsis; }

.content-overview { padding:18px; }
.content-overview-head { margin-bottom:14px; display:flex; align-items:flex-end; justify-content:space-between; }
.content-overview-head small { color:#92999d; font-size:9px; }
.content-overview-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; }
.content-overview-grid a { min-width:0; padding:13px; display:grid; grid-template-columns:25px 1fr auto; align-items:center; gap:3px 8px; background:#f7f8f8; color:#202426; text-decoration:none; border:1px solid transparent; transition:.2s; }
.content-overview-grid a:hover { border-color:#e1baba; background:#fffafa; }
.content-overview-grid i { grid-row:1/3; color:#b70000; font-size:14px; }
.content-overview-grid span { overflow:hidden; color:#687176; font-size:9px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.content-overview-grid strong { grid-column:3; grid-row:1/3; color:#151718; font-size:22px; font-weight:650; }
.content-overview-grid small { grid-column:2; color:#9aa0a3; font-size:8px; }

@media(max-width:1200px) {
  .analytics-secondary-grid { grid-template-columns:1fr 1fr; }
  .analytics-secondary-grid .analytics-card:last-child { grid-column:1/-1; }
  .content-overview-grid { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:850px) {
  .analytics-toolbar { align-items:flex-start; flex-direction:column; }
  .analytics-toolbar-actions { width:100%; justify-content:space-between; }
  .analytics-kpis { grid-template-columns:repeat(2,1fr); }
  .analytics-primary-grid,.analytics-secondary-grid { grid-template-columns:1fr; }
  .analytics-secondary-grid .analytics-card:last-child { grid-column:auto; }
}
@media(max-width:560px) {
  .analytics-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .content-overview-grid { grid-template-columns:1fr; }
  .analytics-kpi { padding:14px 12px; }
  .analytics-kpi>div { min-height:30px; align-items:flex-start; gap:6px; }
  .analytics-kpi>div i { flex-shrink:0; margin-top:2px; }
  .analytics-kpi>div span {
    overflow:visible;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.35;
  }
  .analytics-kpi>small {
    min-height:28px;
    overflow:visible;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.4;
  }
  .analytics-status { display:none; }
  .analytics-periods { width:100%; }
  .analytics-periods button { flex:1; }
  .analytics-chart { height:190px; }
  .content-overview-head small { display:none; }
}

#pageLoader.show {
    opacity: 1;
    visibility: visible;
}

/******************************
ADMIN TOP MENU - REDESIGN 2026
******************************/

.admin-page .festival-nav { height: 46px; background: #202426; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-page .festival-nav-inner {
    width: 85%;
    max-width: calc(100% - 40px);
    height: 46px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    gap: 16px;
    font-family: "Google Sans Flex", sans-serif;
    font-optical-sizing: auto;
}
.admin-nav-main, .admin-nav-actions { display: flex; align-items: stretch; height: 100%; }
.admin-nav-main { min-width: 0; align-items: center; gap: 3px; }
.admin-nav-actions { margin-left: auto; align-items: center; gap: 4px; flex: 0 0 auto; }
.admin-mobile-menu-toggle,
.admin-mobile-menu-backdrop,
.admin-nav-mobile-icon,
.admin-nav-mobile-label { display:none; }

@media (min-width:821px) {
    .admin-page .festival-nav .admin-nav-link > .admin-nav-mobile-icon {
        display:none !important;
    }
}

.admin-page .festival-nav .admin-nav-link {
    position: relative; display: inline-flex; align-items: center; min-height: 36px;
    padding: 0 13px; border-radius: 4px; box-sizing: border-box; color: #dce3e7; text-decoration: none;
    font-size: 12px; font-weight: 520; letter-spacing: .15px; text-transform: uppercase;
    white-space: nowrap; transition: color .2s ease, background .2s ease;
}
.admin-page .festival-nav .admin-nav-link::after {
    content: ""; position: absolute; right: 10px; bottom: 3px; left: 10px; height: 2px;
    border-radius: 2px; background: #b70000; transform: scaleX(0); transition: transform .2s ease;
}
.admin-page .festival-nav .admin-nav-link:hover,
.admin-page .festival-nav .admin-nav-link.is-active { color: #fff; background: #3a2525; }
.admin-page .festival-nav .admin-nav-link:hover::after,
.admin-page .festival-nav .admin-nav-link.is-active::after { transform: scaleX(1); }
.admin-page .festival-nav .admin-nav-home { width: 40px; padding: 0; justify-content: center; font-size: 19px; }
.admin-page .festival-nav .admin-nav-home::after { right: 10px; left: 10px; }

.admin-user { min-width: 185px; padding: 5px 12px 5px 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; line-height: 1.05; }
.admin-user strong { max-width: 210px; overflow: visible; color: #fff; font-size: 13px; font-weight: 650; text-overflow: clip; white-space: nowrap; }
.admin-user span { margin-top: 3px; color: #89949b; font-size: 9px; font-weight: 400; letter-spacing: 0; }

.admin-page .festival-nav .admin-preview,
.admin-page .festival-nav .admin-logout {
    height: 34px; padding: 0 13px; border-radius: 4px; box-sizing: border-box; gap: 7px;
    font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.admin-page .festival-nav .admin-preview { margin-left: 0; background: #303638; border: 1px solid #4b565b; }
.admin-page .festival-nav .admin-preview i { color: #fff; font-size: 12px; }
.admin-page .festival-nav .admin-preview:hover { background: #3a4245; border-color: #637177; }
.admin-page .festival-nav .admin-logout { background: #b70000; border: 1px solid #b70000; }
.admin-page .festival-nav .admin-logout:hover { background: #8f0000; border-color: #8f0000; }
.admin-page .festival-nav .admin-preview:hover,
.admin-page .festival-nav .admin-logout:hover { transform: translateY(-1px); }
.admin-page .festival-nav .admin-logout:hover i { transform: translateX(2px); }

@media (max-width: 1350px) {
    .admin-page .festival-nav-inner { gap: 12px; }
    .admin-page .festival-nav .admin-nav-link { padding: 0 11px; font-size: 12px; }
    .admin-page .festival-nav .admin-nav-link::after { right: 11px; left: 11px; }
    .admin-user { min-width: 160px; }
    .admin-user strong { max-width: 180px; }
}
@media (max-width: 1080px) {
    .admin-user { display: none; }
    .admin-page .festival-nav .admin-preview span,
    .admin-page .festival-nav .admin-logout span { display: none; }
    .admin-page .festival-nav .admin-preview,
    .admin-page .festival-nav .admin-logout { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 820px) {
    .admin-page .festival-nav, .admin-page .festival-nav-inner { height: auto; min-height: 46px; }
    .admin-page .festival-nav-inner { width: calc(100% - 24px); max-width: none; }
    .admin-mobile-menu-toggle {
        width:auto;
        height:36px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        gap:9px;
        padding:0 13px;
        border:0;
        border-radius:4px;
        background:transparent;
        color:#fff;
        font:650 12px/1 "Google Sans Flex",sans-serif;
        letter-spacing:.08em;
        text-transform:uppercase;
        cursor:pointer;
    }
    .admin-mobile-menu-toggle:hover { background:rgba(255,255,255,.07); }
    .admin-mobile-menu-icon {
        position:relative;
        width:18px;
        height:14px;
        display:inline-flex;
        flex-direction:column;
        justify-content:space-between;
    }
    .admin-mobile-menu-icon > span {
        width:18px;
        height:2px;
        display:block;
        border-radius:2px;
        background:#fff;
        transform-origin:center;
        transition:transform .26s ease,opacity .18s ease,width .2s ease;
    }
    .admin-mobile-menu-toggle[aria-expanded="true"] .admin-mobile-menu-icon > span:nth-child(1) {
        transform:translateY(6px) rotate(45deg);
    }
    .admin-mobile-menu-toggle[aria-expanded="true"] .admin-mobile-menu-icon > span:nth-child(2) {
        width:0;
        opacity:0;
    }
    .admin-mobile-menu-toggle[aria-expanded="true"] .admin-mobile-menu-icon > span:nth-child(3) {
        transform:translateY(-6px) rotate(-45deg);
    }
    .admin-nav-main {
        position:fixed;
        z-index:1002;
        top:46px;
        bottom:0;
        left:0;
        width:min(82vw,300px);
        height:auto;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:5px;
        padding:18px 14px 24px;
        box-sizing:border-box;
        overflow-y:auto;
        background:#202426;
        border-top:1px solid rgba(255,255,255,.08);
        box-shadow:18px 0 40px rgba(0,0,0,.32);
        transform:translateX(-105%);
        visibility:hidden;
        transition:transform .3s cubic-bezier(.22,.75,.25,1),visibility .3s ease;
    }
    .admin-nav-main.is-open { transform:translateX(0);visibility:visible; }
    .admin-page .festival-nav .admin-nav-main .admin-nav-link,
    .admin-page .festival-nav .admin-nav-main .admin-nav-home {
        width:100%;
        min-height:45px;
        justify-content:flex-start;
        gap:13px;
        padding:0 16px;
        font-size:13px;
        opacity:0;
        transform:translateX(-18px);
        transition:color .2s ease,background .2s ease,opacity .28s ease,transform .32s cubic-bezier(.22,.75,.25,1);
    }
    .admin-page .festival-nav .admin-nav-main.is-open .admin-nav-link {
        opacity:1;
        transform:translateX(0);
    }
    .admin-nav-main.is-open .admin-nav-link:nth-child(1) { transition-delay:.06s; }
    .admin-nav-main.is-open .admin-nav-link:nth-child(2) { transition-delay:.09s; }
    .admin-nav-main.is-open .admin-nav-link:nth-child(3) { transition-delay:.12s; }
    .admin-nav-main.is-open .admin-nav-link:nth-child(4) { transition-delay:.15s; }
    .admin-nav-main.is-open .admin-nav-link:nth-child(5) { transition-delay:.18s; }
    .admin-nav-main.is-open .admin-nav-link:nth-child(6) { transition-delay:.21s; }
    .admin-nav-main.is-open .admin-nav-link:nth-child(7) { transition-delay:.24s; }
    .admin-nav-main.is-open .admin-nav-link:nth-child(8) { transition-delay:.27s; }
    .admin-page .festival-nav .admin-nav-main .admin-nav-link::after {
        top:8px;
        right:auto;
        bottom:8px;
        left:0;
        width:3px;
        height:auto;
        transform:scaleY(0);
    }
    .admin-page .festival-nav .admin-nav-main .admin-nav-link:hover::after,
    .admin-page .festival-nav .admin-nav-main .admin-nav-link.is-active::after { transform:scaleY(1); }
    .admin-nav-mobile-icon,
    .admin-nav-mobile-label { display:inline-flex; }
    .admin-nav-mobile-icon,
    .admin-nav-home > i { width:20px;justify-content:center;color:#aeb8bd;font-size:15px; }
    .admin-nav-main .is-active .admin-nav-mobile-icon,
    .admin-nav-main .admin-nav-home.is-active > i { color:#fff; }
    .admin-mobile-menu-backdrop {
        position:fixed;
        z-index:1001;
        inset:46px 0 0;
        width:auto;
        height:auto;
        border:0;
        background:rgba(0,0,0,.52);
        opacity:0;
        visibility:hidden;
        cursor:pointer;
        transition:opacity .3s ease,visibility .3s ease;
    }
    .admin-mobile-menu-backdrop.is-open { display:block;opacity:1;visibility:visible; }
    .admin-nav-actions { padding-left:8px;background:#202425;box-shadow:none; }
    body.admin-mobile-menu-open { overflow:hidden; }
}

@media (max-width:420px) {
    .admin-mobile-menu-toggle > .admin-mobile-menu-text { display:none; }
    .admin-mobile-menu-toggle { width:40px;padding:0; }
}

/**************************************
LOADER - WHITE SQUARES
**************************************/

.loaderSquares {
    display: grid;
    grid-template-columns: repeat(2, 34px);
    gap: 14px;
}

.loaderSquares span {
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 5px;
    animation: squareLoader .9s infinite ease-in-out;
}

.loaderSquares span:nth-child(2) {
    animation-delay: .15s;
}

.loaderSquares span:nth-child(3) {
    animation-delay: .30s;
}

.loaderSquares span:nth-child(4) {
    animation-delay: .45s;
}

@keyframes squareLoader {

    0%,
    100% {
        transform: scale(.45);
        opacity: .35;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

}

/******************************
ADMIN ARTICLES
******************************/

.admin-page-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.admin-add-btn {
    height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #b90000 0%, #8f0000 100%);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: .25s;
}

.admin-add-btn:hover {
    background: linear-gradient(180deg, #c81818 0%, #9b0505 100%);
    color: #fff;
}

.admin-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-table-head h3 {
    margin: 0;
}

.admin-search {
    position: relative;
    width: 280px;
}

.admin-search input {
    width: 100%;
    height: 44px;
    padding: 0 42px 0 14px;
    border: 1px solid #e1e1e1;
    background: #f8f8f8;
    color: #111;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.admin-search input:focus {
    border-color: #b70000;
    background: #fff;
}

.admin-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 14px 16px;
    background: #f4f4f4;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.admin-table td {
    padding: 18px 16px;
    border-bottom: 1px solid #ededed;
    color: #333;
    font-size: 14px;
    vertical-align: middle;
}

.admin-table td strong {
    color: #111;
    font-weight: 600;
}

.admin-table tbody tr:hover {
    background: #fafafa;
}

.article-status {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.article-status.is-published {
    background: #e9f7ef;
    color: #168447;
}

.article-status.is-draft {
    background: #fff4dd;
    color: #9b6700;
}

.admin-row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-row-actions a {
    min-height: 34px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .25s;
}

.admin-row-actions a:hover {
    background: #b70000;
    color: #fff;
}

.admin-row-actions a.delete {
    background: #f2f2f2;
    color: #8a0000;
}

.admin-row-actions a.delete:hover {
    background: #b70000;
    color: #fff;
}

@media(max-width:800px) {

    .admin-page-heading-row,
    .admin-table-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-search {
        width: 100%;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table tr {
        padding: 14px;
        border: 1px solid #e5e5e5;
        margin-bottom: 14px;
        box-sizing: border-box;
    }

    .admin-table td {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        gap: 18px;
    }

    .admin-table td::before {
        content: attr(data-label);
        color: #777;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .admin-table td:last-child {
        border-bottom: 0;
        display: block;
    }

    .admin-table td:last-child::before {
        display: block;
        margin-bottom: 10px;
    }

    .admin-row-actions a {
        flex: 1;
    }
}

/******************************
ADMIN ARTICLES
******************************/

.admin-page-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.admin-add-btn {
    height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #b90000 0%, #8f0000 100%);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: .25s;
}

.admin-add-btn:hover {
    background: linear-gradient(180deg, #c81818 0%, #9b0505 100%);
    color: #fff;
}

.admin-table-subtitle {
    margin: 8px 0 0;
    color: #888;
    font-size: 14px;
    line-height: 1.5;
}

.admin-table-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.admin-table-head h3 {
    margin: 0;
}

.admin-search {
    position: relative;
    width: 300px;
    flex: 0 0 300px;
}

.admin-search input {
    width: 100%;
    height: 44px;
    padding: 0 42px 0 14px;
    border: 1px solid #e1e1e1;
    background: #f8f8f8;
    color: #111;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.admin-search input:focus {
    border-color: #b70000;
    background: #fff;
}

.admin-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.admin-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
    padding: 18px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
}

.admin-filter-group label {
    display: block;
    margin-bottom: 7px;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.admin-filter-group select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dedede;
    background: #fff;
    color: #111;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.admin-filter-group select:focus {
    border-color: #b70000;
}

.admin-list-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 13px 16px;
    background: #fff8f8;
    border: 1px solid rgba(183, 0, 0, .14);
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.admin-list-info strong {
    color: #111;
    font-weight: 800;
}

.admin-list-info i {
    margin-right: 7px;
    color: #b70000;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.admin-table th {
    padding: 14px 12px;
    background: #f4f4f4;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    white-space: nowrap;
}

.admin-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #ededed;
    color: #333;
    font-size: 14px;
    vertical-align: middle;
}

.admin-table td strong {
    color: #111;
    font-weight: 600;
}

.admin-table tbody tr {
    background: #fff;
    transition: background .2s, box-shadow .2s, opacity .2s;
}

.admin-table tbody tr:hover {
    background: #fafafa;
}

.admin-articles-table th:first-child,
.admin-articles-table td:first-child {
    width: 48px;
    min-width: 48px;
    text-align: center;
}

.admin-articles-table th:nth-child(2),
.admin-articles-table td:nth-child(2) {
    width: 30%;
    min-width: 220px;
}

.admin-articles-table th:last-child,
.admin-articles-table td:last-child {
    width: 230px;
    min-width: 230px;
}

.drag-cell {
    text-align: center;
}

.drag-handle {
    width: 34px;
    height: 34px;
    border: 0;
    background: #f2f2f2;
    color: #777;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: .25s;
}

.drag-handle:hover {
    background: #111;
    color: #fff;
}

.drag-handle:active {
    cursor: grabbing;
}

.drag-disabled {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    background: #f7f7f7;
}

tr.dragging {
    opacity: .45;
    background: #fff0f0 !important;
}

tr.drag-over {
    box-shadow: inset 0 3px 0 #b70000;
}

tr.is-not-homepage-row {
    opacity: .78;
}

.article-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.article-status.is-published {
    background: #e9f7ef;
    color: #168447;
}

.article-status.is-draft {
    background: #fff4dd;
    color: #9b6700;
}

.article-status.is-homepage {
    background: #eef3ff;
    color: #2457c5;
}

.article-status.is-hidden {
    background: #f2f2f2;
    color: #888;
}

.order-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.muted {
    color: #aaa;
}

.admin-row-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.admin-row-actions a {
    min-height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: .25s;
}

.admin-row-actions a:hover {
    background: #ff9100;
    color: #fff;
}

.admin-row-actions .preview {
    background: #f2f2f2;
    color: #111;
}

.admin-row-actions .preview:hover {
    background: #111;
    color: #fff;
}

.admin-row-actions .publish {
    background: #168447;
    color: #fff;
}

.admin-row-actions .publish:hover {
    background: #0f6d39;
}

.admin-row-actions .unpublish {
    background: #f2f2f2;
    color: #111;
}

.admin-row-actions .unpublish:hover {
    background: #111;
    color: #fff;
}

.admin-row-actions .delete {
    background: #f2f2f2;
    color: #8a0000;
}

.admin-row-actions .delete:hover {
    background: #b70000;
    color: #fff;
}

.admin-order-save {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.admin-order-save button {
    height: 46px;
    padding: 0 20px;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s;
}

.admin-order-save button:hover {
    background: linear-gradient(180deg, #b90000 0%, #8f0000 100%);
}

.admin-row-hidden {
    display: none !important;
}

/******************************
NOTEBOOK
******************************/

@media(max-width:1500px) {
    .admin-main {
        width: calc(100% - 36px);
        max-width: none;
    }

    .admin-panel {
        padding: 24px;
    }

    .admin-table th,
    .admin-table td {
        padding: 13px 9px;
        font-size: 13px;
    }

    .admin-table th {
        font-size: 11px;
        letter-spacing: .1em;
    }

    .admin-articles-table th:nth-child(2),
    .admin-articles-table td:nth-child(2) {
        min-width: 210px;
    }

    .admin-articles-table th:last-child,
    .admin-articles-table td:last-child {
        width: 210px;
        min-width: 210px;
    }

    .admin-row-actions {
        gap: 6px;
    }

    .admin-row-actions a {
        min-height: 32px;
        padding: 0 8px;
        font-size: 9px;
        letter-spacing: .06em;
    }

    .article-status {
        padding: 0 8px;
        font-size: 10px;
    }
}

/******************************
SMALL NOTEBOOK
******************************/

@media(max-width:1280px) {

    .admin-articles-table th:nth-child(4),
    .admin-articles-table td:nth-child(4) {
        display: none;
    }

    .admin-articles-table th:nth-child(3),
    .admin-articles-table td:nth-child(3) {
        max-width: 120px;
    }

    .admin-articles-table th:last-child,
    .admin-articles-table td:last-child {
        width: 200px;
        min-width: 200px;
    }
}

@media(max-width:1100px) {

    .admin-articles-table th:nth-child(3),
    .admin-articles-table td:nth-child(3) {
        display: none;
    }
}

/******************************
MOBILE
******************************/

@media(max-width:900px) {
    .admin-toolbar {
        grid-template-columns: 1fr;
    }

    .admin-list-info {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media(max-width:800px) {

    .admin-page-heading-row,
    .admin-table-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-add-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .admin-search {
        width: 100%;
        flex: none;
    }

    .admin-table-wrap {
        overflow: visible;
    }

    .admin-table {
        min-width: 0;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table tr {
        padding: 14px;
        border: 1px solid #e5e5e5;
        margin-bottom: 14px;
        box-sizing: border-box;
        background: #fff;
    }

    .admin-table td {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 18px;
        box-sizing: border-box;
        text-align: right;
    }

    .admin-table td::before {
        content: attr(data-label);
        color: #777;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
        flex: 0 0 38%;
        text-align: left;
    }

    .admin-table td:first-child,
    .admin-table td:nth-child(2),
    .admin-table td:last-child {
        display: block;
        text-align: left;
    }

    .admin-table td:first-child::before,
    .admin-table td:nth-child(2)::before,
    .admin-table td:last-child::before {
        display: block;
        margin-bottom: 8px;
    }

    .admin-table td:last-child {
        border-bottom: 0;
    }

    .drag-handle,
    .drag-disabled {
        width: 100%;
    }

    .admin-row-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .admin-row-actions a {
        min-height: 40px;
        font-size: 11px;
    }

    .admin-order-save button {
        width: 100%;
        justify-content: center;
    }
}

@media(max-width:520px) {
    .admin-row-actions {
        grid-template-columns: 1fr;
    }
}

/******************************
ADMIN ARTICLE ADD / EDIT
******************************/

.article-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.article-form-main,
.article-form-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-form-side {
    position: sticky;
    top: 24px;
}

.article-form-panel h3 {
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #dedede;
    background: #f8f8f8;
    color: #111;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: .25s;
}

.form-group input,
.form-group select {
    height: 48px;
    padding: 0 14px;
}

.form-group textarea {
    min-height: 130px;
    padding: 14px;
    resize: vertical;
    line-height: 1.7;
}

.form-group textarea#obsah {
    min-height: 360px;
}

.text-format-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    padding: 8px;
    background: #f2f2f2;
    border: 1px solid #dedede;
    border-bottom: 0;
}

.text-format-toolbar+textarea {
    margin-top: 0;
}

.text-format-toolbar button,
.text-format-toolbar label {
    width: auto;
    min-width: 38px;
    height: 34px;
    margin: 0;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #dedede;
    color: #111;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.text-format-toolbar button:hover,
.text-format-toolbar label:hover {
    border-color: #b70000;
    color: #b70000;
}

.text-format-toolbar .text-format-color-picker {
    min-width: 42px;
    padding: 0 6px;
}

.text-format-toolbar input[type="color"] {
    width: 28px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #b70000;
    background: #fff;
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 13px;
    line-height: 1.5;
}

.media-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.media-upload-grid .article-form-panel {
    margin: 0;
}

@media(max-width:900px) {
    .media-upload-grid {
        grid-template-columns: 1fr;
    }
}

/******************************
IMAGE UPLOAD
******************************/

.image-upload-box {
    min-height: 210px;
    padding: 30px;
    border: 2px dashed #d8d8d8;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: .25s;
}

.image-upload-box:hover {
    border-color: #b70000;
    background: #fff8f8;
}

.image-upload-box input {
    display: none;
}

.image-upload-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-size: 22px;
}

.image-upload-box strong {
    display: block;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.image-upload-box small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 13px;
}

.image-preview {
    display: none;
    margin-top: 18px;
    background: #111;
    overflow: hidden;
}

.image-preview.show {
    display: block;
}

.image-preview img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

/******************************
SWITCH
******************************/

.admin-switch-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #e4e4e4;
    cursor: pointer;
}

.admin-switch-row input {
    display: none;
}

.admin-switch-row span {
    position: relative;
    width: 48px;
    height: 26px;
    flex: 0 0 48px;
    background: #d9d9d9;
    transition: .25s;
}

.admin-switch-row span::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    background: #fff;
    transition: .25s;
}

.admin-switch-row input:checked+span {
    background: #b70000;
}

.admin-switch-row input:checked+span::after {
    transform: translateX(22px);
}

.admin-switch-row strong {
    color: #333;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/******************************
SAVE PANEL
******************************/

.article-save-panel {
    background:
        radial-gradient(circle at 92% 8%, rgba(183, 0, 0, .08), transparent 34%),
        #fff;
}

.admin-save-btn {
    width: 100%;
    height: 50px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #b90000 0%, #8f0000 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s;
}

.admin-save-btn:hover {
    background: linear-gradient(180deg, #c81818 0%, #9b0505 100%);
}

.admin-cancel-btn {
    height: 46px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: .25s;
}

.admin-cancel-btn:hover {
    background: #111;
    color: #fff;
}

.admin-back-list-btn {
    background: #111;
}

.admin-back-list-btn:hover {
    background: linear-gradient(180deg, #b90000 0%, #8f0000 100%);
}

.readonly-category {
    min-height: 48px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f8f8;
    border: 1px solid #dedede;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    box-sizing: border-box;
}

.readonly-category i {
    color: #b70000;
}

.duration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.duration-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.duration-item input {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.duration-item span {
    min-width: 40px;
    font-size: 14px;
    font-weight: 700;
    color: #777;
}

/******************************
ALERTS
******************************/

.admin-alert {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.6;
}

.admin-alert-error {
    background: #fff3f3;
    border-color: rgba(183, 0, 0, .22);
    color: #8a0000;
}

/******************************
RESPONSIVE
******************************/

@media(max-width:1200px) {
    .article-form-layout {
        grid-template-columns: 1fr;
    }

    .article-form-side {
        position: static;
    }
}

@media(max-width:800px) {
    .image-upload-box {
        min-height: 180px;
        padding: 24px;
    }

    .form-group textarea#obsah {
        min-height: 300px;
    }
}

/*****************************
ZMAZAŤ OBRÁZOK
*****************************/

.current-upload {
    margin-bottom: 18px;
}

.current-upload strong {
    display: block;
    margin-bottom: 10px;

    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.current-upload-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f7f7f7;
    border: 1px solid #e3e3e3;
    color: #444;
    text-decoration: none;
    font-size: 14px;

    transition: .25s;
}

.current-upload-link:hover {
    border-color: #b70000;
    color: #b70000;
    background: #fff;
}

.admin-delete-check {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 14px 0 22px;

    color: #b70000;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.admin-delete-check input {
    margin: 0;
    accent-color: #b70000;
}

/******************************
ADMIN TOAST – PREMIUM BLACK
******************************/

.admin-order-toast {
    position: fixed;
    top: 22px;
    left: 50%;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 430px;
    max-width: calc(100vw - 40px);
    padding: 18px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    /* čierne, jemne priesvitné */
    background: rgba(0, 0, 0, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 24px 65px rgba(0, 0, 0, .38),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -18px) scale(.96);
    transition:
        opacity .35s ease,
        transform .35s cubic-bezier(.22, .61, .36, 1),
        visibility .35s ease;
}

.admin-order-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}

/******************************
IKONA
******************************/

.admin-order-toast i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .08);
    color: #d9e1da;
    font-size: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .05);
}

/******************************
TEXT
******************************/

.admin-order-toast span {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -.01em;
}

/******************************
STAVY
******************************/

.admin-order-toast.is-saving i {
    color: #f0f0f0;
}

.admin-order-toast.is-success {
    background: rgba(0, 0, 0, .92);
    border-color: rgba(255, 255, 255, .14);
}

.admin-order-toast.is-success i {
    background: rgba(255, 255, 255, .08);
    color: #d9e1da;
}

.admin-order-toast.is-error {
    background: rgba(0, 0, 0, .92);
    border-color: rgba(255, 120, 120, .18);
}

.admin-order-toast.is-error i {
    background: rgba(183, 0, 0, .15);
    color: #ffb5b5;
}

/******************************
RESPONSIVE
******************************/

@media (max-width:600px) {

    .admin-order-toast {
        top: 14px;
        width: calc(100% - 24px);
        min-width: 0;
        padding: 15px 18px;
        border-radius: 16px;
    }

    .admin-order-toast i {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .admin-order-toast span {
        font-size: 14px;
    }

}

/******************************
ADMIN SLIDER
******************************/

.admin-slider-table .slider-admin-thumb {
    width: 150px;
    height: 78px;
    overflow: hidden;
    background: #ededed;
    border: 1px solid #dedede;
}

.admin-slider-table .slider-admin-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slider-image-preview {
    margin-top: 22px;
}

.slider-image-preview img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.admin-slider-table tr.dragging {
    opacity: .42;
}

.admin-slider-table tr.drag-over td {
    border-top-color: #b70000;
}

@media (max-width: 900px) {
    .admin-slider-table .slider-admin-thumb {
        width: 100%;
        max-width: 260px;
        height: 125px;
    }
}

/******************************
ADMIN GALERIE
******************************/

.admin-gallery-table .gallery-admin-thumb {
    width: 150px;
    height: 90px;
    overflow: hidden;
    background: #ededed;
    border: 1px solid #dedede;
}

.admin-gallery-table .gallery-admin-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-admin-empty-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
}

.admin-table-note {
    display: block;
    margin-top: 6px;
    color: #888;
    font-size: 12px;
}

/* Akcie v zozname galerii */
.admin-gallery-table .admin-row-actions {
    display: grid;
    grid-template-columns: repeat(2, 128px);
    gap: 8px;
    justify-content: end;
}

.admin-gallery-table .admin-row-actions a {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: #111;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: .25s;
}

.admin-gallery-table .admin-row-actions a:hover {
    background: #111;
    color: #fff;
}

.admin-gallery-table .admin-row-actions a[href*="admin-galerie-fotky"] {
    background: #111;
    color: #fff;
}

.admin-gallery-table .admin-row-actions a[href*="admin-galerie-fotky"]:hover {
    background: #b70000;
    color: #fff;
}

.admin-gallery-table .admin-row-actions a.delete {
    grid-column: span 2;
    background: #fff3f3;
    color: #b70000;
}

.admin-gallery-table .admin-row-actions a.delete:hover {
    background: #b70000;
    color: #fff;
}

.gallery-upload-panel {
    margin-bottom: 0;
}

.gallery-photos-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.gallery-photos-panel {
    min-width: 0;
}

.gallery-upload-submit {
    width: 100%;
    max-width: none;
    margin-top: 18px;
}

.gallery-title-image-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.gallery-title-preview {
    min-width: 0;
}

.gallery-title-preview>strong {
    display: block;
    margin-bottom: 14px;
    color: #333;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gallery-title-preview .image-preview {
    margin-top: 0;
}

.gallery-title-preview .image-preview+.image-preview {
    margin-top: 14px;
}

.gallery-title-preview .image-preview img {
    height: 320px;
    max-height: none;
    object-fit: cover;
}

.gallery-title-upload {
    height: 320px;
    min-height: 320px;
    margin-top: 33px;
}

.gallery-title-preview-empty {
    min-height: 320px;
    border: 2px dashed #d8d8d8;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #888;
    text-align: center;
    box-sizing: border-box;
}

.gallery-title-preview-empty[hidden] {
    display: none !important;
}

.gallery-title-preview-empty i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-size: 22px;
}

.gallery-photo-count {
    margin: 0;
}

.gallery-admin-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    background: #fafafa;
    border: 1px dashed #d8d8d8;
    color: #777;
}

.gallery-admin-empty i {
    font-size: 34px;
    color: #b70000;
}

.gallery-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
}

.gallery-admin-photo {
    position: relative;
    overflow: hidden;
    background: #111;
    aspect-ratio: 4 / 3;
}

.gallery-admin-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-admin-photo-actions {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .76) 100%);
}

.gallery-admin-photo-actions span {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 800;
}

.gallery-admin-photo-actions a {
    height: 32px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #b70000;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pdf-preview.show {
    display: block;
    margin-top: 14px;
    padding: 12px 14px;
    background: #f2f2f2;
    color: #333;
    font-size: 14px;
}

.admin-alert-success {
    background: #e9f7ef;
    border-color: rgba(22, 132, 71, .22);
    color: #168447;
}

@media(max-width:800px) {
    .gallery-title-image-layout {
        grid-template-columns: 1fr;
    }

    .gallery-title-preview .image-preview img,
    .gallery-title-upload,
    .gallery-title-preview-empty {
        min-height: 240px;
        height: auto;
    }

    .gallery-title-upload {
        margin-top: 0;
    }

    .gallery-photos-layout {
        grid-template-columns: 1fr;
    }

    .admin-gallery-table .gallery-admin-thumb {
        width: 100%;
        max-width: 260px;
        height: 140px;
    }

    .admin-gallery-table .admin-row-actions {
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
    }

    .admin-gallery-table .admin-row-actions a {
        min-height: 40px;
    }
}

/******************************
ADMIN HRY / REPERTOAR
******************************/

.admin-shows-table .show-admin-thumb {
    width: 150px;
    height: 90px;
    overflow: hidden;
    background: #ededed;
    border: 1px solid #dedede;
}

.admin-shows-table .show-admin-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.show-admin-empty-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
}

.admin-shows-table .show-row-actions {
    display: grid;
    grid-template-columns: repeat(2, 118px);
    gap: 8px;
    justify-content: end;
}

.admin-shows-table .show-row-actions a {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: #111;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: .25s;
}

.admin-shows-table .show-row-actions a:hover {
    background: #111;
    color: #fff;
}

.admin-shows-table .show-row-actions a.delete {
    grid-column: span 2;
    background: #fff3f3;
    color: #b70000;
}

.admin-shows-table .show-row-actions a.delete:hover {
    background: #b70000;
    color: #fff;
}

.show-hero-image-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.show-hero-image-layout-add {
    align-items: stretch;
}

.show-hero-preview,
.show-hero-upload-wrap {
    min-width: 0;
}

.show-hero-preview > strong {
    display: block;
    margin-bottom: 14px;
    color: #333;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.show-hero-preview .image-preview,
.show-hero-upload-wrap .image-preview,
.show-hero-image-layout-add .image-preview {
    margin-top: 0;
}

.show-hero-preview .image-preview img,
.show-hero-upload-wrap .image-preview img,
.show-hero-image-layout-add .image-preview img {
    height: 320px;
    max-height: none;
    object-fit: cover;
}

.show-hero-upload {
    min-height: 320px;
    height: 320px;
    margin-top: 0 !important;
    box-sizing: border-box;
}

.show-hero-upload-wrap {
    padding-top: 31px;
}

.show-hero-image-layout-add .show-hero-upload-wrap {
    padding-top: 0;
}

.show-hero-upload-wrap .image-preview.show {
    margin-top: 14px;
}

.show-form-note {
    margin: -6px 0 22px;
    color: #888;
    font-size: 13px;
    line-height: 1.6;
}

.show-edit-section {
    margin-top: 26px;
}

.show-edit-section:first-of-type {
    margin-top: 0;
}

.show-edit-section h4 {
    margin: 0 0 14px;
    color: #111;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.show-edit-head,
.show-edit-row {
    display: grid;
    gap: 10px;
}

.show-edit-head-actors,
.show-edit-row-actors {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
}

.show-edit-head-actors-upload,
.show-edit-row-actors-upload {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(180px, .85fr);
}

.show-edit-head-team,
.show-edit-row-team {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}

.show-edit-head {
    margin-bottom: 8px;
}

.show-edit-head span {
    color: #777;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.show-edit-row {
    margin-bottom: 10px;
}

.show-edit-row input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    color: #111;
    font-size: 14px;
    box-sizing: border-box;
}

.show-edit-row input[type="file"] {
    padding: 10px;
    font-size: 12px;
}

.show-edit-row input:focus {
    border-color: #b70000;
    background: #fff;
    outline: none;
}

.show-add-row-btn {
    min-height: 42px;
    margin-top: 6px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .25s;
}

.show-add-row-btn:hover {
    background: #b70000;
}

.show-related-grid {
    display: none;
}

.show-related-grid h4 {
    margin: 0 0 14px;
    color: #111;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.show-related-list {
    display: grid;
    gap: 10px;
}

.show-related-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
}

.show-related-item strong {
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.show-related-item span {
    color: #777;
    font-size: 13px;
    text-align: right;
}

@media(max-width:800px) {
    .admin-shows-table .show-admin-thumb {
        width: 100%;
        max-width: 260px;
        height: 140px;
    }

    .admin-shows-table .show-row-actions {
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
    }

    .admin-shows-table .show-row-actions a {
        min-height: 40px;
    }

    .show-hero-image-layout {
        grid-template-columns: 1fr;
    }

    .show-hero-upload-wrap {
        padding-top: 0;
    }

    .show-hero-preview .image-preview img,
    .show-hero-upload-wrap .image-preview img,
    .show-hero-image-layout-add .image-preview img,
    .show-hero-upload {
        min-height: 240px;
        height: auto;
    }

    .show-related-grid {
        display: none;
    }

    .show-edit-head {
        display: none;
    }

    .show-edit-row-actors,
    .show-edit-row-actors-upload,
    .show-edit-row-team {
        grid-template-columns: 1fr;
    }

    .show-related-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .show-related-item span {
        text-align: left;
    }
}

/******************************
ADMIN PROGRAM
******************************/

.admin-program-table .program-row-actions {
    display: grid;
    grid-template-columns: repeat(2, 118px);
    gap: 8px;
    justify-content: end;
}

.admin-program-table .program-row-actions a {
    min-height: 36px;
    padding: 0 12px;
}

.admin-program-table .program-row-actions .delete {
    grid-column: span 2;
    background: #fff3f3;
    color: #b70000;
}

.admin-program-table .program-row-actions .delete:hover {
    background: #b70000;
    color: #fff;
}

.program-override-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: start;
}

.program-override-box {
    min-height: 100%;
    padding: 22px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.program-override-box h4 {
    margin: 0 0 18px;
    color: #111;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.program-override-box .form-group:last-child {
    margin-bottom: 0;
}

@media(max-width:800px) {
    .admin-program-table .program-row-actions {
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
    }

    .program-override-layout {
        grid-template-columns: 1fr;
    }
}

/******************************
ADMIN DASHBOARD REDESIGN
******************************/

.dashboard-redesign {
    max-width: 1640px;
}

.dashboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.dashboard-web-btn {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-web-btn:hover {
    background: #b70000;
    color: #fff;
}

.dashboard-hero-panel {
    margin: 28px 0 22px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 26px;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(183, 0, 0, .1), transparent 56%),
        #fff;
    border: 1px solid #e2e2e2;
}

.dashboard-hero-panel span,
.dashboard-panel-head span,
.dashboard-kpi-card span {
    color: #777;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dashboard-hero-panel h3 {
    max-width: 850px;
    margin: 10px 0 0;
    color: #111;
    font-size: clamp(24px, 2.5vw, 38px);
    font-weight: 300;
    line-height: 1.18;
}

.dashboard-hero-meta {
    min-height: 120px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #111;
    color: #fff;
    text-align: center;
}

.dashboard-hero-meta strong {
    font-size: 46px;
    font-weight: 300;
    line-height: 1;
}

.dashboard-hero-meta span {
    margin-top: 10px;
    color: rgba(255, 255, 255, .72);
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.dashboard-kpi-card {
    min-height: 148px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e2e2e2;
    color: #111;
    text-decoration: none;
}

.dashboard-kpi-card i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: #b70000;
}

.dashboard-kpi-card strong {
    margin-top: 14px;
    color: #06101c;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

.dashboard-kpi-card small {
    margin-top: 8px;
    color: #777;
    font-size: 13px;
}

.dashboard-kpi-card:hover {
    border-color: #b70000;
    transform: translateY(-2px);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    align-items: start;
}

.dashboard-main-column,
.dashboard-side-column {
    display: grid;
    gap: 28px;
}

.dashboard-panel {
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #e2e2e2;
}

.dashboard-panel-head {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.dashboard-panel-head h3 {
    margin: 7px 0 0;
    color: #06101c;
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
}

.dashboard-panel-head a {
    color: #b70000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.dashboard-empty {
    margin: 0;
    padding: 26px;
    background: #fafafa;
    border: 1px dashed #d8d8d8;
    color: #777;
    text-align: center;
}

.dashboard-schedule {
    display: grid;
    gap: 12px;
}

.dashboard-schedule-row {
    min-height: 82px;
    padding: 14px 0;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 142px;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
}

.dashboard-schedule-row:last-child {
    border-bottom: 0;
}

.dashboard-date-box {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #111;
    color: #fff;
}

.dashboard-date-box strong {
    font-size: 22px;
    line-height: 1;
}

.dashboard-date-box span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.dashboard-schedule-info h4 {
    margin: 0;
    color: #111;
    font-size: 16px;
    font-weight: 800;
}

.dashboard-schedule-info p {
    margin: 7px 0 0;
    color: #777;
    font-size: 13px;
}

.dashboard-schedule-info p span::before {
    content: "";
    width: 14px;
    height: 1px;
    margin: 0 9px 4px;
    display: inline-block;
    background: #d3d3d3;
}

.dashboard-schedule-info small {
    display: block;
    margin-top: 6px;
    color: #b70000;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-schedule-action {
    text-align: right;
}

.dashboard-schedule-action a,
.dashboard-schedule-action span {
    min-height: 36px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #b70000;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-schedule-action span {
    background: #f1f1f1;
    color: #777;
}

.dashboard-schedule-action a:hover {
    background: #111;
    color: #fff;
}

.dashboard-activity-list {
    display: grid;
}

.dashboard-activity-row {
    min-height: 58px;
    padding: 13px 0;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) 105px;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
    color: #111;
    text-decoration: none;
}

.dashboard-activity-row:last-child {
    border-bottom: 0;
}

.dashboard-activity-row>span {
    min-height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: #333;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-activity-row strong {
    overflow: hidden;
    color: #111;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-activity-row small {
    color: #777;
    font-size: 13px;
    text-align: right;
}

.dashboard-activity-row:hover strong {
    color: #b70000;
}

.dashboard-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dashboard-action-grid a {
    min-height: 112px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    background: #111;
    color: #fff;
    text-decoration: none;
}

.dashboard-action-grid a:nth-child(3),
.dashboard-action-grid a:nth-child(4),
.dashboard-action-grid a:nth-child(5),
.dashboard-action-grid a:nth-child(6) {
    background: #f2f2f2;
    color: #111;
}

.dashboard-action-grid i {
    margin-bottom: 13px;
    color: #b70000;
    font-size: 18px;
}

.dashboard-action-grid a:nth-child(1) i,
.dashboard-action-grid a:nth-child(2) i {
    color: #fff;
}

.dashboard-action-grid strong {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-action-grid span {
    margin-top: 7px;
    color: inherit;
    opacity: .68;
    font-size: 12px;
    line-height: 1.4;
}

.dashboard-action-grid a:hover {
    background: #b70000;
    color: #fff;
}

.dashboard-action-grid a:hover i {
    color: #fff;
}

.dashboard-health-list {
    display: grid;
}

.dashboard-health-list>div {
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #eeeeee;
}

.dashboard-health-list>div:last-child {
    border-bottom: 0;
}

.dashboard-health-list strong {
    color: #111;
    font-size: 14px;
}

.dashboard-health-list span {
    color: #777;
    font-size: 13px;
    text-align: right;
}

.dashboard-matomo-panel {
    background:
        radial-gradient(circle at 95% 0%, rgba(183, 0, 0, .11), transparent 32%),
        #fff;
}

.dashboard-matomo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-matomo-grid>div {
    padding: 16px 10px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid #f1d6d6;
    text-align: center;
}

.dashboard-matomo-grid strong {
    display: block;
    color: #111;
    font-size: 28px;
    font-weight: 300;
}

.dashboard-matomo-grid span {
    color: #777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dashboard-matomo-panel p {
    margin: 18px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.55;
}

@media(max-width:1400px) {
    .dashboard-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-layout {
        grid-template-columns: minmax(0, 1fr) 380px;
    }
}

@media(max-width:1100px) {
    .dashboard-hero-panel,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-meta {
        align-items: flex-start;
        text-align: left;
    }
}

@media(max-width:760px) {
    .dashboard-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-web-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .dashboard-kpi-grid,
    .dashboard-action-grid,
    .dashboard-matomo-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-panel,
    .dashboard-hero-panel {
        padding: 24px;
    }

    .dashboard-schedule-row,
    .dashboard-activity-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dashboard-schedule-action,
    .dashboard-activity-row small {
        text-align: left;
    }
}

/* CHYBOVÁ STRÁNKA 404 */
body.lss-error-page {
  margin:0;
  min-height:100vh;
  background:
    linear-gradient(115deg,rgba(0,0,0,.91),rgba(24,24,24,.97)),
    radial-gradient(circle at 15% 20%,rgba(183,0,0,.38),transparent 40%);
  color:#fff;
  font-family:"Google Sans Flex",sans-serif;
}
.lss-error-shell {
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 24px;
  box-sizing:border-box;
}
.lss-error-card {
  width:100%;
  max-width:920px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:64px;
  padding:68px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(20,20,20,.74);
  box-shadow:0 30px 80px rgba(0,0,0,.34);
  box-sizing:border-box;
}
.lss-error-code {
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:126px;
  font-weight:700;
  line-height:1;
  letter-spacing:-.08em;
}
.lss-error-code i {
  margin:0 17px;
  color:#c40000;
  font-size:70px;
  letter-spacing:0;
}
.lss-error-label {
  display:block;
  margin-bottom:13px;
  color:#e01616;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.lss-error-content h1 {
  margin:0;
  font-size:38px;
  font-weight:500;
  line-height:1.12;
}
.lss-error-content p {
  max-width:390px;
  margin:18px 0 0;
  color:#aeb2b4;
  font-size:15px;
  line-height:1.65;
}
.lss-error-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}
.lss-error-actions a,
.lss-error-actions button {
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:3px;
  box-sizing:border-box;
  font:700 11px/1 "Google Sans Flex",sans-serif;
  letter-spacing:.06em;
  text-decoration:none;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.lss-error-primary { background:#b70000;color:#fff; }
.lss-error-primary:hover { background:#d00000; }
.lss-error-secondary {
  border-color:#4a4d4f !important;
  background:transparent;
  color:#d5d7d8;
}
.lss-error-secondary:hover { border-color:#777 !important;background:#292b2c; }

@media(max-width:800px) {
  .lss-error-card {
    grid-template-columns:1fr;
    gap:34px;
    max-width:560px;
    padding:48px 38px;
    text-align:center;
  }
  .lss-error-code { font-size:100px; }
  .lss-error-code i { font-size:56px; }
  .lss-error-content p { margin-left:auto;margin-right:auto; }
  .lss-error-actions { justify-content:center; }
}

@media(max-width:480px) {
  .lss-error-shell { padding:18px; }
  .lss-error-card { gap:26px;padding:36px 22px; }
  .lss-error-code { font-size:72px; }
  .lss-error-code i { margin:0 12px;font-size:40px; }
  .lss-error-content h1 { font-size:29px; }
  .lss-error-actions { display:grid; }
}

/******************************
COMPACT SUBPAGE HEADER
Dashboard is intentionally excluded.
******************************/

.admin-page:not(.admin-dashboard-page) .admin-titlebar {
    display: none;
}

.admin-page:not(.admin-dashboard-page) .admin-main {
    padding-top: 0;
}

.admin-page:not(.admin-dashboard-page) .admin-page-heading-row {
    position: relative;
    left: 50%;
    width: 100vw;
    min-height: 90px;
    margin: 0 0 32px -50vw;
    padding: 16px max(20px, 7.5vw);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.admin-page:not(.admin-dashboard-page) .admin-page-heading-row::before {
    content: var(--admin-page-icon, "\f013");
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #f7eeee;
    color: #b70000;
    font-family: "Font Awesome 6 Free";
    font-size: 17px;
    font-weight: 900;
}

.admin-page:not(.admin-dashboard-page) .admin-page-heading-row > div {
    min-width: 0;
    margin-right: auto;
    padding-left: 20px;
    border-left: 1px solid #dedede;
}

.admin-page:not(.admin-dashboard-page) .admin-page-heading-row span {
    display: none;
}

.admin-page:not(.admin-dashboard-page) .admin-page-heading-row h2 {
    margin: 0;
    overflow: hidden;
    color: #111;
    font-size: 26px;
    font-weight: 430;
    line-height: 1.1;
    letter-spacing: -.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-page:not(.admin-dashboard-page) .admin-page-heading-row > div::after {
    content: "Správa obsahu a nastavení webstránky";
    display: block;
    margin-top: 5px;
    color: #8a8a8a;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .015em;
}

.admin-page:not(.admin-dashboard-page) .dashboard-heading > div::after {
    display: none;
}

.admin-page .dashboard-heading > div:first-of-type > span {
    display: block;
    height: auto;
    padding: 0;
    margin-bottom: 4px;
    background: transparent;
    color: #b70000;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.admin-page:not(.admin-dashboard-page) .dashboard-heading > .dashboard-analytics-actions {
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
}

@media (max-width: 760px) {
    .admin-page:not(.admin-dashboard-page) .dashboard-heading > .dashboard-analytics-actions {
        margin-left: auto;
        padding-left: 0;
        border-left: 0;
    }
}

.admin-page:not(.admin-dashboard-page) .admin-page-heading-row .admin-add-btn {
    flex: 0 0 auto;
    min-height: 40px;
    height: 40px;
    padding: 0 18px;
    font-size: 11px;
}

.admin-page:not(.admin-dashboard-page) .admin-page-heading-row .dashboard-web-btn {
    flex: 0 0 auto;
    min-height: 40px;
    height: 40px;
    padding: 0 18px;
    font-size: 11px;
}

@media (max-width: 760px) {
    .admin-page:not(.admin-dashboard-page) .admin-page-heading-row {
        min-height: 72px;
        margin-bottom: 22px;
        padding: 10px 20px;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .admin-page:not(.admin-dashboard-page) .admin-page-heading-row::before {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 15px;
    }

    .admin-page:not(.admin-dashboard-page) .admin-page-heading-row > div {
        padding-left: 12px;
    }

    .admin-page:not(.admin-dashboard-page) .admin-page-heading-row h2 {
        font-size: 20px;
    }

    .admin-page:not(.admin-dashboard-page) .admin-page-heading-row > div::after {
        overflow: hidden;
        max-width: 42vw;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-page:not(.admin-dashboard-page) .admin-page-heading-row .admin-add-btn {
        width: auto;
        min-height: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 10px;
        white-space: nowrap;
    }

    .admin-page:not(.admin-dashboard-page) .admin-page-heading-row .dashboard-web-btn {
        width: auto;
        min-height: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 10px;
        white-space: nowrap;
    }
}

/* Analytický dashboard – typografia +1 px */
.analytics-dashboard .analytics-eyebrow,
.analytics-dashboard .analytics-card-head span,
.analytics-dashboard .content-overview-head span { font-size:10px; }
.analytics-dashboard .analytics-kpi>div span { font-size:11px; }
.analytics-dashboard .analytics-kpi>strong { font-size:31px; }
.analytics-dashboard .analytics-kpi>small { font-size:10px; }
.analytics-dashboard .analytics-card-head h4 { font-size:15px; }
.analytics-dashboard .analytics-legend,
.analytics-dashboard .analytics-empty span,
.analytics-dashboard .content-overview-head small { font-size:10px; }
.analytics-dashboard .analytics-empty strong { font-size:13px; }
.analytics-dashboard .analytics-summary-list span { font-size:11px; }
.analytics-dashboard .analytics-summary-list strong { font-size:16px; }
.analytics-dashboard .analytics-ranking>p,
.analytics-dashboard .analytics-bars>p,
.analytics-dashboard .analytics-device-grid>p { font-size:11px; }
.analytics-dashboard .analytics-ranking b,
.analytics-dashboard .analytics-bars b { font-size:10px; }
.analytics-dashboard .analytics-ranking span,
.analytics-dashboard .analytics-bars span,
.analytics-dashboard .analytics-ranking strong,
.analytics-dashboard .analytics-bars strong { font-size:11px; }
.analytics-dashboard .analytics-device-grid strong { font-size:17px; }
.analytics-dashboard .analytics-device-grid span { font-size:9px; }
.analytics-dashboard .content-overview-grid span { font-size:10px; }
.analytics-dashboard .content-overview-grid strong { font-size:23px; }
.analytics-dashboard .content-overview-grid small { font-size:9px; }
.dashboard-analytics-actions .analytics-status { font-size:11px; }
.dashboard-analytics-actions .analytics-periods button { font-size:11px; }

/* KOMPAKTNÝ ZOZNAM ČLÁNKOV */
.admin-articles-panel { padding:18px; }
.admin-articles-panel .admin-table-head { margin-bottom:12px; }
.admin-articles-panel .admin-table-head h3 { font-size:18px; }
.admin-articles-panel .admin-table-subtitle { margin-top:4px; font-size:11px; }
.admin-articles-panel .admin-search { width:250px; }
.admin-articles-panel .admin-search input { height:36px; padding-right:36px; font-size:11px; }
.admin-articles-panel .admin-search i { right:12px; font-size:12px; }
.admin-articles-panel .admin-list-info { margin-bottom:10px; padding:8px 12px; font-size:10px; }
.admin-articles-panel .admin-table { table-layout:fixed; }
.admin-articles-panel .admin-table th { padding:9px 8px; font-size:9px; letter-spacing:.09em; }
.admin-articles-panel .admin-table td { padding:9px 8px; font-size:11px; line-height:1.25; }
.admin-articles-panel .admin-table td>strong { display:block; overflow:hidden; font-size:12px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.admin-articles-panel .admin-articles-table th:nth-child(3),
.admin-articles-panel .admin-articles-table td:nth-child(3),
.admin-articles-panel .admin-articles-table th:nth-child(4),
.admin-articles-panel .admin-articles-table td:nth-child(4),
.admin-articles-panel .admin-articles-table th:nth-child(5),
.admin-articles-panel .admin-articles-table td:nth-child(5) { display:none; }
.admin-articles-panel .admin-articles-table th:first-child,
.admin-articles-panel .admin-articles-table td:first-child { width:38px; min-width:38px; }
.admin-articles-panel .admin-articles-table th:nth-child(2),
.admin-articles-panel .admin-articles-table td:nth-child(2) { width:auto; min-width:180px; }
.admin-articles-panel .admin-articles-table th:nth-child(6),
.admin-articles-panel .admin-articles-table td:nth-child(6) { width:92px; }
.admin-articles-panel .admin-articles-table th:nth-child(7),
.admin-articles-panel .admin-articles-table td:nth-child(7) { width:76px; }
.admin-articles-panel .admin-articles-table th:nth-child(8),
.admin-articles-panel .admin-articles-table td:nth-child(8) { width:54px; text-align:center; }
.admin-articles-panel .admin-articles-table th:last-child,
.admin-articles-panel .admin-articles-table td:last-child { width:142px; min-width:142px; }
.article-row-meta { margin-top:5px; display:flex; align-items:center; gap:10px; color:#92999d; font-size:9px; }
.article-row-meta>span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.article-row-meta i { margin-right:4px; color:#b70000; font-size:8px; }
.admin-articles-panel .article-status { min-height:23px; padding:0 7px; font-size:8px; letter-spacing:.05em; }
.admin-articles-panel .order-number { width:27px; height:27px; font-size:10px; }
.admin-articles-panel .drag-handle,
.admin-articles-panel .drag-disabled { width:28px; height:28px; font-size:10px; }
.admin-articles-panel .admin-row-actions { display:flex; flex-wrap:nowrap; justify-content:flex-end; gap:4px; }
.admin-articles-panel .admin-row-actions a { width:30px; min-width:30px; min-height:30px; height:30px; padding:0; border-radius:3px; font-size:10px; }
.admin-articles-panel .admin-row-actions a span { display:none; }
.admin-articles-panel .admin-row-actions a.preview { background:#eef0f1; color:#343a3d; }
.admin-articles-panel .admin-row-actions a.publish { background:#e9f7ef; color:#168447; }
.admin-articles-panel .admin-row-actions a.unpublish { background:#fff4dd; color:#9b6700; }
.admin-articles-panel tr.is-not-homepage-row { opacity:.65; }

@media(max-width:800px) {
  .admin-articles-panel { padding:12px; }
  .admin-articles-panel .admin-table-head { gap:10px; }
  .admin-articles-panel .admin-search { width:100%; }
  .admin-articles-panel .admin-table td:nth-child(3),
  .admin-articles-panel .admin-table td:nth-child(4),
  .admin-articles-panel .admin-table td:nth-child(5) { display:none; }
  .admin-articles-panel .admin-row-actions { justify-content:flex-start; }
}

/* ZOZNAM ČLÁNKOV – VYVÁŽENÁ HUSTOTA */
.admin-articles-panel { padding:24px; }
.admin-articles-panel .admin-table-head { margin-bottom:16px; }
.admin-articles-panel .admin-table-head h3 { font-size:20px; }
.admin-articles-panel .admin-table-subtitle { margin-top:6px; font-size:12px; }
.admin-articles-panel .admin-search { width:280px; }
.admin-articles-panel .admin-search input { height:40px; font-size:12px; }
.admin-articles-panel .admin-list-info { margin-bottom:14px; padding:10px 14px; font-size:11px; }
.admin-articles-panel .admin-table th { padding:11px 10px; font-size:10px; }
.admin-articles-panel .admin-table td { padding:12px 10px; font-size:12px; }
.admin-articles-panel .admin-table td>strong { font-size:13px; }
.article-row-meta { margin-top:7px; gap:13px; font-size:10px; }
.article-row-meta i { font-size:9px; }
.admin-articles-panel .article-status { min-height:27px; padding:0 9px; font-size:9px; }
.admin-articles-panel .order-number { width:31px; height:31px; font-size:11px; }
.admin-articles-panel .drag-handle,
.admin-articles-panel .drag-disabled { width:32px; height:32px; font-size:11px; }
.admin-articles-panel .admin-articles-table th:first-child,
.admin-articles-panel .admin-articles-table td:first-child { width:44px; min-width:44px; }
.admin-articles-panel .admin-articles-table th:nth-child(6),
.admin-articles-panel .admin-articles-table td:nth-child(6) { width:100px; }
.admin-articles-panel .admin-articles-table th:nth-child(7),
.admin-articles-panel .admin-articles-table td:nth-child(7) { width:82px; }
.admin-articles-panel .admin-articles-table th:nth-child(8),
.admin-articles-panel .admin-articles-table td:nth-child(8) { width:58px; }
.admin-articles-panel .admin-articles-table th:last-child,
.admin-articles-panel .admin-articles-table td:last-child { width:390px; min-width:390px; }
.admin-articles-panel .admin-row-actions { gap:6px; }
.admin-articles-panel .admin-row-actions a {
  width:auto;
  min-width:0;
  min-height:34px;
  height:34px;
  padding:0 10px;
  gap:6px;
  font-size:9px;
  letter-spacing:.035em;
}
.admin-articles-panel .admin-row-actions a span { display:inline; }
.admin-articles-panel:not(.admin-balanced-list) .admin-row-actions { justify-content:flex-end; }
.admin-articles-panel:not(.admin-balanced-list) .admin-articles-table th:last-child {
  padding-left:10px;
  text-align:left;
}
.admin-articles-panel:not(.admin-balanced-list) .article-actions-heading {
  display:block;
  width:440px;
  max-width:100%;
  margin-left:auto;
  text-align:left;
}
.admin-articles-panel:not(.admin-balanced-list) .admin-articles-table .drag-col i { color:#879096; font-size:11px; }
.admin-articles-panel .admin-table tr[hidden] { display:none !important; }

@media(max-width:1250px) {
  .admin-articles-panel .admin-articles-table th:last-child,
  .admin-articles-panel .admin-articles-table td:last-child { width:164px; min-width:164px; }
  .admin-articles-panel .admin-row-actions { display:grid; grid-template-columns:repeat(2,1fr); }
  .admin-articles-panel .admin-row-actions a { justify-content:flex-start; }
}

@media(max-width:1250px) {
  .admin-articles-panel:not(.admin-balanced-list) .article-actions-heading { width:auto; margin-left:0; }
}

@media(max-width:800px) {
  .admin-articles-panel { padding:16px; }
  .admin-articles-panel .admin-articles-table td:last-child { width:auto; min-width:0; }
  .admin-articles-panel .admin-row-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Mobilné karty článkov bez pevných šírok desktopovej tabuľky */
@media(max-width:800px) {
  .admin-articles-mobile-cards .admin-table-head { flex-direction:column; align-items:stretch; }
  .admin-articles-panel.admin-articles-mobile-cards .admin-search { width:100%; min-width:0; }
  .admin-articles-mobile-cards .admin-search input { width:100%; box-sizing:border-box; }
  .admin-articles-mobile-cards .admin-table-wrap { width:100%; min-width:0; overflow:visible; }
  .admin-articles-mobile-cards .admin-articles-table,
  .admin-articles-mobile-cards .admin-articles-table tbody { display:block; width:100%; min-width:0; }
  .admin-articles-mobile-cards .admin-articles-table thead { display:none; }
  .admin-articles-mobile-cards .admin-articles-table tr {
    position:relative;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px 6px;
    padding:14px;
    margin:0 0 12px;
  }
  .admin-articles-panel.admin-articles-mobile-cards .admin-articles-table td {
    display:block;
    width:auto;
    min-width:0;
    max-width:100%;
    padding:0;
    border:0;
    text-align:left;
    box-sizing:border-box;
  }
  .admin-articles-mobile-cards .admin-articles-table td::before {
    display:block;
    width:auto;
    margin:0 0 7px;
    font-size:9px;
    letter-spacing:.03em;
  }
  .admin-articles-panel.admin-articles-mobile-cards .admin-articles-table td:nth-child(3),
  .admin-articles-panel.admin-articles-mobile-cards .admin-articles-table td:nth-child(4),
  .admin-articles-panel.admin-articles-mobile-cards .admin-articles-table td:nth-child(5) { display:none; }
  .admin-articles-panel.admin-articles-mobile-cards .admin-articles-table td:first-child {
    position:absolute;
    top:14px;
    right:14px;
  }
  .admin-articles-mobile-cards .admin-articles-table td:first-child::before,
  .admin-articles-mobile-cards .admin-articles-table td:nth-child(2)::before { display:none; }
  .admin-articles-panel.admin-articles-mobile-cards .admin-articles-table td:nth-child(2) {
    grid-column:1 / -1;
    padding-right:42px;
  }
  .admin-articles-mobile-cards .admin-articles-table td > strong {
    white-space:normal;
    overflow:visible;
    overflow-wrap:anywhere;
    line-height:1.45;
  }
  .admin-articles-mobile-cards .article-row-meta { flex-wrap:wrap; gap:5px 10px; line-height:1.5; }
  .admin-articles-mobile-cards .article-row-meta > span { white-space:normal; overflow-wrap:anywhere; }
  .admin-articles-panel.admin-articles-mobile-cards .order-number { flex-shrink:0; width:31px; }
  .admin-articles-mobile-cards .article-status { max-width:100%; box-sizing:border-box; padding:0 5px; font-size:8px; }
  .admin-articles-panel.admin-articles-mobile-cards .admin-articles-table td:last-child {
    grid-column:1 / -1;
    padding-top:12px;
    border-top:1px solid #eee;
  }
  .admin-articles-mobile-cards .admin-row-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .admin-articles-mobile-cards .admin-row-actions a { min-width:0; min-height:40px; height:auto; padding:8px; white-space:normal; }
  .admin-articles-mobile-cards .admin-articles-table td[colspan] { grid-column:1 / -1; }
  .admin-articles-mobile-cards .admin-articles-table td[colspan]::before { display:none; }
}

/* VYVÁŽENÉ ZOZNAMY OSTATNÝCH ADMIN SEKCIÍ */
.admin-balanced-list .admin-table { table-layout:auto; }
.admin-balanced-list .admin-table th { padding:11px 9px; font-size:10px; }
.admin-balanced-list .admin-table td { padding:12px 9px; font-size:12px; }
.admin-balanced-list .admin-table-note { display:block; margin-top:5px; color:#969da1; font-size:9px; }
.admin-balanced-list .admin-row-actions { gap:6px !important; }
.admin-balanced-list .admin-row-actions a {
  width:auto;
  min-width:0;
  min-height:34px !important;
  height:34px;
  padding:0 10px;
  gap:6px;
  font-size:9px;
  letter-spacing:.035em;
}
.admin-balanced-list .admin-row-actions a span { display:inline; }
.admin-balanced-list .admin-row-actions .preview,
.admin-balanced-list .admin-row-actions .unpublish { background:#eef0f1; color:#343a3d; }
.admin-balanced-list .admin-row-actions .publish { background:#e9f7ef; color:#168447; }
.admin-balanced-list .admin-row-actions .delete { background:#fff1f1; color:#b70000; }

.admin-balanced-slider .admin-slider-table .slider-admin-thumb { width:145px; height:70px; }
.admin-balanced-slider .admin-slider-table th:last-child,
.admin-balanced-slider .admin-slider-table td:last-child { width:190px; min-width:190px; }
.admin-balanced-slider .admin-row-actions { display:grid !important; grid-template-columns:repeat(2,minmax(82px,1fr)) !important; }

.admin-balanced-shows .admin-shows-table .show-admin-thumb { width:140px; height:72px; }
.admin-balanced-shows .admin-shows-table th:last-child,
.admin-balanced-shows .admin-shows-table td:last-child { width:220px; min-width:220px; }
.admin-balanced-shows .show-row-actions { display:grid !important; grid-template-columns:repeat(2,minmax(94px,1fr)) !important; }

.admin-balanced-program .admin-program-table th:last-child,
.admin-balanced-program .admin-program-table td:last-child { width:220px; min-width:220px; }
.admin-balanced-program .program-row-actions { display:grid !important; grid-template-columns:repeat(2,minmax(94px,1fr)) !important; }

.admin-balanced-content .admin-articles-table th:nth-child(3),
.admin-balanced-content .admin-articles-table td:nth-child(3),
.admin-balanced-content .admin-articles-table th:nth-child(4),
.admin-balanced-content .admin-articles-table td:nth-child(4),
.admin-balanced-content .admin-articles-table th:nth-child(5),
.admin-balanced-content .admin-articles-table td:nth-child(5) { display:table-cell; }
.admin-balanced-content .admin-articles-table th:nth-child(2),
.admin-balanced-content .admin-articles-table td:nth-child(2) { width:16%; min-width:110px; }
.admin-balanced-content .admin-articles-table th:last-child,
.admin-balanced-content .admin-articles-table td:last-child { width:360px; min-width:360px; }
.admin-balanced-content .compact-actions { display:grid !important; grid-template-columns:repeat(4,minmax(76px,1fr)) !important; }

.admin-balanced-information .admin-articles-table { table-layout:fixed; }
.admin-balanced-information .admin-articles-table th:first-child,
.admin-balanced-information .admin-articles-table td:first-child { width:44px; min-width:44px; }
.admin-balanced-information .admin-articles-table th:nth-child(2),
.admin-balanced-information .admin-articles-table td:nth-child(2) { width:16%; min-width:130px; }
.admin-balanced-information .admin-articles-table th:nth-child(3),
.admin-balanced-information .admin-articles-table td:nth-child(3) { width:auto; }
.admin-balanced-information .admin-articles-table th:nth-child(4),
.admin-balanced-information .admin-articles-table td:nth-child(4) { width:120px; }
.admin-balanced-information .admin-articles-table th:nth-child(5),
.admin-balanced-information .admin-articles-table td:nth-child(5) { width:110px; white-space:nowrap; }
.admin-balanced-information .admin-articles-table th:last-child,
.admin-balanced-information .admin-articles-table td:last-child { width:400px; min-width:400px; }
.admin-balanced-information .compact-actions {
  width:100%;
  max-width:none !important;
  grid-template-columns:repeat(4,minmax(78px,1fr)) !important;
}

.admin-balanced-history .admin-articles-table { table-layout:fixed; }
.admin-balanced-history .admin-articles-table th:first-child,
.admin-balanced-history .admin-articles-table td:first-child { width:44px; min-width:44px; }
.admin-balanced-history .admin-articles-table th:nth-child(2),
.admin-balanced-history .admin-articles-table td:nth-child(2) { width:16%; min-width:130px; }
.admin-balanced-history .admin-articles-table th:nth-child(3),
.admin-balanced-history .admin-articles-table td:nth-child(3) { width:90px; min-width:90px; }
.admin-balanced-history .admin-articles-table th:nth-child(4),
.admin-balanced-history .admin-articles-table td:nth-child(4) { width:auto; }
.admin-balanced-history .admin-articles-table th:nth-child(5),
.admin-balanced-history .admin-articles-table td:nth-child(5) { width:120px; min-width:120px; }
.admin-balanced-history .admin-articles-table th:last-child,
.admin-balanced-history .admin-articles-table td:last-child { width:400px; min-width:400px; }
.admin-balanced-history .compact-actions {
  width:100%;
  max-width:none !important;
  grid-template-columns:repeat(4,minmax(78px,1fr)) !important;
}

.admin-balanced-gallery .admin-gallery-table .gallery-admin-thumb { width:135px; height:72px; }
.admin-balanced-gallery .admin-gallery-table th:last-child,
.admin-balanced-gallery .admin-gallery-table td:last-child { width:320px; min-width:320px; }
.admin-balanced-gallery .admin-row-actions { display:grid !important; grid-template-columns:repeat(3,minmax(88px,1fr)) !important; }
.admin-balanced-gallery .admin-row-actions a {
  border:1px solid transparent;
  border-radius:4px;
  box-shadow:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.admin-balanced-gallery .admin-row-actions a:hover { transform:translateY(-1px); }
.admin-balanced-gallery .admin-row-actions .preview {
  border-color:#d7dcde;
  background:#fff;
  color:#465156;
}
.admin-balanced-gallery .admin-row-actions .preview:hover {
  border-color:#adb7bb;
  background:#f3f5f5;
  color:#202426;
}
.admin-balanced-gallery .admin-row-actions a:not(.preview):not(.publish):not(.unpublish):not(.delete) {
  border-color:#d7dcde;
  background:#fff;
  color:#465156;
}
.admin-balanced-gallery .admin-row-actions a:not(.preview):not(.publish):not(.unpublish):not(.delete):hover {
  border-color:#adb7bb;
  background:#f3f5f5;
  color:#202426;
}
.admin-balanced-gallery .admin-row-actions a[href*="admin-galerie-edit"] {
  border-color:#d7dcde;
  background:#fff;
  color:#465156;
}
.admin-balanced-gallery .admin-row-actions a[href*="admin-galerie-edit"]:hover {
  border-color:#adb7bb;
  background:#f3f5f5;
  color:#202426;
}
.admin-balanced-gallery .admin-row-actions .unpublish {
  border-color:#f0ddb1;
  background:#fff6e4;
  color:#9a6300;
}
.admin-balanced-gallery .admin-row-actions .unpublish:hover {
  border-color:#dfc47d;
  background:#ffedc8;
  color:#795000;
}
.admin-balanced-gallery .admin-row-actions .publish {
  border-color:#cbd8d1;
  background:#eaf2ee;
  color:#3f6552;
}
.admin-balanced-gallery .admin-row-actions .publish:hover {
  border-color:#aec2b7;
  background:#dce9e2;
  color:#2e5541;
}
.admin-balanced-gallery .admin-row-actions .delete {
  border-color:#e7bcbc;
  background:#fff;
  color:#b70000;
}
.admin-balanced-gallery .admin-row-actions .delete:hover {
  border-color:#b70000;
  background:#b70000;
  color:#fff;
}

@media(max-width:1250px) {
  .admin-balanced-content .admin-articles-table th:last-child,
  .admin-balanced-content .admin-articles-table td:last-child,
  .admin-balanced-gallery .admin-gallery-table th:last-child,
  .admin-balanced-gallery .admin-gallery-table td:last-child { width:210px; min-width:210px; }
  .admin-balanced-content .compact-actions,
  .admin-balanced-gallery .admin-row-actions { grid-template-columns:repeat(2,minmax(88px,1fr)) !important; }
  .admin-balanced-information .admin-articles-table th:last-child,
  .admin-balanced-information .admin-articles-table td:last-child { width:210px; min-width:210px; }
  .admin-balanced-information .compact-actions { grid-template-columns:repeat(2,minmax(88px,1fr)) !important; }
  .admin-balanced-history .admin-articles-table th:last-child,
  .admin-balanced-history .admin-articles-table td:last-child { width:210px; min-width:210px; }
  .admin-balanced-history .compact-actions { grid-template-columns:repeat(2,minmax(88px,1fr)) !important; }
}

@media(max-width:800px) {
  .admin-balanced-list .admin-table td { padding:10px 8px; }
  .admin-balanced-list .admin-row-actions,
  .admin-balanced-content .compact-actions,
  .admin-balanced-gallery .admin-row-actions { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .admin-balanced-list .admin-table td:last-child { width:auto; min-width:0; }
  .admin-balanced-slider .admin-slider-table .slider-admin-thumb,
  .admin-balanced-shows .admin-shows-table .show-admin-thumb,
  .admin-balanced-gallery .admin-gallery-table .gallery-admin-thumb { width:100%; height:125px; }
}

/* Slider: kompaktné mobilné karty */
@media(max-width:800px) {
  .admin-balanced-slider .admin-table-wrap { width:100%; min-width:0; overflow:visible; }
  .admin-balanced-slider .admin-slider-table,
  .admin-balanced-slider .admin-slider-table tbody { display:block; width:100%; min-width:0; }
  .admin-balanced-slider .admin-slider-table thead { display:none; }
  .admin-balanced-slider .admin-slider-table tr {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px 8px;
    padding:12px;
    margin:0 0 12px;
  }
  .admin-articles-panel.admin-balanced-slider .admin-slider-table td {
    display:block;
    width:auto;
    min-width:0;
    padding:0;
    border:0;
    text-align:left;
  }
  .admin-balanced-slider .admin-slider-table td::before {
    display:block;
    width:auto;
    margin:0 0 7px;
    font-size:9px;
    letter-spacing:.03em;
  }
  .admin-balanced-slider .admin-slider-table td:first-child { grid-column:1; grid-row:3; }
  .admin-balanced-slider .admin-slider-table td:nth-child(2) { grid-column:1 / -1; grid-row:1; }
  .admin-balanced-slider .admin-slider-table td:nth-child(2)::before,
  .admin-balanced-slider .admin-slider-table td:nth-child(3)::before { display:none; }
  .admin-articles-panel.admin-balanced-slider .admin-slider-table td:nth-child(3) {
    display:block;
    grid-column:1 / -1;
    grid-row:2;
  }
  .admin-balanced-slider .admin-slider-table td > strong { white-space:normal; overflow-wrap:anywhere; line-height:1.4; }
  .admin-articles-panel.admin-balanced-slider .admin-slider-table td:nth-child(4) { display:none; }
  .admin-articles-panel.admin-balanced-slider .admin-slider-table td:nth-child(5) { display:block; grid-column:2; grid-row:3; }
  .admin-balanced-slider .admin-slider-table td:nth-child(6) { grid-column:3; grid-row:3; }
  .admin-articles-panel.admin-balanced-slider .admin-slider-table .slider-admin-thumb {
    width:100%;
    max-width:none;
    box-sizing:border-box;
    height:auto;
    aspect-ratio:16 / 9;
  }
  .admin-balanced-slider .admin-slider-table .slider-admin-thumb img { width:100%; height:100%; object-fit:cover; }
  .admin-articles-panel.admin-balanced-slider .admin-slider-table td:last-child {
    grid-column:1 / -1;
    grid-row:4;
    padding-top:12px;
    border-top:1px solid #eee;
  }
  .admin-balanced-slider .admin-slider-table .admin-row-actions {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px;
  }
  .admin-balanced-slider .admin-slider-table .admin-row-actions a {
    min-width:0;
    min-height:40px;
    height:auto;
    padding:8px;
    justify-content:center;
    white-space:normal;
  }
  .admin-articles-panel.admin-balanced-slider .admin-slider-table td[colspan] { grid-column:1 / -1; grid-row:auto; }
  .admin-balanced-slider .admin-slider-table td[colspan]::before { display:none; }
}

/* Repertoár — iba mobilné zobrazenie */
@media(max-width:800px) {
  .admin-balanced-shows .admin-table-head { flex-direction:column; align-items:stretch; }
  .admin-articles-panel.admin-balanced-shows .admin-search { width:100%; min-width:0; }
  .admin-balanced-shows .admin-search input { width:100%; box-sizing:border-box; }
  .admin-balanced-shows .admin-table-wrap { min-width:0; width:100%; overflow:visible; }
  .admin-balanced-shows .admin-shows-table,
  .admin-balanced-shows .admin-shows-table tbody { display:block; width:100%; min-width:0; }
  .admin-balanced-shows .admin-shows-table thead { display:none; }
  .admin-balanced-shows .admin-shows-table tr {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px 8px;
    padding:12px;
    margin:0 0 12px;
  }
  .admin-articles-panel.admin-balanced-shows .admin-shows-table td {
    display:block;
    min-width:0;
    width:auto;
    padding:0;
    border:0;
    text-align:left;
    overflow-wrap:anywhere;
  }
  .admin-balanced-shows .admin-shows-table td::before { display:block; width:auto; margin:0 0 7px; font-size:9px; letter-spacing:.03em; }
  .admin-balanced-shows .admin-shows-table td:nth-child(2) { grid-column:1 / -1; grid-row:1; }
  .admin-articles-panel.admin-balanced-shows .admin-shows-table td:nth-child(3) { display:block; grid-column:1 / -1; grid-row:2; }
  .admin-balanced-shows .admin-shows-table td:nth-child(2)::before,
  .admin-balanced-shows .admin-shows-table td:nth-child(3)::before { display:none; }
  .admin-balanced-shows .admin-shows-table td > strong { white-space:normal; overflow:visible; line-height:1.4; }
  .admin-balanced-shows .admin-shows-table td:first-child { grid-column:1; grid-row:3; }
  .admin-balanced-shows .admin-shows-table td:nth-child(8) { grid-column:2; grid-row:3; }
  .admin-balanced-shows .admin-shows-table td:nth-child(9) { grid-column:3; grid-row:3; }
  .admin-articles-panel.admin-balanced-shows .admin-shows-table td:nth-child(4) { display:block; grid-column:1; grid-row:4; }
  .admin-articles-panel.admin-balanced-shows .admin-shows-table td:nth-child(5) { display:block; grid-column:1 / -1; grid-row:5; }
  .admin-balanced-shows .admin-shows-table td:nth-child(6) { grid-column:2; grid-row:4; }
  .admin-balanced-shows .admin-shows-table td:nth-child(7) { grid-column:3; grid-row:4; }
  .admin-articles-panel.admin-balanced-shows .admin-shows-table .show-admin-thumb {
    width:100%; max-width:none; height:auto; aspect-ratio:16 / 9; box-sizing:border-box;
  }
  .admin-balanced-shows .admin-shows-table .show-admin-thumb img { width:100%; height:100%; object-fit:cover; }
  .admin-articles-panel.admin-balanced-shows .admin-shows-table td:last-child {
    grid-column:1 / -1; grid-row:6; padding-top:12px; border-top:1px solid #eee;
  }
  .admin-balanced-shows .admin-shows-table .show-row-actions { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:6px; }
  .admin-balanced-shows .admin-shows-table .show-row-actions a { min-width:0; min-height:40px; height:auto; padding:8px; white-space:normal; justify-content:center; }
  .admin-articles-panel.admin-balanced-shows .admin-shows-table td[colspan] { grid-column:1 / -1; grid-row:auto; }
  .admin-balanced-shows .admin-shows-table td[colspan]::before { display:none; }
}

@media(max-width:760px) {
  .admin-show-editor-page .show-hero-image-layout,
  .admin-show-editor-page .show-related-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .admin-show-editor-page .show-edit-row,
  .admin-show-editor-page .show-edit-section,
  .admin-show-editor-page .show-hero-image-layout { min-width:0; max-width:100%; box-sizing:border-box; }
  .admin-show-editor-page .show-edit-row input { min-width:0; max-width:100%; box-sizing:border-box; }
  .admin-show-editor-page .show-hero-upload-wrap { padding-top:0; }
  .admin-show-editor-page [data-editor-toolbar] { display:flex; flex-wrap:wrap; gap:6px; min-width:0; }
  .admin-show-editor-page .show-related-item { min-width:0; overflow-wrap:anywhere; }
}

/* Informácie — mobilný zoznam a formuláre */
@media(max-width:800px) {
  .admin-balanced-information .admin-table-wrap { width:100%; min-width:0; overflow:visible; }
  .admin-balanced-information .admin-articles-table,
  .admin-balanced-information .admin-articles-table tbody { display:block; width:100%; min-width:0; }
  .admin-balanced-information .admin-articles-table thead { display:none; }
  .admin-balanced-information .admin-articles-table tr {
    position:relative;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 8px;
    margin:0 0 12px;
    padding:14px;
  }
  .admin-articles-panel.admin-balanced-information .admin-articles-table td {
    display:block;
    width:auto;
    min-width:0;
    padding:0;
    border:0;
    text-align:left;
    overflow-wrap:anywhere;
  }
  .admin-balanced-information .admin-articles-table td::before {
    display:block;
    width:auto;
    margin:0 0 7px;
    font-size:9px;
    letter-spacing:.03em;
  }
  .admin-balanced-information .admin-articles-table td:first-child {
    position:absolute;
    top:14px;
    right:14px;
  }
  .admin-balanced-information .admin-articles-table td:first-child::before,
  .admin-balanced-information .admin-articles-table td:nth-child(3)::before { display:none; }
  .admin-articles-panel.admin-balanced-information .admin-articles-table td:nth-child(3) {
    display:block;
    grid-column:1 / -1 !important;
    grid-row:1;
    width:100% !important;
    min-width:0 !important;
    padding-right:54px;
    overflow-wrap:normal;
  }
  .admin-balanced-information .admin-articles-table td:nth-child(3) strong {
    display:block;
    width:100%;
    max-width:none;
    white-space:normal;
    overflow:visible;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
    line-height:1.4;
  }
  .admin-articles-panel.admin-balanced-information .admin-articles-table td:nth-child(2) {
    display:block;
    grid-column:1;
    grid-row:2;
  }
  .admin-articles-panel.admin-balanced-information .admin-articles-table td:nth-child(4) {
    display:block;
    grid-column:2;
    grid-row:2;
  }
  .admin-articles-panel.admin-balanced-information .admin-articles-table td:nth-child(5) {
    display:block;
    grid-column:1 / -1;
    grid-row:3;
  }
  .admin-articles-panel.admin-balanced-information .admin-articles-table td:last-child {
    grid-column:1 / -1;
    grid-row:4;
    padding-top:12px;
    border-top:1px solid #eee;
  }
  .admin-balanced-information .compact-actions {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px;
  }
  .admin-balanced-information .compact-actions a {
    min-width:0;
    min-height:40px;
    height:auto;
    padding:8px;
    justify-content:center;
    white-space:normal;
  }
  .admin-articles-panel.admin-balanced-information .admin-articles-table td[colspan] {
    position:static;
    grid-column:1 / -1;
    grid-row:auto;
    padding:12px;
  }
  .admin-balanced-information .admin-articles-table td[colspan]::before { display:none; }
}

@media(max-width:760px) {
  .admin-information-editor-page .compact-content-form,
  .admin-information-editor-page .compact-content-form .article-form-layout,
  .admin-information-editor-page .compact-content-form .article-form-main,
  .admin-information-editor-page .compact-content-form .article-form-side,
  .admin-information-editor-page .compact-content-form .media-upload-grid,
  .admin-information-editor-page .compact-content-form .article-form-panel {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .admin-information-editor-page .compact-content-form .article-form-layout,
  .admin-information-editor-page .compact-content-form .article-form-side,
  .admin-information-editor-page .compact-content-form .media-upload-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .admin-information-editor-page .compact-content-form .article-form-side {
    position:static;
    display:grid;
  }
  .admin-information-editor-page .compact-content-form .image-upload-box,
  .admin-information-editor-page .compact-content-form input,
  .admin-information-editor-page .compact-content-form select,
  .admin-information-editor-page .compact-content-form textarea {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .admin-information-editor-page .ck.ck-editor,
  .admin-information-editor-page .ck-editor__main,
  .admin-information-editor-page .ck.ck-toolbar {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .admin-information-editor-page .ck.ck-toolbar { flex-wrap:wrap; }
  .admin-information-editor-page .ck.ck-toolbar > .ck-toolbar__items {
    flex:1 1 0%;
    min-width:0;
    max-width:100%;
    flex-wrap:wrap !important;
  }
  .admin-information-editor-page .image-preview img { height:auto; max-height:240px; }
  .admin-information-editor-page .article-form-panel > p,
  .admin-information-editor-page .article-form-panel > label { overflow-wrap:anywhere; }
}

/* História — kompletná mobilná verzia */
@media(max-width:800px) {
  .admin-balanced-history .admin-table-wrap { width:100%; min-width:0; overflow:visible; }
  .admin-balanced-history .admin-articles-table,
  .admin-balanced-history .admin-articles-table tbody { display:block; width:100%; min-width:0; }
  .admin-balanced-history .admin-articles-table thead { display:none; }
  .admin-balanced-history .admin-articles-table tr {
    position:relative;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px 8px;
    margin:0 0 12px;
    padding:14px;
  }
  .admin-articles-panel.admin-balanced-history .admin-articles-table td {
    display:block;
    width:auto;
    min-width:0;
    padding:0;
    border:0;
    text-align:left;
    overflow-wrap:anywhere;
  }
  .admin-balanced-history .admin-articles-table td::before {
    display:block;
    width:auto;
    margin:0 0 7px;
    font-size:9px;
    letter-spacing:.03em;
  }
  .admin-balanced-history .admin-articles-table td:first-child {
    position:absolute;
    top:14px;
    right:14px;
  }
  .admin-balanced-history .admin-articles-table td:first-child::before,
  .admin-balanced-history .admin-articles-table td:nth-child(4)::before { display:none; }
  .admin-articles-panel.admin-balanced-history .admin-articles-table td:nth-child(4) {
    display:block;
    grid-column:1 / -1 !important;
    grid-row:1;
    width:100% !important;
    padding-right:54px;
    overflow-wrap:normal;
  }
  .admin-balanced-history .admin-articles-table td:nth-child(4) strong {
    display:block;
    width:100%;
    max-width:none;
    white-space:normal;
    overflow:visible;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
    line-height:1.4;
  }
  .admin-articles-panel.admin-balanced-history .admin-articles-table td:nth-child(2) {
    display:block;
    grid-column:1;
    grid-row:2;
  }
  .admin-articles-panel.admin-balanced-history .admin-articles-table td:nth-child(3) {
    display:block;
    grid-column:2;
    grid-row:2;
    width:auto;
    min-width:0;
  }
  .admin-articles-panel.admin-balanced-history .admin-articles-table td:nth-child(5) {
    display:block;
    grid-column:3;
    grid-row:2;
  }
  .admin-articles-panel.admin-balanced-history .admin-articles-table td:last-child {
    grid-column:1 / -1;
    grid-row:3;
    padding-top:12px;
    border-top:1px solid #eee;
  }
  .admin-balanced-history .compact-actions {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px;
  }
  .admin-balanced-history .compact-actions a {
    min-width:0;
    min-height:40px;
    height:auto;
    padding:8px;
    justify-content:center;
    white-space:normal;
  }
  .admin-articles-panel.admin-balanced-history .admin-articles-table td[colspan] {
    position:static;
    grid-column:1 / -1;
    grid-row:auto;
    padding:12px;
  }
  .admin-balanced-history .admin-articles-table td[colspan]::before { display:none; }
}

@media(max-width:760px) {
  .admin-history-editor-page .compact-history-form,
  .admin-history-editor-page .compact-history-form .article-form-layout,
  .admin-history-editor-page .compact-history-form .article-form-main,
  .admin-history-editor-page .compact-history-form .article-form-side,
  .admin-history-editor-page .compact-history-form .article-form-panel {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .admin-history-editor-page .compact-history-form .article-form-layout,
  .admin-history-editor-page .compact-history-form .article-form-side {
    grid-template-columns:minmax(0,1fr);
  }
  .admin-history-editor-page .compact-history-form .article-form-side {
    position:static;
    display:grid;
  }
  .admin-history-editor-page .compact-history-form .image-upload-box,
  .admin-history-editor-page .compact-history-form input,
  .admin-history-editor-page .compact-history-form select,
  .admin-history-editor-page .compact-history-form textarea {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .admin-history-editor-page .ck.ck-editor,
  .admin-history-editor-page .ck-editor__main,
  .admin-history-editor-page .ck.ck-toolbar {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .admin-history-editor-page .ck.ck-toolbar { flex-wrap:wrap; }
  .admin-history-editor-page .ck.ck-toolbar > .ck-toolbar__items {
    flex:1 1 0%;
    min-width:0;
    max-width:100%;
    flex-wrap:wrap !important;
  }
  .admin-history-editor-page .image-preview img { height:auto; max-height:240px; }
}

/* Galérie — kompletná mobilná verzia */
@media(max-width:800px) {
  .admin-balanced-gallery .admin-table-head { flex-direction:column; align-items:stretch; }
  .admin-articles-panel.admin-balanced-gallery .admin-search { width:100%; min-width:0; }
  .admin-balanced-gallery .admin-search input { width:100%; box-sizing:border-box; }
  .admin-balanced-gallery .admin-table-wrap { width:100%; min-width:0; overflow:visible; }
  .admin-balanced-gallery .admin-gallery-table,
  .admin-balanced-gallery .admin-gallery-table tbody { display:block; width:100%; min-width:0; }
  .admin-balanced-gallery .admin-gallery-table thead { display:none; }
  .admin-balanced-gallery .admin-gallery-table tr {
    position:relative;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 8px;
    margin:0 0 12px;
    padding:12px;
  }
  .admin-articles-panel.admin-balanced-gallery .admin-gallery-table td {
    display:block;
    width:auto;
    min-width:0;
    padding:0;
    border:0;
    text-align:left;
    overflow-wrap:anywhere;
  }
  .admin-balanced-gallery .admin-gallery-table td::before {
    display:block;
    width:auto;
    margin:0 0 7px;
    font-size:9px;
    letter-spacing:.03em;
  }
  .admin-balanced-gallery .admin-gallery-table td:first-child {
    position:absolute;
    z-index:2;
    top:20px;
    right:20px;
  }
  .admin-balanced-gallery .admin-gallery-table td:first-child::before,
  .admin-balanced-gallery .admin-gallery-table td:nth-child(2)::before,
  .admin-balanced-gallery .admin-gallery-table td:nth-child(3)::before { display:none; }
  .admin-balanced-gallery .admin-gallery-table td:nth-child(2) {
    grid-column:1 / -1;
    grid-row:1;
  }
  .admin-articles-panel.admin-balanced-gallery .admin-gallery-table .gallery-admin-thumb {
    width:100%;
    max-width:none;
    height:auto;
    aspect-ratio:16 / 9;
    box-sizing:border-box;
  }
  .admin-balanced-gallery .admin-gallery-table .gallery-admin-thumb img {
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .admin-balanced-gallery .admin-gallery-table td:nth-child(3) {
    grid-column:1 / -1;
    grid-row:2;
  }
  .admin-balanced-gallery .admin-gallery-table td:nth-child(3) strong {
    display:block;
    width:100%;
    max-width:none;
    white-space:normal;
    overflow:visible;
    overflow-wrap:normal;
    word-break:normal;
    line-height:1.4;
  }
  .admin-balanced-gallery .admin-gallery-table td:nth-child(4) { grid-column:1; grid-row:3; }
  .admin-balanced-gallery .admin-gallery-table td:nth-child(5) { grid-column:2; grid-row:3; }
  .admin-balanced-gallery .admin-gallery-table td:nth-child(6) { grid-column:1; grid-row:4; }
  .admin-balanced-gallery .admin-gallery-table td:nth-child(7) { grid-column:2; grid-row:4; }
  .admin-balanced-gallery .admin-gallery-table td:nth-child(8) { grid-column:1; grid-row:5; }
  .admin-articles-panel.admin-balanced-gallery .admin-gallery-table td:last-child {
    grid-column:1 / -1;
    grid-row:6;
    padding-top:12px;
    border-top:1px solid #eee;
  }
  .admin-balanced-gallery .admin-row-actions {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px;
  }
  .admin-balanced-gallery .admin-row-actions a {
    min-width:0;
    min-height:40px;
    height:auto;
    padding:8px;
    justify-content:center;
    white-space:normal;
  }
  .admin-balanced-gallery .admin-row-actions .delete { grid-column:1 / -1; }
  .admin-articles-panel.admin-balanced-gallery .admin-gallery-table td[colspan] {
    position:static;
    grid-column:1 / -1;
    grid-row:auto;
    padding:12px;
  }
  .admin-balanced-gallery .admin-gallery-table td[colspan]::before { display:none; }

  .admin-gallery-photos-page .admin-page-heading-row {
    display:grid;
    grid-template-columns:36px minmax(0,1fr);
    gap:12px;
  }
  .admin-gallery-photos-page .admin-page-heading-row .admin-add-btn {
    grid-column:1 / -1;
    justify-self:start;
  }
  .compact-gallery-photos-panel .gallery-admin-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
}

@media(max-width:760px) {
  .admin-gallery-editor-page .compact-gallery-form,
  .admin-gallery-editor-page .article-form-layout,
  .admin-gallery-editor-page .article-form-main,
  .admin-gallery-editor-page .article-form-side,
  .admin-gallery-editor-page .article-form-panel,
  .admin-gallery-editor-page .gallery-title-image-layout,
  .admin-gallery-editor-page .gallery-title-preview {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .admin-gallery-editor-page .article-form-layout,
  .admin-gallery-editor-page .article-form-side,
  .admin-gallery-editor-page .gallery-title-image-layout,
  .admin-gallery-editor-page .media-upload-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .admin-gallery-editor-page .article-form-side {
    position:static;
    display:grid;
  }
  .admin-gallery-editor-page input,
  .admin-gallery-editor-page select,
  .admin-gallery-editor-page textarea,
  .admin-gallery-editor-page .image-upload-box {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .admin-gallery-editor-page .gallery-title-upload { width:100%; margin-top:0; }
  .admin-gallery-editor-page .gallery-title-preview img {
    width:100%;
    height:auto;
    max-height:240px;
    object-fit:cover;
  }
}

@media(max-width:440px) {
  .compact-gallery-photos-panel .gallery-admin-grid { grid-template-columns:1fr; }
}

/* Galérie: pôvodná farebnosť akcií */
.admin-balanced-gallery .admin-row-actions .preview,
.admin-balanced-gallery .admin-row-actions a[href*="admin-galerie-edit"] {
  border-color:transparent !important;
  background:#f2f2f2 !important;
  color:#111 !important;
}
.admin-balanced-gallery .admin-row-actions .preview:hover,
.admin-balanced-gallery .admin-row-actions a[href*="admin-galerie-edit"]:hover {
  background:#111 !important;
  color:#fff !important;
}
.admin-balanced-gallery .admin-row-actions a[href*="admin-galerie-fotky"] {
  border-color:#111 !important;
  background:#111 !important;
  color:#fff !important;
}
.admin-balanced-gallery .admin-row-actions a[href*="admin-galerie-fotky"]:hover {
  border-color:#b70000 !important;
  background:#b70000 !important;
}
.admin-balanced-gallery .admin-row-actions .unpublish {
  border-color:transparent !important;
  background:#fff4dd !important;
  color:#9b6700 !important;
}
.admin-balanced-gallery .admin-row-actions .publish {
  border-color:transparent !important;
  background:#e9f7ef !important;
  color:#168447 !important;
}
.admin-balanced-gallery .admin-row-actions .delete {
  grid-column:span 2;
  border-color:transparent !important;
  background:#fff3f3 !important;
  color:#b70000 !important;
}
.admin-balanced-gallery .admin-row-actions .delete:hover {
  background:#b70000 !important;
  color:#fff !important;
}

/* Galérie: jednotný hover všetkých akčných tlačidiel */
.admin-balanced-gallery .admin-row-actions a:hover,
.admin-balanced-gallery .admin-row-actions .preview:hover,
.admin-balanced-gallery .admin-row-actions .publish:hover,
.admin-balanced-gallery .admin-row-actions .unpublish:hover,
.admin-balanced-gallery .admin-row-actions .delete:hover,
.admin-balanced-gallery .admin-row-actions a[href*="admin-galerie-fotky"]:hover,
.admin-balanced-gallery .admin-row-actions a[href*="admin-galerie-edit"]:hover {
  border-color:#b70000 !important;
  background:#b70000 !important;
  color:#fff !important;
}

/* KOMPAKTNÉ PRIDANIE ČLÁNKU */
.compact-article-form .article-form-layout {
  grid-template-columns:minmax(0,1fr) 320px;
  gap:16px;
}
.compact-article-form .article-form-main,
.compact-article-form .article-form-side { gap:14px; }
.compact-article-form .article-form-side { top:14px; }
.compact-article-form .article-form-panel { padding:20px; }
.compact-article-form .article-form-panel h3 {
  margin-bottom:14px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.02em;
}
.compact-article-form .form-group { margin-bottom:14px; }
.compact-article-form .form-group label {
  margin-bottom:6px;
  font-size:10px;
  letter-spacing:.08em;
}
.compact-article-form .form-group input,
.compact-article-form .form-group select {
  height:40px;
  padding:0 12px;
  font-size:13px;
}
.compact-article-form .form-group textarea {
  min-height:100px;
  padding:11px;
  font-size:13px;
  line-height:1.55;
}
.compact-article-form .form-group textarea#obsah { min-height:240px; }
.compact-article-form .media-upload-grid { gap:14px; }
.compact-article-form .image-upload-box {
  min-height:145px;
  padding:18px;
  border-width:1px;
}
.compact-article-form .image-upload-icon {
  width:42px;
  height:42px;
  margin-bottom:10px;
  font-size:16px;
}
.compact-article-form .image-upload-box strong { font-size:12px; }
.compact-article-form .image-upload-box small { margin-top:5px;font-size:10px; }
.compact-article-form .image-preview { margin-top:12px;max-height:240px; }
.compact-article-form .image-preview img { width:100%;height:240px;object-fit:cover; }
.compact-article-form .pdf-preview { margin-top:10px; }
.compact-article-form .readonly-category {
  min-height:40px;
  padding:0 12px;
  font-size:12px;
}
.compact-article-form .admin-table-note { font-size:10px;line-height:1.45; }
.compact-article-form .admin-save-btn { height:42px;font-size:11px; }
.compact-article-form .admin-cancel-btn { height:38px;margin-top:8px;font-size:10px; }
.compact-article-form .ck.ck-toolbar { padding:4px; }
.compact-article-form .ck.ck-button { min-height:28px;min-width:28px; }
.compact-article-form .ck-editor__editable_inline { min-height:130px; }
.compact-article-form #obsah+.ck-editor .ck-editor__editable_inline { min-height:230px; }

@media(max-width:1050px) {
  .compact-article-form .article-form-layout { grid-template-columns:1fr; }
  .compact-article-form .article-form-side { position:static;display:grid;grid-template-columns:1fr 280px; }
}
@media(max-width:700px) {
  .compact-article-form .article-form-side,
  .compact-article-form .media-upload-grid { grid-template-columns:1fr; }
  .compact-article-form .article-form-panel { padding:16px; }
}

/* Mobilné pridanie a editácia článku — bez rozťahovania editorom */
@media(max-width:760px) {
  .admin-article-editor-page .compact-article-form,
  .admin-article-editor-page .article-form-main,
  .admin-article-editor-page .article-form-side,
  .admin-article-editor-page .article-form-panel,
  .admin-article-editor-page .form-group,
  .admin-article-editor-page .media-upload-grid {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .admin-article-editor-page .compact-article-form .article-form-layout,
  .admin-article-editor-page .compact-article-form .article-form-side,
  .admin-article-editor-page .compact-article-form .media-upload-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .admin-article-editor-page .compact-article-form .article-form-panel { padding:16px; }
  .admin-article-editor-page .form-group input,
  .admin-article-editor-page .form-group select,
  .admin-article-editor-page .form-group textarea { min-width:0; max-width:100%; box-sizing:border-box; }
  .admin-article-editor-page .ck.ck-editor,
  .admin-article-editor-page .ck-editor__main,
  .admin-article-editor-page .ck.ck-toolbar { min-width:0; max-width:100%; box-sizing:border-box; }
  .admin-article-editor-page .ck.ck-toolbar { flex-wrap:wrap; }
  .admin-article-editor-page .ck.ck-toolbar > .ck-toolbar__items {
    flex-wrap:wrap !important;
    flex:1 1 0%;
    min-width:0;
    max-width:100%;
  }
  .admin-article-editor-page .ck-editor__editable_inline { overflow-wrap:anywhere; overflow-x:auto; }
  .admin-article-editor-page .image-upload-box { min-width:0; box-sizing:border-box; overflow-wrap:anywhere; }
  .admin-article-editor-page .current-file-box,
  .admin-article-editor-page .current-image-box { overflow-wrap:anywhere; }
  .admin-page.admin-article-editor-page .admin-page-heading-row {
    display:grid;
    grid-template-columns:36px minmax(0,1fr);
    gap:12px;
  }
  .admin-page.admin-article-editor-page .admin-page-heading-row h2 { white-space:normal; overflow:visible; }
  .admin-page.admin-article-editor-page .admin-page-heading-row > div::after {
    max-width:none;
    white-space:normal;
    line-height:1.4;
  }
  .admin-page.admin-article-editor-page .admin-page-heading-row .admin-add-btn {
    grid-column:1 / -1;
    justify-self:start;
    min-height:40px;
  }
}

/* KOMPAKTNÉ PRIDANIE OBRÁZKA DO SLIDERA */
.compact-slider-form .image-upload-box { min-height:180px; }
.compact-slider-form .slider-image-preview { max-height:320px; }
.compact-slider-form .slider-image-preview img {
  width:100%;
  height:320px;
  object-fit:cover;
}
.compact-slider-form .admin-switch-row {
  min-height:42px;
  padding:10px 0;
}
.compact-slider-form .admin-switch-row strong { font-size:11px; }

@media(max-width:700px) {
  .compact-slider-form .image-upload-box { min-height:145px; }
  .compact-slider-form .slider-image-preview,
  .compact-slider-form .slider-image-preview img { height:210px; }
}

/* KOMPAKTNÉ PRIDANIE A EDITÁCIA HRY */
.compact-show-form .show-form-note {
  margin:-3px 0 14px;
  font-size:10px;
  line-height:1.45;
}
.compact-show-form .show-edit-section { margin-top:18px; }
.compact-show-form .show-edit-section h4 {
  margin-bottom:10px;
  font-size:11px;
  letter-spacing:.07em;
}
.compact-show-form .show-edit-head,
.compact-show-form .show-edit-row { gap:7px; }
.compact-show-form .show-edit-head { margin-bottom:6px; }
.compact-show-form .show-edit-head span { font-size:9px; }
.compact-show-form .show-edit-row { margin-bottom:7px; }
.compact-show-form .show-edit-row input {
  min-height:38px;
  padding:0 10px;
  font-size:11px;
}
.compact-show-form .show-edit-row input[type="file"] {
  padding:7px;
  font-size:10px;
}
.compact-show-form .show-add-row-btn {
  min-height:36px;
  margin-top:4px;
  padding:0 14px;
  font-size:9px;
}
.compact-show-form .show-hero-upload-wrap { padding-top:20px; }
.compact-show-form .show-hero-image-layout-add .show-hero-upload-wrap { padding-top:0; }
.compact-show-form .show-related-list { gap:7px; }
.compact-show-form .show-related-grid h4 { margin-bottom:10px;font-size:11px; }

@media(max-width:800px) {
  .compact-show-form .show-edit-head { display:none; }
  .compact-show-form .show-edit-row-actors,
  .compact-show-form .show-edit-row-actors-upload,
  .compact-show-form .show-edit-row-team { grid-template-columns:1fr; }
  .compact-show-form .show-edit-row {
    padding:10px;
    border:1px solid #e5e5e5;
    background:#fafafa;
  }
}

/* KOMPAKTNÉ PRIDANIE A EDITÁCIA TERMÍNU */
.compact-program-form .program-override-layout { gap:14px; }
.compact-program-form .program-override-box {
  padding:15px;
  background:#fafafa;
}
.compact-program-form .program-override-box h4 {
  margin-bottom:12px;
  font-size:11px;
  letter-spacing:.07em;
}
.compact-program-form input[type="file"] {
  min-height:40px;
  padding:8px;
  font-size:10px;
}
.compact-program-form .admin-table-note {
  margin-top:5px;
  font-size:9px;
  line-height:1.4;
}

@media(max-width:700px) {
  .compact-program-form .program-override-layout { grid-template-columns:1fr; }
  .compact-program-form .program-override-box { padding:12px; }
}

/* KOMPAKTNÉ INFORMAČNÉ BLOKY - PRIDANIE A EDITÁCIA */
.compact-content-form .media-upload-grid { align-items:start; }
.compact-content-form .media-upload-grid .article-form-panel { height:auto; }
.compact-content-form .form-group[style] { margin-top:12px !important; }
.compact-content-form .ck-editor__editable_inline { min-height:260px; }
.compact-content-form .pdf-preview { margin-top:10px; }
.compact-content-form .image-preview { max-height:260px; }
.compact-content-form .image-preview img {
  width:100%;
  height:260px;
  object-fit:cover;
}

@media(max-width:700px) {
  .compact-content-form .ck-editor__editable_inline { min-height:210px; }
}

/* KOMPAKTNÁ EDITÁCIA ČLÁNKU */
.compact-article-edit-form .current-file-box,
.compact-article-edit-form .current-image-box {
  margin-bottom:12px;
  padding:10px 12px;
  font-size:11px;
}
.compact-article-edit-form .image-preview.show { margin-top:12px; }

/* KOMPAKTNÁ HISTÓRIA - PRIDANIE A EDITÁCIA */
.compact-history-form .ck-editor__editable_inline { min-height:260px; }
.compact-history-form .image-preview { max-height:260px; }
.compact-history-form .image-preview img {
  width:100%;
  height:260px;
  object-fit:cover;
}

/* KOMPAKTNÁ GALÉRIA - PRIDANIE A EDITÁCIA */
.compact-gallery-form .gallery-title-image-layout {
  grid-template-columns:minmax(0,1fr) 300px;
  gap:14px;
}
.compact-gallery-form .gallery-title-preview > strong {
  margin-bottom:10px;
  font-size:10px;
  letter-spacing:.07em;
}
.compact-gallery-form .gallery-title-preview img { height:220px; }
.compact-gallery-form .gallery-title-upload {
  min-height:220px;
  height:220px;
  margin-top:26px;
}
.compact-gallery-form .gallery-title-preview-empty { min-height:220px; }
.compact-gallery-form .gallery-title-preview-empty i {
  width:42px;
  height:42px;
  font-size:16px;
}

@media(max-width:800px) {
  .compact-gallery-form .gallery-title-image-layout { grid-template-columns:1fr; }
  .compact-gallery-form .gallery-title-upload {
    min-height:200px;
    height:200px;
    margin-top:0;
  }
  .compact-gallery-form .gallery-title-preview-empty { min-height:200px; }
}

@media(max-width:700px) {
  .compact-history-form .ck-editor__editable_inline { min-height:210px; }
  .compact-gallery-form .gallery-title-preview img,
  .compact-gallery-form .gallery-title-upload {
    min-height:190px;
    height:190px;
  }
  .compact-gallery-form .gallery-title-preview-empty { min-height:190px; }
}

/* KOMPAKTNÁ SPRÁVA FOTIEK GALÉRIE */
.compact-gallery-photos-page .admin-page-heading { margin-bottom:18px; }
.compact-gallery-photos-page .admin-alert { margin-bottom:14px; }
.compact-gallery-photos-layout {
  grid-template-columns:290px minmax(0,1fr);
  gap:16px;
}
.compact-gallery-upload-panel,
.compact-gallery-photos-panel { padding:18px; }
.compact-gallery-upload-panel h3,
.compact-gallery-photos-panel h3 { margin-bottom:6px; }
.compact-gallery-upload-panel .image-upload-box {
  min-height:180px;
  padding:20px 16px;
}
.compact-gallery-upload-panel .image-upload-icon {
  width:42px;
  height:42px;
  font-size:16px;
}
.compact-gallery-upload-panel .image-upload-box strong { font-size:11px; }
.compact-gallery-upload-panel .image-upload-box small {
  max-width:230px;
  font-size:9px;
  line-height:1.45;
}
.compact-gallery-upload-panel .gallery-upload-submit {
  min-height:40px;
  margin-top:12px;
}
.compact-gallery-photos-panel .admin-table-head {
  margin-bottom:14px;
  gap:14px;
}
.compact-gallery-photos-panel .admin-table-subtitle {
  margin-top:4px;
  font-size:10px;
}
.compact-gallery-photos-panel .gallery-photo-count { white-space:nowrap; }
.compact-gallery-photos-panel .gallery-admin-grid {
  grid-template-columns:repeat(auto-fill,minmax(155px,1fr));
  gap:12px;
}
.compact-gallery-photos-panel .gallery-admin-photo-actions { padding:7px; }
.compact-gallery-photos-panel .gallery-admin-photo-actions span {
  width:28px;
  height:28px;
  font-size:10px;
}
.compact-gallery-photos-panel .gallery-admin-photo-actions a {
  height:28px;
  padding:0 10px;
  font-size:9px;
}
.compact-gallery-photos-panel .gallery-admin-empty { min-height:150px; }

@media(max-width:900px) {
  .compact-gallery-photos-layout { grid-template-columns:250px minmax(0,1fr); }
}

@media(max-width:800px) {
  .compact-gallery-photos-layout { grid-template-columns:1fr; }
  .compact-gallery-upload-panel .image-upload-box { min-height:150px; }
}

@media(max-width:560px) {
  .compact-gallery-upload-panel,
  .compact-gallery-photos-panel { padding:14px; }
  .compact-gallery-photos-panel .gallery-admin-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
}

/* Login: stabilná veľkosť poľa pri zobrazení hesla */
.admin-login-form .password-box input,
.admin-login-form .password-box input[type="text"],
.admin-login-form .password-box input[type="password"] {
  display:block;
  width:100%;
  height:50px;
  margin:0;
  padding:0 52px 0 15px;
  box-sizing:border-box;
}
.admin-login-form .password-toggle {
  top:0;
  right:0;
  width:50px;
  height:50px;
  padding:0;
  transform:none;
  border:0;
  background:transparent;
}
.admin-login-form .password-toggle i {
  display:inline-flex;
  width:20px;
  height:20px;
  align-items:center;
  justify-content:center;
}
.admin-login-form .password-box input.password-visible {
  -webkit-text-security:none;
}

/* ŠIRŠIE PRIHLASOVANIE */
body.admin-login-page { overflow-y:scroll; }
.admin-login .admin-login-card {
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  column-gap:46px;
  align-items:center;
  width:100%;
  max-width:760px;
  min-height:390px;
  padding:46px 50px 28px;
  box-sizing:border-box;
}
.admin-login-card .admin-login-brand {
  align-self:center;
  margin:0;
  padding-right:38px;
  border-right:1px solid #e2e2e2;
}
.admin-login-card .admin-login-brand strong {
  font-size:34px;
  line-height:1.08;
}
.admin-login-card .admin-login-brand p {
  margin:25px 0 0;
  color:#858585;
  font-size:12px;
  font-weight:400;
  line-height:1.65;
  letter-spacing:0;
  text-transform:none;
}
.admin-login-card .admin-login-form {
  width:100%;
  min-width:0;
}
.admin-login-card .admin-login-back {
  grid-column:1 / -1;
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #ededed;
}
.admin-login-form .password-box { height:50px; }
.admin-login-form .password-box input,
.admin-login-form .password-box input[type="text"],
.admin-login-form .password-box input[type="password"] {
  position:absolute;
  inset:0;
  font-family:inherit;
  line-height:normal;
}

@media(max-width:760px) {
  .admin-login .admin-login-card {
    display:block;
    max-width:500px;
    min-height:0;
    padding:34px 30px 26px;
  }
  .admin-login-card .admin-login-brand {
    margin-bottom:28px;
    padding:0 0 24px;
    border-right:0;
    border-bottom:1px solid #e2e2e2;
  }
  .admin-login-card .admin-login-brand p { margin-top:15px; }
  .admin-login-card .admin-login-back { margin-top:22px; }
}

/* Denná návštevnosť – porovnanie období */
.analytics-dashboard .analytics-trend-card { padding:24px; }
.analytics-dashboard .analytics-trend-card .analytics-card-head { margin-bottom:16px; align-items:center; }
.analytics-dashboard .analytics-trend-card h4 { margin:0; color:#193349; font-size:20px; font-weight:500; line-height:1.35; }
.analytics-trend-subtitle { margin:6px 0 0; color:#7b8da3; font-size:14px; line-height:1.5; }
.analytics-trend-badge { display:flex; align-items:center; gap:9px; flex-shrink:0; padding:8px 12px; background:#fbf0f2; border-radius:4px; color:#cb2038; font-size:13px; }
.analytics-trend-badge i,.trend-dot { display:inline-block; width:9px; height:9px; flex-shrink:0; border-radius:50%; background:#cb2038; }
.analytics-trend-card .analytics-chart { height:300px; }
.analytics-trend-card .analytics-chart[aria-busy="true"] { opacity:.45; }
.analytics-trend-card svg text { fill:#7b8da3; font-family:inherit; font-size:12px; }
.analytics-trend-card svg .trend-grid line { stroke:#e5eaf0; stroke-width:1; }
.analytics-trend-card svg .trend-area { fill:#cb2038; fill-opacity:.09; stroke:none; }
.analytics-trend-card svg .trend-current { fill:none; stroke:#cf2039; stroke-width:2.3; stroke-linejoin:round; }
.analytics-trend-card svg .trend-previous { fill:none; stroke:#8ba1b8; stroke-width:2; stroke-dasharray:6 6; stroke-linecap:butt; }
.analytics-trend-card svg .trend-single.trend-current { fill:#cf2039; }
.analytics-trend-card svg .trend-single.trend-previous { fill:#8ba1b8; }
.analytics-trend-card svg .trend-hit { fill:transparent; }
.analytics-trend-card svg .trend-hit:hover { fill:#193349; fill-opacity:.04; }
.analytics-trend-footer[hidden] { display:none; }
.trend-legend { display:flex; align-items:center; flex-wrap:wrap; gap:9px 18px; margin-top:12px; color:#75889f; font-size:12px; line-height:1.6; }
.trend-legend > span { display:flex; align-items:center; gap:8px; }
.trend-dash { display:inline-block; width:24px; flex-shrink:0; border-top:2px dashed #8ba1b8; }
.trend-note { margin:8px 0 14px; color:#75889f; font-size:12px; line-height:1.6; }
.analytics-trend-footer details { border-top:1px solid #e5eaf0; }
.analytics-trend-footer summary { padding:13px 0 0; color:#75889f; cursor:pointer; font-size:13px; }
.analytics-trend-footer summary:hover { color:#cb2038; }
.analytics-trend-footer summary:focus-visible { outline:2px solid #cb2038; outline-offset:4px; }
.trend-table-scroll { overflow-x:auto; max-height:320px; margin-top:12px; }
.analytics-trend-footer table { width:100%; border-collapse:collapse; font-size:12px; color:#52677c; white-space:nowrap; }
.analytics-trend-footer caption { text-align:left; padding:8px 0; font-weight:600; }
.analytics-trend-footer th,.analytics-trend-footer td { padding:10px 12px; border-bottom:1px solid #e5eaf0; text-align:left; }
.analytics-trend-footer th { background:#f6f8fa; font-weight:600; }
.analytics-trend-footer td:nth-child(even),.analytics-trend-footer th:nth-child(even) { text-align:right; }
@media (max-width:600px) {
    .analytics-dashboard .analytics-trend-card { padding:16px 12px; }
    .analytics-dashboard .analytics-trend-card .analytics-card-head { align-items:flex-start; gap:12px; flex-direction:column; }
    .analytics-dashboard .analytics-trend-card h4 { font-size:18px; }
    .analytics-trend-subtitle { font-size:12px; }
    .analytics-trend-badge { padding:6px 10px; font-size:12px; }
}

/* Všetky zaznamenané typy zariadení. */
.analytics-dashboard .analytics-device-grid { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; }
.analytics-dashboard .analytics-device-grid > div { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:16px 8px; }
.analytics-dashboard .analytics-device-grid span { overflow:visible; white-space:normal; overflow-wrap:anywhere; line-height:1.4; }
.analytics-dashboard .analytics-device-grid small { margin-top:6px; color:#7d868b; font-size:9px; }
.analytics-dashboard .analytics-device-grid > p { grid-column:1 / -1; }
@media (max-width:420px) {
  .analytics-dashboard .analytics-device-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Prihlásenie – zákulisie festivalu */
body.admin-login-page { margin:0; min-height:100vh; background:radial-gradient(ellipse at 12% 10%,#4b111155,transparent 55%),radial-gradient(ellipse at 90% 100%,#32111155,transparent 50%),#101112; color:#eee; }
.admin-login-page .admin-login { min-height:100vh; min-height:100dvh; padding:40px 24px; }
.admin-login-page .admin-login-card { position:relative; overflow:hidden; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:0; max-width:920px; min-height:540px; padding:0; border:1px solid #ffffff18; border-radius:12px; background:#1b1d1f; box-shadow:0 32px 100px #0006; }
.admin-login-page .admin-login-brand { align-self:stretch; display:flex; flex-direction:column; justify-content:center; margin:0; padding:48px 40px; border:0; border-right:1px solid #ffffff0d; background:radial-gradient(ellipse at 0 0,#6a171750,transparent 75%),linear-gradient(150deg,#25191a,#151618); }
.admin-login-page .login-festival-logo { display:block; align-self:flex-start; margin-bottom:54px; }
.admin-login-page .login-festival-logo img { display:block; width:164px; height:auto; }
.admin-login-page .admin-login-brand .login-eyebrow { margin-bottom:14px; color:#c99999; font-size:10px; font-weight:500; letter-spacing:.18em; }
.admin-login-page .admin-login-brand strong { color:#f5f5f5; font-size:34px; font-weight:300; letter-spacing:-.04em; text-transform:none; }
.admin-login-page .admin-login-brand small { margin-top:16px; color:#aaa; font-size:12px; font-weight:300; letter-spacing:.25em; }
.admin-login-page .admin-login-brand small em { color:#ee5555; font-style:normal; }
.admin-login-page .admin-login-brand p { max-width:250px; margin-top:24px; color:#a5a1a1; font-size:12px; line-height:1.8; }
.admin-login-page .admin-login-form { padding:44px 38px 34px; box-sizing:border-box; }
.admin-login-page .login-form-heading { margin-bottom:28px; }
.admin-login-page .login-form-heading > span { color:#aaa; font-size:10px; letter-spacing:.14em; text-transform:uppercase; }
.admin-login-page .login-form-heading h1 { margin:8px 0; color:#fff; font-size:28px; font-weight:400; letter-spacing:-.03em; line-height:1.2; }
.admin-login-page .login-form-heading p { margin:0; color:#94989b; font-size:12px; line-height:1.6; }
.admin-login-page .admin-login-form label { color:#d4d5d6; font-size:10px; font-weight:500; letter-spacing:.08em; }
.admin-login-page .admin-login-form input[type="text"],
.admin-login-page .admin-login-form .password-box input { background:#141618; border:1px solid #36383b; border-radius:4px; color:#fff; font-size:14px; }
.admin-login-page .admin-login-form input::placeholder { color:#7f8488; opacity:1; }
.admin-login-page .admin-login-form input[type="text"]:focus,
.admin-login-page .admin-login-form .password-box input:focus { border-color:#cf3636; box-shadow:0 0 0 3px #b700001c; background:#17191b; }
.admin-login-page .admin-login-check { color:#aeb0b2 !important; font-size:11px !important; }
.admin-login-page .admin-login-check input { width:15px; height:15px; }
.admin-login-page .admin-login-row { flex-wrap:wrap; gap:12px; margin:22px 0; }
.admin-login-page .admin-login-row a { color:#aeb0b2; font-size:11px; }
.admin-login-page .admin-login-row a:hover { color:#fff; }
.admin-login-page .password-toggle { color:#a4a8ab; }
.admin-login-page .password-toggle:hover { color:#fff; }
.admin-login-page .admin-login-form button[type="submit"] { border:1px solid #d12727; border-radius:4px; background:#b70000; box-shadow:0 6px 20px #b700001a; font-size:12px; font-weight:600; letter-spacing:.08em; }
.admin-login-page .admin-login-form button[type="submit"]:hover { background:#d00000; }
.admin-login-page .admin-login-back { margin:0; padding:19px 24px; border-top:1px solid #ffffff12; background:#141517; color:#9c9fa1; font-size:11px; }
.admin-login-page .admin-login-back:hover { color:#fff; }
.admin-login-page a:focus-visible, .admin-login-page button:focus-visible { outline:2px solid #ed5555; outline-offset:4px; }
@media(max-width:760px) {
  .admin-login-page .admin-login { padding:24px 16px; }
  .admin-login-page .admin-login-card { display:block; max-width:460px; min-height:0; padding:0; }
  .admin-login-page .admin-login-brand { padding:28px; margin:0; border-right:0; border-bottom:1px solid #ffffff12; }
  .admin-login-page .login-festival-logo { margin-bottom:26px; }
  .admin-login-page .login-festival-logo img { width:140px; }
  .admin-login-page .admin-login-brand strong { font-size:29px; }
  .admin-login-page .admin-login-brand p { display:none; }
  .admin-login-page .admin-login-form { padding:28px; }
  .admin-login-page .admin-login-row { flex-direction:row; align-items:center; justify-content:space-between; }
  .admin-login-page .admin-login-back { margin:0; }
}


/* Pokojná grafitová prihlasovacia časť bez spodného pásu. */
.admin-login-page .admin-login-form { align-self:stretch; display:flex; flex-direction:column; justify-content:center; padding:52px 46px 36px; background:#252628; }
.admin-login-page .login-form-heading { margin-bottom:34px; }
.admin-login-page .login-form-heading h1 { margin:0 0 10px; color:#f3f0ed; font-size:27px; font-weight:300; letter-spacing:-.035em; }
.admin-login-page .login-form-heading p { color:#aaa7a4; font-size:12px; }
.admin-login-page .admin-login-form label { margin-bottom:24px; color:#c6c3c0; font-size:12px; letter-spacing:0; text-transform:none; font-weight:400; }
.admin-login-page .admin-login-form input[type="text"],
.admin-login-page .admin-login-form .password-box input { background:#303133; border:1px solid transparent; border-bottom-color:#656366; border-radius:4px 4px 0 0; color:#fff; box-shadow:none; font-size:16px; }
.admin-login-page .admin-login-form input[type="text"]:focus,
.admin-login-page .admin-login-form .password-box input:focus { background:#353638; border-color:transparent; border-bottom-color:#ed6464; box-shadow:0 1px 0 #ed6464; }
.admin-login-page .admin-login-check { color:#b2aeab !important; }
.admin-login-page .admin-login-row { margin:0 0 28px; }
.admin-login-page .admin-login-row a { color:#b2aeab; }
.admin-login-page .admin-login-row a:hover { color:#fff; }
.admin-login-page .password-toggle { color:#b2aeab; }
.admin-login-page .password-toggle:hover { color:#fff; }
.admin-login-page .admin-login-form button[type="submit"] { height:48px; border:1px solid #b31b1b; border-radius:4px; background:#ad1010; box-shadow:none; font-size:12px; font-weight:600; letter-spacing:.025em; text-transform:none; }
.admin-login-page .admin-login-form button[type="submit"]:hover { background:#c31313; }
.admin-login-page .admin-login-form .admin-login-back { align-self:center; margin:22px 0 0; padding:8px 12px; border:0; background:none; color:#a7a39f; font-size:11px; }
.admin-login-page .admin-login-form .admin-login-back:hover { color:#fff; }
@media(max-width:760px) {
  .admin-login-page .admin-login-form { padding:32px 28px 24px; }
}

/* Dve samostatné karty vedľa grafu návštevnosti. */
.analytics-side-stack { display:grid; gap:12px; align-content:start; min-width:0; }
.analytics-side-stack .analytics-summary-list>div { min-height:40px; }
.analytics-city-list { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.analytics-city-list li>div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.analytics-city-list span { color:#727b80; font-size:12px; overflow-wrap:anywhere; }
.analytics-city-list strong { color:#202426; font-size:14px; font-weight:650; white-space:nowrap; }
.analytics-city-bar { height:3px; background:#eef0f1; margin-top:6px; border-radius:3px; overflow:hidden; }
.analytics-city-bar i { display:block; height:100%; background:#c00; border-radius:3px; }
.analytics-cities-card #analyticsCities>p, .analytics-city-note { color:#727b80; font-size:11px; line-height:1.6; }
.analytics-cities-card .analytics-city-note { margin:16px 0 0; font-size:10px; }

/* Stav Matomo ostáva viditeľný aj na mobile. */
.dashboard-analytics-actions .analytics-status { display:inline-flex; }
