/*
Theme Name: Leme
Description: Tema de blog de bairro inspirado em layout de revista de viagem — hero com foto, grid de cards e rodapé escuro. Feito para o Blog do Leme (RJ).
Author: Blog do Leme
Version: 1.1
Text Domain: leme
*/

/* ============ Tokens ============ */
:root {
  --bg-page: #eeedea;
  --bg-card: #ffffff;
  --ink: #131311;
  --ink-soft: #3d3d38;
  --gray: #8b8b85;
  --gray-soft: #66665f;
  --line: #e8e7e3;
  --pill: #f2f1ed;
  --dark: #0f0f0e;
  --accent: #0a6ea8;

  --radius-shell: 26px;
  --radius-card: 16px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

  /* espaçamento fluido */
  --pad-x: clamp(20px, 4vw, 40px);
  --pad-section: clamp(34px, 6vw, 52px);
  --gap-grid: clamp(24px, 3vw, 32px);
}

/* ============ Reset ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  font-size: 16px;
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding: clamp(0px, 2.5vw, 26px) clamp(0px, 2.5vw, 22px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font-family: inherit; font-size: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, label:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-shell);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 20, 15, .05), 0 16px 48px rgba(20, 20, 15, .06);
}
@media (max-width: 700px) {
  body { padding: 0; }
  .shell { border-radius: 0; box-shadow: none; }
}

/* ============ Navbar ============ */
.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: clamp(14px, 2.5vw, 20px) var(--pad-x);
  color: #fff;
}
.topbar--solid {
  position: relative;
  background: var(--dark);
}
body.admin-bar .topbar:not(.topbar--solid) { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .topbar:not(.topbar--solid) { top: 46px; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: clamp(15px, 2vw, 16.5px);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand svg { width: 25px; height: 25px; flex-shrink: 0; }

.nav-open { position: absolute; opacity: 0; pointer-events: none; }

.nav-panel { display: contents; }

.nav-links {
  display: flex;
  gap: 2px;
  font-size: 13.5px;
  font-weight: 500;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 9px;
  opacity: .9;
  transition: background .15s, opacity .15s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .14); opacity: 1; }
.nav-links .only-mobile { display: none; }

.nav-search { flex: 1; max-width: 280px; margin-left: auto; }
.nav-search form { position: relative; }
.nav-search input {
  width: 100%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  padding: 9px 40px 9px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: background .15s, border-color .15s;
}
.nav-search input:focus { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .4); }
.nav-search input::placeholder { color: rgba(255, 255, 255, .72); }
.nav-search .search-ico {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nav-search .search-ico:hover { background: rgba(255, 255, 255, .15); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin-left: auto;
}
.nav-search + .nav-actions { margin-left: 0; }
.nav-actions .ghost { padding: 8px 10px; opacity: .9; border-radius: 9px; }
.nav-actions .ghost:hover { opacity: 1; background: rgba(255, 255, 255, .14); }

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 10px;
  transition: transform .15s, box-shadow .15s;
}
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger svg { width: 18px; height: 18px; }

/* menu mobile */
@media (max-width: 1020px) {
  .nav-burger { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    left: 12px;
    right: 12px;
    background: rgba(14, 14, 13, .96);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  }
  .nav-open:checked ~ .nav-panel { display: block; }
  .nav-links { flex-direction: column; gap: 1px; }
  .nav-links a { padding: 12px 14px; font-size: 14.5px; opacity: .95; }
  .nav-links .only-mobile { display: block; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 6px; padding-top: 14px; }
  .nav-search { max-width: none; margin: 10px 4px 6px; }
  .nav-actions .ghost { display: none; }
}

/* ============ Avatar ============ */
.avatar {
  width: 27px; height: 27px;
  border-radius: 50%;
  background: linear-gradient(135deg, #075985, #38bdf8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: clamp(420px, 58vh, 560px);
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.post-hero { min-height: clamp(360px, 48vh, 480px); }

.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .06) 36%, rgba(0, 0, 0, .66) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(22px, 4vw, 40px) var(--pad-x);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 28px);
}

.hero-pill {
  display: inline-block;
  background: rgba(20, 20, 18, .5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 11.5px;
  font-weight: 550;
  letter-spacing: .02em;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: clamp(10px, 2vw, 16px);
  transition: background .15s;
}
.hero-pill:hover { background: rgba(20, 20, 18, .75); }

.hero-title {
  font-size: clamp(25px, 4.5vw, 40px);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.12;
  max-width: 620px;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero-title a:hover { text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 4px; }

.hero-excerpt {
  margin-top: clamp(8px, 1.5vw, 12px);
  font-size: clamp(13.5px, 1.6vw, 14.5px);
  color: rgba(255, 255, 255, .88);
  max-width: 460px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-dots { display: flex; gap: 6px; margin-top: clamp(14px, 3vw, 24px); }
.hero-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.hero-dots span:first-child { background: #fff; width: 18px; border-radius: 99px; }

.hero-side { text-align: right; flex-shrink: 0; }
.hero-author {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
}
.hero-meta { margin-top: 7px; font-size: 12.5px; color: rgba(255, 255, 255, .85); }

@media (max-width: 880px) {
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-side { text-align: left; }
  .hero-author { justify-content: flex-start; }
  .hero-dots { display: none; }
  .hero-side { display: flex; align-items: center; gap: 14px; }
  .hero-meta { margin-top: 0; }
}

/* ============ Seções ============ */
.section {
  padding: var(--pad-section) var(--pad-x) 12px;
}
.section-head h2 {
  font-size: clamp(23px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.section-head p {
  color: var(--gray-soft);
  font-size: 13.5px;
  margin-top: 6px;
  max-width: 560px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(18px, 3vw, 26px);
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tabs a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 10px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.tabs a:hover { background: var(--pill); color: var(--ink); }
.tabs a.active { background: var(--ink); font-weight: 600; color: #fff; }

.sortby {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--gray);
}
.sortby .fake-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 550;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .sortby { display: none; }
  .tabs { margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
}

/* ============ Grid de cards ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 38px) var(--gap-grid);
  margin-top: clamp(22px, 3.5vw, 30px);
}
@media (max-width: 1020px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .grid { grid-template-columns: 1fr; gap: 34px; } }

.card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #e3e2de;
  display: block;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.2, .6, .25, 1);
}
.card:hover .card-img img { transform: scale(1.04); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(18, 18, 16, .55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: .02em;
  padding: 5px 11px;
  border-radius: 999px;
}

.card-meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 7px;
}
.card-meta b { font-weight: 400; }

.card-title {
  margin-top: 7px;
  font-size: clamp(16.5px, 2vw, 18px);
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: -.012em;
}
.card-title a { transition: color .15s; }
.card-title a:hover { color: var(--accent); }

.card-excerpt {
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--gray-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-author {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.card-author .avatar { width: 25px; height: 25px; font-size: 11px; }

/* ============ Paginação ============ */
.pager {
  display: flex;
  justify-content: center;
  margin: clamp(36px, 5vw, 48px) 0 10px;
}
.pager .nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pager .page-numbers {
  min-width: 38px; height: 38px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-soft);
  transition: border-color .15s, background .15s;
}
.pager .page-numbers:hover { border-color: #b9b8b2; }
.pager .page-numbers.current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  font-weight: 600;
}
.pager .page-numbers.dots { border: none; }

/* ============ CTA ============ */
.cta {
  padding: clamp(28px, 5vw, 44px) var(--pad-x) var(--pad-section);
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 16px;
}
@media (max-width: 880px) { .cta { grid-template-columns: 1fr; } }

.cta-col { display: flex; flex-direction: column; gap: 16px; }

.cta-dark {
  background: var(--dark);
  color: #fff;
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 30px);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta-dark .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cta-dark h3 {
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.22;
  max-width: 260px;
  text-wrap: balance;
}
.cta-dark p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
  max-width: 300px;
}
.cta-dark .btn-light { margin-top: 20px; }

.cta-count {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: clamp(130px, 18vw, 160px);
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.cta-count img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-count::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .68));
}
.cta-count div { position: relative; z-index: 2; padding: 18px 24px 20px; }
.cta-count small { font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.cta-count strong { display: block; font-size: clamp(32px, 4vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }

.cta-big {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: clamp(300px, 42vw, 430px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.cta-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-big::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .34); }
.cta-big h3 {
  position: relative;
  z-index: 2;
  font-size: clamp(19px, 2.8vw, 27px);
  font-weight: 650;
  letter-spacing: -.016em;
  line-height: 1.32;
  max-width: 460px;
  padding: 0 clamp(18px, 4vw, 28px);
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: clamp(34px, 5vw, 46px) var(--pad-x) 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: clamp(26px, 4vw, 38px);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

.footer-grid .brand { font-size: 15.5px; }
.footer-mission {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 15px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
  transition: color .15s;
}
.footer-col ul a:hover { color: #fff; }

.newsletter p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 12px;
  line-height: 1.6;
}
.newsletter form {
  display: flex;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 4px;
}
.newsletter input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  padding: 9px 11px;
  min-width: 0;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .48); }
.newsletter button {
  background: #fff;
  color: var(--ink);
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: transform .15s;
}
.newsletter button:hover { transform: translateY(-1px); }

.socials { display: flex; gap: 9px; margin-top: 18px; }
.socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s;
}
.socials a:hover { background: rgba(255, 255, 255, .24); transform: translateY(-1px); }
.socials svg { width: 14px; height: 14px; fill: #fff; }

.footer-bottom {
  margin-top: clamp(28px, 4vw, 38px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: #fff; }

/* ============ Post / Página ============ */
.post-hero .hero-title { max-width: 760px; }

.entry-header-simple {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 60px) 22px 0;
}
.entry-header-simple h1 {
  font-size: clamp(27px, 4.5vw, 36px);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.14;
  text-wrap: balance;
}

.entry {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 52px) 22px 26px;
}

.entry-content > * + * { margin-top: 1.25em; }
.entry-content p {
  font-size: clamp(16px, 1.8vw, 17.5px);
  line-height: 1.78;
  color: #2c2c27;
}
.entry-content h2 {
  font-size: clamp(20.5px, 2.6vw, 24px);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.25;
  margin-top: 2em;
}
.entry-content h3 {
  font-size: clamp(17.5px, 2.2vw, 19px);
  font-weight: 650;
  letter-spacing: -.012em;
  margin-top: 1.8em;
}
.entry-content ul, .entry-content ol {
  padding-left: 24px;
  list-style: disc;
}
.entry-content ol { list-style: decimal; }
.entry-content li {
  font-size: clamp(15.5px, 1.7vw, 16.5px);
  line-height: 1.72;
  color: #2c2c27;
  margin-bottom: .55em;
  padding-left: 4px;
}
.entry-content li::marker { color: var(--gray); }
.entry-content blockquote {
  border-left: 3px solid var(--ink);
  padding: 4px 0 4px 22px;
  margin-top: 1.8em;
  margin-bottom: 1.8em;
}
.entry-content blockquote p {
  font-size: clamp(17.5px, 2.2vw, 19.5px);
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
}
.entry-content img { border-radius: 14px; }
.entry-content figure figcaption {
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 8px;
  text-align: center;
}
.entry-content .has-small-font-size {
  font-size: 12.5px;
  color: var(--gray);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 2.2em;
}
.entry-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* navegação entre posts */
.post-nav {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 22px clamp(38px, 6vw, 54px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.005em;
  transition: border-color .15s, box-shadow .15s;
}
.post-nav a:hover { border-color: #b9b8b2; box-shadow: 0 4px 16px rgba(20, 20, 15, .06); }
.post-nav small {
  display: block;
  color: var(--gray);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.post-nav .next { text-align: right; }

/* ============ Comentários ============ */
.comments-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px clamp(44px, 6vw, 60px);
}
.comments-wrap h2, .comments-wrap h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 18px; }
.comments-wrap .comment-list > li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.65;
}
.comments-wrap .comment-list .children { margin-top: 12px; padding-left: 18px; list-style: none; }
.comments-wrap .comment-meta { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.comments-wrap .reply { font-size: 12.5px; margin-top: 8px; }
.comments-wrap .reply a { color: var(--accent); font-weight: 600; }

.comment-form label { display: block; font-size: 12.5px; font-weight: 550; margin: 14px 0 6px; color: var(--ink-soft); }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
  background: #fff;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit {
  margin-top: 16px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 11px;
  cursor: pointer;
  transition: transform .15s;
}
.comment-form .submit:hover { transform: translateY(-1px); }
.comment-form .comment-notes, .comment-form .logged-in-as { font-size: 12.5px; color: var(--gray); margin-bottom: 6px; }

/* ============ Vazio ============ */
.empty-note {
  padding: 30px 0 10px;
  color: var(--gray-soft);
  font-size: 14.5px;
}
.empty-note a { color: var(--accent); text-decoration: underline; }

/* ============ Acessibilidade / preferências ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover .card-img img { transform: none; }
}
