:root {
  --bg: #FCFAF7;
  --bg-2: #F5F1EB;
  --card: #FFFFFF;
  --ink: #222222;
  --ink-2: #666666;
  --muted: #8E8E8E;
  --line: #E7DED4;
  --gold: #B8924D;
  --gold-rgb: 184, 146, 77;
  --shadow: 0 10px 40px rgba(184, 146, 77, 0.07), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 50px rgba(184, 146, 77, 0.16), 0 8px 24px rgba(0, 0, 0, 0.05);
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; margin: 0; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 100% - 16px); margin-inline: auto; }
.icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  min-height: 380px;
  background:
    linear-gradient(90deg, var(--bg-2) 0%, rgba(245, 241, 235, 0.92) 38%, rgba(245, 241, 235, 0) 68%),
    var(--hero-img) right center / cover no-repeat;
}

.hero__label {
  margin: 0px 0px 14px 0px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.hero h1 {
  max-width: 460px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.12;
}

.hero .ab-desc {
  max-width: 420px;
  margin-top: 20px;
  color: var(--ink-2);
}

/* ---------- Cards ---------- */
.grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card[hidden] { display: none; }

.card__img { aspect-ratio: 16 / 9.4; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.card:hover .card__img img { transform: scale(1.04); }

.card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 0; }
.card__cat { font-size: 0.72rem; font-weight: 500; color: var(--gold); }

.card h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.35;
}

.card p { margin-bottom: 18px; font-size: 0.85rem; color: var(--ink-2); }

.card__meta {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 18px;
  font-size: 0.75rem;
  color: var(--ink-2);
}


.card__meta span { display: inline-flex; align-items: center; gap: 7px; }
.card__foot { margin-top: auto; border-top: 1px solid var(--line); }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 48px 0 56px; }

.pager button {
  width: 30px;
  height: 30px;
  font: 500 0.8rem var(--font-body);
  color: var(--ink-2);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.pager button:hover:not(:disabled) { color: var(--gold); }
.pager button:disabled { opacity: 0.35; cursor: default; }
.pager button.is-active { color: #fff; background: var(--gold); }

/* ---------- CTA ---------- */
.cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  margin-bottom: 60px;
  padding: 32px 48px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, #EFE6D6 0%, rgba(239, 230, 214, 0.94) 40%, rgba(239, 230, 214, 0) 75%),
    var(--cta-img) right center / cover no-repeat;
}

.cta h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.cta p { margin: 6px 0 20px; font-size: 0.9rem; color: var(--ink-2); }

.btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--gold);
  border-radius: 99px;
  box-shadow: 0 8px 20px rgba(var(--gold-rgb), 0.3);
  transition: background 0.2s;
}

.btn:hover { background: #a07f40; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .hero { min-height: 320px; background: linear-gradient(90deg, rgba(245, 241, 235, 0.95), rgba(245, 241, 235, 0.7)), var(--hero-img) right center / cover; }
  .cta { padding: 28px 24px; background: linear-gradient(90deg, rgba(239, 230, 214, 0.96), rgba(239, 230, 214, 0.75)), var(--cta-img) right center / cover; }
}