/*************** HEADER AND MEGA MENU **************************/

/* Mega menu customization */
@media (min-width: 1100px) {
  .mega-menu .container {
    max-width: 100% !important;
  }
}

/* Mega Menu – center align links */
@media (min-width: 1100px) {
  .mega-menu .container .row > div {
    text-align: center;
  }

  .mega-menu .hs-menu-wrapper ul {
    padding-left: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: center;
  }

  .mega-menu .hs-menu-wrapper ul li a {
    display: block;
    text-align: center;
  }
}

/* Center align dropdown menu */
.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
  padding: 15px 30px !important;
}

.hhs-top-bar .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
  text-align: center !important;
  left: 50%;
  transform: translateX(-50%);
}

/* Remove drop shadow from standard dropdown menu */
.header .hs-menu-wrapper ul.hs-menu-children-wrapper {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/*************** HERO HEIGHTS **************************/

/* Desktop */
@media (min-width: 1101px) {
  .hero-vert {
    height: 900px !important;
  }

  .hero-inside-small {
    height: 450px !important;
  }
}

/* Tablet */
@media (min-width: 700px) and (max-width: 1100px) {
  .hero-vert,
  .hero-inside-small {
    height: 400px !important;
  }
}

/* Global hero gradient overlay */
.hero-inside-small {
  position: relative;
  overflow: hidden;
}

.hero-inside-small .s-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

/*************** FOOTER **************************/

.hhs-foot-break-line {
  display: none !important;
}

@media (min-width: 769px) {
  .hhs-foot-nav-cols .col-md-6 {
    padding-right: 50px;
  }
}

/* Tighter spacing under "Learn More" on desktop only */
@media (min-width: 1024px) {
  .nav-col-2 ul li a {
    line-height: 1.05;
  }

  .nav-col-2 ul li {
    margin-bottom: 1px;
  }
}

.hhs-foot-nav-col .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
  margin-bottom: 0 !important;
}

.ad-slide {
  padding: 0 0 20px;
}

/* STORYTELLER CLUB FOOTER CREDIT */
.credit-link {
  color: #002b49;
  font-size: 12px;
  font-weight: 500 !important;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
}

.credit-link:hover {
  color: #007a33;
}

/*************** TYPOGRAPHY **************************/

.h1-highlight {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 20px;
}
@media (max-width: 900px) {.h1-small {font-size: 52px;}}

/* Strong website headings */
h3 strong {
  font-weight: 500;
}

mark {
  background-color: rgba(113, 197, 232, 0.5);
}
@media (max-width: 900px) .hero-body {font-size: 24px;}}

/*************** MAP EMBED **************************/

.map-embed {
  width: 100%;
  margin: 0;
  padding: 0;
  margin-left: calc(-1 * var(--gutter, 20px));
  margin-right: calc(-1 * var(--gutter, 20px));
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 800px;
  border: 0;
}

@media (max-width: 767px) {
  .map-embed iframe {
    height: 500px;
  }
}

.intro {
  font-size: 150%;
  text-align: center;
}

/*
.extra {font-size: 70px; font-weight: 900;}
@media (max-width: 950px) { .extra {font-size: 58px; line-height: 42px;}}

.extra-top {font-size: 70px; font-weight: 900;}
@media (max-width: 950px) {.extra-top {font-size: 58px; line-height: 1.05;}}

.extra-bottom {font-size: 70px; font-weight: 900; margin-bottom: -10px;}
@media (max-width: 950px) { .extra-bottom {font-size: 58px;}}
*/

.special-head {
  padding-top: 12px;
}

@media (max-width: 950px) {
  .special-head {
    text-align: center;
  }
}

.event-title,
.h3-card {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
}

.footer-text {
  color: #002b49;
  font-size: 14px;
  font-weight: 300;
}

.footer-text:hover {
  color: #71c5e8;
}

.podcast-body {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
}

.count-up-head {
  color: #ffffff;
  font-size: 42px;
  font-weight: 600;
  text-align: center;
  margin-top: -25px;
}

.count-up {
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  position: relative;
  padding-top: 24px;
}

.count-up::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background-color: #ffffff;
}

@media (max-width: 650px) {
  .center-mobile {
    display: block;
    text-align: center;
    margin: 0 auto;
  }
}

/*************** LINKS AND CTAS **************************/

.simple-link {
  font-weight: 500;
  text-transform: uppercase;
}

.text-link-white {
  color: #ffffff;
  font-size: 14px;
  font-weight: 300;
}

.text-link-white:hover {
  color: #71c5e8;
}

a.cta-six,
a.cta-four {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding-bottom: 3px;
}

a.cta-six::after,
a.cta-four::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease 0.3s;
}

a.cta-six.in-view::after,
a.cta-four.in-view::after {
  transform: scaleX(1);
}

@media (max-width: 1024px) {
  a.cta-six::after,
  a.cta-four::after {
    transform: scaleX(1) !important;
    transition: none !important;
  }
}

a.cta-simple-line {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding-bottom: 3px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

a.cta-simple-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: currentColor;
}

a.cta-simple-line:hover {
  color: #71c5e8;
}

/* Hat button customization */
.header-cta1,
.header-cta2,
.header-cta3 {
  padding: 6px 16px;
  color: #ffffff;
  line-height: 1em;
  background-color: transparent;
  transition: all 0.45s ease;
}

/* CTA hover corners */
.cta-primary:hover,
.cta-secondary:hover,
.cta-tertiary:hover,
.cta-four:hover,
.cta-five:hover,
.hs-button:hover {
  border-radius: 50px !important;
}

.header-cta1:hover {
  background-color: #e4002b;
  border-radius: 50px !important;
}

.header-cta2:hover {
  background-color: #43b02a;
  border-radius: 50px !important;
}

.header-cta3:hover {
  background-color: #71c5e8;
  border-radius: 50px !important;
}

.header-cta1:hover,
.header-cta2:hover,
.header-cta3:hover {
  border-color: transparent;
}

/*************** BLOG CUSTOMIZATION **************************/

.blog-post__featured-left {
  display: block;
  max-height: 550px;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 0 15px 0;
  object-fit: cover;
}

.blog-post__tags--below-body {
  padding-top: 24px;
  padding-bottom: 24px;
}

.post-page-full .blog-header-full {
  background-color: #fff;
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-post__body .blog-post__tag-link,
.blog-post__body .blog-post__tags a,
.blog-post__body .cta,
.blog-post__body .btn,
.blog-post__body .button,
.blog-post__body a[class*="cta"],
.blog-post__body a[class*="btn"],
.blog-post__body a[role="button"] {
  text-decoration: none !important;
}

.blog-post__tag-link {
  transition: none !important;
}

.post-page-full .blog-post__body a[href]:not(.btn):not(.button):not(.hs-button):not(.cta_button):not(.hs-cta-node):not([role="button"]) {
  color: #002b49;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hhs-blog-post-card h4 {
  font-size: 21px;
}

.hhs-post-summary {
  line-height: 1.5;
}

.hhs-blog-grid-cards .blog-index__post-image--small img {
  height: 275px !important;
  object-fit: cover;
  width: 100%;
}

.body-wrapper.hs-blog-listing #hs_cos_wrapper_dnd_area-module-2 .hhs-hero-mod {
  background-position: 75px center !important;
}

.blog-post.sticky-sidebar {
  align-items: flex-start;
}

.blog-post .blog-right-side-bar > * {
  background-color: #e6eaed;
  padding: 20px 20px 1px;
  margin-right: 8px;
}

/* Tags dropdown in listing hero */
.post__category-selector {
  background-color: #ffffff;
  color: #002b49;
  border: 1px solid #002b49;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 400;
}

/*************** TABLE STYLING: BOARD AND STAFF **************************/

table.three-col-list {
  width: 100%;
  border-collapse: separate;
  border-spacing: 40px 14px;
}

table.three-col-list td {
  vertical-align: top;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  table.three-col-list {
    display: block !important;
    width: 100% !important;
    border-spacing: 0 !important;
  }

  table.three-col-list > tbody {
    display: block !important;
    width: 100% !important;
    column-count: 2;
    column-gap: 40px;
  }

  table.three-col-list > tbody > tr {
    display: contents !important;
  }

  table.three-col-list > tbody > tr > td {
    display: inline-block !important;
    width: 100% !important;
    break-inside: avoid-column;
    padding: 0 0 14px;
  }

  table.three-col-list td:empty {
    display: none !important;
  }
}

@media (max-width: 600px) {
  table.three-col-list > tbody {
    column-count: 1;
  }
}

/*************** CLUB COLUMNS CUSTOMIZATIONS **************************/

.club-columns .club-columns__list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px 24px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.club-columns .club-columns__list > li {
  margin: 0 !important;
}

@media (max-width: 900px) {
  .club-columns .club-columns__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .club-columns .club-columns__list {
    grid-template-columns: 1fr !important;
  }
}

/*************** FORM CUSTOMIZATIONS **************************/

.hsfc-FieldLabel {
  color: #002b49;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hsfc-TextInput {
  border-radius: 0;
  background-color: #ffffff;
  border: 1px solid #e6eaed;
}

.hsfc-Button {
  font-family: "Lexend", sans-serif;
  background-color: #71c5e8;
  color: #ffffff;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}

button.cta-primary {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  box-shadow: none;
  outline: none;
  background-clip: padding-box;
}
.hs-form__field__label {text-transform: uppercase !important;}


/* ===================================================================
   TABLET STACK
   =================================================================== */
@media (min-width: 768px) and (max-width: 1000px) {
  .tablet-stack .col-md-8,
  .tablet-stack .col-md-4,
  .tablet-stack .col-md-6,
  .tablet-stack .col-md-5,
  .tablet-stack .col-md-7 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ===================================================================
   TABLET STACK REVERSE
   =================================================================== */
@media (min-width: 768px) and (max-width: 1000px) {
  .tablet-stack-reverse .row {
    display: flex;
    flex-wrap: wrap;
  }

  .tablet-stack-reverse .row > div:first-child {
    order: 2;
  }

  .tablet-stack-reverse .row > div:nth-child(2) {
    order: 1;
  }

  .tablet-stack-reverse .row > div {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ===================================================================
   MOBILE ACCORDION GAP FIX
   =================================================================== */
@media (max-width: 767px) {
  .c-accordion {
    margin-top: 0 !important;
  }
}


/* ==========================================================================
   CONTENT SLIDER TEXT PADDING
   ========================================================================== */

/* Desktop */
.c-slide-text-container-1 {
  padding: 50px;
}

/* Tablet */
@media (max-width: 1000px) {
  .c-slide-text-container-1 {
    padding: 30px;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .c-slide-text-container-1 {
    padding: 20px;
  }
}