/* Blog Manual da Vida a Dois · mesmo design system do site principal */

:root {
  --ink: #020713;
  --ink-soft: #050d1d;
  --surface: #071326;
  --paper: #f3ead9;
  --muted: #a8afbc;
  --gold: #caa56a;
  --gold-light: #ead1a0;
  --line: rgba(213, 176, 112, 0.24);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Italiana", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--paper);
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(20, 48, 88, 0.22), transparent 34rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--ink);
  background: var(--gold-light);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.container {
  width: min(100% - 36px, 1180px);
  margin-inline: auto;
}

/* Cabeçalho */

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(2, 7, 19, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  min-width: 150px;
  flex-direction: column;
  font-family: var(--serif);
  line-height: 0.78;
  text-transform: uppercase;
}

.brand-kicker {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.brand strong {
  margin-top: 4px;
  color: var(--paper);
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-script {
  position: absolute;
  right: 0;
  bottom: -11px;
  color: var(--gold);
  font-size: 0.82rem;
  font-style: italic;
  text-transform: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav > a:not(.header-cta) {
  display: none;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.header-nav > a:not(.header-cta):hover {
  color: var(--gold-light);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(234, 209, 160, 0.46);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Componentes de base */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 26px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  background: linear-gradient(135deg, #e8cc95, #b88c50);
  box-shadow: 0 12px 38px rgba(181, 132, 67, 0.19);
  color: #17110a;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(181, 132, 67, 0.28);
}

/* Hero do blog */

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(2, 7, 19, 0.55), var(--ink) 92%),
    url("../images/hero-background.webp") center 30% / cover no-repeat;
}

.blog-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 9.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.blog-hero h1 em {
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 500;
}

.blog-hero > .container > p {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Filtros de categoria */

.filters {
  padding: 34px 0 10px;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.chip:hover {
  border-color: rgba(234, 209, 160, 0.5);
  color: var(--gold-light);
}

.chip.is-active {
  border-color: var(--gold);
  background: rgba(202, 165, 106, 0.12);
  color: var(--gold-light);
}

.search-form {
  display: flex;
  flex: 1 1 240px;
  justify-content: flex-end;
}

.search-form input {
  width: min(100%, 300px);
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 19, 38, 0.6);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
}

.search-form input::placeholder {
  color: rgba(168, 175, 188, 0.7);
}

.search-form input:focus {
  border-color: var(--gold);
  outline: none;
}

/* Listagem */

.posts {
  padding: 40px 0 110px;
}

.featured {
  position: relative;
  display: grid;
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.featured-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.featured-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.featured:hover .featured-media img {
  transform: scale(1.03);
}

.featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 26px;
}

.featured-body h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.featured-body h2 a:hover {
  color: var(--gold-light);
}

.featured-body > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.post-meta .category-tag {
  color: var(--gold);
}

.post-meta time {
  color: var(--muted);
}

.featured-body .post-meta {
  margin-top: 22px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  align-self: flex-start;
}

/* Grade de cards */

.post-grid {
  display: grid;
  gap: 22px;
}

.post-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  transition: border-color 240ms ease, transform 240ms ease;
}

.post-card:hover {
  border-color: rgba(234, 209, 160, 0.4);
  transform: translateY(-4px);
}

.post-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-card-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.post-card:hover .post-card-media img {
  transform: scale(1.04);
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 26px;
}

.post-card h3 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
}

.post-card h3 a:hover {
  color: var(--gold-light);
}

.post-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.post-card .post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.post-card .post-footer .author {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

/* Estado vazio */

.empty-state {
  padding: 80px 24px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  text-align: center;
}

.empty-state h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}

.empty-state p {
  margin: 12px auto 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Paginação */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
}

.pagination a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.pagination .is-current {
  border-color: var(--gold);
  background: rgba(202, 165, 106, 0.12);
  color: var(--gold-light);
}

/* Página do artigo */

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 176px 0 84px;
  border-bottom: 1px solid var(--line);
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.9) contrast(1.05);
}

.article-hero-bg::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 7, 19, 0.72), rgba(2, 7, 19, 0.94) 78%, var(--ink));
  content: "";
}

.article-hero .container {
  position: relative;
  z-index: 1;
}

.article-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.3rem, 8vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.article-hero .post-meta {
  margin-top: 28px;
}

.article-hero .post-meta .author {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

/* Corpo do artigo */

.article-body {
  padding: 64px 0 90px;
}

.article-content {
  max-width: 720px;
  margin-inline: auto;
}

.article-content > p {
  margin: 0 0 26px;
  color: rgba(243, 234, 217, 0.82);
  font-size: 1.02rem;
  line-height: 1.9;
}

.article-content > p:first-child::first-letter {
  float: left;
  margin: 6px 14px 0 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 4.2rem;
  line-height: 0.8;
}

.article-content h2 {
  margin: 52px 0 18px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.article-content h3 {
  margin: 40px 0 14px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
}

.article-content a {
  border-bottom: 1px solid rgba(202, 165, 106, 0.5);
  color: var(--gold-light);
}

.article-content strong {
  color: var(--paper);
}

.article-content blockquote {
  margin: 36px 0;
  padding: 22px 0 22px 24px;
  border-left: 1px solid var(--gold);
  background: rgba(255, 255, 255, 0.025);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.3;
}

.article-content blockquote p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.article-content ul,
.article-content ol {
  margin: 0 0 26px;
  padding-left: 22px;
  color: rgba(243, 234, 217, 0.82);
}

.article-content li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.8;
}

.article-content li::marker {
  color: var(--gold);
}

.article-content img {
  margin: 36px 0;
  border: 1px solid var(--line);
}

/* Figuras do corpo do texto, com alinhamento e largura vindos do editor */

.article-content figure {
  margin: 36px 0;
}

.article-content figure img {
  width: 100%;
  margin: 0;
}

.article-content figure.img-plena {
  width: 100%;
}

.article-content figure.img-centro {
  width: 70%;
  margin-inline: auto;
}

.article-content figure.img-esquerda {
  float: left;
  width: 45%;
  margin: 10px 32px 22px 0;
}

.article-content figure.img-direita {
  float: right;
  width: 45%;
  margin: 10px 0 22px 32px;
}

/* Um título nunca deve ficar espremido ao lado de uma imagem flutuante. */
.article-content h2,
.article-content hr {
  clear: both;
}

.article-content::after {
  display: block;
  clear: both;
  content: "";
}

.article-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
}

/* Bloco de destaque, criado pelo botão Destaque ou por class="destaque" */

.article-content .destaque,
.article-content aside.destaque {
  margin: 36px 0;
  padding: 26px 28px;
  border: 1px solid rgba(202, 165, 106, 0.32);
  background:
    linear-gradient(135deg, rgba(24, 53, 91, 0.24), transparent 60%),
    rgba(255, 255, 255, 0.02);
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.75;
}

.article-content .destaque strong,
.article-content aside.destaque strong {
  color: var(--gold-light);
}

.article-content hr {
  width: 90px;
  margin: 44px auto;
  border: none;
  border-top: 1px solid var(--gold);
  opacity: 0.6;
}

.article-content h4 {
  margin: 32px 0 12px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Rodapé do artigo e relacionados */

.article-end {
  display: flex;
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.article-end .signature {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.article-end .back-link {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-end .back-link:hover {
  color: var(--gold-light);
}

.related {
  padding: 84px 0 110px;
  border-top: 1px solid var(--line);
  background: #040b19;
}

.related .section-title {
  margin: 0 0 36px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.related .section-title em {
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 500;
}

/* Chamada para o evento dentro do blog */

.blog-cta {
  margin-top: 72px;
  padding: 44px 28px;
  border: 1px solid rgba(202, 165, 106, 0.32);
  background:
    linear-gradient(135deg, rgba(24, 53, 91, 0.28), transparent 55%),
    #040b19;
  text-align: center;
}

.blog-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.blog-cta h2 em {
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 500;
}

.blog-cta p {
  max-width: 520px;
  margin: 14px auto 26px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Rodapé */

footer {
  padding: 58px 0 72px;
  border-top: 1px solid var(--line);
  background: #010510;
}

.footer-layout {
  display: grid;
  gap: 28px;
}

.footer-brand {
  width: 160px;
}

.footer-layout > p,
.footer-layout > a:not(.brand) {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.6;
}

.footer-layout > a:not(.brand) {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-acoes {
  display: grid;
  gap: 10px;
}

.footer-acoes a {
  color: var(--gold-light);
  font-size: 0.7rem;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-acoes a:hover {
  color: var(--paper);
}

.footer-legal {
  display: flex;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  flex-direction: column;
  gap: 8px;
  color: rgba(168, 175, 188, 0.54);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Pop-up da newsletter */

.news-fundo {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(1, 4, 12, 0.82);
  opacity: 0;
  transition: opacity 260ms ease;
  backdrop-filter: blur(6px);
}

.news-fundo[hidden] {
  display: none;
}

.news-fundo.is-visivel {
  opacity: 1;
}

.news-caixa {
  position: relative;
  width: min(100%, 470px);
  max-height: 92vh;
  overflow-y: auto;
  padding: 40px 30px 34px;
  border: 1px solid rgba(213, 176, 112, 0.4);
  background:
    linear-gradient(150deg, rgba(202, 165, 106, 0.1), transparent 55%),
    var(--ink-soft);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62);
  transform: translateY(16px);
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.news-fundo.is-visivel .news-caixa {
  transform: translateY(0);
}

.news-fechar {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: color 160ms ease;
}

.news-fechar:hover {
  color: var(--gold-light);
}

.news-caixa h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.95rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}

.news-caixa h2 em {
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 500;
}

.news-lead {
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.news-campo {
  display: block;
  margin-bottom: 14px;
}

.news-campo > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-campo input,
.news-campo select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(1, 5, 14, 0.6);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.news-campo input:focus,
.news-campo select:focus {
  border-color: var(--gold);
  outline: none;
}

.news-campo input.tem-erro,
.news-campo select.tem-erro {
  border-color: #e08e8e;
}

/* Campo isca: fora da tela para gente, visível para robôs */
.news-mel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.news-aceite {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.news-aceite input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.news-erro {
  margin: 0 0 16px;
  padding: 11px 14px;
  border: 1px solid rgba(224, 142, 142, 0.45);
  border-radius: 3px;
  background: rgba(224, 142, 142, 0.08);
  color: #e08e8e;
  font-size: 0.8rem;
  line-height: 1.5;
}

.news-erro[hidden] {
  display: none;
}

.news-enviar {
  width: 100%;
  min-width: 0;
}

.news-enviar[disabled] {
  cursor: wait;
  opacity: 0.6;
}

.news-nota {
  margin: 14px 0 0;
  color: rgba(168, 175, 188, 0.7);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-align: center;
}

.news-pronto[hidden] {
  display: none;
}

.news-pronto .button {
  width: 100%;
  min-width: 0;
  margin-top: 6px;
}

@media (min-width: 720px) {
  .news-caixa {
    padding: 48px 42px 40px;
  }

  .news-caixa h2 {
    font-size: 2.3rem;
  }
}

/* Revelação suave ao rolar */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsivo */

@media (min-width: 720px) {
  .container {
    width: min(100% - 64px, 1180px);
  }

  .site-header {
    min-height: 88px;
    padding-inline: 32px;
  }

  .header-nav > a:not(.header-cta) {
    display: inline-flex;
  }

  .header-cta {
    padding-inline: 24px;
  }

  .blog-hero {
    padding: 196px 0 96px;
  }

  .featured {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .featured-media {
    min-height: 460px;
  }

  .featured-body {
    padding: 48px 44px;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-hero {
    padding: 216px 0 110px;
  }

  .blog-cta {
    padding: 64px 48px;
  }

  .footer-layout {
    align-items: end;
    grid-template-columns: 1fr auto auto;
  }

  .footer-layout > a:not(.brand),
  .footer-acoes {
    text-align: right;
  }

  .footer-legal {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .posts {
    padding-bottom: 132px;
  }
}

/* No celular não há largura para texto ao lado de imagem:
   toda figura volta a ocupar a linha inteira. */
@media (max-width: 719px) {
  .article-content figure.img-esquerda,
  .article-content figure.img-direita,
  .article-content figure.img-centro {
    float: none;
    width: 100% !important;
    margin: 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
