/* Learn-card photos (home page) */
.af-learn-art { overflow: hidden; }
.af-learn-art .afx-learn-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: inherit;
	transition: transform .4s ease;
}
.af-learn-card:hover .afx-learn-img { transform: scale(1.03); }

/* Blog email reminder box */
.afx-sub {
	--afx-cream: #FFF8F0;
	--afx-cocoa: #4A3A33;
	--afx-coral: #E8836C;
	--afx-blush: #FBEDE7;
	--afx-accent-text: #A9503C;
	--afx-line: #EADFD6;
	box-sizing: border-box;
	margin: 40px auto;
	max-width: 760px;
	padding: 2px;
	border-radius: 24px;
	background: linear-gradient(135deg, #F2C35E 0%, #E8836C 50%, #8DBBE3 100%);
	color: var(--afx-cocoa);
	font-family: inherit;
}
.afx-sub * { box-sizing: border-box; }
.afx-sub-in {
	background: var(--afx-blush);
	border-radius: 22px;
	padding: 30px 30px 24px;
}
.afx-kicker {
	margin: 0 0 6px !important;
	font-size: 14px;
	font-weight: 600;
	color: var(--afx-accent-text);
}
.afx-title {
	margin: 0 0 10px !important;
	font-size: clamp(22px, 2.6vw, 28px) !important;
	line-height: 1.4 !important;
	font-weight: 700 !important;
	color: var(--afx-cocoa);
}
.afx-lead {
	margin: 0 0 14px !important;
	font-size: 16px;
	line-height: 1.75;
}
.afx-points {
	list-style: none;
	margin: 0 0 18px !important;
	padding: 0 !important;
	display: grid;
	gap: 8px;
}
.afx-points li {
	position: relative;
	margin: 0 !important;
	padding-left: 26px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
}
.afx-points li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .5em;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--afx-coral);
	box-shadow: inset 0 0 0 4px #fff;
}
.afx-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.afx-field { display: block; margin: 0; }
.afx-field span { display: block; margin: 0 0 5px; font-size: 14px; font-weight: 600; }
.afx-field input,
.afx-field select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	font: inherit;
	font-size: 16px;
	color: var(--afx-cocoa);
	background: #fff;
	border: 1px solid var(--afx-line);
	border-radius: 12px;
	outline: none;
}
.afx-field input:focus,
.afx-field select:focus { border-color: var(--afx-coral); box-shadow: 0 0 0 3px rgba(232, 131, 108, .2); }
.afx-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 1.6;
	cursor: pointer;
}
.afx-consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--afx-accent-text); }
.afx-btn {
	width: 100%;
	height: 52px;
	margin: 16px 0 0;
	border: 0;
	border-radius: 999px;
	background: var(--afx-cocoa);
	color: var(--afx-cream);
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}
.afx-btn:hover { filter: brightness(1.12); }
.afx-btn:disabled { opacity: .7; cursor: default; }
.afx-msg { margin: 12px 0 0 !important; font-size: 15px; line-height: 1.6; }
.afx-msg:empty { display: none; }
.afx-msg.is-ok { color: #2f6b3a; font-weight: 600; }
.afx-msg.is-err { color: var(--afx-accent-text); }
.afx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.af-hub-wrap + .afx-sub, .afx-sub[data-context="learn-hub"] { margin-top: 48px; margin-bottom: 56px; }
@media (max-width: 640px) {
	.afx-sub { margin: 28px 0; }
	.afx-sub-in { padding: 22px 18px 18px; }
	.afx-row { grid-template-columns: 1fr; }
}
