/* News page redesign */
.news-page{
  background:#fbfdfc;
  color:#52606a;
}
.news-page .rv{
  opacity:1;
  transform:none;
}
.news-page .wrap{
  max-width:1180px;
}
.news-page header{
  border-bottom:1px solid #edf2ef;
}
.news-page .nav{
  height:88px;
}
.news-page .brand-logo{
  height:58px;
}
.news-brand{
  gap:9px;
}
.news-brand-icon{
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  color:#0b8f4d;
  flex:none;
}
.news-brand-icon svg{
  width:100%;
  height:100%;
}
.news-brand-word{
  display:flex;
  flex-direction:column;
  gap:1px;
  color:#06153a;
  font-size:23px;
  font-weight:800;
  line-height:.86;
  letter-spacing:0;
}
.news-brand-word strong:last-child{
  color:#0b8f4d;
}
.news-page .menu{
  gap:10px;
}
.news-page .menu a{
  color:#071331;
  font-size:14px;
  font-weight:600;
  padding:10px 13px;
  border-radius:12px;
}
.news-page .menu a:hover,
.news-page .menu a.active{
  color:#0d8d4a;
  background:#eaf8f0;
}
.news-actions{
  gap:10px;
}
.news-page .ic-btn{
  width:44px;
  height:44px;
  color:#071331;
  border-radius:14px;
}
.news-page .ic-btn:hover{
  background:#f0f7f3;
  color:#0d8d4a;
}
.notify-btn{
  position:relative;
}
.notify-badge{
  position:absolute;
  top:5px;
  right:5px;
  min-width:16px;
  height:16px;
  padding:0 4px;
  border-radius:999px;
  background:#f32f35;
  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:16px;
  text-align:center;
}
.news-page .h-right .btn-green{
  padding:12px 22px;
  border-radius:12px;
  font-size:14px;
  box-shadow:0 12px 24px -14px rgba(10,143,74,.8);
}

.news-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#fff 0%,#f8fbfa 100%);
  border-bottom:1px solid #edf2ef;
}
.news-hero-grid{
  min-height:244px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,470px);
  align-items:center;
  gap:40px;
  padding-top:34px;
  padding-bottom:32px;
}
.news-hero-copy{
  padding-top:8px;
}
.news-page .crumb{
  margin-bottom:18px;
  font-size:13px;
  color:#637083;
}
.news-page .crumb a{
  color:#506172;
  background:#edf8f2;
  padding:3px 7px;
  border-radius:999px;
}
.news-page .crumb a:hover{
  color:#0d8d4a;
}
.news-page .crumb .sep{
  font-size:22px;
  line-height:1;
  color:#a7b1bd;
}
.news-hero h1{
  font-size:clamp(32px,4vw,46px);
  line-height:1.12;
  letter-spacing:0;
  color:#08163a;
}
.news-hero .sub{
  max-width:560px;
  margin:16px 0 0;
  color:#506172;
  font-size:16px;
  line-height:1.72;
}
.news-hero-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:220px;
}
.news-hero-visual img{
  width:min(100%,500px);
  height:auto;
  max-height:236px;
  object-fit:contain;
  mix-blend-mode:multiply;
  filter:drop-shadow(0 24px 34px rgba(21,74,45,.09));
}

.news-content{
  padding-top:18px;
  padding-bottom:0;
}
.chips{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin:0 0 22px;
  padding:12px;
  border:1px solid #e8efec;
  border-radius:22px;
  background:rgba(255,255,255,.86);
  box-shadow:0 14px 38px rgba(35,47,58,.06);
}
.chip{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 18px;
  border:1px solid #e8eef0;
  border-radius:999px;
  background:#fff;
  color:#101d38;
  font:600 14px/1 var(--font);
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.chip:hover{
  border-color:#cfe6d8;
  color:#0d8d4a;
  transform:translateY(-1px);
}
.chip.active{
  background:#0f9655;
  border-color:#0f9655;
  color:#fff;
  box-shadow:0 14px 26px -16px rgba(15,150,85,.75);
}
.chip-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  flex:none;
}
.chip-icon svg{
  width:17px;
  height:17px;
}
.chip.active .chip-icon{
  background:rgba(255,255,255,.16);
  color:#fff;
}
.chip-icon.green{background:#e7f7ef;color:#0e9854}
.chip-icon.blue{background:#e9f3ff;color:#1f8fe5}
.chip-icon.purple{background:#f0e9ff;color:#8457ea}
.chip-icon.orange{background:#fff0df;color:#f29a21}
.chip-icon.amber{background:#fff6df;color:#f6b31b}
.chip-icon.teal{background:#e5f7ee;color:#15945b}

.feat-news{
  display:grid;
  grid-template-columns:1.08fr 1fr;
  overflow:hidden;
  margin-bottom:24px;
  border:1px solid #e5ece9;
  border-radius:20px;
  background:#fff;
  box-shadow:0 16px 42px rgba(27,43,35,.06);
}
.featured-media{
  position:relative;
  min-height:360px;
  background:#063f35;
  overflow:hidden;
}
.featured-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 34% 24%,rgba(255,255,255,.12),transparent 34%);
  pointer-events:none;
}
.featured-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:left center;
  transition:transform .25s ease;
}
.feat-news:hover .featured-media img{
  transform:scale(1.025);
}
.media-badge,
.ntag{
  position:absolute;
  z-index:3;
  top:20px;
  left:20px;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 12px;
  border-radius:999px;
  color:#fff;
  background:#22ad68;
  font-size:12px;
  font-weight:700;
}
.media-badge{
  text-transform:uppercase;
  letter-spacing:.02em;
}
.fbody{
  min-height:360px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:42px 40px;
}
.news-page .tag{
  margin-bottom:16px;
  background:#e7f7ef;
  color:#10864c;
  font-size:12px;
  letter-spacing:0;
  text-transform:none;
}
.feat-news h2{
  max-width:510px;
  margin:0 0 16px;
  color:#08163a;
  font-size:27px;
  line-height:1.34;
  letter-spacing:0;
}
.feat-news p{
  max-width:530px;
  margin:0 0 22px;
  color:#52606a;
  font-size:15px;
  line-height:1.75;
}
.news-page .meta{
  gap:22px;
  margin-bottom:28px;
  color:#7b8794;
  font-size:13px;
}
.news-page .meta svg,
.news-page .date svg{
  width:15px;
  height:15px;
}

.nlist{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.ncard{
  min-height:398px;
  overflow:hidden;
  border:1px solid #e5ece9;
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 34px rgba(27,43,35,.055);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.ncard:hover{
  transform:translateY(-4px);
  border-color:#d9e6df;
  box-shadow:0 18px 42px rgba(27,43,35,.085);
}
.news-thumb{
  position:relative;
  height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#edf6f0;
}
.news-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 34%,rgba(255,255,255,.82),rgba(255,255,255,0) 48%);
}
.news-thumb img{
  position:relative;
  z-index:1;
  max-width:78%;
  max-height:178px;
  object-fit:contain;
  mix-blend-mode:multiply;
  filter:drop-shadow(0 16px 20px rgba(18,42,31,.14));
  transition:transform .2s ease;
}
.ncard:hover .news-thumb img{
  transform:translateY(-3px) scale(1.03);
}
.news-thumb.cool{background:linear-gradient(135deg,#eef8ff,#e9f3ff)}
.news-thumb.violet{background:linear-gradient(135deg,#f7f0ff,#efe7ff)}
.news-thumb.mint{background:linear-gradient(135deg,#edf9f1,#e9f6f7)}
.news-thumb.pale{background:linear-gradient(135deg,#eef8f2,#f6fbf7)}
.news-thumb.warm{background:linear-gradient(135deg,#fff5e6,#fff9ed)}
.news-thumb.sky{background:linear-gradient(135deg,#edf8ff,#f8fbff)}
.ntag{
  top:18px;
  left:18px;
  min-height:28px;
  font-size:12px;
  padding:6px 11px;
}
.ntag.blue{background:#3aa2e9}
.ntag.purple{background:#8b65ef}
.ntag.orange{background:#f49a22}
.ntag.green{background:#10a56a}
.ntag.teal{background:#28aa95}
.nb{
  min-height:188px;
  display:flex;
  flex-direction:column;
  padding:20px 18px 22px;
}
.date{
  margin-bottom:13px;
  color:#758191;
  font-size:12.5px;
}
.ncard h3{
  margin:0 0 10px;
  color:#08163a;
  font-size:18px;
  line-height:1.35;
  letter-spacing:0;
}
.ncard p{
  flex:1;
  margin:0 0 16px;
  color:#52606a;
  font-size:13.5px;
  line-height:1.65;
}
.read{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#0d8d4a;
  font-size:13.5px;
  font-weight:700;
  transition:gap .18s ease,color .18s ease;
}
.read:hover{
  gap:11px;
  color:#076b39;
}
.news-empty{
  padding:42px 28px;
  border:1px solid #e5ece9;
  border-radius:18px;
  background:#fff;
  text-align:center;
  box-shadow:0 14px 34px rgba(27,43,35,.055);
}
.news-empty h2{
  margin:0 0 10px;
  color:#08163a;
  font-size:26px;
}
.news-empty p{
  margin:0;
  color:#52606a;
  font-size:15px;
}

.coin-tree{
  position:relative;
  z-index:1;
  width:156px;
  height:150px;
  display:block;
}
.coin-tree i{
  position:absolute;
  width:82px;
  height:82px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#76d863,#128243 75%);
  box-shadow:0 13px 22px rgba(15,98,48,.16);
}
.coin-tree i:nth-child(1){left:36px;top:10px}
.coin-tree i:nth-child(2){left:4px;top:42px}
.coin-tree i:nth-child(3){right:4px;top:44px}
.coin-tree b{
  position:absolute;
  left:64px;
  top:78px;
  width:28px;
  height:48px;
  border-radius:12px;
  background:#9b612c;
}
.coin-tree em{
  position:absolute;
  left:24px;
  right:24px;
  bottom:2px;
  height:28px;
  border-radius:18px;
  background:#168a4d;
  box-shadow:0 14px 24px rgba(19,113,65,.18);
}
.coin-tree::before,
.coin-tree::after{
  content:"";
  position:absolute;
  z-index:2;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#f8c33d;
  border:4px solid #df9d17;
  box-shadow:48px 12px 0 -2px #f8c33d,88px 42px 0 -3px #f8c33d;
}
.coin-tree::before{left:18px;top:26px}
.coin-tree::after{right:18px;top:18px}

.qr-phone{
  position:relative;
  z-index:1;
  width:138px;
  height:156px;
  display:block;
}
.qr-phone b{
  position:absolute;
  left:42px;
  top:8px;
  width:66px;
  height:124px;
  border-radius:16px;
  background:linear-gradient(180deg,#2d3945,#111a24);
  box-shadow:0 18px 24px rgba(24,34,44,.18);
}
.qr-phone b::after{
  content:"";
  position:absolute;
  inset:13px 10px 17px;
  border-radius:8px;
  background:
    linear-gradient(90deg,#111 6px,transparent 0 14px,#111 0 20px,transparent 0) 15px 18px/40px 10px no-repeat,
    linear-gradient(#111 6px,transparent 0 13px,#111 0 19px,transparent 0) 18px 36px/28px 40px no-repeat,
    #f9fbfb;
}
.qr-phone i{
  position:absolute;
  border-radius:12px;
  background:#29a96a;
  box-shadow:0 12px 18px rgba(28,118,81,.13);
}
.qr-phone i:nth-child(1){
  left:0;
  top:48px;
  width:42px;
  height:32px;
}
.qr-phone i:nth-child(2){
  right:0;
  top:70px;
  width:38px;
  height:30px;
  background:#2e8be7;
}
.qr-phone i:nth-child(3){
  left:82px;
  bottom:0;
  width:46px;
  height:34px;
}

.book-stack{
  position:relative;
  z-index:1;
  width:172px;
  height:118px;
  display:block;
}
.book-stack i{
  position:absolute;
  left:20px;
  width:132px;
  height:36px;
  border-radius:8px 12px 12px 8px;
  background:#1e9bdf;
  box-shadow:0 13px 20px rgba(29,73,112,.14);
}
.book-stack i::after{
  content:"";
  position:absolute;
  right:0;
  top:7px;
  width:112px;
  height:22px;
  border-radius:6px;
  background:#f6fbff;
}
.book-stack i:nth-child(1){top:6px;transform:rotate(-5deg)}
.book-stack i:nth-child(2){top:42px;background:#f59d27;transform:rotate(3deg)}
.book-stack i:nth-child(3){top:78px;background:#31a960;transform:rotate(-2deg)}

.pager{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:28px;
}
.pager a,
.pager span{
  min-width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid #e4ece8;
  border-radius:12px;
  background:#fff;
  color:#08163a;
  font-size:13px;
  font-weight:700;
}
.pager span{
  border-color:transparent;
  background:transparent;
  color:#94a0ad;
}
.pager svg{
  width:17px;
  height:17px;
}
.pager a:hover{
  border-color:#bfe2ce;
  color:#0d8d4a;
}
.pager a.active{
  background:#0f9655;
  border-color:#0f9655;
  color:#fff;
  box-shadow:0 14px 24px -15px rgba(15,150,85,.8);
}

.news-page footer{
  margin-top:28px;
  padding:26px 0 24px;
  background:radial-gradient(circle at 22% 0,rgba(24,128,78,.2),transparent 34%),linear-gradient(135deg,#0b3b31 0%,#0f2a22 54%,#122f27 100%);
  color:#d9e8de;
}
.news-footer-grid{
  display:grid;
  grid-template-columns:1.55fr .82fr .82fr 1.16fr .86fr;
  gap:34px;
  padding:0 0 26px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-wordmark .news-brand-icon,
.footer-wordmark .news-brand-word,
.footer-wordmark .news-brand-word strong:last-child{
  color:#fff;
}
.footer-brand p{
  max-width:260px;
  margin:12px 0 16px;
  color:#d2e0d7;
  font-size:13px;
  line-height:1.65;
}
.store-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.store-badge{
  width:96px;
  height:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:5px 10px;
  border-radius:7px;
  background:#07100d;
  color:#fff;
  line-height:1.05;
}
.store-badge span{
  font-size:8px;
  color:#e5eee8;
}
.store-badge strong{
  font-size:10px;
  font-weight:700;
}
.news-page footer h5{
  margin:8px 0 13px;
  color:#fff;
  font-size:14px;
  font-weight:700;
}
.news-page footer a,
.news-page footer span{
  display:flex;
  align-items:center;
  gap:10px;
  color:#d0ded5;
  font-size:13px;
  line-height:1.4;
  padding:6px 0;
  transition:color .16s ease;
}
.news-page footer a:hover{
  color:#6dde9d;
}
.footer-contact svg{
  width:16px;
  height:16px;
  flex:none;
}
.footer-social .socs{
  gap:10px;
  margin-top:3px;
}
.news-page .socs a{
  width:36px;
  height:36px;
  padding:0;
  justify-content:center;
  border-radius:50%;
  background:transparent;
  color:#fff;
}
.news-page .socs a:hover{
  background:rgba(255,255,255,.12);
  color:#6dde9d;
}
.news-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:18px;
  color:#c6d3cb;
  font-size:12.5px;
}
.news-footer-bottom div:last-child{
  display:flex;
  gap:34px;
}
.news-footer-bottom a{
  padding:0;
  color:#d8e3dc;
  font-size:12.5px;
}

body.dark.news-page{
  background:var(--bg);
}
body.dark.news-page .chips,
body.dark.news-page .feat-news,
body.dark.news-page .ncard,
body.dark.news-page .chip,
body.dark.news-page .pager a{
  background:var(--panel);
}
body.dark.news-page .news-hero{
  background:linear-gradient(180deg,#101a15 0%,#0f1713 100%);
}

@media(max-width:1040px){
  .news-page .menu{
    gap:4px;
  }
  .news-page .menu a{
    padding-inline:9px;
    font-size:13px;
  }
  .news-footer-grid{
    grid-template-columns:1.3fr 1fr 1fr;
  }
}
@media(max-width:900px){
  .news-page .nav{
    height:76px;
  }
  .news-page .brand-logo{
    height:52px;
  }
  .news-actions .ic-btn:not(.burger){
    display:none;
  }
  .news-hero-grid{
    grid-template-columns:1fr;
    gap:12px;
    padding-top:28px;
  }
  .news-hero-visual{
    min-height:190px;
    max-width:430px;
  }
  .news-hero-visual img{
    max-height:205px;
  }
  .chips{
    gap:10px;
    padding:10px;
  }
  .feat-news{
    grid-template-columns:1fr;
  }
  .featured-media{
    min-height:300px;
  }
  .fbody{
    min-height:auto;
    padding:28px 24px 30px;
  }
  .nlist{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:720px){
  .news-footer-grid{
    grid-template-columns:1fr 1fr;
  }
  .footer-social{
    grid-column:1/-1;
  }
  .news-footer-bottom{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:560px){
  .news-page .wrap{
    padding-inline:18px;
  }
  .news-page .nav{
    height:72px;
  }
  .news-page .brand-logo{
    height:48px;
  }
  .news-hero-grid{
    padding-top:22px;
    padding-bottom:22px;
  }
  .news-hero h1{
    font-size:32px;
  }
  .news-hero .sub{
    font-size:15px;
  }
  .news-hero-visual{
    min-height:148px;
    justify-content:flex-start;
    margin-bottom:-6px;
  }
  .news-hero-visual img{
    max-height:164px;
    width:100%;
  }
  .chips{
    margin-bottom:18px;
    border-radius:18px;
  }
  .chip{
    min-height:42px;
    padding:7px 12px;
    font-size:13px;
  }
  .chip-icon{
    width:28px;
    height:28px;
  }
  .featured-media{
    min-height:220px;
  }
  .feat-news h2{
    font-size:22px;
  }
  .feat-news p{
    font-size:14px;
  }
  .news-page .meta{
    flex-wrap:wrap;
    gap:12px;
  }
  .nlist{
    grid-template-columns:1fr;
  }
  .news-thumb{
    height:198px;
  }
  .pager{
    gap:8px;
  }
  .pager a,
  .pager span{
    min-width:38px;
    height:38px;
    border-radius:10px;
  }
  .news-footer-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .news-footer-bottom div:last-child{
    gap:18px;
    flex-wrap:wrap;
  }
}
