/*
Theme Name: Golos Naroda Archive
Theme URI: https://web.archive.org/web/20250104175113/https://golos-naroda.kz/
Author: Archive Recovery Project
Description: Independent reconstruction of the Golos Naroda news-portal layout for archived content, preserving original category and article URL patterns. Not the original source theme.
Version: 0.2.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: golos-naroda-archive
*/
:root{--accent:#c4262d;--accent-dark:#a91d23;--text:#192027;--muted:#79818a;--line:#e7e8e9;--paper:#fff;--subtle:#f5f6f7;--max-width:1320px;--heading:'Rubik',Arial,sans-serif;--body:'Rubik',Arial,sans-serif;--reading:'Literata',Georgia,serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--text);font:15px/1.55 var(--body);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,input{font:inherit}button{cursor:pointer}
.container{width:min(calc(100% - 48px),var(--max-width));margin-inline:auto}
.skip-link,.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;width:1px;height:1px}
.skip-link:focus{position:fixed;clip:auto;width:auto;height:auto;z-index:100;background:#fff;padding:15px}
.utility-bar{border-bottom:1px solid var(--line);background:#f9f9f9;font-size:12px;color:#69727a}
.utility-bar__inner{display:flex;align-items:center;gap:20px;min-height:40px}
.utility-bar__inner>a{margin-left:auto;font-weight:600;color:#343c44}
.utility-label{text-transform:uppercase;letter-spacing:.1em;color:var(--accent);font-weight:700}
.masthead{min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.masthead__brand{display:flex;align-items:center}.custom-logo{max-width:350px;max-height:86px;width:auto;height:auto}
.logo-wordmark{color:var(--text);display:flex;flex-direction:column;font-family:var(--heading);font-size:37px;line-height:.95;letter-spacing:-.07em;font-weight:800;width:max-content}
.logo-wordmark strong{font-size:38px;color:var(--accent);font-weight:800}.logo-wordmark small{font-size:9px;letter-spacing:.025em;font-weight:500;line-height:2.5;color:#717b83}
.masthead__right{display:flex;align-items:center;gap:25px}.masthead__strapline{font-size:14px;color:#8e9499}
.search-toggle{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#fff;color:#1d252d}
.search-toggle:hover{border-color:var(--accent);color:var(--accent)}
.nav-wrap{background:#23282e}.nav-wrap__inner{display:flex;align-items:center;min-height:53px}
.site-nav{width:100%}.site-nav__list{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:0;list-style:none}
.site-nav__list a{display:block;line-height:1.4;font-size:13px;font-weight:600;color:white;padding:18px 8px;white-space:nowrap}
.site-nav__list a:hover,.site-nav__list .current-menu-item a{color:#ffc9cc}
.nav-toggle{display:none;background:transparent;color:white;border:0;padding:13px 0;font-weight:600}
.header-search{border-bottom:1px solid var(--line);background:var(--subtle);padding:18px 0}.header-search[hidden]{display:none}
.search-form{display:flex;gap:8px;margin-top:10px;margin-bottom:15px}.search-form input{min-width:0;width:100%;padding:12px 15px;border:1px solid var(--line);border-radius:2px;outline:none;background:#fff}.search-form input:focus{border-color:var(--accent)}.search-form button{border:0;background:var(--accent);color:#fff;padding:12px 20px;font-weight:700}
.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:35px;padding-block:32px 70px}.home-content{min-width:0}.home-aside{border-left:1px solid var(--line);padding-left:24px}
.section-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:2px solid var(--text);padding-bottom:12px;margin-bottom:20px;gap:12px}.section-heading h1,.section-heading h2{font:700 25px/1.2 var(--heading);margin:0}.section-heading>a{font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap}
.featured-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px}.featured-story{min-width:0;border-bottom:1px solid var(--line);padding-bottom:12px}.featured-story--main{grid-column:span 2;grid-row:span 2}
.featured-story__image{display:block;aspect-ratio:16/9;overflow:hidden;background:#f1f2f3}.featured-story--main .featured-story__image{aspect-ratio:1.55}
.featured-story__image .story__image{height:100%;width:100%;object-fit:cover;transition:transform .2s ease}.featured-story__image:hover img{transform:scale(1.025)}
.featured-story__body{padding-top:12px}.featured-story__body h2{font:700 17px/1.35 var(--heading);margin:6px 0 8px;letter-spacing:-.025em}.featured-story--main .featured-story__body h2{font-size:29px;line-height:1.22}.featured-story__body>p{margin:8px 0 12px;color:#66707a}
.rubric{display:inline-block;font:700 11px/1.4 var(--heading);color:var(--accent);text-transform:uppercase;letter-spacing:.03em}.byline{display:flex;gap:12px;flex-wrap:wrap;color:#9a9fa5;font-size:11px;margin-top:9px}.byline__author{color:#68717b}
.story__image--empty{background:linear-gradient(135deg,#eff1f3,#e4e8eb);display:grid;place-items:center;color:#b8bec4;width:100%;height:100%}.story__image--empty span{font:800 clamp(36px,7vw,90px)/1 var(--heading);letter-spacing:-.08em}
.home-section{margin-top:52px}.section-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.story-card{min-width:0}.story-card__media{aspect-ratio:1.45;display:block;overflow:hidden;background:var(--subtle)}.story-card__media img,.story-card__media .story__image{width:100%;height:100%;object-fit:cover}.story-card__copy{padding-top:10px}.story-card__title{margin:6px 0 8px;font:700 15px/1.35 var(--heading)}.story-card__subtitle{color:#7b858e;font-size:12px;margin:7px 0}.story-card .byline{gap:7px}
.aside-sticky{position:sticky;top:20px}.aside-heading{display:flex;align-items:center;gap:8px;justify-content:space-between;border-bottom:2px solid var(--text);padding-bottom:12px}.aside-heading h2,.standard-aside h2{font:700 21px/1.2 var(--heading);margin:0 0 12px}.aside-heading h2{margin:0}
.live-dot{width:9px;height:9px;border-radius:50%;background:var(--accent)}.feed-list__item{display:grid;grid-template-columns:72px 1fr;gap:9px;border-bottom:1px solid var(--line);padding:14px 0}.feed-list__item time{color:var(--accent);font-size:11px;font-weight:600}.feed-list__item a{font:600 13px/1.43 var(--heading)}
.more-link{display:inline-block;color:var(--accent);font-size:13px;font-weight:700;margin:17px 0 25px}.import-notice{padding:42px 30px;background:#f9fafb;border:1px solid var(--line)}.import-notice h2{font-size:22px;margin:0 0 8px}.import-notice p{color:#67727c;max-width:540px}
.standard-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:54px;padding-block:38px 70px}.standard-aside{border-left:1px solid var(--line);padding-left:26px}.archive-heading{margin-bottom:26px;border-bottom:1px solid var(--line);padding-bottom:26px}.archive-heading h1{font:800 36px/1.2 var(--heading);letter-spacing:-.04em;margin:5px 0 13px}.archive-description{max-width:720px;color:#64707c;font-size:15px}.eyebrow{color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.1em;margin:0}
.article-list-item{display:grid;grid-template-columns:250px 1fr;gap:23px;padding:23px 0;border-bottom:1px solid var(--line)}.article-list-item:first-of-type{padding-top:2px}.article-list-item__media{display:block;aspect-ratio:1.56;overflow:hidden;background:var(--subtle)}.article-list-item__media .story__image,.article-list-item__media img{width:100%;height:100%;object-fit:cover}.article-list-item__copy h2{font:700 21px/1.28 var(--heading);margin:6px 0 8px}.article-list-item__copy>p{color:#7c858d;font-size:13px;margin:0 0 8px}
.navigation.pagination{margin:30px 0}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{display:inline-block;padding:9px 13px;border:1px solid var(--line);font-weight:600;font-size:13px}.page-numbers.current,.page-numbers:hover{background:var(--accent);color:white;border-color:var(--accent)}
.breadcrumb{font-size:12px;color:#9ca3a9;margin-bottom:22px}.breadcrumb .rubric{font-size:12px}.single-story__header>.rubric{margin-bottom:10px}.single-story__header h1{font:800 43px/1.15 var(--heading);letter-spacing:-.04em;margin:4px 0 16px}.single-story__subtitle{font-size:20px;line-height:1.45;color:#65707a;margin:0 0 16px}.single-story__header .byline{font-size:13px;margin:16px 0 25px}
.single-story__hero{margin:0 0 30px}.single-story__hero img{display:block;width:100%;height:auto}.single-story__hero figcaption{font-size:12px;color:#899198;margin-top:8px}.entry-content{font:17px/1.85 var(--reading);color:#2c3339}.entry-content p{margin:0 0 23px}.entry-content h2{font:700 29px/1.28 var(--heading);margin:30px 0 16px}.entry-content h3{font:700 23px/1.3 var(--heading)}.entry-content a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.entry-content img{display:block;margin:20px auto}.entry-content blockquote{border-left:4px solid var(--accent);padding:2px 0 2px 25px;margin:25px 0;font-style:italic;color:#495560}.entry-content ul,.entry-content ol{padding-left:25px}.entry-content figure{max-width:100%}
.single-story__footer{border-top:1px solid var(--line);margin-top:34px;padding-top:16px}.tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.tags a{background:#f2f3f5;color:#65707a;padding:5px 10px;font-size:12px}.source-credit{font-size:12px;color:#929aa2}.source-credit a{text-decoration:underline}.related-section{margin-top:54px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.static-page h1{font:800 38px/1.2 var(--heading)}.error-page{min-height:420px;padding-block:70px}.error-page h1{font-size:42px}.error-page .search-form{max-width:500px}.empty-hint{background:#f8f9fa;border:1px solid var(--line);padding:25px;color:#68737e}
.site-footer{background:#20252b;color:#e9ebee}.footer-cols{display:grid;grid-template-columns:1.1fr 1.5fr 1fr;gap:65px;padding-top:52px;padding-bottom:54px}.footer-brand{font:800 23px/1 var(--heading);letter-spacing:-.05em}.footer-cols h3{font:700 15px/1.4 var(--heading);margin:0 0 19px}.footer-cols p{max-width:290px;font-size:13px;color:#a9afb6}.footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.footer-links a{color:#bac1c8;font-size:13px}.footer-links a:hover{color:#fff}.footer-small{font-size:11px!important}.footer-bottom{padding:18px 0;border-top:1px solid #3b4249;color:#9ca6b0;font-size:12px}
@media(max-width:1150px){.container{width:min(calc(100% - 32px),var(--max-width))}.site-nav__list{gap:1px}.site-nav__list a{padding:18px 5px;font-size:11px}.home-layout,.standard-layout{grid-template-columns:minmax(0,1fr) 285px;gap:22px}.home-aside,.standard-aside{padding-left:18px}.section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-story--main{grid-column:span 2;grid-row:auto}}
@media(max-width:800px){.utility-note,.masthead__strapline{display:none}.masthead{min-height:100px}.logo-wordmark{font-size:31px}.logo-wordmark strong{font-size:32px}.nav-toggle{display:flex;align-items:center;gap:10px}.nav-wrap__inner{display:block}.site-nav{display:none}.site-nav--open{display:block}.site-nav__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 0 18px;gap:3px}.site-nav__list a{font-size:13px;padding:10px}.home-layout,.standard-layout{display:block;padding-block:24px 50px}.home-aside,.standard-aside{border-left:0;border-top:1px solid var(--line);padding:30px 0 0;margin-top:30px}.aside-sticky{position:static}.feed-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.single-story__header h1{font-size:36px}.footer-cols{grid-template-columns:repeat(2,1fr);gap:28px}.footer-cols>div:first-child{grid-column:span 2}}
@media(max-width:560px){.container{width:calc(100% - 28px)}.utility-bar__inner{min-height:34px}.masthead{min-height:85px}.logo-wordmark{font-size:27px}.logo-wordmark strong{font-size:27px}.masthead__right{gap:0}.search-toggle{width:40px;height:40px}.featured-grid,.section-grid,.related-grid{grid-template-columns:1fr 1fr;gap:14px}.featured-story--main{grid-column:span 2}.featured-story--main .featured-story__body h2{font-size:24px}.featured-story__body h2{font-size:15px}.section-heading h1,.section-heading h2{font-size:21px}.home-section{margin-top:36px}.story-card__title{font-size:14px}.feed-list{grid-template-columns:1fr}.article-list-item{grid-template-columns:118px 1fr;gap:13px}.article-list-item__copy h2{font-size:16px}.article-list-item__copy>p{display:none}.article-list-item__copy .byline{font-size:10px}.archive-heading h1{font-size:27px}.single-story__header h1{font-size:31px}.single-story__subtitle{font-size:17px}.entry-content{font-size:16px}.footer-cols{grid-template-columns:1fr}.footer-cols>div:first-child{grid-column:auto}.related-grid .story-card:last-child{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* Archive masthead facts copied from the 2025 capture, never shown as live data. */
.archive-market{display:flex;gap:20px;align-items:center;margin-left:auto;font-variant-numeric:tabular-nums}
.archive-market strong{color:var(--text);font-weight:500}
.archive-market small{font-size:10px;color:var(--muted)}
.archive-status{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}
@media(max-width:950px){.archive-market{display:none}}
