/**
 * [homepage-dfx] only — do not load on public embeds.
 * Namespace: .bsi-homepage-dfx
 */
@import url("https://fonts.googleapis.com/css2?family=Antonio:wght@400;600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap");

.bsi-homepage-dfx {
	--bsi-hpdfx-blue: #0085e5;
	--bsi-hpdfx-blue-light: #33a9ff;
	--bsi-hpdfx-blue-pale: #80c9ff;
	--bsi-hpdfx-ink: #000;
	--bsi-hpdfx-muted: #4b5563;
	--bsi-hpdfx-play: #22c55e;
	--bsi-hpdfx-antonio: Antonio, Impact, "Arial Narrow", sans-serif;
	box-sizing: border-box;
	width: 100%;
	max-width: 72vw;
	margin-left: auto;
	margin-right: auto;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	color: var(--bsi-hpdfx-ink);
}

.bsi-homepage-dfx *,
.bsi-homepage-dfx *::before,
.bsi-homepage-dfx *::after {
	box-sizing: border-box;
}

.bsi-homepage-dfx__layout {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
}

.bsi-homepage-dfx__card {
	flex: 0 1 auto;
	width: clamp(320px, 25vw, 620px);
	max-width: 610px;
	min-height: clamp(700px, 75vh, 1000px);
	padding: 1.15rem 1.25rem;
	background: #fff;
	border: 3px solid var(--bsi-hpdfx-blue);
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.bsi-homepage-dfx__day-nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0.75rem;
}

/* Force Antonio on all widget buttons (override `font: inherit` / theme button stacks). */
.bsi-homepage-dfx button,
.bsi-homepage-dfx .bsi-homepage-dfx__date-nav-btn,
.bsi-homepage-dfx .bsi-homepage-dfx__nav-link,
.bsi-homepage-dfx .bsi-homepage-dfx__see-more,
.bsi-homepage-dfx .bsi-homepage-dfx__video-close {
	font-family: var(--bsi-hpdfx-antonio) !important;
}

button.bsi-homepage-dfx__date-nav-btn {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	font-family: var(--bsi-hpdfx-antonio) !important;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

.bsi-homepage-dfx__date-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid #000;
	color: #000;
	line-height: 1;
	text-decoration: none;
	flex-shrink: 0;
}

.bsi-homepage-dfx__date-nav-btn:hover:not([aria-disabled="true"]),
.bsi-homepage-dfx__date-nav-btn:focus-visible:not([aria-disabled="true"]) {
	background: rgba(0, 133, 229, 0.08);
}

.bsi-homepage-dfx__date-nav-btn[aria-disabled="true"] {
	opacity: 0.25;
	cursor: default;
	pointer-events: none;
}

.bsi-homepage-dfx__ymd {
	margin: 0;
	padding: 0;
	flex: 1;
	text-align: center;
	font-family: var(--bsi-hpdfx-antonio);
	font-weight: 700;
	font-size: clamp(50px, 6vh, 72px);
	line-height: 1;
	color: var(--bsi-hpdfx-blue-light);
	letter-spacing: 0.02em;
}

.bsi-homepage-dfx__nav-tabs {
	display: flex;
	flex-wrap: nowrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: clamp(8px, 1.2vw, 16px);
	width: 100%;
}

.bsi-homepage-dfx__nav-item {
	margin: 0;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
}

button.bsi-homepage-dfx__nav-link {
	appearance: none;
	-webkit-appearance: none;
	font-family: var(--bsi-hpdfx-antonio) !important;
	font-size: clamp(18px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: 0.04em;
	margin: 0;
	cursor: pointer;
}

.bsi-homepage-dfx__nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: clamp(8px, 1.2vh, 18px) 0.35rem;
	border: 2px solid #002c4d;
	background: #000;
	color: #fff;
	font-family: var(--bsi-hpdfx-antonio) !important;
	font-weight: 700;
	font-size: clamp(18px, 2.4vw, 28px);
	line-height: 0.95;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 0;
}

.bsi-homepage-dfx__nav-link.is-active {
	background: var(--bsi-hpdfx-blue);
	color: #fff;
}

.bsi-homepage-dfx__nav-link:hover:not([aria-disabled="true"]):not(.is-active),
.bsi-homepage-dfx__nav-link:focus-visible:not([aria-disabled="true"]):not(.is-active) {
	background: #111;
}

.bsi-homepage-dfx__nav-link[aria-disabled="true"] {
	opacity: 0.35;
	pointer-events: none;
	cursor: not-allowed;
}

.bsi-homepage-dfx__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0;
}

.bsi-homepage-dfx__date-str {
	margin: 0 !important;
	margin-bottom: 0 !important;
	padding: 0;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	font-size: clamp(16px, 1.6vw, 22px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--bsi-hpdfx-blue-light);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.bsi-homepage-dfx__comments {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--bsi-hpdfx-blue-light);
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
}

.bsi-homepage-dfx__comments:hover,
.bsi-homepage-dfx__comments:focus-visible {
	color: var(--bsi-hpdfx-blue);
}

.bsi-homepage-dfx__comment-icon {
	display: block;
}

.bsi-homepage-dfx h3.bsi-homepage-dfx__title {
	margin: 0;
	font-family: var(--bsi-hpdfx-antonio);
	font-weight: 600;
	font-size: clamp(28px, 2vw, 44px);
	line-height: 1.15;
	color: #000;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bsi-homepage-dfx__title-link {
	color: inherit;
	text-decoration: none;
}

.bsi-homepage-dfx__title-link:hover,
.bsi-homepage-dfx__title-link:focus-visible {
	color: var(--bsi-hpdfx-blue);
}

.bsi-homepage-dfx__media {
	position: relative;
	width: 100%;
	margin: 0;
}

.bsi-homepage-dfx__media-link {
	display: block;
	width: 100%;
	line-height: 0;
}

.bsi-homepage-dfx__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #f3f4f6;
}

/* display:block above would otherwise beat the UA [hidden] rule and leave a gray 16:9 hole */
.bsi-homepage-dfx__photo[hidden],
.bsi-homepage-dfx__photo:not([src]),
.bsi-homepage-dfx__photo[src=""] {
	display: none !important;
}

.bsi-homepage-dfx__play {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 1;
	font-size: 4.5rem;
	color: #fff;
}

.bsi-homepage-dfx__play .fa-play-circle {
	color: #fff;
	display: block;
	line-height: 1;
	transition: transform 0.15s ease;
}

.bsi-homepage-dfx__play:hover .fa-play-circle,
.bsi-homepage-dfx__play:focus-visible .fa-play-circle {
	transform: scale(1.04);
}

.bsi-homepage-dfx__excerpt {
	margin: 0;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.45;
	color: var(--bsi-hpdfx-muted);
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bsi-homepage-dfx__excerpt p {
	margin: 0;
}

.bsi-homepage-dfx__see-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 0.75rem;
	font-family: var(--bsi-hpdfx-antonio) !important;
	font-weight: 700;
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--bsi-hpdfx-muted);
	text-decoration: none;
}

.bsi-homepage-dfx__see-more:hover,
.bsi-homepage-dfx__see-more:focus-visible {
	color: var(--bsi-hpdfx-blue);
}

.bsi-homepage-dfx__see-more span {
	color: var(--bsi-hpdfx-blue);
}

.bsi-homepage-dfx__pane[hidden] {
	display: none !important;
}

.bsi-homepage-dfx__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	min-width: 0;
}

.bsi-homepage-dfx__brand-logo {
	display: block;
	max-width: clamp(32px, 2.5vw, 80px);
	width: 100%;
	height: auto;
	margin-bottom: clamp(28px, 2vh, 60px);
}

/* Right-side Antonio wordmark text (matches homepage embed brand column). */
.bsi-homepage-dfx__brand-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	font-family: var(--bsi-hpdfx-antonio);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.01em;
}

.bsi-homepage-dfx__brand-text > span {
	display: block;
	font-size: clamp(80px, 5.8vw, 96px);
	line-height: 1;
	letter-spacing: -0.01em;
}

.bsi-homepage-dfx__brand-text > .bsi-homepage-dfx__brand-title {
	font-size: clamp(64px, 7.7vw, 134px);
	margin-bottom: 22px;
	color: #000;
}

/* Alternating blues: Programming / Recipes / Publications = #0085E5; Nutrition / Theory / Community = #80C9FF */
.bsi-homepage-dfx__brand-text > span:nth-child(2n + 2) {
	color: var(--bsi-hpdfx-blue);
}

.bsi-homepage-dfx__brand-text > span:nth-child(2n + 3) {
	color: var(--bsi-hpdfx-blue-pale);
}

.bsi-homepage-dfx__video-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.5rem;
}

.bsi-homepage-dfx__video-overlay[hidden] {
	display: none !important;
}

.bsi-homepage-dfx__video-close {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #555;
	font-family: var(--bsi-hpdfx-antonio) !important;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.bsi-homepage-dfx__video-frame {
	width: min(90vw, 900px);
	aspect-ratio: 16 / 9;
	background: #000;
}

.bsi-homepage-dfx__video-frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

@media screen and (max-width: 992px) {
	

	.bsi-homepage-dfx__brand {
		display: none;
	}

	.bsi-homepage-dfx__layout {
		justify-content: center;
	}

	.bsi-homepage-dfx__card {
		width: min(100%, 610px);
		min-height: 0;
	}
}

@media screen and (min-width: 600px) and (min-height: 700px) and (orientation: portrait) {
	.bsi-homepage-dfx__card {
		min-height: clamp(700px, 40vh, 820px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bsi-homepage-dfx__play:hover .fa-play-circle,
	.bsi-homepage-dfx__play:focus-visible .fa-play-circle {
		transform: none;
	}
}
