/*
 * Family of League giveaway landing page
 * All selectors are intentionally scoped to the dp_ prefix.
 * Desktop proportions are matched to the supplied 1920px-wide artwork.
 */

.dp_landing_page {
  --dp_teal: #3ba4b1;
  --dp_lime: #b5d818;
  --dp_charcoal: #201c1c;
  --dp_light_grey: #f4f4f4;
  --dp_white: #ffffff;
  width: 100%;
  overflow: hidden;
  background: var(--dp_white);
  color: var(--dp_charcoal);
  font-family: "MontserratRegular", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

.dp_landing_page,
.dp_landing_page * {
  box-sizing: border-box;
}

.dp_landing_page .dp_hero_title,
.dp_landing_page .dp_hero_highlight,
.dp_landing_page .dp_button,
.dp_landing_page .dp_giveaway_title,
.dp_landing_page .dp_join_card_button,
.dp_landing_page .dp_about_title,
.dp_landing_page .dp_about_tagline {
  font-family: "MontserratBold", "Helvetica Neue", Arial, sans-serif;
}

.dp_landing_page .dp_giveaway_subtitle {
  font-family: "MontserratMedium", "Helvetica Neue", Arial, sans-serif;
}

.dp_landing_page .dp_giveaway_text,
.dp_landing_page .dp_join_card_note,
.dp_landing_page .dp_about_text {
  font-family: "MontserratRegular", "Helvetica Neue", Arial, sans-serif;
}

.dp_content_container {
  box-sizing: border-box;
}

.dp_button,
.dp_join_card_button,
.dp_social_link {
  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   PAGE TEMPLATE / THEME INTEGRATION
   Keep the existing theme untouched and neutralise only the
   page-level spacing/positioning that conflicts with this template.
   ========================================================= */

.dp_fol_standalone,
.dp_fol_with_site_chrome {
  padding-top: 0 !important;
}

.dp_fol_standalone {
  margin: 0;
}

/* On this landing template the existing site header sits in normal
   document flow instead of being fixed above a reserved body gap. */
.dp_fol_with_site_chrome header .main-header-wrapper {
  position: relative;
  top: auto;
  right: auto;
}

.dp_fol_with_site_chrome header .main-header-wrapper.__sticky {
  box-shadow: none;
}

.dp_fol_with_site_chrome
  header
  .main-header-wrapper.__sticky
  .top-header-section {
  padding: 20px 0 16px;
}

.dp_fol_with_site_chrome
  header
  .main-header-wrapper.__sticky
  .header-logo-menu-section
  .header-logo {
  width: 158px;
}

.dp_fol_with_site_chrome
  header
  .main-header-wrapper.__sticky
  .header-logo-menu-section
  .header-main-menu {
  margin-top: 37px;
}

.dp_landing_page .dp_about_text p {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.dp_landing_page .dp_about_text strong {
  font-family: "MontserratBold", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.dp_landing_page .dp_button:hover,
.dp_landing_page .dp_button:focus,
.dp_landing_page .dp_join_card_button:hover,
.dp_landing_page .dp_join_card_button:focus,
.dp_landing_page .dp_social_link:hover,
.dp_landing_page .dp_social_link:focus {
  text-decoration: none;
}

/* =========================================================
   DESKTOP / ARTWORK MATCH
   Reference artwork: 1920 x 2835.9
   ========================================================= */

@media (min-width: 768px) {
  .dp_hero_section {
    position: relative;
    width: 100%;
    height: 48.4375vw;
    min-height: 0;
    background: var(--dp_white);
  }

  .dp_hero_media {
    position: absolute;
    top: 0;
    left: 0;
    width: 49.548611vw;
    height: 48.4375vw;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  .dp_hero_image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: fill;
  }

  .dp_hero_content {
    position: absolute;
    top: 0;
    right: 0;
    width: 50.451389vw;
    height: 48.4375vw;
    padding: 0;
    text-align: center;
  }

  .dp_hero_logo {
    position: absolute;
    top: 10.4375vw;
    left: 50%;
    display: block;
    width: 13.854167vw;
    height: auto;
    margin: 0;
    transform: translateX(-50%);
  }

  .dp_hero_copy {
    position: absolute;
    top: 23.472222vw;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translateX(-50%);
  }

  .dp_hero_title {
    margin: 0 0 1.822917vw;
    color: var(--dp_teal);
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .dp_hero_highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 41.0625vw;
    height: 4.104167vw;
    margin: 0 0 2.333333vw;
    padding: 0;
    background: var(--dp_teal);
    color: var(--dp_white);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
  }

  .dp_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 0;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0;
  }

  .dp_button_lime {
    background: var(--dp_lime);
    color: var(--dp_white);
  }

  .dp_hero_copy > .dp_button {
    width: 21.5vw;
    height: 3.208333vw;
    min-width: 0;
    min-height: 0;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1.15;
  }

  .dp_desktop_break {
    display: inline;
  }

  /* Giveaway */
  .dp_giveaway_section {
    position: relative;
    width: 100%;
    height: 30.833333vw;
    padding: 0;
    background: var(--dp_light_grey);
  }

  .dp_giveaway_layout {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .dp_giveaway_copy {
    position: absolute;
    top: 5.069444vw;
    left: 10.9375vw;
    width: 47.5vw;
    min-width: 0;
    text-align: left;
  }

  .dp_giveaway_title {
    margin: 0 0 0.757292vw;
    color: var(--dp_teal);
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .dp_giveaway_subtitle {
    margin: 0 0 1.807292vw;
    color: var(--dp_charcoal);
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .dp_giveaway_text {
    width: 45.104167vw;
    max-width: none;
    margin: 0 0 1.145833vw;
    color: var(--dp_charcoal);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
  }

  .dp_giveaway_text_last {
    margin-bottom: 0;
    white-space: nowrap;
  }

  .dp_join_card_wrap {
    position: absolute;
    top: 8.270833vw;
    left: 65.9375vw;
    display: block;
    width: 25.479167vw;
  }

  .dp_join_card {
    width: 25.479167vw;
    overflow: hidden;
    border-radius: 0.520833vw;
    background: var(--dp_white);
    box-shadow: 0 0.520833vw 1.302083vw rgba(0, 0, 0, 0.14);
    text-align: center;
  }

  .dp_join_card_button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 8.145833vw;
    padding: 0;
    background: var(--dp_lime);
    color: var(--dp_white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0;
  }

  .dp_join_card_note {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 5.604167vw;
    margin: 0;
    padding: 0.625vw 1.6vw;
    color: var(--dp_charcoal);
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.18;
  }

  /* Full-width image - the source image is already the artwork crop. */
  .dp_feature_image_section {
    width: 100%;
    height: 38.888889vw;
    overflow: hidden;
    background: #080b0d;
  }

  .dp_feature_image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  /* About */
  .dp_about_section {
    position: relative;
    width: 100%;
    height: 29.513889vw;
    padding: 0;
    background: var(--dp_teal);
    color: var(--dp_white);
  }

  .dp_about_content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding-top: 2.951389vw;
    text-align: center;
  }

  /* Keep this section in normal vertical flow. The ACF WYSIWYG can wrap
     to an extra line at some viewport/font combinations, so fixed absolute
     top values cause the tagline to overlap the paragraph. */
  .dp_about_title {
    flex: 0 0 auto;
    margin: 0 0 1.840278vw;
    color: var(--dp_white);
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .dp_about_text {
    flex: 0 0 auto;
    width: 70vw;
    max-width: none;
    margin: 0 0 0.555556vw;
    color: var(--dp_white);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
  }

  .dp_about_emphasis {
    color: var(--dp_white);
    font-weight: 700;
  }

  .dp_about_tagline {
    flex: 0 0 auto;
    margin: 0 0 2.052083vw;
    color: var(--dp_white);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .dp_about_button {
    position: static;
    flex: 0 0 auto;
    width: 12.166667vw;
    height: 2.625vw;
    min-width: 0;
    min-height: 0;
    margin: 0 0 2.041667vw;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    transform: none;
  }

  .dp_social_label {
    display: none;
  }

  .dp_social_links {
    position: static;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 1.458333vw;
    transform: none;
  }

  .dp_social_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.291667vw;
    height: 2.291667vw;
    color: var(--dp_white);
    text-decoration: none;
  }

  .dp_social_icon {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }

  .dp_social_link_instagram .dp_social_icon {
    height: 95.5%;
  }

  .dp_social_link_linkedin .dp_social_icon {
    height: 94.4%;
  }

  .dp_button_lime:hover,
  .dp_button_lime:focus-visible,
  .dp_social_link:hover,
  .dp_social_link:focus-visible {
    opacity: 0.9;
  }
}

/* =========================================================
   TABLET TYPOGRAPHY
   Fixed rem scale without changing the artwork layout.
   ========================================================= */
@media (min-width: 768px) and (max-width: 1199px) {
  .dp_hero_title {
    font-size: 2.6rem;
  }

  .dp_hero_highlight {
    font-size: 1.7rem;
  }

  .dp_hero_copy > .dp_button {
    font-size: 0.95rem;
  }

  .dp_giveaway_title,
  .dp_about_title {
    font-size: 2.6rem;
  }

  .dp_giveaway_subtitle,
  .dp_about_tagline {
    font-size: 1.8rem;
  }

  .dp_giveaway_text,
  .dp_about_text {
    font-size: 0.95rem;
  }

  .dp_join_card_button {
    font-size: 1.8rem;
  }

  .dp_join_card_note {
    font-size: 0.55rem;
  }

  .dp_about_button {
    font-size: 0.85rem;
  }
}

/* =========================================================
   MOBILE
   There is no mobile artwork supplied, so this keeps the same
   visual language while stacking safely below the desktop design.
   ========================================================= */

@media (max-width: 767px) {
  .dp_desktop_break {
    display: none;
  }

  .dp_content_container {
    width: min(calc(100% - 40px), 720px);
    margin: 0 auto;
  }

  .dp_hero_section {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--dp_white);
  }

  .dp_hero_media {
    width: 100%;
    overflow: hidden;
  }

  .dp_hero_image {
    display: block;
    width: 100%;
    height: auto;
  }

  .dp_hero_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 38px 20px 46px;
    text-align: center;
  }

  .dp_hero_logo {
    display: block;
    width: 170px;
    height: auto;
    margin: 0 0 34px;
  }

  .dp_hero_copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .dp_hero_title {
    margin: 0 0 14px;
    color: var(--dp_teal);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .dp_hero_highlight {
    display: inline-flex;
    margin: 0 0 26px;
    padding: 8px 14px;
    background: var(--dp_teal);
    color: var(--dp_white);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
  }

  .dp_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 42px;
    padding: 10px 20px;
    border: 0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
  }

  .dp_button_lime {
    background: var(--dp_lime);
    color: var(--dp_white);
  }

  .dp_giveaway_section {
    padding: 48px 0 54px;
    background: var(--dp_light_grey);
  }

  .dp_giveaway_layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .dp_giveaway_copy {
    text-align: center;
  }

  .dp_giveaway_title {
    margin: 0 0 6px;
    color: var(--dp_teal);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.05;
  }

  .dp_giveaway_subtitle {
    margin: 0 0 24px;
    color: var(--dp_charcoal);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.08;
  }

  .dp_giveaway_text {
    max-width: 640px;
    margin: 0 auto 18px;
    color: var(--dp_charcoal);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.55;
  }

  .dp_giveaway_text_last {
    margin-bottom: 0;
  }

  .dp_join_card_wrap {
    display: flex;
    justify-content: center;
  }

  .dp_join_card {
    width: min(100%, 330px);
    overflow: hidden;
    border-radius: 8px;
    background: var(--dp_white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    text-align: center;
  }

  .dp_join_card_button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 102px;
    padding: 14px 20px;
    background: var(--dp_lime);
    color: var(--dp_white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 0.98;
  }

  .dp_join_card_note {
    margin: 0;
    padding: 14px 16px 16px;
    color: var(--dp_charcoal);
    font-size: 0.5rem;
    font-weight: 400;
    line-height: 1.2;
  }

  .dp_feature_image_section {
    width: 100%;
    overflow: hidden;
  }

  .dp_feature_image {
    display: block;
    width: 100%;
    height: auto;
  }

  .dp_about_section {
    padding: 44px 0 48px;
    background: var(--dp_teal);
    color: var(--dp_white);
  }

  .dp_about_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dp_about_title {
    margin: 0 0 18px;
    color: var(--dp_white);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.06;
  }

  .dp_about_text {
    max-width: 720px;
    margin: 0 auto 10px;
    color: var(--dp_white);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
  }

  .dp_about_emphasis {
    color: var(--dp_white);
    font-weight: 700;
  }

  .dp_about_tagline {
    margin: 0 0 20px;
    color: var(--dp_white);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
  }

  .dp_about_button {
    margin-bottom: 22px;
  }

  .dp_social_label {
    display: none;
  }

  .dp_social_links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
  }

  .dp_social_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--dp_white);
    text-decoration: none;
  }

  .dp_social_icon {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }

  .dp_social_link_instagram .dp_social_icon {
    height: 95.5%;
  }

  .dp_social_link_linkedin .dp_social_icon {
    height: 94.4%;
  }
}

@media (max-width: 560px) {
  .dp_content_container {
    width: min(calc(100% - 30px), 720px);
  }

  .dp_hero_content {
    padding: 34px 16px 40px;
  }

  .dp_hero_logo {
    width: 145px;
    margin-bottom: 28px;
  }

  .dp_hero_title {
    font-size: 1.75rem;
  }

  .dp_hero_highlight {
    font-size: 1.1875rem;
  }

  .dp_giveaway_section {
    padding: 42px 0 48px;
  }

  .dp_giveaway_title {
    font-size: 2.125rem;
  }

  .dp_giveaway_subtitle {
    font-size: 1.8125rem;
  }

  .dp_giveaway_text {
    font-size: 0.875rem;
  }

  .dp_about_section {
    padding: 40px 0 44px;
  }

  .dp_about_title {
    font-size: 2.125rem;
  }

  .dp_about_text {
    font-size: 0.8125rem;
  }

  .dp_about_tagline {
    font-size: 1.25rem;
  }
}
