/*
Theme Name: Bilim Shuagy V54 — Multilingual Visible
Theme URI: https://bilimshuagy.kz
Author: Bilim Shuagy
Description: Білім шуағы журналына арналған жаңадан жасалған жеңіл WordPress тақырыбы.
Version: 54.0.0
Requires at least: 5.5
Requires PHP: 7.4
Text Domain: bilimshuagy-fresh
*/

:root{
  --blue:#075783;
  --blue2:#0b6a99;
  --navy:#143b5c;
  --gold:#d7a739;
  --gold2:#edc862;
  --cream:#f8f0dd;
  --text:#193b58;
  --muted:#74879a;
  --line:#e6edf3;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--text)}
a{color:inherit}
img{max-width:100%;height:auto}
.container{width:min(1180px,calc(100% - 36px));margin:0 auto}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:8px;text-decoration:none;font-weight:700;border:0;cursor:pointer;transition:.18s}
.btn:hover{transform:translateY(-1px)}
.btn-gold{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#fff;box-shadow:0 6px 16px rgba(186,132,28,.2)}
.btn-outline{background:transparent;border:1.5px solid rgba(255,255,255,.8);color:#fff}
.btn-blue{background:linear-gradient(135deg,#0f5c8d,#064b7f);color:#fff}
.small{padding:10px 18px;font-size:13px}

.topline{height:36px;background:linear-gradient(90deg,#0a5481,#0b6f9d);color:#fff;font-size:13px}
.topline .inner{height:100%;display:flex;justify-content:space-between;align-items:center}
.topline .left,.topline .right{display:flex;gap:18px;align-items:center}
.topline a{text-decoration:none}
.site-header{background:#fff;position:sticky;top:0;z-index:30;box-shadow:0 4px 14px rgba(13,74,111,.08)}
.header-inner{min-height:86px;display:flex;align-items:center;gap:26px}
.brand img{width:272px;display:block}
.main-nav{display:flex;gap:22px;margin-left:auto;align-items:center}
.main-nav a{text-decoration:none;font-weight:700;font-size:14px;color:#294a62;position:relative}
.main-nav a.active,.main-nav a:hover{color:#0a5d88}
.main-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:-15px;height:2px;background:#0a5d88}
.header-actions{display:flex;gap:12px;align-items:center}
.cart-mini{border:0;background:#fff;font-size:21px;cursor:pointer}
.menu-toggle{display:none;border:0;background:#fff;font-size:24px}

.hero{position:relative;overflow:hidden;background:
linear-gradient(90deg,rgba(4,58,91,.98) 0%,rgba(5,73,105,.94) 45%,rgba(10,94,130,.4) 64%,rgba(242,220,170,.45) 100%),
radial-gradient(circle at 82% 33%,#fff7d2 0 11%,rgba(251,226,149,.7) 12% 22%,transparent 23%),
linear-gradient(135deg,#0b5c86,#d9c28c);
color:#fff}
.hero:after{content:"";position:absolute;right:0;top:0;bottom:0;width:16px;background:repeating-linear-gradient(180deg,#d8aa3d 0 9px,#0b658f 9px 18px);opacity:.8}
.hero-grid{min-height:420px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;position:relative;z-index:2}
.hero-copy{padding:52px 0}
.hero-eyebrow{font-family:Georgia,serif;font-style:italic;color:#efc76b;font-size:24px;margin-bottom:12px}
.hero h1{font-family:Georgia,serif;font-size:66px;line-height:1;margin:0 0 10px;color:#f1cf67;letter-spacing:.02em;text-shadow:0 3px 20px rgba(0,0,0,.2)}
.hero h2{font-size:24px;margin:0 0 14px}
.hero p{font-size:17px;line-height:1.58;max-width:620px;color:#ecf6fa}
.hero-actions{display:flex;gap:14px;margin-top:24px;flex-wrap:wrap}
.hero-art{position:relative;height:100%;min-height:390px}
.hero-art .library{position:absolute;inset:0;background:
linear-gradient(90deg,rgba(9,73,103,.2),rgba(255,255,255,.05)),
repeating-linear-gradient(90deg,transparent 0 54px,rgba(255,255,255,.025) 55px 58px)}
.hero-art .map{position:absolute;left:70px;top:145px;width:230px;height:115px;background:#1d7196;clip-path:polygon(0 44%,10% 31%,21% 36%,30% 18%,42% 28%,51% 11%,63% 21%,74% 7%,88% 22%,100% 20%,92% 42%,99% 60%,86% 64%,74% 80%,60% 70%,46% 87%,31% 74%,18% 82%,8% 64%);opacity:.95;filter:drop-shadow(0 8px 10px rgba(0,0,0,.12))}
.hero-art .quote{position:absolute;right:38px;top:55px;max-width:220px;font-family:Georgia,serif;font-style:italic;font-size:24px;line-height:1.35;color:#31526a;text-align:center;transform:rotate(-2deg)}
.hero-art .globe{position:absolute;right:18px;bottom:28px;font-size:135px;filter:drop-shadow(0 16px 18px rgba(0,0,0,.24))}
.hero-art .books{position:absolute;right:138px;bottom:15px;font-size:155px;filter:drop-shadow(0 15px 18px rgba(0,0,0,.26))}
.hero-art .pen{position:absolute;right:-2px;bottom:0;font-size:68px;transform:rotate(-18deg)}

.features{background:#fff;border-bottom:1px solid var(--line)}
.feature-grid{display:grid;grid-template-columns:repeat(5,1fr)}
.feature{text-align:center;padding:22px 14px;border-right:1px solid #edf2f6}
.feature:last-child{border-right:0}
.feature .icon{font-size:37px;margin-bottom:8px}
.feature strong{display:block;color:#0b557d;font-size:15px}
.feature span{display:block;color:#6f8496;font-size:12px;line-height:1.45;margin-top:5px}

.journals{padding:26px 0 30px;background:linear-gradient(180deg,#f9fcff,#f4f9fd)}
.section-title{display:flex;justify-content:center;align-items:center;gap:18px;margin-bottom:4px}
.section-title .orn{width:52px;height:2px;background:linear-gradient(90deg,transparent,#d9a93d)}
.section-title .orn:last-child{transform:scaleX(-1)}
.section-title h2{font-family:Georgia,serif;font-size:38px;margin:0;color:#173c59}
.section-sub{text-align:center;color:#526d82;font-size:14px;margin:0 0 20px}
.mag-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.mag-card{text-align:center}
.mag-cover{display:block;border-radius:7px;overflow:hidden;background:#fff;box-shadow:0 10px 24px rgba(24,60,89,.18);transition:.18s}
.mag-cover:hover{transform:translateY(-5px)}
.mag-cover img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.mag-card h3{font-size:14px;margin:12px 0 4px;min-height:34px}
.mag-card .issue{font-size:12px;color:#566f82;display:block;margin-bottom:9px}
.mag-card .archive{display:inline-flex;min-width:112px;justify-content:center;background:linear-gradient(135deg,#0e5e94,#054d84);color:#fff;text-decoration:none;padding:10px 16px;border-radius:6px;font-size:13px;font-weight:700}

.cta-strip{background:linear-gradient(90deg,#eee5d3 0%,#fff8e8 58%,#0e658e 58%,#0e658e 100%)}
.cta-grid{display:grid;grid-template-columns:1.4fr .6fr;min-height:114px;align-items:center}
.cta-copy{text-align:center;padding:20px 30px}
.cta-copy h2{font-family:Georgia,serif;font-size:24px;line-height:1.35;margin:0 0 14px;color:#183c58}
.cta-side{color:#fff;text-align:center;font-size:23px;font-weight:700}
.cta-side span{display:block;font-size:15px;font-weight:400;margin-top:3px}

.stats{background:#fff;border-bottom:1px solid var(--line)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{text-align:center;padding:21px;border-right:1px solid #edf1f5}
.stat:last-child{border-right:0}
.stat strong{display:block;font-size:29px;color:#0a5a84}
.stat span{display:block;font-size:13px;color:#738596;margin-top:2px}

.news{padding:28px 0 32px;background:#fff}
.news-grid-wrap{display:grid;grid-template-columns:1fr 320px;gap:22px}
.news-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.news-heading h2{font-family:Georgia,serif;font-size:31px;margin:0}
.news-heading a{font-size:12px;text-decoration:none;color:#0b608b;font-weight:700}
.news-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.news-card{background:#fff;border:1px solid #e4ebf1;border-radius:10px;overflow:hidden;box-shadow:0 6px 14px rgba(14,76,111,.06)}
.news-img{height:126px;background:linear-gradient(135deg,#d6dde3,#eee5d7)}
.news-card:nth-child(2) .news-img{background:linear-gradient(135deg,#dbe2e8,#f2ede4)}
.news-card:nth-child(3) .news-img{background:linear-gradient(135deg,#d1d9df,#ececec)}
.news-body{padding:13px}
.news-body .date{font-size:10px;color:#788a99}
.news-body h3{font-size:14px;line-height:1.4;margin:8px 0 10px}
.news-body a{font-size:11px;text-decoration:none;color:#0a5d87;font-weight:700}
.subscribe{background:linear-gradient(135deg,#eef8ff,#e3f2fb);border-radius:12px;padding:22px}
.subscribe .plane{font-size:36px;text-align:right}
.subscribe h3{font-family:Georgia,serif;font-size:23px;margin:0 0 10px}
.subscribe p{font-size:13px;color:#566e80;line-height:1.5}
.subscribe form{display:flex;margin-top:12px}
.subscribe input{flex:1;min-width:0;border:1px solid #d4e1e9;padding:12px;border-radius:7px 0 0 7px}
.subscribe button{border-radius:0 7px 7px 0}

.site-footer{background:linear-gradient(90deg,#0b5378,#0a6387);color:#fff;padding:28px 0 14px}
.footer-grid{display:grid;grid-template-columns:1fr 1.3fr .8fr;align-items:center;gap:26px}
.footer-brand img{width:250px;background:#fff}
.footer-brand p{font-size:12px;color:#d8e6ee;margin:4px 0}
.footer-quote{text-align:center;font-family:Georgia,serif;font-style:italic;color:#f0c65e;font-size:22px}
.footer-social{text-align:right;font-size:13px;line-height:1.7}
.footer-bottom{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.18);padding-top:14px;margin-top:20px;font-size:12px}
.footer-bottom a{text-decoration:none}
.footer-bottom .copy{margin-left:auto}

@media(max-width:1050px){
  .main-nav{gap:13px}
  .mag-grid{grid-template-columns:repeat(3,1fr)}
  .feature-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:850px){
  .topline{display:none}
  .main-nav{display:none}
  .menu-toggle{display:block;margin-left:auto}
  .header-actions .btn-gold{display:none}
  .hero-grid{grid-template-columns:1fr}
  .hero-art{min-height:250px}
  .hero h1{font-size:50px}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .mag-grid{grid-template-columns:repeat(2,1fr)}
  .cta-strip{background:linear-gradient(#fff8e8 0 58%,#0e658e 58%)}
  .cta-grid{grid-template-columns:1fr}
  .news-grid-wrap{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;text-align:center}
  .footer-social{text-align:center}
  .footer-bottom{justify-content:center}
  .footer-bottom .copy{margin-left:0;width:100%;text-align:center}
}
@media(max-width:560px){
  .hero h1{font-size:39px}
  .feature-grid,.mag-grid,.stats-grid,.news-cards{grid-template-columns:1fr}
  .section-title h2{font-size:31px}
  .subscribe form{flex-direction:column}
  .subscribe input,.subscribe button{border-radius:7px;margin-top:6px}
}

/* ===== V11 live fixes ===== */
.brand img{width:290px;height:auto;background:#fff}
.hero-art{
  background-image:linear-gradient(90deg,rgba(4,71,105,.18),rgba(255,255,255,.02)),url("assets/images/hero-v11.jpg");
  background-size:cover;
  background-position:center;
  min-height:390px;
}
.hero-art .library,.hero-art .map,.hero-art .quote,.hero-art .globe,.hero-art .books,.hero-art .pen{display:none!important}
.mag-cover img{background:#fff}
.v11-badge{position:fixed;right:10px;bottom:10px;z-index:99999;background:#1372a3;color:#fff;padding:7px 10px;border-radius:6px;font:12px Arial;box-shadow:0 2px 8px rgba(0,0,0,.22)}

/* V12 order buttons + modal */
.mag-actions{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}
.order-journal-btn{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:10px 12px;border:0;border-radius:6px;background:linear-gradient(135deg,#d5a43a,#efc965);color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.order-modal-v12{display:none;position:fixed;inset:0;z-index:100000;background:rgba(4,35,55,.72);padding:24px;overflow:auto}
.order-modal-v12.open{display:flex;align-items:center;justify-content:center}
.order-box-v12{width:min(720px,100%);background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.28);overflow:hidden}
.order-head-v12{background:linear-gradient(90deg,#075783,#0b6d99);color:#fff;padding:20px 24px;display:flex;justify-content:space-between;gap:20px}
.order-head-v12 h2{margin:0;font-family:Georgia,serif}
.order-close-v12{border:0;background:transparent;color:#fff;font-size:26px;cursor:pointer}
.order-body-v12{padding:22px}
.order-selected{background:#eef7fc;border:1px solid #d8eaf4;border-radius:9px;padding:12px 14px;margin-bottom:16px;font-weight:700}
.order-grid-v12{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.order-field-v12 label{display:block;font-size:12px;font-weight:700;margin-bottom:5px}
.order-field-v12 input,.order-field-v12 textarea{width:100%;padding:11px 12px;border:1px solid #cedbe4;border-radius:7px;font:inherit}
.order-field-v12.full{grid-column:1/-1}
.order-files-v12{background:#faf7ef;border-radius:10px;padding:14px;margin-top:14px}
.order-pay-v12{display:grid;grid-template-columns:150px 1fr;gap:16px;align-items:center;margin-top:15px}
.order-pay-v12 img{width:145px;border:1px solid #e0e0e0;border-radius:8px}
.order-submit-v12{width:100%;margin-top:18px}
.order-status-v12{margin-top:12px;font-weight:700}
@media(max-width:620px){.order-grid-v12{grid-template-columns:1fr}.order-field-v12.full{grid-column:auto}.order-pay-v12{grid-template-columns:1fr}.order-pay-v12 img{margin:auto}}

.order-pay-v12 img{width:190px!important;max-height:330px;object-fit:contain;background:#fff;padding:5px}

/* V14 article rules page */
.rules-hero{background:linear-gradient(135deg,#075783,#0b709b);color:#fff;padding:52px 0;text-align:center}
.rules-hero h1{font-family:Georgia,serif;font-size:42px;margin:0 0 10px}
.rules-hero p{max-width:760px;margin:auto;line-height:1.6;color:#eaf5fa}
.rules-wrap{padding:42px 0;background:#f7fbfe}
.rules-card{max-width:900px;margin:auto;background:#fff;border:1px solid #e3ebf1;border-radius:16px;padding:32px;box-shadow:0 10px 30px rgba(20,70,100,.08)}
.rules-card h2{font-family:Georgia,serif;color:#0b567e;margin-top:30px}
.rules-card h2:first-child{margin-top:0}
.rules-card p,.rules-card li{line-height:1.7;color:#405c70}
.rules-card li{margin-bottom:8px}
.rules-note{background:#fff7e5;border-left:4px solid #d7a739;padding:15px 17px;border-radius:7px;margin:20px 0}
.rules-submit{margin-top:28px;padding-top:22px;border-top:1px solid #e4ebf0;text-align:center}

/* V18 Editorial board */
.editorial-hero{background:linear-gradient(135deg,#075783,#0b709b);color:#fff;padding:52px 0;text-align:center}
.editorial-hero h1{font-family:Georgia,serif;font-size:42px;margin:0 0 10px}
.editorial-hero p{max-width:760px;margin:auto;color:#e9f5fb;line-height:1.6}
.editorial-wrap{padding:44px 0;background:#f7fbfe}
.editorial-list{max-width:980px;margin:auto;display:grid;gap:16px}
.editorial-person{background:#fff;border:1px solid #e1ebf1;border-radius:14px;padding:22px 25px;box-shadow:0 8px 25px rgba(16,72,103,.06);position:relative}
.editorial-person:before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:#d8a83b}
.editorial-person h2{font-size:19px;color:#075783;margin:0 0 7px;font-family:Georgia,serif}
.editorial-person p{margin:0;color:#435f70;line-height:1.7}
@media(max-width:600px){.editorial-hero h1{font-size:32px}.editorial-person{padding:19px}}

.editorial-chief{border:2px solid #d8a83b!important;background:linear-gradient(135deg,#fffdf7,#ffffff)!important}
.editorial-chief h2{font-size:22px!important;color:#8a6515!important}
.editorial-chief .chief-label{display:inline-block;margin-bottom:7px;font-weight:800;color:#075783;text-transform:uppercase;letter-spacing:.5px;font-size:12px}

.mag-card h3 a{color:inherit;text-decoration:none}.mag-card h3 a:hover{text-decoration:underline}

/* V22 Contact page */
.contact-hero{background:linear-gradient(135deg,#075783,#0b709b);color:#fff;padding:52px 0;text-align:center}
.contact-hero h1{font-family:Georgia,serif;font-size:42px;margin:0 0 10px}
.contact-hero p{max-width:720px;margin:auto;color:#eaf5fa;line-height:1.6}
.contact-page-wrap{padding:45px 0;background:#f7fbfe}
.contact-grid-v22{max-width:980px;margin:auto;display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.contact-card-v22{background:#fff;border:1px solid #e1ebf1;border-radius:15px;padding:25px;box-shadow:0 8px 25px rgba(16,72,103,.06)}
.contact-card-v22 h2{font-family:Georgia,serif;color:#075783;font-size:20px;margin:0 0 10px}
.contact-card-v22 p,.contact-card-v22 a{color:#435f70;line-height:1.7;text-decoration:none}
.contact-card-v22 a:hover{text-decoration:underline}
.contact-card-v22.full{grid-column:1/-1}
.contact-actions-v22{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
@media(max-width:650px){.contact-grid-v22{grid-template-columns:1fr}.contact-card-v22.full{grid-column:auto}.contact-hero h1{font-size:34px}}

/* V23: Байланыс бетінде батырмалар анық көрінуі үшін */
.contact-page-wrap .contact-whatsapp-v23{
  background:#ffffff!important;color:#075783!important;border:2px solid #075783!important;
  box-shadow:0 5px 14px rgba(7,87,131,.12)!important
}
.contact-page-wrap .contact-whatsapp-v23:hover{background:#eef8fd!important;color:#064665!important}
.contact-page-wrap .contact-instagram-v23{
  background:#8f3ab5!important;color:#ffffff!important;border:2px solid #8f3ab5!important;
  box-shadow:0 5px 14px rgba(90,40,110,.18)!important
}
.contact-page-wrap .contact-instagram-v23:hover{filter:brightness(.93)}
.contact-page-wrap .contact-journals-v23{
  background:#d5a43a!important;color:#ffffff!important;border:2px solid #d5a43a!important;
  box-shadow:0 5px 14px rgba(150,105,20,.18)!important
}
.contact-page-wrap .contact-journals-v23:hover{background:#bc8b27!important;color:#fff!important}
.contact-page-wrap .contact-rules-v23{
  background:#ffffff!important;color:#075783!important;border:2px solid #075783!important
}

/* V24 top menu order button */
.header-order-link{
  display:inline-flex!important;align-items:center;justify-content:center;
  padding:10px 16px!important;border-radius:7px!important;
  background:#d5a43a!important;color:#fff!important;font-weight:700!important;
  text-decoration:none!important
}
.header-order-link:hover{background:#bc8b27!important;color:#fff!important}

.issue-file-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:7px;background:#075783;color:#fff!important;font-weight:700;text-decoration:none;margin-top:10px}
.issue-file-btn:hover{background:#064767;color:#fff!important}



/* V27 — reference-inspired archive */
.bs-archive-page{background:#fff}
.bs-archive-hero{background:linear-gradient(180deg,#f7f9fc 0%,#fff 100%);padding:66px 0 76px}
.bs-archive-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:70px;align-items:center}
.bs-archive-kicker{font-size:12px;font-weight:800;letter-spacing:.18em;color:#d5a43a;margin-bottom:14px}
.bs-archive-hero h1{font-size:48px;line-height:1.05;margin:0 0 14px;color:#13203a;font-weight:800}
.bs-archive-hero p{font-size:17px;color:#65718a;margin:0 0 24px;max-width:720px}
.bs-back-journals{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border:1px solid #cad4e3;border-radius:28px;color:#123b66!important;font-weight:700;text-decoration:none;background:#fff}
.bs-back-journals:hover{border-color:#d5a43a;color:#b77d08!important}
.bs-archive-hero-cover{text-align:center}
.bs-archive-hero-cover img{display:block!important;width:180px!important;max-height:260px!important;object-fit:cover!important;margin:0 auto!important;border-radius:12px;box-shadow:0 18px 45px rgba(27,41,67,.16)}
.bs-issues-section{padding:30px 0 80px}
.bs-issues-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.bs-issue-card{background:#fff;border:1px solid #e4e9f1;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(17,35,62,.06);transition:.2s ease}
.bs-issue-card:hover{transform:translateY(-3px);box-shadow:0 14px 38px rgba(17,35,62,.1)}
.bs-issue-cover{background:#f5f7fb;aspect-ratio:3/4;overflow:hidden}
.bs-issue-cover img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.bs-issue-info{padding:18px}
.bs-issue-info h2{font-size:19px;line-height:1.3;margin:0 0 8px;color:#14345c}
.bs-issue-mag{font-size:13px;color:#6a7890;margin-bottom:6px}
.bs-issue-date{font-size:13px;color:#8a96a8;margin-bottom:14px}
.bs-open-pdf{display:inline-flex;padding:10px 14px;border-radius:9px;background:#0b5f8c;color:#fff!important;text-decoration:none;font-weight:700}
.bs-open-pdf:hover{background:#084d73;color:#fff!important}
.bs-empty-archive{padding:35px;border:1px dashed #ccd5e2;border-radius:14px;text-align:center;color:#6c7890;background:#fafbfd}
@media(max-width:1000px){
  .bs-archive-hero-grid{grid-template-columns:1fr 220px;gap:30px}
  .bs-issues-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .bs-archive-hero{padding:42px 0 50px}
  .bs-archive-hero-grid{grid-template-columns:1fr;text-align:left}
  .bs-archive-hero h1{font-size:34px}
  .bs-archive-hero-cover{order:-1;text-align:left}
  .bs-archive-hero-cover img{margin:0!important;width:145px!important;max-height:215px!important}
  .bs-issues-grid{grid-template-columns:1fr}
}

/* V29 — ықшам мұрағат карточкалары */
.bs-archive-page{background:#fff}
.bs-archive-hero{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
  padding:58px 0 52px
}
.bs-archive-hero-grid{
  display:grid;grid-template-columns:minmax(0,1fr) 340px;
  gap:50px;align-items:center
}
.bs-archive-kicker{
  font-size:13px;font-weight:800;letter-spacing:.16em;
  color:#d5a43a;margin-bottom:14px
}
.bs-archive-hero h1{
  margin:0 0 12px;color:#0e2b50;font-size:46px;line-height:1.05;font-weight:800
}
.bs-archive-hero p{
  margin:0 0 24px;max-width:760px;color:#6d7c94;font-size:17px
}
.bs-back-journals{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 18px;border:1px solid #bfcde0;border-radius:28px;
  background:#fff;color:#0c3d6f!important;text-decoration:none;font-weight:700
}
.bs-back-journals:hover{border-color:#d5a43a;color:#b47c0b!important}
.bs-archive-hero-art{position:relative;min-height:180px;opacity:.18}
.bs-book-shape{
  position:absolute;right:0;bottom:8px;width:250px;height:105px;
  border-radius:50% 50% 12px 12px;
  border-bottom:8px solid #d6b26a;
  transform:skewX(-8deg)
}
.bs-book-shape:before,.bs-book-shape:after{
  content:"";position:absolute;bottom:0;width:48%;height:80px;
  border-top:3px solid #d6b26a;border-radius:50% 50% 0 0
}
.bs-book-shape:before{left:0;transform:rotate(8deg)}
.bs-book-shape:after{right:0;transform:rotate(-8deg)}
.bs-feather-shape{
  position:absolute;right:40px;top:0;font-size:112px;color:#d6b26a;
  transform:rotate(-12deg)
}

.bs-issues-section{padding:26px 0 78px}
.bs-issues-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:18px
}
.bs-issue-card{
  background:#fff;border:1px solid #e1e7f0;border-radius:16px;
  overflow:hidden;box-shadow:0 8px 24px rgba(18,45,78,.06);
  transition:transform .2s ease,box-shadow .2s ease
}
.bs-issue-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(18,45,78,.10)
}
.bs-issue-cover{
  margin:16px 16px 0;background:#f7f9fc;
  border-radius:10px;overflow:hidden;aspect-ratio:3/4
}
.bs-issue-cover img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important
}
.bs-issue-info{padding:14px 16px 17px}
.bs-issue-year{
  display:inline-flex;padding:6px 9px;border-radius:999px;
  background:#eef3f8;color:#173e68;font-size:11px;font-weight:800;
  margin-bottom:9px
}
.bs-issue-info h2{
  margin:0 0 10px;font-size:19px;line-height:1.2;color:#0e3562;font-weight:800
}
.bs-issue-date{
  font-size:12px;line-height:1.45;color:#718099;margin-bottom:14px
}
.bs-issue-actions{
  display:flex;gap:8px;flex-wrap:wrap
}
.bs-open-pdf,.bs-download-pdf{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:36px;padding:8px 11px;border-radius:22px;
  text-decoration:none;font-size:12px;font-weight:800
}
.bs-open-pdf{
  background:#0c5d91;color:#fff!important;border:1px solid #0c5d91
}
.bs-open-pdf:hover{background:#084d77;color:#fff!important}
.bs-download-pdf{
  background:#fff;color:#0d3b68!important;border:1px solid #c8d5e5
}
.bs-download-pdf:hover{border-color:#0c5d91;color:#0c5d91!important}
.bs-pagination{
  display:flex;justify-content:center;align-items:center;gap:9px;margin-top:38px
}
.bs-page-number,.bs-page-arrow{
  width:42px;height:42px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #dce4ef;background:#fff;color:#143c68!important;
  text-decoration:none;font-weight:700
}
.bs-page-number.active{
  background:#0c5d91;color:#fff!important;border-color:#0c5d91
}
.bs-page-arrow.disabled{opacity:.35}
.bs-empty-archive{
  padding:36px;border:1px dashed #ccd6e4;border-radius:14px;
  text-align:center;color:#6d7b91;background:#fbfcfe
}

@media(max-width:1350px){
  .bs-issues-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1000px){
  .bs-archive-hero-grid{grid-template-columns:1fr 240px}
  .bs-issues-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .bs-archive-hero{padding:42px 0}
  .bs-archive-hero-grid{grid-template-columns:1fr}
  .bs-archive-hero h1{font-size:34px}
  .bs-archive-hero-art{display:none}
  .bs-issues-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .bs-issues-grid{grid-template-columns:1fr}
}

/* V30 */
.bs-issue-info h2{margin-top:2px}.bs-issue-year{display:none!important}

/* V31 — PDF бірінші бетін браузерде тікелей мұқаба ретінде көрсету */
.bs-issue-cover{position:relative;background:#f4f7fb}
.bs-pdf-cover-canvas{
  display:block;width:100%!important;height:100%!important;
  object-fit:cover;background:#fff
}
.bs-pdf-cover-fallback{
  display:none!important;width:100%!important;height:100%!important;object-fit:cover!important
}
.bs-pdf-cover-loading{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  padding:14px;text-align:center;font-size:11px;color:#718099;background:#f7f9fc
}

/* V32 — Мұрағат → шығарылым → мақала */
.bs-issue-cover-link{
  display:block!important;text-decoration:none!important;cursor:pointer
}
.bs-issue-cover-link:focus{
  outline:3px solid rgba(12,93,145,.25);outline-offset:3px
}
.bs-issue-title-link{color:#0e3562!important;text-decoration:none!important}
.bs-issue-title-link:hover{text-decoration:underline!important}

.bs-issue-page{background:#fff}
.bs-issue-page-hero{
  padding:54px 0 48px;
  background:linear-gradient(180deg,#f7faff 0%,#fff 100%);
  border-bottom:1px solid #edf1f6
}
.bs-issue-page-kicker{
  color:#d5a43a;font-weight:800;letter-spacing:.12em;font-size:13px;margin-bottom:12px
}
.bs-issue-page-hero h1{
  margin:0 0 10px;color:#0d315d;font-size:44px;line-height:1.1
}
.bs-issue-page-meta{color:#718099;font-size:15px}
.bs-issue-page-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.bs-issue-articles-section{padding:42px 0 78px}
.bs-issue-section-head{margin-bottom:24px}
.bs-issue-section-head h2{margin:5px 0 8px;color:#102f58;font-size:30px}
.bs-issue-section-head p{margin:0;color:#748198}

.bs-article-list-v32{
  border-top:1px solid #e5eaf1
}
.bs-article-row-v32{
  display:grid;grid-template-columns:46px minmax(0,1fr) auto;
  gap:16px;align-items:center;padding:20px 0;border-bottom:1px solid #e5eaf1
}
.bs-article-index-v32{
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#eef4f8;color:#0d4b78;font-weight:800
}
.bs-article-copy-v32{min-width:0}
.bs-article-copy-v32 h3{margin:0 0 6px;font-size:19px;line-height:1.35}
.bs-article-copy-v32 h3 a{color:#0c3766!important;text-decoration:none}
.bs-article-copy-v32 h3 a:hover{text-decoration:underline}
.bs-article-copy-v32 p{margin:0;color:#6f7e92;font-size:14px}
.bs-read-article-v32{
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 13px;border-radius:22px;border:1px solid #cad6e5;
  color:#0c4c79!important;text-decoration:none;font-weight:700;white-space:nowrap
}
.bs-read-article-v32:hover{background:#0c5d91;color:#fff!important;border-color:#0c5d91}
.bs-article-back-v32{color:#0c4c79!important;font-weight:700;text-decoration:none}
.bs-article-back-v32:hover{text-decoration:underline}

@media(max-width:700px){
  .bs-issue-page-hero h1{font-size:34px}
  .bs-article-row-v32{
    grid-template-columns:40px minmax(0,1fr);
  }
  .bs-read-article-v32{
    grid-column:2;justify-self:start;margin-top:2px
  }
}

/* V33 article formatting */
.article-content{
  text-align:justify!important;
  text-justify:inter-word;
}
.article-content p,
.article-content li{
  text-align:justify!important;
}

.share-box-v33{
  display:block!important;
}
.share-link-v33{width:100%}
.share-inline-v33{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:8px;
}
.share-inline-v33 input{
  flex:1 1 420px;
  min-width:220px;
}
.share-qr-v33{
  width:64px!important;
  height:64px!important;
  object-fit:contain;
  border:1px solid #e1e7ef;
  border-radius:8px;
  padding:3px;
  background:#fff;
}
@media(max-width:650px){
  .share-inline-v33{
    align-items:flex-start;
  }
  .share-qr-v33{
    width:56px!important;
    height:56px!important;
  }
}

/* V34 — QR көшіру */
.share-qr-wrap-v34{
  display:flex;
  align-items:center;
  gap:8px;
}
.qr-copy-btn-v34{
  min-height:38px;
  padding:8px 12px;
  white-space:nowrap;
}
.qr-copy-btn-v34:disabled{
  opacity:.65;
  cursor:wait;
}
@media(max-width:650px){
  .share-qr-wrap-v34{
    width:100%;
    justify-content:flex-start;
  }
}

/* V35 — QR-кодты көшіру батырмасы */
.qr-copy-btn-v35{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border:0;
  border-radius:10px;
  background:#0c5d91;
  color:#fff!important;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:none;
}
.qr-copy-btn-v35:hover{
  background:#084d77;
  color:#fff!important;
}
.qr-copy-btn-v35:focus{
  outline:3px solid rgba(12,93,145,.25);
  outline-offset:2px;
}
.qr-copy-btn-v35:disabled{
  opacity:.65;
  cursor:wait;
}
.share-qr-wrap-v34{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}

/* V36 — QR-кодты жүктеу */
.qr-copy-btn-v35{display:none!important}
.qr-download-btn-v36{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:10px;
  background:#0c5d91;
  color:#fff!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
}
.qr-download-btn-v36:hover{
  background:#084d77;
  color:#fff!important;
}
.qr-download-btn-v36:focus{
  outline:3px solid rgba(12,93,145,.25);
  outline-offset:2px;
}

/* V38 — мақала бетінде екі жақтан шамамен 2 см шегініс */
.bs-article-page-v32{
  padding-left:2cm!important;
  padding-right:2cm!important;
  box-sizing:border-box;
}
.bs-article-page-v32 .article-box{
  width:100%!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box;
}
.bs-article-page-v32 .share-box-v33{
  width:100%;
  box-sizing:border-box;
}
.bs-article-page-v32 h1,
.bs-article-page-v32 .article-author{
  text-align:center;
}
.bs-article-page-v32 .article-content{
  line-height:1.6;
}

/* мобильді құрылғыда нақты 2 см емес, экранға сай қауіпсіз шегініс */
@media(max-width:900px){
  .bs-article-page-v32{
    padding-left:22px!important;
    padding-right:22px!important;
  }
}
@media(max-width:520px){
  .bs-article-page-v32{
    padding-left:16px!important;
    padding-right:16px!important;
  }
}

/* V39 — сайттағы себетті толық алып тастау */
.cart,
.cart-icon,
.cart-link,
.cart-count,
.header-cart,
.site-cart,
.woocommerce-cart,
.woocommerce-mini-cart,
.mini-cart,
.basket,
.basket-icon,
.basket-link,
.basket-count,
[id*="cart"],
[class*="cart-"],
[class*="-cart"],
[id*="basket"],
[class*="basket-"],
[class*="-basket"]{
  display:none!important;
}


/* ===== V40 LOGO PREMIUM — мәзір құрылымы өзгертілмеген ===== */
:root{
  --premium-navy:#073b68;
  --premium-blue:#0875b9;
  --premium-sky:#eaf7ff;
  --premium-gold:#f0b92f;
  --premium-gold-deep:#d99a12;
  --premium-ink:#113b63;
}
body{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 45%,#f7fbfe 100%);
}
.topline{
  background:linear-gradient(90deg,#063b68 0%,#075f98 48%,#063b68 100%);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.12);
}
.site-header{
  background:rgba(255,255,255,.98);
  border-bottom:3px solid var(--premium-gold);
  box-shadow:0 8px 26px rgba(6,62,105,.11);
  backdrop-filter:saturate(130%) blur(7px);
}
.header-inner{min-height:108px;gap:22px}
.brand-premium{
  display:flex;align-items:center;gap:14px;text-decoration:none;min-width:315px;
}
.brand-premium img{
  width:94px!important;height:94px!important;object-fit:contain!important;
  background:transparent!important;border-radius:50%;
  filter:drop-shadow(0 5px 8px rgba(7,76,124,.18));
  flex:0 0 94px;
}
.brand-copy{display:flex;flex-direction:column;line-height:1.12;max-width:245px}
.brand-copy strong{
  font-family:Georgia,'Times New Roman',serif;font-size:28px;letter-spacing:.02em;
  color:var(--premium-navy);white-space:nowrap;
}
.brand-copy small{
  margin-top:6px;font-size:10.5px;line-height:1.35;font-weight:800;letter-spacing:.035em;
  color:#2d638b;
}
.header-actions .header-order-link{
  box-shadow:0 8px 18px rgba(203,144,16,.20);
  background:linear-gradient(135deg,#d9a124,#f2c85d)!important;
}

/* Басты баннерді тереңірек, таза премиум стильде көрсету */
.hero{
  background:
    radial-gradient(circle at 14% 18%,rgba(255,207,83,.13),transparent 25%),
    linear-gradient(120deg,#063b68 0%,#075a8b 48%,#0a709c 100%);
  border-bottom:1px solid rgba(8,91,139,.12);
}
.hero:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;
  background-image:
    radial-gradient(circle at 20px 20px,rgba(255,255,255,.55) 1.2px,transparent 1.4px);
  background-size:28px 28px;
}
.hero:after{width:8px;background:linear-gradient(180deg,#f4c756,#d79b16);opacity:1}
.hero-grid{min-height:438px;gap:34px}
.hero-copy{padding:58px 0}
.hero-eyebrow{color:#ffd777;font-size:22px}
.hero h1{font-size:61px;color:#fff;text-shadow:0 5px 24px rgba(0,0,0,.20)}
.hero h2{color:#f6d979}
.hero p{color:#eef9ff}
.hero-art{
  min-height:350px!important;margin:34px 0;border-radius:24px;
  background-image:linear-gradient(90deg,rgba(5,60,96,.03),rgba(255,255,255,.01)),url("assets/images/hero-v11.jpg")!important;
  background-size:cover!important;background-position:center!important;
  box-shadow:0 20px 50px rgba(0,28,52,.28),0 0 0 1px rgba(255,255,255,.30) inset;
  overflow:hidden;
}
.hero-art:after{
  content:"";position:absolute;inset:0;border-radius:24px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.34);pointer-events:none;
}
.btn-gold{background:linear-gradient(135deg,#dca52b,#f4cf69);box-shadow:0 10px 25px rgba(218,161,31,.26)}
.btn-outline{border-color:rgba(255,255,255,.72);background:rgba(255,255,255,.06);backdrop-filter:blur(4px)}

.features{background:linear-gradient(180deg,#fff,#fbfdff)}
.feature{padding:25px 14px;transition:.2s ease}
.feature:hover{background:#f7fbff;transform:translateY(-2px)}
.feature .icon{filter:drop-shadow(0 4px 5px rgba(8,87,131,.10))}

.journals{padding-top:40px;background:linear-gradient(180deg,#f8fcff 0%,#ffffff 100%)}
.section-title h2{color:var(--premium-navy)}
.mag-card{padding:10px 10px 16px;border-radius:18px;transition:.22s ease}
.mag-card:hover{background:#fff;box-shadow:0 14px 34px rgba(13,67,103,.09);transform:translateY(-3px)}
.mag-cover{border-radius:14px;box-shadow:0 16px 30px rgba(20,60,89,.16);border:1px solid #e6edf4}
.mag-card .archive{border-radius:9px;box-shadow:0 6px 14px rgba(7,82,128,.14)}
.order-journal-btn{border-radius:9px!important;box-shadow:0 6px 14px rgba(201,144,25,.16)}

.cta-strip{background:linear-gradient(100deg,#fff8e8 0%,#f8ecd0 58%,#075b86 58%,#063f69 100%)}
.stats{box-shadow:0 1px 0 #edf2f6 inset}
.news{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.news-card{border-radius:14px;box-shadow:0 10px 25px rgba(12,68,100,.07)}
.subscribe{border:1px solid #dcecf6;box-shadow:0 10px 26px rgba(12,70,105,.07)}

.site-footer{
  background:
    radial-gradient(circle at 15% 20%,rgba(255,207,83,.10),transparent 22%),
    linear-gradient(100deg,#063b68,#075f88 60%,#064468);
  border-top:4px solid var(--premium-gold);
}
.footer-brand img{
  width:105px!important;height:105px!important;object-fit:contain!important;
  border-radius:50%;background:transparent!important;
  filter:drop-shadow(0 6px 12px rgba(0,0,0,.18));
}
.footer-quote{color:#f4cf67}

@media(max-width:1180px){
  .brand-premium{min-width:250px}.brand-copy{display:none}.brand-premium img{width:82px!important;height:82px!important;flex-basis:82px}
}
@media(max-width:850px){
  .header-inner{min-height:82px}.brand-premium{min-width:auto}.brand-premium img{width:68px!important;height:68px!important;flex-basis:68px}
  .hero-grid{gap:0}.hero-art{margin:0 0 28px;min-height:260px!important}.hero-copy{padding:42px 0 28px}
}
@media(max-width:560px){
  .hero h1{font-size:40px}.hero h2{font-size:20px}.hero p{font-size:15px}.hero-art{border-radius:16px}
}

/* ===== V41: ЖАҢАЛЫҚТАР — premium editorial section ===== */
.news-premium{padding:78px 0 86px;background:linear-gradient(180deg,#f7fbff 0%,#fff 34%,#f9fcff 100%);position:relative;overflow:hidden}
.news-premium:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-180px;top:-190px;background:radial-gradient(circle,rgba(17,124,184,.11),transparent 68%);pointer-events:none}
.news-premium-head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:32px;padding-bottom:22px;border-bottom:1px solid #dfeaf2}
.news-kicker{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.14em;color:#b67c08;text-transform:uppercase;margin-bottom:10px}
.news-kicker:before{content:"";width:34px;height:2px;background:linear-gradient(90deg,#e4ae2e,#f3d276);border-radius:99px}
.news-premium-head h2{margin:0;color:#063f70;font-family:Georgia,'Times New Roman',serif;font-size:40px;line-height:1.1}
.news-premium-head p{max-width:720px;margin:10px 0 0;color:#5a7185;font-size:15px;line-height:1.65}
.news-all-link{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;text-decoration:none;color:#075f98;font-weight:800;padding:12px 18px;border:1px solid #cde0ec;border-radius:999px;background:#fff;box-shadow:0 7px 20px rgba(11,78,118,.06);transition:.22s ease}
.news-all-link:hover{transform:translateY(-2px);border-color:#e0ad32;color:#a97108;box-shadow:0 10px 25px rgba(11,78,118,.10)}
.news-premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.news-premium-card{background:#fff;border:1px solid #e4edf3;border-radius:20px;overflow:hidden;box-shadow:0 12px 34px rgba(11,65,100,.07);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;display:flex;flex-direction:column;min-width:0}
.news-premium-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(11,65,100,.13);border-color:#cfe0eb}
.news-media{position:relative;display:block;overflow:hidden;aspect-ratio:16/9;background:#e9f4fa}
.news-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease}
.news-premium-card:hover .news-media img{transform:scale(1.045)}
.news-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(3,45,76,.17));pointer-events:none}
.news-date-badge{position:absolute;left:16px;bottom:15px;z-index:2;min-width:56px;padding:7px 8px 6px;border-radius:12px;background:rgba(255,255,255,.95);box-shadow:0 8px 18px rgba(0,38,65,.16);text-align:center;color:#8b6108;font-size:10px;font-weight:900;line-height:1.05;letter-spacing:.05em}
.news-date-badge b{display:block;color:#064f84;font-size:21px;letter-spacing:0;margin-bottom:2px}
.news-content{padding:20px 20px 22px;display:flex;flex-direction:column;flex:1}
.news-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:11px;font-weight:800;color:#8ba0b0;text-transform:uppercase;letter-spacing:.06em}
.news-meta span{color:#b37c0c;background:#fff6df;border:1px solid #f5dfa7;border-radius:999px;padding:5px 9px}
.news-content h3{margin:0 0 10px;font-family:Georgia,'Times New Roman',serif;font-size:21px;line-height:1.3;color:#0a436f}
.news-content h3 a{color:inherit;text-decoration:none}
.news-content p{margin:0 0 16px;color:#62798b;font-size:14px;line-height:1.6;flex:1}
.news-read{display:inline-flex;align-items:center;gap:8px;width:max-content;text-decoration:none;font-size:13px;font-weight:800;color:#07679f}
.news-read span,.news-all-link span{transition:transform .2s ease}
.news-read:hover span,.news-all-link:hover span{transform:translateX(4px)}
.news-premium-card.is-featured{grid-column:span 2;display:grid;grid-template-columns:1.22fr .78fr}
.news-premium-card.is-featured .news-media{aspect-ratio:auto;min-height:330px;height:100%}
.news-premium-card.is-featured .news-content{padding:30px 28px}
.news-premium-card.is-featured .news-content h3{font-size:29px;line-height:1.23}
.news-premium-card.is-featured .news-content p{font-size:15px}
@media(max-width:980px){.news-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-premium-card.is-featured{grid-column:span 2}.news-premium-head h2{font-size:35px}}
@media(max-width:680px){.news-premium{padding:52px 0 60px}.news-premium-head{align-items:flex-start;flex-direction:column}.news-premium-head h2{font-size:31px}.news-premium-grid{grid-template-columns:1fr}.news-premium-card.is-featured{grid-column:auto;display:flex}.news-premium-card.is-featured .news-media{min-height:0;aspect-ratio:16/9}.news-premium-card.is-featured .news-content{padding:20px}.news-premium-card.is-featured .news-content h3{font-size:22px}.news-all-link{padding:10px 15px}}


/* === V42: Admin-managed news === */
.news-empty-state{grid-column:1/-1;text-align:center;padding:52px 24px;border:1px dashed rgba(5,82,145,.25);border-radius:22px;background:linear-gradient(180deg,#fff,#f5fbff)}
.news-empty-icon{font-size:42px;margin-bottom:8px}.news-empty-state h3{margin:0 0 8px;color:#063d73;font-size:24px}.news-empty-state p{max-width:620px;margin:0 auto 18px;color:#59738d}.news-admin-link{display:inline-flex;padding:12px 20px;border-radius:12px;background:#075da4;color:#fff!important;text-decoration:none;font-weight:700}
.news-archive-page{background:linear-gradient(180deg,#f6fbff 0,#fff 300px)}.news-archive-header{max-width:850px;margin:0 auto 34px;text-align:center}.news-archive-header h1{font-size:42px;color:#073f75;margin:7px 0 12px}.news-archive-header p{font-size:17px;color:#5d7185;line-height:1.7}.news-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.news-archive-card{overflow:hidden;border-radius:20px;background:#fff;border:1px solid #e4edf5;box-shadow:0 10px 30px rgba(4,65,111,.08);transition:.25s}.news-archive-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(4,65,111,.14)}.news-archive-media{display:block;aspect-ratio:16/9;overflow:hidden;background:#eaf4fb}.news-archive-media img{width:100%;height:100%;object-fit:cover;transition:.35s}.news-archive-card:hover .news-archive-media img{transform:scale(1.04)}.news-archive-content{padding:20px}.news-archive-content h2{font-size:21px;line-height:1.32;margin:10px 0}.news-archive-content h2 a{color:#073f75;text-decoration:none}.news-archive-content p{color:#65788b;line-height:1.6;margin:0 0 18px}.news-pagination{margin-top:34px;text-align:center}.news-pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.news-pagination a,.news-pagination span{padding:10px 14px;border-radius:10px;background:#fff;border:1px solid #d9e6f0;text-decoration:none}.news-pagination .current{background:#075da4;color:#fff;border-color:#075da4}
.single-news-container{max-width:980px}.single-news-article{background:#fff;border-radius:24px;border:1px solid #e1ebf3;box-shadow:0 14px 38px rgba(4,65,111,.08);padding:34px}.single-news-back{display:inline-block;margin-bottom:22px;color:#075da4;text-decoration:none;font-weight:700}.single-news-article h1{font-size:42px;line-height:1.18;color:#073f75;margin:12px 0 24px}.single-news-image{border-radius:18px;overflow:hidden;margin:0 0 28px}.single-news-image img{display:block;width:100%;height:auto}.single-news-body{font-size:18px;line-height:1.8;color:#334e66}.single-news-body img{max-width:100%;height:auto;border-radius:14px}
@media(max-width:900px){.news-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-news-article h1{font-size:34px}}
@media(max-width:640px){.news-archive-grid{grid-template-columns:1fr}.news-archive-header h1{font-size:34px}.single-news-article{padding:20px;border-radius:18px}.single-news-article h1{font-size:29px}.single-news-body{font-size:17px}}


/* === V45: Stable homepage news layout === */
.news-premium{padding:64px 0 72px!important;overflow:hidden}
.news-premium .container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.news-premium-head{align-items:center!important;margin-bottom:26px!important}
.news-premium-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch}
.news-premium-card,.news-premium-card.is-featured{grid-column:auto!important;display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;height:100%!important;border-radius:18px!important;overflow:hidden!important}
.news-premium-card .news-media,.news-premium-card.is-featured .news-media{display:block!important;width:100%!important;aspect-ratio:16/9!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;background:#e9f4fa}
.news-premium-card .news-media img,.news-premium-card.is-featured .news-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.news-premium-card .news-content,.news-premium-card.is-featured .news-content{padding:18px 18px 20px!important;display:flex!important;flex-direction:column!important;flex:1!important;min-width:0!important}
.news-premium-card .news-content h3,.news-premium-card.is-featured .news-content h3{font-size:20px!important;line-height:1.34!important;margin:0 0 10px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.68em;overflow-wrap:anywhere}
.news-premium-card .news-content p,.news-premium-card.is-featured .news-content p{font-size:14px!important;line-height:1.6!important;margin:0 0 15px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.8em;overflow-wrap:anywhere}
.news-meta{min-width:0}.news-meta time{white-space:nowrap}.news-meta span{white-space:nowrap}
.news-read{margin-top:auto}
@media(max-width:900px){.news-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.news-premium-head{align-items:flex-start!important}}
@media(max-width:640px){.news-premium{padding:48px 0 54px!important}.news-premium .container{width:min(100% - 24px,1180px)}.news-premium-grid{grid-template-columns:1fr!important;gap:16px!important}.news-premium-head{flex-direction:column!important;gap:16px!important}.news-premium-head h2{font-size:30px!important}.news-premium-card .news-content h3{font-size:19px!important}.news-premium-card .news-content p{min-height:0}}

/* V47 — isolated homepage news layout; prevents old news CSS from breaking the homepage */
.bs-home-news{padding:64px 0 72px;background:linear-gradient(180deg,#f7fbff 0%,#fff 38%,#f8fbfd 100%);overflow:hidden;position:relative;clear:both}
.bs-home-news *{box-sizing:border-box}
.bs-home-news__container{width:min(1180px,calc(100% - 32px));margin-left:auto;margin-right:auto}
.bs-home-news__head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid #dfe9f0}
.bs-home-news__intro{min-width:0;max-width:780px}
.bs-home-news__kicker{display:block;margin-bottom:8px;font-size:12px;font-weight:800;letter-spacing:.12em;color:#b47a0a}
.bs-home-news__head h2{margin:0;color:#063f70;font-family:Georgia,'Times New Roman',serif;font-size:38px;line-height:1.15}
.bs-home-news__head p{margin:10px 0 0;color:#62788a;font-size:15px;line-height:1.65}
.bs-home-news__all{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border:1px solid #ccdfea;border-radius:999px;background:#fff;color:#075f98;text-decoration:none;font-weight:800;white-space:nowrap}
.bs-home-news__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch;width:100%}
.bs-home-news__card{min-width:0;width:100%;height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid #e2ebf1;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(11,65,100,.07)}
.bs-home-news__media{position:relative;display:block;width:100%;height:205px;overflow:hidden;background:#e9f4fa;flex:0 0 205px}
.bs-home-news__media img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.bs-home-news__date{position:absolute;left:14px;bottom:13px;z-index:2;min-width:54px;padding:7px 8px;border-radius:11px;background:rgba(255,255,255,.96);box-shadow:0 7px 18px rgba(0,35,60,.15);text-align:center;line-height:1;color:#835d08}
.bs-home-news__date b{display:block;font-size:20px;color:#064f84}
.bs-home-news__date small{display:block;font-size:9px;font-weight:900;letter-spacing:.04em}
.bs-home-news__body{display:flex;flex-direction:column;flex:1;min-width:0;padding:18px 18px 20px}
.bs-home-news__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:11px;font-weight:800;color:#8ba0b0;text-transform:uppercase;letter-spacing:.05em;min-width:0}
.bs-home-news__meta span{padding:5px 9px;border:1px solid #f0d99e;border-radius:999px;background:#fff7df;color:#a87308;white-space:nowrap}
.bs-home-news__meta time{white-space:nowrap}
.bs-home-news__body h3{margin:0 0 10px;font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.34;color:#0a436f;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.68em;overflow-wrap:anywhere}
.bs-home-news__body h3 a{color:inherit;text-decoration:none}
.bs-home-news__body p{margin:0 0 15px;color:#62798b;font-size:14px;line-height:1.6;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:4.8em;overflow-wrap:anywhere}
.bs-home-news__read{margin-top:auto;display:inline-flex;align-items:center;gap:7px;width:max-content;color:#07679f;text-decoration:none;font-size:13px;font-weight:800}
.bs-home-news__empty{grid-column:1/-1;text-align:center;padding:48px 24px;border:1px dashed rgba(5,82,145,.25);border-radius:20px;background:#fff}
.bs-home-news__empty-icon{font-size:40px}.bs-home-news__empty h3{margin:8px 0;color:#063d73}.bs-home-news__empty p{color:#60768a}.bs-home-news__admin{display:inline-flex;padding:11px 18px;border-radius:10px;background:#075da4;color:#fff!important;text-decoration:none;font-weight:700}
@media(max-width:900px){.bs-home-news__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-home-news__head{align-items:flex-start}.bs-home-news__media{height:210px;flex-basis:210px}}
@media(max-width:640px){.bs-home-news{padding:46px 0 54px}.bs-home-news__container{width:min(100% - 24px,1180px)}.bs-home-news__head{flex-direction:column;gap:15px}.bs-home-news__head h2{font-size:30px}.bs-home-news__grid{grid-template-columns:1fr;gap:16px}.bs-home-news__media{height:auto;aspect-ratio:16/9;flex-basis:auto}.bs-home-news__body p{min-height:0}.bs-home-news__all{padding:10px 14px}}


/* === V49: басты беттің толық тұрақты түзетуі === */
html,body{max-width:100%;overflow-x:hidden}
.site-header,.topline,.hero,.features,.journals,.cta-strip,.stats,.bs-home-news,.site-footer{width:100%;max-width:100%}
.header-inner{width:min(1180px,calc(100% - 36px));margin-left:auto;margin-right:auto}

/* News block: do not allow content to stretch the page */
.bs-home-news{display:block;clear:both;position:relative;width:100%;margin:0;padding:54px 0 62px;background:#f7fbfe;overflow:hidden}
.bs-home-news *{box-sizing:border-box}
.bs-home-news__container{width:min(1180px,calc(100% - 36px));max-width:1180px;margin:0 auto;padding:0;float:none}
.bs-home-news__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;width:100%;margin:0 0 24px;padding:0 0 18px;border-bottom:1px solid #dce8f0}
.bs-home-news__intro{min-width:0;max-width:760px}
.bs-home-news__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;max-width:100%;margin:0;padding:0;align-items:stretch}
.bs-home-news__card{display:flex;flex-direction:column;min-width:0;width:100%;max-width:100%;height:100%;margin:0;padding:0;overflow:hidden;border:1px solid #e0eaf1;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,68,100,.07)}
.bs-home-news__media{display:block;position:relative;width:100%;height:190px;min-height:190px;max-height:190px;overflow:hidden;background:#e9f3f8;flex:0 0 190px}
.bs-home-news__media img{display:block;width:100%;height:190px;min-height:190px;max-height:190px;object-fit:cover;object-position:center;border:0;margin:0}
.bs-home-news__body{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;width:100%;padding:17px 17px 19px}
.bs-home-news__body h3,.bs-home-news__body h3 a,.bs-home-news__body p{overflow-wrap:anywhere;word-break:normal}
.bs-home-news__body h3{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.7em;max-height:2.7em}
.bs-home-news__body p{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:4.65em;max-height:4.65em}

@media(max-width:1100px){
  .main-nav{gap:14px}.main-nav a{font-size:13px}.header-order-link{padding-left:13px!important;padding-right:13px!important}
}
@media(max-width:900px){
  .bs-home-news__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bs-home-news__head{align-items:flex-start}
}
@media(max-width:850px){
  .topline .right{display:none}
  .hero-grid{grid-template-columns:1fr}.hero-art{display:none}.hero-copy{padding:42px 0}.hero h1{font-size:50px}
  .feature-grid{grid-template-columns:repeat(2,1fr)}.feature:nth-child(5){grid-column:1/-1}
  .mag-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cta-grid{grid-template-columns:1fr}.cta-strip{background:#fff8e8}.cta-side{background:#0e658e;padding:20px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .container,.header-inner,.bs-home-news__container{width:calc(100% - 24px)}
  .hero h1{font-size:42px}.hero h2{font-size:20px}.hero p{font-size:15px}
  .feature-grid,.mag-grid,.stats-grid{grid-template-columns:1fr}
  .feature:nth-child(5){grid-column:auto}
  .section-title h2{font-size:30px;text-align:center}
  .bs-home-news{padding:42px 0 50px}
  .bs-home-news__head{flex-direction:column;gap:14px}
  .bs-home-news__head h2{font-size:28px}
  .bs-home-news__grid{grid-template-columns:minmax(0,1fr);gap:15px}
  .bs-home-news__media,.bs-home-news__media img{height:190px;min-height:190px;max-height:190px}
  .bs-home-news__body p{min-height:0}
  .footer-grid{grid-template-columns:1fr!important;text-align:center}
}


/* === V50 HARD LAYOUT RESET: толық ен + тұрақты жаңалықтар === */
html,body{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;overflow-x:hidden!important}
body{display:block!important}
.topline,.site-header,.hero,.features,.journals,.cta-strip,.stats,.bs-home-news,.site-footer{
  display:block!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;clear:both!important
}
.container,.header-inner,.topline .inner,.bs-home-news__container{
  width:calc(100% - 48px)!important;max-width:1400px!important;margin-left:auto!important;margin-right:auto!important
}
.header-inner{display:flex!important}
.hero .hero-grid{display:grid!important}
.features .feature-grid,.journals .mag-grid,.stats .stats-grid,.bs-home-news__grid{width:100%!important;max-width:none!important}
.bs-home-news__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.bs-home-news__card{min-width:0!important;width:100%!important;max-width:none!important}
.bs-home-news__media,.bs-home-news__media img{width:100%!important;height:220px!important;min-height:220px!important;max-height:220px!important;object-fit:cover!important}
@media(max-width:1050px){
  .container,.header-inner,.topline .inner,.bs-home-news__container{width:calc(100% - 32px)!important}
  .bs-home-news__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:850px){
  .header-inner{display:flex!important}
  .hero .hero-grid{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  .container,.header-inner,.topline .inner,.bs-home-news__container{width:calc(100% - 20px)!important}
  .bs-home-news__grid{grid-template-columns:1fr!important}
  .bs-home-news__media,.bs-home-news__media img{height:190px!important;min-height:190px!important;max-height:190px!important}
}

/* V54 visible language switch */
.bs-main-lang{display:flex!important;align-items:center;gap:2px;margin-left:8px;white-space:nowrap;flex-shrink:0}
.bs-main-lang a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;padding:0 7px;border:1px solid #d9e3ef;border-radius:6px;font-size:11px;font-weight:800;line-height:1;color:#0b4f7a;text-decoration:none;background:#fff}
.bs-main-lang a.is-active{background:#0b5f93;color:#fff;border-color:#0b5f93}
@media(max-width:1150px){.bs-main-lang a{min-width:30px;padding:0 5px;font-size:10px}.header-order-link{padding-left:12px!important;padding-right:12px!important}}
