/*
Theme Name: Revista Lisboa PT — 10 Demos
Theme URI: https://example.com/revista-lisboa-pt
Author: Revista Lisboa PT
Author URI: https://example.com
Description: Tema WordPress de notícias moderno, responsivo, com espaços publicitários configuráveis, modo escuro e notícias relacionadas.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: revista-lisboa-pt
Tags: news, blog, custom-logo, custom-menu, featured-images, footer-widgets, two-columns, translation-ready
*/
:root{--rlpt-bg:#f5f6f8;--rlpt-card:#fff;--rlpt-text:#20242b;--rlpt-muted:#687080;--rlpt-line:#e5e7eb;--rlpt-accent:#c8102e;--rlpt-header:#fff;--rlpt-shadow:0 8px 28px rgba(20,25,35,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--rlpt-bg);color:var(--rlpt-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.7}body.dark-mode{--rlpt-bg:#111318;--rlpt-card:#1b1e25;--rlpt-text:#eef0f4;--rlpt-muted:#a5adba;--rlpt-line:#303540;--rlpt-header:#171a20;--rlpt-shadow:0 8px 28px rgba(0,0,0,.18)}a{color:inherit;text-decoration:none}a:hover{color:var(--rlpt-accent)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.site-header{background:var(--rlpt-header);border-bottom:1px solid var(--rlpt-line)}.topbar{background:#191d25;color:#fff;font-size:12px}.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}.topbar-inner,.header-main,.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar-inner{min-height:34px}.header-main{padding:22px 0}.site-branding{display:flex;align-items:center;gap:12px;min-width:0}.custom-logo{max-height:64px;width:auto}.site-title{font-size:clamp(24px,3vw,36px);font-weight:900;line-height:1.1;letter-spacing:-1.2px;margin:0}.site-title a{color:var(--rlpt-text)}.site-description{margin:5px 0 0;color:var(--rlpt-muted);font-size:13px}.header-actions{display:flex;align-items:center;gap:10px}.icon-button,.menu-toggle{border:1px solid var(--rlpt-line);background:var(--rlpt-card);color:var(--rlpt-text);border-radius:10px;padding:9px 12px;cursor:pointer}.primary-nav{background:var(--rlpt-card);border-top:1px solid var(--rlpt-line)}.nav-inner{min-height:48px}.main-menu{display:flex;gap:0;list-style:none;margin:0;padding:0;flex-wrap:wrap}.main-menu li a{display:block;padding:12px 14px;font-weight:700;font-size:13px}.main-menu li.current-menu-item>a,.main-menu li a:hover{color:var(--rlpt-accent)}.menu-toggle{display:none}.breaking{background:var(--rlpt-accent);color:#fff;padding:8px 12px;font-size:12px;font-weight:800;text-transform:uppercase;white-space:nowrap}.ad-slot{margin:22px auto;text-align:center;min-height:0;overflow:hidden}.ad-slot:empty{display:none}.ad-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--rlpt-muted);margin-bottom:5px}.ad-slot img,.ad-slot iframe{max-width:100%}.main-content{padding:26px 0 46px}.section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--rlpt-text);margin:0 0 18px}.section-heading h2,.section-heading h1{font-size:20px;margin:0;padding:0 0 9px;font-weight:900;letter-spacing:-.4px}.section-heading h2:before,.section-heading h1:before{content:"";display:inline-block;width:5px;height:20px;background:var(--rlpt-accent);margin-right:9px;vertical-align:-4px}.hero-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:18px;margin-bottom:30px}.hero-main,.hero-small,.post-card,.content-panel,.sidebar-widget{background:var(--rlpt-card);border:1px solid var(--rlpt-line);border-radius:14px;overflow:hidden;box-shadow:var(--rlpt-shadow)}.hero-main{position:relative;min-height:390px}.hero-main .post-thumb{height:100%;min-height:390px}.hero-main .post-thumb img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hero-main:after{content:"";position:absolute;inset:20% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.86));pointer-events:none}.hero-main .hero-copy{position:absolute;z-index:1;bottom:0;left:0;right:0;padding:26px;color:#fff}.hero-copy .entry-title{font-size:clamp(23px,3vw,34px);line-height:1.2;margin:8px 0}.hero-copy .entry-meta{color:#e8e8e8}.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:18px}.hero-small{display:grid;grid-template-columns:42% 1fr;min-height:0}.hero-small .post-thumb img{width:100%;height:100%;object-fit:cover}.hero-small .post-thumb{min-height:170px}.hero-small .hero-small-copy{padding:15px}.hero-small .entry-title{font-size:17px;line-height:1.35;margin:7px 0}.category-label{display:inline-block;color:var(--rlpt-accent);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.6px}.entry-meta{font-size:12px;color:var(--rlpt-muted);display:flex;gap:10px;flex-wrap:wrap}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card .post-thumb img{width:100%;aspect-ratio:16/10;object-fit:cover}.post-card .post-card-content{padding:15px}.post-card .entry-title{font-size:17px;line-height:1.35;margin:7px 0 9px;font-weight:850}.post-excerpt{font-size:13px;color:var(--rlpt-muted);margin:0}.sidebar{display:grid;gap:20px}.sidebar-widget{padding:18px}.sidebar-widget h2{font-size:16px;margin:0 0 12px;padding-bottom:9px;border-bottom:2px solid var(--rlpt-accent)}.sidebar-widget ul{padding-left:18px;margin:0}.sidebar-widget li{margin:8px 0}.content-panel{padding:clamp(20px,4vw,42px)}.single-header{max-width:850px;margin:0 auto 24px}.single-title{font-size:clamp(30px,5vw,48px);line-height:1.13;letter-spacing:-1.2px;margin:10px 0 14px;font-weight:950}.single-featured{margin:0 0 24px}.single-featured img{width:100%;max-height:560px;object-fit:cover;border-radius:12px}.entry-content{font-size:18px;line-height:1.85;overflow-wrap:anywhere}.entry-content h2,.entry-content h3{line-height:1.3;margin-top:1.7em}.entry-content img{border-radius:8px}.entry-content a{color:var(--rlpt-accent);text-decoration:underline}.entry-content blockquote{border-left:4px solid var(--rlpt-accent);margin:24px 0;padding:12px 20px;background:var(--rlpt-bg)}.entry-content iframe{max-width:100%}.post-tags{margin:22px 0}.post-tags a{display:inline-block;border:1px solid var(--rlpt-line);border-radius:30px;padding:4px 10px;margin:3px;font-size:12px}.related-posts{margin-top:38px}.related-posts h2{font-size:22px}.pagination,.nav-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.page-numbers{padding:8px 12px;border:1px solid var(--rlpt-line);border-radius:8px;background:var(--rlpt-card)}.page-numbers.current{background:var(--rlpt-accent);color:white}.site-footer{background:#191d25;color:#d9dce2;padding:36px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px}.footer-title{color:#fff;font-size:18px}.footer-bottom{border-top:1px solid #343943;margin-top:26px;padding-top:16px;font-size:12px;color:#a5adba}.search-form{display:flex;gap:6px}.search-form input{width:100%;min-width:0;padding:10px;border:1px solid var(--rlpt-line);border-radius:8px;background:var(--rlpt-card);color:var(--rlpt-text)}.search-form button{padding:10px 13px;background:var(--rlpt-accent);color:#fff;border:0;border-radius:8px;cursor:pointer}.empty-state{text-align:center;padding:40px 20px;background:var(--rlpt-card);border-radius:12px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto;width:auto;height:auto;margin:0;overflow:visible;background:#fff;color:#000;padding:10px;z-index:99999}.wp-block-image img{height:auto}.wp-caption{max-width:100%}.alignwide{max-width:1100px;margin-inline:auto}.alignfull{width:100%;margin-inline:0}
@media(max-width:900px){.content-layout{grid-template-columns:minmax(0,1fr) 260px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{grid-template-columns:1fr}.hero-main{min-height:360px}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}.hero-small{grid-template-columns:1fr}.hero-small .post-thumb img{aspect-ratio:16/9;height:auto}.hero-small .post-thumb{min-height:0}.hero-small .hero-small-copy{padding:13px}.hero-small .entry-title{font-size:15px}}
@media(max-width:680px){.container{width:min(100% - 22px,1180px)}.header-main{padding:15px 0}.custom-logo{max-height:48px}.site-description{display:none}.header-actions .search-link{display:none}.nav-inner{display:block;padding:8px 0}.nav-topline{display:flex;justify-content:space-between;align-items:center}.menu-toggle{display:block}.main-menu{display:none;flex-direction:column;padding:8px 0}.primary-nav.is-open .main-menu{display:flex}.main-menu li a{padding:10px 5px;border-bottom:1px solid var(--rlpt-line)}.breaking{font-size:10px}.main-content{padding-top:16px}.hero-grid{gap:12px}.hero-main,.hero-main .post-thumb{min-height:320px}.hero-main .hero-copy{padding:18px}.hero-side{gap:12px}.hero-small{grid-template-columns:38% 1fr}.hero-small .post-thumb img{height:100%;aspect-ratio:auto;min-height:145px}.hero-small .hero-small-copy{padding:10px}.hero-small .entry-title{font-size:14px}.hero-small .entry-meta{font-size:10px}.post-grid{gap:11px}.post-card .post-card-content{padding:10px}.post-card .entry-title{font-size:14px}.post-excerpt{display:none}.content-layout{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.single-title{font-size:31px}.entry-content{font-size:17px}.footer-grid{grid-template-columns:1fr}.ad-slot{margin:14px auto}.content-panel{padding:18px}.topbar-inner{min-height:30px}.topbar .topbar-extra{display:none}}

/* Portal homepage refinements */
.home-section{margin:0 0 34px}.section-heading>a{font-size:12px;font-weight:750;color:var(--rlpt-accent);padding-bottom:9px}.rlpt-home-layout{margin-top:8px}.rlpt-home-main{min-width:0}.rlpt-placeholder{height:100%;min-height:160px;background:linear-gradient(135deg,#dfe3e8,#f5f6f8)}.hero-main .rlpt-placeholder{min-height:390px}.hero-small .rlpt-placeholder{height:100%;min-height:150px}.popular-list{display:grid;gap:12px}.popular-item{display:grid;grid-template-columns:32px 92px minmax(0,1fr);gap:13px;align-items:center;padding:12px;background:var(--rlpt-card);border:1px solid var(--rlpt-line);border-radius:12px}.popular-rank{font-size:23px;font-weight:950;color:var(--rlpt-accent);text-align:center}.popular-thumb img{width:92px;height:70px;object-fit:cover;border-radius:8px}.popular-item h3{font-size:16px;line-height:1.35;margin:3px 0 5px}.popular-item .entry-meta{font-size:11px}.single .content-layout{grid-template-columns:minmax(0,1fr) 300px}.single .content-panel{min-width:0}.single-featured img{width:100%;max-height:620px;object-fit:cover}.entry-content>*{max-width:100%}
@media(max-width:900px){.single .content-layout{grid-template-columns:1fr}.rlpt-home-layout{grid-template-columns:1fr}.rlpt-home-layout .sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.popular-item{grid-template-columns:24px 78px minmax(0,1fr);gap:9px;padding:9px}.popular-thumb img{width:78px;height:62px}.popular-item h3{font-size:14px}.rlpt-home-layout .sidebar{grid-template-columns:1fr}.hero-main .rlpt-placeholder{min-height:320px}}

/* v1.2.0 admin dashboard and performance/SEO refinements */
.rlpt-admin-wrap{max-width:1200px}.rlpt-admin-hero{background:#20242b;color:#fff;padding:26px 30px;border-radius:12px;margin:18px 0}.rlpt-admin-hero h1{color:#fff;margin:0 0 8px}.rlpt-admin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:18px 0}.rlpt-admin-card{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:18px}.rlpt-admin-card h2{margin-top:0}.rlpt-admin-card p{color:#50575e}.rlpt-admin-section{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:20px;margin:18px 0}.rlpt-admin-section label{font-weight:600}.rlpt-admin-section input[type=text],.rlpt-admin-section input[type=url],.rlpt-admin-section textarea,.rlpt-admin-section select{width:100%;max-width:800px}.rlpt-admin-section textarea{min-height:100px}

.rlpt-reading-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--rlpt-accent,#d6002a);z-index:99999;transition:width .08s linear}


/* 10 homepage demos */
.rlpt-demo-home{padding:22px 0}.rlpt-demo-heading{padding:8px 0 18px;margin-bottom:22px;border-bottom:2px solid #e5e7eb}.rlpt-demo-heading>span{font-size:11px;font-weight:800;letter-spacing:.15em;color:#c62828}.rlpt-demo-heading h1{font-size:clamp(26px,3vw,38px);margin:8px 0}.rlpt-demo-heading p{margin:0;color:#64748b}
.rlpt-feature-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:20px}.rlpt-demo-card{background:#fff;border:1px solid #e5e7eb;border-radius:7px;overflow:hidden;min-width:0;margin-bottom:14px}.rlpt-demo-img{display:block;aspect-ratio:16/9;background:#edf0f4;overflow:hidden}.rlpt-demo-img img{width:100%;height:100%;object-fit:cover;display:block}.rlpt-demo-img span{display:block;height:100px;background:linear-gradient(135deg,#e2e8f0,#cbd5e1)}.rlpt-demo-copy{padding:12px 14px}.rlpt-demo-copy small{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#c62828}.rlpt-demo-copy h2{font-size:18px;line-height:1.3;margin:6px 0}.rlpt-demo-copy h2 a{color:inherit;text-decoration:none}.rlpt-demo-copy time{font-size:11px;color:#778195}.rlpt-demo-copy p{font-size:13px;line-height:1.6;color:#64748b}.rlpt-demo-card.featured h2{font-size:clamp(25px,3vw,38px);line-height:1.12}.rlpt-feature-layout aside .small{display:grid;grid-template-columns:40% 1fr}.rlpt-feature-layout aside .small .rlpt-demo-img{height:100%;aspect-ratio:auto;min-height:90px}.rlpt-feature-layout aside .small .rlpt-demo-copy{padding:8px}.rlpt-feature-layout aside .small h2{font-size:14px}.rlpt-demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.rlpt-demo-grid .rlpt-demo-card h2{font-size:16px}.rlpt-demo-section{margin-top:28px}.rlpt-demo-section>h2,.rlpt-feature-layout aside>h2{font-size:22px;border-bottom:2px solid #c62828;padding-bottom:10px}.rlpt-demo-home.demo-2 .rlpt-demo-card{border:0;box-shadow:0 4px 16px #0f172a12}.rlpt-demo-home.demo-2 .modern .featured{grid-column:span 2;grid-row:span 2}.rlpt-demo-home.demo-2 .modern .featured h2{font-size:30px}.rlpt-breaking{background:#171923;color:white;padding:13px;margin-bottom:18px;display:flex;gap:12px}.rlpt-breaking b{background:#e11d48;padding:5px 8px}.rlpt-demo-home.demo-3 .rlpt-demo-card{border-radius:2px}.rlpt-demo-card.list{display:grid;grid-template-columns:115px 1fr;border:0;border-bottom:1px solid #e5e7eb;border-radius:0;gap:12px;padding-bottom:12px}.rlpt-demo-card.list .rlpt-demo-img{aspect-ratio:4/3}.rlpt-demo-card.list .rlpt-demo-copy{padding:0}.rlpt-demo-card.list h2{font-size:15px}.premium{max-width:980px;margin:auto}.demo-4 .rlpt-demo-heading{text-align:center;border:0}.demo-4 .premium .rlpt-demo-card{border:0;text-align:center}.demo-4 .premium .rlpt-demo-img{aspect-ratio:2/1}.demo-4 .premium h2{font:clamp(28px,4vw,46px) Georgia,serif}.rlpt-demo-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.trend{background:#f5f6f8;padding:16px;border-radius:8px}.trend p{border-bottom:1px solid #ddd;padding:8px 0}.trend b{font-size:22px;color:#c62828;margin-right:8px}.trend a{color:inherit;text-decoration:none;font-weight:700}.ad-placeholder{border:1px dashed #b7bfca;background:#f8fafc;text-align:center;color:#7b8492;padding:20px;margin:10px 0 18px;font-size:12px}.compact .rlpt-demo-copy{padding:8px}.compact .rlpt-demo-copy h2{font-size:14px}.entertainment{grid-template-columns:repeat(4,minmax(0,1fr))}.demo-7 .rlpt-demo-img{aspect-ratio:3/4}.demo-7 .rlpt-demo-card{border:0;box-shadow:0 3px 16px #0f172a12}.sports-banner{background:#13243b;color:white;padding:26px;border-radius:7px;margin-bottom:20px;font-size:11px;letter-spacing:.1em}.sports-banner h2{font-size:28px;letter-spacing:0;margin-bottom:0}.demo-9 .rlpt-demo-heading{border:0}.minimal{max-width:900px;margin:auto}.minimal .list{grid-template-columns:190px 1fr;margin-bottom:18px;padding-bottom:18px}.minimal .list h2{font-size:22px}.portal{margin-top:28px}.ad-placeholder,.sports-banner{box-sizing:border-box}
@media(max-width:800px){.rlpt-feature-layout{grid-template-columns:1fr}.rlpt-demo-grid,.entertainment{grid-template-columns:repeat(2,minmax(0,1fr))}.rlpt-demo-home.demo-2 .modern .featured{grid-column:span 2}.rlpt-feature-layout aside .small{display:block}.rlpt-feature-layout aside .small .rlpt-demo-img{aspect-ratio:16/9}.minimal .list{grid-template-columns:120px 1fr}}
@media(max-width:520px){.rlpt-demo-grid,.rlpt-demo-grid.two,.entertainment{grid-template-columns:1fr}.rlpt-demo-home.demo-2 .modern .featured{grid-column:auto}.rlpt-feature-layout aside .small{display:grid;grid-template-columns:38% 1fr}.rlpt-feature-layout aside .small .rlpt-demo-img{aspect-ratio:auto}.minimal .list{grid-template-columns:105px 1fr}.minimal .list h2{font-size:17px}.rlpt-demo-heading h1{font-size:27px}}
