/* Deniky z cest - novy vzhled (2026-11)
   Barvy vychazi ze zbytku webu: pozadi #111, menu #666/#ddd, cervena #F51B1C / #FF3B3C / #AD171C, odkazy #FF9960. */

.dk-wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2em;
    padding-right: 2em;
    box-sizing: content-box;
}

/* ---------- Hlavicka s fotkou ---------- */
.dk-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 560px;
    background-color: #111111;
    background-position: center 40%;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    font-family: Roboto, Arial, sans-serif;
}
.dk-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, #111111 0%, rgba(17,17,17,0.75) 35%, rgba(17,17,17,0) 75%);
}
.dk-hero--small {
    min-height: 240px;
}
.dk-hero--small::after {
    background: rgba(17,17,17,0.6);
}
.dk-hero__inner {
    flex: 1 1 auto;
    min-width: 0;
    padding-bottom: 88px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dk-hero--small .dk-hero__inner {
    padding-bottom: 28px;
    gap: 8px;
}
.dk-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
}
.dk-crumbs a,
.dk-crumbs a:visited {
    color: rgba(255,255,255,0.88);
}
.dk-crumbs a:hover {
    color: #FF3B3C;
}
.dk-crumbs a.active,
.dk-crumbs a:not([href]) {
    color: #ffffff;
}
.dk-crumbs > span:not(.dk-crumbs__sep) {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.dk-crumbs__sep {
    color: rgba(255,255,255,0.6);
}
.dk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dk-tag {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.35);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.dk-hero--small .dk-tags {
    display: none;
}
.dk-hero .dk-hero__title {
    margin: 0;
    font-size: clamp(40px, 7vw, 84px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.dk-hero--small .dk-hero__title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
}
.dk-hero__sub,
.dk-hero__meta {
    margin: 0;
    font-size: clamp(18px, 2.4vw, 26px);
    font-style: italic;
    color: rgba(255,255,255,0.92);
}
.dk-hero--small .dk-hero__sub,
.dk-hero--small .dk-hero__meta {
    font-size: 18px;
}

/* ---------- Pruh s udaji o ceste (prehled) ---------- */
.dk-facts {
    position: relative;
    margin-top: -56px;
    font-family: Roboto, Arial, sans-serif;
}
.dk-facts__card {
    margin: 0;
    padding: 28px 32px;
    border-radius: 16px;
    background: #1C1B1A;
    border: 1px solid #2E2E2E;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px 32px;
}
.dk-fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dk-fact dt {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #A6A6A6;
}
.dk-fact dd {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #F2F2F2;
}
.dk-fact dd a,
.dk-fact dd a:visited {
    color: #FF9960;
    text-decoration: none;
}
.dk-fact dd a:hover {
    color: #FF6640;
    text-decoration: underline;
}

/* ---------- Navigace mezi dny ---------- */
.dk-daynav {
    background: #181818;
    border-bottom: 1px solid #2B2B2B;
    font-family: Roboto, Arial, sans-serif;
}
.dk-daynav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
}
.dk-pill,
.dk-pill:visited {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: #2B2B2B;
    color: #DDDDDD;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}
.dk-pill:hover {
    background: #3B3B3B;
    color: #ffffff;
}
.dk-pill--icon,
.dk-pill--icon:visited {
    width: 44px;
    padding: 0;
}
.dk-pill.is-active,
.dk-pill.is-active:hover {
    background: #AD171C;
    color: #ffffff;
}

/* ---------- Obsah ---------- */
.dk-page {
    padding: 48px 0 72px;
    font-family: Roboto, Arial, sans-serif;
    color: #F2F2F2;
}
.dk-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
}
.dk-article {
    flex: 999 1 560px;
    min-width: 0;
    max-width: 760px;
}
.dk-index {
    flex: 1 1 100%;
    min-width: 0;
}
.dk-aside {
    flex: 1 1 300px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Text dne / uvodu / info */
.dk-article__head {
    margin-bottom: 28px;
}
.dk-eyebrow {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF3B3C;
}
.dk-article h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.dk-article .topinfo {
    margin-top: 14px;
    font-size: 16px;
    color: #A6A6A6;
}
.dk-article p.odstavec {
    margin: 0 0 22px;
    font-size: 19px;
    line-height: 1.75;
}
.dk-article p.odstavec:first-of-type {
    font-size: 21px;
    line-height: 1.7;
}
.dk-article ul {
    margin: 0 0 22px;
    padding-left: 1.3em;
    font-size: 18px;
    line-height: 1.6;
}
.dk-article ul.dk-note {
    color: #FF9960;
}
.dk-article img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.dk-article table.zakladni_text {
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: 16px;
}
.dk-article table.zakladni_text td {
    padding: 6px 10px;
    border-color: #333333;
}
.dk-article hr {
    border: 0;
    border-top: 1px solid #2E2E2E;
    margin: 32px 0;
}

/* Bocni sloupec: fotky a mapa */
.dk-aside__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}
.dk-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #A6A6A6;
}
.dk-muted {
    font-size: 14px;
    color: #A6A6A6;
}
.dk-photos #imgHolder a {
    display: block;
    margin-bottom: 14px;
    cursor: pointer;
}
.dk-photos #imgHolder img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 12px;
    border: 1px solid #333333;
    box-sizing: border-box;
}
.dk-map #mapa {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
}
#mapaInfo p {
    margin: 0.5em 0;
    font-size: 14px;
    color: #A6A6A6;
}
.dk-map .chart {
    height: 240px;
}
/* mapa cele trasy na prehledu deniku */
.dk-map--index #mapa {
    border-radius: 12px;
}
/* mapa dne pod textem pres celou sirku obsahu */
.dk-map--wide {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #2E2E2E;
}
.dk-map .dk-map__title {
    margin: 0 0 24px;
}
.dk-map--wide .chart {
    height: 400px;
}
.dk-article .chart {
    height: 400px;
}

/* Predchozi / dalsi */
.dk-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}
.dk-pager__item,
.dk-pager__item:visited {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 22px;
    border-radius: 14px;
    background: #1C1B1A;
    border: 1px solid #2E2E2E;
    color: #F2F2F2;
    text-decoration: none;
}
.dk-pager__item:hover {
    border-color: #FF3B3C;
    color: #ffffff;
}
.dk-pager__next {
    text-align: right;
}
.dk-pager__next.dk-pager__item--primary,
.dk-pager__next.dk-pager__item--primary:visited {
    background: #AD171C;
    border-color: #AD171C;
    color: #ffffff;
}
.dk-pager__next.dk-pager__item--primary:hover {
    background: #C4151A;
    border-color: #C4151A;
}
/* predchozi | prehled | dalsi */
.dk-pager--detail .dk-pager__prev,
.dk-pager--detail .dk-pager__next,
.dk-pager__spacer {
    flex: 1 1 200px;
}
.dk-pager__overview,
.dk-pager__overview:visited {
    flex: 0 0 auto;
    min-width: 96px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}
.dk-pager__overview svg {
    color: #FF3B3C;
}
.dk-pager__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #A6A6A6;
}
.dk-pager__item--primary .dk-pager__label {
    color: rgba(255,255,255,0.9);
}
.dk-pager__title {
    font-size: 18px;
    font-weight: 900;
}

/* ---------- Prehled deniku ---------- */
.dk-h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.dk-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.dk-intro__text {
    flex: 999 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dk-intro__map {
    flex: 1 1 340px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dk-lede {
    margin: 0;
    max-width: 68ch;
    font-size: 19px;
    line-height: 1.75;
}
.dk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.dk-btn,
.dk-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    box-sizing: border-box;
    border-radius: 999px;
    border: 1.5px solid #555555;
    background: #1C1B1A;
    color: #F2F2F2;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}
.dk-btn:hover {
    border-color: #FF3B3C;
    color: #ffffff;
}
.dk-btn--primary,
.dk-btn--primary:visited {
    background: #AD171C;
    border-color: #AD171C;
    color: #ffffff;
}
.dk-btn--primary:hover {
    background: #C4151A;
    border-color: #C4151A;
}
.dk-link,
.dk-link:visited {
    font-size: 15px;
    font-weight: 700;
    padding: 6px 0;
}
.dk-section {
    margin-top: 72px;
}
.dk-sechead {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
}
.dk-days {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 16px;
}
.dk-day,
.dk-day:visited {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    padding: 18px 20px;
    box-sizing: border-box;
    border-radius: 14px;
    background: #1C1B1A;
    border: 1px solid #2E2E2E;
    color: #F2F2F2;
    text-decoration: none;
}
.dk-day:hover {
    border-color: #FF3B3C;
    color: #ffffff;
}
.dk-day__num {
    flex: none;
    min-width: 52px;
    height: 52px;
    padding: 0 8px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #2B2B2B;
    color: #FF3B3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
}
.dk-day__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.dk-day__date {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #A6A6A6;
}
.dk-day__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}
.dk-ico {
    flex: none;
}
.dk-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 16px;
}
.dk-card,
.dk-card:visited {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border-radius: 14px;
    background: #1C1B1A;
    border: 1px solid #2E2E2E;
    color: #F2F2F2;
    text-decoration: none;
}
.dk-card:hover {
    border-color: #FF3B3C;
    color: #ffffff;
}
.dk-card__title {
    font-size: 19px;
    font-weight: 900;
}
.dk-card__text {
    font-size: 16px;
    line-height: 1.5;
    color: #B0B0B0;
}
.dk-diaries {
    margin-top: 72px;
    padding-top: 32px;
    border-top: 1px solid #2E2E2E;
}
.dk-diaries .dk-pager {
    margin-top: 0;
}

/* ---------- Mobil ---------- */
@media all and (max-width: 690px) {
    /* na mobilu jeden radek posouvany prstem, bez viditelneho posuvniku */
    .dk-daynav__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .dk-daynav__list::-webkit-scrollbar {
        display: none;
    }
    .dk-hero {
        min-height: 440px;
    }
    .dk-hero--small {
        min-height: 200px;
    }
    .dk-hero__inner {
        padding-bottom: 64px;
    }
    .dk-hero--small .dk-hero__inner {
        padding-bottom: 24px;
    }
    .dk-facts {
        margin-top: -40px;
    }
    .dk-facts__card {
        padding: 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .dk-fact dd {
        font-size: 18px;
    }
    .dk-page {
        padding: 32px 0 56px;
    }
    .dk-detail {
        gap: 40px;
    }
    .dk-section,
    .dk-diaries {
        margin-top: 48px;
    }
    .dk-pager__spacer {
        display: none;
    }
    .dk-pager__overview,
    .dk-pager__overview:visited {
        flex: 1 1 100%;
        flex-direction: row;
        min-height: 56px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .dk-map--wide {
        margin-top: 40px;
        padding-top: 32px;
    }
    .dk-map--wide .chart {
        height: 260px;
    }
    .dk-h2 {
        font-size: 26px;
    }
    .dk-article p.odstavec {
        font-size: 18px;
        line-height: 1.7;
    }
    .dk-article p.odstavec:first-of-type {
        font-size: 19px;
        line-height: 1.65;
    }
}
