
.text[b-t4nq8thil1] {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: var(--News_body_text_color);
}

    .text a[b-t4nq8thil1] {
        text-decoration: none;
        color: var(--News_text_a_text_color);
    }

.subtitle[b-t4nq8thil1], .title[b-t4nq8thil1] {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.subtitle[b-t4nq8thil1] {
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--News_subtitle_text_color);
}

.title[b-t4nq8thil1] {
    font-size: 1.4rem;
    color: var(--News_title_text_color);
    letter-spacing: 6px;
    line-height: 1.43;
}

.subtitle[b-t4nq8thil1], .title[b-t4nq8thil1], .text[b-t4nq8thil1] {
    text-shadow: 0 1px 0 rgba(255,255,255,0.18), 0 2px 12px rgba(15, 23, 42, 0.16);
}

/* =========================
   NEWS / CAROUSEL
   ========================= */
.news-image-container[b-t4nq8thil1] {
    position: relative;
    grid-column: 1 / 4;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 12rem;
    background: transparent;
}

.edit-btn:hover[b-t4nq8thil1] {
    background: rgba(255,255,255,1);
}

.edit-btn[b-t4nq8thil1] {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: background .2s ease;
    z-index: 5;
}

    .edit-btn svg[b-t4nq8thil1] {
        width: 16px;
        height: 16px;
        fill: var(--News_edit_btn_svg);
    }

    .edit-btn:hover svg[b-t4nq8thil1] {
        fill: var(--News_edit_btn_svg_hover);
    }

/*.news {*/
    /* variables */
    /*--nav-size: 48px;*/ /* arrow size */
    /*--arrow-gap: 12px;*/ /* gap between arrow and image */
    /*--media-w: 100%;*/ /* width of img on mobile */
    /* others */
    /*background: rgba(255, 255, 255, 0.7);
    width: 90%;
    backdrop-filter: blur(2px);
}*/

.news[b-t4nq8thil1] {
    /* variables */
    --nav-size: 48px;
    --arrow-gap: 12px;
    --media-w: 100%;
    --news-content-min-height: 30rem;
    position: relative;
    overflow: hidden;
    width: 90%;
    border-radius: 24px;
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.14) );
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

    .news[b-t4nq8thil1]::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: inherit;
        background: linear-gradient( 180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.16) 18%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.00) 60% );
    }

.news-content[b-t4nq8thil1] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: var(--news-content-min-height);
    width: min(100%, 72rem);
    justify-content: flex-start;
    margin: 20px auto 0;
    padding: 20px 18px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 12px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.news-measurements[b-t4nq8thil1] {
    /* Keep measurement nodes out of view while preserving layout metrics for JS height calculation. */
    position: absolute;
    left: -99999px;
    top: 0;
    width: 100%;
    pointer-events: none;
    visibility: hidden;
}

.news-content--measure[b-t4nq8thil1] {
    /* Measurement cards must size to real content, not to the shared min-height variable. */
    min-height: auto;
    height: auto;
    margin: 20px auto 0;
}

/* Wrapper for picture + arrows: 3 columns [‹] [image] [›] */
.news-media[b-t4nq8thil1] {
    display: grid;
    grid-template-columns: var(--nav-size) 1fr var(--nav-size);
    align-items: center; /* vertically centered by hight of picture */
    column-gap: var(--arrow-gap);
    width: var(--media-w);
    max-width: 100%;
    margin: 0 auto;
}
/* Image */
.news_1[b-t4nq8thil1] {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
/* Arrows */
.news-nav[b-t4nq8thil1] {
    width: var(--nav-size);
    height: var(--nav-size);
    padding: 0;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    border: 1px solid var(--News_nav_border_color);
    border-radius: 9999px;
    background: var(--News_nav_background_color);
    backdrop-filter: blur(6px);
    color: var(--News_nav_text_color);
    box-shadow: 0 8px 24px var(--News_nav_shadow_color);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
    outline: none;
    margin-top: 20px;
}

    .news-nav.prev[b-t4nq8thil1] {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
    }

    .news-nav.next[b-t4nq8thil1] {
        grid-column: 3;
        grid-row: 2;
        justify-self: start;
    }

    .news-nav svg[b-t4nq8thil1] {
        width: 22px;
        height: 22px;
        pointer-events: none;
    }

    .news-nav:hover[b-t4nq8thil1] {
        background: rgba(255,255,255,0.8);
        box-shadow: 0 10px 28px rgba(0,0,0,0.22);
        transform: scale(1.06);
    }

    .news-nav:active[b-t4nq8thil1] {
        transform: scale(0.98);
    }

    .news-nav:focus-visible[b-t4nq8thil1] {
        box-shadow: 0 0 0 3px rgba(59,130,246,0.45), 0 8px 24px rgba(0,0,0,0.18);
    }

    .news-nav:disabled[b-t4nq8thil1] {
        opacity: .4;
        cursor: not-allowed;
        box-shadow: none;
    }
/* Dots indicator */
.news-dots[b-t4nq8thil1] {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: auto; /* auto eats rest of place (to bottom) */
    margin-bottom: 20px;
    align-items: center;
}

.news-dot[b-t4nq8thil1] {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
}

    .news-dot[b-t4nq8thil1]::before {
        content: "";
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--News_dot_before_color);
    }

    .news-dot.active[b-t4nq8thil1]::before {
        background: var(--News_dot_before_color_active);
    }
/* =========================
   NEWS EDITOR - MODAL
   ========================= */

.modal-backdrop[b-t4nq8thil1] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-t4nq8thil1] {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .modal input[b-t4nq8thil1], .modal textarea[b-t4nq8thil1] {
        width: 100%;
        padding: 6px;
        border: 1px solid var(--News_modal_input_textarea_border_color);
        border-radius: 6px;
    }

.modal-actions[b-t4nq8thil1] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn[b-t4nq8thil1] {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: var(--News_button_background_color);
    color: var(--News_button_text_color);
    cursor: pointer;
}

.preview-frame[b-t4nq8thil1] {
    width: min(100%, 200px);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    border: 1px solid var(--News_preview_image_border_color);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.02);
}

.preview-img[b-t4nq8thil1] {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}
/* =========================
   ADD BTN
   ========================= */
.add-btn[b-t4nq8thil1] {
    position: absolute;
    top: 8px;
    right: 48px;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: background .2s ease;
}

    .add-btn:hover[b-t4nq8thil1] {
        background: rgba(255,255,255,1);
    }

    .add-btn svg[b-t4nq8thil1] {
        width: 16px;
        height: 16px;
    }
/* =========================
   REORDER BTN
   ========================= */
/* === Reorder buttons (move earlier / later) === */
.reorder-btn[b-t4nq8thil1] {
    position: absolute;
    top: 8px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background .2s ease, box-shadow .2s ease, transform .1s ease;
    color: var(--News_reorder_button_text_color);
    z-index: 5;
}

    .reorder-btn:hover[b-t4nq8thil1] {
        background: var(--News_reorder_btn_hover_background_color);
        box-shadow: 0 4px 10px var(--News_reorder_btn_hover_shadow_color);
        transform: translateY(-1px);
    }

    .reorder-btn:active[b-t4nq8thil1] {
        transform: translateY(0);
    }

    .reorder-btn:disabled[b-t4nq8thil1] {
        opacity: .45;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

    .reorder-btn svg[b-t4nq8thil1] {
        width: 16px;
        height: 16px;
        pointer-events: none;
    }
    /* umístění – levý horní roh a „druhé“ tlačítko vpravo vedle tužky */
    .reorder-btn.move-left[b-t4nq8thil1] {
        left: 8px;
    }

    .reorder-btn.move-right[b-t4nq8thil1] {
        right: 88px;
    }
/* =========================
   BUSY OVERLAY
   ========================= */
/* === Busy overlay === */
.busy-overlay[b-t4nq8thil1] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    touch-action: none;
}

.busy-card[b-t4nq8thil1] {
    background: var(--News_busy_card_background_color);
    color: var(--News_busy_card_text_color);
    padding: 16px 20px;
    border-radius: 12px;
    min-width: 220px;
    max-width: 90vw;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.busy-spinner[b-t4nq8thil1] {
    width: 32px;
    height: 32px;
    border: 3px solid var(--News_busy_spinner_border_color);
    border-top-color: var(--News_busy_spinner_border_top_color);
    border-radius: 50%;
    animation: busy-spin-b-t4nq8thil1 .8s linear infinite;
}

@keyframes busy-spin-b-t4nq8thil1 {
    to {
        transform: rotate(360deg);
    }
}

.busy-progress[b-t4nq8thil1] {
    width: 100%;
    height: 6px;
    background: var(--News_busy_progress_background_color);
    border-radius: 999px;
    overflow: hidden;
}

.busy-progress-bar[b-t4nq8thil1] {
    height: 100%;
    background: var(--News_busy_progress_bar_background_color);
    transition: width .15s ease;
}
/* =========================
   MEDIA
   ========================= */
@media (min-width: 480px) {
    .news[b-t4nq8thil1] {
        --news-content-min-height: 36rem;
    }

    .subtitle[b-t4nq8thil1] {
        font-size: 1.1rem;
    }

    .title[b-t4nq8thil1] {
        font-size: 2rem;
    }

    .text[b-t4nq8thil1] {
        font-size: 1.1rem !important;
    }
    .news-content[b-t4nq8thil1] {
        padding: 22px 22px 28px;
    }
}

@media (min-width: 768px) {
    .news[b-t4nq8thil1] {
        --nav-size: 56px;
        --arrow-gap: 12px;
        --media-w: 80%;
        --news-content-min-height: 26rem;
    }

    .title[b-t4nq8thil1] {
        font-size: 2.2rem;
    }

    .text[b-t4nq8thil1] {
        font-size: 1.10rem !important;
    }

    .news-image-container[b-t4nq8thil1] {
        grid-column: 2;
    }

    .news-nav.prev[b-t4nq8thil1] {
        grid-row: 1;
    }

    .news-nav.next[b-t4nq8thil1] {
        grid-row: 1;
    }
    .news-content[b-t4nq8thil1] {
        padding: 24px 28px 28px;
    }
}

@media (min-width: 1024px) {
    .news[b-t4nq8thil1] {
        --nav-size: 64px;
        --arrow-gap: 16px;
        --media-w: 60%;
        --news-content-min-height: 32rem;
    }

    .text[b-t4nq8thil1] {
        font-size: 1.2rem !important;
        width: 60%;
    }

    .title[b-t4nq8thil1] {
        margin: 20px auto 0px auto;
        width: 80%;
    }
    .news-content[b-t4nq8thil1] {
        padding: 28px 36px 32px;
    }
}

@media (min-width: 1280px) {
    .title[b-t4nq8thil1] {
        width: 60%;
    }
}

@media (min-width: 1440px) {
    .news[b-t4nq8thil1] {
        --arrow-gap: 20px;
        --news-content-min-height: 26rem;
    }
    /* move arrows inside */
    .news-media[b-t4nq8thil1] {
        width: 1160px;
    }

    .text[b-t4nq8thil1], .title[b-t4nq8thil1] {
        max-width: 980px;
    }
}

@media (hover:hover) {
    .news-nav[b-t4nq8thil1] {
        opacity: .9;
    }

    .news:hover .news-nav[b-t4nq8thil1] {
        opacity: 1;
    }
}
