/* Inspirace v2 – izolované styly stránky, bez vazby na staré slider override. */
.insp2-page {
    --insp2-paper: #f2eee6;
    --insp2-paper-alt: #ebe6dd;
    --insp2-ink: #141414;
    --insp2-muted: #716d66;
    --insp2-line: rgba(20,20,20,.14);
    min-height: 100vh;
    background: var(--insp2-paper);
    color: var(--insp2-ink);
}

.insp2-shell {
    width: min(90vw, 1380px);
    margin: 0 auto;
}

.insp2-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 9vh;
    overflow: hidden;
    background: #1b1916 center / cover no-repeat;
    color: #fff;
}

.insp2-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.08) 58%, rgba(0,0,0,.20));
}

.insp2-hero .insp2-shell {
    position: relative;
    z-index: 1;
}

.insp2-hero h1 {
    max-width: 980px;
    margin: 0;
    font-family: var(--msn-display-serif);
    font-optical-sizing: auto;
    font-size: clamp(32px, 4.5vw, 64px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.insp2-hero-intro {
    max-width: 760px;
    margin-top: 30px;
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.42;
    color: rgba(255,255,255,.88);
}

.insp2-filter-section {
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--insp2-line);
    background: #f8f5ef;
}

.insp2-filter-form {
    display: grid;
    grid-template-columns: minmax(300px, 1.45fr) repeat(3, minmax(170px, .75fr)) auto;
    gap: 12px;
    align-items: end;
}

.insp2-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--insp2-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.insp2-field input,
.insp2-field select {
    width: 100%;
    height: 58px;
    padding: 0 17px;
    border: 1px solid rgba(20,20,20,.22);
    border-radius: 0;
    background: #fff;
    color: var(--insp2-ink);
    font: inherit;
    font-size: 17px;
}

.insp2-filter-submit {
    height: 58px;
    padding: 0 26px;
    border: 1px solid var(--insp2-ink);
    border-radius: 0;
    background: var(--insp2-ink);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.insp2-results {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
    color: var(--insp2-muted);
    font-size: 14px;
}

.insp2-results p { margin: 0; }
.insp2-results a { color: var(--insp2-ink); }

.insp2-section {
    padding: 46px 0 52px;
    border-bottom: 1px solid var(--insp2-line);
}

.insp2-featured { background: var(--insp2-paper-alt); }

.insp2-all {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #eee8de;
}

.insp2-all::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image: url('../images/Topographic-Map-Pattern-7.png');
    background-position: left center;
    background-size: auto 100%;
    background-repeat: repeat-x;
    opacity: .18;
    pointer-events: none;
}

.insp2-all > .insp2-shell {
    position: relative;
    z-index: 1;
}

.insp2-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.insp2-section-kicker {
    margin: 0 0 8px;
    color: var(--insp2-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* U Doporučených článků je kicker zbytečný – nadpis už říká totéž. */
.insp2-featured .insp2-section-kicker {
    display: none;
}

.insp2-section-title {
    margin: 0;
    font-family: var(--msn-display-serif, Georgia, "Times New Roman", serif);
    font-size: clamp(40px, 4vw, 62px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.04em;
}

.insp2-track {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.insp2-track::-webkit-scrollbar { display: none; }
.insp2-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }

.insp2-featured-card {
    position: relative;
    flex: 0 0 clamp(320px, 28vw, 380px);
    min-width: 0;
    scroll-snap-align: start;
}

.insp2-card-link {
    display: block;
    color: #fff;
    text-decoration: none;
}

.insp2-featured-media,
.insp2-card-media {
    position: relative;
    overflow: hidden;
    background: #191919;
}

/* Stejný poměr stran (2:3) jako karta na homepage a ve sdílené sekci Inspirace. */
.insp2-featured-media {
    height: auto;
    aspect-ratio: 2 / 3;
}

.insp2-card-media { aspect-ratio: 2 / 3; }

.insp2-featured-media img,
.insp2-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

@media (hover: hover) and (pointer: fine) {
    .insp2-featured-card:hover .insp2-featured-media img,
    .insp2-featured-card:focus-within .insp2-featured-media img,
    .insp2-card:hover .insp2-card-media img,
    .insp2-card:focus-within .insp2-card-media img {
        transform: scale(1.04);
    }
}

.insp2-featured-media::after,
.insp2-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12,12,12,.83) 0%, rgba(12,12,12,.16) 48%, rgba(12,12,12,.03) 72%);
}

.insp2-card-copy {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 20px;
}

.insp2-card-meta {
    margin: 0 0 8px;
    color: rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.insp2-featured-card h3,
.insp2-card h3 {
    margin: 0;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(18px, 9.5cqw, 32px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.025em;
}

.insp2-card {
    flex: 0 0 clamp(250px, 21vw, 330px);
    min-width: 0;
    scroll-snap-align: start;
}

.insp2-empty {
    margin: 0;
    padding: 24px 0;
    color: var(--insp2-muted);
}

@media (max-width: 1050px) {
    .insp2-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .insp2-filter-submit { width: 100%; }

    .insp2-featured-card {
        flex-basis: min(54vw, 380px);
    }
}

@media (max-width: 760px) {
    .insp2-shell { width: calc(100% - 40px); }
    .insp2-hero { min-height: 76vh; padding-bottom: 54px; }
    .insp2-hero h1 { line-height: 1; letter-spacing: -.02em; }
    .insp2-hero-intro { margin-top: 22px; font-size: 19px; line-height: 1.48; }

    .insp2-filter-form { grid-template-columns: 1fr; }
    .insp2-filter-section { padding-top: 20px; }
    .insp2-field input,
    .insp2-field select,
    .insp2-filter-submit { height: 54px; }

    .insp2-section { padding: 36px 0 42px; }
    .insp2-section-head { align-items: center; margin-bottom: 18px; }
    .insp2-section-title { font-size: clamp(34px, 10vw, 48px); }

    .insp2-featured-card { flex: 0 0 min(78vw, 340px); }
    .insp2-card { flex: 0 0 min(76vw, 290px); }
    .insp2-card-copy { left: 18px; right: 18px; bottom: 18px; }
    .insp2-featured-card h3, .insp2-card h3 { font-size: clamp(18px, 9cqw, 26px); }

    .insp2-all::before {
        background-position: left top;
        background-size: auto 100%;
    }
}
