/* REALKETO production 30Nov2026 — owner-approved DEV visual package (symmetry, panels, typography, hero).
   One rail for archive/landing content blocks.
   Desktop: the 1170px site rail, centred. ≤1024px: full-bleed box with one viewport gutter —
   30px on tablet, the native search-bar gutter on phones. Heroes keep their approved width. */
:root{--rk-rail-gutter:30px;}
@media(max-width:640px){:root{--rk-rail-gutter:calc(18px + (100vw - 36px) * .019936);}}
html body #main .fusion-fullwidth.fusion-fullwidth:is(.rk-recipe-landing,.rk-recipes-index-shell,.rk-trust-strip,.rk-bottom-navigation,.rk-article-category-introduction,.rk-article-category-navigation,.rk-shop-landing,.rk-products-trust-shell){
 box-sizing:border-box!important;width:100%!important;max-width:var(--site_width,1170px)!important;
 margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;}
html body #main .fusion-fullwidth.fusion-fullwidth:is(.rk-recipe-landing,.rk-recipes-index-shell,.rk-trust-strip,.rk-bottom-navigation,.rk-article-category-introduction,.rk-article-category-navigation,.rk-shop-landing,.rk-products-trust-shell)>.fusion-row{
 width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;}
@media(max-width:1024px){
html body #main#main .fusion-fullwidth.fusion-fullwidth:is(.rk-recipe-landing,.rk-recipes-index-shell,.rk-trust-strip,.rk-bottom-navigation,.rk-article-category-introduction,.rk-article-category-navigation,.rk-shop-landing,.rk-products-trust-shell){
 width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;
 padding-left:var(--rk-rail-gutter)!important;padding-right:var(--rk-rail-gutter)!important;}
}
/* One vertical rhythm: 24px between consecutive rail blocks, after a hero and before the footer. */
html body #main .fusion-fullwidth.fusion-fullwidth:is(.rk-recipe-landing,.rk-recipes-index-shell,.rk-trust-strip,.rk-bottom-navigation,.rk-article-category-introduction,.rk-article-category-navigation,.rk-shop-landing,.rk-products-trust-shell){
 margin-top:0!important;margin-bottom:24px!important;padding-top:0!important;padding-bottom:0!important;}
html body #main .fusion-fullwidth.fusion-fullwidth:is(.rk-recipe-landing-hero,.rk-health-archive-hero,.rk-section-preserved-hero):not(.rk-three-offer-hero){margin-bottom:24px!important;}
/* Full-width (1/1) columns inside a rail block span the rail; Avada's column spacing would inset them. */
html body #main .fusion-fullwidth.fusion-fullwidth:is(.rk-recipe-landing,.rk-recipes-index-shell,.rk-article-category-introduction,.rk-article-category-navigation,.rk-shop-landing,.rk-products-trust-shell)>.fusion-row>.fusion_builder_column_1_1>.fusion-column-wrapper{margin-left:0!important;margin-right:0!important;}
/* First block directly under the header (no hero) keeps the approved 40px top space. */
html body #main .post-content>.fusion-fullwidth.fusion-fullwidth.rk-recipe-landing:first-child{padding-top:40px!important;}
/* The last rail block hands over to the footer's own 24px top spacing. */
html body #main .fusion-fullwidth.fusion-fullwidth.rk-bottom-navigation:not(:has(~ .fusion-fullwidth)){margin-bottom:0!important;}
html body #main .rk-article-category-introduction .fusion-builder-row :is(.fusion-text,.fusion-title):last-child{margin-bottom:0!important;}
html body #main .rk-article-category-introduction .fusion-builder-row .fusion-title:first-child{margin-top:0!important;}
@media(max-width:640px){html body #main .post-content>.fusion-fullwidth.fusion-fullwidth.rk-recipe-landing:first-child{padding-top:8px!important;}}
/* Shared footer box follows the same phone gutter as the content rail and the search bar. */
@media(max-width:640px){html body .fusion-tb-footer .fusion-fullwidth.rk-scoped-footer{width:auto!important;margin-left:var(--rk-rail-gutter)!important;margin-right:var(--rk-rail-gutter)!important;}}
@media(min-width:768px) and (max-width:1024px){html body #main .post-content>.fusion-fullwidth.fusion-fullwidth.rk-recipe-landing:first-child{padding-top:26px!important;}}
/* Articles: same phone gutter and the same 24px rhythm between their sections. */
@media(max-width:640px){html body.rk-article-template.rk-section-layout #main#main{padding-left:var(--rk-rail-gutter)!important;padding-right:var(--rk-rail-gutter)!important;}}
html body.rk-article-template #main .fusion-fullwidth.fusion-fullwidth:is(.rk-article-section,.rk-article-home-hero){margin-top:0!important;margin-bottom:24px!important;}
html body.rk-article-template #main .fusion-fullwidth.rk-article-section{padding-top:0!important;padding-bottom:0!important;}
html body.rk-article-template #main .fusion-fullwidth.rk-article-section>.fusion-row>.fusion-layout-column:first-child>.fusion-column-wrapper>:first-child{margin-top:0!important;}
html body.rk-article-template #main .fusion-fullwidth.rk-article-section>.fusion-row>.fusion-layout-column:last-child>.fusion-column-wrapper>:last-child{margin-bottom:0!important;}
/* Product: on desktop the gallery fills its half, so it starts on the rail like the breadcrumbs above it. */
@media(min-width:1025px){html body #main .rk-product-images .avada-single-product-gallery-wrapper{margin-left:0!important;margin-right:0!important;max-width:100%!important;width:100%!important;}
html body #main .rk-product-images .woocommerce-product-gallery{max-width:100%!important;width:100%!important;}}
/* Health hero: wide like the recipe hero (soft faded edges), 1400px on desktop, full width below. */
@media(min-width:641px){html body #main .post-content>.fusion-fullwidth.fusion-fullwidth.rk-health-archive-hero{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:0!important;padding-right:0!important;}
html body #main .fusion-fullwidth.rk-health-archive-hero>.fusion-row{width:100%!important;max-width:1400px!important;margin-left:auto!important;margin-right:auto!important;}}
@media(min-width:641px) and (max-width:1024px){html body #main .fusion-fullwidth.rk-health-archive-hero>.fusion-row{max-width:100%!important;}}
/* Phone (mobile menu): the "Всички рецепти / Всички статии" panels open up — no frame, no tinted bands. */
@media(max-width:640px){
html body #main .fusion-fullwidth.fusion-fullwidth.rk-recipes-index-shell>.fusion-row{border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;}
html body #main .fusion-fullwidth.rk-recipes-index-shell{overflow:visible!important;}
html body #main .rk-recipes-index-shell :is(.rk-recipes-index-heading,.rk-recipes-index-body){background:transparent!important;--awb-bg-color:transparent!important;}
html body #main .rk-recipes-index-shell :is(.rk-recipes-index-heading,.rk-recipes-index-body)>.fusion-column-wrapper{background:transparent!important;padding-left:0!important;padding-right:0!important;}
html body #main .rk-recipes-index-shell .rk-recipes-index-heading>.fusion-column-wrapper{padding-top:0!important;padding-bottom:16px!important;}
html body #main .rk-recipes-index-shell .rk-recipes-index-body>.fusion-column-wrapper{padding-top:0!important;padding-bottom:0!important;}
}
@media(max-width:640px){html body #main .rk-recipes-index-shell .rk-recipes-index-heading .fusion-title{margin-top:0!important;margin-bottom:0!important;}}
/* Product: 24px from the top block to the information block; breadcrumbs on the tablet rail. */
@media(min-width:641px) and (max-width:1024px){html body.single-product #main .post-content>.fusion-fullwidth:first-child>.fusion-row{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;}
html body.single-product #main .post-content>.fusion-fullwidth:first-child>.fusion-row>.fusion-layout-column:first-child>.fusion-column-wrapper{margin-left:0!important;}
html body.single-product #main .post-content>.fusion-fullwidth:first-child>.fusion-row>.fusion-layout-column:last-child>.fusion-column-wrapper{margin-right:0!important;}}
html body.single-product #main .fusion-fullwidth.fusion-fullwidth.rk-product-information{padding-top:9px!important;} /* 9 + native 15px column offset = 24px below the product top block */
/* Typography hierarchy (owner 30Nov): page title > section title > card title (500/17). */
html body #main :is(.rk-recipe-landing-intro,.rk-article-category-introduction,.rk-shop-landing) h1{font-weight:600!important;}
@media(max-width:640px){html body #main :is(.rk-recipe-landing-intro,.rk-article-category-introduction,.rk-shop-landing) h1{font-size:30px!important;line-height:1.25!important;}}
html body.home #main #content .fusion-title h2.rk-section-heading.fusion-title-heading{font-weight:600!important;}
/* Phone: category tile labels one step larger; tile size unchanged. */
@media(max-width:640px){html body #main :is(.rk-recipe-categories,.rk-article-category-navigation) :is(.rk-recipe-category-label,.rk-recipe-category-name){font-size:14px!important;line-height:17.55px!important;}}
/* Health hero = recipe hero geometry (owner 30Nov): same 1400:439 frame, max 1400px centred, full width below. */
html body #main .fusion-fullwidth.rk-health-archive-hero :is(.fusion-column-wrapper,.fusion-image-element,.fusion-imageframe,picture){min-height:0!important;height:auto!important;}
html body #main .fusion-fullwidth.rk-health-archive-hero .fusion-imageframe{aspect-ratio:auto!important;--awb-aspect-ratio:auto!important;}
html body #main .fusion-fullwidth.rk-health-archive-hero img{display:block!important;width:100%!important;max-width:1400px!important;height:auto!important;aspect-ratio:1400/439!important;object-fit:cover!important;margin-left:auto!important;margin-right:auto!important;}
@media(min-width:1025px){html body #main .fusion-fullwidth.rk-health-archive-hero>.fusion-row{max-width:1400px!important;}}
/* Production: recipe landings do not carry the rk-archive-rail body class; the panel frame is defined here once. */
html body #main .fusion-fullwidth.rk-recipes-index-shell{overflow:hidden;}
@media(min-width:641px){html body #main .fusion-fullwidth.fusion-fullwidth.rk-recipes-index-shell>.fusion-row{overflow:hidden;border:1px solid #C5CBB8;border-radius:16px;background:#FCFBF7;}}
/* Home hero benefits (2x2 on phones): breathing room between the two icon rows (owner 30Nov). */
@media(max-width:640px){html body.home #main .rk-home-hero .fusion-builder-row-inner{row-gap:20px!important;}}
/* Single recipe (owner 30Nov): on phone/tablet the hero, text and promos use the footer/search gutter; desktop unchanged. */
@media(max-width:1024px){html body.single-post #main .post-content>.fusion-fullwidth.fusion-fullwidth:is(.rk-recipe-hero,.rk-recipe-intro,.rk-recipe-body,.rk-recipe-promos-shell){padding-left:var(--rk-rail-gutter)!important;padding-right:var(--rk-rail-gutter)!important;}}
/* Home hero icons (owner 30Nov): equal tracks so icons sit on one vertical line per column and the gaps are even. */
@media(min-width:641px){html body.home #main .rk-home-hero .rk-home-accents{grid-template-columns:repeat(2,100px)!important;justify-content:space-between!important;}
html body.home #main .rk-home-hero .rk-home-accents>.rk-home-accent{width:100px!important;justify-self:center;}
html body.home #main .rk-home-hero .rk-home-accents>.rk-home-accent>.fusion-column-wrapper{width:100%!important;margin-left:0!important;margin-right:0!important;align-items:center!important;text-align:center!important;}}
@media(min-width:1025px){html body.home #main .rk-home-hero .rk-home-accents{grid-template-columns:repeat(4,100px)!important;}}
/* Home "Ключови статии" (owner 30Nov): on phones the photos were tall and narrow — a little wider to the right; text column follows. */
@media(max-width:640px){html body.home #main .rk-home-articles .rk-home-article-composition{grid-template-columns:minmax(0,42fr) minmax(0,58fr)!important;}}
/* Product cards (owner 30Nov): the reserved review slot is as tall as a real rating row (24px), so price and button line up across cards. */
body.rk-owner-colors #main .rk-popular-product-card:is(*) :is(.rk-card-rating,.rk-card-rating-empty){height:24px!important;min-height:24px!important;max-height:24px!important;flex:0 0 24px!important;}
/* Home hero icons on phones (owner 30Nov, 3rd request): each icon + label sits in the exact centre of its half. */
@media(max-width:640px){html body.home #main .rk-home-hero .rk-home-accents{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:0!important;justify-content:stretch!important;}
html body.home #main .rk-home-hero .rk-home-accents>.rk-home-accent{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;justify-self:stretch!important;}
html body.home #main .rk-home-hero .rk-home-accents>.rk-home-accent>.fusion-column-wrapper{width:100%!important;margin:0!important;padding:0!important;left:0!important;transform:none!important;align-items:center!important;text-align:center!important;}}
/* Bottom navigation cards on phones (owner 30Nov): the photo part is taller than the text part again (desktop unchanged). */
@media(max-width:640px){html body #main .rk-bottom-navigation .rk-bottom-photo{height:calc((100vw - 2 * var(--rk-rail-gutter)) * .34)!important;}}
@media(max-width:640px){html body #main .rk-bottom-navigation .rk-bottom-photo img{top:0!important;height:100%!important;object-fit:cover!important;object-position:50% 48%!important;transform:none!important;}}
