@font-face { font-family: "Marr Sans"; src: url("../../fonts/kiosk/MarrSans-Regular-Web.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Marr Sans"; src: url("../../fonts/kiosk/MarrSans-Medium-Web.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Marr Sans"; src: url("../../fonts/kiosk/MarrSans-Semibold-Web.woff2") format("woff2"); font-style: normal; font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Marr Sans Condensed"; src: url("../../fonts/kiosk/MarrSansCondensed-Medium-Web.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Marr Sans Condensed"; src: url("../../fonts/kiosk/MarrSansCondensed-Semibold-Web.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Marr Sans Condensed"; src: url("../../fonts/kiosk/MarrSansCondensed-Bold-Web.woff2") format("woff2"); font-style: normal; font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Open Sans Kiosk"; src: url("../../fonts/kiosk/OpenSans-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans Kiosk"; src: url("../../fonts/kiosk/OpenSans-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
    --kiosk-ink: #202934;
    --kiosk-red: #c8000b;
    --kiosk-muted: #66707a;
    --kiosk-line: #dce0e4;
    --kiosk-paper: #f7f8fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.iframe {
    min-width: 0;
    margin: 0;
    background: var(--kiosk-paper);
    color: var(--kiosk-ink);
    font: 400 15px/1.5 "Marr Sans", Helvetica, Arial, sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--kiosk-red); outline-offset: 4px; }
.kiosk-header {
    background: #fff;
    border-bottom: 1px solid var(--kiosk-line);
}
.kiosk-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    width: min(100% - 48px, 1280px);
    min-height: 72px;
    margin: 0 auto;
}
.kiosk-header__brand img { display: block; width: 165px; height: auto; }
.kiosk-header__name {
    font-family: "Marr Sans Condensed", "Arial Narrow", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.kiosk-header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.kiosk-header__actions a { font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.kiosk-header__account:hover { color: var(--kiosk-red); }
.kiosk-header__subscribe {
    padding: 10px 17px;
    border-radius: 3px;
    background: var(--kiosk-red);
    color: #fff;
}
.kiosk-header__subscribe:hover { background: var(--kiosk-ink); color: #fff; }
.kiosk-page { padding: 42px 0 80px; }
.kiosk-page__inner { width: min(100% - 48px, 1280px); margin: 0 auto; }
.kiosk-intro { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--kiosk-line); }
.kiosk-intro__eyebrow { margin: 0 0 5px; color: var(--kiosk-red); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.kiosk-intro h1 { margin: 0 0 8px; font: 600 clamp(32px, 3vw, 44px)/1.1 "Marr Sans Condensed", "Arial Narrow", sans-serif; }
.kiosk-intro > p:last-child { margin: 0; color: var(--kiosk-muted); font-size: 16px; }
.kiosk-layout { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 72px); }
.kiosk-current h2, .kiosk-section h2 { margin: 0; font-family: "Marr Sans Condensed", "Arial Narrow", sans-serif; font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.kiosk-current__date { margin: 10px 0 16px; color: var(--kiosk-muted); font-size: 15px; }
.kiosk-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 0.71;
    padding: 7px;
    border: 1px solid var(--kiosk-line);
    background: #fff;
    box-shadow: 0 6px 18px #15233112;
    transition: transform .2s ease, box-shadow .2s ease;
}
.kiosk-cover:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #15233120; }
.kiosk-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kiosk-cover--current { max-width: 300px; }
.kiosk-read {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: 4px;
    background: var(--kiosk-ink);
    color: #fff;
    font-family: "Open Sans Kiosk", Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
}
.kiosk-read:hover { background: var(--kiosk-red); color: #fff; }
.kiosk-read span { font-size: 20px; line-height: 1; }
.kiosk-collections { min-width: 0; }
.kiosk-section + .kiosk-section { margin-top: 38px; }
.kiosk-section__heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--kiosk-line); }
.kiosk-section__heading p { margin: 0; color: var(--kiosk-muted); font-size: 13px; }
.kiosk-rail { display: grid; grid-auto-columns: clamp(135px, 19vw, 168px); grid-auto-flow: column; gap: 20px; overflow-x: auto; padding: 3px 3px 20px; scroll-snap-type: x mandatory; scrollbar-color: #aeb6be transparent; }
.kiosk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 175px)); gap: 24px 20px; }
.kiosk-archives { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--kiosk-line); }
.kiosk-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; }
.kiosk-pagination > * { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 8px 12px; border: 1px solid var(--kiosk-line); border-radius: 3px; background: #fff; color: var(--kiosk-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.kiosk-pagination a:hover { border-color: var(--kiosk-red); color: var(--kiosk-red); }
.kiosk-pagination__current { border-color: var(--kiosk-ink); background: var(--kiosk-ink); color: #fff; }
.kiosk-pagination__disabled { color: #8d959e; }
.kiosk-item { min-width: 0; scroll-snap-align: start; }
.kiosk-item h3 { margin: 12px 0 0; font: 500 15px/1.3 "Marr Sans", Helvetica, Arial, sans-serif; }
.kiosk-item h3 a { text-decoration: none; }
.kiosk-item h3 a:hover { color: var(--kiosk-red); text-decoration: underline; }
.kiosk-empty { margin: 18px 0; padding: 24px; background: #fff; color: var(--kiosk-muted); }
.kiosk-footer { padding: 30px 0; background: var(--kiosk-ink); color: #e9eaed; }
.kiosk-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(100% - 48px, 1280px); margin: auto; }
.kiosk-footer img { display: block; max-width: 100%; height: auto; }
.kiosk-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.kiosk-footer nav a { font-size: 13px; text-decoration: none; }
.kiosk-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--kiosk-red); }

@media (max-width: 800px) {
    .kiosk-layout { grid-template-columns: minmax(0, 1fr); }
    .kiosk-current { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); column-gap: 24px; align-items: start; }
    .kiosk-current h2, .kiosk-current__date { grid-column: 1 / -1; }
    .kiosk-current__date { margin-bottom: 14px; }
    .kiosk-cover--current { grid-column: 1; grid-row: 3 / 5; }
    .kiosk-read { grid-column: 2; grid-row: 3; align-self: end; }
}
@media (max-width: 600px) {
    .kiosk-header__inner { grid-template-columns: 1fr auto; gap: 12px; width: calc(100% - 32px); min-height: 64px; }
    .kiosk-header__brand img { width: 126px; }
    .kiosk-header__name { grid-column: 1 / -1; grid-row: 2; margin-top: -4px; padding-bottom: 11px; font-size: 13px; }
    .kiosk-header__actions { gap: 10px; }
    .kiosk-header__actions a { font-size: 12px; }
    .kiosk-header__subscribe { padding: 8px 10px; }
    .kiosk-page { padding: 28px 0 50px; }
    .kiosk-page__inner, .kiosk-footer__inner { width: calc(100% - 32px); }
    .kiosk-intro { margin-bottom: 28px; }
    .kiosk-intro > p:last-child { font-size: 14px; }
    .kiosk-current { display: block; }
    .kiosk-cover--current { width: min(100%, 290px); margin: 0 auto; }
    .kiosk-read { max-width: 290px; margin: 16px auto 0; }
    .kiosk-section__heading { display: block; }
    .kiosk-section__heading p { margin-top: 5px; }
    .kiosk-rail { grid-auto-columns: 145px; gap: 14px; margin-right: -16px; }
    .kiosk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .kiosk-archives { margin-top: 36px; padding-top: 24px; }
    .kiosk-pagination { gap: 5px; }
    .kiosk-pagination > * { min-width: 34px; padding: 7px 9px; font-size: 12px; }
    .kiosk-footer__inner { align-items: flex-start; flex-direction: column; }
}
