/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Description: Child theme for Hello Elementor
Author: DNA Creators
Version: 1.0.0
*/

/* =========================
   Case study post styling
   ========================= */

.elementor-widget-theme-post-content h2 {
  font-family: var(--e-global-typography-primary-font-family), sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.elementor-widget-theme-post-content p {
  margin: 0 0 16px;
}

.elementor-widget-theme-post-content .case-study-section {
  margin: 32px 0;
}

/* ── Callouts ── */

.elementor-widget-theme-post-content .callout-pink,
.elementor-widget-theme-post-content .callout-light-blue,
.elementor-widget-theme-post-content .callout-white,
.elementor-widget-theme-post-content .callout-red {
  padding: 24px;
  border-radius: 8px;
  margin: 16px 0;
}

.elementor-widget-theme-post-content .callout-pink {
  background-color: #FFD0CC;
}

.elementor-widget-theme-post-content .callout-light-blue {
  background-color: #edf5ff;
}

.elementor-widget-theme-post-content .callout-white {
  background-color: #ffffff;
}

.elementor-widget-theme-post-content .callout-red {
  color: #ffffff;
  background-color: #ff6254;
}

.elementor-widget-theme-post-content .callout-pink ul,
.elementor-widget-theme-post-content .callout-light-blue ul,
.elementor-widget-theme-post-content .callout-white ul,
.elementor-widget-theme-post-content .callout-red ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 0;
}

.elementor-widget-theme-post-content .callout-pink li,
.elementor-widget-theme-post-content .callout-light-blue li,
.elementor-widget-theme-post-content .callout-white li,
.elementor-widget-theme-post-content .callout-red li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 8px;
}

.elementor-widget-theme-post-content .callout-pink li::before,
.elementor-widget-theme-post-content .callout-light-blue li::before,
.elementor-widget-theme-post-content .callout-white li::before,
.elementor-widget-theme-post-content .callout-red li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-widget-theme-post-content .callout-pink li::before {
  color: #ffffff;
  background-color: #FF7466;
}

.elementor-widget-theme-post-content .callout-light-blue li::before,
.elementor-widget-theme-post-content .callout-white li::before {
  color: #ffffff;
  background-color: #1f4e8c;
}

.elementor-widget-theme-post-content .callout-red li::before {
  color: #ff6254;
  background-color: #ffffff;
}

/* ── Stats cards ── */

.elementor-widget-theme-post-content .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.elementor-widget-theme-post-content .stats-card {
  min-width: 0;
  min-height: 180px;
  padding: 18px 14px;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
  background-color: #FF7466;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.elementor-widget-theme-post-content .stats-card--red {
  background-color: #FF7466;
}

.elementor-widget-theme-post-content .stats-card__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0px;
  color: #ffffff;
}

.elementor-widget-theme-post-content .stats-card__label {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
  max-width: 14ch;
  margin: 0 auto;
  text-wrap: balance;
}

/* ── Strategy cards ── */

.elementor-widget-theme-post-content .strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.elementor-widget-theme-post-content .strategy-card {
  min-width: 0;
  padding: 28px 24px;
  border-radius: 12px;
  text-align: left;
}

.elementor-widget-theme-post-content .strategy-card__title {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}

.elementor-widget-theme-post-content .strategy-card--light {
  background-color: #edf5ff;
  color: #16324f;
}

.elementor-widget-theme-post-content .strategy-card--blue {
  background-color: #4791ff;
  color: #ffffff;
}

.elementor-widget-theme-post-content .strategy-card__num {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.elementor-widget-theme-post-content .strategy-card__title {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.elementor-widget-theme-post-content .strategy-card p {
  margin: 0;
  line-height: 1.55;
}

.elementor-widget-theme-post-content .strategy-card--light .strategy-card__num,
.elementor-widget-theme-post-content .strategy-card--light .strategy-card__title {
  color: #16324f;
}

.elementor-widget-theme-post-content .strategy-card--blue .strategy-card__num,
.elementor-widget-theme-post-content .strategy-card--blue .strategy-card__title {
  color: #ffffff;
}

/* ── Responsive ── */

@media (max-width: 767px) {
  .elementor-widget-theme-post-content .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .elementor-widget-theme-post-content .stats-card {
    min-height: 160px;
    padding: 16px 12px;
  }

  .elementor-widget-theme-post-content .stats-card__number {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .elementor-widget-theme-post-content .stats-card__label {
    font-size: 0.88rem;
    max-width: 12ch;
  }

  .elementor-widget-theme-post-content .strategy-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .elementor-widget-theme-post-content .strategy-card {
    padding: 22px 18px;
  }

  .elementor-widget-theme-post-content .strategy-card__title {
    font-size: 1.25rem;
  }
}