/* [bf_program_details] card — loaded only where the shortcode is used. */
.bf-progcard {
	padding: 26px;
	border: 1px solid #EEF0F2;
	border-radius: 20px;
	background: #F8F9FA;
	font-family: var(--e-global-typography-text-font-family, "Inter"), sans-serif;
	color: var(--e-global-color-text, #2C3E50);
}
.bf-progcard .bf-progcard__title { margin: 0 0 12px; font: 700 20px/1.3 var(--e-global-typography-primary-font-family, "Poppins"), sans-serif; color: var(--e-global-color-text, #2C3E50); }
.bf-progcard dl { margin: 0; }
.bf-progcard__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #EEF0F2; font-size: 15px; }
.bf-progcard__row:last-child { border-bottom: 0; }
.bf-progcard dt { color: #6C7A89; }
.bf-progcard dd { margin: 0; font-weight: 600; text-align: right; }
.bf-progcard dd.is-metric { color: var(--e-global-color-primary, #2660A4); }
.bf-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; }
.bf-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bf-status--active { background: #E6F7EF; color: var(--e-global-color-accent, #00B775); }
.bf-status--paused { background: #FFF4E5; color: #B26A00; }
.bf-status--completed { background: #EEF0F2; color: #5A6C7D; }

/* Rows / related list inside the existing Elementor sidebar boxes (box styling stays in Elementor). */
.bf-siderows { display: flex; flex-direction: column; gap: 10px; }
.bf-siderows p { margin: 0; }
.bf-related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bf-related li { margin: 0; }
.bf-related a { display: inline-flex; align-items: center; gap: 10px; color: var(--e-global-color-text, #2C3E50); text-decoration: none; font-weight: 500; transition: color .2s; }
.bf-related a:hover, .bf-related a:focus-visible { color: var(--e-global-color-primary, #2660A4); }
.bf-related__icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 8px; background: #E8F0FA; color: var(--e-global-color-primary, #2660A4); }
.bf-related__icon:empty { display: none; }
.bf-related .bf-icon { width: 16px; height: 16px; }

/* Mobile-first (1.12.3): the program pages' Elementor layout has 10px left / 0px right padding on
   phones, so hero text touched the right edge and the breadcrumb row made the page 8px wider than
   the screen. Give every top-level section the site's 16px phone gutter (backgrounds stay full
   width — only the content moves in) and let the breadcrumb wrap. Program pages only. */
@media (max-width: 767px) {
	main .elementor .e-con.e-parent { --padding-left: 16px; --padding-right: 16px; }
	main .elementor .elementor-icon-list-items.elementor-inline-items { flex-wrap: wrap; max-width: 100%; row-gap: 4px; }
}

/* Phone tab bar (1.14.1): the Overview section right below the hub had 60px top padding (+12px
   heading margin = 72px of empty space under the tabs). Content should start sooner on phones. */
@media (max-width: 767px) {
	main .elementor .e-con.e-parent:has(.bf-hub) + .e-con.e-parent > .e-con-inner { padding-top: 20px; }
}
