.card__item__body-tag-text {
  background: #fff;
  border-radius: 30px;
  font-size: .875rem;
  left: 24px;
  padding: 4px 16px 4px 25px;
  position: absolute;
  top: 16px;
  z-index: 31;
}

.card__item__body-tag-text:after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  left: 8px;
  top: 10px;
  background: rgba(51,51,51,.6);
  border-radius: 100px;
}
/************Card image ***********

.card-group_bg_image {
  width: 100%;
}
*/


/* layout  styles */

.card-wrapper{

}

.card-grid {
 

}

.card-grid--col-1{
  display: grid;
  grid-template-columns: 1fr;
  /*gap:40px;*/
}

.card-grid--col-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  /*gap:40px;*/
}

.card-grid--col-3{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /*gap:40px;*/
}


.card-grid--col-4{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  /*gap: 24px;
}

.card-grid--col-5 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
}

.swiper {
  display: block;
  overflow: hidden;
  position: relative;
  /* shorten the width of the carousel..
    width: calc(100% - 100px);
    margin: 0 auto;
  */
}

/* end layout styles */

.card__item{
  position: relative;
  fill: var(--grey-900);
  color: var(--primary-5);
  text-shadow: none;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
}

.card__item--border{
  border:1px solid;
}

.card__item--quotation-mark:after{
  display: block;
  position: absolute;
  width:100%;
  height: 22px;
  max-width: 20%;
  top:0;
  left:0;
  z-index: 100;
  content: '';
  line-height: 1;
  background-size: contain;
  background-repeat: no-repeat;
}

.card__item--quotation-mark--white:after{
  color:var(--grey-000);
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjY2IiB2aWV3Qm94PSIwIDAgMTAwIDY2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC4wMzkzNDkyIDQzLj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yMC42OTI0IDU2LjAyODIgMzEuNzExOCA1NS42MzY0IDQzLjMzOThaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K);
}

.card__item--quotation-mark--blue:after{
  color:var(--grey-900);
  background-image: url(https://43976934.fs1.hubspotusercontent-na1.net/hubfs/43976934/icons/quote-icon.svg);
}

.card__item--background-image{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.filter-styles{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width:100%;
  height:100%;
  z-index: 0;
}

.card__item--background_filter_overlay_dark:after{
  content: '';
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--grey-800);
  opacity: var(--duotone-overlay-gradient-opacity);
  /* OPTIONAL: */
  /* mix-blend-mode: multiply; */
}

.card__item--background_filter_overlay_light:after{
  content: '';
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  filter: brightness(160%) contrast(130%);
  background: var(--grey-100);
  opacity: 0.75;

}

.card__item__image-wrapper {
  padding:16px 24px 0;
  line-height: 0;
  position: relative;
  z-index: 30;
}

.card__item__image-wrapper--no-body{ /* must sit above --bleed below */
  padding-bottom: 16px; 
}

.card__item__image-wrapper--bleed{
  padding:0;
}

.card__item__image{
  position: relative;
  overflow: hidden;
}

.card__item__image--logo {
  padding: 0 0 100%;
}

.card__item__image--logo  .card__item__image_tag {
  object-fit: contain;
}


.card__item__image--icon .card__item__image_tag {
  object-fit: contain;
  border-radius: 0;
}

.card__item__image_tag{
  position: absolute;
  z-index: 50;
  display: block;
  width: 100%;
  height:100%;
  top:0;
  left:0;
  bottom:0;
  right: 0;
  line-height: 0;
  object-fit: cover;
  border-radius: 30px;
  transition: transform 1s ease-in-out;
}

.card__item__image__link{ /*may need to be revised to pass though a rollover state */
  position: absolute;
  z-index: 150;
  display: block;
  top:0;
  left:0;
  bottom:0;
  right: 0;
  line-height: 0;
  text-decoration: none;
}
.card__item__image__link:hover ~ picture .card__item__image_tag {
  transform: scale(1.2);
}

.card__item__icon-caption {
  font-size: 0.6rem;
  font-style: italic;
  line-height: 1;
  padding:8px 0 0;
}

.card__item__image-caption {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  color: var(--grey-000);
  background: var(--primary-3);
  display: flex;
  padding: 8px;
  align-items: center;
  gap: 10px;
  position: absolute;
  bottom: 0;
  z-index: 100;
  width: 100%;
}

.card__item__icon-caption{
  padding-top:16px;  
}

.card__item__image-wrapper--bleed .card__item__image-caption{
  /* padding-left:16px;
  padding-right:16px; */
}

.card__item__image--icon {
  height: 52px;
  width: 52px;
}

.card__item__image--widescreen { /* 16:9 */
  padding: 0 0 56.25%;
}

.card__item__image--landscape{ /* 4:3*/
  padding: 0 0 75%;
}

.card__item__image--square{ /*1:1*/
  padding: 0 0 100%;
}

.card__item__image--portrait{ /*1:1.25*/
  padding: 0 0 125%;
}

.card__item__image--portrait_tall{ /*1:1.5 */
  padding: 0 0 150%;
}

.card__item__icon-wrapper{
  padding:16px 16px;
  line-height: 0;
}

.card__item__icon{
  width:150px;
  height:150px;
  position: relative;
  overflow: hidden;
}

.card__item__icon svg{
  max-width:100%;
  max-height:100%;
}

.text-left .card__item__icon{
  margin-right: auto;
}

.text-right .card__item__icon{
  margin-left:auto;
}

.text-center .card__item__icon{
  margin-left:auto;
  margin-right: auto;
}


.card__item__body-wrapper{
  padding: 24px;
  position: relative;
  z-index: 25;
  display: flex;
  flex-direction: column;
  height:100%;
}

.card__item__body {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
}

.card__item__header-wrapper{
  display: flex;
  column-gap: 8px;
}
.card__item__header-icon-wrapper{
  width: 40px;
  height:40px;
}

.card__item__header{
  width:100%;
}

.card__item__header__eyebrow{
  font-size: 23px;
  font-style: normal;
  font-weight: 800;
  line-height: 72px;
  /* color: var(--primary-5); */
}

.card__item__body-text{
  padding-top: 16px;
  /* color: var(--primary-5); */
  font-weight: 500;
}

.card__item__feature-list-wrapper{
  padding-top:16px;
}

.card__item__feature-list{
  display: flex;
  flex-direction: column;
  gap:16px;
  margin:0;
  padding:0;
  list-style: none;
}

.card__item__feature-list__item{
  
  display: flex;
  gap: 8px;
  align-items: flex-start;
  
}
.card__item__feature-list__item__icon,
.card__item__feature-list__item__image{
  margin-top: 4px;
  width:40px;
  height:40px;
}
.card__item__feature-list__item__image{
  object-fit: cover;
}
.card__item__feature-list__item__text{
  width:100%;
  text-align: left;
  align-self: center;
}

.card__item__cta-wrapper{
  padding-top: 14px;
}

.card__item__cta-wrapper a.button--transparent{
  min-height:44px;
  padding-top:12px;
}

.base__inner-wrapper.cards-content-wrapper {
  gap: 40px;
}
.base__custom-card-carousel{
  padding: 0 46px;

}

/* unique css class  */
.base__cta-items-section.cards_layout-with-description {
  display: flex;
  gap: 80px;
}

.cards-description {
  text-wrap: nowrap;
}
.full-width-cards-with-icon .card__item {
  border-radius: 0;
  background-color: #3C48D7;
}

.full-width-cards-with-icon .card-grid--col-2 {
  min-height: 740px;
  gap: 0;
}

.full-width-cards-with-icon .card__item__cta-wrapper {
  margin-top: 52px;
  padding: 0;
}

.full-width-cards-with-icon .card__item.card__item--background-image {
  background-color: unset;
}

.full-width-cards-with-icon .card__item {
  display: flex;
  align-self: center;
  min-height: 100%;
  justify-content: center;
}

.full-width-cards-with-icon .card__item__image-wrapper,
.full-width-cards-with-icon .card__item__body-wrapper {
  width: 520px;
  margin: 0 auto;
}

.full-width-cards-with-icon .card__item__body-text {
  padding-top: 30px;
}

.bleed-content .card__item__body-wrapper {
  padding: 16px 0;
}

.cards-with-border-top .card__item {
  border-top: 2px solid var(--primary-3);
  border-radius: 0;
}

.cards-with-border-top .card__item__body-wrapper {
  padding-top: 36px;
}

.cards-with-border-top .card__item__cta-wrapper {
  padding-top: 30px;
}

.bleed-content .card__item__body-wrapper {
    padding: 24px 0;
}

/* unique css class - card-with-background */
.card-with-background .card__item__image_tag {
  border-radius: 30px 30px 0 0;
}

.card-with-background .card__item__body-wrapper {
  padding: 20px 24px 36px;
}

.card-with-background .card__item__body-text {
  padding-top: 16px;
}

.card-with-background .card__item__cta-wrapper {
  padding-top: 8px;
}

.cards-content-wrapper .swiper-button-prev {
  left: 0px !important;
  padding: 20px;
  border-radius: 90px;
  background: rgba(51, 51, 51, 0.60);
}

.cards-content-wrapper .swiper-button-next {
  right: 0px !important;
  padding: 20px;
  border-radius: 90px;
  background: rgba(51, 51, 51, 0.60);
}

.cards-content-wrapper .swiper-button-next:after,
.cards-content-wrapper .swiper-button-prev:after {
  filter: brightness(0) invert(1);

}

.cards-content-wrapper .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, 
.cards-content-wrapper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  border: 2px solid var(--primary-5);
  width: 15px;
  height: 15px;
  background: white;
  opacity: 1;
}

.cards-content-wrapper .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet-active, 
.cards-content-wrapper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background: var(--primary-5);
  border: 2px solid var(--primary-5);
}

/* .card__item__body-text p {
  margin-top: 16px;
} */

.card__item__room-features {
  margin-top: 16px;
  display: flex;
  gap: 20px;
}

.card__item__numbers {
  display: flex;
  gap: 8px;
}











@media screen and (max-width: 1280px) {
  .full-width-cards-with-icon .card__item__image-wrapper,
  .full-width-cards-with-icon .card__item__body-wrapper {
    width: 350px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 960px) {

  .full-width-cards-with-icon .card-grid--col-2 {
    min-height: fit-content;
  }

  .full-width-cards-with-icon .card__item__image-wrapper {
    padding-top: 30px;
  }

  .full-width-cards-with-icon .card__item__body-wrapper {
    padding-bottom: 30px;
  }

  .full-width-cards-with-icon .card__item__cta-wrapper {
    margin-top: 24px;
  }

  .card__item__header__eyebrow {
    font-weight: 800;
  }

  .full-width-cards-with-icon .card__item__body-text {
    padding-top: 24px;
  }

  .base__cta-items-section.cards_layout-with-description {
    flex-direction: column;
    gap: 24px;
  }
}

@media screen and (max-width: 560px) {
  .card-grid--col-2.mobile-column-reverse .card__item:first-child {
    order: 2;
  }

  .card-grid--col-2.mobile-column-reverse .card__item:last-child {
    order: 1;
  }

  .full-width-cards-with-icon .card__item.card__item--background-image {
    min-height: 240px;
  }
  .full-width-cards-with-icon .card__item__image-wrapper,
  .full-width-cards-with-icon .card__item__body-wrapper {
    width: 100%;
    margin: 0 auto;
  }
  .cards-content-wrapper .cta-item.button {
    text-wrap: wrap;
  }
  .mobile-content-reverse .card-grid--col-2 .card__item:last-child {
    order: 1;
  }
  
  .mobile-content-reverse .card-grid--col-2 .card__item:first-child {
    order: 2;
  }
    /* New CSS added to add spacing only when CTAs stack (2nd+ button only) */
    .card__item__cta-wrapper .cta-item.button + .cta-item.button {
    margin-top: 20px;
  }
}
/* end unique css class  */

@media screen and (max-width: 1280px) {

  .card-grid--col-4,
  .card-grid--col-5 {
    grid-template-columns: 1fr 1fr 1fr;
  /*  gap:40px;*/
  }
  
}

@media screen and (max-width: 960px) {
  
  .card-grid--col-3,
  .card-grid--col-4,
  .card-grid--col-5 {
    grid-template-columns: 1fr 1fr;
   /* gap:40px 20px;*/
  }

}

@media screen and (max-width: 768px) {

  .bleed-content-mobile-only .card__item__body-wrapper {
    padding: 24px 0;
  }
  
}
@media screen and (max-width: 560px) {
  .card__item__image--logo {
    padding: 0 0 60%;
  }
  
  .card-grid--col-2,
  .card-grid--col-3,
  .card-grid--col-4,
  .card-grid--col-5 {
    grid-template-columns: 1fr;
    /*gap:40px;*/
  }
  
}

@media (max-width: 560px) {
  .swiper .card-grid {
    gap: 0;
  }
}

.swiper-wrapper {
  will-change: transform;
}