/* RENNiS STEP019. Scoped to the new front-page template; header styles stay untouched. */
body.home.rennis-header-v018{background:#e1e5e8}
body.home.rennis-header-v018 #main{padding-top:0}
.rn-home{background:var(--rn-gray);width:100%;padding:0 24px 32px;max-width:1440px;margin:0 auto}
.rn-home-layout{display:grid;grid-template-columns:288px minmax(0,1fr);grid-template-areas:"catalog hero" "catalog promos";gap:16px;align-items:stretch}
.rn-home-catalog{grid-area:catalog;background:var(--rn-graphite);color:#fff;border-radius:0 0 7px 7px;padding:8px 18px 16px;display:flex;flex-direction:column;min-width:0}
.rn-home-catalog .rn-category-links a{min-height:42px;font-size:14px;line-height:20px}
.rn-home-catalog .rn-category-links a:hover{color:#ffbc24}
.rn-home-catalog .rn-catalog-empty{font-size:14px;line-height:22px;color:#e1e5e8;padding:18px 0}
.rn-home-all{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:500;padding:16px 0;color:#ffbc24!important;border-top:1px solid #ffffff28}
.rn-hero{grid-area:hero;position:relative;isolation:isolate;overflow:hidden;border-radius:10px;min-height:436px;background:linear-gradient(90deg,#fff7ee,#f1f2f3);container-type:inline-size}
.rn-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:url('diagonals.svg') left top / 100% 100% no-repeat;pointer-events:none}
.rn-hero-art{position:absolute;right:0;top:0;width:49.6324%;height:100%;z-index:-1;overflow:hidden}
.rn-hero-art img{display:block;width:100%;height:100%;max-width:none;border:0;border-radius:0;object-fit:fill;margin:0}
.rn-hero-art picture{display:block;width:100%;height:100%}
.rn-hero-art::after{content:"";position:absolute;top:0;bottom:0;left:-26px;width:130px;background:linear-gradient(90deg,#fff4e9 0%,#fff4e9 48%,transparent 100%);pointer-events:none}
.rn-hero-copy{position:relative;z-index:1;width:53%;min-width:0;padding:34px 0 42px 32px}
.rn-home .rn-hero h1{font-family:"Roboto Condensed",Roboto,Arial,sans-serif;font-weight:700;letter-spacing:0;line-height:1.07;font-size:clamp(44px,5.88cqw,64px);margin:0 0 17px;color:var(--rn-ink)}
.rn-hero h1 span{display:block;white-space:nowrap}
.rn-hero h1 span+span{color:var(--rn-orange);font-size:.96875em;margin-top:2px}
.rn-home .rn-hero-subtitle{font-size:clamp(16px,2.02cqw,22px);font-weight:500;line-height:1.28;margin:0}
.rn-hero-benefits{display:flex;gap:24px;margin-top:23px;max-width:470px}
.rn-hero-benefits>div{display:flex;align-items:center;gap:13px;flex:1;min-width:0;font-size:14px;line-height:19px;font-weight:500}
.rn-hero-benefits img{display:block;flex:0 0 31px;width:31px;height:31px;margin:0;border:0}
.rn-home .rn-home-primary{display:flex;align-items:center;justify-content:center;gap:12px;width:328px;max-width:100%;min-height:56px;padding:12px 18px;margin-top:39px;border-radius:7px;background:var(--rn-orange);color:#fff;font-size:16px;font-weight:500;line-height:22px;border:0}
.rn-home .rn-home-primary:hover{background:#e75500;color:#fff}
.rn-home-primary>.rn-icon,.rn-home-secondary>.rn-icon{width:22px;height:22px}
.rn-home-promos{grid-area:promos;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.rn-promo{position:relative;min-width:0;height:198px;border-radius:8px;overflow:hidden;background:linear-gradient(90deg,#f5f6f7,#fde3c5);container-type:inline-size;padding:16px 18px}
.rn-home .rn-promo h2{position:relative;z-index:1;font-family:"Roboto Condensed",Roboto,Arial,sans-serif;font-weight:700;font-size:clamp(22px,7.33cqw,26px);line-height:1.08;letter-spacing:0;margin:0;color:var(--rn-ink)}
.rn-home .rn-promo-engine h2{font-size:clamp(18px,6.2cqw,22px);line-height:1.14}
.rn-promo-art{position:absolute;right:0;bottom:0;width:min(43cqw,152px);height:min(43cqw,152px);max-width:none;object-fit:fill;display:block;margin:0;border:0;border-radius:0}
.rn-promo-engine .rn-promo-art{height:auto;aspect-ratio:126/95}
.rn-home .rn-promo-description{position:absolute;top:86px;left:18px;max-width:calc(57% - 25px);font-size:15px;line-height:20px;margin:0;color:var(--rn-ink)}
.rn-home .rn-home-secondary{position:absolute;left:18px;bottom:16px;z-index:1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:36px;padding:7px 14px;background:#ffbc24;color:var(--rn-ink);font-size:16px;line-height:22px;font-weight:500;border-radius:7px;white-space:nowrap}
.rn-home .rn-home-secondary:hover{background:#ffca52;color:var(--rn-ink)}
@media(min-width:1200px) and (max-width:1399px){.rn-home-layout{grid-template-columns:260px minmax(0,1fr)}.rn-hero-copy{padding-left:26px;width:54%}.rn-hero-benefits{gap:12px}.rn-hero-benefits>div{gap:8px;font-size:13px}.rn-home .rn-home-primary{width:292px}.rn-home .rn-promo-description{font-size:14px}}
@media(max-width:1199px){
 .rn-home{padding:8px 12px 28px;max-width:600px}
 .rn-home-layout{display:flex;flex-direction:column;gap:20px}
 .rn-home-catalog{display:none}
 .rn-hero{min-height:0;background:#fff5ed;border-radius:9px}
 .rn-hero::before{display:none}
 .rn-hero-art{position:relative;width:100%;height:auto;aspect-ratio:552/348;z-index:auto}
 .rn-hero-art::after{display:none}
 .rn-hero-copy{width:100%;padding:10px 22px 24px}
 .rn-home .rn-hero h1{font-size:clamp(30px,9.23vw,36px);line-height:39px;margin:0 0 8px}
 .rn-hero h1 span+span{font-size:1em;margin:0}
 .rn-home .rn-hero-subtitle{font-size:16px;line-height:21px}
 .rn-hero-benefits{display:none}
 .rn-home .rn-home-primary{margin-top:14px;min-height:47px;width:100%;padding:12px 10px}
 .rn-home-promos{grid-template-columns:minmax(0,1fr);gap:12px;margin:0 4px}
 .rn-promo{height:152px;padding:13px 16px}
 .rn-home .rn-promo h2{font-size:26px;line-height:28px}
 .rn-home .rn-promo-engine h2{font-size:clamp(19px,6.15cqw,22px);line-height:25px}
 .rn-promo-art{width:139px;height:139px;bottom:-7px}
 .rn-promo-engine .rn-promo-art{height:auto;aspect-ratio:126/95;bottom:0}
 .rn-home .rn-promo-description{display:none}
 .rn-home .rn-home-secondary{left:16px;bottom:12px;min-height:36px;min-width:143px}
}
@media(max-width:359px){.rn-hero-copy{padding-left:18px;padding-right:18px}.rn-home .rn-hero h1{font-size:30px;line-height:34px}.rn-home .rn-hero-subtitle{font-size:14px;line-height:20px}.rn-promo-art{width:120px;height:120px;bottom:0}.rn-home .rn-promo h2{font-size:24px;line-height:26px}.rn-home .rn-promo-engine h2{font-size:19px;line-height:22px}.rn-home .rn-home-secondary{min-width:128px;font-size:15px;gap:8px}}
