:root {
  --primary-purple-dark: #123d35;
  --primary-purple: #2f6f60;
  --primary-purple-light: #8aa99b;
  --primary-purple-lighter: #dce8df;
  --rose-gold: #b24a3f;
  --rose-gold-light: #d8a75b;
  --porcelain-white: #ffffff;
  --porcelain-cream: #f6f0e4;
  --text-primary: #2d2a24;
  --text-secondary: #62594c;
  --text-light: #8d8170;
  --accent-blue: #2f6f60;
}

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

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(216, 167, 91, 0.24), transparent 26%),
    linear-gradient(180deg, #f7f0e4 0%, #efe3d0 52%, #f8f3ea 100%);
  min-height: 100vh;
  padding: 0;
  color: var(--text-primary);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  background: #fffaf1;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(54, 39, 20, 0.18);
  overflow: hidden;
}

header {
  background:
    radial-gradient(circle at top left, rgba(216, 167, 91, 0.24), transparent 35%),
    linear-gradient(180deg, #fff8ec 0%, #f3e6d0 100%);
  color: var(--text-primary);
  padding: 28px 36px 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(47, 111, 96, 0.16);
}

.header-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.header-layout > *,
.blog-card,
.directory-list li,
.blog-directory {
  min-width: 0;
}

.header-shell {
  display: grid;
  gap: 12px;
  max-width: none;
  padding-right: 4px;
}

.header-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(47,111,96,0.18);
  color: #8a3f34;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
.section-title,
.blog-card h3 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 1.12;
  margin: 0;
  color: #322848;
  max-width: none;
}

p.lead {
  position: relative;
  z-index: 1;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
  max-width: 460px;
  color: #5d5448;
}

.lead-compact {
  font-size: 0.9rem;
  max-width: 420px;
}

.hero-links-primary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.hero-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(47,111,96,0.2);
  color: #27594d;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 10px 24px rgba(54,39,20,0.08);
}

.hero-link-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(54,39,20,0.12);
  border-color: rgba(47,111,96,0.32);
}

.hero-link-pill.is-primary {
  background: linear-gradient(135deg, #123d35 0%, #2f6f60 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(18,61,53,0.22);
}

.header-visual {
  min-height: 220px;
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 88% 80% at 50% 48%, #000 62%, rgba(0,0,0,0.94) 74%, rgba(0,0,0,0.45) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 80% at 50% 48%, #000 62%, rgba(0,0,0,0.94) 74%, rgba(0,0,0,0.45) 88%, transparent 100%);
}

.section {
  padding: 42px 36px 48px;
}

.section-title {
  font-size: 2rem;
  color: #221f1a;
  margin-bottom: 10px;
  text-align: left;
}

.section-subtitle {
  text-align: left;
  color: #62594c;
  margin-bottom: 0;
  font-size: 1.03rem;
  max-width: 640px;
  line-height: 1.7;
}

.lead,
.section-subtitle,
.directory-heading p,
.directory-link,
.directory-meta,
.blog-card h3,
.blog-card p {
  overflow-wrap: anywhere;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  margin-top: 28px;
}

.blog-card {
  background: rgba(255,255,255,0.88);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(54,39,20,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  border: 1px solid rgba(47,111,96,0.12);
  backdrop-filter: blur(10px);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(54,39,20,0.13);
  border-color: rgba(47,111,96,0.24);
}

.blog-card-image {
  width: 100%;
  height: 164px;
  background: linear-gradient(135deg, #efe2c8 0%, #dce8df 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.blog-card-content {
  padding: 22px 22px 24px;
  display: grid;
  gap: 14px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #7b6f5f;
}

.blog-card-date {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.blog-card-tag {
  display: inline-block;
  padding: 5px 11px;
  background: #f3ead9;
  color: #8a3f34;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(178,74,63,0.18);
}

.blog-card h3 {
  color: #221f1a;
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.38;
}

.blog-card p {
  color: #62594c;
  line-height: 1.72;
  margin: 0;
  font-size: 0.98rem;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f6f60;
  text-decoration: none;
  font-weight: 700;
  transition: gap 0.2s;
}

.blog-card-link:hover {
  gap: 10px;
}

.blog-directory {
  margin-top: 36px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(246,240,228,0.82), rgba(255,250,241,0.96));
  border: 1px solid rgba(47,111,96,0.16);
}

.blog-directory.is-featured {
  margin-top: 22px;
}

.directory-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.directory-heading h3 {
  font-size: 1.4rem;
  color: #221f1a;
}

.directory-heading p {
  color: #62594c;
  line-height: 1.6;
}

.directory-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
}

.directory-list li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(47,111,96,0.12);
}

.directory-link {
  font-weight: 700;
  color: #2d2a24;
  text-decoration: none;
  line-height: 1.45;
}

.directory-link:hover {
  color: #2f6f60;
}

.directory-meta {
  color: #7b6f5f;
  font-size: 0.88rem;
  line-height: 1.4;
}

.pagination,
.blog-loading {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .container {
    max-width: 100%;
    border-radius: 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  header {
    padding: 32px 20px 24px;
  }

  .header-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section {
    padding: 32px 20px 36px;
  }

  .header-visual {
    min-height: 180px;
  }

  .blog-card-image {
    height: 152px;
  }
}
