/*
 * Block themes (e.g. Twenty Twenty-Four) clamp every direct child of .entry-content to the
 * site's content width via a `.is-layout-constrained > :not(.alignfull) { max-width: ...!important }`
 * rule. The `alignfull` class (added in the template) is WordPress's own escape hatch from that
 * rule; the !important pairing below guarantees the bleed regardless of theme (block or classic).
 */
.fm_hero_wrapper {
	position: relative;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	min-height: 600px;
	background-color: #16344a;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	overflow: hidden;
	box-sizing: border-box;
	font-family: 'Kanit', sans-serif;
}

.fm_hero_wrapper * {
	box-sizing: border-box;
}

.fm_hero_overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 30, 48, 0.92) 0%, rgba(10, 30, 48, 0.72) 45%, rgba(10, 30, 48, 0.35) 100%);
}

.fm_hero_inner {
	position: relative;
	z-index: 1;
	max-width: 760px;
	padding: 64px 48px;
	color: #fff;
}

.fm_hero_kicker {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #d7dee4;
	margin-bottom: 18px;
}

.fm_hero_title {
	font-size: 52px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 22px;
}

.fm_hero_title_lead {
	font-size: 0.55em;
	font-weight: 500;
	color: #cfe3ee;
	vertical-align: middle;
}

.fm_hero_title_main {
	color: #fbf9f4;
}

.fm_hero_title_line2 {
	display: block;
}

.fm_hero_title_accent {
	color: #35c2d8;
}

.fm_hero_tagline {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 16px;
	color: #fff;
}

.fm_hero_description {
	font-size: 15px;
	line-height: 1.6;
	color: #d7dee4;
	margin: 0 0 26px;
	max-width: 620px;
}

.fm_hero_cta {
	display: inline-block;
	background: #22c1d6;
	color: #08222f;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	padding: 12px 26px;
	border-radius: 6px;
	margin-bottom: 34px;
}

.fm_hero_cta:hover {
	background: #1aa9bc;
	color: #08222f;
}

.fm_hero_episode_row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}

.fm_hero_avatar {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.4);
}

.fm_hero_player_col {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 460px;
}

.fm_hero_episode_label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #35c2d8;
	margin-bottom: 6px;
}

.fm_hero_player_col .fm_player {
	margin: 0;
	background: rgba(255, 255, 255, 0.08);
	padding: 8px 12px;
	border-radius: 30px;
}

.fm_hero_player_col .fm_play_btn,
.fm_hero_player_col .fm_volume_btn {
	background: #fff;
	color: #16344a;
}

.fm_hero_player_col .fm_time_current,
.fm_hero_player_col .fm_time_duration {
	color: #cfe3ee;
}

.fm_hero_player_col .fm_progress_track {
	background: rgba(255, 255, 255, 0.25);
}

.fm_hero_player_col .fm_progress_fill {
	background: #fff;
}

.fm_hero_subscribe_row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.fm_hero_subscribe_icon {
	color: #35c2d8;
	flex: 0 0 auto;
}

.fm_hero_subscribe_label {
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	flex: 0 0 auto;
}

.fm_hero_subscribe_badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fm_hero_badge {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 999px;
	white-space: nowrap;
}

.fm_hero_badge:hover {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

@media (max-width: 782px) {
	.fm_hero_wrapper {
		min-height: 0;
	}
	.fm_hero_inner {
		padding: 40px 24px;
		max-width: 100%;
	}
	.fm_hero_title {
		font-size: 36px;
	}
	.fm_hero_tagline {
		font-size: 20px;
	}
	.fm_hero_player_col {
		max-width: 100%;
	}
}
