/* iKulecnik - spolecny vzhled obsahovych stran */
:root {
    --ik-page-blue: #052877;
    --ik-page-blue-light: #0a47a8;
    --ik-page-ink: #15171c;
    --ik-page-muted: #667085;
    --ik-page-line: #dbe4f2;
    --ik-page-soft: #f5f7fb;
    --ik-page-warm: #fff8f5;
}

.ik-page {
    width: min(100%, 1200px);
    margin: 28px auto 64px;
    color: var(--ik-page-ink);
    font-family: "Inter", Arial, sans-serif;
}

.ik-page *,
.ik-page *::before,
.ik-page *::after {
    box-sizing: border-box;
}

.ik-page a {
    text-decoration: none;
}

.ik-page__hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 32px;
    align-items: center;
    padding: clamp(34px, 5vw, 64px);
    border-radius: 26px;
    background: linear-gradient(135deg, var(--ik-page-blue) 0%, #0b3e9b 100%);
    color: #fff;
    box-shadow: 0 20px 48px rgba(5, 40, 119, .16);
}

.ik-page__hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.ik-page__hero-copy,
.ik-page__hero-card {
    position: relative;
    z-index: 1;
}

.ik-page__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #bfd2ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ik-page__hero h1,
.ik-page__hero h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.04;
}

.ik-page__hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.65;
}

.ik-page__hero-card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    color: var(--ik-page-ink);
    box-shadow: 0 18px 34px rgba(3, 22, 70, .18);
}

.ik-page__hero-card h3 {
    margin: 0 0 12px;
    color: var(--ik-page-blue);
    font-size: 22px;
}

.ik-page__hero-card p,
.ik-page__hero-card a {
    color: var(--ik-page-ink);
    font-size: 15px;
}

.ik-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ik-page__btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 2px solid #fff;
    border-radius: 12px;
    background: #fff;
    color: var(--ik-page-blue) !important;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ik-page__btn--ghost {
    background: transparent;
    color: #fff !important;
}

.ik-page__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(3, 22, 70, .2);
}

.ik-page__section {
    margin-top: 28px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--ik-page-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(22, 42, 82, .07);
}

.ik-page__section h2 {
    margin: 0 0 18px;
    color: var(--ik-page-ink);
    font-size: clamp(25px, 3vw, 34px);
}

.ik-page__section > p {
    color: var(--ik-page-muted);
    font-size: 16px;
    line-height: 1.7;
}

.ik-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ik-page__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ik-page__card {
    padding: 24px;
    border: 1px solid var(--ik-page-line);
    border-radius: 18px;
    background: var(--ik-page-soft);
}

.ik-page__card h3 {
    margin: 0 0 10px;
    color: var(--ik-page-blue);
    font-size: 20px;
}

.ik-page__card p,
.ik-page__card li {
    margin: 0;
    color: var(--ik-page-muted);
    font-size: 15px;
    line-height: 1.65;
}

.ik-page__card ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.ik-page__hours {
    display: grid;
    gap: 0;
    margin: 0;
}

.ik-page__hours div,
.ik-page__data-row {
    display: grid;
    grid-template-columns: minmax(110px, .8fr) minmax(0, 1.4fr);
    gap: 18px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--ik-page-line);
}

.ik-page__hours div:last-child,
.ik-page__data-row:last-child {
    border-bottom: 0;
}

.ik-page__hours dt,
.ik-page__data-row span:first-child {
    color: var(--ik-page-muted);
    font-weight: 700;
}

.ik-page__hours dd,
.ik-page__data-row strong {
    margin: 0;
    color: var(--ik-page-ink);
    font-weight: 800;
}

.ik-page__notice {
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 5px solid var(--ik-page-blue-light);
    border-radius: 12px;
    background: #edf3ff;
    color: #263753;
    line-height: 1.6;
}

.ik-page__notice--warn {
    border-left-color: #d54738;
    background: var(--ik-page-warm);
    color: #6b2a22;
}

.ik-page__media {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border: 1px solid var(--ik-page-line);
    border-radius: 18px;
}

.ik-page__gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ik-page__gallery a {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--ik-page-line);
    border-radius: 14px;
    background: var(--ik-page-soft);
}

.ik-page__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.ik-page__gallery a:hover img {
    transform: scale(1.04);
}

.ik-page__cta {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding: 28px 32px;
    border-radius: 20px;
    background: var(--ik-page-blue);
    color: #fff;
}

.ik-page__cta h2,
.ik-page__cta p {
    margin: 0;
    color: #fff;
}

.ik-page__cta p {
    margin-top: 6px;
    color: rgba(255, 255, 255, .82);
}

@media (max-width: 767px) {
    .ik-page {
        margin: 16px auto 42px;
    }

    .ik-page__hero,
    .ik-page__grid,
    .ik-page__grid--2 {
        grid-template-columns: 1fr;
    }

    .ik-page__hero {
        gap: 22px;
        padding: 28px 22px;
        border-radius: 18px;
    }

    .ik-page__hero h1,
    .ik-page__hero h2 {
        font-size: 32px;
    }

    .ik-page__section {
        margin-top: 18px;
        padding: 22px 18px;
        border-radius: 16px;
    }

    .ik-page__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ik-page__cta {
        align-items: stretch;
        flex-direction: column;
        padding: 24px 20px;
    }

    .ik-page__actions,
    .ik-page__btn {
        width: 100%;
    }

    .ik-page__hours div,
    .ik-page__data-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}
