/* Editorial models only: advertising containers and their order are unchanged. */
/* Show the public shell inside the protected preview; network ads stay placeholders. */
body.rpnews-private-screen [data-home-preview] { background:#fff; color:#09263c; }
body.rpnews-private-screen [data-home-preview] .site-shell > :is(.site-header,.rp-category-nav,.rp-impact-headline,.rp-breaking,.header-ad-zone,.rp-before-footer,.footer-ad-zone,.rp-newsletter,.rp-footer) { display:block!important; }
.home-layout[data-home-model] :is(.category-card,.latest-feature,.highlights) { min-width:0; }
.home-layout[data-home-model="panorama"] .category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-layout[data-home-model="panorama"] .hero-carousel { background:#fff; color:#09263c; border:1px solid #d7e4ed; }
.home-layout[data-home-model="panorama"] .hero-carousel__image { height:50%; }
.home-layout[data-home-model="panorama"] .hero-carousel__shade { background:none; }
.home-layout[data-home-model="panorama"] .hero-carousel__copy { top:52%; bottom:125px; }
.home-layout[data-home-model="panorama"] .hero-carousel__copy h1 { font-size:clamp(23px,2vw,31px); line-height:1.12; text-shadow:none; }
.home-layout[data-home-model="panorama"] .hero-carousel__copy :is(p,span) { color:#546a7c; }
.home-layout[data-home-model="panorama"] .hero-carousel__copy p { margin:8px 0; font-size:14px; line-height:20px; }
.home-layout[data-home-model="panorama"] .hero-carousel__copy h1 a:hover { color:#0079b9; }
.home-layout[data-home-model="panorama"] .highlights { padding:20px; border:1px solid #dbe6ef; border-radius:10px; background:#f6f9fc; }
.home-layout[data-home-model="revista"] .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.home-layout[data-home-model="revista"] .category-card { display:grid; grid-template-columns:42% minmax(0,1fr); grid-template-rows:auto 1fr; border-radius:12px; box-shadow:0 5px 18px #12304b0b; }
.home-layout[data-home-model="revista"] .category-card > h2 { grid-column:1/-1; }
.home-layout[data-home-model="revista"] .category-card__image { height:100%; min-height:185px; aspect-ratio:auto; }
.home-layout[data-home-model="revista"] .category-card__body { padding:18px; }
.home-layout[data-home-model="revista"] .hero-carousel { border-radius:16px; }
.home-layout[data-home-model="revista"] .hero-carousel__copy { padding:18px; left:14px; right:14px; border-left:4px solid #ff572b; background:#071d31db; }
.home-layout[data-home-model="revista"] .highlights > a { padding:13px 10px; margin-bottom:8px; border:1px solid #e0e8ef; border-radius:8px; background:#fff; }
.home-layout[data-home-model="jornal"] :is(.hero-carousel__copy h1,.latest-feature h2,.category-card h3) { font-family:Georgia,"Times New Roman",serif; letter-spacing:-.025em; }
.home-layout[data-home-model="jornal"] .hero-carousel { border-radius:0; border-top:5px solid #007abb; }
.home-layout[data-home-model="jornal"] .hero-carousel__copy h1 { line-height:1.08; }
.home-layout[data-home-model="jornal"] .category-card { border-radius:0; border-width:0 1px 1px; border-color:#cfdbe3; }
.home-layout[data-home-model="jornal"] .category-card h3 { font-size:22px; line-height:1.18; }
.home-layout[data-home-model="jornal"] .highlights { border-top:4px solid #112d43; padding-top:16px; }
.home-layout[data-home-model="jornal"] .section-heading { border-top:2px solid #112d43; padding-top:14px; }
.home-layout[data-home-model="compacto"] .category-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.home-layout[data-home-model="compacto"] .category-card__body { padding:12px; }
.home-layout[data-home-model="compacto"] .category-card h3 { font-size:15px; line-height:1.28; }
.home-layout[data-home-model="compacto"] .category-card p { font-size:12px; }
.home-layout[data-home-model="compacto"] .highlights > a { padding-block:11px; }
.home-layout[data-home-model="compacto"] .hero-carousel__copy h1 { font-size:clamp(26px,2.2vw,36px); line-height:1.1; }
.home-layout:not([data-home-model="portal"]) .hero-carousel__copy h1 { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.home-layout[data-home-model="panorama"] .hero-carousel__copy h1 { -webkit-line-clamp:3; }
.home-layout:not([data-home-model="portal"]) :is(.category-card h3,.category-card p,.hero-carousel__copy p) { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.home-layout:not([data-home-model="portal"]) .hero-carousel__copy p { -webkit-line-clamp:2; }
.home-preview-ad { display:grid; place-items:center; min-height:90px; padding:16px; background:repeating-linear-gradient(135deg,#f2f5f8,#f2f5f8 8px,#fff 8px,#fff 16px); color:#61788a; font:12px/1.4 Arial,sans-serif; text-align:center; }
@media(max-width:1100px){.home-layout[data-home-model="compacto"] .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:800px){.home-layout:is([data-home-model="panorama"],[data-home-model="revista"],[data-home-model="jornal"],[data-home-model="compacto"]) .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.home-layout[data-home-model="revista"] .category-card{display:flex;flex-direction:column}.home-layout[data-home-model="revista"] .category-card__image{min-height:0;height:auto;aspect-ratio:4/3}}
@media(max-width:480px){.home-layout:not([data-home-model="portal"]) .category-grid{grid-template-columns:minmax(0,1fr)}.home-layout[data-home-model="panorama"] .hero-carousel__copy{top:51%;left:16px;right:16px}.home-layout[data-home-model="panorama"] .hero-carousel__copy h1{font-size:23px}}

.home-models-manager { display:grid; gap:20px; }
.home-models-intro,.home-models-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.home-models-intro > strong { flex:none; padding:9px 13px; border-radius:20px; background:#eaf5ff; color:#086bb3; font-size:13px; }
.home-models-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.admin-workspace.admin-workspace .home-model-card { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:10px; min-width:0; max-width:100%; padding:16px; background:#fff; color:#17354b; border:1px solid #d7e4ed; border-radius:12px; white-space:normal; text-align:left; box-shadow:0 2px 7px #16324d08; font:inherit; cursor:pointer; }
.admin-workspace.admin-workspace .home-model-card:hover { border-color:#7eb5e8; }
.admin-workspace.admin-workspace .home-model-card[aria-pressed=true] { border-color:#087ee1; box-shadow:0 0 0 2px #087ee133; }
.home-model-card svg { display:block; width:100%; height:auto; border:1px solid #e4ebf1; border-radius:7px; }
.home-model-card > strong { font-size:21px; }
.home-model-card > span:not(.home-model-card__number) { flex:1; color:#60788a; font-size:13px; font-weight:400; line-height:1.55; }
.home-model-card__number { font-size:10px; letter-spacing:.1em; color:#0879ba; }
.home-model-card > b { color:#0877bd; font-size:12px; }
.home-models-actions > div { flex:1; min-width:240px; }
.home-model-preview > header { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:18px; }
.home-model-preview [role=group] { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.home-model-preview [role=group] a { padding:8px 12px; font-size:13px; }
.home-model-device { display:inline-flex; justify-content:center; align-items:center; min-height:40px; padding:9px 14px; border:1px solid transparent; border-radius:7px; background:#126ad6; color:#fff; font:550 13px/1.5 Inter,Arial,sans-serif; cursor:pointer; }
.admin-workspace.admin-workspace .home-model-preview button[aria-pressed=false] { background:#edf4fb; color:#21608f; border-color:#c8dcec; }
.home-model-preview__viewport { width:100%; overflow:auto; border:1px solid #dce6ee; border-radius:10px; background:#eaf0f6; }
.home-model-preview__viewport iframe { display:block; width:100%; height:780px; border:0; background:#fff; margin:0 auto; }
.home-model-preview__viewport.is-mobile iframe { width:390px; max-width:100%; }
@media(min-width:1700px){.home-models-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){.home-models-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.home-models-grid{grid-template-columns:minmax(0,1fr)}.home-models-actions>button{width:100%}}
