/* ===== HOME LAYOUT ===== */
.home-grid{
  display:grid;
  grid-template-columns:2.2fr 1fr;
  gap:16px;
  align-items:start;
}

/* ===== HERO ===== */
.hero{
  padding:18px;
  display:block;
}

.hero-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:nowrap;
}

.hero-date{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:14px;
  white-space:nowrap;
}

.hero-badges{
  display:flex;
  gap:10px;
  white-space:nowrap;
  margin-bottom:12px;
}

.hero-body{
  margin-top:20px;
}

.hero-image{
  float:right;
  width:min(520px, 46%);
  margin:4px 0 14px 28px;
}

.hero-image img{
  width:100%;
  height:auto;
  display:block;
}

.hero-body::after{
  content:"";
  display:block;
  clear:both;
}

.hero-title{
  font-weight:800;
  font-size:22px;
  margin:0 0 14px 0;
  line-height:1.25;
}

.hero-text{
  line-height:1.7;
  margin:0 0 14px 0;
}

.hero-foot{
  margin-top:16px;
  color:var(--muted);
  font-size:14px;
}

.hero-date-icon{
  width:18px;
  height:18px;
  display:inline-block;
  visibility:visible;
  opacity:1;
  flex:0 0 auto;
}

.hero-date-icon path{
  stroke:currentColor;
}

/* ===== COFFEE PROMO ===== */
.coffee-promo{
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(320px, .95fr);
  gap:28px;
  align-items:center;
  overflow:hidden;
}

.coffee-promo__media img{
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
}

.coffee-promo__content{
  padding:6px 6px 6px 0;
}

.coffee-promo__eyebrow{
  display:inline-block;
  margin-bottom:10px;
  color:rgb(215,110,15);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.coffee-promo h2{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.2;
}

.coffee-promo__lead{
  margin:0 0 12px;
  font-size:18px;
  font-weight:700;
  line-height:1.45;
}

.coffee-promo__text{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.coffee-promo__cta{
  margin-top:20px;
}

@media (max-width: 760px){
  .coffee-promo{
    grid-template-columns:1fr;
    gap:18px;
  }

  .coffee-promo__content{
    padding:0;
  }

  .coffee-promo h2{
    font-size:23px;
  }

  .coffee-promo__lead{
    font-size:16px;
  }
}

/* ===== HOME NEWS (clean list) ===== */
.home-news-list{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:12px;
}

.home-news-item{
  padding-bottom:16px;
  border-bottom:1px solid var(--border);
}

.home-news-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.home-news-title{
  font-weight:800;
  font-size:16px;
  line-height:1.35;
  margin-bottom:6px;
}

.home-news-desc{
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
  margin-bottom:8px;
}

.home-news-more{
  color:var(--brand);
  font-weight:700;
  font-size:14px;
  text-decoration:none;
}

.home-news-more:hover{
  text-decoration:underline;
}

.home-news-all{
  display:inline-block;
  margin-top:14px;
  font-weight:700;
  color:var(--brand);
  text-decoration:none;
}

.home-news-all:hover{
  text-decoration:underline;
}

/* ===== PRICING ===== */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  row-gap:16px;
  column-gap:30px;
  margin-top:18px;
}

.pricing-card{
  padding:20px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  transition:all .25s ease;
  position:relative;
}

.pricing-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,.06);
}

.pricing-card--flex{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.pricing-card--featured{
  border:2px solid rgb(240,130,30);
}

.pricing-card--month{
  border:2px solid #145587;
}

.pricing-card--year{
  border:2px solid #ff7a00;
}

.pricing-badge{
  position:absolute;
  top:-10px;
  right:16px;
  background:rgb(240,130,30);
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:4px 10px;
  border-radius:20px;
}

.pricing-title{
  font-size:18px;
  font-weight:800;
  margin-bottom:12px;
  line-height:1.3;
}

.pricing-price{
  margin-top:14px;
  margin-bottom:8px;
  font-size:28px;
  font-weight:800;
  line-height:1.2;
}

.pricing-price span,
.pricing-period{
  font-size:15px;
  font-weight:500;
  color:var(--muted);
}

.price-year{
  color:rgb(240,130,30);
  font-size:28px;
  font-weight:800;
}

.pricing-card--featured .pricing-price .price-year{
  color:rgb(240,130,30);
  font-size:30px;
  font-weight:800;
  letter-spacing:.2px;
}

.pricing-desc{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  margin-top:6px;
}

.pricing-cta{
  margin-top:18px;
}

.btn-blue{
  display:inline-block;
  background:var(--brand);
  color:#fff;
  padding:10px 18px;
  border-radius:8px;
  font-weight:700;
  text-decoration:none;
  transition:.2s;
}

.btn-blue:hover{
  opacity:.9;
}

.btn-orange{
  display:inline-block;
  background:rgb(240,130,30);
  color:#fff;
  padding:12px 22px;
  border-radius:8px;
  font-weight:800;
  text-decoration:none;
  transition:.2s;
}

.btn-orange:hover{
  background:rgb(215,110,15);
}

.pricing-card--link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.pricing-card--link:hover{
  text-decoration:none;
}

/* ===== PAYMENT BUTTONS ===== */
.payment-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
}

.payment-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:6px;
  height:60px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  background:#fff;
  transition:all 0.15s ease;
}

.payment-btn--kaspi{
  border:2px solid #E53935;
  color:#E53935;
}

.payment-btn--card{
  border:2px solid #A51652;
  color:#A51652;
}

.payment-btn img{
  max-height:40px;
  max-width:100%;
  object-fit:contain;
  display:block;
}

.payment-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,0.1);
}

.payment-note{
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}

/* ===============================
   ARTICLE / NEWS PAGE
================================= */
.article-card{
  padding:28px;
}

.article-header{
  margin-bottom:18px;
}

.article.title_i18n{
  margin:0;
  font-size:28px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:-0.3px;
}

.article-meta{
  margin-top:8px;
  font-size:13px;
  color:var(--muted);
}

.article-lead{
  margin:18px 0 22px;
  font-size:17px;
  font-weight:600;
  line-height:1.5;
}

.article.content_i18n{
  font-size:16px;
  line-height:1.75;
}

.article.content_i18n p{
  margin:0 0 16px 0;
}

.article-footer{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}

@media (max-width:700px){
  .article-card{
    padding:20px;
  }

  .article.title_i18n{
    font-size:22px;
  }

  .article.content_i18n{
    font-size:15px;
  }
}

/* ===============================
   NEWS LIST PAGE
================================= */
.news-list{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.news-item{
  padding:18px 0;
  border-bottom:1px solid var(--border);
}

.news-item:last-child{
  border-bottom:none;
}

.news-item__title{
  font-size:18px;
  font-weight:700;
  line-height:1.35;
}

.news-item__title a{
  color:var(--text);
  text-decoration:none;
}

.news-item__title a:hover{
  color:var(--brand);
}

.news-item__desc{
  margin-top:8px;
  color:var(--muted);
  line-height:1.5;
}

.news-item__meta{
  margin-top:8px;
  font-size:13px;
  color:var(--muted);
}

.news-item__more{
  display:inline-block;
  margin-top:10px;
  font-size:14px;
  font-weight:600;
}

.news-item__more:hover{
  opacity:.85;
}

.pagination{
  margin-top:24px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.pagination a,
.pagination span{
  padding:8px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  font-size:14px;
  text-decoration:none;
}

.pagination a:hover{
  background:rgba(0,0,0,.04);
}

.pagination .is-active{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}

.breadcrumbs{
  font-size:13px;
  color:var(--muted);
  margin-bottom:10px;
}

.breadcrumbs a{
  color:var(--muted);
  text-decoration:none;
}

.breadcrumbs a:hover{
  color:var(--text);
}

/* =========================
   Related news (cards)
========================= */
.related-news{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--border);
}

.related-news-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

@media (min-width:700px){
  .related-news-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

.related-news-card{
  display:block;
  padding:12px;
  border-radius:14px;
  text-decoration:none;
  color:inherit;
  transition:transform .06s ease, box-shadow .15s ease, background .15s ease;
}

.related-news-card:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 28px rgba(2, 6, 23, .08);
}

.related-news-card__t{
  font-weight:800;
  line-height:1.25;
}

.related-news-card__d{
  margin-top:6px;
  font-size:13px;
  color:var(--muted);
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.related-news-card__m{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
}

.home-grid--equal{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  align-items:start;
}

.block-space{
  margin-top:16px;
}

/* ===== PRICING HEADER FIX ===== */

.pricing-header{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:24px;
  align-items:center;
}

.pricing-header__icon img{
  width:100%;
  max-width:120px;
  height:auto;
  display:block;
}

.pricing-header__content h1{
  margin:0 0 8px 0;
}

.pricing-header__content p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

@media (max-width: 600px){
  .pricing-header{
    grid-template-columns:1fr;
    text-align:center;
  }

  .pricing-header__icon{
    margin:0 auto;
  }
}

/* ===== PRICING PAGE WRAPPERS ===== */

.pricing-container{
  max-width: 1600px;
  margin: 32px auto;
  padding: 0 16px;
}

.pricing-header,
.pricing-main{
  margin-bottom: 16px;
}

.pricing-main:last-child{
  margin-bottom: 0;
}

.pricing-subtext{
  color: var(--muted);
  line-height: 1.6;
  margin: 6px 0 0 0;
}

/* ===== CTA BOX (нижний блок оплаты) ===== */

.cta-box{
  padding:18px 20px;
  border-radius:14px;
  margin-top:16px;
}

.cta-box--blue{
  background:#f4f8fb;
  border:1px solid #d7e3ef;
}

.cta-box--blue .cta-title{
  font-weight:800;
  margin-bottom:6px;
}

.cta-footer-note{
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}