/* =========================================================
   EDS CMS — ARTIGOS PUBLICADOS
========================================================= */

/* CAPA PRINCIPAL */

.eds-cms-cover{
  margin:0 0 2rem;
  border-radius:22px;
  overflow:hidden;
  background:#eef2f5;
}

.eds-cms-cover img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
}


/* =========================================================
   IMAGENS INSERIDAS DENTRO DO ARTIGO
========================================================= */

.eds-article .eds-content-image{
  display:block;
  width:100%;
  max-width:100%;
  margin:2.25rem auto;
  padding:0;
}

.eds-article .eds-content-image img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  margin:0 auto;
  border-radius:18px;
  object-fit:contain;
  box-shadow:0 12px 34px rgba(6,23,45,.10);
}

/* Automático */
.eds-article .eds-image-auto{
  max-width:900px;
}

/* Horizontal */
.eds-article .eds-image-wide{
  max-width:100%;
}

/* Retrato / 9:16 */
.eds-article .eds-image-portrait{
  max-width:420px;
}

/* Médio */
.eds-article .eds-image-medium{
  max-width:680px;
}

/* Grande destaque */
.eds-article .eds-image-large{
  max-width:100%;
}


/* Evita qualquer imagem do conteúdo ultrapassar o artigo */

.eds-article img{
  max-width:100%;
  height:auto;
}


/* =========================================================
   CONTEÚDOS DINÂMICOS DO BLOG
========================================================= */

.eds-live-posts{
  margin-top:2.5rem;
}

.eds-live-posts[hidden]{
  display:none;
}

.eds-live-posts .eds-index-grid{
  margin-top:1.25rem;
}


/* =========================================================
   SIDEBAR / CTA
========================================================= */

.eds-article-aside{
  min-width:0;
}

.eds-aside-card{
  position:sticky;
  top:96px;
  padding:1.4rem;
  border:1px solid rgba(8,45,63,.14);
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 40px rgba(6,23,45,.07);
}

.eds-aside-card strong{
  display:block;
  font-family:Manrope,Inter,sans-serif;
  font-size:1.15rem;
  color:#06172d;
}

.eds-aside-card p{
  font-size:.95rem;
  color:#435166;
}

.eds-aside-card .btn{
  width:100%;
  justify-content:center;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width:900px){

  .eds-aside-card{
    position:static;
    margin-top:1rem;
  }

  .eds-cms-cover{
    border-radius:16px;
    margin-bottom:1.5rem;
  }

 .eds-article .eds-content-image{
  margin:1.75rem auto;
}

.eds-article .eds-image-auto,
.eds-article .eds-image-wide,
.eds-article .eds-image-medium,
.eds-article .eds-image-large{
  max-width:100%;
}

.eds-article .eds-image-portrait{
  max-width:min(82vw,380px);
}

.eds-article .eds-content-image img{
  border-radius:14px;
}
}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width:560px){

  .eds-cms-cover{
    border-radius:14px;
  }

  .eds-article .eds-content-image{
    margin:1.4rem auto;
  }

  .eds-article .eds-content-image img{
    border-radius:12px;
    box-shadow:0 8px 24px rgba(6,23,45,.09);
  }
}