.page-blog {
  background: #fffef7;
  color: #000;
  overflow: clip;
}

.page-blog__hero {
  position: relative;
  min-height: 767px;
  background: #f3f2ee;
  overflow: hidden;
}

.page-blog__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fffef7;
  opacity: 1;
  pointer-events: none;
}

.page-blog__hero.is-loaded::before {
  animation: page-blog-hero-veil-out 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
}

.page-blog__hero-image {
  position: absolute;
  inset: -175px 0 auto;
  width: 100%;
  height: calc(100% + 350px);
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  transition: transform 1800ms cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 0;
  filter: sepia(0.4) brightness(0.9) saturate(1.5) hue-rotate(-5deg);
}

.page-blog__hero.is-loaded .page-blog__hero-image {
  transform: scale(1);
}

.page-blog__hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(192, 169, 113, 0.4);
  z-index: 1;
}

.page-blog__hero-shell {
  position: relative;
  z-index: 1;
  width: min(1290px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 767px;
  display: flex;
  align-items: flex-end;
  padding: 210px 0 96px;
}

.page-blog__hero-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 48px;
  background: rgba(255, 254, 247, 0.5);
  backdrop-filter: blur(4px);
  border: 16px solid transparent;
  outline: 1px solid #000;
  max-width: 708px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease 0.1s,
    transform 0.6s ease 0.1s;
}

.page-blog__hero.is-loaded .page-blog__hero-card {
  opacity: 1;
  transform: translateY(0);
}

.page-blog__breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease 0.35s,
    transform 0.5s ease 0.35s;
}

.page-blog__hero.is-loaded .page-blog__breadcrumbs {
  opacity: 1;
  transform: translateY(0);
}

.page-blog__breadcrumbs a {
  color: #8a7346;
}

.page-blog__breadcrumbs span:last-child {
  color: #000;
}

.page-blog__hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 46.18px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-blog__hero-title .wad-hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-blog__hero-title .wad-hero-word + .wad-hero-word {
  margin-left: 0.28em;
}

.page-blog__hero.is-loaded .page-blog__hero-title .wad-hero-word {
  opacity: 1;
  transform: translateY(0);
}

@keyframes page-blog-hero-veil-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.page-blog__content {
  padding: 96px 0;
}

.page-blog__content-inner {
  width: min(1290px, calc(100% - 48px));
  margin: 0 auto;
}

.page-blog__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
  max-width: 630px;
}

.page-blog__kicker {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.87px;
  text-transform: uppercase;
}

.page-blog__section-title {
  margin: 0;
  color: #5f6468;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36.49px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1.09px;
  text-transform: uppercase;
}

.page-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 30px;
}

.page-blog__card {
  min-width: 0;
}

.page-blog__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #c0a971;
  background: rgba(255, 254, 247, 0.72);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.page-blog__card-link:hover,
.page-blog__card-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(138, 115, 70, 0.14);
  background: #fffef7;
}

.page-blog__card-media {
  margin: 16px 16px 0;
  aspect-ratio: 378 / 186;
  overflow: hidden;
}

.page-blog__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform 0.35s ease;
}

.page-blog__card-link:hover .page-blog__card-media img,
.page-blog__card-link:focus-visible .page-blog__card-media img {
  transform: scale(1.03);
}

.page-blog__card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  padding: 16px 16px 24px;
}

.page-blog__card-date {
  color: #000;
  font-family: var(--font-secondary);
  font-size: 14.22px;
  font-weight: 400;
  line-height: 1.7;
}

.page-blog__card-title {
  margin: 0;
  color: #000;
  font-family: var(--font-display);
  font-size: 20.25px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-blog__card-excerpt {
  margin: 0;
  color: #000;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-blog__card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 35px;
  padding: 12px 16px;
  background: #dcc58c;
  color: #000;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-blog__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.page-blog__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #c0a971;
  color: #000;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-blog__pagination .page-numbers.current,
.page-blog__pagination .page-numbers:hover,
.page-blog__pagination .page-numbers:focus-visible {
  background: #dcc58c;
}

.page-blog__empty {
  padding: 32px;
  border: 1px solid #c0a971;
  text-align: center;
  font-family: var(--font-secondary);
}

.page-blog__cta {
  position: relative;
  background-color: #c9b08a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-blog__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 252, 236, 0.18);
}

.page-blog__cta-inner {
  position: relative;
  z-index: 1;
  width: min(1290px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.page-blog__cta-frame {
  display: flex;
  justify-content: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.page-blog__cta-card {
  width: min(850px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px;
  background: #fffcec;
  text-align: center;
}

.page-blog__cta-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 28.83px);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-blog__cta-copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

.page-blog__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 55px;
  padding: 18px 48px;
  border: 2px solid #000;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-blog__cta-button:hover,
.page-blog__cta-button:focus-visible {
  background: rgba(220, 197, 140, 0.8);
  transform: translateY(-2px);
}

.page-blog__cta-button-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.page-blog__cta-button-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 1180px) {
  .page-blog__hero-shell,
  .page-blog__content-inner,
  .page-blog__cta-inner {
    width: min(1290px, calc(100% - 32px));
  }

  .page-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-blog__hero {
    min-height: 620px;
  }

  .page-blog__hero-shell {
    min-height: 620px;
    padding: 190px 0 48px;
    width: calc(100% - 24px);
  }

  .page-blog__hero-card {
    padding: 24px;
    border-width: 10px;
  }

  .page-blog__content {
    padding: 72px 0;
  }

  .page-blog__content-inner,
  .page-blog__cta-inner {
    width: calc(100% - 24px);
  }

  .page-blog__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-blog__cta-inner {
    padding: 72px 0;
  }


@media (prefers-reduced-motion: reduce) {
  .page-blog__hero::before,
  .page-blog__hero-image,
  .page-blog__hero-card,
  .page-blog__breadcrumbs,
  .page-blog__hero-title .wad-hero-word {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .page-blog__hero::before {
    opacity: 0 !important;
  }
}
  .page-blog__cta-card {
    padding: 32px 24px;
  }

  .page-blog__cta-button {
    width: 100%;
    padding-inline: 24px;
  }
}
