/* ─── BASE: reset, variáveis e componentes reaproveitados em mais de um
   template (front-page, index, page-sobre, archive). Carregado em todo o
   site. Estilos exclusivos da front page ficam em home.css. ─── */

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

:root {
  --ink: #1a1410;
  --ink-soft: #3d3028;
  --parchment: #f5f0e8;
  --parchment-warm: #ede6d5;
  --parchment-deep: #d9cfb8;
  --sepia: #8b6f47;
  --sepia-light: #c4a882;
  --sepia-pale: #f0e6d0;
  --rust: #8c3a1e;
  --rust-light: #c0674a;
  --sage: #4a6741;
  --sage-light: #7a9e74;
  --midnight: #1c2340;
  --gold: #b8962a;
  --gold-light: #d4b05a;
  --cream-white: #faf8f2;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-text: 'Crimson Pro', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  background: var(--cream-white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
}

/* ─── SECTION TITLES ─── (usado em front-page, index e page-sobre) */
.section-label {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--sepia);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
}

/* ─── CATEGORIES SECTION WRAPPER ─── (usado em front-page, index e page-sobre;
   .categories-grid/.cat-card ficam em home.css — só o #literatura usa) */
.categories-section {
  padding: 5rem 7vw;
  background: var(--parchment);
}

.categories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── POST CARD ─── (usado em front-page e index) */
.post-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
  text-decoration: none;
  color: inherit;
  margin-bottom: -1px;
}

.post-image {
  position: relative;
  overflow: hidden;
  background-color: var(--parchment-deep);
}

.post-image .img-bg {
  background-size: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  min-height: 500px;
}
.post-card:hover .post-image .img-bg { transform: scale(1.04); }

.post-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.post-image-placeholder {
  width: 100%; height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.25;
}

.post-body {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-category-tag {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.post-category-tag::before {
  content: '';
  width: 20px; height: 1px;
  flex-shrink: 0;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.post-excerpt {
  font-family: var(--font-text);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}
.post-excerpt p{
  margin-bottom: 1em;
  text-align: justify;
}
.post-read-more {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: bolder;
  transition: gap 0.3s;
  text-decoration: none;
}
.post-read-more.btn {
  width: fit-content;
  padding: 10px 20px;
  border-radius: 5px;
}
.post-card:hover .post-read-more { gap: 1rem; }

.post-date {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--sepia-light);
  letter-spacing: 0.1em;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--parchment-deep);
}

/* ─── ABOUT STRIP ─── (usado em front-page #sobre e em page-sobre.php) */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(15%) contrast(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--parchment) 100%);
}

.about-text {
  background: var(--parchment);
  padding: 5rem 5vw 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text p {
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.about-text p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.about-text p.novo {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--rust);
  max-width: 760px;
  line-height: 1.55;
  position: relative;
}
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sepia);
  text-decoration: none;
  border-bottom: 1px solid var(--sepia-light);
  padding-bottom: 0.4rem;
  transition: all 0.3s;
  align-self: flex-start;
}

.about-cta:hover { color: var(--rust); border-color: var(--rust); gap: 1.2rem; }

/* ─── IMAGE PLACEHOLDER ─── (fallback de thumbnail, usado em front-page e index) */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: var(--parchment-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── POST CARD ALTERNATING IMAGE SIDE ─── */
.post-card.reverse .post-image { order: 1; }
.post-card.reverse .post-body { order: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card.reverse { direction: ltr; }
  .about-strip { grid-template-columns: 1fr; }
  .about-image { height: 380px; }
}




.mc-header-spacer,
.mc-breadcrumb {
  display: none;
}