/* ===================================================
   Info Card Widget v3 — Elementor Icon Picker uyumlu
   =================================================== */

/* ——— Kart sarmalayıcı ——— */
.icw-card {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #e5eaf2;
  box-shadow: 0 4px 24px 0 rgba(30, 50, 120, 0.09);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  padding: 26px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.22s ease, transform 0.2s ease;
}

.icw-card:hover {
  box-shadow: 0 8px 36px 0 rgba(30, 50, 120, 0.15);
  transform: translateY(-3px);
}

/* ——— Üst satır: ikon + başlık ——— */
.icw-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ——— İkon kutusu ——— */
.icw-icon-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  background: #e8eeff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Font Awesome / Elementor Icons */
.icw-icon-wrap i {
  font-size: 26px;
  color: #1a3a8f;
  line-height: 1;
  display: block;
}

/* SVG ikonlar (Elementor inline SVG) */
.icw-icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: #1a3a8f;
  display: block;
}

/* ——— Başlık ——— */
.icw-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a2340;
  line-height: 1.25;
  margin: 0;
  flex: 1;
}

/* ——— Noktalı ayraç ——— */
.icw-separator {
  width: 100%;
  border: none;
  border-top: 1.5px dashed #c9d5e8;
  margin: 18px 0 16px 0;
  flex-shrink: 0;
}

/* ——— İçerik metni ——— */
.icw-content {
  font-size: 14.5px;
  font-weight: 400;
  color: #4a5568;
  line-height: 1.65;
  margin: 0 0 22px 0;
  flex: 1;
}

/* ——— Buton sarmalayıcı ——— */
.icw-btn-wrap {
  margin-top: auto;
}

/* ——— Buton ——— */
.icw-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 24px;
  border-radius: 50px;
  background: #1a3a8f;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  transition: background 0.18s ease, filter 0.18s ease,
              transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 16px 0 rgba(26, 58, 143, 0.30);
  cursor: pointer;
  border: none;
}

.icw-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px 0 rgba(26, 58, 143, 0.40);
  color: #ffffff !important;
}

/* Buton sağ ikon */
.icw-btn-icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.icw-btn-icon i {
  font-size: 13px;
  color: #ffffff;
}

.icw-btn-icon svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
}

/* ——— Grid yardımcısı ——— */
.icw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
}

.icw-grid .icw-card {
  margin-bottom: 0;
}

/* ——— Responsive ——— */
@media (max-width: 480px) {
  .icw-card { padding: 20px 18px; }
  .icw-title { font-size: 16px; }
  .icw-btn { font-size: 14px; padding: 13px 18px; }
  .icw-icon-wrap { width: 46px; height: 46px; min-width: 46px; }
  .icw-icon-wrap i { font-size: 20px; }
}
