/* ══════════════════════════════════════════════════════
   RESET + VARIÁVEIS (idêntico à index)
══════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --map-deep:    #1c1409;
  --map-dark:    #2b1e0e;
  --map-mid:     #3d2b1f;
  --map-warm:    #5a3e28;
  --parch-dark:  #c9b99a;
  --parch:       #e8dfc8;
  --parch-light: #f2ead6;
  --cream:       #f5f0e8;
  --amber:       #c8861a;
  --amber-light: #e09b2a;
  --rust:        #b84a1e;
  --rust-light:  #d05a28;
  --sepia:       #8a6642;
  --smoke:       #6b5c4e;
  --worn:        #9c8570;
  --border:      rgba(61,43,31,0.18);
  --border-gold: rgba(200,134,26,0.35);
  --f-display: 'Anton', sans-serif;
  --f-serif:   'DM Serif Display', serif;
  --f-mono:    'Space Mono', monospace;
  --f-cond:    'Barlow Condensed', sans-serif;
  --touch-min: 48px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--cream);
  color: var(--map-mid);
  font-family: var(--f-cond);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

* { cursor: default; }
a, button { cursor: pointer; }

/* Grade de mapa sutil */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(61,43,31,0.02) 60px, rgba(61,43,31,0.02) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(61,43,31,0.02) 60px, rgba(61,43,31,0.02) 61px);
  pointer-events: none;
  z-index: 1000;
}

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--map-deep);
  border-bottom: 2px solid var(--amber);
}
.logo-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.logo-main {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--cream);
  letter-spacing: 5px;
  line-height: 1;
}
.logo-main span { color: var(--amber); }
.logo-sub {
  font-family: var(--f-mono);
  font-size: 0.45rem;
  color: var(--worn);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: none;
}
nav ul { list-style: none; display: flex; gap: 24px; align-items: center; }
nav a {
  font-family: var(--f-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--worn);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.3s;
}
nav a:hover { color: var(--amber); }
nav a:hover::after { width: 100%; }
.nav-cta {
  background: var(--rust) !important;
  color: var(--cream) !important;
  padding: 8px 16px !important;
  font-weight: 800 !important;
  min-height: var(--touch-min);
  display: flex !important;
  align-items: center !important;
}
.nav-cta:hover { background: var(--rust-light) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--cream);
  transition: all 0.3s;
  border-radius: 1px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

nav ul { display: none; }
nav ul.aberto {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: var(--map-deep);
  border-top: 2px solid var(--amber);
  padding: 32px 24px;
  gap: 0;
  z-index: 490;
  overflow-y: auto;
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
nav ul.aberto li { border-bottom: 1px solid rgba(255,255,255,0.06); }
nav ul.aberto li a {
  display: flex;
  align-items: center;
  padding: 18px 0;
  width: 100%;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--parch-dark);
  gap: 14px;
}
nav ul.aberto li a::before { content: '—'; color: var(--amber); font-size: 1rem; flex-shrink: 0; }
nav ul.aberto .nav-cta {
  margin-top: 24px;
  text-align: center;
  background: var(--rust) !important;
  justify-content: center;
  font-size: 1rem !important;
  padding: 16px !important;
  letter-spacing: 4px;
}
nav ul.aberto .nav-cta::before { display: none; }

/* ══════════════════════════════════════════════════════
   HERO DA POSTAGEM — banner de topo com foto de fundo
══════════════════════════════════════════════════════ */
.post-hero {
  min-height: 55svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  margin-top: 60px; /* header height */
}

/* Imagem de fundo do hero */
.post-hero-bg {
  position: absolute; inset: 0;
  background: var(--map-deep);
}
.post-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(30%) brightness(0.55) contrast(1.1);
  display: block;
}
/* Degradê de baixo para cima */
.post-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,20,9,0.95) 0%, rgba(28,20,9,0.4) 55%, transparent 100%);
}

/* Grade cartográfica sobre o hero */
.post-hero-grid {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(200,134,26,0.05) 0, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg,  rgba(200,134,26,0.04) 0, transparent 1px, transparent 80px);
  pointer-events: none;
}

/* Conteúdo do hero */
.post-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 40px;
}

/* Breadcrumb / caminho de volta */
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.post-breadcrumb a {
  font-family: var(--f-mono);
  font-size: 0.48rem;
  color: rgba(200,134,26,0.7);
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.2s;
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.post-breadcrumb a:hover { color: var(--amber); }
.post-breadcrumb span {
  font-family: var(--f-mono);
  font-size: 0.48rem;
  color: rgba(200,134,26,0.4);
  letter-spacing: 2px;
}

/* Badge categoria */
.post-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rust);
  color: var(--cream);
  font-family: var(--f-mono);
  font-size: 0.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 16px;
}

/* Título principal */
.post-hero-title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 14vw, 8rem);
  line-height: 0.87;
  letter-spacing: -1px;
  color: var(--cream);
  margin-bottom: 16px;
}
.post-hero-title em {
  font-style: normal;
  color: var(--amber);
  display: block;
}

/* Meta info (data + tempo de leitura) */
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 0.48rem;
  color: var(--parch-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.post-meta-item::before {
  content: '▸';
  color: var(--amber);
  font-size: 0.5rem;
}

/* ══════════════════════════════════════════════════════
   LAYOUT PRINCIPAL — artigo + sidebar
══════════════════════════════════════════════════════ */
.post-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ══════════════════════════════════════════════════════
   ARTIGO — conteúdo da postagem
══════════════════════════════════════════════════════ */
.post-article {
  padding: 48px 24px 64px;
  background: var(--parch-light);
  max-width: 100%;
}

/* Frase de abertura em destaque */
.post-lede {
  font-family: var(--f-serif);
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  font-style: italic;
  color: var(--map-warm);
  line-height: 1.8;
  padding: 0 0 28px;
  border-bottom: 2px solid var(--rust);
  margin-bottom: 36px;
  position: relative;
}
/* Detalhe decorativo */
.post-lede::before {
  content: '"';
  font-family: var(--f-display);
  font-size: 6rem;
  color: rgba(200,134,26,0.12);
  position: absolute;
  top: -20px; left: -8px;
  line-height: 1;
  pointer-events: none;
}

/* Foto principal dentro do artigo */
.post-photo-wrap {
  margin: 0 -24px 36px;
  position: relative;
  overflow: hidden;
}
.post-photo-wrap img {
  width: 100%;
  display: block;
  filter: sepia(20%) contrast(1.06);
}
.post-photo-caption {
  padding: 10px 24px;
  background: var(--map-dark);
  font-family: var(--f-mono);
  font-size: 0.46rem;
  color: var(--worn);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Parágrafos do corpo */
.post-body p {
  font-family: var(--f-cond);
  font-size: 1rem;
  color: var(--smoke);
  line-height: 1.85;
  margin-bottom: 20px;
  font-weight: 400;
}
.post-body p:last-child { margin-bottom: 0; }

/* Drop cap no primeiro parágrafo */
.post-body p:first-child::first-letter {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 0.75;
  float: left;
  margin-right: 8px;
  margin-top: 6px;
  color: var(--rust);
}

/* Pull quote — citação em destaque */
.pull-quote {
  border-left: 3px solid var(--amber);
  padding: 16px 20px;
  margin: 32px 0;
  background: rgba(200,134,26,0.05);
  position: relative;
}
.pull-quote p {
  font-family: var(--f-serif) !important;
  font-size: 1.15rem !important;
  font-style: italic;
  color: var(--map-warm) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}
.pull-quote::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 40px; height: 1px;
  background: var(--rust);
}

/* Divisor temático */
.post-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0;
}
.post-divider span {
  font-family: var(--f-mono);
  font-size: 0.5rem;
  color: var(--rust);
  letter-spacing: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.post-divider::before,
.post-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold));
}
.post-divider::after {
  background: linear-gradient(90deg, var(--border-gold), transparent);
}

/* ── Galeria de fotos do post ── */
.post-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 32px 0;
}
.post-gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--parch);
}
.post-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(20%) contrast(1.06);
  transition: transform 0.4s;
}
.post-gallery-item:active img { transform: scale(1.04); }
/* primeira foto ocupa linha inteira */
.post-gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* ── Tags de fim de post ── */
.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-tag {
  font-family: var(--f-mono);
  font-size: 0.46rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--border-gold);
  color: var(--amber);
  background: rgba(200,134,26,0.05);
}

/* ── Navegação entre posts (anterior / próximo) ── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 0;
  border-top: 1px solid var(--border);
}
.post-nav-item {
  padding: 20px 24px;
  background: var(--parch);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s;
  border: 1px solid var(--border);
  -webkit-tap-highlight-color: transparent;
  min-height: 80px;
}
.post-nav-item:hover, .post-nav-item:active { background: var(--parch-dark); }
.post-nav-label {
  font-family: var(--f-mono);
  font-size: 0.44rem;
  color: var(--rust);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.post-nav-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--map-deep);
  letter-spacing: 2px;
  line-height: 1;
}
.post-nav-item.next { text-align: right; }

/* ══════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════ */
.post-sidebar {
  padding: 40px 24px 64px;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

/* Info box da viagem — destaque lateral */
.trip-info-box {
  background: var(--map-dark);
  border: 1px solid var(--border-gold);
  padding: 20px;
  margin-bottom: 20px;
}
.trip-info-title {
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--amber);
  letter-spacing: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trip-info-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-gold);
}
.trip-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 12px;
}
.trip-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.trip-info-key {
  font-family: var(--f-mono);
  font-size: 0.46rem;
  color: var(--worn);
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.trip-info-val {
  font-family: var(--f-cond);
  font-size: 0.88rem;
  color: var(--parch-dark);
  font-weight: 600;
  text-align: right;
}

/* Widgets */
.widget {
  background: var(--cream);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 16px;
}
.widget-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--map-dark);
}
.widget-head-text {
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--amber);
  letter-spacing: 4px;
}
.widget-head-dot {
  width: 6px; height: 6px;
  background: var(--rust);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
.widget-body { padding: 16px 18px; }

.recent-item {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(61,43,31,0.15);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-item p { font-family: var(--f-cond); font-size: 0.9rem; color: var(--smoke); line-height: 1.5; }
.recent-item a {
  font-family: var(--f-mono);
  font-size: 0.48rem;
  color: var(--rust);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  min-height: 36px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.recent-item a:hover, .recent-item a:active { color: var(--amber); }

.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(61,43,31,0.15);
  text-decoration: none;
  font-family: var(--f-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--map-mid);
  transition: all 0.2s;
  min-height: var(--touch-min);
  -webkit-tap-highlight-color: transparent;
}
.cat-item:last-child { border-bottom: none; }
.cat-item:hover, .cat-item:active { color: var(--rust); padding-left: 6px; }
.cat-arrow { font-size: 0.8rem; color: var(--amber); }

/* Botão voltar */
.btn-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--rust);
  color: var(--cream);
  font-family: var(--f-cond);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 20px;
  min-height: var(--touch-min);
  width: 100%;
  transition: background 0.2s;
  margin-bottom: 20px;
  -webkit-tap-highlight-color: transparent;
}
.btn-back::before { content: '←'; font-size: 1rem; }
.btn-back:hover, .btn-back:active { background: var(--rust-light); }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
  background: var(--map-deep);
  border-top: 3px solid var(--amber);
  padding: 48px 24px 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-brand-name {
  font-family: var(--f-display);
  font-size: 2rem;
  letter-spacing: 5px;
  color: var(--cream);
  margin-bottom: 4px;
}
.footer-brand-name span { color: var(--amber); }
.footer-tagline {
  font-family: var(--f-mono);
  font-size: 0.46rem;
  letter-spacing: 4px;
  color: var(--worn);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-about { font-family: var(--f-cond); color: var(--sepia); font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--amber);
  letter-spacing: 4px;
  margin-bottom: 14px;
}
.footer-col a {
  display: flex;
  align-items: center;
  font-family: var(--f-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--worn);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.2s;
  min-height: var(--touch-min);
  -webkit-tap-highlight-color: transparent;
}
.footer-col a:hover, .footer-col a:active { color: var(--amber); padding-left: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.footer-copy { font-family: var(--f-mono); font-size: 0.46rem; letter-spacing: 3px; text-transform: uppercase; color: var(--worn); }
.footer-made { font-family: var(--f-mono); font-size: 0.46rem; letter-spacing: 3px; color: var(--worn); display: flex; align-items: center; justify-content: center; gap: 6px; }
.footer-made span { color: var(--amber); }

/* Voltar ao topo */
#topo-btn {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 48px; height: 48px;
  background: var(--rust);
  color: var(--cream);
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(184,74,30,0.4);
  -webkit-tap-highlight-color: transparent;
}
#topo-btn.vis { opacity: 1; pointer-events: auto; }
#topo-btn:hover, #topo-btn:active { transform: translateY(-3px); background: var(--amber); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.shown { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════
   TABLET ≥ 640px
══════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .post-gallery { grid-template-columns: repeat(3, 1fr); }
  .post-gallery-item:first-child { grid-column: span 3; }
  .post-hero-content { padding: 0 40px 48px; }
  .post-article { padding: 56px 40px 72px; }
  .post-photo-wrap { margin: 0 -40px 36px; }
  .post-sidebar { padding: 48px 40px 72px; }
}

/* ══════════════════════════════════════════════════════
   DESKTOP ≥ 1024px
══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  header { padding: 0 40px; height: 68px; }
  .logo-sub { display: block; }
  .hamburger { display: none; }
  nav ul { display: flex !important; flex-direction: row; position: static; background: none; border: none; padding: 0; animation: none; }
  nav ul li { border: none; }
  nav ul li a { display: inline-flex; padding: 6px 0; font-size: 0.72rem; }
  nav ul.aberto li a::before { display: none; }

  .post-hero { min-height: 65vh; margin-top: 68px; }
  .post-hero-content { padding: 0 60px 60px; max-width: 900px; }

  .post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: start;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
  }

  .post-article { padding: 72px 60px 80px; }
  .post-photo-wrap { margin: 0 -60px 40px; }
  .post-sidebar {
    padding: 72px 36px 80px;
    border-top: none;
    border-left: 1px solid var(--border);
    position: sticky;
    top: 68px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    scrollbar-width: thin;
    background: var(--parch-light);
  }

  .post-gallery { grid-template-columns: repeat(3, 1fr); }
  .post-gallery-item:first-child { grid-column: span 3; }

  footer { padding: 60px 60px 30px; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
  .footer-grid-links { display: contents; }
  .footer-bottom { flex-direction: row; text-align: left; }
  .footer-brand-name { font-size: 2.8rem; }
}

/* Safe area iPhone */
@supports (padding: env(safe-area-inset-bottom)) {
  footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  #topo-btn { bottom: max(20px, env(safe-area-inset-bottom)); }
}