/* Blog archive and article templates. This file is conditionally loaded only
 * on the posts page and standard-post singular views. */

.beyhla-blog {
  background: var(--beyhla-black);
  color: var(--beyhla-white);
  margin: 0;
  overflow: clip;
}

.beyhla-blog > *,
.beyhla-blog :where(.wp-block-group, .wp-block-columns, .wp-block-query) {
  margin-block: 0;
}

.beyhla-blog :where(h1, h2, h3, p, ul, ol, figure) {
  margin-block-start: 0;
}

.beyhla-blog :where(p, a) {
  overflow-wrap: anywhere;
}

.beyhla-blog :where(h1, h2, h3) {
  hyphens: auto;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.beyhla-blog-hero,
.beyhla-article-hero {
  background:
    radial-gradient(circle at 83% 60%, rgb(92 43 13 / 62%), transparent 32%),
    radial-gradient(circle at 12% 5%, rgb(255 117 31 / 8%), transparent 25%),
    var(--beyhla-black);
  overflow: hidden;
  position: relative;
}

.beyhla-blog-hero::after,
.beyhla-article-hero::after {
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 58%, transparent);
  pointer-events: none;
  position: absolute;
}

.beyhla-blog-hero__inner {
  align-content: center;
  display: grid;
  gap: 28px 30px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: 680px;
  padding-block: 104px;
  position: relative;
  z-index: 1;
}

.beyhla-blog-eyebrow,
.beyhla-blog-feed__kicker,
.beyhla-article-hero__category {
  align-items: center;
  color: var(--beyhla-orange);
  display: flex;
  font-size: 18px;
  font-weight: 600;
  gap: 20px;
  letter-spacing: 4px;
  line-height: 27px;
  margin-bottom: 0;
  text-transform: uppercase;
}

.beyhla-blog-eyebrow::before,
.beyhla-blog-feed__kicker::before,
.beyhla-article-hero__category::before {
  background: currentcolor;
  content: "";
  flex: 0 0 70px;
  height: 2px;
}

.beyhla-blog-hero__inner > .beyhla-blog-eyebrow {
  grid-column: 1 / span 8;
}

.beyhla-blog-hero__title {
  color: var(--beyhla-white);
  font-family: var(--beyhla-heading-font);
  font-size: clamp(56px, 5vw, 84px);
  font-weight: 700;
  grid-column: 1 / span 10;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 0;
  text-transform: uppercase;
}

.beyhla-blog-hero__title > span {
  display: block;
}

.beyhla-blog-hero__title .is-script {
  color: var(--beyhla-orange);
  font-family: var(--beyhla-script-font);
  font-size: clamp(72px, 8vw, 128px);
  font-weight: 400;
  line-height: 1.03;
  margin-top: -4px;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.beyhla-blog-hero__lede {
  color: rgb(255 255 255 / 78%);
  font-size: 18px;
  grid-column: 1 / span 6;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 810px;
}

.beyhla-blog-hero__topics {
  align-self: end;
  display: flex;
  gap: 12px 24px;
  grid-column: 8 / -1;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.beyhla-blog-hero--taxonomy .beyhla-blog-hero__inner {
  min-height: 560px;
}

.beyhla-blog-hero__archive-link {
  grid-column: 1 / -1;
  margin: 0;
}

.beyhla-blog-hero__archive-link a {
  align-items: center;
  color: var(--beyhla-orange);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.beyhla-blog-hero__archive-link a::before {
  content: "←";
  font-size: 20px;
  line-height: 1;
}

.beyhla-blog-hero__topics li {
  align-items: center;
  color: rgb(229 227 226 / 68%);
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 24px;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.beyhla-blog-hero__topics li:not(:last-child)::after {
  background: var(--beyhla-orange);
  content: "";
  height: 6px;
  rotate: 45deg;
  width: 6px;
}

.beyhla-blog-feed {
  background: var(--beyhla-light);
  color: var(--beyhla-black);
  padding-block: 104px 120px;
}

.beyhla-blog-feed__inner {
  max-width: 1370px;
}

.beyhla-blog-feed__header {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-bottom: 64px !important;
}

.beyhla-blog-feed__kicker {
  color: var(--beyhla-orange-on-light);
  grid-column: 1 / -1;
}

.beyhla-blog-feed__title {
  color: var(--beyhla-black);
  font-family: var(--beyhla-heading-font);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
  grid-column: 1 / span 9;
  line-height: 1.15;
  margin-bottom: 0;
  text-transform: uppercase;
}

.beyhla-blog-grid {
  counter-reset: beyhla-journal-card;
  display: grid !important;
  gap: 30px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.beyhla-blog-grid > li {
  counter-increment: beyhla-journal-card;
  grid-column: span 6;
  margin: 0;
  min-width: 0;
}

.beyhla-blog-grid > li:first-child {
  grid-column: span 8;
}

.beyhla-blog-grid > li:nth-child(2) {
  grid-column: span 4;
}

.beyhla-blog-grid > li:only-child {
  grid-column: 1 / -1;
}

.beyhla-blog-card {
  background: var(--beyhla-black);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgb(0 0 0 / 12%);
  color: var(--beyhla-white);
  display: grid;
  grid-template-rows: 240px minmax(0, 1fr);
  height: 100%;
  min-height: 540px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.beyhla-blog-card::before {
  background:
    radial-gradient(circle at 75% 30%, rgb(255 117 31 / 32%), transparent 25%),
    radial-gradient(circle at 15% 95%, rgb(92 43 13 / 78%), transparent 42%),
    linear-gradient(135deg, #15100d, #000 64%);
  content: "";
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
}

.beyhla-blog-card::after {
  color: var(--beyhla-orange);
  content: counter(beyhla-journal-card, decimal-leading-zero);
  font-family: var(--beyhla-heading-font);
  font-size: 84px;
  font-weight: 700;
  left: 28px;
  line-height: 1;
  opacity: 0.92;
  pointer-events: none;
  position: absolute;
  top: 26px;
  z-index: 2;
}

.beyhla-blog-card::before,
.beyhla-blog-card__media {
  border-bottom: 2px solid var(--beyhla-orange);
}

.beyhla-blog-card__media {
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  margin: 0;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.beyhla-blog-card__media a,
.beyhla-blog-card__media img {
  height: 100%;
  width: 100%;
}

.beyhla-blog-card__media img {
  object-fit: cover;
}

.beyhla-blog-card__media a:focus-visible {
  outline: 3px solid var(--beyhla-orange);
  outline-offset: -6px;
}

.beyhla-blog-card__content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  padding: 34px;
  position: relative;
  z-index: 2;
}

.beyhla-blog-card__meta {
  align-items: center;
  display: flex;
  gap: 8px 18px;
  margin-bottom: 18px !important;
}

.beyhla-blog-card__meta :where(a, time) {
  color: var(--beyhla-orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
}

.beyhla-blog-card__date {
  align-items: center;
  display: flex;
  gap: 18px;
}

.beyhla-blog-card__date::before {
  background: rgb(255 255 255 / 28%);
  content: "";
  height: 1px;
  width: 24px;
}

.beyhla-blog-card__title {
  color: inherit;
  font-family: var(--beyhla-heading-font);
  font-size: clamp(30px, 2.2vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 18px;
}

.beyhla-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.beyhla-blog-card__excerpt {
  color: rgb(255 255 255 / 72%);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.beyhla-blog-card__excerpt :where(p, .wp-block-post-excerpt__excerpt) {
  margin-bottom: 0;
}

.beyhla-blog-card__read-more {
  align-items: center;
  color: var(--beyhla-orange);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.08em;
  margin-top: auto;
  text-decoration: none;
  text-transform: uppercase;
}

.beyhla-blog-card__read-more::after {
  content: "→";
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease;
}

.beyhla-blog-grid > li:nth-child(even) .beyhla-blog-card {
  background: var(--beyhla-mint);
  border-color: rgb(0 0 0 / 16%);
  color: var(--beyhla-black);
}

.beyhla-blog-grid > li:nth-child(even) .beyhla-blog-card__meta :where(a, time),
.beyhla-blog-grid > li:nth-child(even) .beyhla-blog-card__read-more {
  color: var(--beyhla-orange-on-light);
}

.beyhla-blog-grid > li:nth-child(even) .beyhla-blog-card__date::before {
  background: rgb(0 0 0 / 25%);
}

.beyhla-blog-grid > li:nth-child(even) .beyhla-blog-card__excerpt {
  color: rgb(0 0 0 / 68%);
}

.beyhla-blog-pagination {
  align-items: center;
  border-top: 1px solid rgb(0 0 0 / 18%);
  color: var(--beyhla-black);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 64px !important;
  padding-top: 28px;
}

.beyhla-blog-pagination a,
.beyhla-blog-pagination .page-numbers {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px;
  text-decoration: none;
}

.beyhla-blog-pagination .page-numbers.current {
  color: var(--beyhla-orange-on-light);
}

.beyhla-blog-feed__empty {
  border: 1px solid rgb(0 0 0 / 18%);
  border-radius: 10px;
  margin: 0;
  padding: 36px;
}

/* Single article. */
.beyhla-article-hero__inner {
  align-content: center;
  display: grid;
  gap: 24px 30px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: 700px;
  padding-block: 104px;
  position: relative;
  z-index: 1;
}

.beyhla-article-hero__back {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.beyhla-article-hero__back a,
.beyhla-article__rail-link a {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.beyhla-article-hero__back a::before,
.beyhla-article__rail-link a::before {
  content: "←";
  font-size: 20px;
  line-height: 1;
}

.beyhla-article-hero__category {
  grid-column: 1 / span 9;
}

.beyhla-article-hero__category a {
  color: inherit;
  text-decoration: none;
}

.beyhla-article-hero__title {
  color: var(--beyhla-white);
  font-family: var(--beyhla-heading-font);
  font-size: clamp(44px, 5.2vw, 75px);
  font-weight: 700;
  grid-column: 1 / span 10;
  letter-spacing: 0;
  line-height: 1.14;
  margin-bottom: 6px;
  max-width: 1280px;
  text-transform: uppercase;
}

.beyhla-article-hero__meta {
  align-items: center;
  color: rgb(255 255 255 / 68%);
  display: flex;
  font-size: 14px;
  gap: 14px 30px;
  grid-column: 1 / span 8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.beyhla-article-hero__meta > * {
  margin: 0;
}

.beyhla-article-hero__meta > * + * {
  align-items: center;
  display: flex;
  gap: 30px;
}

.beyhla-article-hero__meta > * + *::before {
  background: var(--beyhla-orange);
  content: "";
  height: 6px;
  rotate: 45deg;
  width: 6px;
}

.beyhla-article-hero__script {
  bottom: 62px;
  color: var(--beyhla-orange);
  font-family: var(--beyhla-script-font);
  font-size: clamp(58px, 6vw, 96px);
  line-height: 1;
  margin: 0;
  opacity: 0.18;
  pointer-events: none;
  position: absolute;
  right: 0;
  rotate: -4deg;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.beyhla-article__featured {
  aspect-ratio: 16 / 7;
  border-radius: 10px;
  margin-block: 0;
  max-width: 1370px;
  overflow: hidden;
}

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

.beyhla-article__surface {
  background: var(--beyhla-light);
  color: var(--beyhla-black);
}

.beyhla-article__layout {
  display: grid !important;
  gap: 30px;
  grid-template-columns: 250px minmax(0, 810px);
  justify-content: center;
  max-width: 1370px;
  padding-block: 104px 120px;
}

.beyhla-article__layout > .wp-block-column {
  margin: 0;
  min-width: 0;
}

.beyhla-article__rail {
  align-self: start;
  border-top: 2px solid var(--beyhla-orange-on-light);
  padding-top: 20px;
  position: sticky;
  top: calc(var(--beyhla-header-height) + var(--beyhla-admin-bar-height) + 30px);
}

.beyhla-article__rail-label {
  color: var(--beyhla-orange-on-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.beyhla-article__summary {
  color: rgb(0 0 0 / 72%);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.beyhla-article__summary :where(p, .wp-block-post-excerpt__excerpt) {
  margin-bottom: 0;
}

.beyhla-article__rail-link a {
  color: var(--beyhla-orange-on-light);
  font-size: 12px;
}

.beyhla-article__content > .wp-block-post-content {
  color: #171717;
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.beyhla-article__content .wp-block-post-content > * {
  margin-block: 0 28px;
}

.beyhla-article__content .wp-block-post-content > p:first-child {
  font-size: 21px;
  line-height: 1.7;
}

.beyhla-article__content .wp-block-post-content > p:first-child::first-letter {
  color: var(--beyhla-orange-on-light);
  float: left;
  font-family: var(--beyhla-heading-font);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.78;
  padding: 10px 10px 0 0;
}

.beyhla-article__content :where(h2, h3) {
  color: var(--beyhla-black);
  font-family: var(--beyhla-heading-font);
  font-weight: 700;
  text-transform: uppercase;
}

.beyhla-article__content h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.25;
  margin-top: 58px !important;
}

.beyhla-article__content h3 {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.3;
  margin-top: 42px !important;
}

.beyhla-article__content a {
  color: var(--beyhla-orange-on-light);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.beyhla-article__content :where(ul, ol) {
  padding-left: 1.35em;
}

.beyhla-article__content li {
  margin-bottom: 12px;
  padding-left: 6px;
}

.beyhla-article__content li::marker {
  color: var(--beyhla-orange-on-light);
  font-weight: 700;
}

.beyhla-article__content blockquote {
  background: var(--beyhla-white);
  border: 0;
  border-left: 4px solid var(--beyhla-orange-on-light);
  border-radius: 0 10px 10px 0;
  color: #252525;
  font-family: var(--beyhla-heading-font);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.45;
  margin-block: 44px !important;
  padding: 30px 34px;
}

.beyhla-article__content blockquote > *:last-child {
  margin-bottom: 0;
}

.beyhla-article__content hr {
  border: 0;
  border-top: 1px solid rgb(0 0 0 / 22%);
  margin-block: 52px !important;
}

.beyhla-article__content figure {
  margin-block: 42px !important;
}

.beyhla-article__content .wp-block-post-content > *,
.beyhla-article__content :where(iframe, table, pre) {
  max-width: 100%;
}

.beyhla-article__content :where(.alignwide, .alignfull) {
  margin-inline: 0;
  width: 100%;
}

.beyhla-article__content :where(pre, .wp-block-table) {
  overflow-x: auto;
}

.beyhla-article__content figure img {
  border-radius: 10px;
}

.beyhla-article__content figcaption {
  color: rgb(0 0 0 / 62%);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 12px;
}

.beyhla-article-nav {
  align-items: stretch;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding-block: 72px;
}

.beyhla-article-nav > * {
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 10px;
  flex: 1 1 0;
  max-width: 48%;
  padding: 24px;
}

.beyhla-article-nav__next {
  text-align: right;
}

.beyhla-article-nav a {
  color: var(--beyhla-white);
  display: block;
  font-family: var(--beyhla-heading-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.beyhla-article-cta {
  background:
    radial-gradient(circle at 50% 135%, rgb(89 42 13 / 78%), transparent 48%),
    var(--beyhla-black);
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.beyhla-article-cta__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-block: 104px;
  text-align: center;
}

.beyhla-article-cta__inner > .beyhla-blog-eyebrow {
  white-space: nowrap;
}

.beyhla-article-cta__title {
  font-family: var(--beyhla-heading-font);
  font-size: clamp(42px, 5vw, 75px);
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.beyhla-article-cta__text {
  color: rgb(255 255 255 / 72%);
  margin-bottom: 34px;
  max-width: 760px;
}

.beyhla-article-cta__button .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--beyhla-orange);
  border-radius: 10px;
  color: var(--beyhla-orange);
  font-size: 18px;
  font-weight: 600;
  min-width: 250px;
  padding: 16px 24px;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
  .beyhla-blog-card:hover {
    box-shadow: 0 26px 58px rgb(0 0 0 / 20%);
    transform: translateY(-5px);
  }

  .beyhla-blog-card:hover .beyhla-blog-card__read-more::after {
    transform: translateX(5px);
  }

  .beyhla-article-cta__button .wp-block-button__link:hover {
    background: linear-gradient(135deg, #363636, #5b5b5b);
    border-color: #777;
    color: var(--beyhla-white);
    transform: translateY(-2px);
  }
}

@media (min-width: 1700px) {
  .beyhla-blog-hero__inner,
  .beyhla-article-hero__inner {
    padding-top: 184px;
  }
}

@media (min-width: 1201px) {
  .beyhla-blog-grid > li:first-child .beyhla-blog-card {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    grid-template-rows: minmax(540px, auto);
  }

  .beyhla-blog-grid > li:first-child .beyhla-blog-card::before,
  .beyhla-blog-grid > li:first-child .beyhla-blog-card__media {
    border-bottom: 0;
    border-right: 2px solid var(--beyhla-orange);
    grid-column: 1;
    grid-row: 1;
  }

  .beyhla-blog-grid > li:first-child .beyhla-blog-card__content {
    grid-column: 2;
    grid-row: 1;
    padding: 44px 38px;
  }

  .beyhla-blog-grid > li:first-child .beyhla-blog-card__title {
    font-size: clamp(36px, 2.4vw, 48px);
  }
}

@media (max-width: 1200px) {
  .beyhla-blog-grid > li,
  .beyhla-blog-grid > li:first-child,
  .beyhla-blog-grid > li:nth-child(2) {
    grid-column: span 6;
  }

  .beyhla-blog-grid > li:only-child {
    grid-column: 1 / -1;
  }

  .beyhla-blog-hero__title {
    grid-column: 1 / -1;
  }

  .beyhla-blog-hero__lede {
    grid-column: 1 / span 7;
  }

  .beyhla-blog-hero__topics {
    grid-column: 8 / -1;
  }
}

@media (max-width: 1100px) {
  .beyhla-article__layout {
    grid-template-columns: minmax(0, 810px);
  }

  .beyhla-article__rail {
    display: grid;
    gap: 12px 30px;
    grid-template-columns: 1fr 2fr;
    position: static;
  }

  .beyhla-article__rail-label,
  .beyhla-article__summary,
  .beyhla-article__rail-link {
    margin-bottom: 0;
  }

  .beyhla-article__summary {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 900px) {
  .beyhla-blog-hero__inner,
  .beyhla-article-hero__inner {
    min-height: 0;
    padding-block: 80px;
  }

  .beyhla-blog-hero__inner {
    display: block;
  }

  .beyhla-blog-hero__inner > .beyhla-blog-eyebrow {
    margin-bottom: 24px;
  }

  .beyhla-blog-hero__title {
    margin-bottom: 24px;
  }

  .beyhla-blog-hero__lede {
    margin-bottom: 30px;
    max-width: 680px;
  }

  .beyhla-blog-hero__topics {
    justify-content: flex-start;
  }

  .beyhla-blog-feed {
    padding-block: 80px 96px;
  }

  .beyhla-blog-feed__header {
    margin-bottom: 48px !important;
  }

  .beyhla-blog-grid > li,
  .beyhla-blog-grid > li:first-child,
  .beyhla-blog-grid > li:nth-child(2),
  .beyhla-blog-grid > li:only-child {
    grid-column: 1 / -1;
  }

  .beyhla-blog-card {
    min-height: 0;
  }

  .beyhla-article-hero__back,
  .beyhla-article-hero__category,
  .beyhla-article-hero__title,
  .beyhla-article-hero__meta {
    grid-column: 1 / -1;
  }

  .beyhla-article-hero__script {
    bottom: 42px;
    font-size: 64px;
  }

  .beyhla-article__layout {
    padding-block: 80px 96px;
  }

  .beyhla-article-nav {
    padding-block: 56px;
  }

  .beyhla-article-cta__inner {
    padding-block: 80px;
  }
}

@media (max-width: 640px) {
  .beyhla-blog-hero::after,
  .beyhla-article-hero::after {
    background-size: 64px 64px;
  }

  .beyhla-blog-hero__inner,
  .beyhla-article-hero__inner {
    padding-block: 56px 64px;
  }

  .beyhla-blog-eyebrow,
  .beyhla-blog-feed__kicker,
  .beyhla-article-hero__category {
    font-size: 11px;
    gap: 12px;
    letter-spacing: 0.16em;
    line-height: 1.5;
  }

  .beyhla-blog-eyebrow::before,
  .beyhla-blog-feed__kicker::before,
  .beyhla-article-hero__category::before {
    flex-basis: 32px;
  }

  .beyhla-blog-hero__title {
    font-size: clamp(40px, 12vw, 58px);
  }

  .beyhla-blog-hero__title .is-script {
    font-size: clamp(52px, 15vw, 72px);
    line-height: 1.08;
  }

  .beyhla-blog-hero__lede {
    font-size: 16px;
  }

  .beyhla-blog-hero__topics {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .beyhla-blog-hero__topics li {
    font-size: 11px;
  }

  .beyhla-blog-hero__topics li::after {
    display: none;
  }

  .beyhla-blog-feed {
    padding-block: 56px 72px;
  }

  .beyhla-blog-feed__header {
    display: block;
    margin-bottom: 36px !important;
  }

  .beyhla-blog-feed__kicker {
    margin-bottom: 18px;
  }

  .beyhla-blog-feed__title {
    font-size: clamp(32px, 10vw, 44px);
  }

  .beyhla-blog-grid {
    gap: 18px;
  }

  .beyhla-blog-card {
    grid-template-rows: 190px minmax(0, 1fr);
  }

  .beyhla-blog-card::after {
    font-size: 64px;
    left: 20px;
    top: 18px;
  }

  .beyhla-blog-card__content {
    padding: 26px 22px 28px;
  }

  .beyhla-blog-card__title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .beyhla-blog-card__excerpt {
    font-size: 15px;
  }

  .beyhla-blog-card__date::before {
    display: none;
  }

  .beyhla-blog-pagination {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 44px !important;
  }

  .beyhla-article-hero__inner {
    display: block;
  }

  .beyhla-article-hero__back,
  .beyhla-article-hero__category,
  .beyhla-article-hero__title {
    margin-bottom: 22px;
  }

  .beyhla-article-hero__title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .beyhla-article-hero__meta {
    align-items: flex-start;
    flex-direction: column;
    font-size: 12px;
    gap: 8px;
  }

  .beyhla-article-hero__meta > * + * {
    gap: 0;
  }

  .beyhla-article-hero__meta > * + *::before,
  .beyhla-article-hero__script {
    display: none;
  }

  .beyhla-article__featured {
    border-radius: 0;
    margin-inline: 0;
    width: 100%;
  }

  .beyhla-article__layout {
    gap: 48px;
    padding-block: 56px 72px;
  }

  .beyhla-article__rail {
    display: block;
  }

  .beyhla-article__rail-label,
  .beyhla-article__summary {
    margin-bottom: 18px;
  }

  .beyhla-article__content > .wp-block-post-content {
    font-size: 17px;
    line-height: 1.72;
  }

  .beyhla-article__content .wp-block-post-content > p:first-child {
    font-size: 19px;
  }

  .beyhla-article__content .wp-block-post-content > p:first-child::first-letter {
    font-size: 58px;
  }

  .beyhla-article__content h2 {
    margin-top: 46px !important;
  }

  .beyhla-article__content blockquote {
    font-size: 22px;
    margin-block: 36px !important;
    padding: 24px 22px;
  }

  .beyhla-article-nav {
    flex-direction: column;
    gap: 18px;
    padding-block: 44px;
  }

  .beyhla-article-nav > * {
    max-width: none;
    width: 100%;
  }

  .beyhla-article-nav__next {
    text-align: left;
  }

  .beyhla-article-cta__inner {
    align-items: flex-start;
    padding-block: 64px;
    text-align: left;
  }

  .beyhla-article-cta__inner .beyhla-blog-eyebrow {
    margin-bottom: 22px;
  }

  .beyhla-article-cta__title {
    font-size: clamp(36px, 11vw, 52px);
  }

  .beyhla-article-cta__button .wp-block-button__link {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .beyhla-blog-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .beyhla-blog-card__content {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beyhla-blog-card,
  .beyhla-blog-card__read-more::after,
  .beyhla-article-cta__button .wp-block-button__link {
    transition: none;
  }
}
