:root {
    --ink: #111722;
    --muted: #59606b;
    --line: #dfe2e6;
    --paper: #fff;
    --soft: #f3f4f5;
    --dark: #10151d;
    --yellow: #ffd400;
    --red: #d5212e;
    --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.shell-narrow { width: min(calc(100% - 40px), 900px); }
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header { background: var(--dark); color: #fff; }
.masthead { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: grid; grid-template-columns: 58px auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; }
.brand-mark {
    grid-row: 1 / 3; width: 58px; height: 58px; display: grid; place-items: center;
    background: var(--yellow); color: var(--dark); font-weight: 950; font-size: 36px; line-height: 1;
}
.brand-name { font-size: 29px; font-weight: 900; line-height: 1; letter-spacing: .04em; }
.brand-tagline { color: #aeb5bf; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-top: 5px; }
.header-subscribe, .button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 0 21px; font-weight: 800; transition: transform .15s, background .15s;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-login { font-size: 14px; font-weight: 800; }
.header-login:hover { color: var(--yellow); }
.header-subscribe { background: var(--yellow); color: var(--dark); }
.header-subscribe:hover, .button:hover { transform: translateY(-2px); }
.site-nav { border-top: 1px solid #303640; border-bottom: 1px solid #303640; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-nav .menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { display: block; padding: 15px 0; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.site-nav .menu a:hover { color: var(--yellow); }
.search-form { display: flex; align-items: center; border-left: 1px solid #303640; }
.search-field { width: 140px; padding: 10px 12px; color: #fff; border: 0; outline: 0; background: transparent; }
.search-form button { padding: 12px; color: var(--yellow); background: transparent; border: 0; font-size: 22px; cursor: pointer; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 25px; height: 2px; margin: 5px; background: #fff; }

.breaking { border-bottom: 1px solid var(--line); background: #fff; }
.breaking-inner { min-height: 46px; display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.breaking-label, .box-kicker, .eyebrow {
    color: var(--red); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em;
}
.breaking-label { padding: 5px 8px; color: var(--dark); background: var(--yellow); }
.breaking-inner a { margin-left: auto; color: var(--ink); font-weight: 800; }

.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(340px, .85fr); gap: 32px; padding-block: 42px; }
.hero-image, .compact-image, .story-image, .archive-image { display: block; overflow: hidden; background: var(--soft); }
.hero-image { aspect-ratio: 16 / 9; }
.hero-image img, .compact-image img, .story-image img, .archive-image img { height: 100%; object-fit: cover; transition: transform .3s; }
article:hover .hero-image img, article:hover .compact-image img, article:hover .story-image img, article:hover .archive-image img { transform: scale(1.025); }
.image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 170px; background: linear-gradient(135deg, #e4e6e8, #c8cdd2); }
.image-placeholder span { font-size: 60px; font-weight: 950; opacity: .16; }
.hero-copy { padding-top: 22px; }
.hero-copy h1 { margin: 8px 0 12px; font-size: clamp(35px, 4.2vw, 62px); line-height: .98; letter-spacing: -.045em; }
.hero-copy h1 a:hover, .compact-card h2 a:hover, .story-copy h3 a:hover, .archive-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .18em; text-underline-offset: .08em; }
.hero-copy > p { max-width: 720px; margin: 0 0 14px; color: var(--muted); font-size: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.hero-secondary { border-left: 1px solid var(--line); padding-left: 32px; }
.compact-card { display: grid; grid-template-columns: 138px 1fr; gap: 16px; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.compact-card:last-child { margin-bottom: 0; }
.compact-image { aspect-ratio: 4 / 3; }
.compact-card h2 { margin: 4px 0 8px; font-size: 19px; line-height: 1.16; letter-spacing: -.02em; }
.compact-card time { color: var(--muted); font-size: 11px; }

.latest-section { padding-block: 26px 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 15px; margin-bottom: 25px; border-bottom: 4px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: 32px; line-height: 1; letter-spacing: -.035em; }
.section-heading > a { font-size: 14px; font-weight: 800; }
.content-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .72fr); gap: 55px; }
.story-row { display: grid; grid-template-columns: 290px 1fr; gap: 24px; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.story-image { aspect-ratio: 16 / 10; }
.story-copy h3 { margin: 4px 0 8px; font-size: 25px; line-height: 1.12; letter-spacing: -.025em; }
.story-copy > p { margin: 0 0 12px; color: var(--muted); }
.newsletter-box, .sticky-box { padding: 30px; background: var(--yellow); }
.issue-promo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 18px;
    margin-bottom: 30px;
    padding: 25px 22px;
    color: #fff;
    background: #4b6684;
}
.issue-promo-copy { display: flex; flex-direction: column; align-items: flex-start; }
.issue-promo-copy > span {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 900;
    line-height: .95;
    text-transform: uppercase;
}
.issue-promo-copy > strong { margin: 8px 0 5px; font-family: Georgia, serif; font-size: 16px; font-weight: 400; }
.issue-promo-copy > a { margin-top: 8px; font-family: Georgia, serif; font-size: 15px; font-weight: 800; }
.issue-promo-copy .issue-promo-read {
    position: relative;
    width: calc(100% + 22px);
    margin: 4px 0 3px -22px;
    padding: 4px 10px 4px 22px;
    background: #f21a23;
    font-size: 17px;
    text-transform: uppercase;
}
.issue-promo-cover { align-self: center; box-shadow: 0 7px 16px rgba(0,0,0,.28); }
.issue-promo-cover img { width: 100%; height: auto; }
.newsletter-box h2, .sticky-box h2 { margin: 10px 0; font-size: 28px; line-height: 1.05; letter-spacing: -.03em; }
.newsletter-box p, .sticky-box p { margin: 0 0 22px; }
.button-dark { color: #fff; background: var(--dark); }
.button-yellow { color: var(--dark); background: var(--yellow); }
.sidebar-links { margin-top: 34px; border-top: 4px solid var(--ink); }
.sidebar-links h2 { font-size: 21px; }
.sidebar-links a { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 750; }
.sidebar-links small { color: var(--muted); }

.issues-section, .issues-archive { padding-block: 62px 72px; color: #fff; background: var(--dark); }
.section-heading-light { border-color: var(--yellow); }
.section-heading-light h2 { margin-top: 7px; font-size: 36px; }
.issue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.issue-cover { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #252b34; box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.issue-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.issue-card:hover .issue-cover img { transform: scale(1.02); }
.issue-card h2, .issue-card h3 { margin: 17px 0 5px; font-size: 20px; line-height: 1.15; }
.issue-card p { color: #bec4cc; }
.text-link { color: var(--yellow); font-size: 13px; font-weight: 850; }

.page-shell { padding-block: 55px 80px; }
.archive-header { max-width: 880px; padding-bottom: 25px; margin-bottom: 36px; border-bottom: 5px solid var(--ink); }
.archive-header h1 { margin: 6px 0; font-size: clamp(40px, 6vw, 70px); line-height: 1; letter-spacing: -.05em; }
.archive-description { color: var(--muted); font-size: 18px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 28px; }
.archive-image { aspect-ratio: 16 / 10; margin-bottom: 17px; }
.archive-card h2 { margin: 6px 0 10px; font-size: 24px; line-height: 1.1; letter-spacing: -.025em; }
.archive-card p { color: var(--muted); }
.navigation.pagination { margin-top: 50px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; background: var(--soft); font-weight: 800; }
.page-numbers.current { color: var(--dark); background: var(--yellow); }
.archive-header-light { border-color: var(--yellow); }
.archive-header-light p { color: #bec4cc; }
.issue-grid-large { grid-template-columns: repeat(5, 1fr); }

.article-header { padding-top: 58px; text-align: center; }
.article-header h1 { margin: 10px auto 18px; font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -.052em; }
.article-deck { max-width: 760px; margin: 0 auto 18px; color: var(--muted); font-size: 20px; }
.article-header .post-meta { justify-content: center; }
.article-hero { margin-top: 40px; max-height: 680px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; max-height: 680px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: center; gap: 70px; padding-block: 48px 85px; }
.article-content { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.78; }
.article-content > p:first-child::first-letter { float: left; margin: .1em .12em 0 0; font-family: Inter, sans-serif; font-size: 4em; font-weight: 900; line-height: .72; }
.article-content h2, .article-content h3 { margin-top: 1.7em; font-family: Inter, sans-serif; line-height: 1.12; letter-spacing: -.03em; }
.article-content a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.article-content img { margin-block: 30px; }
.sticky-box { position: sticky; top: 30px; }

.issue-single { padding-block: 65px 85px; color: #fff; background: var(--dark); }
.issue-single-grid { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 650px); gap: 70px; align-items: start; }
.issue-single-cover { aspect-ratio: 3 / 4; overflow: hidden; background: #252b34; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.issue-single-cover img { height: 100%; object-fit: cover; }
.issue-single-copy h1 { margin: 10px 0 20px; font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -.05em; }
.issue-description { color: #d1d5da; font-size: 18px; }
.issue-single-copy .monitor-issue-links { margin-block: 28px; }

.site-footer { padding: 55px 0 22px; color: #d2d5d9; background: #080b0f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.footer-brand { color: #fff; font-size: 24px; font-weight: 900; }
.footer-brand span { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 8px; color: var(--dark); background: var(--yellow); }
.site-footer h2 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 8px 0; }
.footer-action { display: block; margin: 8px 0; color: var(--yellow); font-weight: 750; }
.copyright { padding-top: 35px; margin-top: 38px; border-top: 1px solid #262b32; color: #777f89; font-size: 12px; }

@media (max-width: 1000px) {
    .hero { grid-template-columns: 1fr; }
    .hero-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-left: 0; padding-left: 0; }
    .content-grid { grid-template-columns: 1fr; }
    .home-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
    .issue-promo { margin-bottom: 0; }
    .sidebar-links { margin-top: 0; }
    .issue-grid { grid-template-columns: repeat(2, 1fr); }
    .issue-grid-large { grid-template-columns: repeat(3, 1fr); }
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: minmax(0, 720px); }
    .article-aside { display: none; }
}

@media (max-width: 720px) {
    .shell, .shell-narrow { width: min(calc(100% - 28px), var(--shell)); }
    .masthead { min-height: 72px; }
    .brand { grid-template-columns: 43px auto; }
    .brand-mark { width: 43px; height: 43px; font-size: 27px; }
    .brand-name { font-size: 23px; }
    .brand-tagline { display: none; }
    .header-subscribe { min-height: 38px; padding: 0 13px; font-size: 13px; }
    .header-actions { gap: 10px; }
    .header-login { font-size: 12px; }
    .menu-toggle { display: block; order: -1; }
    .site-nav { display: none; }
    .site-nav.is-open { display: block; }
    .nav-inner, .site-nav .menu { display: block; }
    .site-nav .menu a { padding: 13px 0; border-bottom: 1px solid #303640; }
    .search-form { border-left: 0; }
    .breaking-inner span:not(.breaking-label) { display: none; }
    .hero { gap: 26px; padding-block: 25px; }
    .hero-copy h1 { font-size: 38px; }
    .hero-secondary { display: block; }
    .compact-card { grid-template-columns: 125px 1fr; }
    .story-row { grid-template-columns: 125px 1fr; gap: 15px; }
    .story-copy h3 { font-size: 19px; }
    .story-copy > p { display: none; }
    .home-sidebar { display: block; }
    .issue-promo { margin-bottom: 30px; }
    .sidebar-links { margin-top: 30px; }
    .issue-grid, .issue-grid-large, .archive-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
    .issue-card h2, .issue-card h3 { font-size: 16px; }
    .archive-card h2 { font-size: 19px; }
    .archive-card p { display: none; }
    .article-header { padding-top: 35px; text-align: left; }
    .article-header h1 { font-size: 43px; }
    .article-header .post-meta { justify-content: flex-start; }
    .article-hero { width: 100%; margin-top: 28px; }
    .article-layout { padding-block: 30px 60px; }
    .article-content { font-size: 18px; }
    .issue-single-grid { grid-template-columns: 1fr; gap: 35px; }
    .issue-single-cover { width: min(85%, 380px); margin-inline: auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 430px) {
    .brand-name { font-size: 19px; }
    .header-subscribe { font-size: 0; }
    .header-subscribe::after { content: "Naroči"; font-size: 12px; }
    .story-row { grid-template-columns: 105px 1fr; }
    .compact-card { grid-template-columns: 105px 1fr; }
}
