/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.8.1756024704
Updated: 2025-08-24 08:38:24

*/

/* === DRIM Cases Grid === */
body { background:#f5f6fa; }
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

.cases { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
@media (max-width:1024px){ .cases{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .cases{ grid-template-columns:1fr; } }

.case-card{
  border-radius:24px;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.08);
  display:flex;flex-direction:column;position:relative;overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease; min-height:480px;
}
.case-card:hover{ transform:translateY(-8px) scale(1.02); box-shadow:0 12px 28px rgba(0,0,0,.18); }

.top-strip{
  position:absolute;top:0;left:0;width:100%;height:48px;
  background:linear-gradient(90deg,#FF3B3B,#ff7676);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;
  white-space:nowrap;overflow:hidden;padding:0 12px;text-align:center;
}
.top-strip span{ display:inline-flex; align-items:center; gap:6px; }

.card-body{ padding:72px 32px 32px; display:flex; flex-direction:column; height:100%; }
.company{ font-size:20px; font-weight:700; margin-bottom:4px; }
.niche{ font-size:14px; color:#888; margin-bottom:16px; }
.result{
  font-size:15px; font-weight:500; line-height:1.4; margin-bottom:14px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.case-image{ width:100%; height:160px; border-radius:16px; object-fit:cover; margin:12px 0 16px; transition:transform .35s ease; }
.case-card:hover .case-image{ transform:scale(1.03); }

.btn{
  align-self:flex-start; margin-top:auto; padding:10px 22px; background:#FF3B3B; color:#fff;
  font-weight:700; border:none; border-radius:10px; cursor:pointer; transition:background .2s, transform .2s;
  text-transform:uppercase; font-size:13px; letter-spacing:.5px; text-decoration:none;
}
.btn:hover{ background:#d62828; transform:translateY(-2px); }

/* Single (минимально) */
.case__kpi{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; list-style:none; padding:0; }
.case__kpi-item{ padding:16px; border:1px solid #eee; border-radius:12px; text-align:center; }




