/*
Theme Name: Guia Lar Urbano
Theme URI: https://guialarurbano.com.br
Author: Daniel Augusto
Description: Revista editorial do Guia Lar Urbano, com identidade v2 e posições de anúncio.
Version: 2.0.2
Requires at least: 6.6
Tested up to: 7.1.3
Requires PHP: 8.0
Text Domain: guia-lar-urbano
*/
:root {
  --violet:#4824c8;
  --pink:#ff288a;
  --night:#1d1237;
  --paper:#faf9fd;
  --white:#f7f7fc;
  --muted:#655c78;
  --line:#e7e1ef;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--night)}
img{max-width:100%;height:auto}
a{color:var(--violet);text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--pink);outline-offset:3px}
.skip-link{position:absolute;top:-5rem;left:1rem;z-index:999;background:#fff;padding:.7rem 1rem}
.skip-link:focus{top:1rem}
.site-header{background:var(--night);color:#fff}
.site-header .header-inner{max-width:1280px;min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1rem 1.5rem}
.brand-link{display:block;flex:0 0 auto;width:225px;line-height:0}
.brand-link img{display:block;width:100%;height:auto}
.site-header .main-nav{flex:1;justify-content:flex-end}
.site-header .wp-block-navigation-item__content{color:#fff;font-size:.84rem;font-weight:700;text-decoration:none;letter-spacing:.015em}
.site-header .wp-block-navigation-item__content:hover{color:#ffb8d9}
.site-header .wp-block-navigation__responsive-container-open{color:#fff}
.site-header .header-search{max-width:44px;flex:0 0 44px}
.site-header .wp-block-search__button{border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;border-radius:50%;width:42px;height:42px;padding:8px}
.site-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--night);color:#fff}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{color:#fff}
.home-hero{position:relative;width:min(100%,1440px);height:clamp(450px,49vw,650px);margin:0 auto;overflow:hidden;background:#b4a795;color:#fff}
.home-hero__image{display:block;width:100%;height:100%;object-fit:cover}
.home-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,14,33,.74) 0%,rgba(22,14,33,.38) 45%,transparent 85%)}
.home-hero__content{position:absolute;left:clamp(24px,7vw,100px);bottom:clamp(36px,7vw,90px);max-width:min(620px,70%);z-index:1}
.hero-kicker,.section-kicker{text-transform:uppercase;letter-spacing:.13em;font-size:.74rem;font-weight:800}
.hero-kicker{display:inline-block;background:var(--violet);color:#fff;padding:.45rem .7rem}
.home-hero h1{color:#fff!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.7rem,5.5vw,5.2rem);font-weight:500!important;line-height:1.02;letter-spacing:-.045em;margin:1rem 0}
.home-hero p{font-size:clamp(1rem,1.7vw,1.25rem);line-height:1.5;max-width:510px;margin:0 0 1.5rem}
.hero-link{display:inline-flex;align-items:center;gap:1.4rem;background:#fff;color:var(--night);text-decoration:none;font-weight:800;font-size:.86rem;padding:.9rem 1.2rem}
.hero-link:hover{background:var(--pink);color:var(--night)}
.hero-credit{position:absolute;right:1.4rem;bottom:1rem;color:#fff;text-shadow:0 1px 4px #111;font-size:.7rem}
.editorial-shell{max-width:1280px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(28px,4vw,56px);padding:4.5rem 1.5rem 5rem}
.editorial-main{min-width:0}
.section-heading{border-top:3px solid var(--night);padding-top:1.2rem;margin-bottom:1.8rem}
.section-kicker{color:var(--violet)}
.section-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.1rem,3vw,3.1rem);font-weight:500;letter-spacing:-.03em;margin:.35rem 0 .4rem}
.section-heading p{color:var(--muted);margin:.3rem 0 0}
.editorial-query .wp-block-post-template{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.2rem 1.8rem}
.editorial-query .wp-block-post:first-child{grid-column:span 2}
.post-card{border-bottom:1px solid var(--line);padding-bottom:1.4rem;margin:0}
.post-card .wp-block-post-featured-image{margin:0 0 .9rem;aspect-ratio:16/10;background:#efeaf5;overflow:hidden}
.post-card .wp-block-post-featured-image img{display:block;width:100%;height:100%;object-fit:cover}
.editorial-query .wp-block-post:first-child .wp-block-post-featured-image{aspect-ratio:16/8}
.post-card .wp-block-post-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.4rem,2.2vw,2rem);font-weight:500;line-height:1.2;margin:.4rem 0}
.editorial-query .wp-block-post:first-child .wp-block-post-title{font-size:clamp(1.9rem,3vw,2.8rem)}
.post-card .wp-block-post-title a{color:var(--night);text-decoration:none}
.post-card .wp-block-post-title a:hover{color:var(--violet)}
.post-card .wp-block-post-excerpt{color:var(--muted);font-size:.94rem;line-height:1.55;margin:.5rem 0}
.post-card .wp-block-post-excerpt__more-link{font-weight:800}
.post-meta,.post-date{color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.post-meta a{color:var(--violet);font-weight:800;text-decoration:none}
.empty-editorial{min-height:240px;background:#f1edf8;padding:2.5rem;border-left:4px solid var(--pink)}
.empty-editorial h3{font-family:Georgia,'Times New Roman',serif;font-size:2rem;font-weight:500;margin:.6rem 0}
.empty-editorial p{max-width:550px;color:var(--muted)}
.home-sidebar{min-width:0}
.ad-slot{max-width:100%;margin:0 auto 2rem;text-align:center}
.ad-slot__label{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:.64rem;font-weight:700;color:#736b7e;margin-bottom:.5rem}
.ad-slot__body{display:grid;place-items:center;border:1px dashed #c6bbd8;background:linear-gradient(145deg,#f5f1fb,#faf9fd);overflow:hidden}
.ad-slot__body>*{max-width:100%}
.ad-slot__body iframe,.ad-slot__body img{max-width:100%}
.ad-slot__placeholder{max-width:185px;color:#80778d;font-size:.8rem;line-height:1.5}
.ad-slot--home-sidebar .ad-slot__body{min-height:600px}
.ad-slot--article-top{max-width:970px;margin:2rem auto 2.4rem}
.ad-slot--article-top .ad-slot__body{min-height:220px}
.ad-slot--article-inline-1,.ad-slot--article-inline-2{max-width:728px;margin:2.4rem auto}
.ad-slot--article-inline-1 .ad-slot__body,.ad-slot--article-inline-2 .ad-slot__body{min-height:250px}
.sidebar-profile{background:#f0ebfa;padding:1.6rem;margin-top:2.5rem}
.sidebar-profile img{display:block;border-radius:50%;margin:1.2rem 0}
.sidebar-profile h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:1.7rem;line-height:1.15;margin:.7rem 0}
.sidebar-profile p{color:var(--muted);font-size:.9rem;line-height:1.6}
.sidebar-profile a{font-size:.84rem;font-weight:800}
.topic-section{margin-top:4rem}
.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.topic-grid a{display:flex;flex-direction:column;min-height:130px;padding:1.25rem;background:#fff;color:var(--night);text-decoration:none}
.topic-grid a:hover{background:#f0ebfa}
.topic-grid a>span{color:var(--pink);font-size:.75rem;font-weight:800}
.topic-grid strong{font-family:Georgia,'Times New Roman',serif;font-size:1.45rem;font-weight:500;margin:.6rem 0 .3rem}
.topic-grid small{color:var(--muted);font-size:.78rem}
.closing-note{background:var(--violet);color:#fff;padding:3.8rem max(1.5rem,calc((100vw - 1232px)/2));display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}
.closing-note .section-kicker{color:#ffd0e6}
.closing-note h2{color:#fff!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.3rem,4vw,3.5rem);font-weight:500!important;margin:.6rem 0}
.closing-note p{max-width:540px;margin:0}
.closing-note a{display:inline-block;color:#fff;border-bottom:1px solid #fff;white-space:nowrap;text-decoration:none;padding-bottom:.3rem;font-weight:800}
.article-page{max-width:1280px!important;padding:0 1.5rem 4rem}
.article-layout{display:grid!important;grid-template-columns:minmax(0,800px) minmax(220px,270px);gap:clamp(30px,5vw,80px);justify-content:space-between}
.article-body{min-width:0}
.article-body .wp-block-post-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.4rem,4vw,4rem);font-weight:500;letter-spacing:-.04em;line-height:1.09;margin:.4rem 0 .8rem}
.article-body .wp-block-post-featured-image{margin:1.4rem 0 1.7rem}
.article-body .wp-block-post-featured-image img{display:block;width:100%;height:auto}
.article-body .wp-block-post-content{font-size:1.07rem;line-height:1.78}
.article-body .wp-block-post-content p,.article-body .wp-block-post-content li{line-height:1.78}
.article-body .wp-block-post-content h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;margin-top:2rem}
.article-body .wp-block-post-content img{max-width:100%;height:auto}
.article-sidebar{padding-top:1.2rem}
.article-sidebar .wp-block-search__inside-wrapper{border:1px solid var(--line)}
.article-sidebar .wp-block-search__input{min-width:0}
.article-sidebar .wp-block-search__button{background:var(--violet);color:#fff;border:0}
.sidebar-panel{border-top:2px solid var(--night);margin-top:2.4rem;padding-top:1rem}
.sidebar-panel nav{display:flex;flex-direction:column;margin-top:.8rem}
.sidebar-panel a{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:.75rem 0;color:var(--night);text-decoration:none;font-size:.9rem}
.sidebar-panel a:hover{color:var(--violet)}
.affiliate-note{background:#f3effa;border-left:3px solid var(--violet);padding:1rem 1.1rem;font-size:.85rem}
.affiliate-note p{margin:0}
.author-box{display:flex;align-items:center;gap:1.2rem;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:3rem 0;padding:1.5rem 0}
.author-box img{flex:0 0 76px;border-radius:50%}
.author-box h2{font-family:Georgia,'Times New Roman',serif;font-size:1.45rem;margin:.25rem 0}
.author-box p{font-size:.86rem;color:var(--muted);margin:0}
.related-posts{border-top:1px solid var(--line);padding-top:2rem;margin-top:3rem}
.related-posts ul{padding-left:1.2rem}
.related-posts li{margin:.7rem 0}
.readable{max-width:760px;margin-left:auto;margin-right:auto}
.readable p,.readable li{line-height:1.75}
.readable img{max-width:100%;height:auto}
.archive-heading{padding-top:3rem;padding-bottom:1rem}
.section-space{padding-top:3rem;padding-bottom:3rem}
.wp-block-query-no-results{background:#f1edf8;padding:2rem}
.site-footer{background:var(--night);color:#fff}
.site-footer .footer-inner{max-width:1280px;display:grid;grid-template-columns:1fr 1fr;gap:3rem;padding:3.2rem 1.5rem 2rem}
.footer-brand img{display:block;max-width:300px}
.footer-brand p{color:#e2dcea;font-size:.88rem}
.footer-nav{justify-self:end}
.footer-nav .wp-block-navigation-item__content{color:#fff;font-size:.85rem}
.footer-bottom{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.2);padding-top:1rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.76rem;color:#ddd5ec}
.footer-bottom p{margin:0}
.site-footer a:focus-visible{outline-color:#fff}
a[rel~="sponsored"]{text-decoration-style:dotted;text-decoration-thickness:2px}
@media(max-width:1020px){
  .site-header .header-inner{gap:1rem}
  .brand-link{width:190px}
  .site-header .main-nav{font-size:.78rem}
  .editorial-shell{grid-template-columns:minmax(0,1fr) 250px}
  .article-layout{grid-template-columns:minmax(0,1fr) 220px}
}
@media(max-width:780px){
  .site-header .header-inner{min-height:78px}
  .brand-link{width:180px}
  .editorial-shell{grid-template-columns:1fr;gap:2rem;padding-top:3rem}
  .home-sidebar{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:1.5rem;align-items:start}
  .sidebar-profile{margin-top:1.2rem}
  .article-layout{grid-template-columns:1fr}
  .article-sidebar{border-top:1px solid var(--line);padding-top:2rem}
  .closing-note{display:block}
  .closing-note a{margin-top:1.5rem}
}
@media(max-width:600px){
  .site-header .header-inner{padding:.8rem 1rem}
  .brand-link{width:155px}
  .home-hero{height:520px}
  .home-hero__shade{background:linear-gradient(0deg,rgba(22,14,33,.87),rgba(22,14,33,.08) 75%)}
  .home-hero__content{left:1.2rem;right:1.2rem;bottom:2.2rem;max-width:none}
  .home-hero h1{font-size:2.6rem}
  .hero-credit{right:.8rem;top:.7rem;bottom:auto}
  .editorial-shell{padding:2.5rem 1rem 3rem}
  .editorial-query .wp-block-post-template{grid-template-columns:1fr}
  .editorial-query .wp-block-post:first-child{grid-column:auto}
  .topic-grid{grid-template-columns:1fr}
  .home-sidebar{display:block}
  .home-sidebar .ad-slot{max-width:300px}
  .ad-slot--article-top{margin:1.3rem 0 2rem}
  .ad-slot--article-top .ad-slot__body{min-height:140px}
  .ad-slot--article-inline-1 .ad-slot__body,.ad-slot--article-inline-2 .ad-slot__body{min-height:190px}
  .article-page{padding:0 1rem 3rem}
  .article-body .wp-block-post-title{font-size:2.35rem}
  .site-footer .footer-inner{display:block;padding:2.7rem 1rem 1.5rem}
  .footer-nav{margin:2rem 0}
}
