/* V17: nine additional layout systems. Original five designs are untouched. */
html[data-theme="atelier"] .rp-header{background:var(--brand-nav)}
html[data-theme="atelier"] .rp-hero{min-height:620px;background:var(--brand-deep)}
html[data-theme="atelier"] .rp-slide-content{border-left:5px solid var(--brand-accent);padding-left:27px;max-width:550px}
html[data-theme="atelier"] .rp-five-cards{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:12px}
html[data-theme="atelier"] .rp-picture-card:first-child{grid-row:span 2}
html[data-theme="monolith"] .rp-header{background:var(--brand-deep)!important;border-bottom:1px solid #ffffff20}
html[data-theme="monolith"] .rp-brand-text,html[data-theme="monolith"] .rp-desktop-nav>a{color:#fff!important}
html[data-theme="monolith"] .rp-hero{min-height:650px;background:#10151b}
html[data-theme="monolith"] .rp-slide-content h1{font-size:clamp(46px,6.1vw,105px)!important;text-transform:uppercase;letter-spacing:-.09em}
html[data-theme="monolith"] .rp-five-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px}
html[data-theme="monolith"] .rp-picture-card{border-radius:0!important}
html[data-theme="cobalt"] .rp-hero{min-height:590px}
html[data-theme="cobalt"] .rp-slide-content{border-left:9px solid var(--brand-accent);padding-left:24px}
html[data-theme="cobalt"] .rp-five-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
html[data-theme="cobalt"] .rp-picture-card:nth-child(2){grid-column:span 2}
html[data-theme="cobalt"] .rp-picture-card{border-radius:3px!important}
html[data-theme="terracotta"] .rp-header{border-bottom:3px solid var(--brand-accent)}
html[data-theme="terracotta"] .rp-hero{min-height:600px}
html[data-theme="terracotta"] .rp-slide-content h1{font-family:Georgia,serif;letter-spacing:-.04em}
html[data-theme="terracotta"] .rp-five-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;max-width:1200px}
html[data-theme="terracotta"] .rp-picture-card{border-radius:24px!important}
html[data-theme="editorial"] .rp-header{box-shadow:none!important}
html[data-theme="editorial"] .rp-hero{min-height:640px}
html[data-theme="editorial"] .rp-slide-content h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-.045em}
html[data-theme="editorial"] .rp-five-cards{display:grid;grid-template-columns:2fr 1fr 1fr;gap:15px}
html[data-theme="editorial"] .rp-picture-card:first-child{grid-row:span 2}
html[data-theme="aurora"] .rp-header{background:var(--brand-deep)!important}
html[data-theme="aurora"] .rp-brand-text,html[data-theme="aurora"] .rp-desktop-nav>a{color:#fff!important}
html[data-theme="aurora"] .rp-hero{min-height:650px;box-shadow:inset 0 -7px 0 var(--brand-accent)}
html[data-theme="aurora"] .rp-hero:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 20% 35%,#af5aff30,transparent 55%)}
html[data-theme="aurora"] .rp-five-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
html[data-theme="aurora"] .rp-picture-card:first-child{grid-column:span 2}
html[data-theme="grid"] .rp-header{border-bottom:3px solid var(--brand-accent)}
html[data-theme="grid"] .rp-hero{min-height:570px}
html[data-theme="grid"] .rp-slide-content{background:#07182d68;padding:22px;border-radius:5px;backdrop-filter:blur(5px)}
html[data-theme="grid"] .rp-five-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
html[data-theme="grid"] .rp-picture-card{grid-column:span 2;border-radius:7px!important}
html[data-theme="grid"] .rp-picture-card:nth-child(-n+2){grid-column:span 3}
html[data-theme="cinema"] .rp-header{background:var(--brand-deep)!important}
html[data-theme="cinema"] .rp-brand-text,html[data-theme="cinema"] .rp-desktop-nav>a{color:#fff!important}
html[data-theme="cinema"] .rp-hero{min-height:700px}
html[data-theme="cinema"] .rp-slide-inner{justify-content:center;text-align:center}
html[data-theme="cinema"] .rp-slide-content{margin:auto;max-width:850px;text-align:center}
html[data-theme="cinema"] .rp-hero-actions{justify-content:center}
html[data-theme="cinema"] .rp-five-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
html[data-theme="industrial"] .rp-header{border-top:4px solid var(--brand-accent)}
html[data-theme="industrial"] .rp-hero{min-height:640px}
html[data-theme="industrial"] .rp-slide-content{border:1px solid #ffffff38;background:#07182d85;padding:25px}
html[data-theme="industrial"] .rp-five-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html[data-theme="industrial"] .rp-picture-card:last-child{grid-column:span 2}
html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .rp-reference-card-row{padding:24px clamp(14px,3vw,50px)}
html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .rp-picture-card{height:230px;min-height:230px;position:relative;display:flex;overflow:hidden}
html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .theme-category-media{position:absolute;inset:0}
html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .theme-category-info{position:absolute;inset:0;background:linear-gradient(90deg,#091628dd,transparent);color:#fff;display:flex;flex-direction:column;justify-content:end;padding:18px}
html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .theme-category-info strong{font-size:20px;color:#fff}
@media(max-width:1024px){html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .rp-five-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .rp-picture-card{grid-column:auto!important;grid-row:auto!important}.rp-slide-content{max-width:90%}}
@media(max-width:630px){html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .rp-five-cards{grid-template-columns:1fr}html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .rp-picture-card{height:190px;min-height:190px}}

html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .rp-picture-card .theme-category-media{display:block;position:absolute;inset:0;min-height:0;height:100%;width:100%}
html:is([data-theme="atelier"],[data-theme="monolith"],[data-theme="cobalt"],[data-theme="terracotta"],[data-theme="editorial"],[data-theme="aurora"],[data-theme="grid"],[data-theme="cinema"],[data-theme="industrial"]) .rp-picture-card .theme-category-info{display:flex;position:absolute;inset:auto 0 0;min-height:120px;background:linear-gradient(transparent,#07182eeb);color:#fff}

/* The new dark treatments retain readable logo, menus and hamburger controls. */
html:is([data-theme="monolith"],[data-theme="aurora"],[data-theme="cinema"]) .rp-header .rp-brand-text,html:is([data-theme="monolith"],[data-theme="aurora"],[data-theme="cinema"]) .rp-header .rp-brand-text strong,html:is([data-theme="monolith"],[data-theme="aurora"],[data-theme="cinema"]) .rp-header .rp-brand-text small,html:is([data-theme="monolith"],[data-theme="aurora"],[data-theme="cinema"]) .rp-header .rp-desktop-nav>a,html:is([data-theme="monolith"],[data-theme="aurora"],[data-theme="cinema"]) .rp-header .rp-dropdown>a{color:#fff!important}
html:is([data-theme="monolith"],[data-theme="aurora"],[data-theme="cinema"]) .rp-header .rp-menu-bars i{background:#fff!important}
