/* ==================================================
   COMMUNITY PAGE
================================================== */

/* HERO */

.community-page-hero {
  position: relative;

  min-height: 720px;
  padding: 145px 8% 95px;

  display: grid;
  grid-template-columns:
    0.55fr
    1.45fr;

  align-items: center;
  gap: 90px;

  background:
    radial-gradient(
      circle at 20% 48%,
      rgba(181, 149, 96, 0.18),
      transparent 28%
    ),
    var(--black);

  overflow: hidden;
}

.community-page-word {
  position: absolute;

  right: -70px;
  bottom: -55px;

  color:
    rgba(
      233,
      221,
      200,
      0.025
    );

  font-family: var(--heading-font);

  font-size:
    clamp(
      150px,
      23vw,
      380px
    );

  font-weight: 600;
  line-height: 0.8;

  pointer-events: none;
}

.community-page-hero-symbol,
.community-page-hero-copy {
  position: relative;
  z-index: 2;
}

.community-page-hero-symbol {
  display: grid;
  place-items: center;
}

.community-page-hero-symbol img {
  width: 150px;
  max-height: 290px;

  object-fit: contain;

  filter:
    invert(91%)
    sepia(13%)
    saturate(482%)
    hue-rotate(349deg)
    brightness(103%)
    contrast(90%);
}

.community-page-hero-copy {
  max-width: 850px;
}

.community-page-hero-copy h1 {
  margin: 25px 0;

  font-family: var(--heading-font);

  font-size:
    clamp(
      70px,
      9vw,
      125px
    );

  font-weight: 500;
  letter-spacing: -4px;
  line-height: 0.82;
}

.community-page-hero-copy h1 span {
  display: block;

  color: var(--gold-light);
  font-style: italic;
}

.community-page-hero-copy > p {
  max-width: 600px;

  color: var(--muted-light);

  font-size: 12px;
  line-height: 1.9;
}

.community-page-hero-copy .button {
  margin-top: 30px;
}

/* ==================================================
   COMMUNITY SPACES
================================================== */

.community-spaces {
  padding: 110px 7%;
}

.community-spaces-heading {
  max-width: 900px;

  margin-bottom: 55px;
}

.community-spaces-heading h2 {
  font-family: var(--heading-font);

  font-size:
    clamp(
      58px,
      8vw,
      100px
    );

  font-weight: 500;
  letter-spacing: -2px;
  line-height: 0.88;
}

.community-spaces-heading h2 span {
  display: block;

  color: var(--brown);
  font-style: italic;
}

/* PLATFORM GRID */

.community-platform-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  border:
    1px solid
    var(--border-dark);
}

.community-platform-card {
  min-height: 620px;

  padding: 38px;

  display: flex;
  flex-direction: column;

  border-right:
    1px solid
    var(--border-dark);

  background: var(--cream);

  color: var(--dark-text);

  transition:
    background 0.4s ease,
    color 0.4s ease;
}

.community-platform-card:last-child {
  border-right: 0;
}

.community-platform-card:hover {
  background: var(--black);

  color: var(--cream);
}

/* TOP */

.community-platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.community-platform-number {
  color: var(--brown);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.community-platform-whatsapp

/* COPY */

.community-platform-copy {
  margin-top: 90px;
}

.community-platform-copy > p:first-child {
  color: var(--brown);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.community-platform-copy h3 {
  margin-top: 5px;

  font-family: var(--heading-font);

  font-size:
    clamp(
      52px,
      6vw,
      76px
    );

  font-weight: 600;
  line-height: 0.9;
}

.community-platform-description {
  max-width: 480px;

  margin-top: 24px;

  color: var(--muted-dark);

  font-size: 11px;
  line-height: 1.9;
}

.community-platform-card:hover
.community-platform-description {
  color: var(--muted-light);
}

/* FEATURES */

.community-platform-features {
  margin-top: 30px;

  list-style: none;
}

.community-platform-features li {
  padding: 11px 0;

  border-bottom:
    1px solid
    var(--border-dark);

  font-family: var(--heading-font);

  font-size: 18px;
}

.community-platform-card:hover
.community-platform-features li {
  border-color: var(--border-light);
}

/* LINK */

.community-platform-link {
  margin-top: auto;
  padding-top: 35px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  border-top:
    1px solid
    var(--border-dark);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.community-platform-link span {
  font-size: 20px;

  transition:
    transform 0.3s ease;
}

.community-platform-link:hover span {
  transform:
    translate(
      4px,
      -4px
    );
}

.community-platform-card:hover
.community-platform-link {
  border-color: var(--border-light);
}

.community-link-disabled {
  opacity: 0.55;

  cursor: default;
  pointer-events: none;
}

/* ==================================================
   COMMUNITY VALUES
================================================== */

.community-values {
  padding: 110px 7%;
}

.community-values-heading {
  margin-bottom: 55px;
}

.community-values-heading h2 {
  font-family: var(--heading-font);

  font-size:
    clamp(
      60px,
      8vw,
      100px
    );

  font-weight: 500;
  line-height: 0.87;
}

.community-values-heading h2 span {
  color: var(--gold-light);

  font-style: italic;
}

.community-values-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  border-top:
    1px solid
    var(--border-light);

  border-bottom:
    1px solid
    var(--border-light);
}

.community-value {
  min-height: 300px;

  padding: 35px;

  border-right:
    1px solid
    var(--border-light);
}

.community-value:last-child {
  border-right: 0;
}

.community-value > span {
  color: var(--gold-light);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.community-value h3 {
  margin-top: 90px;

  font-family: var(--heading-font);

  font-size: 46px;
  font-weight: 600;
}

.community-value p {
  max-width: 300px;

  margin-top: 8px;

  color: var(--muted-light);

  font-size: 10px;
  line-height: 1.8;
}

/* ==================================================
   FINAL CTA
================================================== */

.community-final-cta {
  min-height: 560px;

  padding: 95px 9%;

  display: grid;

  grid-template-columns:
    0.55fr
    1.45fr;

  align-items: center;

  gap: 90px;
}

.community-final-symbol {
  display: grid;
  place-items: center;
}

.community-final-symbol img {
  width: 135px;
  max-height: 250px;
}

.community-final-copy h2 {
  font-family: var(--heading-font);

  font-size:
    clamp(
      60px,
      8vw,
      100px
    );

  font-weight: 500;
  line-height: 0.86;
}

.community-final-copy h2 span {
  display: block;

  color: var(--brown);

  font-style: italic;
}

.community-final-copy > p:not(
  .section-kicker
) {
  max-width: 500px;

  margin: 24px 0 30px;

  color: var(--muted-dark);

  font-size: 11px;
  line-height: 1.9;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 820px) {

  .community-page-hero,
  .community-final-cta {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .community-page-hero-symbol,
  .community-final-symbol {
    justify-content: flex-start;
  }

  .community-platform-grid,
  .community-values-grid {
    grid-template-columns: 1fr;
  }

  .community-platform-card {
    border-right: 0;

    border-bottom:
      1px solid
      var(--border-dark);
  }

  .community-platform-card:last-child {
    border-bottom: 0;
  }

  .community-value {
    border-right: 0;

    border-bottom:
      1px solid
      var(--border-light);
  }

  .community-value:last-child {
    border-bottom: 0;
  }

}

@media (max-width: 600px) {

  .community-page-hero {
    min-height: auto;

    padding:
      130px
      23px
      80px;
  }

  .community-page-hero-symbol img {
    width: 95px;
  }

  .community-page-hero-copy h1 {
    font-size: 63px;

    letter-spacing: -3px;
  }

  .community-spaces,
  .community-values {
    padding:
      80px
      18px;
  }

  .community-spaces-heading h2,
  .community-values-heading h2 {
    font-size: 53px;
  }

  .community-platform-card {
    min-height: 540px;

    padding: 28px 24px;
  }

  .community-platform-copy {
    margin-top: 60px;
  }

  .community-platform-copy h3 {
    font-size: 52px;
  }

  .community-value {
    min-height: 230px;

    padding: 28px 24px;
  }

  .community-value h3 {
    margin-top: 55px;

    font-size: 40px;
  }

  .community-final-cta {
    min-height: auto;

    padding:
      80px
      23px;
  }

  .community-final-symbol img {
    width: 90px;
  }

  .community-final-copy h2 {
    font-size: 55px;
  }

  .community-final-copy .button {
    width: 100%;
  }

}
/* ==================================================
   HOMEPAGE COMMUNITY
================================================== */

.maestro-community-description {
  max-width: 520px;

  margin-top: 24px;

  color: var(--muted-light);

  font-size: 12px;
  line-height: 1.9;
}

.community-coming-soon {
  opacity: 0.55;

  cursor: default;

  pointer-events: none;
}
/* ==================================================
   COMMUNITY SOCIAL LOGOS
================================================== */

.community-social-logo {
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  color: #0c0b09;

  background: transparent;

  border: 0;
  border-radius: 0;

  flex-shrink: 0;
}

.community-social-logo svg {
  width: 36px;
  height: 36px;

  display: block;

  fill: currentColor;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.community-platform-card:hover
.community-social-logo svg {
  transform: scale(1.08);
}

/* KEEP CARD LIGHT WHEN HOVERED */

.community-platform-card:hover {
  background: var(--cream-light);
  color: var(--dark-text);
}

.community-platform-card:hover
.community-platform-description {
  color: var(--muted-dark);
}

.community-platform-card:hover
.community-platform-features li {
  border-color: var(--border-dark);
}

.community-platform-card:hover
.community-platform-link {
  border-color: var(--border-dark);
}

/* MOBILE */

@media (max-width: 600px) {

  .community-social-logo {
    width: 48px;
    height: 48px;
  }

  .community-social-logo svg {
    width: 31px;
    height: 31px;
  }

}
/* ==================================================
   COMMUNITY CARDS
   FINAL SYMMETRICAL LAYOUT
================================================== */

.community-platform-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

  align-items: stretch !important;
}

/* CARD */

.community-platform-card,
.community-platform-card.community-platform-whatsapp {
  min-height: 685px !important;
  height: 100% !important;

  padding: 38px !important;

  display: grid !important;

  grid-template-rows:
    auto
    1fr
    auto !important;

  background: var(--cream) !important;
  color: var(--dark-text) !important;
}

/* ==================================================
   TOP: NUMBER + LOGO
================================================== */

.community-platform-top {
  width: 100% !important;

  display: flex !important;

  align-items: center !important;
  justify-content: space-between !important;
}

.community-platform-number {
  margin: 0 !important;
}

.community-social-logo {
  width: 56px !important;
  height: 56px !important;

  margin: 0 !important;

  display: grid !important;
  place-items: center !important;
}

.community-social-logo svg {
  width: 36px !important;
  height: 36px !important;
}

/* ==================================================
   MAIN COPY
================================================== */

.community-platform-copy,
.community-platform-whatsapp .community-platform-copy {
  margin: 0 !important;

  padding-top: 68px !important;

  display: flex !important;
  flex-direction: column !important;
}

/* LABEL */

.community-platform-copy > p:first-child {
  margin: 0 0 10px !important;

  min-height: 12px !important;
}

/* TITLE */

.community-platform-copy h3 {
  margin: 0 !important;

  min-height: 126px !important;

  display: flex !important;
  align-items: flex-start !important;

  font-size: clamp(
    52px,
    5vw,
    72px
  ) !important;

  line-height: 0.92 !important;
}

/* DESCRIPTION */

.community-platform-description {
  min-height: 82px !important;

  margin: 18px 0 0 !important;

  line-height: 1.9 !important;
}

/* ==================================================
   FEATURES
================================================== */

.community-platform-features {
  margin: 28px 0 0 !important;

  padding: 0 !important;
}

.community-platform-features li {
  min-height: 54px !important;

  padding: 14px 0 !important;

  display: flex !important;
  align-items: center !important;
}

/* ==================================================
   BOTTOM LINK
================================================== */

.community-platform-link {
  width: 100% !important;

  margin: 32px 0 0 !important;

  padding: 32px 0 0 !important;

  align-self: end !important;

  display: flex !important;

  align-items: center !important;
  justify-content: space-between !important;
}

/* ==================================================
   HOVER
================================================== */

.community-platform-card:hover {
  background: var(--cream-light) !important;
  color: var(--dark-text) !important;
}

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

@media (max-width: 820px) {

  .community-platform-grid {
    grid-template-columns: 1fr !important;
  }

  .community-platform-card,
  .community-platform-card.community-platform-whatsapp {
    min-height: 620px !important;
  }

}

@media (max-width: 600px) {

  .community-platform-card,
  .community-platform-card.community-platform-whatsapp {
    min-height: 560px !important;

    padding: 28px 24px !important;
  }

  .community-platform-copy,
  .community-platform-whatsapp .community-platform-copy {
    padding-top: 50px !important;
  }

  .community-platform-copy h3 {
    min-height: auto !important;

    font-size: 52px !important;
  }

  .community-platform-description {
    min-height: auto !important;
  }

}
