.blog-page,
.article-page {
  background:
    radial-gradient(circle at 84% 8%, rgba(152, 98, 40, 0.1), transparent 26rem),
    #080a0a;
}

.blog-hero {
  position: relative;
  height: clamp(360px, 39vw, 610px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.blog-hero__media,
.blog-hero__shade {
  position: absolute;
  inset: 0;
}

.blog-hero__media {
  z-index: -2;
}

.blog-hero__media img {
  width: 100%;
  height: 100%;
  filter: saturate(0.72) brightness(0.74);
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.012);
}

.blog-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 6, 6, 0.92) 0%, rgba(4, 6, 6, 0.66) 38%, rgba(4, 6, 6, 0.12) 77%),
    linear-gradient(180deg, rgba(5, 7, 7, 0.48), transparent 38%, #080a0a 100%);
}

.blog-hero__content {
  display: flex;
  height: 100%;
  padding-top: 6.5rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.blog-hero__content .section-label {
  margin-bottom: 0.75rem;
}

.blog-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--paper-bright);
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.blog-hero__content > p:last-child {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: #aaa69e;
  font-size: clamp(0.82rem, 1.1vw, 1rem);
}

.blog-archive {
  padding-block: clamp(2.5rem, 5vw, 5.5rem);
}

.blog-archive__header {
  display: flex;
  margin-bottom: clamp(1.4rem, 2.5vw, 2.5rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.blog-archive__header .section-label {
  margin-bottom: 0.4rem;
}

.blog-archive__header h2 {
  margin: 0;
  color: var(--paper-bright);
  font-size: clamp(1.65rem, 2.7vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
}

.blog-archive__header > p {
  margin: 0;
  color: #77746d;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.7rem, 3vw, 3.4rem) clamp(1rem, 1.7vw, 1.8rem);
}

.blog-card {
  min-width: 0;
}

.blog-card > a {
  display: block;
}

.blog-card--lead {
  grid-column: span 2;
}

.blog-card__image {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(224, 218, 205, 0.14);
  background: #111414;
}

.blog-card--lead .blog-card__image {
  aspect-ratio: 2 / 1;
}

.blog-card__image::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 250ms ease;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  filter: saturate(0.78) brightness(0.8);
  object-fit: cover;
  transition: filter 450ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.blog-card:hover .blog-card__image img,
.blog-card a:focus-visible .blog-card__image img {
  filter: saturate(1) brightness(0.96);
  transform: scale(1.025);
}

.blog-card:hover .blog-card__image::after {
  border-color: rgba(214, 155, 80, 0.34);
}

.blog-card__body {
  position: relative;
  padding: 0.8rem 2.2rem 0 0;
}

.blog-card__meta {
  display: flex;
  margin-bottom: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: #76736c;
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card__meta span {
  color: var(--gold-light);
}

.blog-card__meta span::before {
  margin-right: 0.65rem;
  color: #4f4d48;
  content: "·";
}

.blog-card h3 {
  margin: 0;
  color: #d8d3ca;
  font-size: clamp(1.03rem, 1.35vw, 1.36rem);
  font-weight: 350;
  line-height: 1.2;
}

.blog-card--lead h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.blog-card__body > p {
  display: -webkit-box;
  max-width: 48rem;
  margin: 0.6rem 0 0;
  overflow: hidden;
  color: #8d8981;
  font-size: 0.76rem;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-card__read {
  display: inline-flex;
  margin-top: 0.8rem;
  align-items: center;
  gap: 0.55rem;
  color: #a57138;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card__read span {
  transition: transform 180ms ease;
}

.blog-card:hover .blog-card__read span {
  transform: translate(3px, -3px);
}

.blog-pagination {
  display: grid;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: #77746d;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-pagination > :last-child {
  text-align: right;
}

.blog-pagination a {
  color: #bbb6ad;
  transition: color 180ms ease;
}

.blog-pagination a:hover {
  color: var(--gold-light);
}

.article-main {
  padding-top: clamp(9rem, 12vw, 12rem);
}

.article-header {
  max-width: 1040px;
  text-align: center;
}

.article-header__back {
  display: inline-flex;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  align-items: center;
  gap: 0.7rem;
  color: #8c8880;
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.article-header__back:hover {
  color: var(--gold-light);
}

.article-header .section-label {
  margin-bottom: 0.75rem;
}

.article-header h1 {
  max-width: 980px;
  margin: 0 auto;
  color: var(--paper-bright);
  font-size: clamp(2.35rem, 5.8vw, 5.6rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.article-header__meta {
  display: flex;
  margin-top: 1.2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: #76736c;
  font-size: 0.61rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-header__meta span {
  color: var(--gold-light);
}

.article-header__meta span::before {
  margin-right: 1rem;
  color: #514e48;
  content: "·";
}

.article-lead {
  max-width: 1380px;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.article-lead img {
  width: 100%;
  max-height: min(74vh, 900px);
  border: 1px solid rgba(224, 218, 205, 0.15);
  object-fit: contain;
}

.post-copy {
  max-width: 1160px;
  color: #bbb7ae;
  font-family: var(--font);
  font-size: clamp(0.93rem, 1.1vw, 1.08rem);
  line-height: 1.78;
}

.post-copy::after {
  display: table;
  clear: both;
  content: "";
}

.post-copy > p,
.post-copy > h2,
.post-copy > h3,
.post-copy > h4,
.post-copy > ul,
.post-copy > ol,
.post-copy > blockquote,
.post-copy > .wp-block-buttons {
  width: min(100%, 780px);
  margin-right: auto;
  margin-left: auto;
}

.post-copy p {
  margin-top: 0;
  margin-bottom: 1.3em;
}

.post-copy h2,
.post-copy h3,
.post-copy h4 {
  margin-top: 2.2em;
  margin-bottom: 0.75em;
  color: #e0dcd3;
  font-weight: 350;
  line-height: 1.18;
}

.post-copy h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
}

.post-copy h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.post-copy a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(214, 155, 80, 0.35);
  text-underline-offset: 0.16em;
}

.post-copy a:hover {
  text-decoration-color: currentColor;
}

.post-copy ul,
.post-copy ol {
  padding-left: 1.3rem;
}

.post-copy li {
  margin-bottom: 0.4rem;
}

.post-copy blockquote {
  padding: 0.4rem 0 0.4rem 2rem;
  border-left: 1px solid var(--gold);
  color: #d0cbc2;
}

.post-copy blockquote::before {
  display: none;
}

.post-copy blockquote p {
  font-size: 1.12em;
}

.post-copy figure {
  margin-top: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.post-copy img,
.post-copy video {
  max-width: 100%;
  height: auto;
}

.post-copy > figure > img,
.post-copy .wp-block-image img {
  margin-inline: auto;
}

.post-copy figcaption,
.post-copy .wp-element-caption,
.post-copy .blocks-gallery-item__caption {
  margin-top: 0.5rem;
  color: #77746d;
  font-size: 0.68rem;
  line-height: 1.45;
  text-align: center;
}

.post-copy .wp-block-jetpack-tiled-gallery,
.post-copy .wp-block-gallery,
.post-copy .blocks-gallery-grid {
  width: 100%;
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}

.post-copy .tiled-gallery__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.post-copy .tiled-gallery__row {
  display: flex;
  min-width: 0;
  gap: 0.45rem;
}

.post-copy .tiled-gallery__col {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.45rem;
}

.post-copy .tiled-gallery__item {
  display: flex;
  min-width: 0;
  margin: 0;
  flex: 1 1 auto;
  overflow: hidden;
  background: #101313;
}

.post-copy .tiled-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.post-copy .tiled-gallery__item img[role="button"] {
  cursor: zoom-in;
}

.post-copy .wp-block-gallery.has-nested-images,
.post-copy .blocks-gallery-grid {
  display: grid;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  list-style: none;
}

.post-copy .wp-block-gallery.columns-1,
.post-copy .blocks-gallery-grid.columns-1 {
  grid-template-columns: 1fr;
}

.post-copy .wp-block-gallery.columns-2,
.post-copy .blocks-gallery-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-copy .wp-block-gallery .wp-block-image,
.post-copy .blocks-gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.post-copy .wp-block-gallery.is-cropped img,
.post-copy .blocks-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-copy .blocks-gallery-item__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 1.5rem 0.6rem 0.5rem;
  color: #eeeae1;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.post-copy .wp-block-embed,
.post-copy iframe,
.post-copy video {
  width: min(100%, 960px);
  margin-right: auto;
  margin-left: auto;
}

.post-copy .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.post-copy .wp-embed-aspect-4-3 .wp-block-embed__wrapper {
  aspect-ratio: 4 / 3;
}

.post-copy .wp-block-embed-tiktok {
  max-width: 420px;
}

.post-copy .wp-block-embed-tiktok .wp-block-embed__wrapper {
  aspect-ratio: 9 / 16;
}

.post-copy .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-copy .instagram-media,
.post-copy .tiktok-embed {
  width: min(100%, 540px) !important;
  min-width: 0 !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.post-copy .wp-block-button__link {
  display: inline-flex;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--gold);
  color: #ded9cf;
  text-decoration: none;
  background: rgba(188, 123, 49, 0.08);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.post-copy .wp-block-cover {
  position: relative;
  display: grid;
  min-height: clamp(320px, 50vw, 620px);
  margin-block: clamp(1.5rem, 3vw, 3rem);
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.post-copy .wp-block-cover__background,
.post-copy .wp-block-cover__image-background {
  position: absolute;
  inset: 0;
}

.post-copy .wp-block-cover__background {
  z-index: -1;
  background: rgba(0, 0, 0, 0.42);
}

.post-copy .wp-block-cover__image-background {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-copy .wp-block-cover__inner-container {
  padding: 2rem;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 3.6rem);
  text-align: center;
}

.post-copy .has-text-align-center {
  text-align: center;
}

.post-copy .has-small-font-size {
  font-size: 0.82em;
}

.post-copy .has-large-font-size {
  font-size: 1.7em;
}

.post-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #e4dfd6;
  background: rgba(3, 5, 5, 0.97);
}

.post-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.post-lightbox__frame {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  padding: clamp(2.8rem, 5vw, 5rem) clamp(3.5rem, 7vw, 7rem);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}

.post-lightbox figure {
  display: flex;
  min-width: 0;
  height: 100%;
  margin: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.post-lightbox figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
}

.post-lightbox figcaption {
  min-height: 1rem;
  margin-top: 0.75rem;
  color: #8d8981;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.post-lightbox button {
  border: 0;
  color: #d8d2c7;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.post-lightbox__close {
  position: absolute;
  z-index: 1;
  top: 1.25rem;
  right: 1.5rem;
  padding: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.post-lightbox__nav {
  padding: 1rem;
  color: var(--gold-light);
  font-size: 1.5rem;
}

.post-copy table {
  width: 100%;
  margin-block: 2rem;
  border-collapse: collapse;
}

.post-copy th,
.post-copy td {
  padding: 0.65rem;
  border: 1px solid var(--line);
  text-align: left;
}

.article-pagination {
  display: grid;
  max-width: 1160px;
  margin-top: clamp(4rem, 8vw, 8rem);
  margin-bottom: clamp(3rem, 6vw, 6rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.article-pagination > a:not(.article-pagination__archive) {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #aaa69d;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-pagination > a:last-child {
  justify-self: end;
}

.article-pagination strong {
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 350;
}

.article-pagination__archive {
  color: #77746d;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-pagination a:hover {
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card--lead {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .blog-hero {
    height: 470px;
  }

  .blog-hero__content {
    padding-top: 5.5rem;
    justify-content: flex-end;
    padding-bottom: 3.5rem;
  }

  .blog-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .blog-archive__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .blog-card--lead {
    grid-column: auto;
  }

  .blog-card--lead .blog-card__image,
  .blog-card__image {
    aspect-ratio: 16 / 10;
  }

  .blog-card--lead h3 {
    font-size: 1.25rem;
  }

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

  .blog-pagination > span:nth-child(2) {
    display: none;
  }

  .article-main {
    padding-top: 7.5rem;
  }

  .article-header__back {
    margin-bottom: 2rem;
  }

  .article-header h1 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .article-lead {
    width: 100%;
  }

  .post-copy {
    width: min(90vw, 1160px);
    font-size: 0.94rem;
  }

  .post-copy .tiled-gallery__gallery,
  .post-copy .tiled-gallery__row,
  .post-copy .tiled-gallery__col {
    gap: 0.2rem;
  }

  .post-copy .wp-block-gallery.has-nested-images,
  .post-copy .blocks-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .article-pagination > a:not(.article-pagination__archive) span {
    display: none;
  }

  .post-lightbox__frame {
    padding: 3.5rem 0.7rem 2rem;
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    gap: 0;
  }

  .post-lightbox__nav {
    padding: 0.5rem;
  }
}

@media (max-width: 430px) {
  .blog-hero {
    height: 420px;
  }

  .blog-hero__content > p:last-child {
    max-width: 20rem;
  }

  .post-copy .wp-block-gallery.has-nested-images,
  .post-copy .blocks-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card__image img,
  .blog-card__read span {
    transition: none;
  }
}
