/*
Theme Name:  Mundo Lenny
Theme URI:   https://mundolenny.com.br
Author:      Lenny Niemeyer
Author URI:  https://lennyniemeyer.com.br
Description: Tema oficial do blog Mundo Lenny — moda praia, lifestyle e sustentabilidade.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mundo-lenny
Tags:        fashion, blog, magazine, custom-menu, featured-images, post-thumbnails
*/

/* ── RESET & ROOT ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #ffffff;
  --bg: #fafafa;
  --gray-50: #f5f5f5;
  --gray-100: #ebebeb;
  --gray-200: #d6d6d6;
  --gray-300: #b8b8b8;
  --gray-400: #999999;
  --gray-500: #777777;
  --gray-700: #444444;
  --black: #111111;
  --font: 'Usual', sans-serif;
  --max: 1520px;
  --px: 48px;
  --col: 860px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  width: 100% !important;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── UTILITIES ── */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.meta {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}
.dot { color: var(--gray-200); font-size: 10px; }

/* ── PLACEHOLDER IMAGES (fallback) ── */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.ph-1  { background: linear-gradient(135deg, #e8e4df 0%, #d0cbc4 100%); }
.ph-2  { background: linear-gradient(135deg, #e2ddd8 0%, #c8c2ba 100%); }
.ph-3  { background: linear-gradient(135deg, #ddd8d2 0%, #c4bdb5 100%); }
.ph-4  { background: linear-gradient(135deg, #d8d2cc 0%, #bfb8b0 100%); }
.ph-5  { background: linear-gradient(135deg, #d3cdc7 0%, #bab2aa 100%); }
.ph-6  { background: linear-gradient(135deg, #cec8c1 0%, #b5ada4 100%); }
.ph-7  { background: linear-gradient(135deg, #c9c2bb 0%, #b0a89f 100%); }
.ph-8  { background: linear-gradient(135deg, #c3bbb3 0%, #aaa29a 100%); }
.ph-dark { background: linear-gradient(135deg, #2a2724 0%, #1a1614 100%); }
.ph-med  { background: linear-gradient(135deg, #5c5550 0%, #3d3832 100%); }
.ph-sand { background: linear-gradient(135deg, #b8ad9e 0%, #9e9080 100%); }
.ph-warm { background: linear-gradient(135deg, #d4c8b8 0%, #b8aa98 100%); }

/* placeholders inside relative containers */
.ph-1, .ph-2, .ph-3, .ph-4, .ph-5, .ph-6,
.ph-dark, .ph-med, .ph-sand, .ph-warm {
  position: absolute;
  inset: 0;
}

/* real images sit above placeholders */
.post-card-img img,
.hero-image-wrap img,
.cat-card > img,
.article-cover-img img,
.sidebar-card-img img,
.article-img img,
.article-img-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform .6s ease;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-text {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.40em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}
.nav-left {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
}
.nav-left ul#menu-idiomas{
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 36px;
  margin: 0;
  padding: 0;
}
.nav-left ul#menu-idiomas li{list-style: none;}
.nav-left a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  transition: color .2s;
}
.nav-left a:hover { color: var(--gray-500); }
.nav-left a.active,
.nav-left .current-menu-item > a,
.nav-left .current-menu-ancestor > a {
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
}

/* nav-left: links diretos gerados pelo Walker customizado */

.nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}
.nav-right a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color .2s;
}
.nav-right a:hover { color: var(--black); }
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}
.lang-switcher span { color: var(--gray-200); }
.lang-switcher a { color: var(--gray-400); transition: color .2s; }
.lang-switcher a:hover, .lang-switcher a.active { color: var(--black); }
.nav-search-icon {
  cursor: pointer;
  color: var(--gray-400);
  transition: color .2s;
  display: flex;
  align-items: center;
}
.nav-search-icon:hover { color: var(--black); }

/* ── SEARCH OVERLAY ── */
.search-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
}
.search-overlay.active { display: flex; }
.search-overlay-inner {
  width: 100%;
  max-width: var(--max);
  padding: 0 var(--px);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gray-300);
  padding-bottom: 2px;
}
.search-input-wrap input {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--black);
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
}
.search-input-wrap input::placeholder { color: var(--gray-300); }
.search-submit {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  padding: 0;
  transition: color .2s;
  flex-shrink: 0;
}
.search-submit:hover { color: var(--black); }
.search-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 18px;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color .2s;
  margin-left: 8px;
  flex-shrink: 0;
  line-height: 1;
}
.search-close:hover { color: var(--black); }

/* ── HERO DESTAQUE ── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--px) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  min-height: 500px;
  text-decoration: none;
  color: inherit;
}
.hero-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
  width: 100%;
}
.hero-image-wrap img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.hero-inner:hover .hero-image-wrap img { transform: scale(1.02); }
.hero-content {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-content-top { display: flex; flex-direction: column; gap: 20px; }
.hero-title {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
}
.hero-excerpt {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gray-500);
  max-width: 380px;
}
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  transition: gap .3s;
}
.btn-read:hover { gap: 16px; }
.btn-read::after { content: '→'; font-size: 14px; }

/* ── SECTION HEADER ── */
.section-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--px) 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.section-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}
.section-link {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-link:hover { color: var(--black); }
.section-link::after { content: '→'; }

/* ── POST GRID (4 cols) ── */
.posts-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.posts-grid .post-card { border: none; }

.posts-grid-row2 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.posts-grid-row2 .post-card { border: none; }

/* ── POST CARD ── */
.post-card {
  cursor: pointer;
  transition: background .2s;
  background: var(--white);
}
.post-card:hover { background: var(--gray-50); }
.post-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body {
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-card-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--black);
  letter-spacing: -0.01em;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── LOAD MORE ── */
.load-more-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--px);
  display: flex;
  justify-content: center;
}
.btn-load {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  padding: 13px 48px;
  transition: all .2s;
  cursor: pointer;
  background: none;
}
.btn-load:hover { border-color: var(--black); color: var(--black); }

/* ── APP BANNER ── */
.banner-app {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 0 var(--px);
}
.banner-app-inner {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 220px;
}
.banner-app-text {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.banner-app-eyebrow {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.banner-app-title {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 200;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.25;
}
.banner-app-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 340px;
}
.banner-app-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 4px;
  width: fit-content;
  transition: border-color .3s;
}
.banner-app-cta:hover { border-color: var(--white); }
.banner-app-cta::after { content: '→'; }
.banner-app-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: linear-gradient(135deg, #1c1c1c 0%, #0a0a0a 100%);
  min-height: 280px;
}
.banner-app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
}
.app-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 8px 14px;
  width: 120px;
  cursor: pointer;
  transition: background .2s;
}
.app-badge:hover { background: rgba(255,255,255,0.1); }
.app-badge-icon { font-size: 16px; color: rgba(255,255,255,0.7); }
.app-badge-text { display: flex; flex-direction: column; gap: 1px; }
.app-badge-text small {
  font-size: 7px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.app-badge-text span {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}

/* ── MAIS LIDAS GRID ── */
.mais-lidas-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.mais-lidas-grid .post-card { border: none; }

/* ── CATEGORIAS ── */
.categorias-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
}
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
}
.cat-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.cat-bg,
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.cat-card:hover .cat-bg,
.cat-card:hover img { transform: scale(1.04); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.08) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
  z-index: 1;
}
.cat-name {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}
.categorias-grid-row2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-top: none;
}

/* ── NEWSLETTER SECTION ── */
.newsletter-section {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 0 var(--px);
}
.newsletter-inner {
  border: 1px solid var(--gray-100);
  padding: 56px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nl-left { display: flex; flex-direction: column; gap: 16px; }
.nl-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.nl-title {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--black);
}
.nl-sub {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-500);
}
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-form input {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 13px 18px;
  outline: none;
  transition: border .2s;
  width: 100%;
}
.nl-form input::placeholder { color: var(--gray-300); }
.nl-form input:focus { border-color: var(--black); }
.nl-submit {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 14px;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
  margin-top: 4px;
}
.nl-submit:hover { background: var(--gray-700); }
.nl-privacy {
  font-size: 10px;
  font-weight: 300;
  color: var(--gray-300);
  letter-spacing: 0.03em;
}

/* ── FOOTER ── */
footer {
  margin-top: 56px;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.footer-inner { max-width: 95%; margin: 0 auto; }

.footer-nl-strip {
  padding: 36px 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--gray-100);
}
.fnl-title {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.5;
  white-space: nowrap;
}
.fnl-sub {
  font-size: 10px;
  font-weight: 300;
  color: var(--gray-400);
  letter-spacing: 0.03em;
}
.fnl-fields {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.fnl-fields input {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 300;
  color: var(--black);
  border: 1px solid var(--gray-200);
  border-right: none;
  padding: 11px 20px;
  outline: none;
  flex: 1;
  min-width: 220px;
  transition: border .2s;
  background: var(--white);
}
.fnl-fields input::placeholder { color: var(--gray-300); }
.fnl-fields input:focus { border-color: var(--gray-400); }
.fnl-fields input:last-of-type { border-right: 1px solid var(--gray-200); }
.fnl-btn {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--gray-200);
  border-left: none;
  color: var(--black);
  padding: 11px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.fnl-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 48px 64px 40px;
  gap: 24px;
  border-bottom: 1px solid var(--gray-100);
}
.fc-head {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 18px;
  display: block;
}
.fc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.fc-list a {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray-500);
  transition: color .2s;
  letter-spacing: 0.02em;
}
.fc-list a:hover { color: var(--black); }
.fc-social-icons {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 10px 0;
}
.fc-social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: opacity .2s;
}
.fc-social-icons li a:hover { opacity: 0.6; }
.fc-social-icons li a img { width: 28px; height: 28px; object-fit: contain; }
.app-store-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.app-store-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gray-200);
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: border-color .2s, color .2s;
  width: fit-content;
}
.app-store-btn:hover { border-color: var(--black); color: var(--black); }
.app-store-btn svg { flex-shrink: 0; }
.footer-logo-bar {
  padding: 20px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.footer-bottom {
  padding: 16px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--gray-50);
}
.footer-bottom p, .footer-bottom a {
  font-size: 10px;
  font-weight: 300;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}
.footer-bottom a:hover { color: var(--black); }
.footer-bottom-right { display: flex; gap: 24px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--px) 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a, .breadcrumb span {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--black); }
.breadcrumb .sep { color: var(--gray-200); }
.breadcrumb .current { color: var(--black); font-weight: 400; }

/* ── CATEGORY PAGE ── */
.cat-hero {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 0 var(--px);
}
.cat-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--gray-100);
  min-height: 320px;
}
.cat-hero-featured {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.cat-hero-featured img,
.cat-hero-featured .img-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
  z-index: 0;
}
.cat-hero-featured:hover img { transform: scale(1.03); }
.cat-hero-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 44px;
  gap: 14px;
}
.cat-hero-featured-title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -0.01em;
}
.cat-hero-featured-meta { color: rgba(255,255,255,0.55); }
.cat-hero-featured-meta .tag { color: rgba(255,255,255,0.6); }
.cat-hero-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--gray-100);
}
.cat-hero-side-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100px;
}
.cat-hero-side-card img,
.cat-hero-side-card .img-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s ease;
}
.cat-hero-side-card:hover img { transform: scale(1.04); }
.cat-side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 28px;
  gap: 8px;
}
.cat-side-title {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--white);
}
.cat-side-meta { color: rgba(255,255,255,0.5); }

/* Category header */
.cat-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px var(--px) 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 20px;
}
.cat-header-left { display: flex; flex-direction: column; gap: 6px; }
.cat-header-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.cat-header-title {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--black);
}
.cat-header-count {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}
.cat-filter {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.cat-filter-btn {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
  padding: 8px 18px;
  background: none;
  cursor: pointer;
  transition: all .2s;
}
.cat-filter-btn:hover,
.cat-filter-btn.active { border-color: var(--black); color: var(--black); }

/* Category grid */
.cat-grid-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--px) 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.cat-grid .post-card { border: none; }
.cat-grid .post-card-img { aspect-ratio: 3 / 4; }

/* Pagination */
.cat-pagination {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  border: 1px solid transparent;
  transition: all .2s;
}
.page-numbers:hover { border-color: var(--gray-200); color: var(--black); }
.page-numbers.current { border-color: var(--black); color: var(--black); }
.page-numbers.dots { border: none; }

/* ── SINGLE POST / ARTICLE ── */
.article-header {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 0 var(--px);
  text-align: left;
}
.article-tag-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.article-tag-link {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color .2s;
}
.article-tag-link:hover { color: var(--black); }
.article-title {
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 100%;
  margin-bottom: 24px;
}
.article-excerpt {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 680px;
  margin-bottom: 32px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
  flex-wrap: wrap;
}
.article-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.author-name {
  font-size: 12px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.02em;
}
.author-role {
  font-size: 10px;
  font-weight: 300;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.meta-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-100);
}
.share-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.share-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: opacity .2s;
}
.share-btn:hover { opacity: 0.6; }
.share-btn img { width: 22px; height: 22px; object-fit: contain; }

/* Article cover image */
.article-cover {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 0 var(--px);
}
.article-cover-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  position: relative;
}
.article-cover-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Article layout: body + sidebar */
.article-layout {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* Article body typography */
.article-body {
  max-width: var(--col);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--black);
}
.article-body p { margin-bottom: 24px; }
.article-body h2 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 48px 0 20px;
  line-height: 1.25;
}
.article-body h3 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 32px 0 14px;
}
.article-body ul, .article-body ol {
  padding-left: 20px;
  margin-bottom: 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--black); border-bottom: 1px solid var(--gray-200); transition: border-color .2s; }
.article-body a:hover { border-color: var(--black); }
.article-body blockquote,
.article-body .pull-quote {
  border-left: none;
  padding: 36px 48px;
  margin: 40px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.article-body blockquote p,
.article-body .pull-quote p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--gray-700);
  letter-spacing: -0.01em;
  margin: 0;
  font-style: italic;
}
.article-img {
  margin: 40px 0;
  position: relative;
}
.article-img img {
  width: 100%;
  display: block;
  position: relative;
}
.article-img figcaption {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-400);
  margin-top: 12px;
  letter-spacing: 0.04em;
  text-align: left;
}
.article-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 40px 0;
}
.article-img-grid figure { position: relative; }
.article-img-grid img { width: 100%; display: block; }
.article-img-grid figcaption {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-400);
  margin-top: 8px;
  letter-spacing: 0.03em;
}

/* Author box */
.author-box {
  max-width: var(--max);
  margin: 64px auto 0;
  padding: 0 var(--px);
}
.author-box-inner {
  border: 1px solid var(--gray-100);
  padding: 40px 48px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.author-box-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.author-box-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.author-box-name {
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 12px;
}
.author-box-bio {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-500);
}

/* Sidebar */
.article-sidebar { position: sticky; top: 80px; }
.sidebar-section-title {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
}
.sidebar-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: opacity .2s;
}
.sidebar-card:hover { opacity: 0.75; }
.sidebar-card:first-of-type { border-top: 1px solid var(--gray-100); }
.sidebar-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}
.sidebar-card-img img,
.sidebar-card-img .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-card-body { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.sidebar-card-title {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
}
.sidebar-card-meta { font-size: 10px; font-weight: 300; color: var(--gray-400); letter-spacing: 0.04em; }
.sidebar-nl {
  margin-top: 32px;
  border: 1px solid var(--gray-100);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-nl-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.4;
}
.sidebar-nl-sub {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1.6;
}
.sidebar-nl input {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 300;
  color: var(--black);
  border: 1px solid var(--gray-200);
  padding: 10px 14px;
  outline: none;
  transition: border .2s;
  width: 100%;
  background: var(--white);
}
.sidebar-nl input::placeholder { color: var(--gray-300); }
.sidebar-nl input:focus { border-color: var(--black); }
.sidebar-nl button {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 11px 14px;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
}
.sidebar-nl button:hover { background: var(--gray-700); }

/* Related posts */
.related-section {
  max-width: var(--max);
  margin: 64px auto 0;
  padding: 0 var(--px);
}
.related-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.related-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}
.related-link {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.related-link:hover { color: var(--black); }
.related-link::after { content: '→'; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.related-grid .post-card { border: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner { animation: fadeUp .7s ease both; }

/* ── WORDPRESS CORE FIXES ── */
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-400);
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1280px) {
  .article-layout { grid-template-columns: 1fr 280px; gap: 32px; }
}
@media (max-width: 1024px) {
  .posts-grid,
  .posts-grid-row2,
  .mais-lidas-grid { grid-template-columns: repeat(2, 1fr); }
  .categorias-grid, .categorias-grid-row2 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .footer-nl-strip { grid-template-columns: 1fr; }
  .fnl-fields { flex-wrap: wrap; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: relative; top: 0; }
}
@media (max-width: 768px) {
  :root { --px: 20px; }
  .nav-left { display: none; }
  .nav-inner { grid-template-columns: auto auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { border-left: none; border-top: 1px solid var(--gray-100); }
  .posts-grid, .posts-grid-row2, .mais-lidas-grid { grid-template-columns: 1fr 1fr; }
  .categorias-grid, .categorias-grid-row2 { grid-template-columns: 1fr; }
  .cat-hero-inner { grid-template-columns: 1fr; }
  .cat-hero-side { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .banner-app-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; }
  .footer-logo-bar, .footer-bottom, .footer-nl-strip { padding: 20px 24px; }
  .article-img-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .author-box-inner { flex-direction: column; }
}

.cat-sort-btns {
  display: flex;
  gap: 0;
  border: 1px solid var(--gray-200);
}

.cat-sort-btn {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  border: none;
  background: none;
  padding: 9px 18px;
  cursor: pointer;
  border-right: 1px solid var(--gray-200);
  transition: background .2s, color .2s;
}

.cat-sort-btn:last-child { border-right: none; }
.cat-sort-btn:hover { background: var(--gray-50); color: var(--black); }
.cat-sort-btn.active { background: var(--black); color: var(--white); }