/*
Theme Name: Қымыз Ақпарат
Template: newsroom-base
Version: 1.0.0
Author: Разработчик
Description: Дочерняя тема издания Қымыз Ақпарат. Все стили сайта отделены от общей основы Newsroom.
Text Domain: kymis
*/
:root{--ink:#142b40;--muted:#697989;--blue:#086cc7;--blue-dark:#075493;--paper:#fff;--canvas:#f5f7fa;--line:#e0e7ee;--serif:Georgia,'Times New Roman',serif;--sans:Inter,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--canvas);font:16px/1.6 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button,input{font:inherit}button,a,input{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #70bafa;outline-offset:4px}img{max-width:100%;height:auto;display:block}button{cursor:pointer}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.2}h1,h2,h3,.brand{text-wrap:balance}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.skip-link{position:fixed;left:1rem;top:-100px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:1rem}.utility{background:var(--ink);color:#d9e6f2;font-size:11px;letter-spacing:.04em}.utility .wrap{height:34px;display:flex;align-items:center;justify-content:space-between}.utility a{color:#d9e6f2}.utility a:hover{color:white}.masthead{background:white;border-bottom:1px solid var(--line)}.brand-row{min-height:114px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{font:700 47px/.96 var(--serif);letter-spacing:-2.5px;display:block;color:var(--ink)}.brand span{color:var(--blue)}.brand-note{font-size:10px;letter-spacing:.18em;text-transform:uppercase;margin-top:11px;color:var(--muted)}.brand-mark{color:var(--blue);font-size:30px;margin-left:2px}.header-search{width:254px;display:flex;border:1px solid var(--line);border-radius:6px;background:var(--canvas);overflow:hidden}.header-search input{border:0;background:transparent;width:100%;padding:10px 12px;min-width:0;font-size:13px;color:var(--ink)}.header-search button{padding:8px 13px;border:0;background:transparent;color:var(--blue);display:flex;align-items:center}.header-search svg{width:19px;height:19px}.desktop-nav{border-top:1px solid var(--line)}.menu{list-style:none;display:flex;gap:31px;margin:0;padding:0}.desktop-nav .menu a{display:block;font-size:13px;font-weight:600;padding:17px 0;position:relative}.menu .current-menu-item>a,.menu .current-post-ancestor>a{color:var(--blue)}.desktop-nav .current-menu-item>a:after{content:'';height:3px;position:absolute;bottom:0;left:0;right:0;background:var(--blue)}.mobile-nav{display:none}.page-main{padding:34px 0 60px;min-height:60vh}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading h2{font-size:22px;margin:0;letter-spacing:-.6px}.section-heading h2:before{content:'';display:inline-block;width:4px;height:19px;border-radius:2px;background:var(--blue);margin-right:11px;vertical-align:-1px}.section-heading>a,.eyebrow{font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:700;color:var(--blue)}.hero-grid{display:grid;grid-template-columns:1.6fr 1fr;grid-template-rows:207px 207px;gap:16px;margin-bottom:38px}.hero-card{position:relative;overflow:hidden;background:#163b60;border-radius:9px;isolation:isolate;min-width:0;color:white;display:flex;align-items:flex-end}.hero-card:first-child{grid-row:1/3}.hero-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,25,42,.04) 10%,rgba(7,25,42,.91) 100%);z-index:-1}.hero-card .hero-image{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform .4s}.hero-card:hover .hero-image{transform:scale(1.025)}.hero-copy{padding:23px;width:100%}.hero-card:first-child .hero-copy{padding:30px}.pill{display:inline-block;background:var(--blue);border-radius:3px;color:#fff;padding:3px 8px;font-size:9px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin-bottom:11px}.hero-card h2{font-family:var(--serif);font-size:22px;font-weight:700;margin:0 0 11px;line-height:1.17}.hero-card:first-child h2{font-size:35px;max-width:620px;letter-spacing:-.6px}.hero-card a:hover{color:white}.meta{font-size:11px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.meta .category{font-weight:600;color:var(--blue)}.hero-card .meta{color:#d7e5f2;font-size:10px}.columns{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:36px;align-items:start}.news-list{background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 24px}.story{padding:24px 0;display:grid;grid-template-columns:minmax(0,1fr) 194px;gap:24px;border-bottom:1px solid var(--line);align-items:center}.story:last-child{border-bottom:0}.story.no-image{grid-template-columns:1fr}.story .meta{margin-bottom:10px}.story h2,.story h3{font:700 23px/1.23 var(--serif);margin:0 0 9px;letter-spacing:-.25px}.story p{color:var(--muted);font-size:12px;line-height:1.7;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.story-image{border-radius:6px;overflow:hidden;aspect-ratio:1.45;background:#ecf1f7}.story-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.story-image:hover img{transform:scale(1.035)}.sidebar-box{background:white;border:1px solid var(--line);border-radius:8px;padding:22px;margin-bottom:24px}.sidebar-title{font-size:15px;letter-spacing:-.3px;margin-bottom:17px;display:flex;align-items:center;gap:9px}.live-dot{width:7px;height:7px;background:var(--blue);border-radius:50%;box-shadow:0 0 0 4px #e9f3fd}.brief{padding:14px 0;border-bottom:1px solid var(--line)}.brief:last-child{border:0;padding-bottom:0}.brief time{color:var(--blue);font-size:10px;font-weight:600;display:block;margin-bottom:5px}.brief h3{font-size:13px;line-height:1.5;margin:0;font-weight:600}.sidebar-intro{background:var(--ink);color:white;position:relative;overflow:hidden}.sidebar-intro:after{content:'Қ';position:absolute;right:-15px;bottom:-71px;color:#ffffff0b;font:240px var(--serif);pointer-events:none}.sidebar-intro .mini-brand{font:700 29px var(--serif);margin-bottom:14px}.sidebar-intro p{font-size:12px;line-height:1.8;color:#bbcddc;margin-bottom:18px;position:relative;z-index:1}.sidebar-intro a{font-size:11px;color:#8ec9ff}.tag-cloud{display:flex;flex-wrap:wrap;gap:7px}.tag-cloud a{border:1px solid var(--line);background:var(--canvas);border-radius:4px;font-size:10px;padding:4px 8px;max-width:100%;overflow-wrap:anywhere}.tag-cloud a:hover{border-color:var(--blue);color:var(--blue)}.popular-list{list-style:none;padding:0;margin:0;counter-reset:top}.popular-list li{counter-increment:top;display:flex;gap:13px;border-bottom:1px solid var(--line);padding:14px 0;font-size:12px;font-weight:600;line-height:1.5}.popular-list li:before{content:counter(top,decimal-leading-zero);font:25px var(--serif);color:#99aebf;min-width:27px}.popular-list li:last-child{border:0;padding-bottom:0}.opinion-strip{margin-top:38px}.opinion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.opinion-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px;border-top:3px solid var(--blue)}.opinion-card h3{font:700 21px/1.3 var(--serif);margin:12px 0 18px}.pagination{display:flex;flex-wrap:wrap;gap:8px;padding:26px 0 0}.page-numbers{border:1px solid var(--line);background:white;border-radius:5px;font-size:12px;min-width:36px;text-align:center;padding:6px 10px}.page-numbers.current{color:#fff;background:var(--blue);border-color:var(--blue)}.archive-heading{margin-bottom:27px}.archive-heading h1{font:700 41px var(--serif);margin:8px 0 10px;letter-spacing:-1px}.archive-heading p{color:var(--muted);font-size:13px}.breadcrumbs{font-size:11px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.breadcrumbs a{color:var(--blue)}.article-panel{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.article-header{padding:32px 36px 25px}.article-header h1{font:700 clamp(28px,3.1vw,43px)/1.16 var(--serif);letter-spacing:-.7px;margin:16px 0 23px;overflow-wrap:anywhere}.article-header .meta{border-top:1px solid var(--line);padding-top:17px}.article-featured{margin:0}.article-featured img{width:100%;max-height:560px;object-fit:contain;background:#f0f3f6}.article-featured figcaption{font-size:11px;color:var(--muted);padding:8px 36px}.article-content{padding:30px 36px 20px;font-size:17px;line-height:1.9;color:#283c4b;overflow-wrap:anywhere}.article-content p{margin:0 0 1.4em}.article-content a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.article-content img{max-width:100%!important;height:auto!important;border-radius:3px;margin:20px auto}.article-content iframe{max-width:100%;border:0;display:block;margin:24px auto}.article-content iframe[src*='youtube'],.article-content iframe[src*='kaztrk']{width:100%;height:auto;aspect-ratio:16/9}.article-content blockquote{border-left:3px solid var(--blue);padding:12px 22px;margin:25px 0;background:var(--canvas);font-family:var(--serif);font-size:21px}.article-content table{width:100%;border-collapse:collapse;display:block;overflow:auto}.article-content td,.article-content th{padding:8px;border:1px solid var(--line)}.article-bottom{border-top:1px solid var(--line);margin:0 36px;padding:22px 0 30px;display:flex;justify-content:space-between;align-items:start;gap:18px}.article-bottom .tag-cloud{flex:1}.copy-link{white-space:nowrap;border:1px solid var(--line);border-radius:4px;padding:6px 10px;font-size:11px;background:#fff;color:var(--ink)}.related{margin-top:30px}.empty-state{padding:55px 30px;background:#fff;border:1px solid var(--line);border-radius:8px;text-align:center}.empty-state p{color:var(--muted)}.empty-state .header-search{margin:22px auto;max-width:100%}.button-link{display:inline-block;background:var(--blue);color:#fff;border-radius:5px;padding:10px 18px;font-size:13px}.button-link:hover{background:var(--blue-dark);color:#fff}.site-footer{background:var(--ink);color:#b2c5d4;padding:40px 0 22px}.footer-top{display:flex;justify-content:space-between;gap:35px;border-bottom:1px solid #ffffff1b;padding-bottom:31px}.site-footer .brand{color:white;font-size:35px;letter-spacing:-1.3px}.site-footer p{font-size:11px;margin:14px 0 0;max-width:330px}.site-footer .menu{display:grid;grid-template-columns:repeat(3,auto);column-gap:30px;row-gap:10px;font-size:12px}.site-footer .menu a:hover{color:#fff}.footer-bottom{font-size:10px;display:flex;justify-content:space-between;gap:15px;padding-top:22px}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
@media(min-width:1500px){.wrap{width:1260px}.hero-grid{grid-template-rows:224px 224px}.columns{grid-template-columns:minmax(0,1fr) 310px}.story-image{aspect-ratio:1.5}.story{grid-template-columns:minmax(0,1fr) 215px}}
@media(max-width:1000px){.wrap{width:calc(100% - 40px)}.columns{grid-template-columns:minmax(0,1fr) 250px;gap:24px}.menu{gap:22px}.hero-card:first-child h2{font-size:30px}.hero-card h2{font-size:20px}.story{grid-template-columns:minmax(0,1fr) 130px;gap:16px}.story h2,.story h3{font-size:21px}.news-list{padding:0 20px}.article-header,.article-content{padding-left:26px;padding-right:26px}.article-bottom{margin:0 26px}.sidebar-box{padding:18px}.opinion-card{padding:19px}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.utility{font-size:10px}.brand-row{min-height:97px;gap:10px}.brand{font-size:38px;letter-spacing:-1.7px}.brand-note{font-size:8px;letter-spacing:.13em}.brand-row>.header-search{display:none}.desktop-nav{display:none}.mobile-nav{display:block;position:relative;border-top:1px solid var(--line)}.mobile-nav summary{cursor:pointer;font-size:12px;font-weight:600;padding:12px 0;list-style:none;display:flex;align-items:center;justify-content:space-between}.mobile-nav summary:after{content:'☰';font-size:18px;color:var(--blue)}.mobile-nav[open] summary:after{content:'×';font-size:24px;line-height:1}.mobile-nav .menu{display:block;padding:3px 0 18px}.mobile-nav .menu a{display:block;padding:9px 0;font-size:14px}.mobile-nav .header-search{width:100%;margin-bottom:18px}.page-main{padding:25px 0 40px}.hero-grid{grid-template-columns:1fr 1fr;grid-template-rows:340px auto;gap:12px;margin-bottom:30px}.hero-card:first-child{grid-column:1/3;grid-row:auto}.hero-card:not(:first-child){min-height:220px}.hero-card:first-child .hero-copy{padding:24px}.hero-copy{padding:17px}.hero-card:first-child h2{font-size:30px}.hero-card h2{font-size:19px}.columns{grid-template-columns:1fr;gap:32px}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sidebar-box{margin:0;padding:21px}.sidebar .sidebar-intro{align-self:start}.story{grid-template-columns:minmax(0,1fr) 170px;gap:20px}.opinion-grid{grid-template-columns:1fr}.opinion-card h3{margin:10px 0 15px;font-size:23px}.opinion-strip{margin-top:32px}.article-header h1{font-size:35px}.article-content{font-size:17px}.footer-top{flex-direction:column}.site-footer .menu{grid-template-columns:repeat(3,1fr);font-size:12px}.footer-bottom{flex-direction:column;gap:7px}.archive-heading h1{font-size:35px}}
@media(max-width:440px){.wrap{width:calc(100% - 28px)}.brand{font-size:35px}.utility .wrap>span{font-size:9px}.hero-grid{grid-template-rows:310px auto;gap:10px}.hero-card:not(:first-child){min-height:220px}.hero-card:first-child h2{font-size:27px}.hero-card h2{font-size:18px;line-height:1.2}.hero-copy{padding:15px}.hero-card:first-child .hero-copy{padding:21px}.hero-card .meta{font-size:9px}.hero-card .pill{font-size:8px}.section-heading h2{font-size:21px}.story{grid-template-columns:minmax(0,1fr) 98px;gap:14px;padding:21px 0}.story h2,.story h3{font-size:21px}.story p{display:none}.story .meta{font-size:10px;gap:4px 9px}.news-list{padding:0 18px}.story-image{aspect-ratio:1}.sidebar{grid-template-columns:1fr}.article-header{padding:25px 21px 20px}.article-header h1{font-size:30px;line-height:1.2}.article-content{padding:24px 21px 15px;font-size:16px;line-height:1.9}.article-bottom{margin:0 21px;flex-direction:column}.article-featured figcaption{padding:8px 21px}.site-footer .menu{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Keep long archive headlines inside the smaller lead cards. */
.hero-card:not(:first-child) h2{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-wrap:wrap}.hero-card:first-child h2{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.hero-card:not(:first-child) .hero-copy{padding:20px}.hero-card:after{background:linear-gradient(180deg,rgba(7,25,42,.12) 0%,rgba(7,25,42,.94) 100%)}
@media(max-width:440px){.hero-card:not(:first-child) .hero-copy{padding:15px}.hero-card:not(:first-child) h2{-webkit-line-clamp:4}}
