
/* noutbuki.kz V8 SEO + multilingual + content hubs */
.lang-switch{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-left:auto;direction:ltr;flex-shrink:0}
.lang-switch a{font-size:11px;white-space:nowrap;text-decoration:none;color:#d5dfee;border:1px solid rgba(255,255,255,.22);border-radius:7px;padding:4px 7px;font-weight:700;line-height:1.3;transition:background .2s}
.lang-switch a:hover,.lang-switch a.active{color:#fff;background:#ef172d;border-color:#ef172d}
.utility-strip{gap:12px}
.seo-explore-section{padding:26px 0 50px}
.seo-explore-section h2{margin:0 0 10px;font-size:clamp(23px,3vw,34px);color:#0c1933}
.seo-explore-section>p{max-width:850px;color:#4e5a6b;line-height:1.6}
.seo-explore-cta{display:inline-flex;margin:12px 10px 20px 0}
.seo-quick-links{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 10px}
.seo-quick-links a{border:1px solid #e0e4eb;border-radius:10px;padding:10px 13px;text-decoration:none;background:#fff;color:#15213a;font-size:13px;font-weight:700;box-shadow:0 2px 6px rgba(0,0,0,.03)}
.seo-quick-links a:hover{border-color:#ed1b2f;color:#d5172c}
.seo-landing-block{padding:24px;background:linear-gradient(100deg,#f3f7ff,#fff);border:1px solid #e5ebf5;border-radius:14px;margin-bottom:18px}
.seo-landing-block h2{font-size:clamp(20px,2vw,28px);margin:0 0 8px}
.seo-landing-block p{color:#475267;font-size:14px;line-height:1.65;margin:7px 0}
.content-hub{padding-top:30px;padding-bottom:65px}
.content-hub h1{font-size:clamp(27px,3.5vw,48px);max-width:1050px;color:#081529;line-height:1.12;margin:20px 0 14px}
.content-hub h2{font-size:clamp(22px,2.5vw,31px);margin:26px 0 18px;color:#0c1933}
.hub-lead{color:#536276;line-height:1.8;max-width:940px;font-size:16px}
.news-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 19px}
.news-tab{border:1px solid #dce3ec;padding:9px 15px;border-radius:24px;background:#fff;color:#13213c;font-weight:700;cursor:pointer}
.news-tab.active,.news-tab:hover{background:#db0f28;border-color:#db0f28;color:#fff}
.news-status{min-height:18px;color:#67768a;font-size:13px;margin:8px 0 12px}
.news-grid,.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:15px 0 35px}
.news-card,.guide-card{border:1px solid #e4e9f0;border-radius:16px;background:#fff;padding:19px;box-shadow:0 4px 17px rgba(14,26,45,.035);display:flex;flex-direction:column;min-height:182px}
.news-card-meta{font-size:12px;color:#69768b;display:flex;gap:12px;justify-content:space-between;margin-bottom:7px}
.news-card h3,.guide-card h3{font-size:17px;line-height:1.45;margin:7px 0 10px;color:#12213d;overflow-wrap:anywhere}
.news-card p,.guide-card p{color:#546075;font-size:13px;line-height:1.7;flex:1}
.news-card>a,.guide-link{color:#d5162b;font-size:13px;text-decoration:none;font-weight:800;margin-top:8px}
.guide-card h3 a{text-decoration:none;color:inherit}
.guide-card-topic,.guide-tag{font-size:11px;display:inline-flex;width:max-content;border-radius:6px;padding:5px 9px;background:#eff4ff;color:#254da3;font-weight:800}
.news-source-note{font-size:12px;color:#667488;line-height:1.7}
.guide-detail{padding:35px 0 75px;max-width:920px}
.guide-detail .guide-tag{margin:22px 0 0}
.guide-detail h1{font-size:clamp(27px,3.2vw,44px);line-height:1.18;margin:15px 0 16px;color:#0d1930}
.guide-detail h2{font-size:25px;margin:29px 0 14px}
.guide-detail .guide-intro{font-size:17px;color:#34465f;border-left:3px solid #f0172c;padding-left:16px}
.guide-detail p,.guide-detail li{font-size:16px;line-height:1.9;color:#38465d}
.guide-detail ul{padding-left:25px}
.guide-detail .btn{margin-top:20px}
[dir="rtl"] .guide-detail .guide-intro{border-left:0;border-right:3px solid #f0172c;padding-left:0;padding-right:16px}
[dir="rtl"] .guide-detail ul{padding-left:0;padding-right:25px}
[dir="rtl"] .news-card,[dir="rtl"] .guide-card{text-align:right}
/* Keep mobile language selector visible without hiding site buttons */
@media(max-width:920px){.utility-strip>span{display:none}.utility-strip .utility-contact{font-size:11px}.lang-switch{margin-left:auto}}
@media(max-width:690px){.announcement{display:block!important;height:auto!important;min-height:34px!important}.utility-strip{display:flex!important;align-items:center;justify-content:space-between;gap:5px;min-height:34px!important;padding-top:3px!important;padding-bottom:3px!important}.utility-strip>.utility-contact{display:none!important}.lang-switch{margin:0 0 0 auto;gap:3px;max-width:100%}.lang-switch a{font-size:10px;padding:3px 6px;white-space:nowrap}.news-grid,.guide-grid{grid-template-columns:1fr}.content-hub{padding-top:18px}.seo-explore-section{padding:20px 0 35px}.seo-landing-block{padding:14px}.guide-detail{padding:18px 0 50px}}
@media(min-width:691px) and (max-width:1150px){.news-grid,.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.lang-switch a{font-size:9px;padding:3px 5px}}

/* Keep the five-language switch consistently at top-right, including Arabic RTL pages. */
.announcement .utility-strip{direction:ltr}
[dir="rtl"] .announcement .utility-strip>span,[dir="rtl"] .announcement .utility-contact{direction:rtl}
/* V9: Arabic: isolate the hero art from RTL text, avoid text/image overlap. */
html[lang="ar"] .hero.hero-v6{direction:ltr!important}
html[lang="ar"] .hero-v6 .hero-copy{direction:rtl!important;text-align:right!important;width:56%;position:relative;z-index:4;padding-left:4%;padding-right:5%}
html[lang="ar"] .hero-v6 .hero-copy h1{letter-spacing:0!important;max-width:100%;overflow-wrap:normal;line-height:1.25!important;font-size:clamp(27px,2.7vw,43px)!important}
html[lang="ar"] .hero-v6 .hero-image{right:0!important;left:auto!important;max-width:49%!important;z-index:2}
html[lang="ar"] .hero-v6 .hero-points{direction:rtl;justify-content:flex-start}
html[lang="ar"] .hero-v6 .hero-actions{justify-content:flex-start;direction:rtl}
html[lang="ar"] .hero-v6 .hero-desc{line-height:1.5}
html[lang="ar"] .site-header,html[lang="ar"] .nav-main{direction:rtl}
html[lang="ar"] .nk-language-header{direction:ltr!important}
html[lang="ar"] .product-title,html[lang="ar"] .product-price{unicode-bidi:plaintext}
html[lang="ar"] .product-title{overflow-wrap:anywhere}
@media(max-width:960px){html[lang="ar"] .hero-v6 .hero-copy h1{font-size:clamp(23px,3vw,34px)!important}}
@media(max-width:690px){
 html[lang="ar"] .hero.hero-v6{direction:ltr!important;overflow:hidden!important}
 html[lang="ar"] .hero-v6 .hero-copy{direction:rtl!important;width:100%!important;padding:16px 18px!important;text-align:right!important}
 html[lang="ar"] .hero-v6 .hero-copy h1{font-size:clamp(24px,6vw,31px)!important;max-width:100%!important;line-height:1.24!important}
 html[lang="ar"] .hero-v6 .hero-desc{max-width:90%;margin-left:auto}
 html[lang="ar"] .hero-v6 .hero-image{left:-7%!important;right:auto!important;width:72%!important;max-width:72%!important;bottom:-7px!important;height:auto!important;max-height:140px!important}
}
