/* =========================================================
   ZÁKLADNÍ NASTAVENÍ STRÁNKY
   ========================================================= */

body {
    background-color: rgb(20, 20, 20);
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
}


/* =========================================================
   HEADER – HORNÍ LIŠTA
   ========================================================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    border-bottom: 2px solid #333;
}


/* Logo / název webu */
.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo img {
    display: block;
    height: 40px;
    width: auto;
    transform: scale(3.5) translate(0px, -13px);
    transform-origin: left center;
    filter: brightness(0) invert(1);
}


/* Navigace */
nav {
    position: relative;
    display: flex;
    gap: 30px;
    right: 23px;
}


/* Odkazy v navigaci */
nav a {
    color: white;
    text-decoration: none;
}


/* =========================================================
   HLAVNÍ OBSAH
   ========================================================= */

/* Základní nastavení obsahu uvnitř <main> */
main {
    text-align: center;
    padding: 150px 20px;
}


/* Výchozí velikost hlavního nadpisu */
h1 {
    font-size: 60px;
}


/* Výchozí vzhled odstavců */
p {
    font-size: 20px;
    color: #aaa;
}


/* =========================================================
   TLAČÍTKO
   ========================================================= */

/* Odkaz stylizovaný jako tlačítko */
.button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
}


/* =========================================================
   HERO – ÚVODNÍ SEKCE
   ========================================================= */

.hero {
    min-height: 700px;

    /* Obrázek na pozadí */
    background-image: url("/static/images/hero.jpg");

    /* Obrázek vyplní celou sekci */
    background-size: cover;

    /* Zarovnání obrázku na střed */
    background-position: center;

    /* Zarovnání obsahu hero sekce */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Text uprostřed */
    text-align: center;
}


/* Kontejner obsahu hero sekce */
.hero-content {
    max-width: 800px;
}


/* Hlavní nadpis v hero sekci */
.hero h1 {
    font-size: 80px;
    margin: 0;
}


/* Popis v hero sekci */
.hero p {
    font-size: 24px;
    color: white;
}


/* =========================================================
   LATEST VIDEOS – SEKCE S VIDEI
   ========================================================= */

/* Celý blok s nejnovějšími videi */
.latest-videos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}


/* Nadpis "LATEST VIDEOS" */
.latest-videos h2 {
    font-size: 36px;
    margin-bottom: 40px;
}


/* Mřížka videí */
.video-grid {
    display: grid;

    /* Tři stejně široké sloupce */
    grid-template-columns: repeat(3, 1fr);

    /* Mezera mezi kartami */
    gap: 30px;
}


/* Jedna karta videa */
.video-card {
    background-color: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 20px;
}


/* Dočasný náhled videa */
.video-placeholder {
    height: 200px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}


/* Název videa */
.video-card h3 {
    font-size: 24px;
    margin: 20px 20px 10px;
}


/* Popis videa */
.video-card p {
    font-size: 16px;
    margin: 0 20px;
}


/* =========================================================
   OSTATNÍ STRÁNKY
   ========================================================= */

/* Hlavní kontejner například pro /videos nebo /about */
.page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 40px;
}


/* Nadpis na ostatních stránkách */
.page h1 {
    font-size: 60px;
}


/* =========================================================
   FOOTER – SPODNÍ ČÁST STRÁNKY
   ========================================================= */

footer {
    border-top: 1px solid #333;
    padding: 30px 40px;
    text-align: center;
    color: #777;
}


/* Text ve footeru */
footer p {
    font-size: 14px;
}

/* =========================================================
   STRÁNKA LANOVKY
   ========================================================= */

.lift-page {
    padding: 0;
    max-width: none;
    text-align: left;
}


/* =========================================================
   LEVÝ SEZNAM LANOVEK + HLAVNÍ OBSAH
   ========================================================= */

.lift-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: calc(100vh - 100px);
}


/* Levý panel */
.lift-sidebar {
    background-color: #171717;
    border-right: 1px solid #333;
    padding: 30px 20px;
}


.lift-sidebar h2 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #aaa;
}


.lift-sidebar a {
    display: block;
    padding: 12px 14px;
    margin-bottom: 6px;
    color: #ccc;
    text-decoration: none;
    border-radius: 6px;
}


.lift-sidebar a:hover {
    background-color: #292929;
    color: white;
}


.lift-sidebar a.active {
    background-color: #333;
    color: white;
    font-weight: bold;
}


/* =========================================================
   HLAVNÍ ČÁST
   ========================================================= */

.lift-content {
    padding: 30px;
    min-width: 0;
}


/* =========================================================
   HLAVNÍ FOTKA
   ========================================================= */

.lift-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 10px;
    background-color: #222;
}


.lift-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Spodní tmavý gradient */
.lift-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0) 45%
    );
    pointer-events: none;
}


/* Text přes fotku */
.lift-hero-title {
    position: absolute;
    left: 30px;
    bottom: 24px;
    z-index: 1;
}


.lift-hero-title h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
}


.lift-hero-title p {
    margin: 8px 0 0;
    color: #ddd;
    font-size: 18px;
}


/* =========================================================
   TECHNICKÉ ÚDAJE + GALERIE
   ========================================================= */

.lift-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    margin-top: 30px;
}


/* Technické informace */
.lift-technical {
    background-color: #171717;
    border-radius: 10px;
    padding: 25px;
}


.lift-technical h2,
.lift-gallery h2 {
    margin-top: 0;
    font-size: 24px;
}


/* =========================================================
   GALERIE
   ========================================================= */

.lift-gallery {
    background-color: #171717;
    border-radius: 10px;
    padding: 20px;
}


.lift-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}


.lift-gallery-grid a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background-color: #222;
}


.lift-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.lift-gallery-grid img:hover {
    opacity: 0.8;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 900px) {

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

    .lift-sidebar {
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .lift-bottom-grid {
        grid-template-columns: 1fr;
    }

    .lift-content {
        padding: 20px;
    }

    .lift-hero-title h1 {
        font-size: 36px;
    }
}

/* =========================================================
   STRÁNKA AREÁLU
   ========================================================= */

.resort-page {
    padding: 0;
    max-width: none;
    text-align: left;
}


/* =========================================================
   LEVÝ PANEL + HLAVNÍ OBSAH
   ========================================================= */

.resort-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: calc(100vh - 100px);
}


.resort-sidebar {
    background-color: #171717;
    border-right: 1px solid #333;
    padding: 30px 20px;
}


.resort-sidebar h2 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #aaa;
}


.resort-sidebar a {
    display: block;
    padding: 12px 14px;
    margin-bottom: 6px;
    color: #ccc;
    text-decoration: none;
    border-radius: 6px;
}


.resort-sidebar a:hover {
    background-color: #292929;
    color: white;
}


.resort-sidebar a.active {
    background-color: #333;
    color: white;
    font-weight: bold;
}


/* =========================================================
   HLAVNÍ ČÁST
   ========================================================= */

.resort-content {
    padding: 30px;
    min-width: 0;
}


/* =========================================================
   HLAVNÍ FOTKA
   ========================================================= */

.resort-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 10px;
    background-color: #222;
}


.resort-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.resort-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0) 50%
    );
    pointer-events: none;
}


.resort-hero-title {
    position: absolute;
    left: 30px;
    bottom: 24px;
    z-index: 1;
}


.resort-hero-title h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
}


.resort-hero-title p {
    margin: 8px 0 0;
    color: #ddd;
    font-size: 18px;
}


/* =========================================================
   SEZNAM LANOVEK
   ========================================================= */

.resort-lifts {
    margin-top: 30px;
}


.resort-lifts > h2 {
    font-size: 24px;
    margin: 0 0 20px;
}


.resort-lift-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* =========================================================
   KARTA LANOVKY
   ========================================================= */

.resort-lift-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);

    height: 140px;

    background-color: #171717;
    border-radius: 10px;
    overflow: hidden;

    color: white;
    text-decoration: none;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease;
}


.resort-lift-card:hover {
    background-color: #202020;
    transform: translateY(-2px);
}


/* =========================================================
   FOTKA V KARTĚ
   ========================================================= */

.resort-lift-card-image {
    height: 100%;
    overflow: hidden;
    background-color: #222;
}

.resort-lift-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =========================================================
   INFORMACE V KARTĚ
   ========================================================= */

.resort-lift-card-info {
    padding: 10px 20px;
}


.resort-lift-card-info h3 {
    margin: 0 0 10px;
    font-size: 22px;
}


.resort-lift-card-info p {
    margin: 4px 0;
    font-size: 15px;
    color: #aaa;
}


.resort-lift-card-info strong {
    color: white;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 900px) {

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

    .resort-sidebar {
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .resort-content {
        padding: 20px;
    }

    .resort-lift-card {
        grid-template-columns: 1fr;
    }

    .resort-lift-card-info h3 {
        font-size: 24px;
    }

    .resort-hero-title h1 {
        font-size: 36px;
    }
}


/* =========================================================
   SKUPINY PODLE POHOŘÍ
   ========================================================= */

.mountain-group {
    margin-top: 40px;
    padding: 25px;

    background-color: #171717;
    border: 1px solid #333;
    border-radius: 10px;
}


.mountain-group h2 {
    margin: 0 0 20px;
    font-size: 28px;
}


/* =========================================================
   KARTY STÁTŮ
   ========================================================= */

.country-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}


.country-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);

    height: 140px;

    background-color: #171717;
    border-radius: 10px;
    overflow: hidden;

    color: white;
    text-decoration: none;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease;
}


.country-card:hover {
    background-color: #202020;
    transform: translateY(-2px);
}


.country-card-flag {
    height: 100%;
    overflow: hidden;
    background-color: #222;

    display: flex;
    align-items: center;
    justify-content: center;
}


.country-card-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.country-card-info {
    padding: 10px 20px;
}


.country-card-info h3 {
    margin: 0 0 10px;
    font-size: 22px;
}


.country-card-info p {
    margin: 4px 0;
    font-size: 15px;
    color: #aaa;
}


.country-card-info strong {
    color: white;
}




/* =========================================================
   TECHNICKÁ DATA LANOVKY
   ========================================================= */

.lift-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 30px;
    margin-top: 10px;
}


.lift-data-grid > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 10px 0;
    border-bottom: 1px solid #292929;
}


.lift-data-grid span {
    color: #888;
}


.lift-data-grid strong {
    color: white;
    text-align: right;
}


.lift-location-data p {
    margin: 8px 0;
}


@media (max-width: 700px) {

    .lift-data-grid {
        grid-template-columns: 1fr;
    }

}




/* =========================================================
   NADPIS TECHNICKÝCH ÚDAJŮ + STATUS
   ========================================================= */

.technical-data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


.technical-data-header h2 {
    margin: 0;
}


.lift-status {
    color: #aaa;
    font-size: 15px;
    text-transform: uppercase;
}




/* =========================================================
   STATUS LANOVKY
   ========================================================= */

.lift-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;

    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;

    background-color: #333;
    color: white;
}


/* Operating - green */
.status-operating {
    background-color: #2e8b57;
    color: white;
}


/* Winter season - blue */
.status-winter {
    background-color: #2f6fdb;
    color: white;
}


/* Closed - red */
.status-closed {
    background-color: #c0392b;
    color: white;
}


/* Removed - black */
.status-removed {
    background-color: #000;
    color: white;
    border: 1px solid #555;
}


/* Planned - orange */
.status-planned {
    background-color: #e67e22;
    color: white;
}


/* Replaced - white */
.status-replaced {
    background-color: white;
    color: black;
}



/* =========================================================
   SKRYTÁ LANOVKA – ADMIN
   ========================================================= */

.resort-lift-card-hidden {
    background-color: #2a1f1f;
    border: 1px dashed #777;
}

.resort-lift-card-hidden:hover {
    background-color: #352525;
}

.hidden-lift-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 8px;

    background-color: #c0392b;
    color: white;

    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}



/* =========================================================
   ADMIN – FORMULÁŘ LANOVKY
   ========================================================= */

.admin-lift-page {
    max-width: 1200px;
    padding: 60px 40px;
    text-align: left;
}


.admin-lift-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-bottom: 30px;
}


.admin-lift-header h1 {
    margin: 0;
}


.admin-subtitle {
    margin: 8px 0 0;
    font-size: 16px;
    color: #777;
}


/* =========================================================
   SEKCE FORMULÁŘE
   ========================================================= */

.admin-form-section {
    margin-bottom: 25px;
    padding: 25px;

    background-color: #171717;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
}


.admin-form-section h2 {
    margin: 0 0 20px;
    font-size: 22px;
}


.admin-section-note {
    margin: -10px 0 20px;
    font-size: 14px;
    color: #777;
}


/* =========================================================
   GRID POLÍ
   ========================================================= */

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 25px;
}


.admin-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.admin-form-field-wide {
    grid-column: 1 / -1;
}


.admin-form-field label {
    font-size: 14px;
    font-weight: bold;
    color: #ddd;
}


.admin-form-field input,
.admin-form-field select {
    width: 100%;
    box-sizing: border-box;

    padding: 11px 12px;

    background-color: #222;
    color: white;

    border: 1px solid #444;
    border-radius: 6px;

    font-size: 15px;
}


.admin-form-field input:focus,
.admin-form-field select:focus {
    outline: none;
    border-color: #777;
}


.admin-form-field small {
    color: #777;
    font-size: 12px;
}


/* =========================================================
   CHECKBOXY
   ========================================================= */

.admin-checkbox-field {
    align-items: flex-start;
    justify-content: center;
}


.admin-checkbox-field input[type="checkbox"] {
    width: auto;
    margin: 0;
}


.admin-checkbox-field label {
    display: inline;
}


/* =========================================================
   SAVE BUTTON
   ========================================================= */

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;

    margin: 30px 0;
}


.admin-save-button {
    padding: 13px 28px;

    background-color: white;
    color: black;

    border: none;
    border-radius: 6px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
}

.admin-view-button {
    display: inline-block;

    padding: 13px 28px;

    background-color: #333;
    color: white;

    border: 1px solid #555;
    border-radius: 6px;

    text-decoration: none;

    font-size: 15px;
    font-weight: bold;
}


.admin-view-button:hover {
    background-color: #444;
}

.admin-save-button:hover {
    background-color: #ddd;
}


/* =========================================================
   EXISTING PHOTOS
   ========================================================= */

.admin-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}


.admin-photo-card {
    overflow: hidden;

    background-color: #222;
    border: 1px solid #333;
    border-radius: 8px;
}


.admin-photo-card > img {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}


.admin-photo-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 12px;
}


.admin-photo-card button {
    width: 100%;
    padding: 8px;

    border: none;
    border-radius: 5px;

    background-color: #333;
    color: white;

    cursor: pointer;
}


.admin-photo-card button:hover {
    background-color: #444;
}


.admin-main-badge {
    font-size: 11px;
    font-weight: bold;
    color: #69c77c;
}


.admin-photo-label {
    font-size: 11px;
    font-weight: bold;
    color: #777;
}


.admin-danger-button {
    background-color: #4a2424 !important;
}


.admin-danger-button:hover {
    background-color: #653030 !important;
}


/* =========================================================
   DELETE LIFT
   ========================================================= */

.admin-danger-zone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;

    margin-top: 40px;
    padding: 25px;

    background-color: #1c1414;
    border: 1px solid #542828;
    border-radius: 10px;
}


.admin-danger-zone h2 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #e57373;
}


.admin-danger-zone p {
    margin: 0;
    font-size: 14px;
    color: #999;
}


.admin-delete-lift-button {
    flex-shrink: 0;

    padding: 12px 22px;

    background-color: #b52b2b;
    color: white;

    border: none;
    border-radius: 6px;

    font-weight: bold;
    cursor: pointer;
}


.admin-delete-lift-button:hover {
    background-color: #d13a3a;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 800px) {

    .admin-lift-page {
        padding: 40px 20px;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-field-wide {
        grid-column: auto;
    }

    .admin-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-danger-zone {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-delete-lift-button {
        width: 100%;
    }

}


/* =========================================================
   ADMIN TLAČÍTKA NA VEŘEJNÝCH STRÁNKÁCH
   ========================================================= */

.lift-admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}


.resort-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-bottom: 20px;
}


.resort-section-header h2 {
    margin: 0;
}


.admin-page-button {
    display: inline-block;

    padding: 9px 16px;

    background-color: #333;
    color: white;

    border: 1px solid #555;
    border-radius: 6px;

    text-decoration: none;

    font-size: 13px;
    font-weight: bold;
}


.admin-page-button:hover {
    background-color: #444;
}


/* =========================================================
   COUNTRY PAGE
   ========================================================= */

.country-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-bottom: 30px;
}

.country-page-header h1 {
    margin: 0;
}


/* =========================================================
   RESORT ADMIN BUTTON
   ========================================================= */

.resort-admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}


/* =========================================================
   ADMIN – RESORT FORM
   ========================================================= */

.admin-resort-page {
    max-width: 1000px;
    padding: 60px 40px;
    text-align: left;
}


.admin-resort-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-bottom: 30px;
}


.admin-resort-header h1 {
    margin: 0;
}


.admin-resort-current-photo {
    width: 400px;
    max-width: 100%;
    margin-bottom: 20px;
}


.admin-resort-current-photo img {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 7;

    object-fit: cover;

    border-radius: 8px;
}


.admin-resort-current-photo span {
    display: block;

    margin-top: 8px;

    color: #777;
    font-size: 12px;
    font-weight: bold;
}


/* =========================================================
   DELETE / INFO
   ========================================================= */

.admin-info-zone {
    display: flex;
    flex-direction: column;
    gap: 6px;

    margin-top: 40px;
    padding: 20px;

    background-color: #171717;
    border: 1px solid #333;
    border-radius: 10px;

    color: #aaa;
}


.admin-info-zone strong {
    color: white;
}


@media (max-width: 800px) {

    .country-page-header,
    .admin-resort-header {
        align-items: flex-start;
        flex-direction: column;
    }

}


.lift-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #777;
}

.lift-breadcrumb a {
    color: #aaa;
    text-decoration: none;
}

.lift-breadcrumb a:hover {
    color: white;
}

.lift-breadcrumb strong {
    color: white;
    font-weight: normal;
}

.lift-breadcrumb span {
    color: #555;
}


.resort-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #777;
}

.resort-breadcrumb a {
    color: #aaa;
    text-decoration: none;
}

.resort-breadcrumb a:hover {
    color: white;
}

.resort-breadcrumb strong {
    color: white;
    font-weight: normal;
}

.resort-breadcrumb span {
    color: #555;
}



.admin-users-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: left;
}

.admin-users-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.admin-users-header h1 {
    margin: 0;
}

.admin-users-header p {
    margin: 8px 0 0;
    color: #888;
}

.admin-users-section {
    background: #171717;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    overflow: hidden;
}

.admin-users-table {
    width: 100%;
}

.admin-users-row {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 100px 110px 300px;
    gap: 20px;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #292929;
}

.admin-users-row:last-child {
    border-bottom: none;
}

.admin-users-header-row {
    background: #202020;
    color: #aaa;
    font-size: 13px;
    text-transform: uppercase;
}

.admin-user-email {
    color: #aaa;
    word-break: break-word;
}

.admin-user-role,
.admin-user-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.admin-user-role {
    background: #333;
    color: #bbb;
}

.admin-user-role-admin {
    background: #555;
    color: white;
}

.admin-user-status-active {
    background: #214d35;
    color: #8ee0ad;
}

.admin-user-status-blocked {
    background: #542828;
    color: #ff9b9b;
}

.admin-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-user-actions form {
    margin: 0;
}

.admin-user-button {
    padding: 8px 12px;
    background: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.admin-user-button:hover {
    background: #444;
}

.admin-user-button-danger {
    background: #7a2929;
    border-color: #914040;
}

.admin-user-button-danger:hover {
    background: #963535;
}

.admin-user-you {
    color: #777;
    font-size: 12px;
    font-weight: bold;
}


.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: left;
}

.admin-dashboard-header {
    margin-bottom: 40px;
}

.admin-dashboard-header h1 {
    margin: 0;
}

.admin-dashboard-header p {
    margin: 8px 0 0;
    color: #888;
}

.admin-stat-section {
    margin-bottom: 35px;
}

.admin-stat-section h2,
.admin-section h2 {
    margin: 0 0 15px;
    font-size: 18px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.admin-stat-grid-small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-stat-card {
    min-height: 120px;
    box-sizing: border-box;
    padding: 22px;
    background: #171717;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-stat-card span {
    font-size: 12px;
    font-weight: bold;
    color: #777;
}

.admin-stat-card strong {
    font-size: 38px;
    line-height: 1;
    color: white;
}

.admin-stat-card-online {
    border-color: #315b41;
}

.admin-section {
    margin-top: 10px;
}

.admin-management-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 25px;
    background: #171717;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: background-color .15s ease, transform .15s ease;
}

.admin-management-card:hover {
    background: #202020;
    transform: translateY(-2px);
}

.admin-management-card h3 {
    margin: 0 0 7px;
    font-size: 17px;
}

.admin-management-card p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.admin-management-arrow {
    font-size: 28px;
    color: #777;
}


.admin-user-button-delete {
    background: #7a1f1f;
    border-color: #a33a3a;
}

.admin-user-button-delete:hover {
    background: #a52b2b;
}


.header-search {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}
nav {
    position: relative;
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

.search-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.search-form {
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: width .2s ease, opacity .15s ease;
}

.search-form-open {
    width: 220px;
    opacity: 1;
}

.search-form input {
    width: 220px;
    box-sizing: border-box;
    padding: 7px 10px;
    background: #222;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    outline: none;
    font-size: 14px;
}

.search-form input:focus {
    border-color: #777;
}




.search-page {
    max-width: 1000px;
    text-align: left;
}

.search-page-header {
    margin-bottom: 35px;
}

.search-page-header h1 {
    margin: 0;
}

.search-page-header p {
    margin: 8px 0 0;
    color: #888;
}

.search-page-header strong {
    color: white;
}

.search-results-section h2 {
    margin: 0 0 15px;
    font-size: 18px;
}

.search-no-results {
    padding: 35px;
    background: #171717;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    text-align: center;
}

.search-no-results h2 {
    margin: 0 0 8px;
}

.search-no-results p {
    margin: 0;
    color: #888;
}


.search-results-section + .search-results-section {
    margin-top: 15px;
}


.search-page-header {
    margin-bottom: 35px;
}

.search-page-form {
    display: flex;
    width: 100%;
    margin-top: 20px;
}

.search-page-form input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    background: #222;
    color: white;
    border: 1px solid #444;
    border-right: none;
    border-radius: 7px 0 0 7px;
    outline: none;
    font-size: 15px;
    box-sizing: border-box;
}

.search-page-form input:focus {
    border-color: #777;
}

.search-page-form button {
    width: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #333;
    color: white;
    border: 1px solid #444;
    border-radius: 0 7px 7px 0;
    cursor: pointer;
}

.search-page-form button:hover {
    background: #444;
}

.search-page-form svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.search-query-label {
    margin: 12px 0 0;
    color: #888;
}

.search-query-label strong {
    color: white;
}



.admin-photo-caption-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}

.admin-photo-caption-form label {
    font-size: 12px;
    color: #888;
    font-weight: bold;
}

.admin-photo-caption-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    background: #222;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 13px;
}

.admin-photo-caption-form input:focus {
    outline: none;
    border-color: #777;
}

.admin-photo-caption-button {
    align-self: flex-start;
    padding: 7px 10px;
    background: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.admin-photo-caption-button:hover {
    background: #444;
}



.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
}

.photo-lightbox-open {
    display: flex;
}

.photo-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.photo-lightbox-content img {
    display: block;
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
}

.photo-lightbox-caption {
    margin-top: 15px;
    max-width: 850px;
    text-align: center;
    color: white;
    font-size: 15px;
}

.photo-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: none;
    background: transparent;
    color: white;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.photo-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 70px;
    border: none;
    background: transparent;
    color: white;
    font-size: 55px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
}

.photo-lightbox-arrow:hover,
.photo-lightbox-close:hover {
    opacity: 1;
}

.photo-lightbox-prev {
    left: 20px;
}

.photo-lightbox-next {
    right: 20px;
}



.admin-photo-main-badge {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 8px;
    background: #555;
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.admin-photo-caption {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
}

.admin-photo-caption label {
    font-size: 12px;
    color: #888;
    font-weight: bold;
}

.admin-photo-caption input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    background: #222;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 13px;
}

.admin-photo-caption input:focus {
    outline: none;
    border-color: #777;
}

.admin-photo-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.admin-photo-actions form {
    margin: 0;
}

.admin-photo-delete-button {
    background: #7a1f1f !important;
    border-color: #a33a3a !important;
    color: white !important;
}

.admin-photo-delete-button:hover {
    background: #a52b2b !important;
}

.header-menu {
    position: absolute;
    left: calc(100% + 20px);
    top: 50%;
    transform: translateY(-50%);
}

.header-menu-button {
    width: 28px;
    height: 28px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.header-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

.header-menu-dropdown {
    position: absolute;
    top: 38px;
    right: 0;
    z-index: 100;
    width: 190px;
    padding: 8px;
    background: #171717;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: none;
}

.header-menu-dropdown-open {
    display: block;
}

.header-menu-title {
    padding: 8px 12px;
    color: #777;
    font-size: 11px;
    font-weight: bold;
}

.header-menu-dropdown a {
    display: block;
    padding: 10px 12px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    border-radius: 5px;
}

.header-menu-dropdown a:hover {
    background: #252525;
    color: white;
}


.account-settings-page {
    max-width: 700px;
}

.account-settings-page h1 {
    margin-bottom: 30px;
}

.header-menu-divider {
    height: 1px;
    margin: 6px 0;
    background: #333;
}


.country-page {
    text-align: left;
}

.country-page .resort-lift-card-info {
    text-align: left;
}

.country-page {
    text-align: left;
}

.country-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #777;
}

.country-breadcrumb a {
    color: #aaa;
    text-decoration: none;
}

.country-breadcrumb a:hover {
    color: white;
}

.country-breadcrumb strong {
    color: white;
    font-weight: normal;
}

.country-breadcrumb span {
    color: #555;
}

/* Mountain range container */
.country-page .mountain-group {
    background: #151515;
    border: 1px solid #303030;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

/* Resort cards */
.country-page .resort-lift-card {
    background: #242424 !important;
    border: 1px solid #3a3a3a;
}

.country-page .resort-lift-card:hover {
    background: #2d2d2d !important;
}

.country-page .resort-lift-card-info {
    text-align: left;
}

.database-page {
    text-align: left;
}

.database-breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: white;
}

.database-breadcrumb strong {
    font-weight: normal;
}


.admin-form-field textarea {
    width: 100%;
    min-height: 220px;
    box-sizing: border-box;
    resize: vertical;
    padding: 12px;
    background: #222;
    color: white;
    border: 1px solid #444;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.admin-form-field textarea:focus {
    outline: none;
    border-color: #777;
}


.lift-description-toggle {
    padding: 0;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
    text-align: left;
}

.lift-description-toggle:hover {
    text-decoration: underline;
}

.lift-description {
    display: none;
    margin: 25px 0 35px;
    padding: 25px;
    background: #171717;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    color: #ccc;
    font-size: 16px;
    line-height: 1.7;
}

.lift-description.open {
    display: block;
}

.lift-description p {
    margin: 0 0 1em;
}

.lift-description p:last-child {
    margin-bottom: 0;
}


/* =========================
   LIFT DESCRIPTION MODAL
   ========================= */

.lift-description-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;

    background: rgba(0, 0, 0, 0.85);

    align-items: center;
    justify-content: center;

    padding: 30px;
    box-sizing: border-box;
}

.lift-description-modal.open {
    display: flex;
}

.lift-description-modal-content {
    position: relative;

    width: 100%;
    max-width: 900px;
    max-height: 85vh;

    overflow-y: auto;

    background: #161616;
    color: white;

    border: 1px solid #333;
    border-radius: 10px;

    padding: 40px 50px;
    box-sizing: border-box;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lift-description-modal-content h2 {
    margin: 0 0 25px 0;
    font-size: 28px;
}

.lift-description-modal-text {
    font-size: 16px;
    line-height: 1.7;
    white-space: pre-line;
    color: #ddd;
}

.lift-description-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;

    width: 40px;
    height: 40px;

    border: none;
    background: transparent;

    color: #aaa;
    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}

.lift-description-modal-close:hover {
    color: white;
}

/* TITLE BUTTON */

.lift-description-toggle {
    appearance: none;
    border: none;
    padding: 0;
    margin: 0;

    background: transparent;
    color: inherit;

    font: inherit;
    font-size: inherit;
    font-weight: inherit;

    cursor: pointer;
}

.lift-description-toggle:hover {
    text-decoration: underline;
}

# Articles

class Article(db.Model):
    __tablename__ = "articles"

    id = db.Column(db.Integer, primary_key=True)

    title = db.Column(
        db.String(200),
        nullable=False
    )

    slug = db.Column(
        db.String(200),
        nullable=False,
        unique=True
    )

    content = db.Column(
        db.Text,
        nullable=False
    )

    is_published = db.Column(
        db.Boolean,
        nullable=False,
        default=False,
        server_default="0"
    )

    created_at = db.Column(
        db.DateTime,
        nullable=False,
        default=datetime.utcnow
    )


    /* =========================================================
   ARTICLES
   ========================================================= */

.articles-page {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.articles-header {
    margin-bottom: 40px;
}

.articles-header h1 {
    margin: 0;
}

.articles-header p {
    margin: 8px 0 0;
    color: #888;
}


.articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.articles-empty {
    padding: 40px;

    background: #171717;
    border: 1px solid #2d2d2d;
    border-radius: 10px;

    text-align: center;
}

.articles-empty h2 {
    margin: 0 0 8px;
}

.articles-empty p {
    margin: 0;
    color: #888;
}


/* =========================================================
   SINGLE ARTICLE
   ========================================================= */

.article-page {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}


.article-header {
    margin-bottom: 45px;
}


.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 25px;

    font-size: 14px;
    color: #777;
}

.article-breadcrumb a {
    color: #aaa;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    color: white;
}

.article-breadcrumb strong {
    color: white;
    font-weight: normal;
}

.article-breadcrumb span {
    color: #555;
}


.article-header h1 {
    margin: 0;
    font-size: 52px;
    line-height: 1.1;
}


.article-date {
    margin: 12px 0 0;
    color: #777;
    font-size: 14px;
}


.article-content {
    color: #ddd;
    font-size: 18px;
    line-height: 1.8;

    white-space: pre-line;
}


@media (max-width: 700px) {

    .article-card-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .article-header h1 {
        font-size: 40px;
    }

    .article-content {
        font-size: 16px;
    }

}



/* =========================================================
   ARTICLE EDITOR – QUILL
   ========================================================= */

#articleEditor {
    min-height: 500px;
    background: #222;
    color: white;
}

#articleEditor .ql-editor {
    min-height: 500px;
    color: #ddd;
    font-size: 16px;
    line-height: 1.7;
}

#articleEditor .ql-editor.ql-blank::before {
    color: #777;
    font-style: normal;
}

#articleEditor .ql-toolbar {
    background: #171717;
    border: 1px solid #444;
    color: white;
}

#articleEditor .ql-container {
    border: 1px solid #444;
    border-top: none;
    font-family: inherit;
}

#articleEditor .ql-stroke {
    stroke: #ccc;
}

#articleEditor .ql-fill {
    fill: #ccc;
}

#articleEditor .ql-picker {
    color: #ccc;
}

#articleEditor .ql-picker-options {
    background: #222;
    border-color: #444;
}

#articleEditor .ql-picker-item {
    color: #ccc;
}

#articleEditor button:hover .ql-stroke,
#articleEditor .ql-picker-label:hover,
#articleEditor .ql-picker-item:hover {
    color: white;
}

#articleEditor .ql-editor h1,
#articleEditor .ql-editor h2,
#articleEditor .ql-editor h3 {
    color: white;
}

#articleEditor .ql-editor a {
    color: #7db7ff;
}



/* =========================================================
   ARTICLE PAGE
   ========================================================= */

.article-page {
    padding: 0;
    max-width: none;
    text-align: left;
}


.article-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: calc(100vh - 100px);
}


.article-sidebar {
    background-color: #171717;
    border-right: 1px solid #333;
    padding: 30px 20px;
}


.article-sidebar h2 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #aaa;
}


.article-sidebar a {
    display: block;
    padding: 12px 14px;
    margin-bottom: 6px;

    color: #ccc;
    text-decoration: none;

    border-radius: 6px;
}


.article-sidebar a:hover {
    background-color: #292929;
    color: white;
}


.article-sidebar a.active {
    background-color: #333;
    color: white;
    font-weight: bold;
}


.article-content-area {
    padding: 30px;
    min-width: 0;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    font-size: 14px;
    color: #777;
}


.article-breadcrumb a {
    color: #aaa;
    text-decoration: none;
}


.article-breadcrumb a:hover {
    color: white;
}


.article-breadcrumb strong {
    color: white;
    font-weight: normal;
}


.article-breadcrumb span {
    color: #555;
}


/* =========================================================
   ARTICLE HERO
   ========================================================= */

.article-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;

    overflow: hidden;
    border-radius: 10px;
    background-color: #222;

    margin-bottom: 35px;
}


.article-hero > a {
    display: block;
    width: 100%;
    height: 100%;
}


.article-hero img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}


.article-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0) 55%
    );

    pointer-events: none;
}


.article-hero-title {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 24px;

    z-index: 1;
}


.article-hero-title h1 {
    margin: 0;

    color: white;
    font-size: 48px;
    line-height: 1.1;
}


.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 10px;

    color: #ddd;
    font-size: 15px;
}


/* =========================================================
   ARTICLE TEXT
   ========================================================= */

.article-content {
    max-width: 900px;

    margin: 0 auto 50px;

    color: #ddd;
    font-size: 18px;
    line-height: 1.8;
}


.article-content p {
    margin: 0 0 1.2em;
    color: #ddd;
    font-size: inherit;
    line-height: inherit;
}


.article-content h1,
.article-content h2,
.article-content h3 {
    color: white;
    line-height: 1.25;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}


.article-content a {
    color: #7db7ff;
}


.article-content img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   ARTICLE GALLERY
   ========================================================= */

.article-gallery {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px;

    background-color: #171717;
    border-radius: 10px;
}


.article-gallery h2 {
    margin-top: 0;
    font-size: 24px;
}


.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}


.article-gallery-grid a {
    display: block;

    aspect-ratio: 4 / 3;
    overflow: hidden;

    border-radius: 6px;
    background-color: #222;
}


.article-gallery-grid img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: opacity 0.15s ease;
}


.article-gallery-grid img:hover {
    opacity: 0.8;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 900px) {

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

    .article-sidebar {
        border-right: none;
        border-bottom: 1px solid #333;
        padding: 20px;
    }

    .article-content-area {
        padding: 20px;
    }

    .article-hero-title h1 {
        font-size: 36px;
    }

    .article-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .article-hero-title {
        left: 20px;
        right: 20px;
        bottom: 18px;
    }

    .article-hero-title h1 {
        font-size: 30px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-gallery {
        padding: 15px;
    }

    .article-gallery-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   ARTICLE CARDS
   Stejný styl jako resort-lift-card
   ========================================================= */

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.article-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);

    height: 140px;

    background-color: #171717;
    border-radius: 10px;
    overflow: hidden;

    color: white;
    text-decoration: none;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease;
}


.article-card:hover {
    background-color: #202020;
    transform: translateY(-2px);
}


.article-card-image {
    height: 100%;
    overflow: hidden;
    background-color: #222;
}


.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.article-card-info {
    padding: 10px 20px;
}


.article-card-info h3 {
    margin: 0 0 10px;
    font-size: 22px;
}


.article-card-info p {
    margin: 4px 0;
    font-size: 15px;
    color: #aaa;
}


.article-card-info strong {
    color: white;
}


@media (max-width: 900px) {

    .article-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .article-card-image {
        aspect-ratio: 16 / 7;
    }

    .article-card-info h3 {
        font-size: 24px;
    }

}


/* =========================================================
   NEPUBLISHED ARTICLE – ADMIN
   Stejný styl jako skrytá lanovka
   ========================================================= */

.article-card-hidden {
    background-color: #2a1f1f;
    border: 1px dashed #777;
}

.article-card-hidden:hover {
    background-color: #352525;
}

.hidden-article-badge {
    display: inline-block;

    margin-bottom: 8px;
    padding: 4px 8px;

    background-color: #c0392b;
    color: white;

    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}