/* =========================================================
   WOBBLEHOOK DISPATCH
========================================================= */

.dispatch-page {
  background: #191719;
  color: var(--cream);
}

.dispatch-page .wrap {
  width:
    min(
      1360px,
      calc(100% - 64px)
    );
}

.dispatch-page .brand img {
  filter: none;
}

.dispatch-page
.site-nav > a[aria-current="page"] {
  color: var(--gold);
}

/* =========================================================
   HERO
========================================================= */

.dispatch-hero {
  position: relative;
  isolation: isolate;

  min-height: 620px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  background: #151416;
}

.dispatch-hero-image {
  position: absolute;

  inset: 0;

  z-index: -4;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 48%;
}

.dispatch-hero-shade {
  position: absolute;

  inset: 0;

  z-index: -3;

  background:
    linear-gradient(
      90deg,
      rgba(19, 17, 19, .97) 0%,
      rgba(19, 17, 19, .86) 30%,
      rgba(19, 17, 19, .35) 62%,
      rgba(19, 17, 19, .08) 100%
    ),
    linear-gradient(
      0deg,
      #191719 0%,
      transparent 35%
    );
}

.dispatch-hero-content {
  padding-bottom: 72px;
}

.dispatch-hero h1 {
  margin: 0;

  color: var(--cream);

  font:
    400
    clamp(
      57px,
      7vw,
      96px
    )/.92
    var(--heading);

  letter-spacing: -.04em;

  text-shadow:
    0 8px 28px
    rgba(0, 0, 0, .65);
}

.dispatch-hero-copy {
  max-width: 610px;

  margin-top: 24px;

  color: #ded2c0;

  font-size: 15px;
  line-height: 1.75;
}

.dispatch-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 22px;

  margin-top: 29px;
}

.dispatch-hero-stamp {
  position: absolute;

  right:
    clamp(
      30px,
      7vw,
      100px
    );

  bottom: 64px;

  z-index: 2;

  display: grid;
  place-items: center;

  width: 170px;
  height: 170px;

  border:
    2px solid
    rgba(215, 179, 120, .55);

  border-radius: 50%;

  color: #dec28e;

  text-align: center;

  transform: rotate(-8deg);

  opacity: .72;
}

.dispatch-hero-stamp::before {
  content: "";

  position: absolute;

  inset: 8px;

  border:
    1px dashed
    rgba(215, 179, 120, .45);

  border-radius: 50%;
}

.dispatch-hero-stamp span {
  font:
    700 10px/1.2
    var(--label);

  letter-spacing: .12em;
}

.dispatch-hero-stamp strong {
  font:
    400 25px/1
    var(--heading);
}

/* =========================================================
   SECTION HEADERS
========================================================= */

.latest-section,
.archive-section {
  padding:
    90px 0;
}

.latest-section {
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(215, 179, 120, .05),
      transparent 32%
    ),
    #191719;
}

.archive-section {
  border-top:
    1px solid
    rgba(215, 179, 120, .12);

  background: #151416;
}

.section-heading,
.archive-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;

  gap: 50px;

  margin-bottom: 40px;
}

.section-heading h2,
.archive-heading h2 {
  font-size:
    clamp(
      39px,
      4vw,
      54px
    );
}

.section-heading > p,
.archive-heading > p {
  max-width: 430px;

  color: #aa9e90;

  font-size: 12px;
}

/* =========================================================
   LATEST CARD
========================================================= */

.latest-card {
  display: grid;

  grid-template-columns:
    1.1fr .9fr;

  min-height: 460px;

  overflow: hidden;

  border:
    1px solid
    rgba(215, 179, 120, .30);

  background: #211f20;

  box-shadow:
    0 22px 50px
    rgba(0, 0, 0, .28);
}

.latest-card-image {
  position: relative;

  min-height: 460px;

  overflow: hidden;
}

.latest-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .45s ease;
}

.latest-card:hover
.latest-card-image img {
  transform: scale(1.025);
}

.latest-version {
  position: absolute;

  left: 18px;
  top: 18px;

  padding:
    7px 10px;

  background:
    rgba(23, 21, 22, .90);

  border-left:
    2px solid var(--gold);

  color: var(--gold-light);

  font:
    700 11px/1.3
    var(--label);

  letter-spacing: .08em;
}

.latest-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding:
    clamp(
      32px,
      5vw,
      65px
    );
}

.dispatch-date {
  color: #9f9386;

  font:
    700 10px/1.4
    var(--label);

  letter-spacing: .12em;
}

.latest-card-content h3 {
  margin:
    12px 0 17px;

  font-size:
    clamp(
      34px,
      4vw,
      48px
    );

  line-height: 1.08;
}

.latest-card-content > p {
  color: #c5baaa;

  font-size: 14px;
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;

  gap: 7px;

  margin-top: 20px;
}

.dispatch-tag {
  display: inline-flex;

  padding:
    5px 8px;

  border:
    1px solid
    rgba(215, 179, 120, .20);

  background: #171617;

  color: #c7b79c;

  font:
    700 9px/1.3
    var(--label);

  letter-spacing: .07em;
  text-transform: uppercase;
}

.latest-card-button {
  align-self: flex-start;

  margin-top: 27px;
}

/* =========================================================
   TOOLS
========================================================= */

.dispatch-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 30px;

  margin-bottom: 20px;
}

.dispatch-search {
  display: flex;
  align-items: center;

  width:
    min(
      420px,
      100%
    );

  border:
    1px solid
    rgba(215, 179, 120, .25);

  background: #211f20;
}

.dispatch-search > span {
  padding-left: 15px;

  color: var(--gold);

  font-size: 22px;
}

.dispatch-search input {
  width: 100%;

  padding:
    13px 15px;

  border: 0;
  outline: 0;

  background: transparent;
  color: var(--cream);

  font: inherit;
}

.dispatch-search input::placeholder {
  color: #786f67;
}

.dispatch-search:focus-within {
  border-color:
    rgba(215, 179, 120, .65);
}

.dispatch-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;

  gap: 7px;
}

.filter-button {
  min-height: 38px;

  padding:
    8px 13px;

  border:
    1px solid
    rgba(215, 179, 120, .22);

  background: #211f20;
  color: #a99c8e;

  font:
    700 11px/1.3
    var(--label);

  letter-spacing: .05em;
}

.filter-button:hover,
.filter-button.is-active {
  border-color:
    rgba(215, 179, 120, .72);

  background: #493726;

  color: #ffe1a8;
}

/* =========================================================
   ARCHIVE META
========================================================= */

.archive-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 35px;

  margin-bottom: 21px;

  color: #82786e;

  font:
    700 10px/1.4
    var(--label);

  letter-spacing: .07em;
}

.clear-filter {
  border: 0;

  background: transparent;
  color: var(--gold);

  font:
    700 10px/1.4
    var(--label);
}

/* =========================================================
   GRID
========================================================= */

.dispatch-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 18px;
}

.dispatch-card {
  display: flex;
  flex-direction: column;

  min-height: 410px;

  overflow: hidden;

  border:
    1px solid
    rgba(215, 179, 120, .20);

  background: #201e1f;

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.dispatch-card:hover {
  transform:
    translateY(-4px);

  border-color:
    rgba(215, 179, 120, .55);

  box-shadow:
    0 18px 38px
    rgba(0, 0, 0, .28);
}

.dispatch-card-image {
  position: relative;

  height: 205px;

  overflow: hidden;

  background: #151416;
}

.dispatch-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .4s ease;
}

.dispatch-card:hover
.dispatch-card-image img {
  transform: scale(1.03);
}

.card-version {
  position: absolute;

  left: 12px;
  top: 12px;

  padding:
    5px 7px;

  background:
    rgba(20, 18, 19, .90);

  color: var(--gold-light);

  font:
    700 9px/1.3
    var(--label);

  letter-spacing: .08em;
}

.dispatch-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;

  padding: 20px;
}

.dispatch-card-body h3 {
  margin:
    8px 0 10px;

  color: var(--cream);

  font-size: 25px;
  line-height: 1.12;
}

.dispatch-card-body > p {
  color: #aaa094;

  font-size: 12px;
  line-height: 1.65;
}

.dispatch-card .tag-row {
  margin-top: 15px;
}

.dispatch-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-top: auto;
  padding-top: 21px;
}

.dispatch-card-footer button {
  border: 0;

  background: transparent;
  color: var(--gold-light);

  font:
    700 11px/1.3
    var(--label);

  letter-spacing: .06em;
}

.dispatch-status {
  color: #83bac5;

  font:
    700 9px/1.3
    var(--label);

  letter-spacing: .06em;
  text-transform: uppercase;
}

/* =========================================================
   EMPTY / LOADING
========================================================= */

.dispatch-loading,
.dispatch-empty {
  padding:
    70px 20px;

  text-align: center;

  border:
    1px solid
    rgba(215, 179, 120, .18);

  color: #9f9589;
}

.dispatch-empty strong {
  display: block;

  color: var(--cream);

  font:
    400 28px/1.3
    var(--heading);
}

.dispatch-empty p {
  margin-top: 7px;

  font-size: 12px;
}

/* =========================================================
   COMMUNITY
========================================================= */

.dispatch-community {
  padding:
    85px 0;

  background:
    radial-gradient(
      circle at 80% 50%,
      rgba(82, 174, 190, .08),
      transparent 30%
    ),
    #181d1f;

  border-top:
    1px solid
    rgba(128, 190, 199, .14);
}

.community-layout {
  display: grid;

  grid-template-columns:
    1fr auto;

  align-items: center;

  gap: 60px;
}

.community-layout h2 {
  margin:
    8px 0 17px;

  font-size:
    clamp(
      36px,
      4vw,
      50px
    );
}

.community-layout p:not(.kicker) {
  max-width: 650px;

  color: #b9c0bf;

  font-size: 13px;
  line-height: 1.7;
}

.community-button {
  white-space: nowrap;
}

/* =========================================================
   READER
========================================================= */

.dispatch-page:has(
  .dispatch-reader[open]
) {
  overflow: hidden;
}

.dispatch-reader {
  width:
    min(
      1000px,
      calc(100% - 30px)
    );

  max-height:
    calc(100dvh - 30px);

  margin: auto;
  padding: 0;

  border:
    1px solid
    rgba(215, 179, 120, .55);

  background: #171617;
  color: var(--cream);

  box-shadow:
    0 30px 100px
    rgba(0, 0, 0, .76);
}

.dispatch-reader::backdrop {
  background:
    rgba(7, 6, 7, .88);

  backdrop-filter:
    blur(4px);
}

.reader-shell {
  max-height:
    calc(100dvh - 32px);

  display: flex;
  flex-direction: column;
}

.reader-header {
  flex-shrink: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;

  min-height: 68px;

  padding:
    12px 18px;

  border-bottom:
    1px solid
    rgba(215, 179, 120, .20);

  background: #201e1f;
}

.reader-eyebrow {
  color: var(--gold);

  font:
    700 11px/1.3
    var(--label);

  letter-spacing: .12em;
}

#reader-version {
  display: block;

  margin-top: 3px;

  color: #8f8479;

  font-size: 10px;
}

.reader-close {
  width: 42px;
  height: 42px;

  border:
    1px solid
    rgba(215, 179, 120, .32);

  background: #171617;
  color: var(--cream);

  font-size: 26px;
}

.reader-scroll {
  overflow-y: auto;
}

.reader-hero {
  position: relative;

  min-height: 360px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;
}

.reader-hero > img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.reader-hero-shade {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(17, 16, 17, .98),
      rgba(17, 16, 17, .45) 62%,
      rgba(17, 16, 17, .08)
    );
}

.reader-title-wrap {
  position: relative;

  z-index: 2;

  width: 100%;

  padding:
    45px;
}

.reader-title-wrap h2 {
  max-width: 720px;

  margin:
    12px 0 14px;

  font-size:
    clamp(
      36px,
      5vw,
      56px
    );

  line-height: 1.03;
}

.reader-title-wrap > p {
  max-width: 700px;

  color: #d0c5b5;

  font-size: 14px;
  line-height: 1.7;
}

.reader-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 6px;
}

.reader-byline {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-top: 17px;

  color: #a99e90;

  font:
    700 10px/1.4
    var(--label);

  letter-spacing: .06em;
  text-transform: uppercase;
}

/* =========================================================
   READER CONTENT
========================================================= */

.reader-content {
  width:
    min(
      760px,
      calc(100% - 60px)
    );

  margin-inline: auto;

  padding:
    45px 0 55px;
}

.reader-section + .reader-section {
  margin-top: 42px;

  padding-top: 38px;

  border-top:
    1px solid
    rgba(215, 179, 120, .14);
}

.reader-section h3 {
  margin-bottom: 13px;

  color: var(--gold-light);

  font:
    700 18px/1.3
    var(--label);

  letter-spacing: .04em;
}

.reader-section .section-intro {
  margin-bottom: 17px;

  color: #d0c4b2;

  font:
    400 20px/1.55
    var(--heading);
}

.reader-section p {
  color: #c1b6a7;

  font-size: 14px;
  line-height: 1.75;
}

.reader-section ul {
  margin:
    16px 0 0;

  padding: 0;

  list-style: none;
}

.reader-section li {
  position: relative;

  padding:
    8px 0
    8px 22px;

  color: #c8bdae;

  font-size: 14px;
  line-height: 1.65;
}

.reader-section li::before {
  content: "◆";

  position: absolute;

  left: 0;
  top: 10px;

  color: var(--gold);

  font-size: 8px;
}

.reader-footer {
  padding:
    28px 45px;

  border-top:
    1px solid
    rgba(215, 179, 120, .17);

  background: #201e1f;
}

.reader-footer > p {
  color: #a99e91;

  font:
    400 16px/1.5
    var(--heading);
}

.reader-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 18px;

  margin-top: 19px;
}

.reader-actions button,
.reader-actions a {
  border: 0;

  background: transparent;
  color: var(--gold-light);

  font:
    700 11px/1.4
    var(--label);

  letter-spacing: .07em;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

  .dispatch-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .dispatch-hero-stamp {
    display: none;
  }

}

@media (max-width: 800px) {

  .latest-card {
    grid-template-columns: 1fr;
  }

  .latest-card-image {
    min-height: 340px;
  }

  .dispatch-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .dispatch-search {
    width: 100%;
  }

  .dispatch-filters {
    justify-content: flex-start;
  }

  .community-layout {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 700px) {

  .dispatch-page .wrap {
    width:
      calc(100% - 34px);
  }

  .dispatch-hero {
    min-height: 650px;
  }

  .dispatch-hero-image {
    object-position:
      60% center;
  }

  .dispatch-hero-shade {
    background:
      linear-gradient(
        0deg,
        #191719 0%,
        rgba(25, 23, 25, .92) 38%,
        rgba(25, 23, 25, .20) 78%
      );
  }

  .dispatch-hero-content {
    padding-bottom: 55px;
  }

  .dispatch-hero h1 {
    font-size:
      clamp(
        54px,
        15vw,
        72px
      );
  }

  .latest-section,
  .archive-section {
    padding:
      65px 0;
  }

  .section-heading,
  .archive-heading {
    display: block;
  }

  .section-heading > p,
  .archive-heading > p {
    margin-top: 11px;
  }

  .dispatch-grid {
    grid-template-columns: 1fr;
  }

  .dispatch-card {
    min-height: 390px;
  }

  .reader-title-wrap {
    padding:
      30px 20px;
  }

  .reader-content {
    width:
      calc(100% - 38px);

    padding:
      35px 0 45px;
  }

  .reader-footer {
    padding:
      24px 20px;
  }

  .reader-hero {
    min-height: 380px;
  }

}