/*
Theme Name: YoursFlora
Theme URI: https://yoursflora.com/
Author: YoursFlora Team
Author URI: https://yoursflora.com/
Description: A fast, SEO-friendly gardening magazine theme with plant tools (Plant Doctor, Gift Finder, Soil Calculator), affiliate product boxes for Amazon, Walmart, Target, Best Buy and eBay, ad slots, and full Elementor support.
Version: 1.0.3
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yoursflora
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, block-patterns, editor-style, translation-ready
*/

/* =========================================================
   1. Design tokens (edit colors here, or in Customizer)
   ========================================================= */
:root {
	--yf-bg: #F5F2EA;          /* oat ground */
	--yf-surface: #FFFFFF;
	--yf-ink: #1F2A1C;         /* deep olive */
	--yf-ink-soft: #5A6352;
	--yf-green: #3F6B33;       /* meadow green */
	--yf-green-deep: #2E4A26;
	--yf-celery: #E4EACD;
	--yf-lime: #C9DE9F;
	--yf-clay: #C98F7A;
	--yf-clay-deep: #A85C44;
	--yf-orange: #FF7A3D;      /* energy orange: buy buttons */
	--yf-orange-soft: #FFE9DD;
	--yf-pink: #F4A7C0;
	--yf-blue: #69808B;
	--yf-teal: #2F5B57;
	--yf-line: #E6E0D2;
	--yf-radius: 22px;
	--yf-radius-lg: 32px;
	--yf-max: 1280px;
	--yf-font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
	--yf-font-accent: 'Instrument Serif', Georgia, serif;
	--yf-font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--yf-bg);
	color: var(--yf-ink);
	font-family: var(--yf-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--yf-green); text-underline-offset: 3px; }
a:hover { color: var(--yf-ink); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--yf-font-display);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	color: var(--yf-ink);
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
.yf-accent, h1 em, h2 em, .yf-hero__title em {
	font-family: var(--yf-font-accent);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--yf-green);
}
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yf-orange); outline-offset: 2px; border-radius: 6px; }
.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 !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; clip: auto !important; clip-path: none; color: var(--yf-ink);
	display: block; font-weight: 700; height: auto; left: 12px; padding: 12px 18px;
	top: 12px; width: auto; z-index: 100000; border-radius: 10px;
}
.yf-container { max-width: var(--yf-max); margin: 0 auto; padding: 0 24px; }
.yf-section { padding: 72px 0 0; }
.yf-section__head {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
	gap: 16px; margin-bottom: 28px;
}
.yf-section__head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.yf-section__head p { margin: 0; color: var(--yf-ink-soft); max-width: 420px; }
.yf-eyebrow {
	display: inline-block; font-size: 13px; font-weight: 800; color: var(--yf-green);
	text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px;
}
.yf-more { font-weight: 700; text-decoration: none; }
.yf-pill {
	display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
	padding: 6px 12px; border-radius: 999px; background: var(--yf-surface); color: var(--yf-ink);
	text-decoration: none;
}

/* Buttons */
.yf-btn, .wp-block-button.is-style-yf-buy .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border-radius: 14px; border: 0;
	font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.yf-btn:hover { transform: translateY(-1px); }
.yf-btn--primary { background: var(--yf-green); color: #fff; }
.yf-btn--primary:hover { background: var(--yf-green-deep); color: #fff; }
.yf-btn--dark { background: var(--yf-ink); color: #fff; }
.yf-btn--dark:hover { color: #fff; background: #000; }
.yf-btn--buy, .wp-block-button.is-style-yf-buy .wp-block-button__link { background: var(--yf-orange); color: var(--yf-ink); }
.yf-btn--buy:hover { background: #ff6a24; color: var(--yf-ink); box-shadow: 0 8px 20px rgba(255,122,61,.35); }
.yf-btn--ghost { background: var(--yf-surface); color: var(--yf-ink); border: 1px solid var(--yf-line); }
.yf-btn--block { width: 100%; }

/* Forms */
.yf-input, .yf-select {
	width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid #CFC8B6;
	background: #fff; padding: 0 16px; font-size: 16px;
}
.yf-input:focus, .yf-select:focus { border-color: var(--yf-green); outline: none; box-shadow: 0 0 0 3px rgba(63,107,51,.2); }

/* =========================================================
   3. Header
   ========================================================= */
.yf-announce {
	background: var(--yf-ink); color: var(--yf-celery); font-size: 14px; font-weight: 500;
	text-align: center; padding: 9px 16px;
}
.yf-announce a { color: #FFB38A; font-weight: 700; }
.yf-header { background: var(--yf-bg); position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.admin-bar .yf-header { top: 32px; }
.yf-header.is-scrolled { box-shadow: 0 6px 24px rgba(31,42,28,.08); }
.yf-header__inner {
	max-width: var(--yf-max); margin: 0 auto; padding: 14px 24px;
	display: flex; align-items: center; gap: 20px; justify-content: space-between;
}
.yf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--yf-ink); flex-shrink: 0; }
.yf-logo__mark {
	width: 42px; height: 42px; border-radius: 14px; background: var(--yf-green);
	display: flex; align-items: center; justify-content: center;
}
.yf-logo__text { font-family: var(--yf-font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.custom-logo { max-height: 48px; width: auto; }
.yf-nav { display: flex; }
.yf-nav ul { list-style: none; margin: 0; padding: 5px; display: flex; gap: 2px; background: var(--yf-surface); border-radius: 999px; }
.yf-nav li { position: relative; }
.yf-nav a {
	display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
	color: var(--yf-ink); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.yf-nav a:hover, .yf-nav .current-menu-item > a, .yf-nav .current-menu-ancestor > a { background: var(--yf-celery); }
.yf-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; display: none;
	flex-direction: column; background: #fff; border-radius: 18px; padding: 8px;
	box-shadow: 0 18px 40px rgba(31,42,28,.14);
}
.yf-nav .sub-menu a { border-radius: 10px; }
.yf-nav li:hover > .sub-menu, .yf-nav li:focus-within > .sub-menu { display: flex; }
.yf-header__actions { display: flex; align-items: center; gap: 10px; }
.yf-icon-btn {
	width: 46px; height: 46px; border-radius: 23px; border: 0; background: var(--yf-surface);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--yf-ink);
}
.yf-doctor-btn {
	white-space: nowrap;
	display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px;
	border-radius: 23px; background: var(--yf-ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
	transition: background .15s ease, transform .15s ease;
}
.yf-doctor-btn:hover { color: #fff; background: #000; transform: translateY(-1px); }
.yf-doctor-btn__ico {
	position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
	background: var(--yf-orange, #FF7A3D); display: inline-flex; align-items: center; justify-content: center;
}
.yf-doctor-btn__ico svg { display: block; position: relative; z-index: 1; }
.yf-doctor-btn__ico::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--yf-orange, #FF7A3D);
	animation: yf-ping 2.4s ease-out infinite; z-index: 0;
}
@keyframes yf-ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .yf-doctor-btn__ico::after { animation: none; } }
.yf-menu-toggle { display: none; }
.yf-search-panel { display: none; background: var(--yf-surface); border-top: 1px solid var(--yf-line); }
.yf-search-panel.is-open { display: block; }
.yf-search-panel .yf-container { padding-top: 18px; padding-bottom: 18px; }
.yf-searchform { display: flex; gap: 10px; }
.yf-searchform .yf-input { flex: 1; }

@media (max-width: 1440px) {
	.yf-nav a { padding: 10px 11px; font-size: 14.5px; }
	.yf-header__inner { gap: 14px; }
}
@media (max-width: 1280px) {
	.yf-doctor-btn__label { display: none; }
	.yf-doctor-btn { width: 46px; padding: 0; justify-content: center; }
}
@media (max-width: 1100px) {
	.yf-menu-toggle { display: inline-flex; }
	.yf-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--yf-bg); padding: 12px 16px 20px; box-shadow: 0 18px 30px rgba(31,42,28,.1);
	}
	.yf-nav.is-open { display: block; }
	.yf-nav ul { flex-direction: column; border-radius: 20px; }
	.yf-nav .sub-menu { position: static; display: flex; box-shadow: none; padding: 0 0 0 14px; background: transparent; }
	.yf-doctor-btn__label { display: none; }
	.yf-doctor-btn { width: 46px; padding: 0; justify-content: center; }
}
@media (max-width: 782px) { .admin-bar .yf-header { top: 0; position: relative; } }

/* =========================================================
   4. Homepage sections
   ========================================================= */
/* Hero */
.yf-hero { padding-top: 12px; }
.yf-hero__card {
	position: relative; border-radius: 36px; overflow: hidden; background: var(--yf-green-deep);
	min-height: 600px; display: flex;
}
.yf-hero__media { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; background: #5C8A4A; }
.yf-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.yf-hero__media svg { width: 100%; height: 100%; display: block; }
.yf-hero__body {
	position: relative; flex: 0 1 640px; padding: 64px 56px; display: flex; flex-direction: column;
	gap: 22px; color: #fff; background: var(--yf-green-deep); border-radius: 0 36px 36px 0;
}
.yf-hero__badge {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
	background: rgba(228,234,205,.14); color: var(--yf-celery); font-weight: 600; font-size: 14px;
	padding: 7px 14px; border-radius: 999px;
}
.yf-hero__badge::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--yf-orange); }
.yf-hero__title { margin: 0; color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: .98; letter-spacing: -0.04em; }
.yf-hero__title em { color: var(--yf-lime); }
.yf-hero__text { margin: 0; font-size: 19px; color: #D9E2C8; max-width: 500px; }
.yf-hero__ask { margin: 4px 0 0; font-weight: 700; font-size: 15px; }
.yf-intents { display: flex; flex-direction: column; gap: 10px; }
.yf-intent {
	display: flex; align-items: center; gap: 16px; background: #fff; color: var(--yf-ink);
	text-decoration: none; border-radius: 20px; padding: 14px 18px; transition: transform .15s ease;
}
.yf-intent:hover { transform: translateX(4px); color: var(--yf-ink); }
.yf-intent__tag {
	flex: 0 0 48px; height: 48px; border-radius: 14px; display: flex; align-items: center;
	justify-content: center; font-size: 12px; font-weight: 800;
}
.yf-intent__text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.yf-intent__text span { font-size: 14px; color: var(--yf-ink-soft); }
.yf-intent__text .yf-intent__title { font-size: 17px; font-weight: 800; color: var(--yf-ink); }
.yf-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding-top: 28px; }
.yf-trust__item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border-radius: 18px; font-size: 15px; font-weight: 600; }
@media (max-width: 900px) {
	.yf-hero__card { flex-direction: column; min-height: 0; }
	.yf-hero__media { position: relative; width: 100%; height: 300px; }
	.yf-hero__body { padding: 32px 22px; border-radius: 0; }
}

/* Bento categories */
.yf-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
.yf-bento__item {
	position: relative; border-radius: 28px; overflow: hidden; text-decoration: none; color: #fff;
	display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate;
}
.yf-bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s ease; }
.yf-bento__item.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(20,28,18,.72) 100%); }
.yf-bento__item:hover img { transform: scale(1.04); }
.yf-bento__item:hover { color: #fff; }
.yf-bento__item--big { grid-column: span 2; grid-row: span 2; padding: 30px; }
.yf-bento__item--wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 22px; }
.yf-bento__meta { font-size: 13px; font-weight: 700; opacity: .92; }
.yf-bento__name { font-family: var(--yf-font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.yf-bento__item--big .yf-bento__name { font-size: 40px; }
.yf-bento__desc { font-size: 15px; opacity: .95; max-width: 420px; }
.yf-bento__icon { flex: 0 0 72px; height: 72px; border-radius: 22px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
	.yf-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
	.yf-bento__item--big { grid-column: span 2; grid-row: span 1; }
	.yf-bento__item--big .yf-bento__name { font-size: 28px; }
	.yf-bento__item--wide { grid-column: span 2; }
	.yf-bento__desc { display: none; }
}

/* Tools section */
.yf-tools { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.yf-tools > .yf-tool--feature { flex: 1 1 420px; min-width: 0; }
.yf-tools__grid { flex: 1.4 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.yf-tool-card {
	--tc: #FFFFFF;
	text-decoration: none; color: var(--yf-ink); background: var(--tc); border-radius: 24px; padding: 18px 20px;
	display: flex; gap: 16px; align-items: center; position: relative; overflow: hidden;
	transition: transform .15s ease, box-shadow .15s ease;
}
.yf-tool-card.yf-linkcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31,42,28,.12); color: var(--yf-ink); }
.yf-tool-card .yf-tool-card__icon {
	flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(31,42,28,.08);
}
.yf-tool-card .yf-tool-card__icon svg { display: block; }
.yf-tool-card__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yf-tool-card__text strong { display: block; font-size: 17px; line-height: 1.25; }
.yf-tool-card__text > span { font-size: 14px; color: #3F4A3A; line-height: 1.4; display: block; }
.yf-tool-card__text > .yf-tool-card__title { font-size: 17px; line-height: 1.25; font-weight: 800; color: var(--yf-ink); }
.yf-tool-card__go { margin-left: auto; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 17px; background: var(--yf-ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.yf-tool-card .yf-soon { align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 800; font-style: normal; color: #4A5540; background: rgba(255,255,255,.7); padding: 2px 9px; border-radius: 999px; margin-top: 4px; }
.yf-tool-card--soon { opacity: .9; }
@media (max-width: 600px) { .yf-tools__grid { grid-template-columns: 1fr; } }

/* Promo blocks (Plant Doctor / Gift Finder) */
.yf-promo {
	border-radius: 36px; padding: 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.yf-promo--doctor { background: var(--yf-orange-soft); }
.yf-promo--gift { background: #FCE4EC; }
.yf-promo__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.yf-promo__text h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.02; }
.yf-promo--doctor h2 em { color: #C2410C; }
.yf-promo--gift h2 em { color: #B0306A; }
.yf-promo__tag { align-self: flex-start; font-size: 13px; font-weight: 800; color: #9A3412; background: #fff; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.yf-promo--gift .yf-promo__tag { color: #9D174D; }
.yf-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.yf-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.yf-steps li span { flex: 0 0 34px; height: 34px; border-radius: 17px; background: var(--yf-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.yf-promo__note { font-size: 14px; color: #7A4A35; margin: 0; }
.yf-promo__example { flex: 1 1 420px; min-width: 0; }
.yf-example-card { background: #fff; border-radius: 28px; padding: 24px; box-shadow: 0 24px 60px rgba(154,52,18,.14); display: flex; flex-direction: column; gap: 14px; }
.yf-chip { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--yf-celery); display: inline-block; }
.yf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) { .yf-promo { padding: 28px 20px; border-radius: 28px; } }

/* Post cards */
.yf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.yf-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--yf-ink); }
.yf-card:hover { color: var(--yf-ink); }
.yf-card__media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--yf-celery); }
.yf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.yf-card:hover .yf-card__media img { transform: scale(1.04); }
.yf-card__cat { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 800; background: #fff; padding: 6px 11px; border-radius: 999px; color: var(--yf-ink); }
.yf-card__title { font-family: var(--yf-font-display); font-weight: 800; font-size: 22px; line-height: 1.22; letter-spacing: -0.01em; margin: 0; }
.yf-card:hover .yf-card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.yf-card__meta { font-size: 14px; color: var(--yf-ink-soft); }
.yf-card__excerpt { font-size: 15px; color: var(--yf-ink-soft); margin: 0; }

/* Season tabs strip */
.yf-season-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.yf-season-card { text-decoration: none; color: var(--yf-ink); background: #fff; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; }
.yf-season-card__media { height: 200px; background: var(--yf-celery); position: relative; }
.yf-season-card__media img { width: 100%; height: 100%; object-fit: cover; }
.yf-season-card__body { padding: 18px 20px 22px; }
.yf-season-card__body strong { font-family: var(--yf-font-display); font-size: 21px; display: block; line-height: 1.2; }
.yf-season-card__body span { font-size: 14px; color: var(--yf-ink-soft); }

/* Dark picks band */
.yf-band { background: var(--yf-ink); color: #fff; margin-top: 80px; }
.yf-band .yf-container { padding-top: 72px; padding-bottom: 72px; }
.yf-band h2, .yf-band .yf-section__head h2 { color: #fff; }
.yf-band h2 em { color: var(--yf-lime); }
.yf-band .yf-eyebrow { color: #FFB38A; }
.yf-band .yf-more { color: var(--yf-celery); }
.yf-band .yf-card { color: #fff; }
.yf-band .yf-card__meta { color: #C9D2BE; }

/* Ideas gallery */
.yf-ideas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 14px; }
.yf-ideas a { position: relative; border-radius: 24px; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; text-decoration: none; color: #fff; font-weight: 800; background: var(--yf-clay); isolation: isolate; }
.yf-ideas a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.yf-ideas a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(20,28,18,.7)); }
.yf-ideas a:nth-child(1) { grid-row: span 2; }
.yf-ideas a:nth-child(3) { grid-column: span 2; }
.yf-ideas a:nth-child(5) { grid-column: span 2; }
@media (max-width: 800px) { .yf-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yf-ideas a:nth-child(n) { grid-column: auto; grid-row: auto; } }

/* Newsletter */
.yf-newsletter { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; border-top: 1px solid #DCD5C3; border-bottom: 1px solid #DCD5C3; padding: 48px 0; }
.yf-newsletter h2 { margin: 0 0 6px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.yf-newsletter p { margin: 0; color: var(--yf-ink-soft); }
.yf-newsletter form { flex: 1 1 400px; display: flex; flex-wrap: wrap; gap: 10px; }
.yf-newsletter .yf-input { flex: 1 1 220px; min-height: 58px; border-radius: 18px; }
.yf-newsletter .yf-btn { min-height: 58px; border-radius: 18px; }

/* Ad slots */
.yf-ad { margin: 32px auto; text-align: center; overflow: hidden; }
.yf-ad__label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8B8676; margin-bottom: 6px; }
.yf-ad--placeholder { min-height: 100px; border: 1px dashed #CFC8B6; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #8B8676; font-size: 13px; }

/* =========================================================
   5. Article
   ========================================================= */
.yf-article-wrap { padding: 28px 0 64px; }
.yf-breadcrumbs { font-size: 14px; color: var(--yf-ink-soft); margin-bottom: 16px; }
.yf-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.yf-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #A8A292; }
.yf-breadcrumbs a { color: var(--yf-ink-soft); }
.yf-article__header { max-width: 900px; }
.yf-article__title { margin: 0 0 18px; }
.yf-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 15px; color: var(--yf-ink-soft); margin-bottom: 14px; }
.yf-article__meta img { width: 40px; height: 40px; border-radius: 20px; }
.yf-article__meta strong { color: var(--yf-ink); }
.yf-disclosure { font-size: 14px; color: var(--yf-ink-soft); background: #EDE8DC; border-radius: 12px; padding: 10px 14px; margin: 0 0 28px; max-width: 900px; }
.yf-article__layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.yf-article__main { flex: 999 1 640px; min-width: 0; max-width: 780px; }
.yf-article__aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.yf-article__hero { border-radius: 26px; overflow: hidden; margin-bottom: 28px; }
.yf-article__hero img { width: 100%; height: auto; }
.yf-article__hero figcaption { font-size: 13px; color: var(--yf-ink-soft); padding: 8px 4px 0; }
.yf-toc { background: #fff; border-radius: 20px; padding: 22px; }
.yf-toc strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--yf-ink-soft); margin-bottom: 10px; }
.yf-toc ol { margin: 0; padding-left: 20px; font-size: 15px; display: flex; flex-direction: column; gap: 8px; }
.yf-toc a { text-decoration: none; color: var(--yf-ink); }
.yf-toc a:hover { color: var(--yf-green); text-decoration: underline; }
@media (max-width: 980px) { .yf-article__aside { position: static; } }

/* Post content */
.entry-content { font-size: 18.5px; line-height: 1.78; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content h2 { margin-top: 1.9em; font-size: clamp(1.6rem, 3vw, 2.05rem); scroll-margin-top: 110px; }
.entry-content h3 { margin-top: 1.5em; scroll-margin-top: 110px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--yf-green); font-weight: 700; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--yf-lime); font-family: var(--yf-font-accent); font-size: 1.45em; line-height: 1.35; font-style: italic; }
.entry-content blockquote p { margin: 0; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figure img { border-radius: 20px; }
.entry-content figcaption { font-size: 14px; color: var(--yf-ink-soft); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 16px; overflow: hidden; }
.entry-content th, .entry-content td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--yf-line); vertical-align: top; }
.entry-content thead th { background: #EEF2E0; font-weight: 800; }
.yf-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--yf-line); margin: 1.6em 0; }
.yf-table-wrap table { margin: 0; min-width: 560px; }
.entry-content a { font-weight: 600; }
.entry-content hr { border: 0; border-top: 1px solid var(--yf-line); margin: 2.4em 0; }
.entry-content p.has-drop-cap:not(:focus)::first-letter { font-family: var(--yf-font-display); color: var(--yf-green); }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }

/* FAQ (Details block) */
.entry-content .wp-block-details { background: #fff; border: 1px solid var(--yf-line); border-radius: 16px; padding: 0; margin-bottom: 10px; }
.entry-content .wp-block-details summary { cursor: pointer; font-weight: 800; font-size: 17.5px; padding: 16px 48px 16px 20px; list-style: none; position: relative; line-height: 1.4; }
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--yf-green); }
.entry-content .wp-block-details[open] summary::after { content: "–"; }
.entry-content .wp-block-details > *:not(summary) { padding: 0 20px; margin-top: 0; }
.entry-content .wp-block-details > *:last-child { padding-bottom: 18px; margin-bottom: 0; }

/* Content boxes (blocks & patterns) */
.yf-quick-answer, .wp-block-group.is-style-yf-quick-answer {
	background: var(--yf-celery); border-radius: 22px; padding: 24px 28px; font-size: 18px; line-height: 1.6;
}
.yf-quick-answer::before, .wp-block-group.is-style-yf-quick-answer::before {
	content: "Quick answer"; display: block; font-size: 13px; font-weight: 800; text-transform: uppercase;
	letter-spacing: .08em; color: var(--yf-green); margin-bottom: 8px; font-family: var(--yf-font-body);
}
.yf-quick-answer > *:last-child, .is-style-yf-quick-answer > *:last-child { margin-bottom: 0; }
.yf-tip, .wp-block-group.is-style-yf-tip {
	background: #FFF4D6; border-radius: 22px; padding: 22px 26px 22px 64px; position: relative; font-size: 17px;
}
.yf-tip::before, .wp-block-group.is-style-yf-tip::before {
	content: ""; position: absolute; left: 24px; top: 24px; width: 26px; height: 26px;
	background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6200' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.5c.8.8 1 1.5 1 2.5h6c0-1 .2-1.7 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
}
.yf-tip > *:last-child, .is-style-yf-tip > *:last-child { margin-bottom: 0; }
.yf-warning, .wp-block-group.is-style-yf-warning { background: #FDE8E1; border-radius: 22px; padding: 22px 26px; font-size: 17px; }
.yf-warning > *:last-child, .is-style-yf-warning > *:last-child { margin-bottom: 0; }
.yf-care, .wp-block-group.is-style-yf-care { background: #fff; border: 1px solid var(--yf-line); border-radius: 22px; padding: 22px 26px; }
.yf-care-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 0; }
.yf-care-grid div { background: var(--yf-bg); border-radius: 14px; padding: 12px 14px; }
.yf-care-grid dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--yf-ink-soft); }
.yf-care-grid dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; line-height: 1.35; }

/* Boxes: remove trailing space (classic themes add an inner container to groups) */
.wp-block-group[class*="is-style-yf-"] .wp-block-group__inner-container > *:last-child,
.wp-block-group[class*="is-style-yf-"] > *:last-child,
.yf-quick-answer > *:last-child p:last-child { margin-bottom: 0; }
.entry-content .yf-product__name, .entry-content .yf-products__title h2 { margin: 0; }
.yf-side-box .widget-title, .yf-article__aside .widget-title { font-size: 18px; margin: 0 0 10px; }

/* Product cards */
.yf-products { display: flex; flex-direction: column; gap: 18px; margin: 2em 0; }
.yf-products__title {
	background: var(--yf-green); color: #fff; border-radius: 22px 22px 0 0; padding: 18px 26px; margin: 0 0 -18px;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: baseline;
}
.yf-products__title h2, .yf-products__title h3 { color: #fff; margin: 0; font-size: 24px; }
.yf-products__title span { font-size: 13px; color: var(--yf-celery); }
.yf-product {
	background: #fff; border: 1px solid var(--yf-line); border-radius: 24px; padding: 22px;
	display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; position: relative; font-size: 16px; line-height: 1.55;
}
.yf-product--pick { border: 2px solid var(--yf-orange); box-shadow: 0 18px 44px rgba(255,122,61,.18); }
.yf-product__rank {
	position: absolute; top: -12px; left: -10px; width: 40px; height: 40px; border-radius: 20px;
	background: var(--yf-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
}
.yf-product--pick .yf-product__rank { background: var(--yf-orange); color: var(--yf-ink); }
.yf-product__media { border-radius: 16px; background: var(--yf-bg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 10px; }
.yf-product__media img { max-height: 100%; width: auto; object-fit: contain; border-radius: 10px; }
.yf-product__ph { text-align: center; font-size: 13px; color: var(--yf-ink-soft); padding: 8px; }
.yf-product__ph svg { margin: 0 auto 6px; }
.yf-product__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.yf-product__badge { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; background: var(--yf-celery); color: var(--yf-ink); }
.yf-product--pick .yf-product__badge { background: var(--yf-orange); }
.yf-product__name { font-family: var(--yf-font-display); font-size: 22px; font-weight: 800; line-height: 1.2; margin: 0; }
.yf-product__why { margin: 0; color: #3A4434; }
.yf-product__pros { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 18px; margin: 4px 0; padding: 0; list-style: none; font-size: 15px; }
.yf-product__pros li { padding-left: 24px; position: relative; margin: 0; }
.yf-product__pros li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--yf-green); border-bottom: 2.5px solid var(--yf-green); transform: rotate(-45deg); }
.yf-product__pros li.con::before { width: 12px; height: 0; border-left: 0; border-bottom: 2.5px solid var(--yf-clay-deep); transform: none; top: 12px; }
.yf-product__use { font-size: 15px; margin: 0; color: #3A4434; }
.yf-product__use strong { color: var(--yf-ink); }
.yf-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.yf-store {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 16px;
	border-radius: 12px; font-weight: 800; font-size: 14.5px; text-decoration: none !important; line-height: 1.2;
	background: var(--yf-bg); color: var(--yf-ink) !important; border: 1px solid var(--yf-line);
}
.yf-store:hover { border-color: var(--yf-ink); }
.yf-store--amazon { background: var(--yf-orange); border-color: var(--yf-orange); }
.yf-store--amazon:hover { background: #ff6a24; border-color: #ff6a24; }
.yf-store__arrow { font-weight: 400; }
@media (max-width: 640px) {
	.yf-product { grid-template-columns: 1fr; padding: 20px 18px; }
	.yf-product__media { max-width: 220px; }
	.yf-store { flex: 1 1 calc(50% - 8px); justify-content: center; }
	.yf-store--amazon { flex-basis: 100%; }
}

/* Author box & related */
.yf-author-box { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: 24px; padding: 24px; margin: 48px 0 0; }
.yf-author-box img { width: 72px; height: 72px; border-radius: 36px; flex-shrink: 0; }
.yf-author-box h3 { margin: 0 0 4px; font-size: 20px; }
.yf-author-box p { margin: 0; font-size: 15px; color: var(--yf-ink-soft); }
.yf-related { margin-top: 64px; }
.yf-related h2 { font-size: 28px; }
.yf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.yf-tags a { font-size: 14px; background: #fff; padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--yf-ink); font-weight: 600; }
.yf-side-box { background: var(--yf-celery); border-radius: 20px; padding: 22px; }
.yf-side-box h3 { font-size: 18px; margin: 0 0 10px; }
.yf-side-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.yf-side-box a { color: var(--yf-ink); font-weight: 600; }

/* Archive */
.yf-archive-head { padding: 48px 0 32px; }
.yf-archive-head h1 { margin: 0 0 10px; }
.yf-archive-head p { max-width: 720px; color: var(--yf-ink-soft); font-size: 18px; margin: 0; }
.yf-archive-head .yf-chips { margin-top: 18px; }
.yf-archive-head .yf-chip { text-decoration: none; color: var(--yf-ink); background: #fff; }
.yf-pagination { margin: 56px 0 0; display: flex; justify-content: center; }
.yf-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.yf-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; background: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; color: var(--yf-ink); }
.yf-pagination .page-numbers.current { background: var(--yf-ink); color: #fff; }
.yf-empty { background: #fff; border-radius: 24px; padding: 40px; text-align: center; }

/* Pages */
.yf-page { padding: 40px 0 72px; }
.yf-page__inner { max-width: 820px; margin: 0 auto; }
.yf-page--wide .yf-page__inner { max-width: var(--yf-max); }
.yf-page__header { margin-bottom: 32px; }

/* =========================================================
   6. Tools
   ========================================================= */
.yf-tool { background: var(--yf-ink); color: #fff; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.yf-tool--light { background: #fff; color: var(--yf-ink); border: 1px solid var(--yf-line); }
.yf-tool__head { display: flex; align-items: center; gap: 12px; }
.yf-tool__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--yf-lime); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yf-tool__kicker { font-size: 12px; font-weight: 800; color: #FFB38A; text-transform: uppercase; letter-spacing: .08em; display: block; }
.yf-tool--light .yf-tool__kicker { color: #C2410C; }
.yf-tool h2, .yf-tool h3 { margin: 0; color: inherit; font-size: 26px; }
.yf-tool__intro { margin: 0; font-size: 15px; color: #C9D2BE; }
.yf-tool--light .yf-tool__intro { color: var(--yf-ink-soft); }
.yf-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--yf-celery); }
.yf-tool--light .yf-field { color: var(--yf-ink); }
.yf-field input, .yf-field select { min-height: 52px; border-radius: 14px; border: 1px solid transparent; padding: 0 12px; font-size: 18px; font-weight: 700; color: var(--yf-ink); background: #fff; width: 100%; }
.yf-tool--light .yf-field input, .yf-tool--light .yf-field select { border-color: #CFC8B6; font-size: 16px; }
.yf-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.yf-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yf-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.yf-result { background: #2C3A28; border-radius: 18px; padding: 16px; }
.yf-result small { font-size: 13px; color: #C9D2BE; display: block; }
.yf-result b { display: block; font-family: var(--yf-font-display); font-size: 34px; font-weight: 800; line-height: 1.15; color: var(--yf-lime); }
.yf-result:nth-child(2) b { color: #fff; }
.yf-tool__msg { font-size: 14px; color: #FFB38A; margin: 0; min-height: 1em; }
@media (max-width: 520px) { .yf-fields { grid-template-columns: 1fr; } .yf-results { grid-template-columns: 1fr; } .yf-tool { padding: 24px 18px; } }

/* Choice buttons (Plant Doctor, Gift Finder) */
.yf-wizard { background: #fff; border-radius: 32px; padding: 32px; border: 1px solid var(--yf-line); }
.yf-wizard__step { margin-bottom: 26px; }
.yf-wizard__step h3 { font-size: 20px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.yf-wizard__step h3 span { width: 30px; height: 30px; border-radius: 15px; background: var(--yf-ink); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yf-wizard__hint { font-size: 14px; color: var(--yf-ink-soft); margin: -6px 0 12px; }
.yf-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.yf-choice {
	min-height: 44px; padding: 9px 16px; border-radius: 12px; border: 1.5px solid #DCD5C3; background: var(--yf-bg);
	font-weight: 700; font-size: 15px; cursor: pointer; color: var(--yf-ink); transition: background .12s, border-color .12s;
}
.yf-choice:hover { border-color: var(--yf-ink); }
.yf-choice[aria-pressed="true"] { background: var(--yf-ink); border-color: var(--yf-ink); color: #fff; }
.yf-wizard__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.yf-wizard__msg { font-size: 14px; color: #B4441F; margin: 10px 0 0; min-height: 1em; }
.yf-out { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.yf-out[hidden] { display: none; }
.yf-diag { background: #fff; border: 1px solid var(--yf-line); border-radius: 26px; padding: 26px; }
.yf-diag--top { border: 2px solid var(--yf-green); box-shadow: 0 18px 44px rgba(63,107,51,.14); }
.yf-diag__label { font-size: 13px; font-weight: 800; color: var(--yf-green); text-transform: uppercase; letter-spacing: .06em; }
.yf-diag h3 { margin: 4px 0 8px; font-size: 26px; }
.yf-diag__match { font-size: 13px; font-weight: 700; color: var(--yf-ink-soft); }
.yf-diag__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.yf-diag__box { background: var(--yf-bg); border-radius: 18px; padding: 18px 20px; font-size: 15.5px; }
.yf-diag__box h4 { margin: 0 0 10px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.yf-diag__ico { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.yf-diag__box--why { grid-column: 1 / -1; background: #E8F1F7; }
.yf-diag__box--why .yf-diag__ico { background: #3D6E8A; }
.yf-diag__box--fix { background: #E6F1DC; }
.yf-diag__box--fix .yf-diag__ico { background: #3F6B33; }
.yf-diag__box--fix li::marker { color: #3F6B33; font-weight: 800; }
.yf-diag__box--prevent { background: #FFF3D4; }
.yf-diag__box--prevent .yf-diag__ico { background: #B7791F; }
.yf-diag__box--prevent li::marker { color: #B7791F; }
.yf-diag__box--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .yf-diag__cols { grid-template-columns: 1fr; } }
.yf-diag__box ol, .yf-diag__box ul { margin: 0; padding-left: 20px; }
.yf-diag__box li { margin-bottom: 6px; }
.yf-diag--small h3 { font-size: 20px; }
.yf-gift-hero { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 24px; align-items: start; }
.yf-gift-hero__img { border-radius: 20px; overflow: hidden; aspect-ratio: 1; background: var(--yf-celery); }
.yf-gift-hero__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .yf-gift-hero { grid-template-columns: 1fr; } .yf-wizard { padding: 22px 16px; border-radius: 24px; } }
.yf-disclaimer { font-size: 13px; color: var(--yf-ink-soft); margin: 0; }

/* =========================================================
   7. Footer
   ========================================================= */
.yf-footer { background: var(--yf-ink); color: #C9D2BE; margin-top: 72px; }
.yf-footer a { color: #C9D2BE; text-decoration: none; }
.yf-footer a:hover { color: #fff; text-decoration: underline; }
.yf-footer__top { max-width: var(--yf-max); margin: 0 auto; padding: 64px 24px 32px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.yf-footer__brand { flex: 1 1 300px; max-width: 360px; }
.yf-footer__brand .yf-logo__text { color: #fff; font-size: 30px; }
.yf-footer__brand p { font-size: 15px; line-height: 1.6; margin: 12px 0 0; }
.yf-footer__col h2 { color: #fff; font-family: var(--yf-font-body); font-size: 15px; font-weight: 800; letter-spacing: 0; margin: 0 0 12px; }
.yf-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.yf-footer__bottom { max-width: var(--yf-max); margin: 0 auto; padding: 20px 24px 36px; border-top: 1px solid #36452F; font-size: 13px; line-height: 1.6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.yf-social { display: flex; gap: 10px; margin-top: 16px; }
.yf-social a { width: 40px; height: 40px; border-radius: 20px; background: #2C3A28; display: inline-flex; align-items: center; justify-content: center; }

/* Back to top */
.yf-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 23px; border: 0; background: var(--yf-ink); color: #fff; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 40; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.yf-top.is-visible { display: inline-flex; }

/* Comments */
.comments-area { margin-top: 56px; background: #fff; border-radius: 24px; padding: 28px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--yf-line); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid #CFC8B6; border-radius: 12px; padding: 12px 14px; }
.comment-form .submit { background: var(--yf-green); color: #fff; border: 0; border-radius: 12px; padding: 12px 22px; font-weight: 800; cursor: pointer; }

/* Elementor: let full-width templates breathe */
.elementor-page .yf-page__inner, .yf-page--elementor .yf-page__inner { max-width: none; padding: 0; }
.yf-page--elementor { padding: 0; }

/* Print */
@media print { .yf-header, .yf-footer, .yf-ad, .yf-article__aside, .yf-announce { display: none !important; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Share buttons */
.yf-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 8px; }
.yf-share__label { font-weight: 800; font-size: 15px; margin-right: 6px; }
.yf-share__btn { width: 40px; height: 40px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; background: var(--sc); color: #fff; transition: transform .15s ease; }
.yf-share__btn:hover { transform: translateY(-2px); color: #fff; }
.yf-footer__bottom .yf-share { margin: 0; }
.yf-footer__bottom .yf-share__label { font-size: 13px; font-weight: 700; }
.yf-footer__bottom .yf-share__btn { width: 32px; height: 32px; }
.yf-footer__bottom .yf-share__btn svg { width: 15px; height: 15px; }
.yf-footer__bottom a { color: inherit; text-decoration: underline; }
.yf-footer__bottom .yf-share__btn { text-decoration: none; color: #fff; }

/* Stretched links: whole card clickable, short anchor text */
.yf-linkcard { position: relative; cursor: pointer; }
.yf-stretch { color: inherit; text-decoration: none; }
.yf-stretch:hover, .yf-stretch:focus { color: inherit; }
.yf-stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.yf-stretch:focus-visible { outline: none; }
.yf-linkcard:focus-within { outline: 3px solid var(--yf-orange, #FF7A3D); outline-offset: 3px; }
.yf-intent__text .yf-intent__title { display: block; }
.yf-bento__item .yf-bento__name { color: inherit; }
