/* =========================================================
   DENIZ CASE / BLOG CATEGORY / CTA
   Финальная почищенная версия
   ========================================================= */

/* =========================
   1. БАЗА CASE PAGE
   ========================= */

.deniz-case-page{
  font-family:'Roboto',sans-serif;
  color:#1f2937;
}

.deniz-case-wrap{
  max-width:1180px;
  margin:0 auto;
}

.deniz-breadcrumbs{
  font-size:14px;
  color:#7a7a7a;
  margin:0 0 18px;
}

.deniz-breadcrumbs a{
  color:#7a7a7a;
  text-decoration:none;
}

.deniz-breadcrumbs a:hover{
  color:#134fa4;
}

.deniz-case-hero{
  display:flex;
  gap:32px;
  align-items:stretch;
  background:#f5f7fa;
  border-radius:20px;
  padding:32px;
  margin-bottom:28px;
}

.deniz-case-hero-left{
  flex:1 1 52%;
}

.deniz-case-badge-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.deniz-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:#eaf1fb;
  color:#134fa4;
  font-size:13px;
  font-weight:700;
  line-height:1;
}

.deniz-case-title{
  font-size:38px;
  line-height:1.15;
  font-weight:800;
  margin:0 0 14px;
  color:#111827;
}

.deniz-case-subtitle{
  font-size:16px;
  line-height:1.7;
  color:#4b5563;
  margin:0 0 22px;
  max-width:700px;
}

.deniz-case-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.deniz-case-meta-item{
  background:#fff;
  border-radius:14px;
  padding:16px;
  box-shadow:0 6px 18px rgba(17,24,39,.06);
}

.deniz-case-meta-label{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#6b7280;
  margin-bottom:6px;
}

.deniz-case-meta-value{
  display:block;
  font-size:16px;
  font-weight:700;
  color:#111827;
}

.deniz-case-hero-right{
  flex:1 1 48%;
}

.deniz-case-hero-right img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  border-radius:18px;
  display:block;
}

.deniz-video-note{
  margin-top:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border-radius:999px;
  padding:10px 14px;
  box-shadow:0 6px 18px rgba(17,24,39,.06);
  font-size:14px;
  color:#134fa4;
  font-weight:700;
}

.deniz-case-grid{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(300px,0.85fr);
  gap:28px;
  margin-bottom:30px;
}

.deniz-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:28px;
  box-shadow:0 8px 22px rgba(17,24,39,.04);
  margin-bottom:22px;
}

.deniz-card:last-child{
  margin-bottom:0;
}

.deniz-card h2{
  margin:0 0 16px;
  font-size:26px;
  line-height:1.2;
  color:#111827;
  font-weight:800;
}

.deniz-card p{
  font-size:16px;
  line-height:1.8;
  color:#374151;
  margin:0 0 14px;
}

.deniz-card p:last-child{
  margin-bottom:0;
}

.deniz-card a{
  color:#134fa4;
  text-decoration:none;
  font-weight:700;
}

.deniz-card a:hover{
  text-decoration:underline;
}

.deniz-products{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}

.deniz-product-item{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:16px;
}

.deniz-product-item strong{
  display:block;
  font-size:16px;
  margin-bottom:6px;
  color:#111827;
}

.deniz-product-item span{
  font-size:14px;
  line-height:1.6;
  color:#6b7280;
}

.deniz-quote{
  position:relative;
  background:#f5f7fa;
  border-radius:16px;
  padding:22px 22px 22px 24px;
  border-left:4px solid #134fa4;
}

.deniz-quote p{
  margin:0 0 10px;
  font-size:17px;
  line-height:1.8;
  color:#1f2937;
}

.deniz-quote cite{
  display:block;
  font-style:normal;
  font-size:14px;
  color:#6b7280;
  font-weight:700;
}

.deniz-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.deniz-gallery img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:16px;
  display:block;
}

.deniz-side-box{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:22px;
  box-shadow:0 8px 22px rgba(17,24,39,.04);
  margin-bottom:22px;
}

.deniz-side-box h3{
  margin:0 0 14px;
  font-size:20px;
  color:#111827;
  font-weight:800;
}

.deniz-side-list{
  list-style:none;
  padding:0;
  margin:0;
}

.deniz-side-list li{
  padding:10px 0;
  border-bottom:1px solid #eef2f7;
  font-size:15px;
  line-height:1.6;
  color:#374151;
}

.deniz-side-list li:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.deniz-side-list strong{
  color:#111827;
}

.deniz-side-links a{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  color:#134fa4;
  text-decoration:none;
  font-weight:700;
  margin-bottom:10px;
}

.deniz-side-links a:last-child{
  margin-bottom:0;
}

.deniz-side-links a:hover{
  background:#eef4fc;
}

.deniz-video-box{
  background:#0f172a;
  color:#fff;
  border-radius:18px;
  overflow:hidden;
}

.deniz-video-preview{
  position:relative;
  min-height:220px;
  background:#1e293b center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
}

.deniz-play{
  width:72px;
  height:72px;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  border:2px solid rgba(255,255,255,.6);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  color:#fff;
}

.deniz-video-box-content{
  padding:18px;
}

.deniz-video-box-content h3{
  margin:0 0 8px;
  color:#fff;
  font-size:20px;
}

.deniz-video-box-content p{
  margin:0 0 12px;
  color:rgba(255,255,255,.8);
  font-size:14px;
  line-height:1.7;
}

.deniz-video-box-content a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

/* =========================
   2. СТАНДАРТНЫЙ CTA
   ========================= */

.deniz-cta{
  margin-top:30px;
  background:linear-gradient(135deg,#134fa4,#2a67be);
  border-radius:22px;
  padding:34px;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.deniz-cta h2{
  margin:0 0 10px;
  color:#fff;
  font-size:30px;
  font-weight:800;
}

.deniz-cta p{
  margin:0;
  font-size:16px;
  line-height:1.7;
  color:rgba(255,255,255,.9);
}

.deniz-cta-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.deniz-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  transition:.2s ease;
}

.deniz-btn-white{
  background:#fff;
  color:#134fa4;
}

.deniz-btn-white:hover{
  background:#f3f4f6;
  text-decoration:none;
}

.deniz-btn-outline{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.45);
}

.deniz-btn-outline:hover{
  background:rgba(255,255,255,.08);
  text-decoration:none;
}

/* =========================
   3. BLOG / CATEGORY LIST
   ========================= */

.blog-items,
.blog .items-row{
  margin-left:-12px;
  margin-right:-12px;
}

.blog .items-row > div{
  padding-left:12px;
  padding-right:12px;
  margin-bottom:24px;
}

.blog .item{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 22px rgba(17,24,39,.04);
  height:100%;
}

.blog .item-image,
.blog .entry-image,
.blog .pull-left.item-image{
  margin:0 0 16px;
}

.blog .item-image img,
.blog .entry-image img,
.blog .pull-left.item-image img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:14px;
  display:block;
}

.blog .item-title,
.blog h2.item-title{
  font-size:28px;
  line-height:1.2;
  margin:0 0 12px;
  font-weight:800;
}

.blog .item-title a,
.blog h2.item-title a{
  color:#111827;
  text-decoration:none;
}

.blog .item-title a:hover,
.blog h2.item-title a:hover{
  color:#134fa4;
}

.blog .introtext,
.blog .item-introtext{
  font-size:16px;
  line-height:1.75;
  color:#4b5563;
  margin-bottom:16px;
}

.blog .readmore,
.blog p.readmore{
  margin-top:14px;
}

.blog .readmore a,
.blog p.readmore a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:12px;
  background:#134fa4;
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

.blog .readmore a:hover,
.blog p.readmore a:hover{
  background:#0f438a;
}

.blog .article-info,
.blog .icons,
.blog .content_rating,
.blog .pager,
.blog .pagination-ms{
  margin-top:12px;
}

.blog .article-info{
  display:none;
}

/* =========================
   4. PAGE CATEGORY / КАРТОЧКИ
   ========================= */

.page-category .item-page h1,
.page-category .item-page .article-header,
.page-category .item-page .article-info,
.page-category .item-page .icons,
.page-category .item-page .entry-header,
.page-category .item-page .entry-meta,
.page-category .item-page .social-share,
.page-category .item-page .pagenav,
.page-category .item-page .article-ratings,
.page-category .icons,
.page-category .article-info,
.page-category .social-share,
.page-category .btn-group,
.page-category .pull-right,
.page-category .article-aside,
.page-category .item-page .icons{
  display:none !important;
}

.deniz-card-intro{
  font-family:'Roboto',sans-serif;
}

.deniz-card-badges{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0;
}

.deniz-card-title{
  font-size:26px;
  line-height:1.2;
  font-weight:800;
  color:#111827;
  margin:0 0 16px;
}

.deniz-card-img{
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:16px;
  display:block;
}

.page-category .item-image,
.page-category .intro-image,
.page-category .pull-left.item-image{
  display:none !important;
}

.page-category .item,
.page-category .items-row > div,
.page-category .blog > div,
.page-category .leading-0,
.page-category .leading-1,
.page-category .leading-2,
.page-category .leading-3{
  margin-bottom:30px;
}

.page-category .item{
  background:#fff;
  border-radius:24px;
  border:1px solid #e6ebf2;
  box-shadow:0 8px 28px rgba(15,35,95,.05);
  overflow:hidden;
  padding-bottom:20px;
  transition:.25s ease;
}

.page-category .item:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 36px rgba(15,35,95,.10);
}

.page-category .item-image img,
.page-category .intro-image img,
.page-category .item img{
  width:100%;
  max-width:100%;
  height:280px;
  object-fit:cover;
  display:block;
  border-radius:18px;
}

.page-category .item > *:not(.item-image):not(.intro-image):not(.pull-left){
  margin-left:24px;
  margin-right:24px;
}

.page-category h1,
.page-category h2.item-title,
.page-category .item-title,
.page-category .page-header h2,
.page-category .item h2,
.page-category .item h1,
.page-category .item .page-header h2{
  font-size:30px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  color:#111827 !important;
  margin:14px 24px 14px !important;
}

.page-category .item-title a,
.page-category .page-header h2 a{
  color:#111827 !important;
  text-decoration:none !important;
}

.page-category .item-title a:hover,
.page-category .page-header h2 a:hover{
  color:#134fa4 !important;
}

.page-category .item p,
.page-category .introtext,
.page-category .item-content p{
  color:#4b5563 !important;
  font-size:17px !important;
  line-height:1.75 !important;
  margin-left:24px !important;
  margin-right:24px !important;
}

.page-category .deniz-card-badges{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
  margin-bottom:18px;
}

.page-category .deniz-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:#eef3fb;
  color:#2d5fa8;
  font-size:13px;
  font-weight:700;
  line-height:1;
}

.page-category .readmore,
.page-category p.readmore{
  margin:26px 34px 0 !important;
}

.page-category .readmore a,
.page-category .readmore .btn,
.page-category p.readmore a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:190px;
  height:54px;
  padding:0 22px !important;
  border-radius:14px !important;
  background:#134fa4 !important;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:700 !important;
  font-size:0 !important;
  box-shadow:0 8px 20px rgba(19,79,164,.18);
}

.page-category .readmore a::after,
.page-category .readmore .btn::after,
.page-category p.readmore a::after{
  content:"Смотреть кейс →";
  font-size:15px;
}

.page-category .readmore a:hover,
.page-category .readmore .btn:hover,
.page-category p.readmore a:hover{
  background:#0f438a !important;
}

/* =========================
   5. НИЖНИЙ БЛОК РАСЧЕТА
   ========================= */

.deniz-calc-banner{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  background:url('/images/Deniz-Calculate.jpg') no-repeat right center;
  background-size:cover;
  border-radius:16px;
  padding:50px 60px;
  margin:40px 0;
  min-height:260px;
  position:relative;
  overflow:hidden;
}

.deniz-calc-banner::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:60%;
  height:100%;
  background:linear-gradient(90deg,#eef2f8 80%,rgba(238,242,248,0) 100%);
}

.deniz-calc-content{
  position:relative;
  z-index:2;
  max-width:520px;
}

.deniz-calc-content h2{
  font-size:28px;
  font-weight:700;
  color:#1d2b4f;
  margin:0 0 15px;
  line-height:1.3;
}

.deniz-calc-content p{
  font-size:16px;
  color:#5a6b8c;
  margin:0 0 25px;
}

.deniz-calc-buttons{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.btn-whatsapp,
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:8px;
  text-decoration:none !important;
  font-weight:600;
  transition:all .3s ease;
  border:2px solid #2f5fb3;
}

.btn-whatsapp{
  background:#2f5fb3;
  color:#fff !important;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus{
  background:transparent;
  color:#2f5fb3 !important;
  transform:scale(1.05);
}

.btn-outline{
  background:transparent;
  color:#2f5fb3 !important;
}

.btn-outline:hover,
.btn-outline:focus{
  background:#2f5fb3;
  color:#fff !important;
  transform:scale(1.05);
}

.btn-whatsapp:active,
.btn-outline:active{
  transform:scale(.96);
}

/* =========================
   6. АДАПТИВ
   ========================= */

@media (max-width: 991px){
  .deniz-case-hero{
    flex-direction:column;
    padding:24px;
  }

  .deniz-case-title{
    font-size:30px;
  }

  .deniz-case-meta{
    grid-template-columns:1fr;
  }

  .deniz-case-grid{
    grid-template-columns:1fr;
  }

  .deniz-cta{
    flex-direction:column;
    align-items:flex-start;
  }

  .blog .item-title,
  .blog h2.item-title{
    font-size:24px;
  }

  .blog .item-image img,
  .blog .entry-image img,
  .blog .pull-left.item-image img{
    height:220px;
  }
}

@media (max-width: 768px){
  .deniz-calc-banner{
    padding:30px 20px;
    background-position:center right;
  }

  .deniz-calc-banner::before{
    width:100%;
    background:rgba(238,242,248,.95);
  }

  .deniz-calc-content h2{
    font-size:22px;
  }
}

@media (max-width: 640px){
  .deniz-case-title{
    font-size:26px;
  }

  .deniz-products,
  .deniz-gallery{
    grid-template-columns:1fr;
  }

  .deniz-card,
  .deniz-side-box{
    padding:20px;
  }

  .deniz-cta{
    padding:24px;
  }

  .deniz-cta h2{
    font-size:24px;
  }

  .blog .item{
    padding:16px;
  }

  .blog .item-title,
  .blog h2.item-title{
    font-size:22px;
  }

  .blog .item-image img,
  .blog .entry-image img,
  .blog .pull-left.item-image img{
    height:210px;
  }

  .deniz-card-title{
    font-size:22px;
  }

  .page-category h1,
  .page-category h2.item-title,
  .page-category .item-title,
  .page-category .page-header h2,
  .page-category .item h2,
  .page-category .item h1,
  .page-category .item .page-header h2{
    font-size:22px !important;
  }

  .page-category .item p,
  .page-category .introtext,
  .page-category .item-content p{
    font-size:15px !important;
    line-height:1.7 !important;
  }

  .page-category .readmore,
  .page-category p.readmore{
    margin:20px 24px 0 !important;
  }
}

/* =========================
   7. CASE V2
   ========================= */

.deniz-case-v2{
  font-family:'Roboto',sans-serif;
  margin-top:0 !important;
  padding-top:0 !important;
  border-top:none !important;
  position:static !important;
}

.deniz-case-v2-wrap{
  max-width:1120px;
  margin:0 auto;
  padding-top:20px;
}

/* HERO */
.case-top{
  display:grid;
  grid-template-columns:0.95fr 1.25fr;
  gap:40px;
  align-items:start;
  margin-bottom:34px;
}

.case-top-left{
  min-width:0;
}

.case-top-left h1{
  font-size:28px;
  line-height:1.15;
  font-weight:800;
  color:#111827;
  margin:14px 0 18px;
}

.case-chip-row{
  margin-bottom:10px;
}

.case-chip{
  display:inline-flex;
  padding:7px 14px;
  border-radius:999px;
  background:#eef4ff;
  color:#134fa4;
  font-size:13px;
  font-weight:700;
}

.case-meta-row{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  margin-bottom:20px;
}

.case-meta-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#134fa4;
  font-size:15px;
  font-weight:600;
}

.case-meta-item img{
  width:18px;
  height:18px;
  max-width:18px;
  max-height:18px;
  object-fit:contain;
  display:block;
}

.case-intro-text,
.case-prose{
  color:#4b5563;
  font-size:16px;
  line-height:1.85;
}

.case-top-right{
  width:100%;
  min-width:0;
}

.case-top-right > img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  display:block;
  border-radius:18px;
}

.case-video-main{
  width:100%;
  aspect-ratio:16 / 9;
  border-radius:18px;
  overflow:hidden;
  background:#000;
}

.case-video-main iframe{
  width:100%;
  height:100%;
  display:block;
  border:0;
}

/* GRID BLOCKS */
.case-grid-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  margin-bottom:28px;
}

.case-card{
  background:#fff;
  border:1px solid #e7ecf3;
  border-radius:18px;
  padding:24px;
  box-shadow:0 8px 22px rgba(17,24,39,.04);
}

.case-card h2{
  font-size:20px;
  font-weight:800;
  color:#111827;
  margin:0 0 18px;
}

.case-info-box{
  background:#f8fafc;
}

.case-info-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.case-info-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  border-bottom:1px solid #e6ebf2;
  padding-bottom:10px;
}

.case-info-row:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.case-info-label{
  display:flex;
  align-items:center;
  gap:10px;
}

.case-info-label img{
  width:22px;
  height:22px;
  max-width:22px;
  max-height:22px;
  object-fit:contain;
  display:block;
  flex:0 0 22px;
  filter:brightness(0) saturate(100%) invert(29%) sepia(92%) saturate(1400%) hue-rotate(200deg) brightness(95%) contrast(95%);
}

.case-info-row strong{
  color:#111827;
  font-weight:700;
}

.case-info-row span{
  color:#4b5563;
  text-align:right;
}

.case-list{
  margin:0;
  padding-left:20px;
}

.case-list li{
  margin-bottom:10px;
  color:#334155;
  line-height:1.8;
}

.case-side-photo img{
  width:100%;
  display:block;
  border-radius:18px;
  object-fit:cover;
  aspect-ratio:16 / 9;
}

/* REVIEW */
.case-review-box{
  margin-bottom:28px;
}

.case-review-inner{
  display:grid;
  grid-template-columns:1fr 180px;
  gap:20px;
  align-items:center;
  background:#f4f7fd;
  border-radius:16px;
  padding:24px;
}

.case-quote-mark{
  font-size:52px;
  line-height:1;
  color:#2b67bd;
  font-weight:800;
  margin-bottom:8px;
}

.case-review-text p{
  margin:0 0 14px;
  color:#334155;
  line-height:1.9;
}

.case-review-author{
  font-weight:800;
  color:#111827;
  margin-bottom:4px;
}

.case-review-position{
  color:#6b7280;
  font-size:14px;
}

.case-review-logo img{
  max-width:140px;
  margin-left:auto;
  display:block;
}

.case-review-wide{
  margin-bottom:28px;
}

.case-review-wide .case-review-inner{
  display:grid;
  grid-template-columns:1fr 180px;
  gap:20px;
  align-items:center;
  background:#f4f7fd;
  border-radius:16px;
  padding:24px;
}

.case-review-wide .case-review-logo{
  display:flex;
  align-items:center;
  justify-content:center;
}

.case-review-wide .case-review-logo img{
  max-width:150px;
  width:100%;
  height:auto;
  display:block;
}

/* GALLERY */
.case-gallery-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.case-gallery-3 img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:14px;
  display:block;
}

/* BACK LINK */
.case-back-link{
  margin:6px 0 30px;
}

.case-back-link a{
  display:inline-flex;
  align-items:center;
  padding:12px 18px;
  border-radius:12px;
  background:#f4f6f9;
  color:#111827;
  text-decoration:none;
  font-weight:600;
}

.case-back-link a:hover{
  background:#e9edf3;
}

/* =========================
   8. ОДНА ЛИНИЯ ПОД ШАПКОЙ
   ========================= */

#sp-header{
  border-bottom:1px solid #e5e7eb !important;
}

#sp-header::after,
header::after,
.deniz-case-v2::before{
  display:none !important;
  content:none !important;
}

#sp-header .container,
#sp-header .row,
.header .container,
.navbar .container{
  border-bottom:none !important;
}

.header,
.header-wrapper,
.top-bar,
.navbar,
#t3-header,
#header,
header{
  border-bottom:none !important;
}

/* =========================
   9. MOBILE
   ========================= */

@media (max-width: 991px){
  .case-top,
  .case-grid-two,
  .case-review-inner,
  .case-review-wide .case-review-inner{
    grid-template-columns:1fr;
  }

  .case-gallery-3{
    grid-template-columns:1fr;
  }

  .case-review-logo img{
    margin-left:0;
  }

  .case-review-wide .case-review-logo{
    justify-content:flex-start;
  }
}

/* ===== КАРТОЧКИ СПИСКА ОТЗЫВОВ ===== */

.blog .items-row,
.blog-items {
  margin-left: -14px;
  margin-right: -14px;
}

.blog .items-row > div,
.blog-items > div {
  padding-left: 14px;
  padding-right: 14px;
  margin-bottom: 28px;
}

.deniz-case-card {
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(17,24,39,.04);
  transition: .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.deniz-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(17,24,39,.10);
}

.deniz-case-card-image-link {
  display: block;
  position: relative;
}

.deniz-case-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.deniz-case-card-image-link.is-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.02));
  pointer-events: none;
}

.deniz-case-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  margin-top: -36px;
  border-radius: 50%;
  background: rgba(255, 0, 0, .92);
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  z-index: 2;
}

.deniz-case-card-play::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  border-left: 20px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.deniz-case-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deniz-case-card-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.deniz-case-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #134fa4;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.deniz-case-card-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.deniz-case-card-title a {
  color: #111827;
  text-decoration: none;
}

.deniz-case-card-title a:hover {
  color: #134fa4;
}

.deniz-case-card-text {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 14px;
  flex: 1;
}

.deniz-case-card-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: #134fa4;
  font-size: 14px;
  font-weight: 600;
}

.deniz-case-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.deniz-case-card-meta-item i {
  font-size: 14px;
}

.deniz-case-card-actions {
  margin-top: auto;
}

.deniz-case-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: #134fa4;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.deniz-case-card-btn:hover {
  background: #0f438a;
  color: #fff;
  text-decoration: none;
}

/* убираем стандартный мусор Joomla внутри категории */
.blog .page-header,
.blog .item-title,
.blog .article-info,
.blog .icons,
.blog .pull-right,
.blog .btn-group,
.blog .social-share,
.blog .readmore,
.blog .item-image,
.blog .intro-image,
.blog img[alt=""],
.blog .pagination-ms {
  display: none !important;
}

@media (max-width: 991px) {
  .deniz-case-card-title {
    font-size: 20px;
  }

  .deniz-case-card-image {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .deniz-case-card-body {
    padding: 16px;
  }

  .deniz-case-card-title {
    font-size: 19px;
  }

  .deniz-case-card-image {
    height: 210px;
  }
}

/* ===== СТРАНИЦА КАТЕГОРИИ ОТЗЫВОВ ===== */

.deniz-reviews-page{
  max-width: 1180px;
  margin: 0 auto 40px;
}

.deniz-reviews-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-bottom:28px;
}

.deniz-case-card{
  background:#fff;
  border:1px solid #e7ecf3;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(17,24,39,.04);
  transition:.25s ease;
  height:100%;
  display:flex;
  flex-direction:column;
}

.deniz-case-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 34px rgba(17,24,39,.10);
}

.deniz-case-card-image-link{
  display:block;
  position:relative;
}

.deniz-case-card-image{
  width:100%;
  height:250px;
  object-fit:cover;
  display:block;
}

.deniz-case-card-image-link.is-video::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.25),rgba(0,0,0,.02));
  pointer-events:none;
}

.deniz-case-card-play{
  position:absolute;
  left:50%;
  top:50%;
  width:72px;
  height:72px;
  margin-left:-36px;
  margin-top:-36px;
  border-radius:50%;
  background:rgba(255,0,0,.92);
  box-shadow:0 8px 20px rgba(0,0,0,.22);
  z-index:2;
}

.deniz-case-card-play::before{
  content:"";
  position:absolute;
  left:29px;
  top:22px;
  border-left:20px solid #fff;
  border-top:14px solid transparent;
  border-bottom:14px solid transparent;
}

.deniz-case-card-body{
  padding:18px 18px 20px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.deniz-case-card-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.deniz-case-card-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:#eef4ff;
  color:#134fa4;
  font-size:13px;
  font-weight:700;
  line-height:1;
}

.deniz-case-card-title{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.2;
  font-weight:800;
}

.deniz-case-card-title a{
  color:#111827;
  text-decoration:none;
}

.deniz-case-card-title a:hover{
  color:#134fa4;
}

.deniz-case-card-text{
  font-size:15px;
  line-height:1.7;
  color:#4b5563;
  margin-bottom:14px;
  flex:1;
}

.deniz-case-card-meta{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:16px;
  color:#134fa4;
  font-size:14px;
  font-weight:600;
}

.deniz-case-card-meta-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.deniz-case-card-meta-item i{
  font-size:14px;
}

.deniz-case-card-actions{
  margin-top:auto;
}

.deniz-case-card-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:170px;
  height:48px;
  padding:0 18px;
  border-radius:12px;
  background:#134fa4;
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

.deniz-case-card-btn:hover{
  background:#0f438a;
  color:#fff;
  text-decoration:none;
}

.deniz-reviews-pagination{
  display:flex;
  justify-content:center;
  margin:10px 0 30px;
}

.deniz-reviews-pagination .pagination{
  display:flex;
  gap:10px;
  list-style:none;
  padding:0;
  margin:0;
}

.deniz-reviews-pagination .pagination li a,
.deniz-reviews-pagination .pagination li span{
  width:42px;
  height:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d8e1ec;
  background:#fff;
  color:#111827;
  text-decoration:none;
  font-weight:700;
}

.deniz-reviews-pagination .pagination li.active span{
  background:#134fa4;
  color:#fff;
  border-color:#134fa4;
}

@media (max-width: 1100px){
  .deniz-reviews-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 640px){
  .deniz-reviews-grid{
    grid-template-columns:1fr;
  }

  .deniz-case-card-title{
    font-size:19px;
  }

  .deniz-case-card-image{
    height:210px;
  }

  .deniz-case-card-btn{
    width:100%;
  }
}