:root {
  --mint: #3eb489;
  --ink: #1f2023;
  --paper: #fdfdf6;
  --smoke: #f2f2ea;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.site-header {
  border-bottom: 3px solid var(--smoke);
  background: white;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.4rem;
  display: inline-block;
  margin: 1rem 0;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.2s ease;
}

.brand::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--mint);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.brand:hover,
.brand:focus-visible,
.brand:active {
  color: var(--mint);
}

.brand:hover::after,
.brand:focus-visible::after,
.brand:active::after {
  opacity: 1;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.main-nav a {
  margin: 0;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease, font-weight 0.2s ease;
  font-weight: 500;
  font-size: 1.2rem;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--mint);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a:active::after {
  opacity: 1;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a:active {
  color: var(--mint);
  font-weight: 700;
}

.hero {
  padding: 3rem 0 1rem;
  border-bottom: 1px solid var(--smoke);
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.85rem;
  color: var(--mint);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero .lead {
  font-size: 1.2rem;
  max-width: none;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6b6b6b;
  margin-bottom: 0.8rem;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--mint);
  font-weight: 600;
}

.breadcrumbs span {
  color: #6b6b6b;
}

.hero-centered {
  text-align: center;
}

.hero-image {
  margin: 2rem auto;
  max-width: 900px;
  border: 8px solid white;
  box-shadow: 0 20px 55px rgba(0,0,0,0.08);
}

.hero-image img {
  width: 100%;
  display: block;
}

.page-body {
  width: 100%;
  margin: 0 0 3rem;
  font-size: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--mint);
  color: white;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.blog-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.blog-grid article {
  background: white;
  border: 1px solid var(--smoke);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.blogs-overview .grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  gap: 1.5rem;
  border: 1px solid var(--smoke);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.blog-cover {
  width: 30%;
  min-width: 220px;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body h2 {
  margin-top: 0;
}

.tagline {
  color: #5a5a5a;
  font-style: italic;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.person-card {
  background: white;
  border: 1px solid var(--smoke);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.person-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-info h2 {
  margin: 0;
  font-size: 1.2rem;
}

.person-info h2 a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

.person-info h2 a:hover {
  color: var(--mint);
  border-bottom: 2px solid var(--mint);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 2rem 0;
  max-width: 640px;
}

.contact-form label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--smoke);
  border-radius: 0.6rem;
  font-family: var(--sans);
  font-size: 1rem;
  background: white;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  background: var(--mint);
  color: white;
  border: none;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-form button:hover {
  opacity: 0.85;
}

.post-list article {
  border-bottom: 1px solid var(--smoke);
  padding: 1rem 0;
}

.post-list h2 {
  margin-bottom: 0.2rem;
}

.post-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--smoke);
}

.post-thumb {
  width: 35%;
  min-width: 220px;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-fallback {
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.05em;
}

.post-card-body {
  flex: 1;
}

.post-card-body h2 {
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0.2rem 0 0.4rem;
}

.post-card-body h2 a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

.post-card-body h2 a:hover {
  color: var(--mint);
  border-bottom: 2px solid var(--mint);
}

.post-card-body p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.meta {
  color: #6b6b6b;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer {
  background: white;
  border-top: 3px solid var(--smoke);
  margin-top: 1.5rem;
}

.site-footer p {
  margin: 0.5rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.2s ease, font-weight 0.2s ease;
  font-size: 1.1rem;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--mint);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.footer-links a:active::after,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a:active {
  color: var(--mint);
  opacity: 1;
  font-weight: 700;
}

.richtext p {
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .header-wrap {
    gap: 0.3rem;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .main-nav a {
    padding: 0.4rem 0;
    width: 100%;
    text-align: center;
  }

  .post-card {
    flex-direction: column;
  }

  .post-thumb {
    width: 100%;
    min-width: auto;
  }

  .blog-card {
    flex-direction: column;
  }

  .blog-cover {
    width: 100%;
    min-width: auto;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
  }

  .footer-links a {
    width: 100%;
    text-align: center;
  }
}

.footer-wrap {
  text-align: center;
}
.blog-header {
  margin-bottom: 2rem;
  text-align: center;
}

.blog-header h1 {
  margin: 0 0 0.5rem;
}

.blog-header .richtext {
  margin-top: 1rem;
}

.post-gallery {
  margin: 3rem 0;
}

.post-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.post-gallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(30, 32, 35, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-gallery__item:hover,
.post-gallery__item:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.12);
}

.post-gallery__link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  border-bottom: 1px solid rgba(31, 32, 35, 0.06);
  transition: background 0.3s ease;
  aspect-ratio: 4 / 3;
}

.post-gallery__item:hover .post-gallery__link,
.post-gallery__item:focus-within .post-gallery__link {
  background: #e9eef2;
}

.post-gallery__link:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: -6px;
}

.post-gallery__link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 0.6rem;
  background: #111;
}

.post-gallery__caption {
  margin: 0;
  background: #fff;
}

.post-gallery__caption-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.25rem 1.35rem;
}

.post-gallery__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1f2023;
}

.post-gallery__meta {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 32, 35, 0.65);
}

.post-gallery__credit {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: rgba(31, 32, 35, 0.7);
}

.post-gallery__description {
  margin: 0.6rem 0 0;
  font-size: 0.93rem;
  color: rgba(31, 32, 35, 0.82);
  line-height: 1.55;
}

.post-gallery__description p {
  margin: 0.45rem 0 0;
}

.post-gallery__description p:first-child {
  margin-top: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(15, 15, 18, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1200;
}

.lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
}

.lightbox__dialog {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: min(90vh, 800px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #0f1113;
}

.lightbox__caption {
  background: #fff;
  border-top: 1px solid rgba(31, 32, 35, 0.08);
  padding: 1.5rem 1.75rem 1.75rem;
}

.lightbox__caption:empty {
  display: none;
}

.lightbox__caption .post-gallery__caption-content {
  padding: 0;
}

.lightbox__caption .post-gallery__meta {
  letter-spacing: 0.12em;
}

.lightbox__caption .post-gallery__description {
  font-size: 1rem;
}

.lightbox__caption[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.04);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: rgba(47, 47, 47, 0.95);
  color: #fff;
  padding: 0.9rem 1.5rem;
  display: none;
  z-index: 1000;
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.18);
}

.cookie-banner.is-visible {
  display: block;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-open .cookie-banner {
  display: none !important;
}

@media (max-width: 640px) {
  .post-gallery {
    margin: 2.5rem 0;
  }

  .post-gallery__grid {
    gap: 1rem;
  }

  .post-gallery__caption-content {
    padding: 0.9rem 1rem 1.1rem;
  }

  .post-gallery__title {
    font-size: 1rem;
  }

  .post-gallery__meta {
    font-size: 0.75rem;
  }

  .post-gallery__description {
    font-size: 0.9rem;
  }
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
  max-width: 640px;
}

.cookie-banner__link {
  color: var(--mint);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  text-decoration-thickness: 2px;
}

.cookie-banner__button {
  border: none;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  padding: 0.6rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-banner__button:hover,
.cookie-banner__button:focus-visible {
  background: #32916b;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cookie-banner__button {
    width: 100%;
  }
}
