/* =========================================================
   BEYOND HORIZONS — SINGLE NEWS TEMPLATE
   ========================================================= */

.bhsn-page,
.bhsn-page *,
.bhsn-page *::before,
.bhsn-page *::after {
  box-sizing: border-box;
}

.bhsn-page {
  --bhsn-black: #050605;
  --bhsn-dark: #10120d;
  --bhsn-dark-soft: #15140f;
  --bhsn-cream: #f2ecdf;
  --bhsn-cream-soft: #d7cbb7;
  --bhsn-muted: #a99f8d;
  --bhsn-gold: #c8a24a;
  --bhsn-gold-light: #dfbd63;
  --bhsn-gold-dark: #9e7d2c;
  --bhsn-card: #f6efe1;
  --bhsn-copy: #514a3d;

  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--bhsn-cream);
  background: var(--bhsn-black);
}

.bhsn-page a {
  color: inherit;
  text-decoration: none;
}

.bhsn-page img {
  max-width: 100%;
  height: auto;
}

.bhsn-container {
  width: min(1280px, calc(100% - 48px));
  max-width: 1280px;
  margin-inline: auto;
}

/* READING PROGRESS */

.bhsn-progress {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0);
  left: 0;
  z-index: 99998;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.bhsn-progress span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--bhsn-gold-dark), var(--bhsn-gold-light));
  box-shadow: 0 0 18px rgba(200, 162, 74, 0.55);
}

/* HERO */

.bhsn-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 75% 20%, rgba(200, 162, 74, 0.18), transparent 35%),
    #080907;
}

.bhsn-hero__image {
  position: absolute;
  inset: -10px;
  z-index: -3;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  object-fit: cover;
  object-position: center;
  filter: blur(3px) brightness(.62) saturate(.82);
  transform: scale(1.03);
}

.bhsn-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.98) 0%,
      rgba(0,0,0,.82) 43%,
      rgba(0,0,0,.67) 66%,
      rgba(0,0,0,.9) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,.32),
      rgba(0,0,0,.14) 24%,
      rgba(0,0,0,.94)
    );
}

.bhsn-hero__texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .13;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.bhsn-hero__inner {
  padding-top: 180px;
  padding-bottom: 110px;
}

.bhsn-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--bhsn-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bhsn-breadcrumbs a {
  color: var(--bhsn-gold);
}

.bhsn-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 24px;
  color: var(--bhsn-cream-soft);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bhsn-hero__meta > * {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.bhsn-category {
  padding: 0 13px;
  color: #171207;
  background: linear-gradient(180deg, var(--bhsn-gold-light), var(--bhsn-gold));
  border-radius: 999px;
}

.bhsn-hero h1 {
  max-width: 1030px;
  margin: 0;
  color: var(--bhsn-cream);
  font-family: "Bebas Neue", "Oswald", Arial, sans-serif;
  font-size: clamp(58px, 7.5vw, 116px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 28px 84px rgba(0, 0, 0, .88);
}


.bhsn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* BUTTONS */

.bhsn-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition:
    transform .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.bhsn-button:hover,
.bhsn-button:focus-visible {
  transform: translateY(-2px);
}

.bhsn-button--gold,
.bhsn-button--gold:link,
.bhsn-button--gold:visited,
.bhsn-button--gold:hover,
.bhsn-button--gold:focus,
.bhsn-button--gold:focus-visible,
.bhsn-button--gold:active {
  color: #171207 !important;
  background: linear-gradient(
    180deg,
    var(--bhsn-gold-light),
    var(--bhsn-gold)
  ) !important;
  border-color: transparent !important;
  box-shadow: 0 16px 42px rgba(200, 162, 74, .25);
}

.bhsn-button--outline,
.bhsn-button--outline:link,
.bhsn-button--outline:visited,
.bhsn-button--outline:hover,
.bhsn-button--outline:focus,
.bhsn-button--outline:focus-visible,
.bhsn-button--outline:active {
  color: var(--bhsn-cream) !important;
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.25) !important;
}

/* MAIN LAYOUT */

.bhsn-main {
  position: relative;
  padding: 0 0 108px;
  background:
    radial-gradient(circle at 18% 0, rgba(200,162,74,.12), transparent 28%),
    linear-gradient(180deg, #0b0c09, var(--bhsn-black));
}

.bhsn-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px minmax(0, 900px);
  gap: 28px;
  align-items: start;
  justify-content: center;
  transform: translateY(-58px);
}

.bhsn-sidebar {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 28px);
  display: grid;
  gap: 14px;
}

.bhsn-sidebar__card,
.bhsn-sidebar__back {
  padding: 20px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

.bhsn-sidebar__label {
  margin: 0 0 14px;
  color: var(--bhsn-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bhsn-share {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.bhsn-share a,
.bhsn-share a:link,
.bhsn-share a:visited,
.bhsn-share a:hover,
.bhsn-share a:focus,
.bhsn-share a:focus-visible,
.bhsn-share a:active,
.bhsn-share button,
.bhsn-share button:hover,
.bhsn-share button:focus,
.bhsn-share button:focus-visible,
.bhsn-share button:active {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #171207 !important;
  background: var(--bhsn-gold) !important;
  border: 0 !important;
  border-radius: 13px;
  box-shadow: none !important;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease;
}

.bhsn-share a:hover,
.bhsn-share a:focus-visible,
.bhsn-share button:hover,
.bhsn-share button:focus-visible {
  transform: translateY(-2px);
}

.bhsn-copy-status {
  min-height: 17px;
  margin: 10px 0 0;
  color: var(--bhsn-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  line-height: 1.4;
}

.bhsn-sidebar__back span,
.bhsn-sidebar__back strong {
  display: block;
}

.bhsn-sidebar__back span {
  margin-bottom: 7px;
  color: var(--bhsn-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bhsn-sidebar__back strong {
  color: var(--bhsn-gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.bhsn-content-card {
  overflow: hidden;
  color: var(--bhsn-dark-soft);
  background:
    radial-gradient(circle at 100% 0, rgba(200,162,74,.13), transparent 30%),
    var(--bhsn-card);
  border: 1px solid rgba(200,162,74,.24);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}

.bhsn-content {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(34px, 5vw, 72px);
  color: var(--bhsn-copy);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.82;
}

/* ARTICLE TYPOGRAPHY */

.bhsn-content > *:first-child {
  margin-top: 0;
}

.bhsn-content > *:last-child {
  margin-bottom: 0;
}

.bhsn-content p {
  margin: 0 0 1.45em;
}

.bhsn-content > p:first-of-type::first-letter {
  float: none;
  margin: 0 .05em 0 0;
  color: var(--bhsn-gold-dark);
  font-family: "Bebas Neue", "Oswald", Arial, sans-serif;
  font-size: 2.35em;
  font-weight: 500;
  line-height: 1;
}

.bhsn-content h2,
.bhsn-content h3,
.bhsn-content h4 {
  color: var(--bhsn-dark-soft);
  font-family: "Oswald", Arial, sans-serif;
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: balance;
}

.bhsn-content h2 {
  position: relative;
  margin: 2em 0 .8em;
  padding-top: 20px;
  font-size: clamp(29px, 3vw, 42px);
}

.bhsn-content h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bhsn-gold-dark), var(--bhsn-gold-light));
}

.bhsn-content h3 {
  margin: 1.7em 0 .7em;
  font-size: clamp(23px, 2.2vw, 31px);
}

.bhsn-content h4 {
  margin: 1.5em 0 .65em;
  font-size: 22px;
}

.bhsn-content a {
  color: var(--bhsn-gold-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.bhsn-content strong {
  color: var(--bhsn-dark-soft);
  font-weight: 800;
}

.bhsn-content ul,
.bhsn-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.35em;
}

.bhsn-content li {
  margin-bottom: .65em;
  padding-left: .3em;
}

.bhsn-content li::marker {
  color: var(--bhsn-gold-dark);
  font-weight: 900;
}

.bhsn-content blockquote {
  position: relative;
  margin: 2em 0;
  padding: 28px 30px 28px 34px;
  color: var(--bhsn-cream);
  background:
    radial-gradient(circle at 100% 0, rgba(200,162,74,.18), transparent 38%),
    var(--bhsn-dark);
  border: 1px solid rgba(200,162,74,.25);
  border-left: 5px solid var(--bhsn-gold);
  border-radius: 0 22px 22px 0;
  box-shadow: 0 18px 50px rgba(0,0,0,.15);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.45;
}

.bhsn-content blockquote p {
  margin: 0;
}

.bhsn-content figure {
  margin: 2em 0;
}

.bhsn-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.bhsn-content figcaption {
  margin-top: 10px;
  color: #746c5e;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.bhsn-content hr {
  height: 1px;
  margin: 2.4em 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(158,125,44,.48), transparent);
}

.bhsn-content pre,
.bhsn-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.bhsn-content code {
  padding: .18em .42em;
  color: #f2dca0;
  background: var(--bhsn-dark);
  border-radius: 6px;
  font-size: .9em;
}

.bhsn-content pre {
  overflow-x: auto;
  margin: 1.8em 0;
  padding: 22px;
  color: var(--bhsn-cream-soft);
  background: var(--bhsn-dark);
  border: 1px solid rgba(200,162,74,.22);
  border-radius: 18px;
}

.bhsn-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.bhsn-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 18px;
  font-size: 14px;
}

.bhsn-content th,
.bhsn-content td {
  padding: 13px 14px;
  text-align: left;
  border-right: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.bhsn-content th {
  color: var(--bhsn-cream);
  background: var(--bhsn-dark);
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
}

.bhsn-content tr:last-child td {
  border-bottom: 0;
}

.bhsn-content th:last-child,
.bhsn-content td:last-child {
  border-right: 0;
}

/* POST NAVIGATION */

.bhsn-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1108px;
  margin: 0 auto 76px;
}

.bhsn-post-navigation__item {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 23px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 21px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.bhsn-post-navigation__item:hover {
  transform: translateY(-3px);
  background: rgba(200,162,74,.07);
  border-color: rgba(200,162,74,.4);
}

.bhsn-post-navigation__item--next {
  text-align: right;
}

.bhsn-post-navigation__item span {
  margin-bottom: 9px;
  color: var(--bhsn-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bhsn-post-navigation__item strong {
  color: var(--bhsn-gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 21px;
  line-height: 1.2;
  text-transform: uppercase;
}

.bhsn-post-navigation__item.is-empty {
  visibility: hidden;
}

/* RELATED */

.bhsn-related {
  max-width: 1108px;
  margin-inline: auto;
}

.bhsn-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.bhsn-kicker {
  margin: 0 0 13px;
  color: var(--bhsn-gold);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bhsn-section-head h2,
.bhsn-cta h2 {
  margin: 0;
  color: var(--bhsn-cream);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
}

.bhsn-text-link {
  color: var(--bhsn-gold);
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bhsn-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bhsn-related-card {
  overflow: hidden;
  color: var(--bhsn-dark-soft);
  background: var(--bhsn-card);
  border: 1px solid rgba(200,162,74,.22);
  border-radius: 23px;
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
  transition: transform .2s ease, border-color .2s ease;
}

.bhsn-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,162,74,.5);
}

.bhsn-related-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background: var(--bhsn-dark);
}

.bhsn-related-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.bhsn-related-card:hover .bhsn-related-card__image {
  transform: scale(1.045);
}

.bhsn-related-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--bhsn-gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 54px;
  font-weight: 700;
}

.bhsn-related-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.45));
}

.bhsn-related-card__body {
  padding: 20px;
}

.bhsn-related-card time {
  display: block;
  margin-bottom: 10px;
  color: var(--bhsn-gold-dark);
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.bhsn-related-card h3 {
  margin: 0;
  color: var(--bhsn-dark-soft);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.12;
  text-transform: uppercase;
}

.bhsn-related-card__link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--bhsn-gold-dark);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

/* CTA */

.bhsn-cta {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.5), rgba(0,0,0,.9)),
    url("/wp-content/uploads/bh-assets/news/news-cta.webp") center / cover no-repeat,
    #080907;
}

.bhsn-cta__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 0, rgba(200,162,74,.2), transparent 35%);
}

.bhsn-cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 740px) auto;
  gap: 36px;
  align-items: center;
}

.bhsn-cta p:not(.bhsn-kicker) {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--bhsn-cream-soft);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.bhsn-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.bhsn-admin-note {
  padding: 18px;
  color: #5a5346;
  background: #f6efe1;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 16px;
  font-family: "Inter", Arial, sans-serif;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .bhsn-layout {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin-inline: auto;
  }

  .bhsn-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
    order: 2;
  }

  .bhsn-content-card {
    order: 1;
  }

  .bhsn-cta__grid {
    grid-template-columns: 1fr;
  }

  .bhsn-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .bhsn-related__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .bhsn-container {
    width: calc(100% - 30px);
  }

  .bhsn-hero {
    min-height: 640px;
  }

  .bhsn-hero__inner {
    padding-top: 128px;
    padding-bottom: 92px;
  }

  .bhsn-hero h1 {
    font-size: clamp(46px, 13vw, 68px);
    line-height: .96;
  }

  .bhsn-hero__lead {
    font-size: 16px;
  }

  .bhsn-hero__actions,
  .bhsn-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bhsn-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .bhsn-main {
    padding-bottom: 74px;
  }

  .bhsn-layout {
    transform: translateY(-38px);
  }

  .bhsn-content-card {
    border-radius: 23px;
  }

  .bhsn-content {
    padding: 28px 20px;
    font-size: 16px;
    line-height: 1.75;
  }

  .bhsn-content > p:first-of-type::first-letter {
    font-size: 2.15em;
  }

  .bhsn-content blockquote {
    padding: 22px;
    border-radius: 0 17px 17px 0;
  }

  .bhsn-sidebar {
    grid-template-columns: 1fr;
  }

  .bhsn-share {
    grid-template-columns: repeat(3, 42px);
  }

  .bhsn-post-navigation,
  .bhsn-related__grid {
    grid-template-columns: 1fr;
  }

  .bhsn-post-navigation__item--next {
    text-align: left;
  }

  .bhsn-post-navigation__item.is-empty {
    display: none;
  }

  .bhsn-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bhsn-cta {
    padding: 74px 0;
  }
}

@media (max-width: 430px) {
  .bhsn-container {
    width: calc(100% - 24px);
  }

  .bhsn-hero__meta {
    gap: 8px;
  }

  .bhsn-content {
    padding-inline: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bhsn-button,
  .bhsn-share a,
  .bhsn-share button,
  .bhsn-related-card,
  .bhsn-related-card__image,
  .bhsn-post-navigation__item {
    transition: none;
  }
}
