/* server360.kz — блог и страницы статей */

.blog-hero{
  position:relative;padding:108px 0 0;overflow:hidden;
  background:
    radial-gradient(circle at 88% 13%,rgba(63,160,255,.18),transparent 30%),
    linear-gradient(180deg,#eef5fc 0%,var(--canvas) 72%)
}
.blog-hero::after{content:"";position:absolute;right:-110px;top:70px;width:360px;height:360px;
  border:1px solid rgba(27,102,201,.12);border-radius:50%;pointer-events:none}
.blog-hero .container{position:relative;z-index:1}
.breadcrumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:36px;
  font-size:13px;color:var(--secondary)}
.breadcrumbs a{transition:color .15s ease}.breadcrumbs a:hover{color:var(--accent)}
.breadcrumbs .sep{color:var(--border-strong)}
.blog-hero-copy{max-width:760px;margin-bottom:42px}
.blog-hero-copy h1{font-size:clamp(38px,5vw,60px);line-height:1.05;letter-spacing:-.035em;
  margin-bottom:18px;max-width:20ch}
.blog-hero-copy>p:last-child{max-width:680px;font-size:18px;line-height:1.62;color:var(--secondary)}

.blog-explorer{margin-bottom:30px;padding:22px;background:rgba(255,255,255,.82);border:1px solid var(--border);
  border-radius:22px;box-shadow:var(--shadow-sm);backdrop-filter:blur(12px);scroll-margin-top:88px}
.blog-hero-results{padding-bottom:24px}
.blog-hero-results .blog-explorer{margin-bottom:0}
.blog-search{display:grid;grid-template-columns:minmax(260px,1fr) 210px auto;gap:10px}
.blog-search-field,.blog-sort{display:flex;align-items:center;min-width:0;height:52px;border:1px solid var(--border-strong);
  border-radius:14px;background:#f8fbff;color:var(--secondary);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.blog-search-field{gap:12px;padding:0 16px}.blog-search-field svg{flex:none;color:#718096}
.blog-search-field:focus-within,.blog-sort:focus-within{border-color:var(--accent);background:#fff;
  box-shadow:0 0 0 3px rgba(39,131,222,.12)}
.blog-search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);
  font:inherit;font-size:15px}
.blog-search-field input::placeholder{color:#8b9aab}
.blog-search-field input::-webkit-search-cancel-button{cursor:pointer}
.blog-sort{position:relative}.blog-sort::after{content:"";position:absolute;right:16px;width:8px;height:8px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-3px);pointer-events:none}
.blog-sort select{width:100%;height:100%;padding:0 42px 0 16px;border:0;outline:0;appearance:none;background:transparent;
  color:var(--text);font:inherit;font-size:14px;cursor:pointer}
.blog-search-submit{height:52px;padding-inline:24px;border:0;cursor:pointer}
.blog-topics{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}
.blog-topics-label{display:block;margin-bottom:12px;color:var(--secondary);font-size:11px;font-weight:800;
  letter-spacing:.12em;text-transform:uppercase}
.blog-topic-list{display:flex;flex-wrap:wrap;gap:8px}
.blog-topic{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 13px;border:1px solid var(--border);
  border-radius:999px;background:#f5f8fc;color:#344154;font-size:13px;font-weight:650;line-height:1.2;
  transition:color .15s ease,border-color .15s ease,background .15s ease,transform .15s ease}
.blog-topic:hover{border-color:#9dc7ed;color:var(--accent);transform:translateY(-1px)}
.blog-topic small{color:var(--secondary);font-size:11px;font-variant-numeric:tabular-nums}
.blog-topic.active{border-color:var(--accent);background:var(--accent);color:#fff}
.blog-topic.active small{color:rgba(255,255,255,.76)}

.blog-featured{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  min-height:410px;background:var(--card);border:1px solid var(--border);border-radius:var(--r-xl);
  box-shadow:var(--shadow-sm);overflow:hidden}
.blog-featured-media{position:relative;min-height:380px;overflow:hidden;background:var(--surface-strong)}
.blog-featured-media::after{content:"Главный материал";position:absolute;top:20px;left:20px;
  padding:8px 12px;border-radius:999px;background:rgba(11,22,38,.8);color:#fff;
  font-size:12px;font-weight:700;letter-spacing:.02em;backdrop-filter:blur(8px)}
.blog-featured-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.65,.3,1)}
.blog-featured:hover .blog-featured-media img{transform:scale(1.025)}
.blog-featured-body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:42px}
.blog-featured-body h2{font-size:clamp(27px,3vw,38px);line-height:1.12;letter-spacing:-.025em;margin:20px 0 14px}
.blog-featured-body h2 a:hover{color:var(--accent)}
.blog-featured-body>p{font-size:16px;line-height:1.65;color:var(--secondary);margin-bottom:24px}
.blog-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--secondary);font-size:12px;font-weight:600}
.blog-meta>*{display:inline-flex;align-items:center}
.blog-meta>*+*::before{content:"";width:3px;height:3px;margin-right:9px;border-radius:50%;background:var(--border-strong)}
.blog-meta>*:first-child{padding:5px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent);letter-spacing:.02em}
.blog-meta>*:first-child::before{display:none}
.blog-read{display:inline-flex;align-items:center;gap:8px;color:var(--accent);font-size:14px;font-weight:700}
.blog-read span{transition:transform .2s ease}.blog-read:hover span{transform:translate(2px,-2px)}

.blog-latest{padding:30px 0 82px}
.blog-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}
.blog-section-head h2{font-size:clamp(29px,3.4vw,42px);line-height:1.12;letter-spacing:-.025em}
.blog-section-head>p{max-width:500px;color:var(--secondary);font-size:15px;line-height:1.6}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.blog-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;
  background:var(--card);border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow-sm);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.blog-card:hover{transform:translateY(-3px);border-color:var(--border-strong);box-shadow:var(--shadow-lg)}
.blog-card-media{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--surface-strong)}
.blog-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.blog-card-media img[src*="/servers/"]{object-fit:contain;padding:20px;background:#f5f8fc}
.blog-card:hover .blog-card-media img{transform:scale(1.025)}
.blog-card-body{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:24px}
.blog-card h3{margin:16px 0 10px;font-size:21px;line-height:1.22;letter-spacing:-.018em}
.blog-card h3 a::after{content:"";position:absolute;inset:0}
.blog-card h3 a:hover{color:var(--accent)}
.blog-card-body>p{color:var(--secondary);font-size:14px;line-height:1.58;margin-bottom:22px}
.blog-card-foot{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:auto;
  padding-top:16px;border-top:1px solid var(--border);font-size:12px;color:var(--secondary)}
.blog-card-foot span{font-size:16px;color:var(--accent)}
.blog-results{min-height:390px;padding-top:36px}
.blog-empty{display:flex;flex-direction:column;align-items:center;padding:58px 24px;border:1px dashed var(--border-strong);
  border-radius:22px;background:rgba(255,255,255,.56);text-align:center}
.blog-empty-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:16px;border-radius:16px;
  background:var(--accent-soft);color:var(--accent);font-size:30px;font-weight:700}
.blog-empty h2{font-size:25px;margin-bottom:8px}.blog-empty p{margin-bottom:22px;color:var(--secondary)}

.blog-help{padding:0 0 80px}
.blog-help-band{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:42px 46px;
  border-radius:var(--r-xl);color:#fff;background:
  radial-gradient(circle at 84% 0,rgba(63,160,255,.26),transparent 36%),var(--navy);
  box-shadow:var(--shadow-lg);overflow:hidden}
.blog-help-band h2{font-size:clamp(25px,3vw,36px);line-height:1.15;letter-spacing:-.025em;margin-bottom:10px}
.blog-help-band>div:first-child>p:last-child{max-width:620px;color:rgba(255,255,255,.67)}
.blog-help-actions{display:flex;gap:10px;flex:none}

.article-hero{padding:110px 0 34px;background:
  radial-gradient(circle at 85% 0,rgba(63,160,255,.14),transparent 34%),var(--canvas)}
.article-hero-inner{max-width:980px}
.article-hero .breadcrumbs{margin-bottom:38px}
.blog-meta-large{font-size:13px;margin-bottom:18px}
.article-hero h1{max-width:920px;font-size:clamp(38px,5.3vw,62px);line-height:1.04;
  letter-spacing:-.04em;margin-bottom:20px}
.article-deck{max-width:790px;color:var(--secondary);font-size:19px;line-height:1.6}
.article-cover-wrap{max-width:1200px}
.article-cover{height:clamp(340px,42vw,540px);overflow:hidden;border:1px solid var(--border);
  border-radius:var(--r-xl);background:var(--surface-strong);box-shadow:var(--shadow-sm)}
.article-cover img{width:100%;height:100%;object-fit:cover}
.article-cover img[src*="/servers/"]{object-fit:contain;padding:48px;background:#f5f8fc}

.article-section{padding:48px 0 76px}
.article-layout{display:grid;grid-template-columns:220px minmax(0,760px);justify-content:center;gap:46px;align-items:start}
.article-toc{position:sticky;top:94px;padding:20px;border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.72);
  backdrop-filter:blur(12px);box-shadow:var(--shadow-sm)}
.article-toc>span{display:block;margin-bottom:12px;color:var(--secondary);font-size:12px;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em}
.article-toc nav{display:flex;flex-direction:column}
.article-toc nav a{padding:8px 0;border-bottom:1px solid rgba(201,211,223,.72);font-size:13px;line-height:1.35}
.article-toc nav a:last-child{border-bottom:0}.article-toc nav a:hover{color:var(--accent)}
.article-editor{display:flex;flex-direction:column;gap:3px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}
.article-editor b{font-size:12px}.article-editor small{color:var(--secondary);font-size:11px;line-height:1.4}
.article-main{min-width:0;background:var(--card);border:1px solid var(--border);border-radius:var(--r-xl);
  padding:clamp(26px,4vw,52px);box-shadow:var(--shadow-sm)}
.blog-prose{font-size:17px;line-height:1.76;color:#263140}
.blog-prose .blog-lead{margin-bottom:34px;color:var(--text);font-size:20px;line-height:1.62;font-weight:500}
.blog-prose h2{margin:42px 0 15px;color:var(--text);font-size:29px;line-height:1.2;letter-spacing:-.022em;scroll-margin-top:94px}
.blog-prose h2:first-of-type{margin-top:0}
.blog-prose h3{margin:30px 0 12px;color:var(--text);font-size:21px;line-height:1.25}
.blog-prose p{margin:0 0 19px}
.blog-prose ul,.blog-prose ol{margin:0 0 24px;padding-left:24px}
.blog-prose li{margin:8px 0;padding-left:4px}
.blog-prose strong,.blog-prose b{color:var(--text)}
.blog-summary,.blog-note{margin:28px 0;padding:22px 24px;border-radius:16px;background:var(--accent-soft);
  border:1px solid #bdd9f1;color:#17395e}
.blog-note{background:#f1f5f9;border-color:var(--border);color:#344154}
.blog-summary p:last-child,.blog-note p:last-child{margin-bottom:0}
.blog-checklist{list-style:none;padding-left:0!important}
.blog-checklist li{position:relative;padding:10px 0 10px 36px;border-bottom:1px solid var(--border)}
.blog-checklist li::before{content:"✓";position:absolute;left:0;top:9px;width:22px;height:22px;display:grid;place-items:center;
  border-radius:50%;background:#dff2e9;color:var(--green);font-size:12px;font-weight:800}
.blog-table-wrap{margin:26px 0;overflow-x:auto;border:1px solid var(--border);border-radius:16px}
.blog-table{width:100%;min-width:620px;border-collapse:collapse;background:var(--card);font-size:14px;line-height:1.45}
.blog-table th,.blog-table td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}
.blog-table th{background:var(--surface);color:var(--text);font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.blog-table tr:last-child td{border-bottom:0}
.article-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:44px;padding:28px;
  border-radius:18px;background:var(--navy);color:#fff}
.article-cta h2{font-size:22px;line-height:1.2;margin-bottom:7px}.article-cta p{color:rgba(255,255,255,.66);font-size:14px}
.article-cta .btn{flex:none}
.article-cta-with-actions{align-items:flex-start;flex-direction:column}
.article-cta-actions{display:flex;flex-wrap:wrap;gap:12px}
.article-cta .article-cta-whatsapp{background:#177c4c;color:#fff;border-color:#177c4c}
.article-cta .article-cta-whatsapp:hover{background:#11663d;border-color:#11663d}
.article-updated{margin-top:22px;color:var(--secondary);font-size:12px;line-height:1.5}
.blog-related{padding:70px 0 82px;border-top:1px solid var(--border);background:#dfe7f0}
.blog-related .overline{color:var(--accent-dark)}
.blog-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.blog-card-horizontal{display:grid;grid-template-columns:190px minmax(0,1fr)}
.blog-card-horizontal .blog-card-media{height:100%;aspect-ratio:auto}
.blog-card-horizontal .blog-card-body{padding:22px}.blog-card-horizontal h3{font-size:19px}
.blog-missing{min-height:70vh;padding:150px 0 90px;text-align:center}
.blog-missing .container{max-width:700px}.blog-missing h1{font-size:clamp(38px,6vw,64px);margin-bottom:12px}
.blog-missing p:not(.overline){color:var(--secondary);font-size:17px;margin-bottom:28px}

@media (max-width:1080px){
  .blog-featured{grid-template-columns:1fr 1fr}.blog-featured-body{padding:32px}
  .blog-help-band{align-items:flex-start;flex-direction:column}.blog-help-actions{width:100%}
}
@media (max-width:940px){
  .blog-search{grid-template-columns:minmax(0,1fr) 190px}.blog-search-submit{grid-column:1/-1;width:100%}
  .blog-featured{grid-template-columns:1fr}.blog-featured-media{min-height:0;aspect-ratio:16/9}
  .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-layout{grid-template-columns:1fr;max-width:820px}
  .article-toc{position:static}.article-toc nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
  .article-editor{display:none}.blog-card-horizontal{grid-template-columns:1fr}.blog-card-horizontal .blog-card-media{aspect-ratio:16/9}
}
@media (max-width:640px){
  .blog-hero{padding:96px 0 0}.breadcrumbs{margin-bottom:26px}.blog-hero-copy{margin-bottom:28px}
  .blog-hero-results{padding-bottom:18px}
  .blog-results{padding-top:30px}
  .blog-explorer{margin-inline:-2px;padding:15px;border-radius:18px}.blog-search{grid-template-columns:1fr}
  .blog-search-submit{grid-column:auto}.blog-search-field,.blog-sort,.blog-search-submit{height:50px}
  .blog-topics{margin-top:15px;padding-top:15px}.blog-topic-list{gap:7px}.blog-topic{min-height:38px;padding:7px 11px}
  .blog-hero-copy>p:last-child,.article-deck{font-size:16px}.blog-featured-body{padding:24px}
  .blog-featured-body h2{margin-top:16px}.blog-latest{padding:30px 0 62px}.blog-latest.blog-results{padding-top:30px}
  .blog-section-head{align-items:flex-start;flex-direction:column;gap:12px}.blog-grid,.blog-grid-two{grid-template-columns:1fr}
  .blog-help{padding-bottom:62px}.blog-help-band{padding:30px 24px}.blog-help-actions{flex-direction:column}
  .blog-help-actions .btn{width:100%}.article-hero{padding:98px 0 28px}
  .article-hero .breadcrumbs{margin-bottom:28px}.article-cover{height:auto;aspect-ratio:16/9;border-radius:18px}
  .article-cover img[src*="/servers/"]{padding:20px}.article-section{padding:30px 0 58px}
  .article-layout{gap:20px}.article-toc{padding:18px}.article-toc nav{grid-template-columns:1fr}
  .article-main{padding:24px 20px;border-radius:20px}.blog-prose{font-size:16px;line-height:1.7}
  .blog-prose .blog-lead{font-size:18px}.blog-prose h2{font-size:25px;margin-top:34px}
  .article-cta{align-items:flex-start;flex-direction:column;padding:24px}.article-cta .btn{width:100%}
  .article-cta-actions{width:100%}
  .blog-related{padding:54px 0 64px}
}
@media (max-width:400px){
  .blog-meta{gap:7px}.blog-meta>*+*::before{margin-right:7px}
  .blog-card-body{padding:20px}.blog-featured-body{padding:22px}
}
@media (prefers-reduced-motion:reduce){
  .blog-featured-media img,.blog-card,.blog-card-media img{transition:none}
}
