/*
Theme Name: Elisen Food
Author: Kantipur Themes
Author URI: https://www.kantipurthemes.com/
Theme URI: https://www.kantipurthemes.com/elisen-food
Description: Elisen Food is a simple, clean and responsive WordPress blog theme perfect for youtube bloggers, travel bloggers, food bloggers, fashion bloggers and writers who need to create personal blog site with creative features and effects to make readers feel the pleasure of reading blog posts and articles.
Tags: full-site-editing, editor-style, block-styles, block-patterns
Text Domain: elisen-food
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 7.0
Version: 1.0.22

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

footer.site-footer.wp-block-template-part ul,
div.wp-block-template-part ul {
    padding: 0;
    list-style: none;
    line-height: 2;
}

footer.site-footer.wp-block-template-part ul li,
div.wp-block-template-part ul li {
	margin: 0 0 5px;
	padding: 3px 0;
    border-bottom: 1px solid #eee;
}

footer.site-footer.wp-block-template-part ul a,
div.wp-block-template-part ul a {
	text-decoration: none;
}

div.wp-block-template-part {
    position: sticky;
    top: 0;
}

.wp-block-post.type-post > div {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.06);
}

.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container, 
.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
	min-width: 256px;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
    border-bottom: 1px solid #eee;
    padding: 8px 30px 8px 15px;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    border: none;
    border-top: 2px solid var(--wp--preset--color--custom-light-orange);
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content,
.taxonomy-category a {
    text-decoration: none;
}

.taxonomy-category a:hover,
.taxonomy-category a:focus {
	text-decoration: underline;
}

.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus,
.wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.wp-block-navigation-item:focus > .wp-block-navigation-item__content {
    color: var(--wp--preset--color--custom-light-orange);
}

.wp-block-navigation .current-menu-item > button > svg,
.wp-block-navigation-item:hover > button > svg,
.wp-block-navigation-item:focus > button > svg {
    stroke: var(--wp--preset--color--custom-light-orange);
}

:root :where(.wp-element-button, .wp-block-button__link) {
	box-shadow: none;
	border-radius: 0;
}

.page-numbers {
    margin: 0 5px;
}

.remove-underline a {
    text-decoration: none;
}

footer .wp-block-site-title :where(a),
.taxonomy-category a {
    color: var(--wp--preset--color--custom-light-orange);
}

/* Single-post hero uses each article's featured image instead of a generic banner. */
.affiliate-post-hero {
	background-color: #24282c;
	isolation: isolate;
	min-height: clamp(420px, 48vw, 640px) !important;
}

.affiliate-post-hero .wp-block-cover__image-background {
	object-position: center 52%;
	transform: scale(1.01);
}

.affiliate-post-hero .wp-block-cover__background {
	background: linear-gradient(
		90deg,
		rgba(12, 16, 20, 0.7) 0%,
		rgba(12, 16, 20, 0.43) 50%,
		rgba(12, 16, 20, 0.68) 100%
	) !important;
	opacity: 1 !important;
}

.affiliate-post-hero .affiliate-post-hero-title {
	color: #ffffff;
	font-size: clamp(2.25rem, 3.4vw, 4.35rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin-inline: auto;
	max-width: 1180px;
	text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
	text-wrap: balance;
}

@media (max-width: 781px) {
	.affiliate-post-hero {
		min-height: clamp(380px, 95vw, 520px) !important;
	}

	.affiliate-post-hero .affiliate-post-hero-title {
		font-size: clamp(2rem, 9vw, 3.1rem);
		line-height: 1.16;
	}
}

/*
 * Roomier reading layout.
 *
 * Keep the site close to the viewport edges on large screens while retaining
 * comfortable gutters on tablets and phones. Defining these variables on the
 * body also updates Site Editor templates that were saved before the theme's
 * theme.json layout sizes changed.
 */
body {
	--wp--style--global--content-size: min(1600px, calc(100vw - 48px));
	--wp--style--global--wide-size: min(1800px, calc(100vw - 32px));
}

/* Make long-form posts easier to read without enlarging utility UI too much. */
.wp-block-post-content {
	font-size: clamp(1.125rem, 0.35vw + 1.05rem, 1.3rem);
	line-height: 1.8;
}

.wp-block-post-content :where(p, li) {
	line-height: 1.8;
}

.wp-block-post-content :where(h2) {
	font-size: clamp(1.75rem, 1.15vw + 1.35rem, 2.35rem);
	line-height: 1.3;
}

.wp-block-post-content :where(h3) {
	font-size: clamp(1.45rem, 0.75vw + 1.2rem, 1.9rem);
	line-height: 1.35;
}

/* Social sharing bar at the start of each article. */
.wp-block-post-content .article-share {
	align-items: center;
	background: linear-gradient(135deg, #fff8f4 0%, #ffffff 100%);
	border: 1px solid #ead8ce;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(31, 35, 40, 0.06);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
	padding: 0.85rem 1rem;
}

.wp-block-post-content .article-share__heading {
	align-items: center;
	color: var(--wp--preset--color--heading, #25282b);
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 700;
	gap: 0.5rem;
	line-height: 1.35;
	white-space: nowrap;
}

.wp-block-post-content .article-share__heading svg {
	fill: var(--wp--preset--color--custom-light-orange, #f99f6f);
	height: 20px;
	width: 20px;
}

.wp-block-post-content .article-share__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-end;
}

.wp-block-post-content .article-share__button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	gap: 0.4rem;
	line-height: 1;
	min-height: 38px;
	padding: 0.58rem 0.85rem;
	text-decoration: none;
	transition: box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.wp-block-post-content .article-share__button svg {
	fill: currentColor;
	height: 17px;
	width: 17px;
}

.wp-block-post-content .article-share__button--facebook {
	background: #1877f2;
}

.wp-block-post-content .article-share__button--x {
	background: #111111;
}

.wp-block-post-content .article-share__button--pinterest {
	background: #e60023;
}

.wp-block-post-content .article-share__button:hover,
.wp-block-post-content .article-share__button:focus-visible {
	box-shadow: 0 7px 18px rgba(31, 35, 40, 0.2);
	color: #ffffff;
	opacity: 0.9;
	text-decoration: none;
	transform: translateY(-2px);
}

.wp-block-post-content .article-share__button:focus-visible {
	outline: 3px solid rgba(249, 159, 111, 0.38);
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.wp-block-post-content .article-share {
		align-items: flex-start;
		flex-direction: column;
		padding: 0.9rem;
	}

	.wp-block-post-content .article-share__buttons {
		justify-content: flex-start;
		width: 100%;
	}

	.wp-block-post-content .article-share__button {
		flex: 1 1 auto;
		justify-content: center;
	}
}

/* Floating, collapsible table of contents for long-form posts. */
.wp-block-post-content .article-toc {
	left: 18px;
	margin: 0;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 110;
}

.wp-block-post-content .article-toc__toggle {
	align-items: center;
	background: var(--wp--preset--color--custom-light-orange, #f99f6f);
	border: 2px solid #ffffff;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(31, 35, 40, 0.22);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	height: 50px;
	justify-content: center;
	list-style: none;
	transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	width: 50px;
}

.wp-block-post-content .article-toc__toggle::-webkit-details-marker {
	display: none;
}

.wp-block-post-content .article-toc__toggle:hover,
.wp-block-post-content .article-toc__toggle:focus-visible,
.wp-block-post-content .article-toc[open] .article-toc__toggle {
	background: var(--wp--preset--color--heading, #25282b);
	box-shadow: 0 10px 28px rgba(31, 35, 40, 0.28);
	transform: scale(1.05);
}

.wp-block-post-content .article-toc__toggle:focus-visible {
	outline: 3px solid rgba(249, 159, 111, 0.42);
	outline-offset: 3px;
}

.wp-block-post-content .article-toc__icon {
	fill: currentColor;
	height: 25px;
	width: 25px;
}

.wp-block-post-content .article-toc__panel {
	background: linear-gradient(135deg, #fff8f4 0%, #ffffff 100%);
	border: 1px solid #ead8ce;
	border-left: 5px solid var(--wp--preset--color--custom-light-orange, #f99f6f);
	border-radius: 12px;
	box-shadow: 0 20px 55px rgba(31, 35, 40, 0.2);
	left: 82px;
	max-height: 78vh;
	overflow-y: auto;
	padding: 1.35rem 1.45rem;
	position: fixed;
	scrollbar-color: #d9a184 transparent;
	scrollbar-width: thin;
	top: 50%;
	transform: translateY(-50%);
	width: min(440px, calc(100vw - 112px));
}

.wp-block-post-content .article-toc:not([open]) .article-toc__panel {
	display: none;
}

.wp-block-post-content .article-toc__title {
	color: var(--wp--preset--color--heading, #25282b);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.85rem;
}

.wp-block-post-content .article-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wp-block-post-content .article-toc__item {
	align-items: baseline;
	display: grid;
	font-size: 0.98rem;
	gap: 0.65rem;
	grid-template-columns: 2.4rem minmax(0, 1fr);
	line-height: 1.55;
	margin: 0;
}

.wp-block-post-content .article-toc__number {
	color: var(--wp--preset--color--custom-light-orange, #d96f39);
	font-size: 0.78rem;
	font-weight: 700;
	text-align: right;
}

.wp-block-post-content .article-toc__item + .article-toc__item {
	margin-top: 0.45rem;
}

.wp-block-post-content .article-toc__item--level-1 a {
	font-weight: 700;
}

.wp-block-post-content .article-toc__item--depth-1 {
	margin-left: 1.25rem;
}

.wp-block-post-content .article-toc__item--depth-2 {
	margin-left: 2.5rem;
}

.wp-block-post-content .article-toc a {
	color: var(--wp--preset--color--heading, #25282b);
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.wp-block-post-content .article-toc a:hover,
.wp-block-post-content .article-toc a:focus {
	color: #b55629;
	text-decoration: underline;
}

.wp-block-post-content :where(h1, h2, h3)[id] {
	scroll-margin-top: 7rem;
}

/* No underlines on links inside articles or the post navigation. */
.wp-block-post-content a:not(.wp-element-button),
.wp-block-post-navigation-link a {
	text-decoration: none;
}

.wp-block-post-content a:not(.wp-element-button):hover,
.wp-block-post-content a:not(.wp-element-button):focus,
.wp-block-post-navigation-link a:hover,
.wp-block-post-navigation-link a:focus {
	color: #b55629;
	text-decoration: none;
}

@media (max-width: 600px) {
	.wp-block-post-content .article-toc {
		bottom: 18px;
		left: 14px;
		top: auto;
		transform: none;
	}

	.wp-block-post-content .article-toc__toggle {
		height: 46px;
		width: 46px;
	}

	.wp-block-post-content .article-toc__panel {
		bottom: 76px;
		left: 12px;
		max-height: 68vh;
		padding: 1.1rem;
		right: 12px;
		top: auto;
		transform: none;
		width: auto;
	}

	.wp-block-post-content .article-toc__item {
		font-size: 0.92rem;
	}

	.wp-block-post-content .article-toc__item--depth-1 {
		margin-left: 0.75rem;
	}

	.wp-block-post-content .article-toc__item--depth-2 {
		margin-left: 1.5rem;
	}
}

/*
 * Older saved versions of the single template still carry the original
 * 66/33 inline column widths. Give the article more room on desktop while
 * leaving the sidebar useful, and let WordPress stack both columns on mobile.
 */
@media (min-width: 782px) {
	main .wp-block-columns > .wp-block-column[style*="66.66%"] {
		flex-basis: calc(76% - 18px) !important;
	}

	main .wp-block-columns > .wp-block-column[style*="33.33%"] {
		flex-basis: calc(24% - 18px) !important;
	}
}

@media (max-width: 781px) {
	body {
		--wp--style--global--content-size: calc(100vw - 32px);
		--wp--style--global--wide-size: calc(100vw - 24px);
	}

	.wp-block-post-content {
		font-size: 1.125rem;
	}
}

/* Compact, trustworthy header for the affiliate-review brand. */
.site-header {
	z-index: 100;
}

.affiliate-site-header {
	border-top: 4px solid var(--wp--preset--color--custom-light-orange);
	box-shadow: 0 8px 30px rgba(28, 31, 35, 0.08);
}

.affiliate-header-inner {
	min-height: 84px;
}

.affiliate-brand {
	flex-shrink: 0;
}

.affiliate-brand-title {
	font-size: clamp(1.45rem, 1.15vw + 1rem, 2rem);
	line-height: 1.1;
	margin: 0;
}

.affiliate-brand-title a {
	color: var(--wp--preset--color--heading);
	text-decoration: none;
}

.affiliate-brand-title a::after {
	color: var(--wp--preset--color--custom-light-orange);
	content: ".";
}

.affiliate-brand-tagline {
	font-size: 0.875rem;
	letter-spacing: 0.01em;
	line-height: 1.4;
	margin: 0;
}

.site-header .wp-block-navigation ul,
.site-header .wp-block-navigation ul li {
	border: 0;
	margin: 0;
	padding: 0;
}

.affiliate-primary-nav .wp-block-navigation-item__content {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	padding-block: 0.75rem;
	position: relative;
}

.affiliate-primary-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	background: var(--wp--preset--color--custom-light-orange);
	bottom: 0.3rem;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
	width: 100%;
}

.affiliate-primary-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after,
.affiliate-primary-nav > .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.affiliate-primary-nav .wp-block-navigation__submenu-container {
	border-radius: 0 0 8px 8px;
	box-shadow: 0 18px 36px rgba(28, 31, 35, 0.14);
	overflow: hidden;
}

.affiliate-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 0.9rem;
	min-width: 220px;
	padding: 0.75rem 1rem;
}

@media (max-width: 1100px) and (min-width: 782px) {
	.affiliate-header-inner {
		justify-content: center !important;
	}

	.affiliate-brand {
		align-items: center;
		text-align: center;
	}

	.affiliate-primary-nav {
		justify-content: center;
		width: 100%;
	}
}

@media (max-width: 781px) {
	.affiliate-site-header {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	.affiliate-header-inner {
		flex-wrap: nowrap !important;
		min-height: 72px;
	}

	.affiliate-brand-tagline {
		display: none;
	}

	.affiliate-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
		padding: 1.5rem;
	}

	.affiliate-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		font-size: 1.1rem;
		padding: 0.6rem 0;
	}
}

/* Compact footer built around useful navigation and clear disclosure. */
footer.site-footer {
	margin-block-start: 0;
}

.affiliate-footer {
	color: rgba(255, 255, 255, 0.72);
}

.affiliate-footer .affiliate-footer-title {
	font-size: clamp(1.55rem, 1vw + 1.2rem, 2rem);
	line-height: 1.15;
	margin: 0;
}

.affiliate-footer .affiliate-footer-title a {
	color: var(--wp--preset--color--base);
	text-decoration: none;
}

.affiliate-footer .affiliate-footer-tagline {
	color: var(--wp--preset--color--custom-light-orange);
	font-size: 0.95rem;
	line-height: 1.4;
	margin: 0;
}

.affiliate-footer .affiliate-footer-heading {
	color: var(--wp--preset--color--custom-light-orange);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.affiliate-footer .affiliate-footer-copy {
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 0;
	max-width: 560px;
}

.affiliate-footer .affiliate-footer-links {
	gap: 0.45rem;
}

.affiliate-footer .affiliate-footer-link,
.affiliate-footer .affiliate-footer-about-link,
.affiliate-footer .affiliate-footer-legal {
	margin: 0;
}

.affiliate-footer a:not(.wp-element-button) {
	color: var(--wp--preset--color--base);
	font-size: 0.95rem;
	text-decoration: none;
}

.affiliate-footer a:not(.wp-element-button):hover,
.affiliate-footer a:not(.wp-element-button):focus {
	color: var(--wp--preset--color--custom-light-orange);
}

.affiliate-footer .affiliate-footer-about-link a {
	color: var(--wp--preset--color--custom-light-orange);
	font-weight: 600;
}

.affiliate-footer .affiliate-footer-legal {
	color: rgba(255, 255, 255, 0.56);
	font-size: 0.8rem;
	line-height: 1.5;
}

@media (max-width: 781px) {
	.affiliate-footer {
		padding: 2rem 1rem 1.25rem !important;
	}

	.affiliate-footer-columns {
		gap: 2rem;
	}

	.affiliate-footer-bottom {
		align-items: flex-start;
		gap: 0.35rem;
	}
}

/* Consistent, reader-friendly affiliate calls to action inside long reviews. */
.wp-block-post-content .affiliate-cta-card {
	background: linear-gradient(135deg, #fffaf7 0%, #ffffff 100%);
	border: 1px solid rgba(249, 159, 111, 0.55);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(31, 35, 40, 0.07);
	margin-block: clamp(2rem, 5vw, 3.5rem);
	max-width: 760px;
	padding: clamp(1.4rem, 3vw, 2rem);
	text-align: center;
}

.wp-block-post-content .affiliate-cta-eyebrow {
	color: #a94e21;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 0.45rem;
	text-transform: uppercase;
}

.wp-block-post-content .affiliate-cta-title {
	color: var(--wp--preset--color--heading);
	font-size: clamp(1.2rem, 0.5vw + 1.05rem, 1.5rem);
	font-weight: 600;
	line-height: 1.35;
	margin: 0 auto 0.85rem;
}

.wp-block-post-content .affiliate-cta-copy {
	color: var(--wp--preset--color--custom-body-text-color);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0 auto 1rem;
	max-width: 610px;
}

.wp-block-post-content .affiliate-cta-card .wp-block-buttons {
	margin: 0;
}

.wp-block-post-content .affiliate-cta-button .wp-block-button__link {
	background: var(--wp--preset--color--custom-light-orange);
	border-radius: 6px;
	color: var(--wp--preset--color--base);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	padding: 0.9rem 1.5rem;
	text-transform: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.wp-block-post-content .affiliate-cta-button .wp-block-button__link:hover,
.wp-block-post-content .affiliate-cta-button .wp-block-button__link:focus {
	background: #e9824d;
	color: var(--wp--preset--color--base);
	transform: translateY(-1px);
}

.wp-block-post-content .affiliate-cta-note {
	color: #767676;
	font-size: 0.78rem;
	line-height: 1.5;
	margin: 0.75rem 0 0;
}

@media (max-width: 600px) {
	.wp-block-post-content .affiliate-cta-card {
		border-radius: 8px;
		padding: 1.25rem 1rem;
	}

	.wp-block-post-content .affiliate-cta-button,
	.wp-block-post-content .affiliate-cta-button .wp-block-button__link {
		width: 100%;
	}
}

/* Homepage featured review and topic cards. */
.affiliate-home-hero-card {
	align-items: stretch;
	background: var(--wp--preset--color--base, #fff);
	border-radius: 12px;
	box-shadow: 0 16px 44px rgba(31, 35, 40, 0.08);
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	overflow: hidden;
}

.affiliate-review-slider {
	position: relative;
}

.affiliate-slider-viewport {
	border-radius: 12px;
	overflow: hidden;
}

.affiliate-slider-track {
	display: flex;
	transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.affiliate-review-slide {
	flex: 0 0 100%;
	min-width: 0;
	padding: 0.25rem;
}

.affiliate-slide-image {
	min-height: 540px;
	overflow: hidden;
}

.affiliate-slide-image a {
	display: block;
	height: 100%;
}

.affiliate-slide-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
	width: 100%;
}

.affiliate-slide-image:hover img {
	transform: scale(1.02);
}

.affiliate-slide-content {
	align-self: center;
	padding: clamp(2.25rem, 3.25vw, 3.75rem);
}

.affiliate-home-eyebrow {
	color: #a94e21;
	font-size: clamp(1rem, 1vw, 1.15rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	margin: 0 0 1.15rem;
	text-transform: uppercase;
}

.affiliate-home-hero-card .affiliate-home-title {
	color: #111;
	font-size: 40px !important;
	font-weight: 700 !important;
	letter-spacing: -0.025em;
	line-height: 1.14 !important;
	margin: 0;
}

.affiliate-home-hero-card .affiliate-home-title a {
	color: inherit;
	display: block;
	font-size: 40px !important;
	font-weight: 700 !important;
	line-height: 1.14 !important;
	text-decoration: none;
}

.affiliate-home-title a:hover {
	color: #a94e21;
}

.affiliate-home-excerpt {
	font-size: clamp(1.15rem, 1.25vw, 1.32rem);
	line-height: 1.65;
	margin-bottom: 0;
	margin-top: 1.4rem;
}

.affiliate-slider-review-button {
	align-items: center;
	background: var(--wp--preset--color--primary, #fb9b6b);
	color: #fff;
	display: inline-flex;
	font-size: 1.1rem;
	font-weight: 700;
	gap: 0.6rem;
	margin-top: 1.75rem;
	padding: 0.9rem 1.5rem;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

@media (min-width: 782px) and (max-width: 1100px) {
	.affiliate-home-hero-card .affiliate-home-title {
		font-size: 40px !important;
	}

	.affiliate-home-hero-card .affiliate-home-title a {
		font-size: 40px !important;
	}

	.affiliate-slide-content {
		padding: 2.25rem;
	}

	.affiliate-home-excerpt {
		font-size: 1.08rem;
	}
}

.affiliate-slider-review-button:hover {
	background: #a94e21;
	color: #fff;
	transform: translateY(-2px);
}

.affiliate-slider-arrow {
	align-items: center;
	background: #a94e21;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(31, 35, 40, 0.3);
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 1.65rem;
	height: 3.5rem;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
	width: 3.5rem;
	z-index: 5;
}

.affiliate-slider-arrow span {
	display: block;
	font-family: Arial, sans-serif;
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1;
}

.affiliate-slider-arrow:hover,
.affiliate-slider-arrow:focus-visible {
	background: #222;
	color: #fff;
	transform: translateY(-50%) scale(1.06);
}

.affiliate-slider-prev {
	left: 1rem;
}

.affiliate-slider-next {
	right: 1rem;
}

.affiliate-slider-dots {
	align-items: center;
	display: flex;
	gap: 0.55rem;
	justify-content: center;
	margin-top: 1.1rem;
}

.affiliate-slider-dot {
	background: #c9c9c9;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 0.65rem;
	padding: 0;
	transition: background-color 180ms ease, width 180ms ease;
	width: 0.65rem;
}

.affiliate-slider-dot.is-active {
	background: #a94e21;
	width: 1.8rem;
}

.affiliate-slider-dot:focus-visible {
	outline: 2px solid #a94e21;
	outline-offset: 3px;
}

.affiliate-slider-status {
	bottom: -0.15rem;
	color: #555;
	font-size: 0.88rem;
	margin: 0;
	position: absolute;
	right: 0.25rem;
}

/* Homepage latest review cards. */
.affiliate-latest-heading {
	margin-bottom: 0.5rem;
	max-width: 760px;
}

.affiliate-latest-heading h2 {
	font-size: clamp(2.1rem, 3vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	margin: 0;
}

.affiliate-latest-heading p {
	color: #5d6166;
	font-size: 1.1rem;
	line-height: 1.65;
	margin: 0;
}

.affiliate-latest-grid {
	align-items: stretch;
}

.affiliate-latest-grid > .wp-block-post {
	display: flex;
}

.affiliate-article-card {
	border: 1px solid rgba(31, 35, 40, 0.08);
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(31, 35, 40, 0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: box-shadow 220ms ease, transform 220ms ease;
	width: 100%;
}

.affiliate-article-card:hover {
	box-shadow: 0 18px 42px rgba(31, 35, 40, 0.14);
	transform: translateY(-5px);
}

.affiliate-article-image {
	margin: 0;
	overflow: hidden;
}

.affiliate-article-image img {
	aspect-ratio: 16 / 9;
	display: block;
	object-fit: cover;
	transition: transform 300ms ease;
	width: 100%;
}

.affiliate-article-card:hover .affiliate-article-image img {
	transform: scale(1.035);
}

.affiliate-article-body {
	align-items: stretch !important;
	display: flex !important;
	flex: 1;
	flex-direction: column;
}

.affiliate-article-category {
	font-size: 0.88rem !important;
	font-weight: 700;
	margin: 0;
}

.affiliate-article-category a {
	text-decoration: none;
}

.affiliate-article-title {
	font-size: clamp(1.35rem, 1.4vw, 1.65rem) !important;
	font-weight: 650;
	margin: 0;
}

.affiliate-article-title a {
	font-size: inherit !important;
	font-weight: inherit;
	text-decoration: none;
}

.affiliate-article-title a:hover {
	color: #a94e21 !important;
}

.affiliate-article-excerpt {
	color: #50545a;
	font-size: 1rem;
	line-height: 1.65;
	margin: 0;
}

.affiliate-article-excerpt p {
	margin: 0;
}

/* Keep every card excerpt to the same height, whatever the word length. */
.affiliate-article-excerpt,
.affiliate-article-excerpt p {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	display: -webkit-box;
	line-clamp: 4;
	overflow: hidden;
}

.affiliate-card-read-more {
	align-self: flex-start;
	color: #a94e21;
	font-size: 0.98rem;
	font-weight: 700;
	margin-top: auto;
	padding-top: 0.75rem;
	text-decoration: none;
}

.affiliate-card-read-more:hover {
	color: #222;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.affiliate-archive-query {
	width: 100%;
}

.affiliate-archive-query .wp-block-query-pagination {
	margin-top: var(--wp--preset--spacing--70);
}

.affiliate-topic-card {
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(31, 35, 40, 0.11);
	overflow: hidden;
}

.affiliate-topic-card .wp-block-cover__image-background {
	transition: transform 300ms ease;
}

.affiliate-topic-card:hover .wp-block-cover__image-background {
	transform: scale(1.04);
}

.affiliate-topic-label {
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	margin: 0;
}

.affiliate-topic-label a {
	color: var(--wp--preset--color--base);
	text-decoration: none;
}

@media (max-width: 781px) {
	.affiliate-home-hero-card {
		grid-template-columns: 1fr;
	}

	.affiliate-home-hero {
		min-height: 0 !important;
	}

	.affiliate-slide-image {
		min-height: 0;
	}

	.affiliate-slide-image img {
		aspect-ratio: 4 / 3;
		height: auto;
	}

	.affiliate-slide-content {
		padding: 1.6rem 1.35rem 2rem;
	}

	.affiliate-home-hero-card .affiliate-home-title {
		font-size: 32px !important;
	}

	.affiliate-home-hero-card .affiliate-home-title a {
		font-size: 32px !important;
	}

	.affiliate-home-excerpt {
		font-size: 1.1rem;
		line-height: 1.65;
	}

	.affiliate-slider-arrow {
		bottom: 1rem;
		height: 2.85rem;
		top: auto;
		transform: none;
		width: 2.85rem;
	}

	.affiliate-slider-arrow:hover,
	.affiliate-slider-arrow:focus-visible {
		transform: scale(1.06);
	}

	.affiliate-slider-prev {
		left: 1rem;
	}

	.affiliate-slider-next {
		right: 1rem;
	}

	.affiliate-slider-dots {
		margin: 1.25rem 3.5rem 0;
	}

	.affiliate-slider-status {
		display: none;
	}

	.affiliate-latest-heading h2 {
		font-size: 2rem;
	}

	.affiliate-latest-heading p {
		font-size: 1rem;
	}

	.affiliate-article-title {
		font-size: 1.45rem !important;
	}

	.affiliate-topic-section {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.affiliate-slider-track,
	.affiliate-slide-image img,
	.affiliate-slider-review-button,
	.affiliate-slider-arrow,
	.affiliate-slider-dot {
		transition: none;
	}
}
