/* ============================================================
   ZÁKLADNÍ RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #ffffff;
    font-family: "Times New Roman", Times, serif;
    color: #111;
    line-height: 1.6;
}

/* ============================================================
   MASTHEAD – logo + meta linka
   ============================================================ */
.masthead {
    text-align: center;
    padding: 24px 20px 0;
    border-bottom: 5px solid #000;
}

.masthead .logo {
    max-width: 860px;
    width: 95%;
    display: block;
    margin: 0 auto 10px;
}

.masthead .subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 7px 0;
    border-top: 1px solid #000;
}

.masthead .subtitle a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

/* ============================================================
   PROGRAM PŘEDSTAVENÍ – styl dle PDF (žádná tabulka)
   ============================================================ */
.program {
    max-width: 920px;
    margin: 32px auto 0;
    padding: 0;
    border: 3px solid #000;
}

.program-heading {
    border-bottom: 2px solid #000;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.program-heading h2 {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-family: "Times New Roman", serif;
}

.program-heading .star { font-size: 20px; }

.program-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 11px 20px;
    border-bottom: 1px solid #ccc;
    flex-wrap: wrap;
}
.program-row:last-of-type { border-bottom: none; }

.show-title {
    flex: 1 1 300px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.show-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.show-btns a {
    display: inline-block;
    padding: 5px 13px;
    font-size: 11px;
    font-family: "Times New Roman", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 1.5px solid #000;
    background: #fff;
    color: #000;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.show-btns a:hover { background: #000; color: #fff; }

.show-btns .btn-ticket { background: #000; color: #fff; }
.show-btns .btn-ticket:hover { background: #333; }

.program-footer {
    text-align: center;
    padding: 9px 0;
    border-top: 1px solid #ddd;
    font-size: 15px;
    letter-spacing: 10px;
    opacity: 0.3;
}

/* ============================================================
   HLAVNÍ OBSAH NOVIN
   ============================================================ */
.newspaper {
    max-width: 1100px;
    margin: 42px auto 50px;
    padding: 0 20px;
}

/* ============================================================
   PRVNÍ ČLÁNEK
   ============================================================ */
.story.first {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 3px double #000;
}

.story.first h2 {
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.15;
    text-align: center;
    background: #000;
    color: #fff;
    padding: 12px 28px;
    display: block;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.story.first > time {
    display: block;
    text-align: center;
    font-size: 12px;
    font-style: italic;
    color: #777;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.story.first .columns {
    column-count: 2;
    column-gap: 40px;
    column-rule: 1px solid #ddd;
    text-align: justify;
    line-height: 1.7;
    font-size: 16px;
}

/* ============================================================
   OBRÁZKY – oblé rohy + stíny (zachováno z index.php)
   ============================================================ */
.column-image { margin: 0 0 14px 0; }

.story.first .column-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.story.first .column-image img:hover {
    filter: grayscale(20%);
    transform: scale(1.02);
    box-shadow: 0 10px 28px rgba(0,0,0,0.30);
}

/* ============================================================
   TŘÍSLOUPCOVÁ MŘÍŽKA
   ============================================================ */
.three-grid {
    column-count: 3;
    column-gap: 28px;
    column-rule: 1px solid #ddd;
}

.story.third {
    break-inside: avoid;
    margin-bottom: 28px;
}

.story.third h2 {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    color: #000;
    margin-bottom: 2px;
}

.story.third time {
    font-size: 12px;
    font-style: italic;
    color: #888;
}

.story.third .column-image img {
    width: 100%;
    height: 195px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.story.third:hover .column-image img {
    filter: grayscale(20%);
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}

.single-column {
    font-size: 15px;
    line-height: 1.65;
    color: #333;
    text-align: justify;
}

.single-column a { color: #000; font-weight: bold; }

/* ============================================================
   PATIČKA
   ============================================================ */
.footer { border-top: 3px solid #000; padding-top: 20px; }

/* ============================================================
   TABLET
   ============================================================ */
@media (max-width: 1000px) {
    .three-grid { column-count: 2; column-rule: 1px solid #ddd; }
    .story.first .columns { column-count: 1; }
}

/* ============================================================
   MOBIL
   ============================================================ */
@media (max-width: 640px) {
    .masthead { padding: 16px 12px 0; }
    .masthead .subtitle { font-size: 10px; letter-spacing: 1px; }

    .program { margin: 20px 12px 0; }
    .program-heading h2 { font-size: 14px; letter-spacing: 2px; }
    .program-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .show-title { font-size: 13px; }

    .newspaper { margin: 24px auto 30px; padding: 0 12px; }

    .story.first h2 { font-size: 22px; padding: 10px 14px; }
    .story.first .columns { column-count: 1; }
    .story.first .column-image img { height: 210px; }

    .three-grid { column-count: 1; column-rule: none; }

    .story.third h2 { font-size: 20px; }
    .story.third .column-image img { height: 200px; }
    .single-column { font-size: 16px; }
}

/* ============================================================
   PROGRAM BLOCK – jako první buňka v three-grid
   ============================================================ */
.program-block {
    border: 2.5px solid #000;
    display: flex;
    flex-direction: column;
    align-self: start;
    break-inside: avoid;
    margin-bottom: 28px;
}

.program-block .program-heading {
    border-bottom: 2px solid #000;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #000;
}

.program-block .program-heading h2 {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: "Times New Roman", serif;
    color: #fff;
}

.program-block .star { font-size: 14px; color: #fff; }

.program-block .program-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 9px 14px;
    border-bottom: 1px solid #ddd;
}

.program-block .program-row:last-of-type { border-bottom: none; }

.program-block .show-title {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
    flex: unset;
}

.program-block .show-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.program-block .show-btns a {
    display: inline-block;
    padding: 3px 9px;
    font-size: 10px;
    font-family: "Times New Roman", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    border: 1.5px solid #000;
    background: #fff;
    color: #000;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.program-block .show-btns a:hover { background: #000; color: #fff; }

.program-block .btn-ticket { background: #000 !important; color: #fff !important; }
.program-block .btn-ticket:hover { background: #333 !important; }

.program-block .program-footer {
    text-align: center;
    padding: 7px 0;
    border-top: 1px solid #ddd;
    font-size: 13px;
    letter-spacing: 8px;
    opacity: 0.3;
}

/* Na mobilu program-block přes celou šířku */
@media (max-width: 640px) {
    .program-block { margin-bottom: 10px; }
}

/* ============================================================
   TLAČÍTKA KALENDÁŘE
   ============================================================ */
.calendar-btns {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 12px;
}

.cal-btn {
    display: block;
    padding: 8px 14px;
    font-size: 12px;
    font-family: "Times New Roman", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 1.5px solid #000;
    background: #fff;
    color: #000;
    text-align: center;
    transition: background 0.15s, color 0.15s;
}

.cal-btn:hover {
    background: #000;
    color: #fff;
}

.cal-btn--apple  { border-color: #000; }
.cal-btn--google { border-color: #000; }
.cal-btn--web    { background: #000; color: #fff; }
.cal-btn--web:hover { background: #333; }

/* ============================================================
   NADCHÁZEJÍCÍ AKCE – bloky pod prvním článkem
   ============================================================ */
.upcoming {
    margin-top: 28px;
    border-top: 3px double #000;
    padding-top: 18px;
}

.upcoming__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.upcoming__heading h3 {
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: "Times New Roman", serif;
    margin: 0;
}

.upcoming__heading span { font-size: 16px; opacity: 0.6; }

.upcoming__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 2px solid #000;
}

.upcoming__item {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-right: 1px solid #ccc;
}

.upcoming__item:last-child { border-right: none; }

/* Datum – levý sloupec */
.upcoming__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 46px;
    border-right: 1px solid #ddd;
    padding-right: 14px;
    text-align: center;
    flex-shrink: 0;
}

.upcoming__day {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    font-family: "Times New Roman", serif;
}

.upcoming__month {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-top: 2px;
}

.upcoming__time {
    font-size: 13px;
    margin-top: 4px;
    color: #555;
    font-style: italic;
}

/* Pravý sloupec – info */
.upcoming__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.upcoming__title {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.25;
}

.upcoming__group {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
    font-style: italic;
}

.upcoming__desc {
    font-size: 12px;
    line-height: 1.5;
    color: #444;
    margin: 2px 0 0;
}

.upcoming__footer {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upcoming__footer a {
    color: #000;
    text-decoration: none;
    border-bottom: 1.5px solid #000;
}

.upcoming__footer a:hover { opacity: 0.6; }

/* Responzivita */
@media (max-width: 640px) {
    .upcoming__grid {
        grid-template-columns: 1fr;
    }
    .upcoming__item {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    .upcoming__item:last-child { border-bottom: none; }
}
