/*
Theme Name: Affilora
Theme URI: https://jinglestudio.io/
Author: Affilora
Description: Premium real-estate affiliate network and marketplace block theme for Affilora (Your Network. Your Revenue.). Deep navy, primary blue, and purple accent brand system; enterprise-quality responsive layouts; tuned for Core Web Vitals and zero layout shifts.
Version: 1.1.8
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affilora
*/

/* Most styling lives in theme.json. This file covers layout hooks, interaction states,
   touch targets, responsive cards, dashboards, print, and forced-colors support. */

:root {
	--in-oklab: ;
	--in-oklch: ;
	--clay-bg: #F1F5FC;
	--clay-bg-alt: #E9EFFA;
	--clay-surface: linear-gradient(160deg var(--in-oklab), #FFFFFF 0%, #F4F7FE 100%);
	--clay-surface-hover: linear-gradient(160deg var(--in-oklab), #FFFFFF 0%, #EEF4FF 100%);
	--clay-border: rgba(255, 255, 255, 0.88);
	--clay-outline: rgba(186, 202, 228, 0.55);
	--clay-radius-sm: 14px;
	--clay-radius-md: 18px;
	--clay-radius-card: 24px;
	--clay-radius-lg: 28px;
	--clay-radius-xl: 32px;
	--clay-shadow-card:
		0 16px 32px -8px rgba(16, 27, 53, 0.10),
		0 4px 10px -2px rgba(16, 27, 53, 0.05),
		inset 0 3px 6px rgba(255, 255, 255, 0.96),
		inset 0 -5px 10px rgba(148, 168, 208, 0.24);
	--clay-shadow-card-hover:
		0 24px 44px -10px rgba(40, 100, 232, 0.16),
		0 8px 18px -4px rgba(16, 27, 53, 0.08),
		inset 0 4px 8px rgba(255, 255, 255, 1),
		inset 0 -6px 12px rgba(40, 100, 232, 0.15);
	--clay-shadow-sm:
		0 10px 20px -6px rgba(16, 27, 53, 0.09),
		0 2px 6px -1px rgba(16, 27, 53, 0.04),
		inset 0 2px 4px rgba(255, 255, 255, 0.95),
		inset 0 -3px 6px rgba(148, 168, 208, 0.22);
	--clay-shadow-well:
		inset 3px 4px 8px rgba(16, 27, 53, 0.08),
		inset -3px -3px 7px rgba(255, 255, 255, 0.95);
	--clay-shadow-btn-blue:
		0 12px 24px -6px rgba(40, 100, 232, 0.45),
		0 4px 8px -2px rgba(16, 27, 53, 0.14),
		inset 0 3px 6px rgba(255, 255, 255, 0.44),
		inset 0 -4px 8px rgba(12, 35, 105, 0.38);
	--clay-shadow-btn-blue-hover:
		0 16px 30px -6px rgba(40, 100, 232, 0.58),
		0 6px 12px -2px rgba(16, 27, 53, 0.18),
		inset 0 4px 7px rgba(255, 255, 255, 0.52),
		inset 0 -5px 9px rgba(12, 35, 105, 0.42);
	--clay-shadow-btn-purple:
		0 12px 24px -6px rgba(121, 84, 232, 0.45),
		0 4px 8px -2px rgba(16, 27, 53, 0.14),
		inset 0 3px 6px rgba(255, 255, 255, 0.44),
		inset 0 -4px 8px rgba(48, 20, 120, 0.38);
	--clay-shadow-btn-secondary:
		0 8px 18px -4px rgba(16, 27, 53, 0.10),
		0 2px 5px -1px rgba(16, 27, 53, 0.05),
		inset 0 3px 5px rgba(255, 255, 255, 0.98),
		inset 0 -3px 7px rgba(148, 168, 208, 0.28);
	--clay-shadow-orb-blue:
		0 10px 20px -4px rgba(40, 100, 232, 0.20),
		inset 0 3px 6px rgba(255, 255, 255, 0.95),
		inset 0 -4px 8px rgba(40, 100, 232, 0.18);
	--clay-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@supports (background: linear-gradient(in oklab, white, black)) {
	:root {
		--in-oklab: in oklab;
		--in-oklch: in oklch;
	}
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
a { word-wrap: break-word; overflow-wrap: anywhere; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #2864E8; outline-offset: 2px; }
img { height: auto; max-width: 100%; }
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
/* Translated UI inside untranslated page content only changes the lang attribute, never the layout. */
.affilora-lang-scope { display: contents; }

/* ---------- Global Animated Matrix Data Background ---------- */
body {
	background-color: var(--clay-bg);
	color: #172238;
	overflow-x: hidden;
}
body::before {
	content: "";
	position: fixed;
	top: -40%;
	left: -40%;
	width: 180%;
	height: 180%;
	pointer-events: none;
	z-index: 0;
	background-image: url('assets/images/matrix-bg.png');
	background-repeat: repeat;
	background-size: 550px auto;
	opacity: 0.45;
	animation: affilora-matrix-drift 80s ease-in-out infinite alternate;
	will-change: transform;
}
.wp-site-blocks {
	position: relative;
	z-index: 1;
}
@keyframes affilora-matrix-drift {
	0% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(-3%, 2%, 0) rotate(0.2deg); }
	100% { transform: translate3d(2%, -3%, 0) rotate(-0.2deg); }
}

/* ==========================================================================
   General Section Styling & Shared Components (Claymorphism)
   ========================================================================== */
.home-section {
	padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
}
.home-section--surface {
	background: rgba(233, 239, 250, 0.78);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-block: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.8), inset 0 -2px 6px rgba(148, 168, 208, 0.16);
}
.home-section__header {
	max-width: 720px;
	margin: 0 auto 3rem;
	text-align: center;
}
.home-section__title {
	font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.4rem);
	font-weight: 800;
	color: #101B35;
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
}
.home-section__subtitle {
	color: #69758A;
	font-size: 1.0625rem;
	line-height: 1.6;
	margin: 0;
}

/* ==========================================================================
   Section 2 — How Affilora Works (3 Steps)
   ========================================================================== */
.affilora-steps-grid {
	gap: 24px;
}
.affilora-step-card {
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-card);
	padding: 28px 24px;
	box-shadow: var(--clay-shadow-card);
	transition: transform 240ms var(--clay-ease), box-shadow 240ms ease, outline-color 200ms ease;
	display: flex;
	flex-direction: column;
}
.affilora-step-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--clay-shadow-card-hover);
	outline-color: rgba(40, 100, 232, 0.45);
}
.affilora-step-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}
.affilora-step-number {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(145deg var(--in-oklab), #3985FF, #2864E8 55%, #7954E8);
	color: #FFFFFF;
	font-weight: 800;
	font-size: 1.15rem;
	box-shadow:
		0 8px 16px -4px rgba(40, 100, 232, 0.45),
		inset 0 2px 4px rgba(255, 255, 255, 0.45),
		inset 0 -3px 6px rgba(16, 27, 53, 0.35);
}
.affilora-step-tag {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #2864E8;
	background: #EEF4FF;
	padding: 5px 12px;
	border-radius: 999px;
	box-shadow: var(--clay-shadow-well);
}
.affilora-step-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #101B35;
	margin-bottom: 0.75rem;
}
.affilora-step-card p {
	color: #69758A;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0;
}

/* ==========================================================================
   Section 3 — Featured Real-Estate Projects
   ========================================================================== */
.home-projects-grid {
	gap: 24px;
	margin-bottom: 2.5rem;
}
.home-project-card {
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-card);
	overflow: hidden;
	box-shadow: var(--clay-shadow-card);
	transition: transform 240ms var(--clay-ease), box-shadow 240ms ease, outline-color 200ms ease;
	display: flex;
	flex-direction: column;
	padding: 10px;
}
.home-project-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--clay-shadow-card-hover);
	outline-color: rgba(40, 100, 232, 0.45);
}
.home-project-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
	background: #101B35;
	border-radius: var(--clay-radius-md);
	box-shadow: 0 6px 14px rgba(16, 27, 53, 0.12);
}
.home-project-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 300ms ease;
}
.home-project-card:hover .home-project-card__img {
	transform: scale(1.04);
}
.home-project-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
}
.home-project-card__badge--verified {
	background: linear-gradient(145deg var(--in-oklab), #1EA36E, #16865B);
	color: #FFFFFF;
	box-shadow:
		0 6px 14px rgba(16, 27, 53, 0.28),
		inset 0 2px 3px rgba(255, 255, 255, 0.4),
		inset 0 -2px 4px rgba(6, 60, 38, 0.4);
}
.home-project-card__content {
	padding: 18px 12px 12px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.home-project-card__location {
	font-size: 0.75rem;
	font-weight: 700;
	color: #69758A;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 4px;
}
.home-project-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 6px;
}
.home-project-card__title a {
	color: #101B35;
	text-decoration: none;
	transition: color 150ms ease;
}
.home-project-card__title a:hover {
	color: #2864E8;
}
.home-project-card__category {
	font-size: 0.875rem;
	color: #69758A;
	margin: 0 0 10px;
}
.home-project-card__developer {
	font-size: 0.8125rem;
	color: #172238;
	margin-bottom: 6px;
}
.home-project-card__pricing {
	font-size: 0.875rem;
	color: #172238;
	margin-bottom: 12px;
}
.home-project-card__pricing strong {
	color: #2864E8;
	font-size: 0.95rem;
}
.home-project-card__commission {
	background: #EEF3FC;
	border-left: 3px solid #2864E8;
	padding: 10px 14px;
	border-radius: 12px;
	margin-bottom: 16px;
	font-size: 0.8125rem;
	box-shadow: var(--clay-shadow-well);
}
.home-project-card__commission-label {
	color: #69758A;
	font-weight: 600;
	display: block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.home-project-card__commission-value {
	color: #101B35;
	font-weight: 700;
	font-size: 0.875rem;
}
.home-project-card__actions {
	display: flex;
	gap: 10px;
	margin-top: auto;
}
.home-project-card__btn-view, .home-project-card__btn-apply {
	flex: 1;
	text-align: center;
	padding: 10px 14px;
	font-size: 0.8125rem;
	font-weight: 700;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 180ms var(--clay-ease), box-shadow 180ms ease, background 150ms ease;
}
.home-project-card__btn-view {
	background: var(--clay-surface);
	border: 1px solid var(--clay-outline);
	color: #172238;
	box-shadow: var(--clay-shadow-btn-secondary);
}
.home-project-card__btn-view:hover {
	transform: translateY(-2px);
	color: #2864E8;
}
.home-project-card__btn-apply {
	background: linear-gradient(145deg var(--in-oklab), #3985FF, #2864E8);
	color: #FFFFFF;
	box-shadow: var(--clay-shadow-btn-blue);
}
.home-project-card__btn-apply:hover {
	transform: translateY(-2px);
	box-shadow: var(--clay-shadow-btn-blue-hover);
	color: #FFFFFF;
}
.home-projects__view-all .wp-block-button__link {
	padding: 12px 28px;
	font-weight: 700;
	color: #2864E8;
	border: 1.5px solid rgba(40, 100, 232, 0.3);
	border-radius: 999px;
	background: var(--clay-surface);
	box-shadow: var(--clay-shadow-btn-secondary);
	transition: transform 200ms var(--clay-ease), box-shadow 200ms ease, background 150ms ease, color 150ms ease;
}
.home-projects__view-all .wp-block-button__link:hover {
	background: linear-gradient(145deg var(--in-oklab), #3985FF, #2864E8);
	color: #FFFFFF;
	border-color: transparent;
	transform: translateY(-2px);
	box-shadow: var(--clay-shadow-btn-blue);
}

/* ==========================================================================
   Section 4 — Choose Your Role (Developers vs Affiliates)
   ========================================================================== */
.home-roles-grid {
	gap: 32px;
}
.home-role-card {
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-lg);
	padding: clamp(2rem, 1.5rem + 2vw, 3rem) 28px;
	box-shadow: var(--clay-shadow-card);
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	transition: transform 240ms var(--clay-ease), box-shadow 240ms ease;
}
.home-role-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--clay-shadow-card-hover);
}
.home-role-card--developer {
	border-top: 5px solid #2864E8;
}
.home-role-card--affiliate {
	border-top: 5px solid #7954E8;
}
.home-role-card__pill {
	display: inline-block;
	align-self: flex-start;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	box-shadow: var(--clay-shadow-well);
}
.home-role-card--developer .home-role-card__pill {
	background: #EAF1FF;
	color: #2864E8;
}
.home-role-card--affiliate .home-role-card__pill {
	background: #F1ECFF;
	color: #7954E8;
}
.home-role-card__title {
	font-size: 1.75rem;
	font-weight: 800;
	color: #101B35;
	margin: 0 0 0.5rem;
}
.home-role-card__desc {
	font-size: 1.05rem;
	color: #69758A;
	line-height: 1.5;
	margin-bottom: 1.5rem;
}
.home-role-card__benefits {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.home-role-card__benefits li {
	position: relative;
	padding-left: 26px;
	font-size: 0.9375rem;
	color: #172238;
}
.home-role-card__benefits li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 800;
}
.home-role-card--developer .home-role-card__benefits li::before { color: #2864E8; }
.home-role-card--affiliate .home-role-card__benefits li::before { color: #7954E8; }
.home-role-card__action {
	margin-top: auto;
}
.home-role-card__btn {
	display: block;
	text-align: center;
	padding: 13px 26px;
	font-size: 1rem;
	font-weight: 700;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 200ms var(--clay-ease), box-shadow 200ms ease;
}
.home-role-card__btn--dev {
	background: linear-gradient(145deg var(--in-oklab), #3985FF, #2864E8);
	color: #FFFFFF;
	box-shadow: var(--clay-shadow-btn-blue);
}
.home-role-card__btn--dev:hover {
	transform: translateY(-2px);
	box-shadow: var(--clay-shadow-btn-blue-hover);
	color: #FFFFFF;
}
.home-role-card__btn--aff {
	background: linear-gradient(145deg var(--in-oklab), #8E6BFF, #7954E8);
	color: #FFFFFF;
	box-shadow: var(--clay-shadow-btn-purple);
}
.home-role-card__btn--aff:hover {
	transform: translateY(-2px);
	color: #FFFFFF;
}

/* ==========================================================================
   Section 5 — Commission Opportunities & Models
   ========================================================================== */
.home-commission-grid {
	gap: 20px;
	margin-bottom: 2rem;
}
.home-comm-card {
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-card);
	padding: 26px 22px;
	box-shadow: var(--clay-shadow-card);
	display: flex;
	flex-direction: column;
	transition: transform 240ms var(--clay-ease), box-shadow 240ms ease, outline-color 200ms ease;
}
.home-comm-card:hover {
	transform: translateY(-4px);
	outline-color: rgba(40, 100, 232, 0.45);
	box-shadow: var(--clay-shadow-card-hover);
}
.home-comm-card__icon {
	font-size: 1.8rem;
	margin-bottom: 12px;
}
.home-comm-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #101B35;
	margin: 0 0 4px;
}
.home-comm-card__example-tag {
	font-size: 0.75rem;
	font-weight: 700;
	color: #2864E8;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 10px;
}
.home-comm-card__desc {
	font-size: 0.875rem;
	color: #69758A;
	line-height: 1.55;
	margin: 0 0 14px;
	flex-grow: 1;
}
.home-comm-card__note {
	font-size: 0.75rem;
	color: #172238;
	background: #EEF3FC;
	padding: 8px 12px;
	border-radius: 10px;
	border-left: 3px solid #2864E8;
	box-shadow: var(--clay-shadow-well);
}
.home-comm__disclaimer {
	color: #69758A;
	font-size: 0.875rem;
	max-width: 800px;
	margin: 0 auto;
}

/* ==========================================================================
   Section 6 — Platform Benefits
   ========================================================================== */
.home-benefits-grid {
	gap: 24px;
	margin-bottom: 24px;
}
.home-benefit-card {
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-card);
	padding: 26px 22px;
	box-shadow: var(--clay-shadow-card);
	transition: transform 240ms var(--clay-ease), box-shadow 240ms ease, outline-color 200ms ease;
}
.home-benefit-card:hover {
	transform: translateY(-4px);
	outline-color: rgba(40, 100, 232, 0.45);
	box-shadow: var(--clay-shadow-card-hover);
}
.home-benefit-card__icon {
	font-size: 1.8rem;
	margin-bottom: 12px;
}
.home-benefit-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #101B35;
	margin: 0 0 8px;
}
.home-benefit-card__desc {
	font-size: 0.875rem;
	color: #69758A;
	line-height: 1.6;
	margin: 0;
}

/* ==========================================================================
   Section 7 — Latest Resources & Knowledge Center
   ========================================================================== */
.home-posts-grid {
	gap: 26px;
	margin-bottom: 2.5rem;
}
.home-post-card {
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-card);
	overflow: hidden;
	box-shadow: var(--clay-shadow-card);
	display: flex;
	flex-direction: column;
	padding: 12px;
	transition: transform 240ms var(--clay-ease), box-shadow 240ms ease, outline-color 200ms ease;
}
/* Cards in a row share one height. */
.home-posts-grid .home-post-card {
	height: 100%;
}
/* The card controls its own spacing, not the default block gap. */
.home-post-card > *,
.home-post-card__footer > * {
	margin-block: 0;
}
.home-post-card:hover {
	transform: translateY(-5px);
	outline-color: rgba(40, 100, 232, 0.45);
	box-shadow: var(--clay-shadow-card-hover);
}
.home-post-card__img {
	border-radius: var(--clay-radius-md);
	overflow: hidden;
	box-shadow: 0 6px 14px rgba(16, 27, 53, 0.10);
}
.home-post-card__img img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	display: block;
	transition: transform 300ms ease;
}
.home-post-card:hover .home-post-card__img img {
	transform: scale(1.03);
}
.home-post-card__content {
	padding: 18px 10px 10px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.home-post-card__category a {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	color: #2864E8;
	background: #EAF1FF;
	padding: 4px 12px;
	border-radius: 999px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	box-shadow: var(--clay-shadow-well);
}
.home-post-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 10px 0 10px;
}
.home-post-card__title a {
	color: #101B35;
	text-decoration: none;
	transition: color 150ms ease;
}
.home-post-card__title a:hover {
	color: #2864E8;
}
.home-post-card__excerpt {
	color: #69758A;
	font-size: 0.875rem;
	line-height: 1.6;
	margin: 0 0 16px;
	flex-grow: 1;
}
.home-post-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	border-top: 1px solid rgba(186, 202, 228, 0.45);
	font-size: 0.8125rem;
}
.home-post-card__date {
	color: #69758A;
}
.home-post-card__read-more,
.home-post-card__read-more a {
	color: #2864E8;
	font-weight: 700;
	text-decoration: none;
	transition: color 150ms ease;
}
.home-post-card__read-more:hover,
.home-post-card__read-more a:hover {
	color: #7954E8;
	text-decoration: underline;
}
.home-posts__view-all .wp-block-button__link {
	padding: 12px 28px;
	font-weight: 700;
	color: #2864E8;
	border: 1.5px solid rgba(40, 100, 232, 0.3);
	border-radius: 999px;
	background: var(--clay-surface);
	box-shadow: var(--clay-shadow-btn-secondary);
	transition: transform 200ms var(--clay-ease), box-shadow 200ms ease, background 150ms ease, color 150ms ease;
}
.home-posts__view-all .wp-block-button__link:hover {
	background: linear-gradient(145deg var(--in-oklab), #3985FF, #2864E8);
	color: #FFFFFF;
	border-color: transparent;
	transform: translateY(-2px);
	box-shadow: var(--clay-shadow-btn-blue);
}

/* ==========================================================================
   Section 2 — Choose Your Role (4 Interactive Cards)
   ========================================================================== */
.home-section__header {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}
.home-section__eyebrow {
	display: inline-block;
	color: #2864E8;
	background: #EAF1FF;
	padding: 5px 14px;
	border-radius: 999px;
	box-shadow: var(--clay-shadow-well);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.home-section__title {
	font-size: clamp(2rem, 1.8rem + 1vw, 2.5rem);
	font-weight: 800;
	color: #0F172A;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}
.home-section__subtitle {
	color: #64748B;
	font-size: 1.05rem;
	line-height: 1.5;
	margin: 0;
}

.home-roles-section {
	padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
	background: transparent;
}
.home-roles__container {
	max-width: 1240px;
	margin: 0 auto;
	padding-inline: 20px;
}
.home-roles__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 2.5rem;
}
.role-card {
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: 26px;
	padding: 14px 14px 22px;
	display: flex;
	flex-direction: column;
	transition: transform 240ms var(--clay-ease), box-shadow 240ms ease, outline-color 200ms ease;
	box-shadow: var(--clay-shadow-card);
}
.role-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--clay-shadow-card-hover);
	outline-color: rgba(40, 100, 232, 0.45);
}
.role-card__image-wrap {
	position: relative;
	border-radius: 18px;
	margin-bottom: 26px;
	box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.14);
}
.role-card__img {
	width: 100%;
	height: 165px;
	object-fit: cover;
	border-radius: 18px;
	display: block;
}
.role-card__badge-icon {
	position: absolute;
	bottom: -18px;
	left: 16px;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	border: 2.5px solid rgba(255, 255, 255, 0.92);
	box-shadow:
		0 10px 20px -4px rgba(15, 23, 42, 0.28),
		inset 0 3px 5px rgba(255, 255, 255, 0.45),
		inset 0 -3px 6px rgba(0, 0, 0, 0.28);
}
.role-card__badge-icon--blue {
	background: linear-gradient(145deg var(--in-oklab), #3985FF, #0066FF);
}
.role-card__badge-icon--indigo {
	background: linear-gradient(145deg var(--in-oklab), #6366F1, #4338CA);
}
.role-card__badge-icon--purple {
	background: linear-gradient(145deg var(--in-oklab), #9353FF, #6D28D9);
}
.role-card__body {
	padding: 0 8px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.role-card__title {
	font-size: 1.15rem;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 8px;
}
.role-card__desc {
	font-size: 0.875rem;
	color: #64748B;
	line-height: 1.55;
	margin: 0 0 18px;
	flex-grow: 1;
}
.role-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 11px 18px;
	border: 1px solid rgba(40, 100, 232, 0.22);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	color: #2864E8;
	background: var(--clay-surface);
	box-shadow: var(--clay-shadow-btn-secondary);
	text-decoration: none;
	transition: transform 200ms var(--clay-ease), box-shadow 200ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
	gap: 6px;
}
.role-card__btn:hover {
	background: linear-gradient(145deg var(--in-oklab), #3985FF, #2864E8);
	border-color: transparent;
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: var(--clay-shadow-btn-blue);
}
.role-card__btn:active {
	transform: translateY(1px) scale(0.98);
}

@media (max-width: 991px) {
	.home-roles__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 540px) {
	.home-roles__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Section 3 — How It Works (3 Steps)
   ========================================================================== */
.home-steps-section {
	padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
	background: rgba(233, 239, 250, 0.65);
	border-block: 1px solid rgba(255, 255, 255, 0.8);
	box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.85), inset 0 -3px 8px rgba(148, 168, 208, 0.16);
}
.home-steps__container {
	max-width: 1160px;
	margin: 0 auto;
	padding-inline: 20px;
}
.home-steps__flow {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 18px;
	margin-top: 2.5rem;
}
.step-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	flex: 1;
	max-width: 340px;
	padding: 24px 22px;
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-card);
	box-shadow: var(--clay-shadow-card);
	transition: transform 240ms var(--clay-ease), box-shadow 240ms ease, outline-color 200ms ease;
}
.step-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--clay-shadow-card-hover);
	outline-color: rgba(40, 100, 232, 0.45);
}
.step-card__icon-wrap {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: linear-gradient(145deg var(--in-oklab), #FFFFFF 0%, #E6F0FF 100%);
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: var(--clay-shadow-orb-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.step-card__content {
	display: flex;
	flex-direction: column;
}
.step-card__number {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.95rem;
	font-weight: 800;
	color: #2864E8;
	margin-bottom: 4px;
}
.step-card__title {
	font-size: 1.0625rem;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 6px;
}
.step-card__desc {
	font-size: 0.875rem;
	color: #64748B;
	line-height: 1.55;
	margin: 0;
}
.step-connector {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

@media (max-width: 820px) {
	.home-steps__flow {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}
	.step-connector {
		display: none;
	}
	.step-card {
		max-width: 100%;
	}
}

/* ==========================================================================
   Section 4 — Why Affilora / Platform Benefits (6 Features)
   ========================================================================== */
.home-benefits-section {
	padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
	background: transparent;
}
.home-benefits__container {
	max-width: 1160px;
	margin: 0 auto;
	padding-inline: 20px;
}
.home-benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin-top: 2.5rem;
}
.benefit-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px 24px;
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-card);
	box-shadow: var(--clay-shadow-card);
	transition: transform 240ms var(--clay-ease), box-shadow 240ms ease, outline-color 200ms ease;
}
.benefit-item:hover {
	transform: translateY(-5px);
	box-shadow: var(--clay-shadow-card-hover);
	outline-color: rgba(40, 100, 232, 0.45);
}
.benefit-item__icon-wrap {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(145deg var(--in-oklab), #FFFFFF 0%, #E6F0FF 100%);
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: var(--clay-shadow-orb-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.benefit-item__title {
	font-size: 1.0625rem;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 8px;
}
.benefit-item__desc {
	font-size: 0.875rem;
	color: #64748B;
	line-height: 1.55;
	margin: 0;
}

@media (max-width: 820px) {
	.home-benefits__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 540px) {
	.home-benefits__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Section 8 — Final Dark Call to Action Band (Dark Clay Surface)
   ========================================================================== */
.affilora-cta-band {
	padding: clamp(2rem, 1.5rem + 2vw, 3rem) 20px clamp(3rem, 2rem + 4vw, 5.5rem);
	background: transparent;
}
.affilora-cta-band__inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	max-width: 1200px;
	margin: 0 auto;
	min-height: 380px;
	align-items: stretch;
	overflow: hidden;
	background: linear-gradient(135deg var(--in-oklab), #0D1B38 0%, #09132B 55%, #13234E 100%);
	border: 1.5px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--clay-radius-xl);
	box-shadow:
		0 28px 60px -12px rgba(10, 20, 45, 0.35),
		0 8px 20px -4px rgba(10, 20, 45, 0.2),
		inset 0 3px 6px rgba(255, 255, 255, 0.18),
		inset 0 -8px 18px rgba(0, 0, 0, 0.55);
}
.affilora-cta-band__content {
	padding: clamp(2.5rem, 2rem + 2vw, 4rem) clamp(2rem, 1.5rem + 2vw, 3.5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 2;
}
.affilora-cta-band__eyebrow {
	color: #7DB2FF;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.affilora-cta-band__title {
	color: #FFFFFF !important;
	font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 14px;
}
.affilora-cta-band__desc {
	color: #B4C3D8 !important;
	font-size: 1rem;
	line-height: 1.6;
	max-width: 520px;
	margin: 0 0 28px;
}
.affilora-cta-band__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.affilora-cta-band__btn-primary {
	background: linear-gradient(145deg var(--in-oklab), #3985FF 0%, #0066FF 60%, #5B46E8 100%);
	color: #FFFFFF !important;
	border-radius: 999px;
	padding: 14px 28px;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow:
		0 14px 28px -6px rgba(0, 102, 255, 0.55),
		inset 0 3px 5px rgba(255, 255, 255, 0.45),
		inset 0 -4px 8px rgba(8, 28, 96, 0.45);
	transition: transform 200ms var(--clay-ease), box-shadow 200ms ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.affilora-cta-band__btn-primary:hover {
	transform: translateY(-3px);
	box-shadow:
		0 18px 34px -6px rgba(0, 102, 255, 0.68),
		inset 0 4px 6px rgba(255, 255, 255, 0.55),
		inset 0 -5px 9px rgba(8, 28, 96, 0.5);
}
.affilora-cta-band__btn-secondary {
	background: linear-gradient(155deg var(--in-oklab), rgba(34, 54, 96, 0.85), rgba(18, 32, 64, 0.9));
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #FFFFFF !important;
	border-radius: 999px;
	padding: 13px 26px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow:
		0 10px 22px -6px rgba(0, 0, 0, 0.5),
		inset 0 2px 4px rgba(255, 255, 255, 0.22),
		inset 0 -3px 6px rgba(0, 0, 0, 0.45);
	transition: transform 200ms var(--clay-ease), box-shadow 200ms ease, border-color 180ms ease;
}
.affilora-cta-band__btn-secondary:hover {
	border-color: rgba(255, 255, 255, 0.45);
	transform: translateY(-3px);
}
.affilora-cta-band__visual {
	position: relative;
	overflow: hidden;
}
.affilora-cta-band__img-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 320px;
}
.affilora-cta-band__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.affilora-cta-band__fade-overlay {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 160px;
	background: linear-gradient(to right, #09132B 0%, rgba(9, 19, 43, 0) 100%);
	pointer-events: none;
}

@media (max-width: 900px) {
	.affilora-cta-band__inner {
		grid-template-columns: 1fr;
	}
	.affilora-cta-band__img-wrapper {
		height: 240px;
	}
	.affilora-cta-band__fade-overlay {
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		height: 80px;
		background: linear-gradient(to bottom, #09132B 0%, transparent 100%);
	}
}

/* ==========================================================================
   Page Hero & Inner Page Layouts
   ========================================================================== */
.site-main {
	min-height: 60vh;
}
.page-hero {
	padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
	background: linear-gradient(180deg var(--in-oklab), #FFFFFF 0%, #EAF0FA 100%);
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
	box-shadow:
		0 12px 28px -10px rgba(16, 27, 53, 0.07),
		inset 0 -4px 10px rgba(148, 168, 208, 0.22);
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	text-align: center;
}
.page-hero h1 {
	font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
	font-weight: 800;
	color: #0F172A;
	letter-spacing: -0.025em;
	margin: 0 auto 0.75rem;
	max-width: 840px;
}
.page-hero p {
	color: #64748B;
	font-size: 1.125rem;
	line-height: 1.6;
	max-width: 680px;
	margin: 0 auto;
}
.page-hero .blog-search-bar {
	max-width: 540px;
	margin: 1.75rem auto 0;
}
.page-hero .blog-search-bar .wp-block-search__input {
	border-radius: 999px;
	border: 1.5px solid rgba(255, 255, 255, 0.9);
	background: #EEF3FC;
	padding: 12px 20px;
	box-shadow: var(--clay-shadow-well);
}
.page-hero .blog-categories {
	display: flex;
	justify-content: center;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 1.25rem auto 0;
	flex-wrap: wrap;
}
.page-hero .blog-categories a {
	color: #2864E8;
	background: var(--clay-surface);
	border: 1px solid var(--clay-outline);
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--clay-shadow-btn-secondary);
	transition: transform 180ms var(--clay-ease), box-shadow 180ms ease, background 150ms ease, color 150ms ease;
}
.page-hero .blog-categories a:hover {
	background: linear-gradient(145deg var(--in-oklab), #3985FF, #2864E8);
	border-color: transparent;
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: var(--clay-shadow-btn-blue);
}

.post-hero {
	padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
	background: linear-gradient(180deg var(--in-oklab), #FFFFFF 0%, #EAF0FA 100%);
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
	box-shadow:
		0 12px 28px -10px rgba(16, 27, 53, 0.07),
		inset 0 -4px 10px rgba(148, 168, 208, 0.22);
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	text-align: center;
}
.post-hero h1 {
	font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
	font-weight: 800;
	color: #0F172A;
	letter-spacing: -0.025em;
	margin: 0 auto 1rem;
	max-width: 880px;
}
.post-hero__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	color: #64748B;
	font-size: 0.9375rem;
}

.entry-content {
	max-width: 860px;
	margin: 0 auto clamp(3rem, 2rem + 3vw, 5rem);
	padding-inline: 20px;
	line-height: 1.75;
	color: #334155;
	font-size: 1.0625rem;
}
.entry-content > p {
	margin-bottom: 1.5rem;
}

/* ==========================================================================
   Article & Single Post Styling
   ========================================================================== */
.entry-content > h2 { padding-left: 14px; border-left: 4px solid #7954E8; color: #101B35; margin-top: 2.5rem; margin-bottom: 1rem; }
.entry-content > h3 { color: #7954E8; margin-top: 2rem; margin-bottom: 0.75rem; }
.entry-content li::marker { color: #2864E8; }
.post-featured { margin-top: calc(-1 * clamp(1.5rem, 1rem + 2vw, 3rem)); }
.post-featured img {
	border-radius: var(--clay-radius-card);
	border: 3px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 22px 48px -12px rgba(16, 27, 53, 0.22);
}
.wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-md);
	box-shadow: var(--clay-shadow-sm);
}
.wp-block-table table { min-width: 520px; border-collapse: collapse; }
.wp-block-table :is(th, td) { padding: 12px 14px; border: 0; border-bottom: 1px solid #E4E9F2; text-align: left; vertical-align: top; }
.wp-block-table th { background: #101B35; color: #FFFFFF; }
.affilora-callout {
	padding: 20px 24px;
	border-left: 4px solid #2864E8;
	border-radius: 18px;
	background: var(--clay-surface);
	box-shadow: var(--clay-shadow-sm);
}
.affilora-summary {
	padding: 24px;
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-card);
	background: linear-gradient(145deg var(--in-oklab), #FFFFFF 0%, #EEF3FF 100%);
	box-shadow: var(--clay-shadow-card);
}
.affilora-toc a { display: inline-block; padding: 6px 0; color: #2864E8; }
.affilora-toc a:hover { color: #7954E8; }
.affilora-disclaimer { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #E4E9F2; color: #69758A; font-size: 0.8125rem; font-style: italic; }
.affilora-news-sources a { overflow-wrap: anywhere; }
.affilora-news-note { color: #69758A; font-size: 0.875rem; }

/* Contact Form (Clay Surface + Recessed Clay Inputs) */
.affilora-form {
	display: grid;
	gap: 16px;
	max-width: 580px;
	padding: 28px;
	background: var(--clay-surface);
	border: 1.5px solid var(--clay-border);
	outline: 1px solid var(--clay-outline);
	border-radius: var(--clay-radius-card);
	box-shadow: var(--clay-shadow-card);
}
.affilora-form label { font-weight: 700; color: #172238; }
.affilora-form :is(input[type="text"], input[type="email"], select, textarea) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 13px 18px;
	border: 1.5px solid rgba(186, 202, 228, 0.6);
	border-radius: var(--clay-radius-sm);
	font: inherit;
	background: #F4F7FD;
	box-shadow: var(--clay-shadow-well);
	transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.affilora-form :is(input:focus, select:focus, textarea:focus) {
	border-color: #2864E8;
	background: #FFFFFF;
	box-shadow: var(--clay-shadow-well), 0 0 0 3px rgba(40, 100, 232, 0.18);
	outline: none;
}
.affilora-notice {
	padding: 14px 18px;
	border-radius: var(--clay-radius-md);
	box-shadow: var(--clay-shadow-sm);
}
.affilora-notice--success { background: #E7F7F0; color: #16865B; border: 1px solid rgba(22, 134, 91, 0.3); }
.affilora-notice--error { background: #FDECEE; color: #C83C4D; border: 1px solid rgba(200, 60, 77, 0.3); }

/* Accessibility, Forced Colors & Touch */
@media (forced-colors: active) {
	.role-card,
	.step-card,
	.benefit-item,
	.home-post-card,
	.home-project-card,
	.home-role-card,
	.home-comm-card,
	.home-benefit-card,
	.affilora-step-card,
	.affilora-form,
	.affilora-summary,
	.affilora-cta-band__inner {
		border: 2px solid CanvasText;
		outline: none;
	}
	.role-card__btn,
	.home-project-card__btn-view,
	.home-project-card__btn-apply,
	.affilora-cta-band__btn-primary,
	.affilora-cta-band__btn-secondary,
	.affilora-whatsapp-float {
		border: 2px solid ButtonText;
	}
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.site-header, .site-footer, .affilora-cta-band, .affilora-whatsapp-float { display: none !important; }
}

/* ==========================================================================
   WhatsApp Floating Widget & Contact Info (3D Emerald Clay Pill)
   ========================================================================== */
.affilora-whatsapp-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 99999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(145deg var(--in-oklab), #38E578 0%, #25D366 55%, #1DA851 100%);
	color: #FFFFFF !important;
	padding: 13px 22px 13px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow:
		0 14px 28px -6px rgba(37, 211, 102, 0.5),
		0 4px 10px rgba(0, 0, 0, 0.12),
		inset 0 3px 6px rgba(255, 255, 255, 0.48),
		inset 0 -4px 8px rgba(10, 92, 42, 0.42);
	text-decoration: none;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	transition: transform 0.24s var(--clay-ease), box-shadow 0.22s ease;
}
.affilora-whatsapp-float:hover {
	color: #FFFFFF !important;
	transform: translateY(-4px) scale(1.03);
	box-shadow:
		0 18px 34px -6px rgba(37, 211, 102, 0.62),
		0 6px 14px rgba(0, 0, 0, 0.16),
		inset 0 4px 7px rgba(255, 255, 255, 0.55),
		inset 0 -5px 9px rgba(10, 92, 42, 0.48);
	text-decoration: none;
}
.affilora-whatsapp-float:active {
	transform: translateY(1px) scale(0.97);
}
.affilora-whatsapp-float__icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	fill: currentColor;
	filter: drop-shadow(0 1px 2px rgba(10, 92, 42, 0.35));
}
.affilora-whatsapp-float__text {
	display: inline-block;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.affilora-whatsapp-float {
		bottom: 18px;
		right: 18px;
		width: 56px;
		height: 56px;
		padding: 0;
		justify-content: center;
		border-radius: 50%;
	}
	.affilora-whatsapp-float__text {
		display: none;
	}
	.affilora-whatsapp-float__icon {
		width: 28px;
		height: 28px;
	}
}

/* Footer WhatsApp Info */
.site-footer__contact-info--whatsapp {
	margin-top: 6px !important;
}
.site-footer__whatsapp-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0F172A !important;
	font-weight: 600;
	transition: color 0.15s ease;
}
.site-footer__whatsapp-link:hover {
	color: #128C7E !important;
	text-decoration: underline;
}
.site-footer__whatsapp-icon {
	color: #25D366;
	flex-shrink: 0;
}


/* Pagination, category, next/previous post and project title links: tap targets of at least 24×24px (WCAG 2.5.8). */
.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	border-radius: 14px;
	background: var(--clay-surface);
	box-shadow: var(--clay-shadow-btn-secondary);
	margin-inline: 3px;
	text-decoration: none;
	font-weight: 700;
}
.wp-block-post-terms a {
	display: inline-block;
	padding-block: 2px;
}
.wp-block-post-navigation-link a,
.afm-project-card h3 a {
	display: inline-block;
	padding-block: 2px;
}

/* Form checkboxes: a comfortable size for touch (the label stays clickable too). */
.affilora-form input[type="checkbox"],
.afm-form input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

/* AdSense ad units (Affilora Core → Settings → Analytics & advertising). */
.affilora-ad {
	box-sizing: border-box;
	max-width: 1180px;
	margin: 24px auto;
	padding-inline: 16px;
	overflow: hidden;
	text-align: center;
}
.affilora-ad__label {
	margin: 0 0 6px;
	color: #69758A;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.entry-content .affilora-ad--article {
	padding-inline: 0;
}
/* AdSense marks a slot it couldn't fill; hide the label and spacing with it. */
.affilora-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
	display: none;
}
