/*
 * Amenity Center page styles
 * --------------------------------------------------------------------------
 * Layout ported from the Traverse theme (traversecustom: style.css +
 * onyx-custom-styles.css), re-skinned to Gateway of Pacific (GOP) design tokens.
 *
 * Scoping: every rule is prefixed with `.amenity-main` so it only affects the
 * Amenity Center page content and never the destination header/footer.
 *
 * Re-skin: Traverse font-family declarations dropped (Barlow Semi Condensed is
 * inherited globally on GOP). Traverse brand colors swapped for GOP tokens:
 *   - body copy:  #470c18
 *   - headings:   #5d82cd (uppercase, weight 500, letter-spacing 1.8px, lh 1.08)
 *   - links:      #d64334  / hover #709fe0
 *   - buttons:    #000 bg / #fff text, hover #5d82cd bg
 * Structural backgrounds, overlays, and neutrals (#fff/#000/#e5e5e5/#222 etc.)
 * are left as-is unless they are a button background or a brand text color.
 */

/* ==========================================================================
   Base re-skin (GOP tokens) — anything not explicitly themed inherits these
   ========================================================================== */

.amenity-main {
  color: #470c18;
}

.amenity-main h1,
.amenity-main h2,
.amenity-main h3,
.amenity-main h4,
.amenity-main h5,
.amenity-main h6,
.amenity-main .title {
  color: #5d82cd;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  line-height: 1.08;
}

.amenity-main .title p {
  color: #470c18;
}

.amenity-main a {
  color: #d64334;
  transition: color 0.3s;
  text-decoration: none;
}

.amenity-main a:hover {
  color: #709fe0;
  text-decoration: underline;
}

/* Heading sizes (GOP scale). Component-specific overrides may set their own. */
.amenity-main h1 { font-size: 2.4rem; }
.amenity-main h2 { font-size: 2rem; }
.amenity-main h3 { font-size: 1.67rem; }
.amenity-main h4 { font-size: 1.47rem; }
.amenity-main h5 { font-size: 1.33rem; }
.amenity-main h6 { font-size: 1.2rem; }

.amenity-main p {
  margin: 0 0 30px;
}

/* ==========================================================================
   Generic layout wrappers
   ========================================================================== */

.amenity-main .container {
  max-width: 1724px;
  padding: 0 40px;
  margin: 0 auto;
  width: 100%;
}

.amenity-main .container:after {
  content: '';
  display: block;
  clear: both;
}

.amenity-main .title {
  text-align: center;
  padding-bottom: 30px;
}

.amenity-main .button-holder {
  text-align: center;
  padding-top: 60px;
}

.amenity-main .arrow-long {
  font-size: 30px;
  position: relative;
  display: inline-block;
  line-height: 1;
}

/* ==========================================================================
   Hero / Intro
   ========================================================================== */

.amenity-main .intro {
  background-color: #5d82cd;
  padding: 95px 0;
}

.amenity-main .intro .text-holder {
  background: #fff;
  padding: 64px 80px 51px;
}

.amenity-main .text-holder h3 {
  color: #fff;
}

.amenity-main .intro .wp-block-buttons {
  float: left;
  margin: 20px 30px 0 0;
}

.amenity-main .intro h5 {
  margin: 0;
}

.amenity-main .intro h5 + p {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
}

.amenity-main .intro .wp-block-buttons + h5 {
  margin: 67px 0 0;
}

/* Fitness page header content (onyx) */
.amenity-main .fitness-page-header-content p {
  font-weight: 500;
}

.amenity-main .fitness-page-header-content p span {
  display: inline-block;
}

/* Split intro (all amenity pages): real <img> instead of a CSS background
   so the copy doesn't overlay the photo. Copy stacks below the image until
   1200px, then sits to the LEFT of it. The image keeps its aspect ratio;
   a shorter copy box stretches to the image's height with the content
   vertically centered, a taller one is allowed to exceed it. */
.amenity-main .intro-split .intro-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1200px) {
  .amenity-main .intro-split .container {
    display: flex;
    /* image is first in DOM (mobile stacking order); reverse puts copy left */
    flex-direction: row-reverse;
    align-items: stretch;
  }

  .amenity-main .intro-split .intro-image {
    flex: 1 1 0%;
    min-width: 0;
    align-self: center;
  }

  .amenity-main .intro-split .text-holder {
    flex: 0 0 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Both intro buttons on one row (they are 200px min-width inline-blocks
     that would otherwise wrap inside the copy column) */
  .amenity-main .intro-split .wp-block-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    float: none;
    margin: 20px 0 0;
  }
}

.amenity-main .fitness-page-header-content .wp-block-buttons {
  float: none;
}

.amenity-main .fitness-page-header-content .wp-block-buttons .log-in-btn {
  background: transparent;
  text-decoration: underline;
  padding-left: 21px;
  color: #d64334;
}

.amenity-main .fitness-page-header-content .modal__container {
  max-height: 800px !important;
}

/* WP block buttons — re-skinned to GOP button tokens */
.amenity-main .wp-block-button__link {
  position: relative;
  display: inline-block;
  text-align: center;
  padding: 8px 10px;
  min-width: 200px;
  transition: 0.3s;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 20px;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  border-radius: 0;
  border: 0;
}

.amenity-main .wp-block-button__link:hover {
  text-decoration: none;
  background: #5d82cd;
  color: #fff;
}

/* Enroll Now (fitness page only) — theme orange, matching the Log In link
   and the features band below it. !important carries over from the base rule
   it overrides, so the hover needs it too. */
.amenity-main .enroll-open {
  background: #d64334 !important;
  color: #fff !important;
  position: initial !important;
}

.amenity-main .enroll-open:hover,
.amenity-main .enroll-open:focus-visible {
  background: #b5372b !important;
  color: #fff !important;
}

.amenity-main .enroll-open:after {
  content: "" !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.amenity-main .btn {
  position: relative;
  display: inline-block;
  text-align: center;
  min-width: 200px;
  padding: 8px 10px;
  transition: 0.3s;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 20px;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  border-radius: 0;
  border: 0;
}

.amenity-main .btn-white {
  background: #fff;
  color: #5d82cd;
}

.amenity-main .btn:hover {
  text-decoration: none;
  background: #5d82cd;
  color: #fff;
}

/* ==========================================================================
   Home / Experiences grids
   ========================================================================== */

.amenity-main .columns-block {
  margin-bottom: 120px;
}

/* Centered wrapping grid: 3 per row on desktop, 2 per row below 992px */
.amenity-main .items-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.amenity-main .items-holder .item {
  position: relative;
  width: 33.3333%;
}

.amenity-main .items-holder .item img {
  display: block;
  width: 100%;
}

/* From tablet up, force a landscape crop regardless of the served
   image size's intrinsic (portrait) ratio */
@media (min-width: 768px) {
  .amenity-main .items-holder .item img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}

.amenity-main .item .text-content {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  padding: 0;
  text-align: center;
}

.amenity-main .item .text-content h3 {
  display: block;
  background: #ffffffde;
  color: #5d82cd;
  padding: 25px 30px;
  margin: 0;
}

.amenity-main .item .text {
  display: none;
  padding: 0 30px;
}

.amenity-main .columns-block-hover .items-holder .item:hover .text-content {
  background: #fff;
}

.amenity-main .columns-block-hover .items-holder .item:hover .text {
  display: block;
}

.amenity-main .columns-block-bg {
  background: #5d82cd;
  margin-bottom: 0;
  padding: 60px 0;
}

.amenity-main .columns-block-bg .title,
.amenity-main .columns-block-bg .title :is(h1, h2, h3, h4, h5, h6) {
  color: #fff;
}

.amenity-main .item .arrow-long {
  color: #5d82cd;
}

.amenity-main .item .arrow-long:before {
  background: #5d82cd;
}

/* ==========================================================================
   Rows
   ========================================================================== */

.amenity-main .block .text-content {
  min-width: 100%;
}

.amenity-main .row .block {
  background: #5d82cd;
  display: flex;
  align-items: center;
}

.amenity-main .container-rows .block {
  display: flex;
  align-items: center;
  padding-bottom: 100px;
}

.amenity-main .container-rows .block:last-child {
  border-bottom: 1px solid #5d82cd;
}

.amenity-main .row .block:nth-child(even),
.amenity-main .container-rows .block:nth-child(even) {
  flex-direction: row-reverse;
}

.amenity-main .row .block .text-holder,
.amenity-main .row .block img,
.amenity-main .container-rows .block .text-holder,
.amenity-main .container-rows .block img {
  width: 50%;
  max-width: 50%;
  min-width: 50%;
}

.amenity-main .row .block .text-holder .text {
  max-width: 862px;
  padding: 0 calc(40px + 14.5%) 0 15.5%;
}

.amenity-main .row .block:nth-child(even) .text-holder .text {
  padding: 0 25% 0 40px;
  float: right;
}

.amenity-main .row .block p {
  color: #fff;
}

.amenity-main .row .block .btn {
  margin-top: 20px;
}

.amenity-main .container-rows .block .text-holder .text {
  padding: 0 0 0 16%;
}

.amenity-main .container-rows .block:nth-child(even) .text-holder .text {
  padding: 0 16% 0 0;
}

.amenity-main .container-rows .block .text :last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Fitness features + modals
   ========================================================================== */

.amenity-main .features-section {
  background: #5d82cd;
  padding: 100px 0 40px;
  margin-bottom: 100px;
}

.amenity-main .features-section .container-holder {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.amenity-main .features-section .col {
  width: 22%;
  background: rgba(242, 172, 140, .2);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 35px;
  margin-bottom: 60px;
  color: #fff;
}

.amenity-main .features-section .col h5 {
  margin: 0;
  line-height: 1.25;
  width: 100%;
  color: #d64334;
}

.amenity-main .features-section .col img {
  margin-bottom: 30px;
}

/* onyx feature-card refinements */
.amenity-main .features-section .col {
  -webkit-box-pack: start !important;
  -ms-flex-pack: start !important;
  justify-content: flex-start !important;
  position: relative;
  height: 290px;
  min-height: 210px;
}

.amenity-main .features-section .col .amenity-icon-wrapper {
  margin-bottom: 12px;
}

.amenity-main .features-section .col .amenity-icon-wrapper img {
  height: 60px;
  width: 100%;
  margin-bottom: 0 !important;
}

.amenity-main .features-section .col .amenity-icon-wrapper img[alt=fitness-small] {
  padding-top: 20px;
}

.amenity-main .features-section .col h5 {
  margin-bottom: 6px;
}

.amenity-main p.amenity-summary {
  color: #fff;
  line-height: 1.2;
  font-weight: 500;
}

.amenity-main .features-section .col p.amenity-summary span {
  display: inline-block;
}

/* Modals */
.amenity-main .modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  -webkit-transition: opacity 300ms ease-in-out, visiblity 0.7s ease-in-out;
  transition: opacity 300ms ease-in-out, visiblity 0.7s ease-in-out;
  z-index: 1000;
}

.amenity-main .modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.amenity-main .modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #470c18;
  background: #ffffff;
  padding: 70px 100px;
  max-width: 720px;
  max-height: 660px;
  min-width: 2px;
  width: 100%;
}

.amenity-main .modal.show {
  opacity: 1;
  visibility: visible;
}

.amenity-main .modal-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: left;
  position: relative;
  max-width: 420px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 auto;
}

.amenity-main .modal-inner .modal-icon-wrap {
  margin-bottom: 20px !important;
}

.amenity-main .modal-inner .modal-icon-wrap svg {
  height: 96px;
}

.amenity-main .modal-inner .modal-icon-wrap svg * {
  fill: #5d82cd !important;
}

.amenity-main .modal-inner h3.modal-title {
  color: #5d82cd;
  margin-bottom: 26px;
  text-align: center;
}

.amenity-main .modal-inner__description {
  text-align: justify;
  color: #5d82cd;
  font-weight: 500;
  line-height: 1.3;
}

.amenity-main .modal-inner .announcement {
  text-align: center;
}

.amenity-main .modal-inner .announcement__title {
  font-size: 40px;
  color: #5d82cd;
  margin-bottom: 7px;
}

.amenity-main .modal-inner .announcement__date {
  font-size: 20px;
  color: #5d82cd;
}

.amenity-main .modal-inner svg.divider {
  margin-bottom: 20px;
}

.amenity-main .modal-inner .operation-hours {
  -ms-flex-item-align: start;
  align-self: flex-start;
  margin-bottom: 40px;
}

.amenity-main .modal-inner .operation-hours__title {
  color: #5d82cd;
  font-size: 20px;
  text-align: left;
  margin-bottom: 3px;
}

.amenity-main .modal-inner .operation-hours__details {
  color: #5d82cd;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.3;
}

.amenity-main .modal-inner .operation-hours__details span:first-child {
  margin-right: 12px;
}

.amenity-main .modal-inner .operation-hours__details span:last-child {
  margin-left: 12px;
}

.amenity-main .modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  border: 0;
  color: #fff;
  background: transparent;
}

.amenity-main .modal-close img {
  width: 26px !important;
  height: 26px !important;
}

.amenity-main .modal-open {
  color: #fff;
  text-align: center;
  background: transparent;
  border: 0;
  text-transform: uppercase;
  font-weight: 500;
  position: absolute;
  bottom: 23px;
  -webkit-transition: color 0.3s ease-in;
  transition: color 0.3s ease-in;
}

.amenity-main .modal-open:after {
  font-family: "icomoon" !important;
  content: "\e904";
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  display: inline-block;
  font-size: 0.8em;
  font-weight: 800;
}

.amenity-main .modal-open:hover {
  color: #fff;
}

/* Fitness enroll modal + video cover */
.amenity-main #fitness-enroll-modal #js-close {
  z-index: 50;
}

.amenity-main #fitness-enroll-modal .modal-inner {
  position: initial;
  max-width: none;
}

.amenity-main #fitness-enroll-modal .modal-inner__vid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  min-width: 100%;
  padding: 0;
  background-color: #000000;
  color: #fff;
  z-index: 2;
}

.amenity-main #fitness-enroll-modal .modal-inner__vid .traverse-video {
  margin: 0 auto;
  position: relative;
  width: auto;
  max-height: 300px;
}

.amenity-main #fitness-enroll-modal .modal-inner__vid .traverse-video video {
  max-height: 300px;
  width: 100%;
}

.amenity-main #fitness-enroll-modal .modal-inner__vid .fitness-modal-video-cover-wrap {
  background-image: url("/wp-content/uploads/2021/07/BMR-vid_preview_OPT.jpg");
  width: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  padding: 50px 100px 20px;
  background-position: center;
  cursor: pointer;
}

.amenity-main #fitness-enroll-modal .modal-inner__vid .fitness-modal-video-cover-wrap h3 {
  text-shadow: 0 0 0.3em rgba(0, 0, 0, 0.6);
}

.amenity-main #fitness-enroll-modal .modal-inner__vid .fitness-modal-video-cover-wrap__play {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.amenity-main #fitness-enroll-modal .modal-inner__vid .fitness-modal-video-cover-wrap__play img {
  width: 48px;
  height: 48px;
  margin-right: 17px;
}

.amenity-main #fitness-enroll-modal .modal-inner__vid .fitness-modal-video-cover-wrap__play h4 {
  font-size: 20px;
  text-transform: none;
  margin-bottom: 0;
}

.amenity-main #fitness-enroll-modal .modal-inner__spacer {
  min-height: 230px;
}

.amenity-main #fitness-enroll-modal .modal-inner__description {
  margin-top: 30px;
}

.amenity-main #fitness-enroll-modal .modal-inner__description h4 {
  font-size: 40px;
  color: #5d82cd;
  margin-bottom: 0;
}

.amenity-main #fitness-enroll-modal .modal-inner__description a.wp-block-button__link {
  margin: 0 auto;
  display: table;
}

/* ==========================================================================
   Getting Here map
   ========================================================================== */

.amenity-main .map-holder {
  position: relative;
  background: #222;
}

.amenity-main .map-holder .tabset {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 284px;
  background: rgba(71, 12, 24, .32);
  z-index: 1;
}

.amenity-main .map-holder .tabset * {
  color: #fff;
}

.amenity-main .map-holder img {
  width: 100%;
  max-width: none;
}

.amenity-main .map-holder .tabset .arrow-long:before {
  background: #fff;
}

.amenity-main .map-holder .tabset a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  padding: 30px 40px;
  background: #B1B1B1;
  font-weight: 500;
  font-size: 17px;
}

.amenity-main .map-holder .tabset a:hover {
  text-decoration: none;
  opacity: .9;
}

.amenity-main .map-holder .tabset a.active {
  background: #5d82cd;
}

.amenity-main .map-holder #tab2 .container {
  max-width: 1297px;
  padding: 0;
}

.amenity-main .map-holder .tabset .switch-block {
  padding: 0;
  height: 0;
  transition: all 0.5s;
  overflow: hidden;
}

.amenity-main .map-holder .tabset a.active + .switch-block {
  height: 128px;
  padding: 13px 0;
}

.amenity-main .map-holder .tabset .switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 40px;
  font-size: 17px;
  cursor: pointer;
}

.amenity-main .map-holder .tabset .switch-row .switcher {
  width: 34px;
  height: 15px;
  border: 1px solid #fff;
  border-radius: 7px;
  position: relative;
}

.amenity-main .map-holder .tabset .switch-row .switcher:after {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  left: 1px;
  top: 1px;
  transition: left .3s;
  position: absolute;
}

.amenity-main .map-holder.gateway-active .tabset .switch-row.switch-gateway .switcher,
.amenity-main .map-holder.transportation-active .tabset .switch-row.switch-transportation .switcher {
  background: #5d82cd;
}

.amenity-main .map-holder.gateway-active .tabset .switch-row.switch-gateway .switcher:after,
.amenity-main .map-holder.transportation-active .tabset .switch-row.switch-transportation .switcher:after {
  left: 20px;
}

.amenity-main .map-holder .map-image-gateway {
  position: absolute;
  left: 0;
  top: 0;
  transition: all .3s;
  opacity: 0;
}

.amenity-main .map-holder.gateway-active .map-image-gateway {
  opacity: 1;
}

.amenity-main .map-image-holder {
  position: relative;
}

.amenity-main .pin {
  position: absolute;
  opacity: 0;
  transition: all .3s;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  font-size: 17px;
  text-transform: uppercase;
  text-align: center;
}

.amenity-main .pin.ssfd {
  left: 8%;
  top: 61%;
}

.amenity-main .pin.sfia {
  left: 51%;
  top: 21%;
}

.amenity-main .pin.i280 {
  left: 86.2%;
  top: 5.6%;
}

.amenity-main .pin.bs {
  left: 90%;
  top: 19%;
}

.amenity-main .pin.cs {
  left: 85.5%;
  top: 52.1%;
}

.amenity-main .pin.c101 {
  left: 75.5%;
  top: 70.5%;
}

.amenity-main .pin.got {
  left: 56%;
  top: 54%;
}

.amenity-main .pin .pin-title {
  display: none;
  background: #fff;
  padding: 20px;
  width: 180px;
  position: absolute;
  left: 50%;
  top: 80px;
  transform: translateX(-50%);
}

.amenity-main .pin .pin-title:after {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #fff;
  border-width: 14px;
  margin-left: -14px;
}

.amenity-main .pin .pin-title :last-child {
  margin-bottom: 0;
}

.amenity-main .pin .pin-title strong {
  display: block;
}

.amenity-main .pin:hover .pin-title {
  display: block;
}

.amenity-main .map-holder.transportation-active .pin {
  opacity: 1;
}

.amenity-main .pin .icon {
  max-width: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  transform: scale(1);
  transition: transform .125s ease-out;
}

.amenity-main .pin .icon img {
  max-width: none;
  width: 100%;
}

.amenity-main .pin:hover .icon {
  transform: scale(1.1);
}

.amenity-main .pin .number,
.amenity-main .pin-number .number {
  background: #5d82cd;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  display: block;
}

.amenity-main .pin-number {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 2px 0 0 37px;
  break-inside: avoid;
  margin: 0 0 28px;
}

.amenity-main .pin-number .number {
  position: absolute;
  left: 0;
  top: 0;
}

.amenity-main .pin-number-title strong {
  display: block;
}

.amenity-main .directions-icon {
  margin-right: 14px;
}

.amenity-main .map-holder .lightbox-link {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: #5d82cd;
  display: inline-block;
  margin-bottom: 16px;
}

.amenity-main .map-holder .lightbox-link .arrow {
  transform: rotate(-45deg);
  display: inline-block;
  font-size: 20px;
  margin: 0 0 0 -6px;
}

.amenity-main .pin-numbers-holder {
  column-count: 2;
  line-height: 1.5;
  border-bottom: 1px solid #5d82cd;
  padding: 10px 0 40px;
  margin-bottom: 20px;
}

/* Getting Here — upcoming event / get directions strip */
.amenity-main .upcoming-event-holder {
  background: #5d82cd;
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
  margin: -110px 0 90px;
  padding: 34px 0;
}

.amenity-main .upcoming-event-holder * {
  color: #fff !important;
}

.amenity-main .upcoming-event-holder h4 {
  margin: 0;
  white-space: nowrap;
}

.amenity-main .upcoming-event-holder .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amenity-main .upcoming-event-holder .container:after {
  content: none;
}

.amenity-main .upcoming-event-holder .arrow-long {
  color: #fff;
}

.amenity-main .upcoming-event-holder .arrow-long:before {
  background: #fff;
}

.amenity-main .upcoming-event-holder .event-content {
  margin-right: 185px;
}

.amenity-main .upcoming-event-holder.get-directions-holder {
  margin: 0;
}

/* ==========================================================================
   Utilities (only those the above components depend on)
   ========================================================================== */

.amenity-main .desktop-visible {
  display: none;
}

.amenity-main .object-fit-cover {
  -o-object-fit: cover;
  object-fit: cover;
}

/* ==========================================================================
   Responsive variants
   ========================================================================== */

@media (min-width: 1024px) {
  .amenity-main .desktop-hidden {
    display: none !important;
  }

  .amenity-main .desktop-visible {
    display: block !important;
  }
}

/* Onyx feature-card mobile height */
@media screen and (max-width: 768px) {
  .amenity-main .features-section .col {
    height: 260px;
  }

  .amenity-main .modal-inner .modal-icon-wrap svg {
    max-height: 45px;
  }
}

/* Onyx modal container padding on small screens */
@media screen and (max-width: 667px) {
  .amenity-main .modal__container {
    padding: 40px;
  }

  .amenity-main #fitness-enroll-modal .modal-inner__vid .fitness-modal-video-cover-wrap {
    padding: 40px;
  }

  .amenity-main #fitness-enroll-modal .modal-inner__vid .fitness-modal-video-cover-wrap h3 {
    font-weight: 600;
  }

  .amenity-main #fitness-enroll-modal .modal-inner__vid .fitness-modal-video-cover-wrap__play img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .amenity-main #fitness-enroll-modal .modal-inner__spacer {
    min-height: 160px;
  }
}

@media (max-width: 1365px) {
  .amenity-main .container {
    padding: 0 30px;
  }

  .amenity-main .item .text-content h3 {
    padding: 20px 25px;
  }

  .amenity-main .item .text {
    padding: 0 25px;
  }

  .amenity-main .row .block .text-holder .text,
  .amenity-main .row .block:nth-child(even) .text-holder .text {
    padding: 0 30px;
  }

  .amenity-main .container-rows .block .text-holder .text {
    padding: 0 0 0 30px;
  }

  .amenity-main .container-rows .block:nth-child(even) .text-holder .text {
    padding: 0 30px 0 0;
  }

  .amenity-main .row .block .btn {
    margin: 0;
  }

  .amenity-main .features-section .col {
    padding: 30px;
  }
}

@media (max-width: 1278px) {
  .amenity-main h1 {
    font-size: 60px;
    letter-spacing: 3px;
  }

  .amenity-main h2 {
    font-size: 45px;
  }

  .amenity-main h3 {
    font-size: 30px;
  }

  .amenity-main h4 {
    font-size: 26px;
  }

  .amenity-main p {
    margin: 0 0 25px;
  }

  .amenity-main .btn {
    padding: 8px 10px;
  }

  .amenity-main .upcoming-event-holder .event-content {
    margin-right: 10%;
  }

  .amenity-main .text-holder .text {
    line-height: 1.5;
  }
}

@media (max-width: 1023px) {
  .amenity-main h1 {
    font-size: 40px;
    letter-spacing: 2.6px;
  }

  .amenity-main h2 {
    font-size: 30px;
  }

  .amenity-main h3 {
    font-size: 20px;
  }

  .amenity-main h4 {
    font-size: 20px;
  }

  .amenity-main h5 {
    font-size: 13px;
  }

  .amenity-main h6 {
    font-size: 11px;
  }

  .amenity-main p {
    margin: 0 0 20px;
  }

  .amenity-main .btn,
  .amenity-main .wp-block-button__link {
    font-size: 13px;
    letter-spacing: 1px;
    padding: 13px 19px;
  }

  .amenity-main .container {
    padding: 0 28px;
  }

  .amenity-main .intro {
    padding: 45px 0;
  }

  .amenity-main .intro .text-holder {
    padding: 35px 43px;
  }

  .amenity-main .intro h5 + p {
    font-size: 13px;
  }

  .amenity-main .intro .wp-block-buttons + h5 {
    margin: 47px 0 0;
  }

  .amenity-main .intro .wp-block-buttons {
    margin: 20px 15px 0 0;
  }

  .amenity-main .title {
    padding-bottom: 7px;
  }

  .amenity-main .item .text-content h3 {
    padding: 19px 16px;
  }

  .amenity-main .item .text {
    padding: 0 0 0 16px;
  }

  .amenity-main .item .text-content h3 span {
    font-size: 13px;
    margin-top: 5px;
  }

  .amenity-main .button-holder {
    padding-top: 28px;
  }

  .amenity-main .columns-block {
    margin-bottom: 44px;
  }

  .amenity-main .map-holder {
    background: #fff;
  }

  .amenity-main .map-holder .map-image-gateway,
  .amenity-main .pin {
    opacity: 1;
  }

  .amenity-main .pin.ssfd {
    top: 53%;
  }

  .amenity-main .block .text-holder .text h3 {
    font-size: 22px;
  }

  .amenity-main .upcoming-event-holder {
    font-size: 13px;
    margin: -34px 0 34px;
  }

  .amenity-main .upcoming-event-holder h4 {
    font-size: 17px;
  }

  .amenity-main .map-holder div.desktop-hidden {
    padding: 29px 0;
  }

  .amenity-main .map-holder #tab2 div.desktop-hidden {
    padding: 29px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .amenity-main .arrow-long {
    font-size: 20px;
  }

  .amenity-main .arrow-long:before {
    height: 2px;
    margin-top: 0;
    width: 30px;
  }

  .amenity-main .pin .pin-title {
    display: none !important;
  }

  .amenity-main .row .block,
  .amenity-main .container-rows .block {
    display: block;
  }

  .amenity-main .row .block {
    overflow: hidden;
  }

  .amenity-main .row .block .text-holder,
  .amenity-main .row .block img,
  .amenity-main .container-rows .block .text-holder,
  .amenity-main .container-rows .block img {
    width: 100%;
    max-width: none;
  }

  .amenity-main .row .block .text-holder .text {
    padding: 36px 38px !important;
    float: none !important;
  }

  .amenity-main .container-rows .block .text-holder .text {
    padding: 30px 0 !important;
  }

  .amenity-main .columns-block-bg {
    margin-bottom: 0;
  }

  .amenity-main .columns-block .container {
    padding: 0 20px;
  }

  .amenity-main .intro + .features-section {
    padding: 30px 0 10px;
  }

  .amenity-main .features-section .col {
    width: 47%;
    padding: 20px;
  }

  .amenity-main .container-rows .block {
    padding-bottom: 11px;
  }
}

@media (max-width: 991px) {
  .amenity-main .items-holder .item {
    width: 50%;
  }
}

@media (max-width: 499px) {
  .amenity-main .items-holder .item {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .amenity-main .items-holder .item img,
  .amenity-main .row .block img,
  .amenity-main .container-rows .block img {
    max-width: none;
    width: 100%;
  }

  .amenity-main .upcoming-event-holder {
    padding: 27px 0;
  }

  .amenity-main .upcoming-event-holder .container {
    display: block;
    position: relative;
  }

  .amenity-main .upcoming-event-holder .container > * {
    display: block;
  }

  .amenity-main .upcoming-event-holder h4 {
    margin: 0 0 20px;
  }

  .amenity-main .upcoming-event-holder .event-content {
    margin: 0 0 30px;
  }

  .amenity-main .directions-icon {
    right: 0;
    top: 0;
    position: absolute;
    width: 16px;
    margin-right: 28px;
  }

  .amenity-main .features-section .col {
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   Fitness features-section — restore the production (red) palette
   Per client request this block keeps the origin Traverse styling
   (red background, white headings, dark-red copy, red modal accents) instead
   of the GOP re-skin applied to the rest of the Amenity Center. Values taken
   from https://www.traversegateway.com/fitness-wellbeing/.
   ========================================================================== */
.amenity-main .features-section { background: #d64334; }
.amenity-main .features-section .col h5 { color: #fff; line-height: 1.55; }
.amenity-main .features-section p.amenity-summary,
.amenity-main p.amenity-summary { color: #91322f; }

/* amenity-card "more info" trigger */
.amenity-main .features-section .modal-open,
.amenity-main .modal-open { color: #91322f; }
.amenity-main .features-section .modal-open:hover,
.amenity-main .modal-open:hover { color: #fff; }

/* modal (opens from the cards) */
.amenity-main .modal__container { color: #333; background: #fff; }
.amenity-main .modal-inner .modal-icon-wrap svg * { fill: #d64334 !important; }
.amenity-main .modal-inner h3.modal-title { color: #470c18; }
.amenity-main .modal-inner__description,
.amenity-main .modal-inner .announcement__date,
.amenity-main .modal-inner .operation-hours__details { color: #470c18; }
.amenity-main .modal-inner__description h4,
.amenity-main .modal-inner .announcement__title,
.amenity-main .modal-inner .operation-hours__title { color: #d64334; }
.amenity-main .modal-close { color: #91322f; }

/* features-section font sizes — pinned to production so the global
   .amenity-main heading scale (and GOP's 16px body) don't resize this block.
   Scoped to the features-section + its modal only. */
.amenity-main .features-section { font-size: 20px; line-height: 1.7; }
.amenity-main .features-section .col h5 { font-size: 18px; }
.amenity-main .features-section .modal-inner h3.modal-title { font-size: 40px; }

/* Stack the amenity cards full-width below 500px — 2-col is too tight there. */
@media (max-width: 500px) {
  .amenity-main .features-section .col { width: 100%; }
}

/* Let the Amenity Center pages go fluid below 375px. The global
   body{min-width:375px} otherwise forces a horizontal scrollbar on small
   phones; amenity content + GOP header/footer fit with no overflow to 320px. */
body.amenity-center { min-width: 0; }

/* Full-bleed sections sit flush against the footer; drop the global
   main{padding-bottom:30px} (style.css, >=1024px) on amenity pages */
body.amenity-center main { padding-bottom: 0; }
