/* BNG Hub | Join BNG recruitment hero | child theme 0.3.10 (refined)
 * Scoped to bng-join-hero Cover; Gutenberg text remains translatable.
 * The Cover contains a bng-join-hero-content Group with:
 *   eyebrow Paragraph, one H1, intro Paragraph (.bng-join-hero-intro)
 * plus a sibling bng-join-hero-labels Row with three Paragraphs.
 * Avoid applying typography to first CHILD of Group: some WP versions place
 * a .wp-block-group__inner-container there, which would style every child.
 */
.wp-block-cover.bng-join-hero {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: clamp(670px, 49vw, 790px);
  padding: clamp(62px, 6vw, 100px) clamp(20px, 5vw, 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f5f7fa;
  z-index: 3;
  /* The original artwork is untouched. Clip only the rendered Cover bottom.
     The panorama beneath rises into the resulting transparent notches. */
  clip-path: polygon(
    0 0, 100% 0,
    100% calc(100% - 19px),
    89% calc(100% - 34px),
    76% calc(100% - 21px),
    63% calc(100% - 31px),
    50% calc(100% - 18px),
    38% calc(100% - 33px),
    25% calc(100% - 20px),
    12% calc(100% - 35px),
    0 calc(100% - 24px)
  );
}
/* Reproduce the approved V3 direction: protect headline readability on the
 * left, then release the overlay early enough for faces and fortress details
 * to stay bright on the right. The Gutenberg Cover slider is intentionally
 * superseded by this page-specific gradient (its setting can remain at 60%). */
.wp-block-cover.bng-join-hero > .wp-block-cover__background {
  background: linear-gradient(90deg,
    rgba(6,17,29,.98) 0%,
    rgba(6,20,32,.91) 29%,
    rgba(7,22,32,.60) 49%,
    rgba(6,18,30,.05) 80%) !important;
  opacity: 1 !important;
}
.wp-block-cover.bng-join-hero > .wp-block-cover__image-background {
  object-position: center 49%;
}
.wp-block-cover.bng-join-hero > .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.wp-block-cover.bng-join-hero .bng-join-hero-content {
  width: 100%;
  max-width: none;
  align-self: stretch;
  margin: 0 !important;
  gap: 0;
}
/* Older Gutenberg/GeneratePress variations can add this wrapper. It must
 * fill the rail instead of centering at the ordinary page content width. */
.wp-block-cover.bng-join-hero .bng-join-hero-content > .wp-block-group__inner-container {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 !important;
}
/* Prevent Gutenberg constrained-Group auto margins from centering the hero
 * text while the sibling badge Row stays at the left. Supports WP variants
 * with and without an inner-container wrapper. */
.wp-block-cover.bng-join-hero .bng-join-hero-content > :is(h1, p),
.wp-block-cover.bng-join-hero .bng-join-hero-content > .wp-block-group__inner-container > :is(h1, p) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}
/* The eyebrow is the only paragraph in the Group without the intro class.
 * This also survives Gutenberg's optional Group inner-container wrapper. */
.wp-block-cover.bng-join-hero .bng-join-hero-content p:not(.bng-join-hero-intro) {
  display: flex;
  align-items: center;
  gap: .7em;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 11px !important;
  color: #e7c98b;
  text-transform: uppercase;
  font-size: clamp(.76rem, .9vw, .88rem);
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.5;
}
.wp-block-cover.bng-join-hero .bng-join-hero-content p:not(.bng-join-hero-intro)::before {
  content: '';
  display: block;
  flex: none;
  width: 28px;
  height: 3px;
  background: currentColor;
  transform: skewX(-25deg);
}
.wp-block-cover.bng-join-hero .bng-join-hero-content h1 {
  width: 100%;
  max-width: 1040px;
  margin: 0 0 22px !important;
  color: #f5f7fa;
  font-size: clamp(3.15rem, 6.95vw, 7.8rem);
  font-weight: 900;
  line-height: 1.055;
  letter-spacing: -.046em;
  text-transform: uppercase;
  text-wrap: pretty;
  overflow-wrap: break-word;
  text-shadow: 0 3px 28px rgba(0,0,0,.33);
}
/* Colored inline text selection on IS COLD. remains in Gutenberg and translates. */
.wp-block-cover.bng-join-hero .bng-join-hero-content .bng-join-hero-intro {
  display: block;
  max-width: 640px;
  margin: 0 0 28px;
  color: #e2ecf1;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.65;
  text-wrap: pretty;
}
.wp-block-cover.bng-join-hero .bng-join-hero-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1240px;
  align-self: stretch;
  margin: 0 !important;
}
.wp-block-cover.bng-join-hero .bng-join-hero-labels > p {
  flex: 0 1 auto;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 17px;
  border: 1px solid rgba(169,205,220,.36);
  background: rgba(8,22,34,.73);
  color: #edf4f8;
  font-size: clamp(.76rem, 1vw, .92rem);
  font-weight: 825;
  line-height: 1.5;
  letter-spacing: .07em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.wp-block-cover.bng-join-hero .bng-join-hero-labels > p:first-child {
  color: #f2d394;
  border-color: rgba(231,201,139,.8);
  background: rgba(35,29,25,.77);
}
.wp-block-cover.bng-join-hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(0deg, rgba(15,32,43,.98), transparent);
  pointer-events: none;
}
@media (max-width: 1000px) {
  .wp-block-cover.bng-join-hero .bng-join-hero-content h1 {
    font-size: clamp(3.2rem, 7.7vw, 6rem);
  }
}
@media (max-width: 782px) {
  .wp-block-cover.bng-join-hero {
    min-height: 670px;
    padding: 70px 24px 62px;
    align-items: flex-end;
  }
  .wp-block-cover.bng-join-hero > .wp-block-cover__background {
    background: linear-gradient(180deg,
      rgba(8,20,31,.48) 0%,
      rgba(8,20,31,.63) 30%,
      rgba(8,20,31,.86) 67%,
      rgba(8,20,31,.96) 100%) !important;
  }
  .wp-block-cover.bng-join-hero > .wp-block-cover__image-background {
    object-position: 63% center;
  }
  .wp-block-cover.bng-join-hero .bng-join-hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 9.3vw, 5rem);
    line-height: 1.06;
  }
  .wp-block-cover.bng-join-hero .bng-join-hero-content .bng-join-hero-intro {
    font-size: 1.05rem;
    line-height: 1.55;
  }
  .wp-block-cover.bng-join-hero .bng-join-hero-labels > p {
    font-size: .75rem;
    padding: 10px 12px;
  }
}
@media (max-width: 420px) {
  .wp-block-cover.bng-join-hero {
    min-height: 690px;
    padding: 55px 18px 56px;
  }
  .wp-block-cover.bng-join-hero .bng-join-hero-content h1 {
    font-size: clamp(2.3rem, 10.3vw, 3.25rem);
  }
  .wp-block-cover.bng-join-hero .bng-join-hero-content p:not(.bng-join-hero-intro) {
    letter-spacing: .13em;
  }
  .wp-block-cover.bng-join-hero .bng-join-hero-labels { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .wp-block-cover.bng-join-hero *,
  .wp-block-cover.bng-join-hero *::before,
  .wp-block-cover.bng-join-hero *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* JOIN BNG — FROZEN PASSAGE + OPERATIONS BOARD
 * The approved art remains an ordinary full-resolution Gutenberg Image.
 * All written content is editable in Gutenberg; the schedule is a Core shortcode.
 */
figure.wp-block-image.bng-join-frozen-passage {
  position: relative;
  z-index: 2;
  margin: -42px 0 -40px !important;
  width: 100%;
  max-width: none;
  line-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #182e3b;
  /* Clip just the rendered Image block, not the uploaded media asset. */
  clip-path: polygon(
    0 0, 100% 0,
    100% calc(100% - 24px),
    88% calc(100% - 36px),
    74% calc(100% - 23px),
    61% calc(100% - 32px),
    49% calc(100% - 18px),
    36% calc(100% - 36px),
    25% calc(100% - 22px),
    12% calc(100% - 34px),
    0 calc(100% - 20px)
  );
}
figure.wp-block-image.bng-join-frozen-passage img {
  display: block;
  width: 100%;
  height: clamp(175px, 16vw, 270px);
  max-width: none;
  object-fit: cover;
  object-position: 50% 48%;
}
/* Top join: keep a visibly separate, rough-edged navy passage between
 * the hero ridge and the panorama. This navy overlay masks only the image's
 * upper edge; the original image file and the approved LOWER clip remain as-is.
 * Different polygon silhouettes keep the two boundaries from matching up. */
figure.wp-block-image.bng-join-frozen-passage::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 82px;
  pointer-events: none;
  background: #182e3b;
  clip-path: polygon(
    0 0, 100% 0,
    100% 78%, 90% 71%, 78% 87%, 65% 75%,
    53% 84%, 41% 69%, 29% 80%, 17% 73%,
    8% 88%, 0 77%
  );
}
figure.wp-block-image.bng-join-frozen-passage::after {
  content: '';
  position: absolute;
  z-index: 1;
  pointer-events: none;
  inset: auto 0 0;
  height: 32px;
  background: linear-gradient(0deg, rgba(24,48,60,.62), transparent);
}
.wp-block-group.bng-join-events {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: clamp(44px, 6vw, 94px) clamp(20px, 5vw, 78px);
  gap: 0 !important;
  align-items: stretch;
  background: radial-gradient(ellipse at 92% 0, rgba(52,106,127,.38), transparent 55%), #182f3c;
  color: #f2f7f9;
  overflow: hidden;
}
.wp-block-group.bng-join-events::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .17;
  background: repeating-linear-gradient(133deg, transparent 0 90px, #85b4c8 91px, transparent 93px);
}
.wp-block-group.bng-join-events > :is(p, h2, .wp-block-shortcode, .bng-join-schedule),
.wp-block-group.bng-join-events > .wp-block-group__inner-container > :is(p, h2, .wp-block-shortcode, .bng-join-schedule) {
  width: 100%;
  max-width: 1240px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}
.wp-block-group.bng-join-events > p:first-of-type,
.wp-block-group.bng-join-events > .wp-block-group__inner-container > p:first-of-type {
  color: #e7c98b;
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: .19em;
  text-transform: uppercase;
  margin-top: 0 !important;
  margin-bottom: 11px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .7em;
  width: 100% !important;
  max-width: 1240px !important;
  text-align: left;
}
.wp-block-group.bng-join-events > p:first-of-type::before,
.wp-block-group.bng-join-events > .wp-block-group__inner-container > p:first-of-type::before {
  content: '';
  display: inline-block;
  flex: none;
  width: 28px;
  height: 3px;
  background: currentColor;
  transform: skewX(-25deg);
}
.wp-block-group.bng-join-events > h2,
.wp-block-group.bng-join-events > .wp-block-group__inner-container > h2 {
  font-size: clamp(2.5rem, 5.2vw, 5.7rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.1;
  color: #f4f8fa;
  text-wrap: balance;
  text-align: left;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}
.wp-block-group.bng-join-events > h2::first-letter { color: #f4f8fa; }
.wp-block-group.bng-join-events > p:nth-of-type(2),
.wp-block-group.bng-join-events > .wp-block-group__inner-container > p:nth-of-type(2) {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  font-weight: 400;
  line-height: 1.6;
  color: #d9ebf0;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  text-align: left;
}
.wp-block-group.bng-join-events .wp-block-shortcode { margin-top: clamp(12px, 2vw, 24px); }
.wp-block-group.bng-join-events .bng-join-schedule { margin-top: clamp(12px, 2vw, 24px); }
/* The prototype places the UTC / Local switch at the right-hand side.
 * This is presentation only; the shortcode owns behavior and translated text.
 * Reserve the right side of the intro on desktop, never clip translations. */
@media (min-width: 1050px) {
  .wp-block-group.bng-join-events > p:nth-of-type(2),
  .wp-block-group.bng-join-events > .wp-block-group__inner-container > p:nth-of-type(2) {
    padding-right: min(36%, 450px);
    overflow-wrap: anywhere;
  }
  .wp-block-group.bng-join-events .bng-join-schedule {
    position: relative;
    padding-top: 78px;
  }
  .wp-block-group.bng-join-events .bng-join-schedule__controls {
    position: absolute;
    top: -72px;
    right: 0;
    left: auto;
    z-index: 3;
    width: max-content;
    max-width: 100%;
    margin: 0;
  }
  .wp-block-group.bng-join-events .bng-join-schedule__status {
    text-align: right;
    margin: 0 0 30px;
  }
}
@media (min-width: 781px) and (max-width: 1049px) {
  .wp-block-group.bng-join-events .bng-join-schedule__controls {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
  }
  .wp-block-group.bng-join-events .bng-join-schedule__status { text-align: right; }
}
@media (max-width: 780px) {
  .wp-block-cover.bng-join-hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13px), 78% calc(100% - 21px), 55% calc(100% - 12px), 31% calc(100% - 22px), 0 calc(100% - 14px));
  }
  figure.wp-block-image.bng-join-frozen-passage {
    margin-top: -26px !important;
    margin-bottom: -24px !important;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 79% calc(100% - 25px), 56% calc(100% - 13px), 30% calc(100% - 24px), 0 calc(100% - 15px));
  }
  figure.wp-block-image.bng-join-frozen-passage img { height: clamp(130px, 31vw, 230px); }
  /* Scale the dark gap for narrow screens without altering the lower edge. */
  figure.wp-block-image.bng-join-frozen-passage::before { height: 54px; }
  .wp-block-group.bng-join-events { padding: 52px 20px 60px; }
  .wp-block-group.bng-join-events .bng-join-schedule__controls { margin-left: 0; }
  .wp-block-group.bng-join-events .bng-join-schedule__status { text-align: left; }
}


/* JOIN BNG — MEMBER PERKS | approved Prototype V3 / child 0.3.10
 * Native, editable Gutenberg blocks; all meaningful text stays outside art.
 * Outer full-width Stack: bng-join-perks
 * Descendant Columns: bng-join-perks-grid
 * Two Columns: bng-join-perk-card, each with Image / H3 / Paragraph.
 * Second card also has editable Paragraph with bng-join-free-label.
 * Final wide Stack: bng-join-perk-wide, with H3 / Paragraph.
 */
.wp-block-group.bng-join-perks {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: clamp(64px,7vw,112px) clamp(20px,5vw,78px) clamp(70px,7vw,116px);
  gap: 0 !important;
  align-items: stretch;
  background: linear-gradient(180deg,#112b31,#14332e 72%,#102b2b);
  color: #eef6f2;
}
.wp-block-group.bng-join-perks::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 65%, rgba(165,223,189,.10), transparent 37%),
    repeating-linear-gradient(110deg, transparent 0 100px, rgba(200,232,217,.045) 101px 102px);
}
/* The outer WordPress Stack keeps all its sections at one left origin.
 * Reset inner wrapper width if a plugin/WordPress variation adds one. */
.wp-block-group.bng-join-perks > .wp-block-group__inner-container,
.wp-block-group.bng-join-events > .wp-block-group__inner-container {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}
/* Keep content on the same 1240px rail as the Operations Board, whether
 * Gutenberg adds a constrained-Group inner container or not. */
.wp-block-group.bng-join-perks > :is(p,h2,.wp-block-columns,.wp-block-group),
.wp-block-group.bng-join-perks > .wp-block-group__inner-container > :is(p,h2,.wp-block-columns,.wp-block-group) {
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: stretch;
  text-align: left;
}
.wp-block-group.bng-join-perks .bng-join-perks-eyebrow {
  margin-top: 0;
  margin-bottom: 11px !important;
  margin-top: 0 !important;
  color: #e7c98b;
  font-size: .86rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .19em;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: .7em;
}
.wp-block-group.bng-join-perks .bng-join-perks-eyebrow::before {
  content: '';
  display: inline-block;
  flex: none;
  width: 28px;
  height: 3px;
  background: currentColor;
  transform: skewX(-25deg);
}
.wp-block-group.bng-join-perks .bng-join-perks-heading {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  max-width: 1240px !important;
  color: #f4f8fa;
  font-size: clamp(2.55rem,5.2vw,5.55rem);
  font-weight: 900;
  line-height: 1.11;
  letter-spacing: -.045em;
  text-wrap: wrap;
  overflow-wrap: break-word;
  text-align: left;
}
/* The mint accent is inline text coloring set in Gutenberg, not a pseudo
 * element. This allows translators to choose the appropriate emphasis. */
.wp-block-group.bng-join-perks .bng-join-perks-intro {
  max-width: 1240px !important;
  padding-right: min(32%, 415px);
  margin-bottom: clamp(26px,3vw,42px);
  color: #d9ece4;
  font-size: clamp(1.08rem,1.6vw,1.3rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  text-wrap: pretty;
  text-align: left;
  margin-top: 0 !important;
}
.wp-block-group.bng-join-perks .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(16px,2.1vw,28px);
  align-items: stretch;
  margin-top: 0;
  margin-bottom: clamp(18px,2.1vw,28px);
}
.wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column {
  min-width: 0;
  width: 100%;
  flex-basis: auto !important;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 24px clamp(20px,2vw,29px) 32px;
  border: 1px solid #547c73;
  background: linear-gradient(140deg,rgba(35,77,68,.91),rgba(10,34,35,.97));
  clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
  box-shadow: inset 0 0 35px rgba(137,203,177,.03);
}
.wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 110px;
  background: radial-gradient(circle at top right,rgba(233,202,139,.25),transparent 72%);
  pointer-events: none;
  z-index: 1;
}
.wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column figure.wp-block-image {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: calc(100% + 2 * clamp(20px,2vw,29px));
  max-width: none;
  height: clamp(160px,17vw,220px);
  margin: -24px calc(-1 * clamp(20px,2vw,29px)) 22px !important;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(208,236,222,.3);
}
.wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column figure.wp-block-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,transparent 55%,rgba(9,35,34,.52));
}
.wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column figure.wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column h3 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem,2vw,1.65rem);
  font-weight: 850;
  line-height: 1.23;
  color: #f0e5c6;
}
.wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column p:not(.bng-join-free-label) {
  margin: 0;
  font-size: clamp(.98rem,1.12vw,1.05rem);
  font-weight: 400;
  color: #d9e8e1;
  line-height: 1.58;
  text-transform: none;
  letter-spacing: normal;
}
.wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column p.bng-join-free-label,
.wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column:nth-child(2) > figure.wp-block-image + p:first-of-type {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: auto;
  margin: 0;
  padding: 5px 12px;
  background: rgba(17,44,43,.93);
  border: 2px solid #dfc184;
  color: #f4dfae;
  font-size: .72rem;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(7deg);
}
.wp-block-group.bng-join-perks .wp-block-group.bng-join-perk-wide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 1240px !important;
  min-height: 180px;
  margin-top: 0;
  padding: clamp(30px,3.5vw,47px) clamp(22px,4vw,58px) clamp(30px,3.5vw,47px) clamp(28px,15vw,185px);
  background: linear-gradient(105deg,#234e4a,#19353d);
  border: 1px solid #547c73;
  clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
}
.wp-block-group.bng-join-perks .bng-join-perk-wide::before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
  left: clamp(20px,4vw,55px);
  top: 50%;
  width: 116px;
  height: 116px;
  transform: translateY(-50%);
  background: url('join-bng-community.svg') center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(236,194,112,.27));
}
.wp-block-group.bng-join-perks .bng-join-perk-wide h3 {
  margin: 0 0 12px;
  color: #f0e5c6;
  font-weight: 850;
  font-size: clamp(1.3rem,2vw,1.65rem);
}
.wp-block-group.bng-join-perks .bng-join-perk-wide p {
  max-width: 870px;
  margin: 0;
  color: #e3eee8;
  font-size: clamp(1rem,1.2vw,1.12rem);
  line-height: 1.65;
}
@media(max-width: 800px) {
  .wp-block-group.bng-join-perks { padding: 64px 20px 72px; }
  .wp-block-group.bng-join-perks .wp-block-columns {
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
  }
  .wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column figure.wp-block-image { height: clamp(185px,39vw,280px); }
  .wp-block-group.bng-join-perks .wp-block-group.bng-join-perk-wide { padding: 115px 26px 30px; }
  .wp-block-group.bng-join-perks .bng-join-perk-wide::before {
    top: 58px; left: 30px; width: 80px; height: 80px; transform: translateY(-50%);
  }
}
@media(max-width: 450px) {
  .wp-block-group.bng-join-perks { padding-inline: 17px; }
  .wp-block-group.bng-join-perks .wp-block-columns > .wp-block-column figure.wp-block-image { height: 185px; }
  .wp-block-group.bng-join-perks .bng-join-perks-heading { font-size: clamp(2.4rem,10vw,3.4rem); }
}

/* Parity QA: keep editorial text aligned, and remain generous to translated
 * strings. This is scoped to the Join BNG page; no theme-wide overrides. */
@media (max-width: 800px) {
  .wp-block-group.bng-join-perks .bng-join-perks-intro { padding-right: 0; }
}


/* JOIN BNG | ALLIED BANNERS TRANSITION | WP child 0.3.10
 * Approved full-width, text-free media stays unchanged in Gutenberg.
 * Use class bng-join-allied-banners on the FULL-WIDTH Image block.
 * Put a full-width Stack with class bng-join-allies immediately after it.
 * The clipped, transparent top/bottom strips expose the actual adjoining
 * section backgrounds (without adding a pattern to Stronger Together).
 */
figure.wp-block-image.bng-join-allied-banners {
  position: relative;
  z-index: 3;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: -30px 0 -32px !important;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: transparent;
  /* Two INDEPENDENT rough edges, both revealing underlying real sections. */
  clip-path: polygon(
    0 22px, 7% 13px, 15% 26px, 24% 19px,
    33% 30px, 42% 15px, 52% 25px, 61% 17px,
    72% 29px, 82% 14px, 91% 25px, 100% 19px,
    100% calc(100% - 26px),
    92% calc(100% - 15px),
    83% calc(100% - 31px),
    72% calc(100% - 20px),
    61% calc(100% - 33px),
    49% calc(100% - 16px),
    38% calc(100% - 29px),
    27% calc(100% - 18px),
    16% calc(100% - 32px),
    7% calc(100% - 17px),
    0 calc(100% - 27px)
  );
}
figure.wp-block-image.bng-join-allied-banners img {
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(175px, 19vw, 290px);
  object-fit: cover;
  object-position: center 51%;
}
/* The next section is the real backdrop for the LOWER cutouts.
 * Its colors follow the approved Stronger Together palette in V3. */
.wp-block-group.bng-join-allies {
  position: relative;
  isolation: isolate;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: clamp(85px, 7vw, 110px) clamp(20px, 5vw, 78px);
  color: #ecf4f6;
  background:
    radial-gradient(circle at 85% 29%, rgba(154,200,224,.18), transparent 39%),
    linear-gradient(180deg, #183b49, #0e2838);
  overflow: hidden;
}
/* The prototype has NO diagonal pattern in the Stronger Together section.
 * Instead it has one subdued outlined skewed shape at the lower-right.
 * The portion below the section is clipped behind the following section. */
.wp-block-group.bng-join-allies::before {
  content: none;
}
.wp-block-group.bng-join-allies::after {
  content: '';
  position: absolute;
  z-index: 0;
  bottom: -70px;
  right: 10%;
  width: min(390px, 38vw);
  height: 200px;
  box-sizing: border-box;
  border: 2px solid rgba(156,212,223,.16);
  transform: skewX(-37deg);
  pointer-events: none;
}
.wp-block-group.bng-join-allies > .wp-block-group__inner-container {
  max-width: 1240px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* JOIN BNG — STRONGER TOGETHER | native Gutenberg two-column composition
 * One editable 2 and label on the left; eyebrow, single H2 and three
 * paragraphs on the right. Only decorative shapes are drawn in CSS.
 * All content text stays selectable and translatable in Gutenberg. */
.wp-block-group.bng-join-allies .bng-join-allies-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 55px);
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto !important;
}
.wp-block-group.bng-join-allies .bng-join-allies-layout > .wp-block-column {
  min-width: 0;
  width: auto;
  flex-basis: auto !important;
  margin: 0 !important;
}
.wp-block-group.bng-join-allies .bng-join-allies-badge-col {
  position: relative;
  box-sizing: border-box;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  isolation: isolate;
}
.wp-block-group.bng-join-allies .bng-join-allies-badge-col::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: min(275px, 95%);
  aspect-ratio: 1;
  border: 1px solid rgba(189,207,219,.4);
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(167,212,224,.065), 0 0 0 34px rgba(167,212,224,.065);
  transform: rotate(-8deg);
  pointer-events: none;
}
.wp-block-group.bng-join-allies .bng-join-allies-badge-col::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: min(245px, 86%);
  aspect-ratio: 1;
  clip-path: polygon(50% 0, 89% 16%, 100% 58%, 75% 93%, 26% 93%, 0 58%, 11% 16%);
  background: linear-gradient(130deg, #dcb575, #5f8293 48%, #0b2635 51%, #183f4f);
  opacity: .56;
  pointer-events: none;
}
/* Also supports a nested optional native Stack inside the badge column. */
.wp-block-group.bng-join-allies .bng-join-allies-badge-col .bng-join-allies-badge {
  position: static;
  display: contents;
}
.wp-block-group.bng-join-allies .bng-join-allies-rank,
.wp-block-group.bng-join-allies .bng-join-allies-badge-col > p:first-of-type {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: none;
  margin: 0 !important;
  color: #ecd3a0;
  font-size: clamp(8.5rem, 16vw, 14.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
  text-align: center;
  text-shadow: 0 8px 0 #385365, 0 20px 30px rgba(3,23,35,.65);
}
.wp-block-group.bng-join-allies .bng-join-allies-rank-label,
.wp-block-group.bng-join-allies .bng-join-allies-badge-col > p:last-of-type:not(:first-of-type) {
  /* Flow under the numeral instead of anchoring to the tall crest column.
     This keeps the label visually attached to the 2 as translations expand. */
  position: relative;
  z-index: 2;
  bottom: auto;
  left: auto;
  transform: none;
  box-sizing: border-box;
  width: max-content;
  max-width: 88%;
  margin: -15px 0 0 !important;
  padding: 8px 12px;
  background: #102b3b;
  color: #e6e9e6;
  font-size: .65rem;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: .17em;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}
.wp-block-group.bng-join-allies .bng-join-allies-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 0;
}
.wp-block-group.bng-join-allies .bng-join-allies-copy > :is(h2, p),
.wp-block-group.bng-join-allies .bng-join-allies-copy > .wp-block-group__inner-container > :is(h2, p) {
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}
.wp-block-group.bng-join-allies .bng-join-allies-eyebrow {
  display: flex;
  align-items: center;
  gap: .7em;
  margin-top: 0 !important;
  margin-bottom: 11px !important;
  color: #e7c98b;
  font-size: clamp(.76rem, .9vw, .88rem);
  font-weight: 850;
  line-height: 1.5;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.wp-block-group.bng-join-allies .bng-join-allies-eyebrow::before {
  content: '';
  display: block;
  flex: none;
  width: 28px;
  height: 3px;
  background: currentColor;
  transform: skewX(-25deg);
}
.wp-block-group.bng-join-allies .bng-join-allies-heading {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  color: #f4f8fa;
  font-size: clamp(2.6rem, 4.35vw, 5.1rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.042em;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
/* Preserve the editor-selected gold emphasis within the single H2. */
.wp-block-group.bng-join-allies .bng-join-allies-copy > p:not(.bng-join-allies-eyebrow) {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  max-width: 650px;
  color: #edf4f8;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 400;
  line-height: 1.65;
}
.wp-block-group.bng-join-allies .bng-join-allies-copy > .bng-join-allies-intro {
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
}
/* Outrank the generic paragraph selector and cover the last paragraph even
 * if the optional CSS class was missed in Gutenberg. */
.wp-block-group.bng-join-allies .bng-join-allies-copy > p.bng-join-allies-closing,
.wp-block-group.bng-join-allies .bng-join-allies-copy > p:last-of-type {
  margin-bottom: 0 !important;
  color: #e7c98b;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 750;
  line-height: 1.48;
}
@media (max-width: 900px) {
  .wp-block-group.bng-join-allies .bng-join-allies-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .wp-block-group.bng-join-allies .bng-join-allies-badge-col { min-height: 270px; }
  .wp-block-group.bng-join-allies .bng-join-allies-badge-col::before { width: 215px; }
  .wp-block-group.bng-join-allies .bng-join-allies-badge-col::after { width: 195px; }
  .wp-block-group.bng-join-allies .bng-join-allies-rank,
  .wp-block-group.bng-join-allies .bng-join-allies-badge-col > p:first-of-type { font-size: 10rem; }
  .wp-block-group.bng-join-allies .bng-join-allies-rank-label,
  .wp-block-group.bng-join-allies .bng-join-allies-badge-col > p:last-of-type:not(:first-of-type) { margin-top: -12px !important; }
  .wp-block-group.bng-join-allies .bng-join-allies-heading { font-size: clamp(2.4rem, 6vw, 4.3rem); }
}
@media (max-width: 480px) {
  .wp-block-group.bng-join-allies .bng-join-allies-badge-col { min-height: 245px; }
  .wp-block-group.bng-join-allies .bng-join-allies-badge-col::before { width: 184px; }
  .wp-block-group.bng-join-allies .bng-join-allies-badge-col::after { width: 170px; }
  .wp-block-group.bng-join-allies .bng-join-allies-rank,
  .wp-block-group.bng-join-allies .bng-join-allies-badge-col > p:first-of-type { font-size: 8rem; }
  .wp-block-group.bng-join-allies .bng-join-allies-heading { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .wp-block-group.bng-join-allies::after { width: 250px; right: -50px; }
}

@media (max-width: 720px) {
  figure.wp-block-image.bng-join-allied-banners {
    margin-top: -18px !important;
    margin-bottom: -20px !important;
    clip-path: polygon(
      0 13px, 13% 19px, 28% 11px, 42% 20px,
      58% 12px, 72% 18px, 86% 11px, 100% 16px,
      100% calc(100% - 16px),
      80% calc(100% - 10px),
      61% calc(100% - 19px),
      44% calc(100% - 11px),
      23% calc(100% - 20px),
      0 calc(100% - 12px)
    );
  }
  figure.wp-block-image.bng-join-allied-banners img {
    height: clamp(165px, 40vw, 215px);
    object-position: center;
  }
  .wp-block-group.bng-join-allies {
    padding: 72px 20px 84px;
  }
}


/* JOIN BNG | 05 / THE DEAL — DON'T COME HERE TO RETIRE!
 * Native Gutenberg Stack (.bng-join-expect), Columns (bng-join-expect-layout),
 * copy column (bng-join-expect-copy), battle image column (bng-join-expect-art).
 * All words remain editable Gutenberg text and translatable. The already
 * approved battle artwork stays in an ordinary full-resolution Image block.
 * Only page-specific visual layers live here; no imagery is replaced. */
.wp-block-group.bng-join-expect {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: clamp(90px, 8vw, 125px) clamp(20px, 5vw, 78px) clamp(88px, 7vw, 115px);
  overflow: hidden;
  color: #f1f4f6;
  background:
    radial-gradient(ellipse at 92% 35%, rgba(227,127,88,.16), transparent 38%),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(224,141,100,.06) 73px 74px),
    linear-gradient(125deg, #3c232b, #201e2a 58%, #111923);
}
/* The narrow striped rail belongs to the incoming section, not the
 * Stronger Together section. Keep it clipped to this section. */
.wp-block-group.bng-join-expect::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: repeating-linear-gradient(123deg, #c68163 0 18px, #34252b 18px 36px);
  opacity: .72;
  pointer-events: none;
}
.wp-block-group.bng-join-expect > .wp-block-group__inner-container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
}
.wp-block-group.bng-join-expect .bng-join-expect-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto !important;
}
.wp-block-group.bng-join-expect .bng-join-expect-layout > .wp-block-column {
  box-sizing: border-box;
  min-width: 0;
  width: auto;
  margin: 0 !important;
  flex-basis: auto !important;
}
.wp-block-group.bng-join-expect .bng-join-expect-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
}
/* Neutralize Gutenberg constrained-layout auto margins and retain a single
 * left alignment rail for eyebrow, heading, and all four paragraphs. */
.wp-block-group.bng-join-expect .bng-join-expect-copy > :is(p, h2) {
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}
.wp-block-group.bng-join-expect .bng-join-expect-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  width: auto !important;
  max-width: 100%;
  margin: 0 0 11px !important;
  color: #ee987c;
  font-size: clamp(.75rem, .9vw, .88rem);
  font-weight: 850;
  line-height: 1.5;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.wp-block-group.bng-join-expect .bng-join-expect-eyebrow::before {
  content: '';
  flex: none;
  display: block;
  width: 28px;
  height: 3px;
  background: currentColor;
  transform: skewX(-25deg);
}
.wp-block-group.bng-join-expect .bng-join-expect-heading {
  margin: 0 0 22px !important;
  color: #f3f4f7;
  font-size: clamp(3.15rem, 5.25vw, 5.5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.035;
  letter-spacing: -.047em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  text-shadow: 5px 5px 0 rgba(0,0,0,.22);
  transform: skewX(-3deg);
  transform-origin: left center;
}
/* Preserve Gutenberg's inline color for the final RETIRE. segment.
 * Apply #EE987C to that phrase using the editor's text-color tool. */
.wp-block-group.bng-join-expect .bng-join-expect-copy > p:not(.bng-join-expect-eyebrow):not(.bng-join-expect-slogan) {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  color: #e7edf1;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: normal;
  text-transform: none;
}
/* Only the emphasized opening sentence in paragraph three becomes peach. */
.wp-block-group.bng-join-expect .bng-join-expect-copy > p strong {
  color: #f2c1a4;
  font-weight: 800;
}
.wp-block-group.bng-join-expect .bng-join-expect-copy > p.bng-join-expect-slogan {
  margin: 10px 0 0 !important;
  color: #f4d2be;
  font-size: clamp(1.12rem, 1.42vw, 1.27rem);
  font-weight: 850;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
}
/* The art is dimensional: the battle scene is a clipped, angled frame with
 * an ember halo behind it. The source pixels and uploaded file are untouched. */
.wp-block-group.bng-join-expect .bng-join-expect-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  isolation: isolate;
  min-height: 390px;
}
.wp-block-group.bng-join-expect .bng-join-expect-art::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 8%;
  left: 8%;
  width: min(86%, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(225,143,125,.4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,108,83,.11), transparent 62%);
  box-shadow: 0 0 0 16px rgba(227,139,110,.04);
  pointer-events: none;
}
.wp-block-group.bng-join-expect .bng-join-expect-art figure.wp-block-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: clamp(365px, 35vw, 515px);
  margin: 0 !important;
  overflow: hidden;
  line-height: 0;
  clip-path: polygon(12% 0, 100% 0, 100% 89%, 91% 100%, 0 100%, 4% 65%);
  background: #29242e;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.26));
}
.wp-block-group.bng-join-expect .bng-join-expect-art figure.wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 48% center;
}
@media (max-width: 900px) {
  .wp-block-group.bng-join-expect {
    padding: 85px 22px 78px;
  }
  .wp-block-group.bng-join-expect .bng-join-expect-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .wp-block-group.bng-join-expect .bng-join-expect-heading {
    font-size: clamp(3.05rem, 8vw, 4.8rem);
  }
  .wp-block-group.bng-join-expect .bng-join-expect-art {
    min-height: 0;
  }
  .wp-block-group.bng-join-expect .bng-join-expect-art figure.wp-block-image {
    width: min(100%, 680px);
    height: clamp(275px, 50vw, 440px);
  }
}
@media (max-width: 520px) {
  .wp-block-group.bng-join-expect {
    padding: 68px 18px 70px;
  }
  .wp-block-group.bng-join-expect .bng-join-expect-heading {
    font-size: clamp(2.5rem, 11vw, 4rem);
    line-height: 1.05;
    transform: none;
  }
  .wp-block-group.bng-join-expect .bng-join-expect-art figure.wp-block-image {
    height: clamp(245px, 65vw, 330px);
  }
  .wp-block-group.bng-join-expect .bng-join-expect-eyebrow {
    letter-spacing: .12em;
  }
}


/* JOIN BNG | 05 / THE DEAL — Gutenberg structure parity pass
 * In WordPress the custom classes for the Columns and Heading can be omitted
 * or applied to a wrapper variation. Target only the first/second native
 * Column inside the scoped Expectations Stack, so the visual layout stays
 * like V3 while all text remains editable/translatable. */
.wp-block-group.bng-join-expect > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
}
.wp-block-group.bng-join-expect .wp-block-columns {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) !important;
  gap: clamp(24px, 3vw, 38px) !important;
  align-items: center !important;
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column {
  box-sizing: border-box;
  flex: none !important;
  flex-basis: auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child {
  display: flex;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 0;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child > :is(h2, p) {
  box-sizing: border-box;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child > p:first-of-type {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  width: auto !important;
  margin: 0 0 11px !important;
  color: #ee987c !important;
  font-size: .76rem !important;
  font-weight: 850 !important;
  line-height: 1.5 !important;
  letter-spacing: .19em !important;
  text-transform: uppercase !important;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child > p:first-of-type::before {
  content: '';
  display: block;
  flex: 0 0 25px;
  width: 25px;
  height: 3px;
  background: currentColor;
  transform: skewX(-25deg);
}
/* H2 is the second item in the copy column even if the heading class is absent. */
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child > h2 {
  width: 100%;
  max-width: 100% !important;
  margin: 0 0 20px !important;
  color: #f3f4f7;
  font-size: clamp(3.1rem, 5.4vw, 5.1rem) !important;
  font-weight: 900 !important;
  font-style: italic !important;
  line-height: 1.045 !important;
  letter-spacing: -.047em !important;
  text-transform: uppercase !important;
  text-shadow: 5px 5px 0 rgba(0,0,0,.22);
  transform: skewX(-3deg);
  transform-origin: left center;
  overflow-wrap: normal;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child > p:not(:first-of-type):not(:last-of-type) {
  width: 100%;
  margin: 0 0 18px !important;
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: #e7edf1;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child > p strong {
  color: #f2c1a4;
  font-weight: 800;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child > p:last-of-type {
  width: 100%;
  margin: 4px 0 0 !important;
  font-size: 1.2rem !important;
  font-weight: 850 !important;
  line-height: 1.5 !important;
  color: #f4d2be !important;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:nth-child(2) {
  display: flex;
  position: relative;
  z-index: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:nth-child(2) > figure.wp-block-image {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(350px, 30vw, 465px) !important;
  margin: 0 !important;
  overflow: hidden;
  line-height: 0;
  clip-path: polygon(12% 0, 100% 0, 100% 89%, 91% 100%, 0 100%, 4% 65%);
  background: #29242e;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.26));
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:nth-child(2) > figure.wp-block-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: 48% center;
}
@media (max-width: 900px) {
  .wp-block-group.bng-join-expect .wp-block-columns {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
  }
  .wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child > h2 {
    font-size: clamp(3rem, 8vw, 4.8rem) !important;
  }
  .wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:nth-child(2) > figure.wp-block-image {
    width: min(100%, 680px) !important;
    height: clamp(275px, 50vw, 440px) !important;
  }
}
@media (max-width: 520px) {
  .wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:first-child > h2 {
    font-size: clamp(2.5rem, 11vw, 4rem) !important;
    transform: none;
  }
  .wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:nth-child(2) > figure.wp-block-image {
    height: clamp(245px, 65vw, 330px) !important;
  }
}


/* JOIN BNG | 05 / THE DEAL — APPROVED IMAGE EDGE & SHADOW REFINEMENT
 * The image itself retains the original upload and crop. Clip the rendered
 * image, not its figure or column, so a real exterior shadow can show.
 * Keep the custom class on the right Gutenberg Column, not the Image block.
 */
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:nth-child(2) {
  filter: drop-shadow(-15px 19px 18px rgba(2, 5, 13, .62))
          drop-shadow(7px 7px 10px rgba(4, 7, 15, .32));
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:nth-child(2) > figure.wp-block-image {
  clip-path: none !important;
  overflow: visible !important;
  background: transparent !important;
  filter: none !important;
}
.wp-block-group.bng-join-expect .wp-block-columns > .wp-block-column:nth-child(2) > figure.wp-block-image img {
  /* Angled, broken left contour and chamfered bottom-right corner. */
  clip-path: polygon(
    12% 0, 100% 0,
    100% 89%, 91% 100%, 0 100%,
    4% 77%, 0 60%, 3% 45%, 1% 30%, 6% 13%
  );
}


/* JOIN BNG | 06 / YOUR CALL — FINAL INVITATION
 * Native Gutenberg Stack content remains editable and translatable.
 * DrJ is an initial, replaceable in-game contact; optional Discord and
 * Telegram methods can be added as Paragraph blocks later.
 */
.wp-block-group.bng-join-closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  min-height: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: clamp(74px, 7.2vw, 100px) max(24px, calc((100vw - 1180px) / 2)) clamp(80px, 8vw, 110px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center;
  gap: 0 !important;
  background:
    radial-gradient(ellipse at 50% 9%, rgba(98, 160, 182, .24), transparent 64%),
    linear-gradient(180deg, #0c1e2b 0%, #0b1c29 100%);
  color: #e8eef1;
  text-align: center;
}
.wp-block-group.bng-join-closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 212, 223, .27), transparent);
  pointer-events: none;
}
.wp-block-group.bng-join-closing > :is(p, h2, .wp-block-group) {
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  min-width: 0;
}
.wp-block-group.bng-join-closing > .bng-join-closing-eyebrow {
  display: inline-flex;
  width: auto !important;
  max-width: 100% !important;
  align-items: center;
  justify-content: center;
  gap: .65em;
  margin-top: 0 !important;
  margin-bottom: 11px !important;
  color: #e9ca8b !important;
  font-size: .76rem !important;
  font-weight: 850 !important;
  line-height: 1.5 !important;
  letter-spacing: .19em !important;
  text-transform: uppercase !important;
}
.wp-block-group.bng-join-closing > .bng-join-closing-eyebrow::before {
  content: '';
  display: block;
  flex: 0 0 24px;
  height: 3px;
  background: currentColor;
  transform: skewX(-26deg);
}
.wp-block-group.bng-join-closing > h2.bng-join-closing-heading {
  width: 100%;
  max-width: 900px !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  font-size: clamp(2.75rem, 5.4vw, 5.1rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -.038em !important;
  color: #f0f5f8;
  text-wrap: balance;
}
.wp-block-group.bng-join-closing > h2.bng-join-closing-heading .has-inline-color,
.wp-block-group.bng-join-closing > h2.bng-join-closing-heading .bng-join-closing-highlight {
  color: #e9ca8b !important;
}
.wp-block-group.bng-join-closing > p.bng-join-closing-intro {
  width: 100%;
  max-width: 680px !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  font-size: clamp(1.06rem, 1.5vw, 1.25rem) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
  color: #d8e3e8 !important;
  text-transform: none !important;
  text-wrap: pretty;
}
.wp-block-group.bng-join-closing .bng-join-contacts {
  display: flex !important;
  width: 100%;
  max-width: 960px !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 18px !important;
  padding: 0 !important;
  margin: 16px auto 0 !important;
  background: transparent !important;
}
.wp-block-group.bng-join-closing .bng-join-contact-card {
  box-sizing: border-box;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  align-items: center !important;
  gap: 7px !important;
  width: min(100%, 380px);
  min-width: min(100%, 255px);
  max-width: 100% !important;
  padding: 23px 30px 26px !important;
  border: 1px solid rgba(211, 185, 129, .67);
  border-radius: 3px 15px 3px 15px;
  background: linear-gradient(135deg, rgba(35, 63, 76, .92), rgba(12, 32, 45, .95));
  box-shadow: 0 17px 30px rgba(1, 9, 16, .38), inset 0 1px rgba(246, 231, 189, .10);
  color: #f0f4f6;
  text-align: center;
}
.wp-block-group.bng-join-closing .bng-join-contact-card::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 28px;
  height: 28px;
  background: #d9bb82;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
  pointer-events: none;
}
.wp-block-group.bng-join-closing .bng-join-contact-card > :is(p,h3) {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
.wp-block-group.bng-join-closing .bng-join-contact-card > .bng-join-contact-caption {
  margin: 0 !important;
  color: #e9ca8b !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  line-height: 1.55 !important;
  text-transform: uppercase !important;
}
.wp-block-group.bng-join-closing .bng-join-contact-card > h3.bng-join-contact-name {
  margin: 2px 0 4px !important;
  font-size: clamp(1.8rem, 3vw, 2.55rem) !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  color: #f7f7f1;
}
.wp-block-group.bng-join-closing .bng-join-contact-card > p.bng-join-contact-method {
  margin: 0 !important;
  padding: 0;
  color: #d4e5eb !important;
  font-size: .94rem !important;
  font-weight: 550 !important;
  line-height: 1.6 !important;
  overflow-wrap: anywhere;
}
.wp-block-group.bng-join-closing .bng-join-contact-card a {
  color: #bce7f2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.wp-block-group.bng-join-closing .bng-join-contact-card a:focus-visible {
  outline: 2px solid #e9ca8b;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .wp-block-group.bng-join-closing {
    padding: 70px 20px 78px !important;
  }
  .wp-block-group.bng-join-closing > h2.bng-join-closing-heading {
    font-size: clamp(2.6rem, 11vw, 4.2rem) !important;
  }
  .wp-block-group.bng-join-closing .bng-join-contacts {
    flex-direction: column !important;
    align-items: center !important;
  }
  .wp-block-group.bng-join-closing .bng-join-contact-card {
    width: 100%;
    min-width: 0;
  }
}

/* JOIN BNG | SECTION QUICK JUMP (native Gutenberg Details block)
 * Navigation text stays editable and translatable in Polylang.
 * Keep this block as a sibling AFTER the closing section, not inside one.
 * The existing floating support control is on the opposite side.
 */
:where(#bng-join-welcome, #bng-join-events, #bng-join-perks,
       #bng-join-allies, #bng-join-expectations, #bng-join-contact) {
  scroll-margin-top: 88px;
}
html:has(details.bng-join-quick-nav) {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html:has(details.bng-join-quick-nav) { scroll-behavior: auto; }
}
.wp-block-details.bng-join-quick-nav {
  box-sizing: border-box;
  position: fixed;
  z-index: 10001;
  inset: auto clamp(14px, 2vw, 28px) max(18px, calc(env(safe-area-inset-bottom, 0px) + 18px)) auto;
  width: max-content;
  max-width: calc(100vw - 28px);
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #eef5f8;
  overflow: visible !important;
}
.wp-block-details.bng-join-quick-nav > summary {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: max-content;
  min-width: 146px;
  max-width: 100%;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 17px !important;
  border: 1px solid rgba(231, 201, 139, .78);
  border-radius: 4px 14px 4px 14px;
  background: linear-gradient(145deg, #193849, #0b2232) !important;
  box-shadow: 0 9px 30px rgba(0, 9, 19, .40);
  color: #f3f6f8 !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .045em !important;
  text-transform: none !important;
  text-align: left;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wp-block-details.bng-join-quick-nav > summary::marker,
.wp-block-details.bng-join-quick-nav > summary::-webkit-details-marker {
  display: none;
  content: '';
}
.wp-block-details.bng-join-quick-nav > summary::after {
  content: '';
  display: block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #e7c98b;
  border-top: 2px solid #e7c98b;
  transform: translateY(2px) rotate(-45deg);
  transition: transform .15s ease;
}
.wp-block-details.bng-join-quick-nav[open] > summary::after {
  transform: translateY(-2px) rotate(135deg);
}
.wp-block-details.bng-join-quick-nav > summary:focus-visible,
.wp-block-details.bng-join-quick-nav a:focus-visible {
  outline: 3px solid #93d4e0 !important;
  outline-offset: 3px;
}
.wp-block-details.bng-join-quick-nav > .bng-join-quick-nav-list {
  box-sizing: border-box;
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: min(305px, calc(100vw - 28px));
  max-width: calc(100vw - 28px) !important;
  max-height: min(435px, calc(100dvh - 110px));
  margin: 0 !important;
  padding: 8px !important;
  overflow-y: auto;
  border: 1px solid rgba(128, 176, 197, .60);
  border-radius: 12px 12px 4px 12px;
  background: linear-gradient(160deg, rgba(23, 47, 61, .99), rgba(9, 28, 40, .99)) !important;
  box-shadow: 0 18px 48px rgba(0, 7, 15, .58);
}
.wp-block-details.bng-join-quick-nav > .bng-join-quick-nav-list > p {
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}
.wp-block-details.bng-join-quick-nav .bng-join-quick-nav-list a {
  display: block;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 6px;
  box-sizing: border-box;
  color: #e8f2f6 !important;
  text-decoration: none !important;
  font-size: .88rem !important;
  font-weight: 650 !important;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.wp-block-details.bng-join-quick-nav .bng-join-quick-nav-list a:is(:hover, :focus-visible) {
  background: rgba(146, 210, 225, .16);
  color: #e7c98b !important;
}
@media (max-width: 600px) {
  .wp-block-details.bng-join-quick-nav {
    right: 14px;
    bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 14px));
  }
  .wp-block-details.bng-join-quick-nav > summary {
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px !important;
  }
  .wp-block-details.bng-join-quick-nav > .bng-join-quick-nav-list {
    width: min(288px, calc(100vw - 28px));
  }
}
/* A fixed overlay would get in the way while editing the native block. */
.editor-styles-wrapper .wp-block-details.bng-join-quick-nav {
  position: static !important;
  width: max-content;
  margin: 16px 0 !important;
}
.editor-styles-wrapper .wp-block-details.bng-join-quick-nav > .bng-join-quick-nav-list {
  position: static !important;
  max-height: none;
  margin-top: 10px !important;
}
@media print {
  .wp-block-details.bng-join-quick-nav { display: none !important; }
}

/* JOIN BNG | 06 / YOUR CALL — HIVE COORDINATES
 * Gutenberg: closing Stack > hive Stack > eyebrow Paragraph,
 * Row (State / X / Y Stacks, each with label + value), caption Paragraph.
 * The location remains normal editable/translatable text, not baked into CSS.
 */
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive {
  position: relative;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  width: min(100%, 650px) !important;
  max-width: 650px !important;
  min-width: 0;
  margin: 28px auto 0 !important;
  padding: clamp(22px, 3vw, 30px) clamp(18px, 3.5vw, 34px) 25px !important;
  border: 1px solid rgba(220, 190, 130, .60);
  border-radius: 3px 15px 3px 15px;
  background:
    linear-gradient(135deg, rgba(46, 81, 94, .40), transparent 70%),
    linear-gradient(145deg, #152f3d, #0d2533);
  color: #edf3f5;
  box-shadow: 0 18px 32px rgba(2, 8, 15, .35), inset 0 1px rgba(255, 244, 216, .08);
  text-align: center;
}
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 22px;
  height: 22px;
  background: #d9bb82;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > p:first-child {
  margin: 0 !important;
  color: #e9ca8b !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  letter-spacing: .15em !important;
  line-height: 1.55 !important;
  text-transform: uppercase !important;
  text-align: center;
}
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > .wp-block-group {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: clamp(8px, 2vw, 15px) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > .wp-block-group > .wp-block-group {
  box-sizing: border-box;
  display: flex !important;
  flex: 1 1 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(12px, 2vw, 18px) 6px !important;
  border: 1px solid rgba(151, 187, 196, .28);
  border-radius: 3px 9px 3px 9px;
  background: rgba(4, 21, 33, .48);
}
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > .wp-block-group > .wp-block-group > p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  overflow-wrap: anywhere;
}
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > .wp-block-group > .wp-block-group > p:first-child {
  color: #b9d4de !important;
  font-size: .77rem !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
}
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > .wp-block-group > .wp-block-group > p:last-child {
  color: #f5e0b0 !important;
  font-size: clamp(1.35rem, 3vw, 1.9rem) !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em !important;
}
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > p:last-child:not(:first-child) {
  max-width: 520px !important;
  margin: 0 !important;
  color: #cfdee4 !important;
  font-size: .93rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-align: center !important;
}
@media (max-width: 480px) {
  .wp-block-group.bng-join-closing .wp-block-group.bng-join-hive {
    margin-top: 22px !important;
    padding: 21px 12px 20px !important;
    gap: 12px !important;
  }
  .wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > .wp-block-group {
    gap: 7px !important;
  }
  .wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > .wp-block-group > .wp-block-group {
    padding: 12px 4px !important;
  }
  .wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > .wp-block-group > .wp-block-group > p:last-child {
    font-size: clamp(1.14rem, 6vw, 1.45rem) !important;
  }
}

/* JOIN BNG | Hive title — small gold compass-pin, decorative only.
 * Applied to the existing editable Gutenberg paragraph. The SVG remains
 * separate from the translated text and does not change the block content.
 */
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > p:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 9px !important;
}
.wp-block-group.bng-join-closing .wp-block-group.bng-join-hive > p:first-child::before {
  content: '';
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 24px;
  background: url('join-bng-hive-pin.svg') center / contain no-repeat;
  filter: drop-shadow(0 1px 3px rgba(231, 201, 139, .22));
  pointer-events: none;
}

/* JOIN BNG | Compact recruiter contact-method Rows.
 * Gutenberg Row adds its own child margins and block gap when the single
 * method paragraph is split into separate in-game and Telegram paragraphs.
 * Treat the inner Row as ONE card item; the theme owns the visual gap.
 * The optional legacy Spacer is hidden so its height never enlarges cards.
 * Text stays separate, editable Gutenberg paragraphs for translation.
 */
.wp-block-group.bng-join-closing .bng-join-contact-card > .wp-block-group {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 18px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}
.wp-block-group.bng-join-closing .bng-join-contact-card > .wp-block-group > p {
  box-sizing: border-box;
  flex: 0 1 auto;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: #d4e5eb !important;
  font-size: .94rem !important;
  font-weight: 550 !important;
  line-height: 1.6 !important;
  letter-spacing: normal !important;
  text-align: center !important;
  overflow-wrap: anywhere;
}
.wp-block-group.bng-join-closing .bng-join-contact-card > .wp-block-group > .wp-block-spacer {
  display: none !important;
}
@media (max-width: 480px) {
  .wp-block-group.bng-join-closing .bng-join-contact-card > .wp-block-group {
    gap: 0 12px !important;
  }
}
