:root{
  --wh-text:#eaf0ff;
  --wh-muted: rgba(234,240,255,.65);
  --wh-gold:#ffcc33;
  --wh-blue:#56a2ff;
  --wh-purple:#6d5efc;

  --wh-radius: 18px;
  --wh-radius-sm: 14px;

  --wh-shadow: 0 18px 60px rgba(0,0,0,.55);
  --wh-shadow-soft: 0 10px 26px rgba(0,0,0,.35);
}

/* ===== Section header (Українізатори + badge + Показати всі) ===== */
.wh-section{margin:34px 0; color:var(--wh-text); font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;}
.wh-section__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,.06);
  margin-bottom:18px;
}
.wh-section__head-left{display:flex; align-items:center; gap:14px; min-width:0;}
.wh-section__bar{width:3px; height:24px; border-radius:999px; background:#2b78ff;}
.wh-section__title{margin:0; font-size:26px; font-weight:800; letter-spacing:.2px; white-space:nowrap;}
.wh-section__badge{
  font-size:12px; padding:4px 10px; border-radius:8px;
  background: rgba(43,120,255,.12);
  border: 1px solid rgba(43,120,255,.35);
  color: #bcd4ff;
}
.wh-section__viewall{
  color: rgba(234,240,255,.55);
  text-decoration:none;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.wh-section__viewall:hover{color: rgba(234,240,255,.85);}
.wh-section__viewall span{transform: translateY(1px);}

/* ===== Grid ===== */
.wh-grid{display:grid; gap:18px;}
.wh-grid--cols-1{grid-template-columns:1fr;}
.wh-grid--cols-2{grid-template-columns:1fr 1fr;}
.wh-grid--cols-3{grid-template-columns:1fr 1fr 1fr;}
@media (max-width: 900px){
  .wh-grid--cols-2, .wh-grid--cols-3{grid-template-columns:1fr;}
}

/* ===== Feature / Recommended block ===== */
.wh-feature{margin:18px 0 34px; color:var(--wh-text); font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;}
.wh-feature__label{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: var(--wh-gold);
  font-weight:900;
  letter-spacing:.18em;
  font-size:12px;
  margin:0 0 14px;
}
.wh-feature__split{display:grid; grid-template-columns: 1.3fr 1fr; gap:22px; align-items:stretch;}
@media (max-width: 900px){ .wh-feature__split{grid-template-columns:1fr;} }

/* ===== Card base ===== */
.wh-card{
  position:relative;
  display:flex;
  align-items:stretch;
  gap:18px;
  padding:18px 20px;
  border-radius: var(--wh-radius);
  overflow:hidden;

  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.07);
  box-shadow: var(--wh-shadow-soft);

  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}

/* Glow + hover animation like screenshot */
.wh-card::before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(700px 260px at 18% 35%, rgba(109,94,252,.22), transparent 60%);
  opacity:0;
  transition: opacity .25s ease;
  pointer-events:none;
}
.wh-card::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width:60%;
  height:180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  transform: rotate(18deg);
  opacity:0;
  transition: left .55s ease, opacity .18s ease;
  pointer-events:none;
}
.wh-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--wh-shadow);
  border-color: rgba(109,94,252,.35);
}
.wh-card:hover::before{opacity:1;}
.wh-card:hover::after{left:120%; opacity:1;}

/* ===== Media tile (icon/image container) ===== */
.wh-mediaTile{
  width:86px;
  height:86px;
  border-radius:16px;
  background: rgba(10, 12, 18, .55);
  border:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.wh-card--compact .wh-mediaTile{width:76px; height:76px;}

.wh-mediaImg{width:100%; height:100%; object-fit:cover; display:block;}
.wh-mediaFallback{
  width:100%; height:100%;
  background: radial-gradient(circle at 30% 20%, rgba(109,94,252,.45), rgba(0,0,0,0));
}
.wh-mediaIcon{
  font-size:34px;
  color:#9bbcff;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

/* ===== Body ===== */
.wh-body{flex:1; min-width:0; display:flex; flex-direction:column;}
.wh-top{display:flex; align-items:flex-start; justify-content:space-between; gap:12px;}
.wh-title{
  margin:0;
  font-size:20px;
  font-weight:900;
  color: var(--wh-gold);
  letter-spacing:.2px;
}
.wh-pill{
  font-size:12px;
  padding:6px 12px;
  border-radius:999px;
  background: rgba(34,197,94,.18);
  border:1px solid rgba(34,197,94,.35);
  color:#bff3cf;
  white-space:nowrap;
}
.wh-desc{
  margin:8px 0 0;
  color: rgba(234,240,255,.65);
  font-size:14px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ===== Compact footer row: stats left, DETAILS right (same line) ===== */
.wh-footerRow{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-top:14px;
}
.wh-stats{display:flex; gap:14px; align-items:center;}
.wh-stat{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  font-weight:700;
}
.wh-stat i{opacity:.85; transform: translateY(1px);}

.wh-stat--dl{ color:#4ea1ff; }   /* downloads blue */
.wh-stat--rt{ color:#ffcc33; }   /* rating gold */

.wh-details{
  color:#56a2ff;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  letter-spacing:.08em;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition: transform .18s ease, color .18s ease;
}
.wh-details:hover{color:#8cc8ff; transform: translateX(1px);}

/* ===== Wide recommended card ===== */
.wh-card--wide{
  padding:22px 24px;
  background:
    radial-gradient(900px 380px at 20% 20%, rgba(109,94,252,.35), transparent 55%),
    linear-gradient(180deg, rgba(140,120,255,.16), rgba(255,255,255,.03));
  border:1px solid rgba(109,94,252,.38);
  box-shadow: 0 18px 70px rgba(109,94,252,.18), var(--wh-shadow);
}
.wh-card--wide::before{
  opacity:1;
  background: radial-gradient(700px 260px at 20% 30%, rgba(109,94,252,.30), transparent 55%);
}
.wh-card--wide:hover{border-color: rgba(109,94,252,.55);}

.wh-card--wide .wh-title{font-size:24px;}
.wh-card--wide .wh-desc{-webkit-line-clamp:3;}

.wh-wideFooter{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:18px;
  padding-top:16px;
}
.wh-downloadBtn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 18px;
  border-radius:10px;
  background: linear-gradient(180deg, rgba(109,94,252,1), rgba(75,53,255,1));
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  box-shadow: 0 10px 25px rgba(75,53,255,.25);
  transition: transform .18s ease, filter .18s ease;
}
.wh-downloadBtn:hover{transform: translateY(-1px); filter: brightness(1.05);}
.wh-wideMeta{
  color: rgba(234,240,255,.55);
  font-size:13px;
  white-space:nowrap;
}

/* ===== Ad placeholder (right block) ===== */
.wh-ad{
  border-radius: var(--wh-radius);
  border:1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  min-height: 168px;
  box-shadow: var(--wh-shadow-soft);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.wh-ad--placeholder{
  color: rgba(234,240,255,.25);
  text-align:center;
  gap:12px;
  flex-direction:column;
}
.wh-ad__plus{
  width:44px;height:44px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  display:flex; align-items:center; justify-content:center;
  font-size:22px; color: rgba(234,240,255,.30);
  transition: transform .18s ease;
}
.wh-ad:hover .wh-ad__plus{transform: scale(1.05);}
.wh-ad__text{font-size:13px;}