/* =====================================================
   Topics CTA Card — Option C (split mosaic)
   أضِف هذا الكود في نهاية main.css
   يستبدل شبكة .ht-topics / .ht-topic الخمسية
   ببطاقة واحدة مقسومة تنتقل لصفحة topics.php
===================================================== */

/* ── wrapper link ── */
.ht-topics-cta {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(6,33,65,0.08);
  border: 1px solid rgba(6,33,65,0.07);
  text-decoration: none;
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ht-topics-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(6,33,65,0.15);
}

/* ── left: dark mosaic ── */
.htc-mosaic {
  background: linear-gradient(160deg, #062141, #0a3355);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.htc-tile {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.ht-topics-cta:hover .htc-tile {
  background: rgba(255,255,255,0.17);
}
.ht-topics-cta:hover .htc-tile:nth-child(1) { transform: translateY(-3px); }
.ht-topics-cta:hover .htc-tile:nth-child(2) { transform: translateY(-3px); transition-delay: .05s; }
.ht-topics-cta:hover .htc-tile:nth-child(3) { transform: translateY(-3px); transition-delay: .1s; }

.htc-tile img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.htc-tile span {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  text-align: center;
  line-height: 1.4;
  font-family: 'Tajawal', sans-serif;
}

/* +more tile */
.htc-tile-more {
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.22);
}
.htc-more-num {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1 !important;
}
.htc-more-label {
  font-size: 10px !important;
  color: rgba(255,255,255,0.4) !important;
  font-weight: 600 !important;
}

/* ── right: text body ── */
.htc-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.htc-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #0a4d4d;
  letter-spacing: 0.5px;
}

.htc-title {
  font-size: 22px;
  font-weight: 800;
  color: #062141;
  line-height: 1.35;
  margin: 0;
}

.htc-sub {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.htc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  background: linear-gradient(135deg, #062141, #0a4d4d);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  align-self: flex-start;
  transition: gap 0.25s ease, opacity 0.25s ease;
  font-family: 'Tajawal', sans-serif;
}
.ht-topics-cta:hover .htc-btn {
  gap: 12px;
}
.htc-btn i {
  font-size: 11px;
}

/* ── responsive ── */
@media (max-width: 900px) {
  .ht-topics-cta {
    grid-template-columns: 180px 1fr;
  }
  .htc-body {
    padding: 24px 26px;
    gap: 8px;
  }
  .htc-title { font-size: 18px; }
}

@media (max-width: 640px) {
  .ht-topics-cta {
    grid-template-columns: 1fr;
  }
  .htc-mosaic {
    grid-template-rows: auto;
    padding: 18px;
    gap: 8px;
  }
  .htc-tile { padding: 12px 6px; }
  .htc-body {
    padding: 22px 22px;
    gap: 8px;
  }
  .htc-title { font-size: 17px; }
  .htc-sub { font-size: 13px; }
  .htc-btn { font-size: 13px; padding: 10px 20px; }
}

@media (max-width: 400px) {
  .htc-mosaic { grid-template-columns: repeat(2, 1fr); }
}
