/* =========================================================
   TRIBES COMPACT NEXT POST
========================================================= */
.trb-article-content {
  --trb-article-text: #0f0f0f;
  --trb-article-muted: rgba(15, 15, 15, 0.58);
  --trb-article-line: rgba(15, 15, 15, 0.18);
  --trb-article-accent: #cc632c;

  width: 100%;
  position: relative;
  color: var(--trb-article-text);
}

.trb-article-content__inner {
  width: min(100%, 58rem);
}

.trb-article-content__intro {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.trb-article-content__lead {
  margin: 0;
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--trb-article-text);
}

.trb-article-content__date {
  color: var(--trb-article-muted);
}

.trb-article-content__section + .trb-article-content__section {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.trb-article-content__heading {
  max-width: 38rem;
  margin: 0 0 clamp(1.2rem, 2vw, 1.6rem);
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--trb-article-text);
  text-wrap: balance;
}

.trb-article-content__copy {
  width: 100%;
  max-width: 48rem;
}

.trb-article-content__copy p {
  margin: 0;
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(1.1rem, 1.15vw, 1.2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0f0f0f;
}

.trb-article-content__copy p + p {
  margin-top: 1.5rem;
}

.trb-article-content__quote {
  position: relative;
  margin:
    clamp(2.5rem, 5vw, 4.5rem)
    0
    0;
  padding:
    clamp(2rem, 4vw, 3rem)
    0
    0
    clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--trb-article-line);
  border-left: 1px solid var(--trb-article-line);
}

.trb-article-content__quote::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  position: absolute;
  top: -0.35rem;
  left: -0.35rem;
  border-radius: 50%;
  background-color: var(--trb-article-accent);
}

.trb-article-content__quote p {
  max-width: 41rem;
  margin: 0;
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.trb-article-content__quote footer {
  margin-top: 1.5rem;
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(0.9rem, 0.95vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--trb-article-muted);
}

.trb-article-content__quote-name {
  color: var(--trb-article-text);
}

@media screen and (max-width: 767px) {
  .trb-article-content__inner {
    padding:
      4.5rem
      1.25rem;
  }

  .trb-article-content__intro {
    margin-bottom: 4rem;
  }

  .trb-article-content__lead {
    font-size: clamp(1.3rem, 5.5vw, 1.7rem);
    line-height: 1.35;
  }

  .trb-article-content__section {
    padding-top: 2.5rem;
  }

  .trb-article-content__section + .trb-article-content__section {
    margin-top: 4rem;
  }

  .trb-article-content__heading {
    margin-bottom: 1.4rem;
    font-size: clamp(1.7rem, 8vw, 2.45rem);
  }

  .trb-article-content__copy p {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .trb-article-content__quote {
    margin-top: 2.5rem;
    padding:
      2rem
      0
      0
      1.25rem;
  }

  .trb-article-content__quote p {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    line-height: 1.4;
  }
}
.trb-next-compact,
.trb-next-compact * {
  box-sizing: border-box;
}

.trb-next-compact {
  --trb-next-text: #fef3e3;
  --trb-next-muted: #fef3e388;

  --trb-next-button-size: 3.25em;
  --trb-next-button-radius: 0.25em;

  --trb-next-arrow-size: 40%;
  --trb-next-arrow-default-color: #131313;
  --trb-next-arrow-hover-color: #ffffff;

  --trb-next-button-default-bg: #ffffff;
  --trb-next-button-hover-bg: var(--color-primary, #cc632c);

  --trb-next-arrow-duration: 0.6s;
  --trb-next-arrow-ease: cubic-bezier(0.625, 0.05, 0, 1);

  --trb-next-focus-color: currentColor;
  --trb-next-focus-width: 2px;
  --trb-next-focus-offset: 3px;

  width: fit-content;
  max-width: 100%;
  position: relative;
  color: var(--trb-next-text);
}

.trb-next-compact__link {
  width: fit-content;
  max-width: 100%;
  padding: 2rem;
  display: inline-grid;
  grid-template-columns: minmax(0, auto) auto;
  align-items: center;
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  background-color: #0f0f0f;
  color: inherit;
  text-decoration: none;
}

.trb-next-compact__content {
  min-width: 0;
  max-width: 30rem;
}

.trb-next-compact__label {
  margin: 0 0 0.35rem;
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(1rem, 0.75vw, 0.88rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--trb-next-muted);
}

.trb-next-compact__title {
  margin: 0;
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--trb-next-text);
  text-wrap: balance;
  transition:
    opacity 0.4s ease,
    transform 0.6s var(--trb-next-arrow-ease);
}

/* =========================================================
   TRIBES COMPACT NEXT POST BUBBLE ARROW
========================================================= */

.trb-next-compact__button {
  width: var(--trb-next-button-size);
  height: var(--trb-next-button-size);
  padding: 0;
  border: 0;
  border-radius: var(--trb-next-button-radius);
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.trb-next-compact__bubble-arrow {
  width: var(--trb-next-button-size);
  height: var(--trb-next-button-size);
  border-radius: var(--trb-next-button-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.trb-next-compact__bubble-arrow-layer {
  width: var(--trb-next-button-size);
  height: var(--trb-next-button-size);
  border-radius: var(--trb-next-button-radius);
  background-color: var(--trb-next-button-hover-bg);
  color: var(--trb-next-arrow-hover-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform: scale(0) rotate(0.001deg);
  transform-origin: left;
  transition:
    transform
    var(--trb-next-arrow-duration)
    var(--trb-next-arrow-ease);
}

.trb-next-compact__bubble-arrow-layer.is--duplicate {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: var(--trb-next-button-default-bg);
  color: var(--trb-next-arrow-default-color);
  transform: scale(1) rotate(0.001deg);
  transform-origin: right;
  transition:
    transform
    var(--trb-next-arrow-duration)
    var(--trb-next-arrow-ease);
}

.trb-next-compact__arrow {
  width: var(--trb-next-arrow-size);
  height: auto;
  display: block;
  fill: none;
  color: inherit;
  pointer-events: none;
  transform: rotate(-45deg);
}

.trb-next-compact__link:hover
  .trb-next-compact__bubble-arrow-layer,
.trb-next-compact__link:focus-visible
  .trb-next-compact__bubble-arrow-layer {
  transform: scale(1) rotate(0.001deg);
}

.trb-next-compact__link:hover
  .trb-next-compact__bubble-arrow-layer.is--duplicate,
.trb-next-compact__link:focus-visible
  .trb-next-compact__bubble-arrow-layer.is--duplicate {
  transform: scale(0) rotate(0.001deg);
}

.trb-next-compact__link:focus-visible {
  outline:
    var(--trb-next-focus-width)
    solid
    var(--trb-next-focus-color);
  outline-offset: var(--trb-next-focus-offset);
}

@media (hover: hover) and (pointer: fine) {
  .trb-next-compact__link:hover .trb-next-compact__title {
    opacity: 0.62;
    transform: translateX(0.15rem);
  }
}

/* =========================================================
   TRIBES BLOG HERO
========================================================= */

.trb-blog-hero,
.trb-blog-hero * {
  box-sizing: border-box;
}

.trb-blog-hero {
  --trb-blog-side-padding: clamp(1.5rem, 5vw, 5rem);
  --trb-blog-bottom-padding: clamp(2.5rem, 6vh, 5.5rem);
  --trb-blog-overlay-color: rgb(15 15 15 / 0%);

  width: 100%;
  height: 70vh;
  min-height: 44rem;
  position: relative;
  overflow: hidden;
  background-color: #0f0f0f;
  color: #ffffff;
  visibility: hidden;
  isolation: isolate;
}

.trb-blog-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.trb-blog-hero__image {
  display: block;
}

.trb-blog-hero__background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  will-change: transform;
}

.trb-blog-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(15, 15, 15, 0.58) 0%,
      rgba(15, 15, 15, 0.68) 45%,
      rgba(15, 15, 15, 0.9) 100%
    ),
    var(--trb-blog-overlay-color);
}

.trb-blog-hero__inner {
  width: 100%;
  height: 100%;
  min-height: inherit;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding:
    var(--trb-blog-side-padding)
    var(--trb-blog-side-padding)
    var(--trb-blog-bottom-padding);
}

.trb-blog-hero__content {
  width: 100%;
  max-width: 88rem;
}

.trb-blog-hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: clamp(3rem, 7vh, 6rem);
}

.trb-blog-hero__date {
  margin: 0;
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.trb-blog-hero__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

img.trb-blog-hero__author-image {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.trb-blog-hero__author-name {
  margin: 0;
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.trb-blog-hero__title {
  width: 100%;
  max-width: 94rem;
  margin: 0;
  font-family: "Neue Haas Display", Arial, sans-serif;
  font-size: clamp(4rem, 5.8vw, 7rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}

.trb-blog-hero__title-line {
  display: block;
  will-change: transform;
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 991px) {
  .trb-blog-hero {
    --trb-blog-side-padding: clamp(1.5rem, 4vw, 3rem);

    min-height: 40rem;
  }

  .trb-blog-hero__content {
    max-width: 100%;
  }

  .trb-blog-hero__title {
    max-width: 60rem;
    font-size: clamp(3.5rem, 8vw, 6rem);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 767px) {
  .trb-next-compact {
    --trb-next-button-size: 3em;

    width: 100%;
  }

  .trb-next-compact__link {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem;
  }

  .trb-next-compact__content {
    max-width: 100%;
  }

  .trb-next-compact__title {
    font-size: clamp(0.95rem, 4vw, 1.05rem);
    text-wrap: pretty;
  }

  .trb-blog-hero {
    --trb-blog-side-padding: 1.25rem;
    --trb-blog-bottom-padding: clamp(2rem, 5vh, 3.5rem);

    height: 100vh;
    min-height: 39rem;
  }

  .trb-blog-hero__background-image {
    object-position: center;
  }

  .trb-blog-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(15, 15, 15, 0.55) 0%,
        rgba(15, 15, 15, 0.72) 42%,
        rgba(15, 15, 15, 0.94) 100%
      ),
      rgba(15, 15, 15, 0.4);
  }

  .trb-blog-hero__meta {
    gap: 0.7rem;
    margin-bottom: clamp(2.5rem, 7vh, 4rem);
  }

  .trb-blog-hero__date,
  .trb-blog-hero__author-name {
    font-size: 1rem;
  }

  img.trb-blog-hero__author-image {
    width: 1.8rem;
    height: 1.8rem;
  }

  .trb-blog-hero__title {
    max-width: 100%;
    font-size: clamp(3rem, 12vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-wrap: pretty;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 479px) {
  .trb-next-compact {
    --trb-next-button-size: 2.8em;
  }

  .trb-next-compact__label {
    margin-bottom: 0.3rem;
  }

  .trb-next-compact__title {
    font-size: 0.95rem;
  }

  .trb-blog-hero {
    min-height: 36rem;
  }

  .trb-blog-hero__title {
    font-size: clamp(2.75rem, 11.5vw, 4.25rem);
  }
}

/* =========================================================
   MOBILE VIEWPORT HEIGHT
========================================================= */

@supports (height: 100svh) {
  @media screen and (max-width: 767px) {
    .trb-blog-hero {
      height: 100svh;
    }
  }
}

@supports (height: 100dvh) {
  @media screen and (max-width: 767px) {
    .trb-blog-hero {
      height: 100dvh;
    }
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .trb-next-compact,
  .trb-blog-hero {
    visibility: visible;
  }

  .trb-next-compact__title,
  .trb-blog-hero__background-image,
  .trb-blog-hero__title-line {
    transform: none;
    animation: none;
    transition: none;
  }

  .trb-next-compact__bubble-arrow-layer,
  .trb-next-compact__bubble-arrow-layer.is--duplicate {
    transition-duration: 0.01ms;
  }
}



/* =========================================================
   SOCIAL SHARE
========================================================= */


.trb-social-share {
  --trb-social-control-size: 3em;
  --trb-social-control-gap: 0.5em;
  --trb-social-control-radius: 0.25em;
  --trb-social-icon-size: 42%;
  --trb-social-rest-color: #131313;
  --trb-social-active-color: #ffffff;
  --trb-social-rest-background: #ffffff;
  --trb-social-active-background: var(--color-primary, #cc632c);
  --trb-social-duration: 0.6s;
  --trb-social-ease: cubic-bezier(0.625, 0.05, 0, 1);
  --trb-social-focus-width: 2px;
  --trb-social-focus-offset: 3px;
  --trb-social-focus-color: currentColor;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--trb-social-control-gap);
  list-style: none;
  padding: 0;
  margin: 0;
}

.trb-social-share__item {
  width: var(--trb-social-control-size);
  height: var(--trb-social-control-size);
  padding:0;
  margin: 0;
  list-style: none;
}

.trb-social-share__link {
  width: var(--trb-social-control-size);
  height: var(--trb-social-control-size);
  padding: 0;
  border: 0;
  border-radius: var(--trb-social-control-radius);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.trb-social-share__frame {
  width: var(--trb-social-control-size);
  height: var(--trb-social-control-size);
  border-radius: var(--trb-social-control-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.trb-social-share__state {
  width: var(--trb-social-control-size);
  height: var(--trb-social-control-size);
  color: var(--trb-social-active-color);
  background-color: var(--trb-social-active-background);
  border-radius: var(--trb-social-control-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: scale(0) rotate(0.001deg);
  transform-origin: left;
  transition:
    transform
    var(--trb-social-duration)
    var(--trb-social-ease);
}

.trb-social-share__state--rest {
  z-index: 2;
  color: var(--trb-social-rest-color);
  background-color: var(--trb-social-rest-background);
  position: absolute;
  inset: 0;
  transform: scale(1) rotate(0.001deg);
  transform-origin: right;
}

.trb-social-share__icon {
  width: var(--trb-social-icon-size);
  height: var(--trb-social-icon-size);
  display: block;
  color: inherit;
  fill: currentColor;
  flex-shrink: 0;
  pointer-events: none;
}

.trb-social-share__icon--mail {
  width: 44%;
  height: 44%;
  fill: none;
  stroke: currentColor;
}

.trb-social-share__icon--linkedin {
  width: 41%;
  height: 41%;
}

.trb-social-share__icon--facebook {
  width: 43%;
  height: 43%;
}

.trb-social-share__link:hover
.trb-social-share__state,
.trb-social-share__link:focus-visible
.trb-social-share__state {
  transform: scale(1) rotate(0.001deg);
}

.trb-social-share__link:hover
.trb-social-share__state--rest,
.trb-social-share__link:focus-visible
.trb-social-share__state--rest {
  transform: scale(0) rotate(0.001deg);
}

.trb-social-share__link:focus-visible {
  outline:
    var(--trb-social-focus-width)
    solid
    var(--trb-social-focus-color);
  outline-offset: var(--trb-social-focus-offset);
}

@media (prefers-reduced-motion: reduce) {
  .trb-social-share__state,
  .trb-social-share__state--rest {
    transition-duration: 0.01ms;
  }
}

@media screen and (max-width: 500px) {
  .trb-social-share {
    padding-left: 5vw;
  }
}













