/* ============================================================
   Zavesti — home.css  (homepage only)
   Nav/footer styles live in single.css which loads everywhere
   ============================================================ */

:root {
  --ochre:    #b5752a;
  --ochre-lt: #d4983e;
  --bone:     #f5f0e8;
  --parchment:#e8dfcc;
  --ash:      #2c2720;
  --charcoal: #1a1510;
  --smoke:    #6b6158;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  border-bottom: 1px solid var(--parchment);
  animation: fadeUp 0.8s ease both;
}

.hero-text {
  padding: 5rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--parchment);
}

.hero-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.hero-title em { font-style: italic; color: var(--ochre); }

.hero-desc {
  font-size: 1.05rem;
  color: var(--smoke);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--ash);
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  transition: background 0.2s;
  align-self: flex-start;
}

.hero-cta:hover { background: var(--ochre); }

/* Hero image — right column */
.hero-image {
  position: relative;
  overflow: hidden !important;
  background: var(--ash);
  min-height: 480px;
}

/*
  HERO IMAGE: replace the URL below with your own photo.
  Upload an image to your Media Library, copy the URL, paste here.
*/
.hero-image-inner {
  position: absolute;
  inset: 0;
  background:
    url('https://www.zavesti.com/wp-content/uploads/2026/02/hero-neanderthal-homosapien-co-existence.jpg')
    center / cover no-repeat;
  /* Scale up slightly so soft painted edges are pushed outside the container */
  transform: scale(1.08);
}

.hero-image-caption {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  z-index: 1;
}

/* ── NOVEL BAND ── */
.novel-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 4rem;
  background: var(--ash);
  color: var(--bone);
  animation: fadeUp 0.8s 0.1s ease both;
}

.novel-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre-lt);
  white-space: nowrap;
}

.novel-band-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
}

.novel-band-sub {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.6);
  margin-top: 0.15rem;
}

.novel-band-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid rgba(245,240,232,0.35);
  padding: 0.65rem 1.4rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.novel-band-link:hover { background: var(--ochre); border-color: var(--ochre); }

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  padding: 2rem 4rem 0.6rem;
  margin: 0;
  border-top: 1px solid var(--parchment);
}

/* ── FEATURED GRID ── */
.featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  margin-top: 0;
  animation: fadeUp 0.8s 0.2s ease both;
}

.card {
  border-right: 1px solid var(--parchment);
  border-bottom: 1px solid var(--parchment);
  transition: background 0.2s;
  overflow: hidden;
}

.card > a {
  display: block;
  line-height: 0;  /* kills ghost space below inline images */
  font-size: 0;
}

.card:hover { background: var(--parchment); }
.card:nth-child(3),
.card:nth-child(5) { border-right: none; }
.card:nth-child(4),
.card:nth-child(5) { border-bottom: none; }

.card-image {
  width: 100%;
  display: block;
  filter: sepia(20%);
  object-fit: cover;
  margin: 0 !important;   /* override any global img margin from main.css */
  padding: 0 !important;
  border-radius: 0 !important;
}

.card--large .card-image { aspect-ratio: 4/3; }
.card--sm   .card-image { aspect-ratio: 16/9; }

.card-body { padding: 1.6rem; }

.card-cat a {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre);
  text-decoration: none;
  display: block;
  margin-bottom: 0.6rem;
}

.card-title {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  color: var(--charcoal);
  text-decoration: none;
  display: block;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.card-title:hover { color: var(--ochre); }
.card--large .card-title { font-size: 1.5rem; }
.card--sm    .card-title { font-size: 1.05rem; }

.card-excerpt { font-size: 0.9rem; color: var(--smoke); line-height: 1.65; }

.card-date { font-size: 0.72rem; color: var(--smoke); margin-top: 1rem; opacity: 0.7; }

.card--large { grid-row: 1 / 3; border-bottom: none; }

/* ── MORE TO EXPLORE ── */
.list-section {
  padding: 0 4rem 4rem;
  margin-top: 0;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* list-header removed */

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.list-item {
  padding: 1.2rem 1.4rem 1.2rem 0;
  border-bottom: 1px solid var(--parchment);
  margin-right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.list-item:nth-child(3n) { margin-right: 0; }

.list-item-cat a {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  text-decoration: none;
}

.list-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}

.list-item-title:hover { color: var(--ochre); }
.list-item-date { font-size: 0.68rem; color: var(--smoke); opacity: 0.7; }

/* ── CATEGORIES ── */
.categories {
  padding: 3rem 4rem;
  background: var(--parchment);
  border-top: 1px solid #d8cfbb;
  border-bottom: 1px solid #d8cfbb;
  animation: fadeUp 0.8s 0.35s ease both;
}

.categories h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.cat-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.cat-pill {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  border: 1px solid #c5b99a;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: all 0.2s;
}

.cat-pill:hover { background: var(--ash); color: var(--bone); border-color: var(--ash); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-text { padding: 3rem 1.8rem; border: none; }

  .novel-band { grid-template-columns: 1fr; padding: 1.5rem 1.8rem; gap: 1rem; }

  .section-label { padding: 2rem 1.8rem 0; }

  .featured { grid-template-columns: 1fr; }
  .card--large { grid-row: auto; }
  .card { border-right: none !important; }

  .list-section { padding: 0 1.8rem 3rem; }
  .list-grid { grid-template-columns: 1fr; }
  .list-item { margin-right: 0; }

  .categories { padding: 2rem 1.8rem; }
}
