/* Reference: klima24-sidebar-302.css, final 302/304/305 visual language.
   Opt-in for group 1 only. No layout, font-family, ad or form-control selectors. */
[data-k24-sidebar-design="reference-302"] :is(.k24-quick-widget,.k24-related-widget,.k24-all-guides){border:1px solid #b8dff7;border-radius:17px;background:linear-gradient(155deg,#f3faff,#fff 45%);padding:18px 15px;}
[data-k24-sidebar-design="reference-302"] :is(.k24-quick-widget,.k24-related-widget,.k24-all-guides) h2{font-size:20px;font-weight:800;line-height:1.3;color:#102e52;margin:0 0 6px;}
[data-k24-sidebar-design="reference-302"] :is(.k24-related-widget,.k24-all-guides)>p{font-size:12px;font-weight:500;line-height:1.5;color:#526b83;margin:0 0 13px;}
[data-k24-sidebar-design="reference-302"] :is(.k24-related-links,.k24-all-guides) a{color:#173655;font-size:12px;font-weight:500;line-height:1.5;text-decoration:none;background-image:linear-gradient(#111,#111);background-repeat:no-repeat;background-position:left bottom;background-size:0 1.5px;transition:background-size .28s ease;}
[data-k24-sidebar-design="reference-302"] :is(.k24-related-links,.k24-all-guides) a:is(:hover,:focus-visible,:active){color:#173655;box-shadow:none;filter:none;transform:none;background-size:100% 1.5px;}
@media(max-width:767px){[data-k24-sidebar-design="reference-302"] :is(.k24-quick-widget,.k24-related-widget,.k24-all-guides){padding:15px 12px;}}
@media(prefers-reduced-motion:reduce){[data-k24-sidebar-design="reference-302"] :is(.k24-related-links,.k24-all-guides) a{transition:none;}}

/* Homepage only: existing content panels. Existing offer/calculator modules already
   use the reference visual language. Ads and their ancestors are never selected.
   Preserve padding, margins, typography, images, dimensions and responsive layout. */
[data-k24-sidebar-design="home-reference-302"]{background:linear-gradient(155deg,#f3faff,#fff 45%)!important;border:1px solid #b8dff7!important;border-radius:17px!important;}

/* Explicit comfortable insets, limited to actual opted-in content cards. */
html body [data-k24-sidebar-design="reference-302"] :is(.k24-quick-widget,.k24-related-widget,.k24-all-guides){box-sizing:border-box;padding:20px 18px!important;}
html body [data-k24-sidebar-design="reference-302"] :is(.k24-quick-widget,.k24-related-widget,.k24-all-guides)>:is(h2,p,ul,ol){max-width:100%;}
/* Existing homepage widgets: editorial photographs retain their edge-to-edge frame. */
html body [data-k24-sidebar-design="home-reference-302"]:is(.k24-home-popular-panel,.k24-home-compact-heating,.klima24-featured-widget,.klima24-montaza-sidebar){box-sizing:border-box;padding:20px 18px!important;}
html body [data-k24-sidebar-design="home-reference-302"].k24-v139-editorial .k24-v139-body{padding:20px 18px!important;}
/* The old featured inner panel previously retained its dark legacy skin inside
   the new light wrapper. Reuse the light reference surface and original content. */
html body [data-k24-sidebar-design="home-reference-302"].klima24-featured-widget .klima24-featured-guides{background:transparent!important;box-shadow:none;padding:0!important;color:#173655!important;}
html body [data-k24-sidebar-design="home-reference-302"].klima24-featured-widget .klima24-featured-guides :is(h2,p,li,a){color:#173655!important;}
@media(max-width:767px){html body [data-k24-sidebar-design="reference-302"] :is(.k24-quick-widget,.k24-related-widget,.k24-all-guides),html body [data-k24-sidebar-design="home-reference-302"]:is(.k24-home-popular-panel,.k24-home-compact-heating,.klima24-featured-widget,.klima24-montaza-sidebar),html body [data-k24-sidebar-design="home-reference-302"].k24-v139-editorial .k24-v139-body{padding:18px 16px!important;}}
