.f9-expert-directory,
.f9-expert-profile,
.f9-expert-blog-archive {
	--f9-expert-red: #b20928;
	--f9-expert-red-dark: #89071f;
	--f9-expert-red-soft: #fff1f3;
	--f9-expert-ink: #172033;
	--f9-expert-muted: #647084;
	--f9-expert-line: #e2e7ee;
	--f9-expert-soft: #f4f7fa;
	--f9-expert-white: #fff;
	--f9-expert-shadow: 0 1.25rem 3.5rem rgba(23, 32, 51, 0.1);
}

.f9-expert-directory .front_page,
.f9-expert-profile .front_page,
.f9-expert-profile #primary,
.f9-expert-blog-archive #archive_news {
	background:
		radial-gradient(circle at 8% 4%, rgba(178, 9, 40, 0.07), transparent 22rem),
		var(--f9-expert-soft);
}

.f9-expert-profile-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 3rem;
	padding: 0.75rem 1.25rem;
	border: 2px solid var(--f9-expert-red);
	border-radius: 999px;
	background: var(--f9-expert-red);
	box-shadow: 0 0.65rem 1.5rem rgba(178, 9, 40, 0.18);
	color: var(--f9-expert-white);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.f9-expert-profile-button:hover,
.f9-expert-profile-button:focus-visible {
	background: var(--f9-expert-white);
	box-shadow: 0 0.85rem 1.8rem rgba(178, 9, 40, 0.14);
	color: var(--f9-expert-red-dark);
	text-decoration: none;
	transform: translateY(-2px);
}

.f9-expert-profile-button:focus-visible,
.f9-expert-profile article a:focus-visible,
.f9-expert-directory a:focus-visible {
	outline: 3px solid rgba(178, 9, 40, 0.3);
	outline-offset: 3px;
}

/* Expert directory. */
.f9-expert-directory .front_page > .container-xxl {
	max-width: 1160px;
	padding-top: clamp(1.5rem, 4vw, 3.5rem);
	padding-bottom: clamp(3rem, 7vw, 6rem);
}

.f9-expert-directory .front_page__content {
	color: var(--f9-expert-ink);
}

.f9-expert-directory .yoast-breadcrumbs,
.f9-expert-profile .yoast-breadcrumbs,
.f9-expert-profile .f9-profile-breadcrumbs {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	font-size: 0.9rem;
	color: var(--f9-expert-muted);
}

.f9-expert-directory .yoast-breadcrumbs a,
.f9-expert-profile .yoast-breadcrumbs a,
.f9-expert-profile .f9-profile-breadcrumbs a {
	color: var(--f9-expert-red);
	text-decoration: none;
}

.f9-expert-directory h1 {
	max-width: 760px;
	margin: 0 auto clamp(2rem, 5vw, 4rem);
	font-family: "DIN Pro", sans-serif;
	font-size: clamp(2.4rem, 6vw, 4.8rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.035em;
	text-align: center;
}

.f9-expert-directory h1::after {
	display: block;
	width: 4rem;
	height: 0.3rem;
	margin: 1.25rem auto 0;
	border-radius: 999px;
	background: var(--f9-expert-red);
	content: "";
}

.f9-expert-directory .wp-block-columns {
	align-items: stretch !important;
	gap: clamp(1.25rem, 3vw, 2.25rem);
}

.f9-expert-directory.page-id-781 .wp-block-columns {
	max-width: 100%;
	margin: 0;
	gap: clamp(1.25rem, 3vw, 2.25rem);
}

.f9-expert-directory .wp-block-column {
	display: flex;
	min-width: 0;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border: 1px solid rgba(23, 32, 51, 0.08);
	border-radius: 1.5rem;
	background: var(--f9-expert-white);
	box-shadow: var(--f9-expert-shadow);
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.f9-expert-directory.page-id-781 .wp-block-column {
	padding: clamp(1rem, 2.5vw, 1.5rem);
}

.f9-expert-directory .wp-block-column:hover {
	box-shadow: 0 1.75rem 4rem rgba(23, 32, 51, 0.14);
	transform: translateY(-5px);
}

.f9-expert-directory .wp-block-column > figure:first-child {
	width: auto;
	margin: calc(clamp(1rem, 2.5vw, 1.5rem) * -1) calc(clamp(1rem, 2.5vw, 1.5rem) * -1) 1.5rem;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.f9-expert-directory .wp-block-column > figure:first-child img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 0.45s ease;
}

.f9-expert-directory.page-id-781 .wp-block-column > figure:first-child img {
	max-width: 100%;
	max-height: none;
	margin: 0;
	border-radius: 0;
}

.f9-expert-directory .wp-block-column:hover > figure:first-child img {
	transform: scale(1.035);
}

.f9-expert-directory .wp-block-column h2 {
	margin: 0 0 0.75rem;
	font-family: "DIN Pro", sans-serif;
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	font-weight: 700;
	line-height: 1.15;
	text-align: left;
}

.f9-expert-directory.page-id-781 .wp-block-column h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	text-align: left;
}

.f9-expert-directory .wp-block-column > p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	text-align: left !important;
	color: var(--f9-expert-muted);
}

.f9-expert-card-actions {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1.5rem;
}

.f9-expert-card-eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: var(--f9-expert-red-soft);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	color: var(--f9-expert-red-dark);
}

.f9-expert-profile-link {
	margin: 0;
}

/* Expert profiles. */
.f9-expert-profile .front_page > .container-xxl {
	max-width: none;
	padding: 0;
}

.f9-expert-profile #primary,
.f9-expert-profile .front_page {
	padding: clamp(1.25rem, 4vw, 3.5rem) 1rem clamp(3rem, 7vw, 6rem);
}

.f9-expert-profile article {
	max-width: 1120px;
	margin: 0 auto;
}

.f9-expert-profile .page__content,
.f9-expert-profile .front_page__content {
	padding: clamp(1.25rem, 4vw, 3rem);
	border: 1px solid rgba(23, 32, 51, 0.08);
	border-radius: clamp(1.25rem, 3vw, 2rem);
	background: var(--f9-expert-white);
	box-shadow: var(--f9-expert-shadow);
	color: var(--f9-expert-ink);
	overflow: hidden;
}

.f9-expert-profile .expert-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
	font-weight: 700;
	color: var(--f9-expert-red);
	text-decoration: none;
}

.f9-expert-profile article .expert-back-link::before {
	display: none;
	content: none;
}

.f9-expert-profile .wp-block-columns {
	gap: clamp(1.5rem, 4vw, 3rem);
}

.f9-expert-profile .wp-block-columns:has(.expert-tag),
.f9-expert-profile .wp-block-columns.f9-profile-hero {
	display: grid !important;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
	align-items: center !important;
	column-gap: clamp(1.5rem, 4vw, 3.25rem);
	row-gap: 0;
	margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.f9-expert-profile .wp-block-columns:has(.expert-tag) > .wp-block-column:first-child,
.f9-expert-profile .wp-block-columns.f9-profile-hero > .wp-block-column:first-child {
	display: contents;
}

.f9-expert-profile .wp-block-columns:has(.expert-tag) .expert-tag,
.f9-expert-profile .wp-block-columns.f9-profile-hero .f9-profile-test-badge,
.f9-expert-profile .wp-block-columns:has(.expert-tag) h1,
.f9-expert-profile .wp-block-columns.f9-profile-hero h1 {
	grid-column: 1 / -1;
}

.f9-expert-profile .wp-block-columns:has(.expert-tag) h1,
.f9-expert-profile .wp-block-columns.f9-profile-hero h1 {
	width: 100%;
	max-width: 1040px;
	margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.f9-expert-profile .wp-block-columns:has(.expert-tag) > .wp-block-column:first-child > :not(.expert-tag, h1),
.f9-expert-profile .wp-block-columns.f9-profile-hero > .wp-block-column:first-child > :not(.f9-profile-test-badge, h1) {
	grid-column: 1;
}

.f9-expert-profile .wp-block-columns:has(.expert-tag) > .wp-block-column:last-child,
.f9-expert-profile .wp-block-columns.f9-profile-hero > .wp-block-column:last-child {
	grid-column: 2;
	grid-row: 3 / span 8;
	align-self: start;
}

.f9-expert-profile .wp-block-column {
	min-width: 0;
}

.f9-expert-profile .expert-tag,
.f9-expert-profile .f9-profile-test-badge {
	display: inline-flex;
	align-items: center;
	margin: 0 0 1.25rem;
	padding: 0.5rem 0.85rem;
	border: 1px solid rgba(178, 9, 40, 0.2);
	border-radius: 999px;
	background: var(--f9-expert-red-soft);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--f9-expert-red-dark);
}

.f9-expert-profile h1,
.f9-expert-profile #h-fedotenkov {
	margin: 0 0 1.25rem;
	font-family: "DIN Pro", sans-serif;
	font-size: clamp(2.35rem, 5.5vw, 4.75rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.035em;
	color: var(--f9-expert-ink);
}

.f9-expert-profile .expert-role,
.f9-expert-profile .f9-profile-lead {
	margin: 0 0 1.5rem;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.6;
	color: #344057;
}

.f9-expert-profile blockquote {
	margin: 1.5rem 0;
	padding: 1.25rem 1.5rem;
	border: 0;
	border-left: 4px solid var(--f9-expert-red);
	border-radius: 0 1rem 1rem 0;
	background: var(--f9-expert-soft);
}

.f9-expert-profile .expert-photo-box,
.f9-expert-profile .f9-profile-photo {
	margin: 0;
	border-radius: 1.5rem;
	box-shadow: 0 1rem 2.5rem rgba(23, 32, 51, 0.16);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.f9-expert-profile .expert-photo-box img,
.f9-expert-profile .f9-profile-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
}

.f9-expert-profile .wp-block-columns:has(.expert-stat-num),
.f9-expert-profile .f9-profile-stats {
	margin: 0 0 clamp(2.5rem, 6vw, 5rem);
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 1.25rem;
	background: linear-gradient(135deg, var(--f9-expert-ink), #2c3445 72%, #4b1522);
	color: var(--f9-expert-white);
}

.f9-expert-profile .expert-stat-num,
.f9-expert-profile .f9-profile-stat-value {
	margin: 0 0 0.35rem;
	font-size: clamp(1.65rem, 3vw, 2.5rem);
	color: var(--f9-expert-white);
}

.f9-expert-profile .expert-stat-desc,
.f9-expert-profile .f9-profile-stat-label {
	margin: 0;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.72);
}

.f9-expert-profile .expert-section-title,
.f9-expert-profile .f9-profile-section-title {
	margin: clamp(2.75rem, 6vw, 5rem) 0 1.25rem;
	font-family: "DIN Pro", sans-serif;
	font-size: clamp(1.85rem, 3.5vw, 2.8rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-align: left;
	color: var(--f9-expert-ink);
}

.f9-expert-profile .expert-section-title::after,
.f9-expert-profile .f9-profile-section-title::after {
	display: block;
	width: 3rem;
	height: 0.22rem;
	margin-top: 0.8rem;
	border-radius: 999px;
	background: var(--f9-expert-red);
	content: "";
}

.f9-expert-profile article .expert-section-title,
.f9-expert-profile article .f9-profile-section-title {
	margin-bottom: 1.25rem !important;
	text-align: left;
}

.f9-expert-profile article p,
.f9-expert-profile article li {
	font-size: 1.04rem;
	line-height: 1.7;
}

.f9-expert-profile article li::marker {
	color: var(--f9-expert-red);
}

.f9-expert-profile article a:not(.f9-expert-profile-button) {
	color: var(--f9-expert-red);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.f9-expert-profile article div[style*="display:grid"],
.f9-expert-profile article .f9-profile-grid {
	display: grid !important;
	column-gap: 1.5rem !important;
	row-gap: 0 !important;
	margin: 1.5rem 0 !important;
	padding-bottom: 2px;
}

/* Fedotenkov expertise / article grids keep adaptive columns. */
.f9-expert-profile article div[style*="display:grid"] {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)) !important;
}

/* Vasiliy career / expertise blocks: exactly two cards per row. */
.f9-expert-profile article .f9-profile-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.f9-expert-profile article div[style*="display:grid"]:has(> a) {
	gap: 0.875rem !important;
	column-gap: 0.875rem !important;
	row-gap: 0.875rem !important;
	padding-bottom: 0;
}

.f9-expert-profile article div[style*="display:grid"] > div,
.f9-expert-profile article .f9-profile-grid > div {
	padding: 1.15rem 0 !important;
	border: 0 !important;
	border-top: 2px solid var(--f9-expert-red) !important;
	border-right: 0 !important;
	border-bottom: 2px solid var(--f9-expert-red) !important;
	border-left: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	margin-bottom: -2px;
}

@media (max-width: 767.98px) {
	.f9-expert-profile article .f9-profile-grid {
		grid-template-columns: 1fr !important;
	}
}

.f9-expert-consult {
	margin: 1rem 0 0;
	text-align: center;
}

.f9-expert-consult__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.75rem 1.35rem;
	border: 1px solid var(--f9-expert-red);
	border-radius: 0.4rem;
	background: var(--f9-expert-red);
	color: var(--f9-expert-white) !important;
	font-family: "DIN Pro", sans-serif;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.f9-expert-consult__button:hover,
.f9-expert-consult__button:focus-visible {
	background: #c40d2f;
	border-color: #c40d2f;
	color: var(--f9-expert-white) !important;
	transform: translateY(-1px);
}

.f9-expert-profile article div[style*="display:grid"] > a {
	padding: 1rem 1.1rem !important;
	border: 1px solid var(--f9-expert-line) !important;
	border-radius: 0.9rem !important;
	background: var(--f9-expert-white) !important;
	color: var(--f9-expert-ink) !important;
	box-shadow: 0 0.5rem 1.25rem rgba(23, 32, 51, 0.05);
	transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.f9-expert-profile article div[style*="display:grid"] > a:first-child,
.f9-expert-profile article div[style*="display:grid"] > a:hover,
.f9-expert-profile article div[style*="display:grid"] > a:focus-visible {
	border-color: var(--f9-expert-red) !important;
	background: var(--f9-expert-red) !important;
	color: var(--f9-expert-white) !important;
	transform: translateY(-2px);
}

.f9-expert-profile .expert-quote-section,
.f9-expert-profile .f9-profile-notice {
	margin: clamp(2rem, 5vw, 4rem) 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid rgba(178, 9, 40, 0.18);
	border-radius: 1.25rem;
	background: var(--f9-expert-red-soft);
}

.f9-expert-profile article .expert-quote-section,
.f9-expert-profile article .expert-quote-text {
	text-align: left;
	color: var(--f9-expert-ink);
}

.f9-expert-profile article .expert-quote-container {
	max-width: none;
	padding: 0;
}

.f9-expert-profile .expert-quote-text {
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 700;
	line-height: 1.55;
}

.f9-expert-profile .expert-quote-author {
	margin-top: 1rem;
	color: var(--f9-expert-muted);
}

.f9-expert-profile .expert-contact-box,
.f9-expert-profile .f9-profile-cta {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 1.25rem;
	background: linear-gradient(135deg, var(--f9-expert-ink), #3d1923);
	color: var(--f9-expert-white);
}

.f9-expert-profile .f9-profile-cta h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2.15rem);
	color: var(--f9-expert-white);
}

.f9-expert-profile .f9-profile-cta p {
	max-width: 48rem;
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.74);
}

.f9-expert-profile .f9-profile-photo figcaption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.f9-expert-profile article a[style*="background:#e11d48"] {
	border-radius: 999px !important;
	background: var(--f9-expert-red) !important;
	box-shadow: 0 0.65rem 1.5rem rgba(178, 9, 40, 0.18);
}

/* Expert-blog archive. */
.f9-expert-blog-archive #archive_news {
	padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 7vw, 6rem);
}

.f9-expert-blog-archive #archive_news > .container-xxl {
	max-width: 1240px;
}

.f9-expert-blog-archive .archive_news__header .page-title {
	font-family: "DIN Pro", sans-serif;
	font-size: clamp(2.4rem, 5vw, 4.4rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.035em;
	color: var(--f9-expert-ink);
}

.f9-expert-blog-callout {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 0.5rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 0;
	border-radius: 1.5rem;
	background: linear-gradient(135deg, var(--f9-expert-ink), #2d3445 65%, #551426);
	box-shadow: var(--f9-expert-shadow);
	color: var(--f9-expert-white);
}

.f9-expert-blog-callout__content {
	max-width: 52rem;
}

.f9-expert-blog-callout h2 {
	margin: 0 0 0.65rem;
	font-size: clamp(1.5rem, 2.5vw, 2.2rem);
	line-height: 1.18;
	color: var(--f9-expert-white);
}

.f9-expert-blog-callout p {
	margin: 0;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
}

.f9-expert-blog-callout > .f9-expert-profile-button {
	border-color: var(--f9-expert-white);
	background: var(--f9-expert-white);
	box-shadow: none;
	color: var(--f9-expert-red-dark);
	flex: 0 0 auto;
}

.f9-expert-blog-callout > .f9-expert-profile-button:hover,
.f9-expert-blog-callout > .f9-expert-profile-button:focus-visible {
	background: transparent;
	color: var(--f9-expert-white);
}

.f9-expert-blog-archive .blog_expert_card {
	display: flex;
	min-width: 0;
	border: 1px solid rgba(23, 32, 51, 0.08);
	border-radius: 1.25rem;
	background: var(--f9-expert-white);
	box-shadow: 0 0.85rem 2.25rem rgba(23, 32, 51, 0.08);
	aspect-ratio: auto;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.f9-expert-blog-archive .blog_expert_card:hover {
	box-shadow: 0 1.4rem 3rem rgba(23, 32, 51, 0.14);
	transform: translateY(-5px);
}

.f9-expert-blog-archive .f9-expert-card__link {
	display: flex;
	width: 100%;
	height: 100%;
	color: var(--f9-expert-ink);
	text-decoration: none;
	flex-direction: column;
}

.f9-expert-blog-archive .f9-expert-card__media {
	position: relative;
	display: flex;
	min-height: clamp(15rem, 22vw, 19rem);
	aspect-ratio: 4 / 3;
	background: #292e38;
	isolation: isolate;
	overflow: hidden;
}

.f9-expert-blog-archive .f9-expert-card__media::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(17, 23, 34, 0.06) 8%, rgba(17, 23, 34, 0.2) 36%, rgba(17, 23, 34, 0.94) 100%),
		linear-gradient(90deg, rgba(23, 32, 51, 0.48), transparent 86%);
	content: "";
}

.f9-expert-blog-archive .f9-expert-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.f9-expert-blog-archive .blog_expert_card:hover .f9-expert-card__image {
	transform: scale(1.035);
}

.f9-expert-blog-archive .f9-expert-card__overlay {
	position: relative;
	z-index: 2;
	display: flex;
	width: 100%;
	min-width: 0;
	padding: clamp(1.15rem, 2.5vw, 1.5rem);
	color: var(--f9-expert-white);
	flex-direction: column;
	justify-content: flex-end;
}

.f9-expert-blog-archive .blog_expert_card__header {
	margin: 0;
	padding: 0;
	font-family: "DIN Pro", sans-serif;
	font-size: clamp(1.24rem, 1.75vw, 1.52rem);
	font-weight: 700;
	line-height: 1.19;
	letter-spacing: -0.018em;
	text-wrap: balance;
	overflow-wrap: anywhere;
	color: var(--f9-expert-white);
	text-shadow: 0 0.15rem 0.8rem rgba(0, 0, 0, 0.3);
}

.f9-expert-blog-archive .f9-expert-card__read {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding-bottom: 0.16rem;
	border-bottom: 1px solid rgba(255, 107, 128, 0.72);
	align-self: flex-start;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.015em;
	color: #ff6b80;
	text-shadow: 0 0.12rem 0.55rem rgba(0, 0, 0, 0.38);
	transition: border-color 0.2s ease, color 0.2s ease;
}

.f9-expert-blog-archive .f9-expert-card__read > span {
	display: inline-block;
	transition: transform 0.2s ease;
}

.f9-expert-blog-archive .f9-expert-card__link:hover .f9-expert-card__read,
.f9-expert-blog-archive .f9-expert-card__link:focus-visible .f9-expert-card__read {
	border-color: #ff9aaa;
	color: #ff9aaa;
}

.f9-expert-blog-archive .f9-expert-card__link:hover .f9-expert-card__read > span,
.f9-expert-blog-archive .f9-expert-card__link:focus-visible .f9-expert-card__read > span {
	transform: translateX(0.22rem);
}

.f9-expert-blog-archive .f9-expert-card__body {
	display: flex;
	min-height: 10.5rem;
	padding: 1.15rem 1.25rem 1.25rem;
	flex: 1 1 auto;
	flex-direction: column;
}

.f9-expert-blog-archive .blog_expert_card__content {
	margin: 0;
	padding: 0;
	font-size: 0.96rem;
	line-height: 1.6;
	color: #000;
}

.f9-expert-blog-archive .f9-expert-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	padding-top: 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #8791a1;
}

.f9-expert-blog-archive .f9-expert-card__link:focus-visible {
	outline: 3px solid rgba(178, 9, 40, 0.45);
	outline-offset: -3px;
}

@media (max-width: 991.98px) {
	.f9-expert-directory .wp-block-columns,
	.f9-expert-profile .wp-block-columns {
		flex-wrap: wrap !important;
	}

	.f9-expert-directory .wp-block-column,
	.f9-expert-profile .wp-block-column {
		flex-basis: 100% !important;
	}

	.f9-expert-profile .wp-block-columns:has(.expert-tag),
	.f9-expert-profile .wp-block-columns.f9-profile-hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.f9-expert-profile .wp-block-columns:has(.expert-tag) > .wp-block-column:last-child,
	.f9-expert-profile .wp-block-columns.f9-profile-hero > .wp-block-column:last-child {
		grid-column: 1;
		grid-row: auto;
		margin-top: 1rem;
	}
}

@media (max-width: 767.98px) {
	.f9-expert-directory .front_page > .container-xxl,
	.f9-expert-profile #primary,
	.f9-expert-profile .front_page,
	.f9-expert-blog-archive #archive_news {
		padding-top: 1rem;
		padding-bottom: 3rem;
	}

	.f9-expert-directory h1,
	.f9-expert-profile h1,
	.f9-expert-profile #h-fedotenkov {
		font-size: clamp(2.15rem, 12vw, 3.35rem);
	}

	.f9-expert-directory .wp-block-column,
	.f9-expert-profile .page__content,
	.f9-expert-profile .front_page__content {
		border-radius: 1.15rem;
	}

	.f9-expert-card-actions,
	.f9-expert-blog-callout {
		align-items: stretch;
		flex-direction: column;
	}

	.f9-expert-card-eyebrow {
		align-self: flex-start;
	}

	.f9-expert-profile-button,
	.f9-expert-blog-callout > .f9-expert-profile-button {
		width: 100%;
	}

	.f9-expert-profile .wp-block-columns:has(.expert-stat-num),
	.f9-expert-profile .f9-profile-stats {
		gap: 1.5rem;
	}

	.f9-expert-blog-archive .f9-expert-card__body {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.f9-expert-directory *,
	.f9-expert-profile *,
	.f9-expert-blog-archive * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
