/*
 * Expresso Rio V20.2 — Editorial Reference Layer
 * Proporções editoriais inspiradas na referência fornecida pelo cliente.
 * Sem frameworks, fontes externas ou JavaScript adicional.
 */
:root{
  --er-container:1320px;
  --er-editorial-blue:#173b67;
  --er-editorial-link:#0f4cda;
  --er-editorial-text:#233142;
  --er-editorial-muted:#5e6875;
  --er-editorial-line:#dbe2ea;
  --er-editorial-gutter:30px;
}

/* Contêiner responsivo equivalente ao padrão editorial de 1320 px. */
.er-container,
.er-single.inner-page-section,
.er-archive{
  width:100%;
  max-width:1320px;
  margin-inline:auto;
  padding-inline:20px;
}

/* HOME — hierarquia de redação, sem alterar consultas, links ou categorias. */
.home .er-home{
  padding-top:24px;
  padding-bottom:64px;
}
.home .er-power-block{
  margin:24px 0 44px;
}
.home .er-power-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(280px,1fr);
  gap:30px;
  align-items:start;
}
.home .er-power-main,
.home .er-power-middle,
.home .er-power-today{
  min-width:0;
}
.home .er-power-main__image{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#eef2f6;
}
.home .er-power-main__image img,
.home .er-power-mini__image img,
.home .er-queue-card__image img,
.home .er-p360-card__image img,
.home .er-smart-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.home .er-power-main__body{
  padding-top:15px;
}
.home .er-power-main__title{
  margin:7px 0 12px;
  font-size:clamp(2rem,2.65vw,3rem);
  line-height:1.02;
  letter-spacing:-.035em;
  color:var(--er-editorial-blue);
}
.home .er-power-main__title a:hover,
.home .er-power-mini h2 a:hover,
.home .er-power-today__list a:hover{
  color:var(--er-editorial-link);
}
.home .er-power-tag,
.home .er-p360-cat,
.home .er-smart-card__cat,
.home .er-queue-card__cat{
  color:var(--er-editorial-blue);
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.home .er-power-related{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--er-editorial-line);
}
.home .er-power-middle{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px 20px;
}
.home .er-power-mini{
  display:block;
  margin:0;
  padding:0 0 18px;
  border-bottom:1px solid var(--er-editorial-line);
}
.home .er-power-mini__image{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  margin-bottom:10px;
  background:#eef2f6;
}
.home .er-power-mini__text h2{
  margin:5px 0 0;
  font-size:20px;
  line-height:1.12;
  letter-spacing:-.02em;
}
.home .er-power-today{
  border-top:5px solid var(--er-editorial-blue);
  padding-top:12px;
}
.home .er-power-today__title{
  margin:0 0 8px;
  padding-bottom:10px;
  border-bottom:1px solid var(--er-editorial-line);
  color:var(--er-editorial-blue);
  font-size:18px;
}
.home .er-power-today__list li{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--er-editorial-line);
}
.home .er-power-today__list a{
  font-size:16px;
  font-weight:700;
  line-height:1.2;
}
.home .er-power-today__list span{
  color:var(--er-editorial-muted);
  font-size:12px;
  white-space:nowrap;
}
.home .er-power-today__button{
  width:100%;
  min-height:42px;
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:var(--er-editorial-blue);
  border-radius:2px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
}

/* Blocos de editoria: mesmas proporções visuais e imagens estáveis. */
.home .er-queue-block,
.home .er-p360-section,
.home .er-smart-section{
  margin-top:52px;
  padding-top:22px;
  border-top:1px solid var(--er-editorial-line);
}
.home .er-queue-row,
.home .er-p360-grid-4,
.home .er-smart-latest-grid{
  gap:30px;
}
.home .er-queue-card__image,
.home .er-p360-card__image,
.home .er-smart-card__image{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#eef2f6;
}
.home .er-queue-card__title,
.home .er-p360-card__title,
.home .er-smart-card__title{
  margin-top:6px;
  line-height:1.15;
  letter-spacing:-.018em;
}
.home .er-p360-titlebar,
.home .er-smart-head{
  min-height:46px;
  margin-bottom:24px;
  padding-bottom:10px;
  border-bottom:4px solid var(--er-editorial-blue);
}

/* MATÉRIA — 1320 px, coluna editorial 2/3 e sidebar de aproximadamente 322 px. */
.single-post .er-single.inner-page-section{
  padding-top:38px;
  padding-bottom:72px;
}
.single-post .inner-page-section__header,
.single-post .er-single__image,
.single-post .inner-page-section__post-meta-bar{
  width:100%;
  max-width:1320px;
  margin-inline:auto;
}
.single-post .er-single__title{
  max-width:1080px;
  margin:0;
  color:var(--er-editorial-blue);
  font-size:clamp(2.8rem,4.1vw,4.8rem);
  line-height:1;
  letter-spacing:-.045em;
  overflow-wrap:anywhere;
}
.single-post .er-single__subtitle{
  max-width:960px;
  margin:16px 0 0;
  color:#3d4854;
  font-size:clamp(1.2rem,1.6vw,1.65rem);
  line-height:1.32;
  font-style:italic;
}
.single-post .er-single__image{
  margin-top:28px;
}
.single-post .er-single__featured{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  background:#eef2f6;
}
.single-post .inner-page-section__post-meta-bar{
  margin-bottom:30px;
  padding:16px 0;
  border-bottom:1px solid var(--er-editorial-line);
}
.single-post .er-single__layout{
  width:100%;
  max-width:1320px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 322px!important;
  gap:45px!important;
  align-items:start!important;
}
.single-post .er-single__content-wrap{
  width:100%;
  max-width:880px!important;
  margin:0!important;
  min-width:0;
}
.single-post .er-single__content{
  color:#343a40;
  font-size:21px;
  line-height:1.58;
}
.single-post .er-single__content p{
  margin:0 0 30px;
}
.single-post .er-single__content h2{
  color:var(--er-editorial-blue);
  font-size:34px;
  line-height:1.08;
}
.single-post .er-single__content h3{
  color:var(--er-editorial-blue);
  font-size:27px;
  line-height:1.12;
}
.single-post .er-single__content a{
  color:var(--er-editorial-link);
  border-bottom:1px solid #d5dbe2;
}
.single-post .er-single .er-sidebar{
  width:322px;
  max-width:100%;
  position:sticky;
  top:24px;
}

/* CATEGORIAS, arquivos e buscas. */
.archive .er-archive,
.search .er-archive,
.blog .er-archive{
  padding-top:38px;
  padding-bottom:70px;
}
.er-archive__header{
  margin-bottom:32px;
  padding-bottom:16px;
  border-bottom:5px solid var(--er-editorial-blue);
}
.er-archive__header h1{
  color:var(--er-editorial-blue);
  font-size:clamp(2.45rem,3.3vw,4rem);
  line-height:1;
}
.er-layout--archive{
  display:grid;
  grid-template-columns:minmax(0,1fr) 322px;
  gap:45px;
  align-items:start;
}
.er-archive__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:34px 24px;
}
.er-archive__grid .er-card__thumb{
  aspect-ratio:16/10;
  margin-bottom:12px;
  overflow:hidden;
  background:#eef2f6;
}
.er-archive__grid .er-card__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.er-archive__grid .er-card h2{
  color:var(--er-editorial-blue);
  font-size:22px;
  line-height:1.12;
}
.er-archive__grid .category a{
  color:var(--er-editorial-blue);
}

@media (min-width:1400px){
  .er-container,
  .er-single.inner-page-section,
  .er-archive{padding-inline:0;}
}

@media (max-width:1199px){
  .home .er-power-grid{
    grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  }
  .home .er-power-today{
    grid-column:1/-1;
  }
  .home .er-power-today__list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:28px;
  }
  .single-post .er-single__layout,
  .er-layout--archive{
    grid-template-columns:minmax(0,1fr) 300px!important;
    gap:34px!important;
  }
  .single-post .er-single .er-sidebar{width:300px;}
  .er-archive__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:991px){
  .home .er-power-grid{grid-template-columns:1fr;}
  .home .er-power-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;}
  .home .er-power-main__body{padding-top:0;}
  .home .er-power-today{grid-column:auto;}
  .single-post .er-single__layout,
  .er-layout--archive{grid-template-columns:1fr!important;}
  .single-post .er-single__content-wrap{max-width:760px!important;margin-inline:auto!important;}
  .single-post .er-single .er-sidebar{width:100%;position:static;}
}

@media (max-width:767px){
  .er-container,
  .er-single.inner-page-section,
  .er-archive{padding-inline:20px;}
  .home .er-home{padding-top:14px;}
  .home .er-power-block{margin-top:16px;}
  .home .er-power-main{display:block;}
  .home .er-power-main__body{padding-top:14px;}
  .home .er-power-main__title{font-size:2.35rem;}
  .home .er-power-middle{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;}
  .home .er-power-mini__text h2{font-size:18px;}
  .home .er-power-today__list{display:block;}
  .single-post .er-single.inner-page-section{padding-top:24px;}
  .single-post .er-single__title{font-size:2.8rem;}
  .single-post .er-single__content{font-size:19px;line-height:1.62;}
  .single-post .er-single__content h2{font-size:29px;}
  .single-post .er-single__content h3{font-size:24px;}
}

@media (max-width:575px){
  .er-container,
  .er-single.inner-page-section,
  .er-archive{padding-inline:16px;}
  .home .er-power-middle{grid-template-columns:1fr;}
  .home .er-power-mini{display:grid;grid-template-columns:128px minmax(0,1fr);gap:13px;align-items:start;}
  .home .er-power-mini__image{margin:0;aspect-ratio:4/3;}
  .home .er-power-main__title{font-size:2.05rem;}
  .single-post .er-single__title{font-size:2.35rem;}
  .single-post .er-single__subtitle{font-size:1.15rem;}
  .single-post .er-single__featured{aspect-ratio:16/10;}
  .single-post .er-single__content{font-size:18px;}
  .er-archive__grid{grid-template-columns:1fr;}
}


/* V20.3 — Cabeçalho editorial compacto inspirado na organização de grandes portais.
   Implementação própria do Expresso Rio: sem CSS, fontes, imagens ou scripts externos. */
.er-newsbar{height:78px;background:#fff}
.er-newsbar__inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.er-newsbar__column{display:flex;align-items:center;min-width:0}
.er-newsbar__column--brand{gap:22px;flex:1 1 auto}
.er-newsbar__column--actions{gap:12px;flex:0 0 auto;margin-left:auto}
.er-newsbar__logo{min-width:0;flex:0 1 auto}
.er-newsbar__logo img,.er-newsbar__logo .custom-logo{width:165px!important;max-width:165px!important;height:49px!important;max-height:49px!important;object-fit:contain;object-position:left center}
.er-text-mode{display:flex;align-items:center;gap:9px;color:#173b68;font-size:10px;font-weight:800;letter-spacing:.035em;white-space:nowrap}
.er-text-mode__button{position:relative;width:34px;height:18px;padding:0;border:1px solid #173b68;border-radius:999px;background:#fff;cursor:pointer}
.er-text-mode__button i{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#173b68;transition:transform .16s ease}
.er-text-mode__button[aria-checked="true"]{background:#173b68}
.er-text-mode__button[aria-checked="true"] i{background:#fff;transform:translateX(16px)}
.er-newsbar__support{height:34px!important;padding:0 15px!important;border-radius:4px!important;background:#0f4cda!important;font-size:11px!important;letter-spacing:.025em!important}
.er-newsbar__support-mobile{display:none}
.er-newsbar__login{height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid #173b68;border-radius:4px;color:#173b68!important;background:#fff;font-size:11px;font-weight:850;text-transform:uppercase}
.er-newsbar__login:hover,.er-newsbar__login:focus-visible{background:#173b68;color:#fff!important}
.er-newsbar__social{gap:4px!important}
.er-newsbar__social .er-poderbar__social-link,.er-newsbar__social .er-poderbar__more{width:30px;height:30px;background:transparent;color:#173b68;border:0;border-radius:3px}
.er-newsbar__social .er-poderbar__social-link:hover,.er-newsbar__social .er-poderbar__more:hover{background:#edf3f9;color:#0f4cda}
.er-newsbar__social .er-poderbar__social-link svg{width:14px;height:14px}
.er-newsbar__social .er-poderbar__more{font-size:15px;letter-spacing:1px}
.er-newsbar__social .er-poderbar__more-list{top:38px;right:0;border-radius:5px}
.er-newsbar__menu{height:50px!important;min-height:50px!important;margin-left:3px!important;padding:0 4px 0 18px!important;border-left:1px solid #e4e9ef!important;gap:11px!important;background:#fff!important;color:#173b68!important;border-radius:0!important}
.er-newsbar__menu span:first-child{width:30px!important;height:2px!important;box-shadow:0 8px 0 currentColor,0 -8px 0 currentColor!important}
.er-newsbar__menu b{font-size:12px!important}

html.er-text-only .wp-post-image,
html.er-text-only .entry-content img,
html.er-text-only .er-card img,
html.er-text-only .er-home img:not(.custom-logo),
html.er-text-only picture,
html.er-text-only figure.wp-block-image,
html.er-text-only .post-thumbnail{display:none!important}
html.er-text-only .er-card__media,
html.er-text-only .post-thumbnail{min-height:0!important;aspect-ratio:auto!important;background:#f5f7fa}

@media(max-width:1050px){
 .er-newsbar__inner{gap:16px}.er-newsbar__column--brand{gap:14px}.er-newsbar__login{display:none}.er-newsbar__support-desktop{display:none}.er-newsbar__support-mobile{display:inline}.er-newsbar__support{padding:0 12px!important}
}
@media(max-width:760px){
 .er-site-header--poder{border-top-width:5px!important}
 .er-newsbar,.er-newsbar__inner{height:66px!important;min-height:66px!important}
 .er-newsbar__inner{gap:8px}
 .er-newsbar__logo img,.er-newsbar__logo .custom-logo{width:min(154px,44vw)!important;max-width:min(154px,44vw)!important;height:auto!important;max-height:44px!important}
 .er-text-mode{display:none}
 .er-newsbar__support{display:none!important}
 .er-newsbar__social{display:none!important}
 .er-newsbar__menu{width:48px!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0!important;border:1px solid #173b68!important;border-radius:5px!important;justify-content:center!important}
 .er-newsbar__menu b{display:none!important}
 .er-newsbar__menu span:first-child{width:25px!important}
}

/* Expresso Rio V20.6.1 — botão Todas as Notícias sempre branco */
.er-power-today__button,
.er-power-today__button:link,
.er-power-today__button:visited,
.er-power-today__button:hover,
.er-power-today__button:focus,
.er-power-today__button:focus-visible,
.er-power-today__button:active {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
