/* kit-base.css — the ex-cascade-reset rules, now DEFAULTS not fixes.
 *
 * In the7-demo, cascade-reset.css was a PATCH on a theme we didn't control (a TT5 child re-importing
 * contested defaults). kit-base owns its theme.json, so R1 (blockGap flow margin), R3 (is-layout
 * `>*+*` margins), R4 (element top margins), R5 (image figure margins), R6 (columns block-gap) are
 * all killed AT THE SOURCE by theme.json (blockGap "0" + zero element/image margins). Nothing to fight.
 *
 * What remains here is the small, theme-wide safety net — not a fix, a default:
 *   - image fill safety (also in theme.json css; kept for specificity on nested figures)
 *   - the kit-band/kit-split sections never need the R2 negative-margin breakout because page-no-title
 *     uses a flow (default) main, and kit/band is full-bleed by its own CSS (in the plugin).
 * Foreign-theme compat (the ported R2/trap-1 breakout) lives in the PLUGIN's stylesheet, namespaced
 * to .kit-*, so it travels with the blocks when the theme is switched away from kit-base.
 */

/* image fill safety (ex-R5) — defensive against any figure UA margin slipping back in */
.wp-block-image,
.wp-block-image img { margin: 0; max-width: 100%; height: auto; }

/* down_convert emits the image className on the <img> (so image geometry residue — object-fit,
 * position:absolute, sizing — styles the IMG, not the wrapping figure). The figure is made
 * display:contents so it never intercepts the img's layout (a full-bleed/cover image positions
 * against its cell, not the figure). The img's own residue overrides max-width/height as needed. */
.wp-block-image.kit-img-contents { display: contents; }

/* ============================================================================================
 * V1.2.6 NATIVE-FIRST — pure-info sections rebuilt as native core/group+columns+heading+image+button.
 * These four sections (nature / trust / newsletter / beauty) carry NO dynamic data, NO JS, NO bound
 * field, NO positioning core can't express — so per the decision rule they are NOT custom blocks. They
 * are native core blocks wearing kit-base classNames; this stylesheet (loaded in editor AND frontend by
 * functions.php → add_editor_style + wp_enqueue_style) gives them their look identically in both
 * contexts, so editor == frontend by construction. The custom block folders are deleted.
 * ============================================================================================ */

.k125o-native { --k125o-green:#537D5D; --k125o-green-dark:#3d5e45; --k125o-orange:#E86831;
	--k125o-text:#161922; --k125o-muted:#666; --k125o-cream:#F5F2E1;
	font-family:"Plus Jakarta Sans",-apple-system,"Segoe UI",Roboto,sans-serif; }

/* shared CTA buttons (core/button with these classNames) */
.k125o-native .k125o-btn-primary .wp-block-button__link,
.k125o-native.k125o-btn-primary .wp-block-button__link {
	background:var(--k125o-green); color:#fff; font-size:13px; font-weight:700; letter-spacing:.06em;
	text-transform:uppercase; padding:14px 28px; border-radius:8px; }
.k125o-native .k125o-btn-primary .wp-block-button__link:hover { background:var(--k125o-green-dark); }

/* ---- NATURE BAND : core/group, centered promo over a bg image ---- */
.k125o-nature {
	background-color:#3d5a40; background-size:cover; background-position:center;
	padding:80px 60px; text-align:center; position:relative; }
/* V1.2.9: this group is is-layout-constrained + has-global-padding, and core's has-global-padding rule
 * zeroes the HORIZONTAL padding (root padding var is empty -> 0px L/R), overriding the 60px above. Ref's
 * .nature-band keeps a literal 60px horizontal gutter; restore it so the band's content box matches the
 * ref (content centers inside it) and can never bleed to 0 at the edge. Vertical 80px already wins. */
.k125o-nature.has-global-padding { padding-left:60px !important; padding-right:60px !important; }
.k125o-nature::before { content:''; position:absolute; inset:0; background:rgba(30,50,35,.35); pointer-events:none; }
.k125o-nature > * { position:relative; z-index:1; }
.k125o-nature .k125o-nature-label { font-size:13px; color:rgba(255,255,255,.75); font-weight:500; margin:0 0 8px; }
.k125o-nature .k125o-nature-title { font-family:"Plus Jakarta Sans",sans-serif; font-size:42px; font-weight:700; color:#fff; line-height:1.2; max-width:520px; margin:0 auto 16px; }
.k125o-nature .k125o-nature-sub { font-size:15px; color:rgba(255,255,255,.8); max-width:440px; margin:0 auto 32px; }
.k125o-nature .wp-block-button { display:inline-block; }
@media (max-width:900px){ .k125o-nature{ padding:56px 24px; } .k125o-nature .k125o-nature-title{ font-size:30px; } }

/* ---- TRUST BAND : core/columns of icon+title+caption (native flex via columns) ---- */
.k125o-trust { background:var(--k125o-cream); border-radius:0; padding:56px 60px; }
.k125o-trust .k125o-badge-item { text-align:center; display:flex; flex-direction:column; align-items:center; }
.k125o-trust .k125o-badge-ico { font-size:44px; line-height:1; display:block; margin-bottom:14px; }
.k125o-trust .k125o-badge-title { font-family:"Manrope",sans-serif; font-size:15px; font-weight:700; color:var(--k125o-text); display:block; margin-bottom:8px; line-height:1.6; }
.k125o-trust .k125o-badge-cap { font-family:"Manrope",sans-serif; font-size:13px; color:var(--k125o-muted); display:block; line-height:1.6; }
@media (max-width:600px){ .k125o-trust{ padding:40px 20px; } }

/* ---- NEWSLETTER : core/columns — photo+overlay | cream form panel ---- */
.k125o-newsletter { min-height:300px; }
.k125o-newsletter .k125o-nl-img-col { position:relative; overflow:hidden; min-height:300px; padding:0 !important; }
.k125o-newsletter .k125o-nl-img-col img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.k125o-newsletter .k125o-nl-overlay {
	position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align:center;
	background:rgba(245,242,225,.92); padding:28px 32px; border-radius:12px; min-width:200px; }
.k125o-newsletter .k125o-nl-pct { font-size:52px; font-weight:800; color:var(--k125o-green); line-height:1; }
.k125o-newsletter .k125o-nl-off { font-size:28px; font-weight:800; color:var(--k125o-green); }
.k125o-newsletter .k125o-nl-note { font-size:13px; color:var(--k125o-muted); margin-top:6px; }
.k125o-newsletter .k125o-nl-form-col { background:var(--k125o-cream); padding:56px 60px !important; display:flex; flex-direction:column; justify-content:center; }
.k125o-newsletter .k125o-nl-title { font-family:"Plus Jakarta Sans",sans-serif; font-size:28px; font-weight:700; margin:0 0 12px; line-height:1.3; color:var(--k125o-text); }
.k125o-newsletter .k125o-nl-sub { font-size:14px; color:var(--k125o-muted); margin:0 0 24px; }
.k125o-newsletter .k125o-nl-input { box-sizing:border-box; width:100%; border:1.5px solid #ddd; border-radius:8px;
	padding:12px 16px; font-family:inherit; font-size:14px; color:#555; outline:none; margin-bottom:12px; background:#fff; }
.k125o-newsletter .k125o-nl-btn .wp-block-button__link,
.k125o-newsletter .k125o-nl-btn.wp-block-button .wp-block-button__link {
	width:100%; background:var(--k125o-green); color:#fff; border:none; border-radius:8px; padding:14px;
	font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.k125o-newsletter .k125o-nl-btn .wp-block-button__link:hover { background:var(--k125o-green-dark); }
@media (max-width:900px){ .k125o-newsletter .k125o-nl-form-col{ padding:40px 24px !important; } }

/* ---- BEAUTY BAND : core/columns — text+CTA | model photo ----
 * The photo is site media, not a theme asset: no absolute host in theme CSS (a bundle restore rewrites the
 * DB only). functions.php sets --k125o-beauty-bg from the site's uploads when that file exists. */
.k125o-beauty { background-color:var(--k125o-cream); background-image:var(--k125o-beauty-bg, none); background-size:cover; background-position:left center; background-repeat:no-repeat; min-height:420px; }
.k125o-beauty .k125o-beauty-left { padding:72px 60px !important; }
.k125o-beauty .k125o-beauty-title { font-family:"Plus Jakarta Sans",sans-serif; font-size:40px; font-weight:700; line-height:1.2; color:var(--k125o-text); margin:0 0 12px; max-width:460px; }
.k125o-beauty .k125o-beauty-sub { font-size:14px; color:var(--k125o-muted); margin:0 0 28px; }
.k125o-beauty .k125o-btn-green .wp-block-button__link {
	background:var(--k125o-green); color:#fff; font-size:13px; font-weight:700; letter-spacing:.06em;
	text-transform:uppercase; padding:14px 28px; border-radius:8px; }
.k125o-beauty .k125o-btn-green .wp-block-button__link:hover { background:var(--k125o-green-dark); }
.k125o-beauty .k125o-beauty-right { position:relative; overflow:hidden; min-height:320px; padding:0 !important; }
.k125o-beauty .k125o-beauty-right img { width:100%; height:100%; object-fit:cover; object-position:center top; }
@media (max-width:900px){ .k125o-beauty .k125o-beauty-left{ padding:48px 24px !important; } .k125o-beauty .k125o-beauty-title{ font-size:30px; } }
