/* ===== Benefit Cards Layout ===== */
#plan-highlighted-benefits {
  position: relative;
  margin-top: -220px;
}

/* Wrapper: mobile stacked, desktop 2-column */
#plan-highlighted-benefits .benefit-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Left column: stacked benefit cards */
#plan-highlighted-benefits .benefit-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#plan-highlighted-benefits .benefit-cards li {
  background: #FFFFFF;
  border: 1px solid #E5E5E6;
  border-radius: 8px;
  padding: 20px 24px;
  box-sizing: border-box;
  text-align: center;
}
#plan-highlighted-benefits .banner-value-wrap {
  display: flex;
  column-gap: 30px;
  justify-content: center;
}

/* Right card */

.benefit-card-right .benefits {
  margin: 10px;
}

.benefit-card-right .benefitList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-card-right .listItem {
  display: flex;
  gap: 15px;
  /* Reserve one line-row so single-line bullets whose value renders only after the
     gpd-abyss-popover parcel upgrades don't grow from icon-only height (CLS). All
     hydrated bullets are >= this height, so no empty gap is introduced. */
  min-height: 34px;
}

.benefit-card-right .listItem > span:first-child {
  min-width: 1.75rem !important;
}

.benefit-card-right .description {
  color: #323333;
}

.benefit-card-right .description abyss-parcel,
.benefit-card-right .description abyss-parcel * {
  display: inline !important;
}

#plan-highlighted-benefits .benefit-card-right {
  background: #FFFFFF;
  border: 1px solid #E5E5E6;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
}

/* Drug pricing component centering */
#plan-highlighted-benefits .banner-drug-pricing-component {
  display: flex;
  justify-content: center;
  /* PDP only: reserve the estimated-drug-cost row height so the empty span doesn't
     collapse to 0 and then push content down once the DrugPricing component mounts
     (CLS). While empty, show a neutral skeleton block; it auto-clears once the real
     price/CTA is rendered inside. */
  min-height: 40px;
  align-items: center;
}

#plan-highlighted-benefits .banner-drug-pricing-component:empty {
  width: 160px;
  max-width: 100%;
  border-radius: 8px;
  background-color: #e2e2e2;
}

/* Benefit label */
#plan-highlighted-benefits .benefit-cards .bannerTitle {
  font-family: 'UHCSans', Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #212223 !important;
  margin-bottom: 17px;
  white-space: nowrap;
}

/* Override monthlyPremiumSection flex-row to center */
#plan-highlighted-benefits .benefit-cards .monthlyPremiumSection {
  flex-direction: column;
  align-items: center;
  margin: 0;
}

/* Benefit cost values */
#plan-highlighted-benefits .benefit-cards .heading-2,
#plan-highlighted-benefits .benefit-cards .highlight-value {
  font-family: 'UHCSerifHeadline', Georgia, serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 40px;
  color: #002677;
  display: inline;
}

#plan-highlighted-benefits .benefit-cards .lis-monthly-premium.d-none {
  display: none !important;
}

/* Network label text */
#plan-highlighted-benefits .benefit-cards .networkType {
  font-family: 'UHCSans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

#plan-highlighted-benefits .abyss-popover-trigger .tooltip-text {
  border-bottom: 1.5px solid transparent;
  border-image: repeating-linear-gradient(to right, #323333 0 4px, transparent 4px 8px) 0 0 1 0;
}

#plan-highlighted-benefits .abyss-popover-trigger .lis-cost{
    color: #007000 !important;
}

/* Desktop: 2-column layout (same for MA and PDP) */
@container plan-details-content (min-width: 768px) {
  #plan-highlighted-benefits .benefit-cards-wrapper {
    flex-direction: row;
  }

  #plan-highlighted-benefits .benefit-cards {
    flex: 1;
  }

  #plan-highlighted-benefits .benefit-cards li {
    flex: 1;
  }

  #plan-highlighted-benefits .benefit-card-right {
    display: flex;
    flex: 1;
  }
}

