/* All three education programs use the same compact summary card layout. */
:is(.elementor-18481 .elementor-element-74808e2,
    .elementor-18486 .elementor-element-1cc9b33,
    .elementor-18491 .elementor-element-484dd08):has(.bf-edu-card-copy) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(14px, 2vw, 30px);
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .e-con:has(> .elementor-widget-html .bf-edu-card-copy) {
  box-sizing: border-box;
  --width: 100%;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  align-self: stretch !important;
  justify-content: flex-start !important;
  padding: clamp(16px, 2.2vw, 28px) !important;
  margin: 0 !important;
  gap: 12px;
  border-radius: 14px;
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .e-con:has(> .elementor-widget-html .bf-edu-card-copy) > .elementor-widget-icon-box {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  margin: 0 !important;
  transform: none !important;
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .e-con:has(> .elementor-widget-html .bf-edu-card-copy) .elementor-icon-box-icon {
  display: flex;
  justify-content: center;
  margin: 0 !important;
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .e-con:has(> .elementor-widget-html .bf-edu-card-copy) .elementor-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0 !important;
  border-radius: 50%;
  color: #051435;
  background: #f4f2ed;
  box-shadow: none;
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .e-con:has(> .elementor-widget-html .bf-edu-card-copy) .elementor-icon svg {
  width: 30px;
  height: 30px;
}

.bf-edu-card-copy {
  text-align: center;
}

.bf-edu-card-copy h4 {
  display: grid;
  align-items: center;
  min-block-size: 2.4em;
  margin: 0 0 8px;
  color: #051435;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.2;
}

.bf-edu-card-copy p {
  margin: 0;
  color: #4c4c4c;
  font-size: 16px;
  line-height: 1.5;
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .bf-edu-details {
  padding: 12px 0 0;
  gap: 15px;
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .bf-edu-details :is(.prelements-heading, .descripti) {
  text-align: start !important;
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .bf-edu-details h4.title {
  font-size: clamp(18px, 1.7vw, 22px);
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .bf-sidebar-contact {
  background: none !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .bf-sidebar-contact::before,
:is(.elementor-18481, .elementor-18486, .elementor-18491) .bf-sidebar-contact::after {
  display: none !important;
}

:is(.elementor-18481, .elementor-18486, .elementor-18491) .bf-sidebar-contact a {
  position: static !important;
  inset: auto !important;
  width: 100%;
}

@media (max-width: 950px) {
  :is(.elementor-18481 .elementor-element-74808e2,
      .elementor-18486 .elementor-element-1cc9b33,
      .elementor-18491 .elementor-element-484dd08):has(.bf-edu-card-copy) {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
  }
  .bf-edu-card-copy h4 {
    min-block-size: 0;
  }
}
