:root {
  --bg:#ffffff;
  --bg-alt:#f6f8fa;
  --bg-accent:#eef2f6;
  --border:#dde2e8;
  --border-strong:#c4ccd4;
  --text:#1f2a33;
  --text-light:#5b6b79;
  --primary:#2a64f6;
  --primary-hover:#174fe0;
  --radius-s:6px;
  --radius-m:14px;
  --radius-l:28px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.05);
  --shadow:0 4px 14px -2px rgba(30,41,59,.12),0 2px 4px rgba(30,41,59,.08);
  --transition:.25s cubic-bezier(.4,0,.2,1);

  --reco-title-size:clamp(.98rem,.9rem + .4vw,1.18rem);
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box;}
html,body{
  margin:0;
  padding:0;
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  width:100%;
  max-width:100%;
  overflow-x:auto;
}
body{-webkit-font-smoothing:antialiased;line-height:1.6;}
img,svg,video,canvas,iframe,embed,object{
  max-width:100%;
  display:block;
  height:auto;
}

a{color:var(--primary);text-decoration:none;}
a:hover,a:focus-visible{text-decoration:underline;}
p{margin:0 0 1.2em;}
h1,h2,h3,h4,h5{line-height:1.25;margin:1.2em 0 .6em;font-weight:600;word-break:break-word;}
h1{font-size:clamp(1.9rem,1.5rem + 1.2vw,2.7rem);margin-top:.4em;}
ul,ol{padding-left:1.4em;margin:0 0 1.2em;}
button{font-family:inherit;cursor:pointer;}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px;}
pre,code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;}

/* Layout */
.wrapper{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,340px);
  gap:48px;
  max-width:1320px;
  margin:0 auto;
  padding:32px 32px 80px;
  width:100%;
}
@media (max-width:1180px){
  .wrapper{gap:44px;grid-template-columns:minmax(0,1fr) minmax(0,320px);}
}
@media (max-width:940px){
  .wrapper{grid-template-columns:1fr;padding:28px 20px 72px;gap:40px;}
  .sidebar{order:3;}
}
@media (max-width:560px){
  .wrapper{padding:24px 12px 64px;}
}

/* Header */
.site-header{position:relative;background:#fff;border-bottom:1px solid var(--border);z-index:20;width:100%;}
.header-inner{
  max-width:1320px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:32px;
  padding:14px 32px;
  width:100%;
}
@media (max-width:940px){
  .header-inner{padding:12px 20px;gap:20px;}
}
@media (max-width:560px){
  .header-inner{padding:10px 14px;}
}
.brand{
  display:flex;align-items:center;gap:12px;
  text-decoration:none;font-weight:600;color:var(--text);white-space:nowrap;
  min-width:0;
}
.brand svg{width:40px;height:40px;flex:0 0 auto;display:block;}
.brand span{font-size:1.05rem;letter-spacing:.4px;}
.primary-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;max-width:100%;}
.primary-nav a{
  padding:10px 14px;font-size:.92rem;font-weight:500;
  border-radius:var(--radius-s);
  color:var(--text-light);transition:var(--transition);
  white-space:nowrap;
}
.primary-nav a:hover{color:var(--text);background:var(--bg-alt);text-decoration:none;}
.primary-nav a.active{color:var(--primary);background:var(--bg-accent);}
.header-right{margin-left:auto;display:flex;align-items:center;gap:16px;}

/* Mobile nav */
.mobile-menu-btn{
  display:none;
  background:var(--primary);color:#fff;border:0;
  padding:10px 14px;border-radius:var(--radius-s);
  font-weight:500;font-size:.95rem;
  box-shadow:var(--shadow-sm);transition:var(--transition);
}
.mobile-menu-btn:hover{background:var(--primary-hover);}
@media (max-width:820px){
  .primary-nav{display:none;}
  .mobile-menu-btn{display:inline-flex;align-items:center;gap:6px;}
}
.mobile-overlay{
  position:fixed;inset:0;
  background:rgba(15,23,42,.72);
  backdrop-filter:blur(18px);
  display:none;z-index:2000;
  padding:16px clamp(12px,4vw,40px) 40px;
  overflow:auto;
}
.mobile-overlay.open{display:block;}
.mobile-panel{
  width:100%;
  max-width:520px;
  margin:0 auto;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:28px;
  padding:32px clamp(18px,5vw,46px) 54px;
  position:relative;
  box-shadow:0 10px 40px -10px rgba(0,0,0,.2);
  animation:scaleIn .4s cubic-bezier(.4,0,.2,1);
}
@media (max-width:420px){
  .mobile-panel{padding:28px 18px 44px;border-radius:24px;}
}
@keyframes scaleIn{
  from{opacity:0;transform:translateY(20px) scale(.96);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
.mobile-close{
  position:absolute;top:12px;right:12px;
  background:#fff;border:1px solid var(--border);
  width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;font-size:1.1rem;cursor:pointer;
  transition:var(--transition);
}
.mobile-close:hover{background:var(--bg-alt);}
.mobile-nav-list{list-style:none;margin:46px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;}
.mobile-nav-list a{
  display:block;padding:14px 18px;font-size:1rem;font-weight:500;
  border:1px solid var(--border);border-radius:var(--radius-m);
  background:linear-gradient(#fff,#fdfdfd);
  color:var(--text-light);transition:var(--transition);
  max-width:100%;
}
.mobile-nav-list a:hover{border-color:var(--primary);color:var(--text);text-decoration:none;}

/* Breadcrumb */
.breadcrumb{
  font-size:.78rem;color:var(--text-light);
  margin:20px 0 12px;display:flex;flex-wrap:wrap;gap:6px;max-width:100%;
}
.breadcrumb a{color:var(--text-light);}
.breadcrumb a:hover{color:var(--text);text-decoration:none;}

/* Meta */
.meta{
  display:flex;flex-wrap:wrap;gap:16px;
  font-size:.8rem;color:var(--text-light);
  margin:6px 0 24px;align-items:center;
}
.meta time{font-variant-numeric:tabular-nums;}

/* Article content */
.article-content{
  font-size:1.02rem;
  max-width:820px;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.article-content blockquote{
  margin:1.6em 0;
  padding:1.1em 1.2em 1.1em 1.05em;
  border-left:4px solid var(--primary);
  background:var(--bg-accent);
  border-radius:0 var(--radius-m) var(--radius-m) 0;
  color:#1d2b3a;font-weight:500;
}
.article-content figure{margin:2em 0;}
.article-content h2{font-size:1.48rem;margin-top:2.1em;}
.article-content h3{font-size:1.2rem;margin-top:1.9em;}
.article-content code{
  background:var(--bg-alt);
  padding:.2em .45em;
  border-radius:var(--radius-s);
  font-size:.85em;
  word-break:break-all;
}
pre{
  background:var(--bg-alt);
  padding:14px 14px;
  border-radius:14px;
  font-size:.78rem;
  border:1px solid var(--border);
  -webkit-overflow-scrolling:touch;
  max-width:100%;
  overflow:auto;
  white-space:pre-wrap;
  word-break:break-word;
  overflow-wrap:anywhere;
}


.table-responsive{
  width:100%;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:12px;
  margin:1.4em 0;
  border:1px solid var(--border);
}
.table-responsive table{
  width:100%!important;
  border-collapse:collapse;
  font-size:.85rem;
  table-layout:auto;
  max-width:100%;
}
.table-responsive th,
.table-responsive td{
  padding:9px 10px;
  border:1px solid var(--border);
  text-align:left;
  background:#fff;
  vertical-align:top;
  word-break:break-word;
}
.table-responsive thead th{background:var(--bg-accent);}

/* Author */
.author-box{
  margin:54px 0 44px;
  background:linear-gradient(120deg,#ffffff,#f5f8fb 48%,#eef2f6);
  border:1px solid var(--border);
  border-radius:900px;
  padding:22px 26px;
  display:flex;align-items:center;gap:20px;
  box-shadow:var(--shadow-sm);
  position:relative;overflow:hidden;
}
.author-box::after{
  content:"";
  position:absolute;
  top:-35%;right:-10%;
  width:300px;height:300px;
  background:radial-gradient(circle at 30% 30%,rgba(42,100,246,.18),rgba(42,100,246,0) 70%);
  pointer-events:none;
  contain:paint;
}
.author-avatar{
  flex:0 0 auto;width:92px;height:92px;border-radius:50%;
  background:linear-gradient(145deg,#2a64f6,#174fe0);
  display:grid;place-items:center;
  font-size:2rem;font-weight:600;color:#fff;
  box-shadow:0 4px 12px -2px rgba(42,100,246,.55);
}
.author-info h3{margin:0 0 .35em;font-size:1.05rem;font-weight:600;}
.author-info p{margin:0;font-size:.88rem;color:var(--text-light);max-width:560px;}
@media (max-width:680px){
  .author-box{flex-direction:column;align-items:flex-start;border-radius:56px;padding:28px 22px 30px;}
  .author-avatar{width:78px;height:78px;font-size:1.6rem;}
  .author-box::after{width:220px;height:220px;right:-16%;top:-28%;}
}
@media (max-width:430px){
  .author-box{padding:24px 18px 28px;border-radius:40px;}
  .author-box::after{right:-22%;width:200px;height:200px;}
  .author-info p{font-size:.82rem;}
}

/* Single reco */
.single-reco{
  padding:18px 20px;
  border:1px solid var(--border);
  border-radius:var(--radius-l);
  background:var(--bg-alt);
  font-size:.9rem;
  margin:0 0 36px;
}

/* Notice */
.page-notice{
  padding:18px 20px;
  background:linear-gradient(110deg,#2a64f6,#174fe0);
  color:#fff;
  border-radius:var(--radius-m);
  font-size:.85rem;
  margin:0 0 24px;
  box-shadow:var(--shadow);
  word-break:break-word;
}

/* Pagination */
.page-nav-wrapper{
  display:flex;justify-content:flex-end;
  margin:0 0 52px;flex-wrap:wrap;gap:10px;
}
.page-nav{display:flex;gap:10px;flex-wrap:wrap;}
.page-nav a{
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 16px;font-size:.85rem;font-weight:500;
  background:var(--bg-accent);
  border:1px solid var(--border);
  border-radius:var(--radius-m);
  color:var(--text);
  transition:var(--transition);
  text-decoration:none;
}
.page-nav a:hover{background:#e2e8f0;}
.page-nav a.current{
  background:var(--primary);border-color:var(--primary);color:#fff;
  cursor:default;pointer-events:none;
}

/* Share */
.share{margin:0 0 56px;}
.share h2{
  font-size:.95rem;margin:0 0 12px;
  text-transform:uppercase;letter-spacing:.08em;
  font-weight:600;color:var(--text-light);
}
.share-list{display:flex;flex-wrap:wrap;gap:10px;}
.share-list button{
  display:inline-flex;align-items:center;gap:6px;
  padding:9px 14px;
  background:#fff;color:var(--text);
  border:1px solid var(--border);
  border-radius:var(--radius-l);
  font-size:.75rem;font-weight:500;
  letter-spacing:.4px;
  transition:var(--transition);
  box-shadow:var(--shadow-sm);
  max-width:100%;
}
.share-list button:hover{border-color:var(--primary);color:var(--primary);}
.share-list svg{width:16px;height:16px;flex:0 0 auto;}

/* Subscription */
.subscription-block{
  margin:0 0 64px;
  padding:46px clamp(20px,6vw,64px);
  background:linear-gradient(150deg,#ffffff,#f2f6fb 46%,#e5eef9);
  border:1px solid var(--border);
  border-radius:40px;
  position:relative;overflow:hidden;
  box-shadow:var(--shadow);
}
.subscription-block::before,
.subscription-block::after{
  content:"";
  position:absolute;
  width:320px;height:320px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%,rgba(42,100,246,.14),rgba(42,100,246,0) 70%);
  top:-110px;right:-90px;pointer-events:none;contain:paint;
}
.subscription-block::after{
  top:auto;bottom:-150px;left:-110px;
  background:radial-gradient(circle at 70% 70%,rgba(23,79,224,.18),rgba(23,79,224,0) 70%);
}
.subscription-block h2{margin:0 0 .45em;font-size:clamp(1.35rem,1.2rem + .7vw,1.85rem);}
.subscription-block p{
  margin:0 0 1.3em;max-width:620px;font-size:.95rem;color:var(--text-light);
}
.sub-form{
  display:flex;flex-wrap:wrap;gap:12px;max-width:620px;
}
.sub-form input[type=email]{
  flex:1 1 240px;
  padding:13px 16px;
  border:1px solid var(--border);
  border-radius:var(--radius-l);
  font-size:.9rem;
  transition:var(--transition);
  background:#fff;width:100%;min-width:0;
}
.sub-form input[type=email]:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(42,100,246,.15);outline:none;}
.sub-form button{
  flex:0 0 auto;padding:13px 20px;
  background:linear-gradient(135deg,#2a64f6,#174fe0);
  color:#fff;border:0;font-weight:600;
  font-size:.85rem;border-radius:var(--radius-l);
  display:inline-flex;align-items:center;gap:6px;
  letter-spacing:.4px;box-shadow:0 6px 18px -6px rgba(42,100,246,.6);
  transition:var(--transition);
}
.sub-form button:hover{filter:brightness(1.08);}
.sub-note{
  margin-top:8px;font-size:.68rem;color:var(--text-light);
  letter-spacing:.5px;text-transform:uppercase;width:100%;
}
@media (max-width:640px){
  .sub-form input[type=email],.sub-form button{flex:1 1 100%;}
  .sub-form button{justify-content:center;}
  .subscription-block{padding:40px 22px;border-radius:34px;}
  .subscription-block::before,
  .subscription-block::after{width:240px;height:240px;}
}
@media (max-width:430px){
  .subscription-block{padding:36px 18px 38px;border-radius:28px;}
}

/* Recommended */
.recommended-grid{margin:0 0 64px;}
.recommended-grid h2{
  font-size:1rem;margin:0 0 16px;
  font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--text-light);
}
.reco-cards{
  display:grid;gap:24px;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
}
.reco-cards a{text-decoration:none;position:relative;min-width:0;}
.reco-cards a > div{
  background:#fff;border:1px solid var(--border);
  border-radius:24px;
  padding:12px 12px 16px;
  display:flex;flex-direction:column;
  gap:0;
  height:100%;box-shadow:var(--shadow-sm);
  transition:var(--transition);overflow:hidden;
  min-width:0;
  will-change:transform;
}
.reco-cards a:hover > div{
  transform:translateY(-3px);
  border-color:var(--primary);
  box-shadow:0 6px 20px -6px rgba(30,41,59,.25);
}


.reco-thumb,
.popular-card-thumb{
  position:relative;
  aspect-ratio:16/10;
  width:100%;
  border-radius:16px;
  background:#dbe2ea;
  overflow:hidden;
  display:block;
  contain:paint;
}
.reco-thumb img,
.popular-card-thumb img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  -webkit-transform:translateZ(0);
  transition:transform .6s ease;
}
.reco-cards a:hover .reco-thumb img,
.popular-card:hover .popular-card-thumb img{
  transform:scale(1.04);
}
@supports not (aspect-ratio:16/10){
  .reco-thumb,
  .popular-card-thumb{
    height:0;
    padding-top:62.5%;
  }
  .reco-thumb img,
  .popular-card-thumb img{
    position:absolute;
    top:0;left:0;
    width:100%;
    height:100%;
  }
}


.reco-thumb{margin-bottom:12px;}
.reco-title{
  font-size:var(--reco-title-size);
  font-weight:600;
  line-height:1.4;
  color:var(--text);
  word-break:break-word;
  margin:4px 0 0;
  letter-spacing:.2px;
}
.reco-meta{
  margin-top:auto;
  font-size:.65rem;
  letter-spacing:.08em;
  color:var(--text-light);
  text-transform:uppercase;
}
@supports (gap:12px){
  .reco-cards a > div{gap:12px;}
}

@media (max-width:820px){
  .reco-cards{grid-template-columns:1fr;}
}

/* Sidebar popular */
.sidebar{position:relative;min-width:0;}
.popular-box{
  display:flex;flex-direction:column;
  gap:20px;padding:26px 24px 30px;
  border:1px solid var(--border);
  border-radius:32px;
  background:linear-gradient(#ffffff,#f8fafc);
  box-shadow:var(--shadow-sm);
  min-width:0;
}
.popular-box h2{
  margin:0;font-size:.95rem;
  text-transform:uppercase;letter-spacing:.08em;
  color:var(--text-light);font-weight:600;
}
.popular-grid{display:grid;gap:20px;grid-template-columns:1fr;min-width:0;}
.popular-card{
  display:flex;flex-direction:column;
  text-decoration:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  transition:var(--transition);
  box-shadow:var(--shadow-sm);
  position:relative;min-width:0;
  will-change:transform;
}
.popular-card:hover{
  border-color:var(--primary);
  box-shadow:0 6px 20px -6px rgba(30,41,59,.25);
  text-decoration:none;
}
.popular-card-body{
  padding:12px 14px 16px;
  display:flex;flex-direction:column;gap:6px;
  min-width:0;
}
.popular-card-title{
  margin:0;font-size:.9rem;line-height:1.4;
  font-weight:600;color:var(--text);word-break:break-word;
}
.popular-card-meta{
  font-size:.55rem;letter-spacing:.08em;
  color:var(--text-light);text-transform:uppercase;margin-top:auto;
}
@media (max-width:560px){
  .popular-box{padding:22px 18px 26px;border-radius:28px;}
  .popular-card-title{font-size:.88rem;}
}

/* Comments */
.comments{margin:0 0 72px;max-width:820px;}
.comments h2{
  font-size:1.05rem;margin:0 0 20px;
  letter-spacing:.04em;text-transform:uppercase;color:var(--text-light);
}
.comment-list{
  list-style:none;margin:0 0 36px;padding:0;
  display:flex;flex-direction:column;gap:26px;
}
.comment{
  display:grid;grid-template-columns:52px 1fr;gap:16px;
  min-width:0;
}
.comment-avatar{
  width:52px;height:52px;
  background:linear-gradient(135deg,#2a64f6,#174fe0);
  color:#fff;display:grid;place-items:center;
  font-weight:600;border-radius:50%;font-size:.95rem;
}
.comment-body{
  background:var(--bg-alt);
  border:1px solid var(--border);
  padding:16px 18px 18px;
  border-radius:22px;position:relative;
  min-width:0;
  word-break:break-word;
}
.comment-body::before{
  content:"";position:absolute;left:-8px;top:18px;
  width:16px;height:16px;background:inherit;
  border-left:1px solid var(--border);
  border-top:1px solid var(--border);transform:rotate(-45deg);
}
.comment-meta{
  display:flex;gap:12px;font-size:.6rem;
  letter-spacing:.08em;color:var(--text-light);
  text-transform:uppercase;margin:0 0 6px;flex-wrap:wrap;
}
.comment-body p{margin:0;font-size:.85rem;line-height:1.5;color:var(--text);}
@media (max-width:640px){
  .comment{grid-template-columns:46px 1fr;gap:12px;}
  .comment-avatar{width:46px;height:46px;font-size:.85rem;}
  .comment-body{padding:14px 14px 16px;}
  .comment-body p{font-size:.8rem;}
}

/* Comment Form */
.comment-form{
  border:1px solid var(--border);
  background:linear-gradient(#ffffff,#f5f7fa);
  padding:32px 30px 36px;
  border-radius:32px;
  box-shadow:var(--shadow-sm);
  min-width:0;
}
.comment-form h3{margin:0 0 1em;font-size:1rem;}
.comment-form .form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;margin:0 0 18px;
}
.comment-form label{
  display:flex;flex-direction:column;gap:6px;
  font-size:.7rem;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;color:var(--text-light);
  min-width:0;
}
.comment-form input,
.comment-form textarea{
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius-m);
  background:#fff;font:inherit;font-size:.85rem;
  resize:vertical;min-height:130px;transition:var(--transition);
  width:100%;min-width:0;
}
.comment-form input{min-height:auto;}
.comment-form input:focus,
.comment-form textarea:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(42,100,246,.15);
  outline:none;
}
.comment-form button{
  padding:12px 22px;border:0;
  background:linear-gradient(135deg,#2a64f6,#174fe0);
  color:#fff;font-weight:600;font-size:.85rem;
  border-radius:var(--radius-l);letter-spacing:.4px;
  display:inline-flex;align-items:center;gap:6px;
  box-shadow:0 6px 18px -6px rgba(42,100,246,.55);
  transition:var(--transition);
}
.comment-form button:hover{filter:brightness(1.05);}
.form-hint{
  font-size:.6rem;color:var(--text-light);
  margin-top:10px;letter-spacing:.06em;text-transform:uppercase;
  word-break:break-word;
}
@media (max-width:640px){
  .comment-form{padding:28px 22px 32px;border-radius:28px;}
  .comment-form button{width:100%;justify-content:center;}
}

/* Footer */
footer{
  background:#0e1824;color:#d7dee5;
  padding:64px 24px 82px;
  margin-top:30px;position:relative;overflow:hidden;
}
footer::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 68% 20%,rgba(42,100,246,.25),rgba(42,100,246,0) 60%);
  opacity:.55;pointer-events:none;contain:paint;
}
.footer-inner{
  max-width:1320px;margin:0 auto;
  display:flex;flex-direction:column;gap:44px;
  width:100%;
}
.footer-brand-line{display:flex;justify-content:center;align-items:center;}
.footer-brand{
  display:flex;align-items:center;gap:12px;
  text-decoration:none;color:#fff;font-weight:600;
  font-size:1rem;letter-spacing:.45px;
}
.footer-brand svg{width:42px;height:42px;}
.footer-subscribe{max-width:640px;margin:0 auto;}
.footer-subscribe form{display:flex;flex-wrap:wrap;gap:14px;}
.footer-subscribe input[type=email]{
  flex:1 1 240px;padding:13px 16px;
  border-radius:var(--radius-l);
  border:1px solid #2d3b4a;
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(4px);
  color:#fff;font-size:.85rem;transition:var(--transition);
  min-width:0;
}
.footer-subscribe input[type=email]::placeholder{color:#97a5b2;}
.footer-subscribe input[type=email]:focus{
  border-color:var(--primary);outline:none;
  box-shadow:0 0 0 3px rgba(42,100,246,.4);
}
.footer-subscribe button{
  padding:13px 20px;
  background:linear-gradient(135deg,#2a64f6,#174fe0);
  border:0;color:#fff;font-weight:600;
  font-size:.8rem;letter-spacing:.5px;
  border-radius:var(--radius-l);
  box-shadow:0 6px 14px -6px rgba(42,100,246,.6);
  cursor:pointer;transition:var(--transition);
}
.footer-subscribe button:hover{filter:brightness(1.08);}
.footer-links{
  display:flex;flex-wrap:wrap;justify-content:center;
  gap:16px 30px;font-size:.7rem;letter-spacing:.06em;
  text-transform:uppercase;max-width:100%;
}
.footer-links a{color:#b5c2ce;text-decoration:none;font-weight:500;}
.footer-links a:hover{color:#fff;text-decoration:none;}
.footer-mini-note{
  text-align:center;font-size:.58rem;
  letter-spacing:.06em;opacity:.7;margin-top:6px;
  word-break:break-word;
}

/* Utility */
.fade-in{opacity:0;animation:fade .9s ease forwards;}
@keyframes fade{
  from{opacity:0;transform:translateY(14px);}
  to{opacity:1;transform:translateY(0);}
}
.skip-link{
  position:absolute;top:-60px;left:8px;
  background:var(--primary);color:#fff;
  padding:10px 14px;border-radius:var(--radius-s);
  font-size:.8rem;text-decoration:none;z-index:3000;
  transition:var(--transition);
}
.skip-link:focus{top:12px;}

/* Ad placeholder */
.ad-slot-placeholder{
  margin:54px 0;padding:26px;
  border:2px dashed var(--border);
  border-radius:22px;background:#fafbfc;
  font-size:.7rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--text-light);
  text-align:center;word-break:break-word;
}


@media (max-width:640px){
  h1{font-size:clamp(1.55rem,1.2rem + 2.2vw,2.05rem);}
}
@media (max-width:480px){
  h1{font-size:clamp(1.4rem,1.18rem + 2vw,1.78rem);}
  .page-notice{font-size:.78rem;padding:14px 16px;}
  .single-reco{font-size:.82rem;padding:16px 16px;}
  .subscription-block h2{font-size:1.4rem;}
  .popular-card-body{padding:10px 12px 14px;}
  .share-list button{padding:8px 12px;font-size:.7rem;}
}

/* Debug overflow */
.overflow-flag{outline:2px solid magenta !important;}
body.has-overflow .wrapper{
  padding-left:16px;
  padding-right:16px;
}

/* page-links */
.page-links{padding:50px 0;display:flex;justify-content:space-between;clear:both;margin:0 0 1.5em;flex-wrap:wrap;}
.page-links a{background-color:#f70046;color:#fff;padding:10px 15px;border-radius:15px;font-size:24px;overflow-wrap:anywhere;word-break:break-word;position:relative;z-index:0;border-radius:10px;text-shadow:1px 1px 2px red,0 0 1em blue,0 0 0.2em blue;}
.page-links a:before{content:'';background:linear-gradient(45deg,#ff0000,#ff7300,#fffb00,#48ff00,#00ffd5,#002bff,#7a00ff,#ff00c8,#ff0000);position:absolute;top:-2px;left:-2px;background-size:400%;z-index:-1;filter:blur(5px);width:calc(100% + 4px);height:calc(100% + 4px);animation:glowing 20s linear infinite;opacity:1;transition:opacity .3s ease-in-out;border-radius:10px;}
.page-links a:after{z-index:-1;content:'';position:absolute;width:100%;height:100%;background:#f70046;left:0;top:0;border-radius:10px;}
.page-links a:active{color:#000;}
.page-links a:active:after{background:transparent;}
.page-links.orange a:after{background:#ff7c00 !important;}
.page-links.green a:after{background:#00c521 !important;}
.page-links.blue a:after{background:#007cdb !important;}
.page-links.violet a:after{background:#ca00db !important;}
.page-links.first{justify-content:flex-end;}


/* ads */
.ad-line-top{display:flex;align-items:center;margin:70px 0 25px;font:12px/1.2 system-ui,Arial,sans-serif;color:#666;letter-spacing:.5px;text-transform:uppercase;}
.ad-line-top::before,.ad-line-top::after{content:"";flex:1;border-top:1px solid #d8d8d8;margin:0 .75em;}
.ad-line-label{background:#fff;padding:0 4px;}
.ad-slot-wrap{width:100%;max-width:100%;overflow:hidden;text-align:center;}
.ad-slot-wrap > *{max-width:100% !important;box-sizing:border-box;}
.ad-line-bottom{border-top:1px solid #e2e2e2;margin:25px 0 70px;height:0;font-size:0;line-height:0;}


.notice{background:#fef9c3;border:1px solid #fde68a;padding:14px 18px;border-radius:14px;font-size:.82rem;margin:2.2rem 0;}