.p-font{
  font-family: Calibri, Arial;
  font-size: 1.1rem;
}
.center-img{
  text-align: center;
  margin: 0 auto;
}
.generic-img{
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  max-height: 300px;
}
.torrance-loc{
  -ms-transform: scale(1.7);
  -webkit-transform: scale(1.7);
  transform: scale(1.7);
}

.wellness-loc{
  -ms-transform: scale(1.9);
  -webkit-transform: scale(1.9);
  transform: scale(1.9);
}

.banner-img{
  width: 1000px; 
  max-width: 100%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.loc-size{
  font-size: 1.2rem;
}

.secondList{
  display: none !important;
}

.display-second-list{
  display: block !important;
}

#list-loc{
  list-style: none;
}

.h2-white{
  color: #fff;
    padding-top: 10px;
    font-size: 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid #fff;
}

.card-border-spa{
  border-bottom: 1px solid #d8d8d8;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.small-font-size{
  font-size: 0.9rem;
}

.mobile-center{
  width: 100%;
  max-width: 1003px;
}

.red-color{
color: red;
}

.h5-adjust-font-size{
  font-size: 1.05rem;
}

.card-header{
  padding: .75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, .03);
  border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.add-border-top{
  border-top: 1px solid  rgba(0,0,0,.125);
  border-left: 1px solid  rgba(0,0,0,.125);
  border-right: 1px solid  rgba(0,0,0,.125);
}

.center{
  text-align: center;
}

ul.no-margin {
  margin-top: 0px;
  margin-bottom: 0px;
  opacity: 0;
}

.center-btn{
  margin: 0 auto;
  text-align: center;
}

.spa-width{
  max-width: 1003px;
}

#left-column{
  padding-right: 2%;
}

.p-padding{
  padding: 10px 12px 0 12px;
}

.dph-width{
  width: 1003px;
  margin: 0 auto;
}

.add-padding{
  padding: 15px;
}

.footer-center{
  text-align: center;
  margin: 0 auto;
}

.globalNavGreyDiv{
  height: 60px !important;
}

.spa-location-img{
  margin: 0 auto;
  text-align: center;
}

.sidebar {
  width: 25%;
  height: 25vh;
  min-height: 400px;
  position: sticky;
  position: -webkit-sticky; /*for Safari*/
  top: 5%;
}

.main {
  width: 100%;
  /*height: 200vh;
  min-height: 1000px;*/
  display: flex;
  flex-direction: column;
}

.main,
.sidebar {
  padding: 15px 0;
}

.wrapper {
  display: flex;
  /*justify-content: space-between;*/
}

code,
pre {
  background-color: #ccc;
  padding: 0 3px;
  border-radius: 5px;
}

.bottom {
  justify-self: bottom;
}

.card-header{
  font-size: 1.3rem;
}

.mlk-tree{
  width: 100%; 
  border-radius: 5px; 
  max-width: 450px; 
  box-shadow: rgba(0, 0, 0, 0.4) 0px 25px 75px -20px, rgba(0, 0, 0, 0.4) 0px 22px 22px -30px, rgba(0, 0, 0, 0.4) 0px -2px 6px 0px inset;
}

.center-img{
  text-align: center; margin: 0 auto 15px auto;
}

/*Back to top Button*/
.m-backtotop {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: fixed;
  bottom: -50px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #002454;
  border-radius: 25px;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  overflow: hidden;
  color: #fff;
}
.m-backtotop.active {
  bottom: 15px;
  opacity: 1;
  z-index: 1;
}
.m-backtotop > div {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.m-backtotop > div.arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  opacity: 1;
}
.m-backtotop > div.text {
  font-size: 5px;
  font-size: 0.5rem;
  line-height: 10px;
  text-transform: uppercase;
  font-weight: 900;
  font-family: "Open Sans", sans-serif;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(50%) translateX(-50%);
  opacity: 0;
  margin-top: 1px;
}
.m-backtotop:hover {
  transform: scale(1.1);
  bottom: 20px;
  cursor: pointer;
  background: #002454;
  box-shadow: 0 10px 5px rgba(0, 0, 0, 0.1);
}
.m-backtotop:hover > div.arrow {
  transform: translateY(-150%) translateX(-50%);
  opacity: 0;
}
.m-backtotop:hover > div.text {
  transform: translateY(-50%) translateX(-50%);
  opacity: 1;
}
/*****************************/

/* CSS */
.button-30 {
  align-items: center;
  appearance: none;
  background-color: #664782;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(99, 33, 157, 0.4) 0 2px 4px,rgba(99, 33, 157, 0.3) 0 7px 13px -3px,#664782 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;/*#36395A;*/
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono",monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

.button-30:focus {
  box-shadow: #664782 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #664782 0 -3px 0 inset;
}

.button-30:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #664782 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-30:active {
  box-shadow: #664782 0 3px 7px inset;
  transform: translateY(2px);
}

.center-card-item{
  margin: 0 auto;
  text-align: center;
}

/** SPA Location Card **/
.card-update{
  height: 290px;
}
.card {
  --blur: 16px;
  --size: clamp(255px, 50vmin, 125px);
  /*width: var(--size);*/
  width: 100%;
  /*aspect-ratio: 4 / 3;*/
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  color: #000;
  transform: translateZ(0);
}

.card__img {
  width: 100%;
  /*height: 100%;*/
  object-fit: cover;
  transform: scale(calc(1 + (var(--hover, 0) * 0.25))) rotate(calc(var(--hover, 0) * -5deg));
  transition: transform 0.2s;
  border-radius: 5px;
}

.card__footer {
  padding: 0 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-row: auto auto;
  gap: 0.5ch;
  /*background: hsl(0 0% 100% / 0.85);*/
  background: hsl(0 0% 100% / 0.5);
  backdrop-filter: blur(var(--blur));
  height:56%; /*44%*/
  align-content: center;
  /*color: #272829;*/
  color: #000;
}

.card__action {
  position: absolute;
  aspect-ratio: 1;
  width: calc(var(--size) * 0.15);
  bottom: 40%;
  right: 1.5rem;
  transform: translateY(50%)
    translateY(
      calc(
        (var(--size) * 0.4)
      )
    )
    translateY(calc(var(--hover, 0) * (var(--size) * -0.4)));
  background: purple;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: hsl(0 0% 100% / 0.5);
/*   backdrop-filter: blur(calc(var(--blur) * 0.5)); */
  transition: transform 0.2s;
}

.card__action svg {
  aspect-ratio: 1;
  width: 50%;
}

.card__footer span:nth-of-type(1) {
  font-size: calc(var(--size) * 0.06);
}

.card__footer span:nth-of-type(2) {
  font-size: calc(var(--size) * 0.057);
}

.card:is(:hover, :focus-visible) {
  --hover: 1;
}
/****/

/*Mobile/Desktop*/
.desktop-left-column{ display: block; }
.mobile-top-column{ display: none; }

@media(max-width: 720px){
  .desktop-left-column{ display: none; }
  .mobile-top-column{ display: block; }
}
/*END OF Mobile/Desktop*/


/*Mobile top action bar*/
.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #061c60;
  border-radius: 5px;
  border: solid 1px #e8e8e8;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: normal;
  height: 42px;
  line-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 30px;
  position: relative;
  text-align: left !important;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  white-space: nowrap;
  color: #fff;
  width: 100%;
  max-width: 100%; }
  .nice-select:hover {
    border-color: #dbdbdb; }
  .nice-select:active, .nice-select.open, .nice-select:focus {
    border-color: #999; }
  .nice-select:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
        -ms-transform-origin: 66% 66%;
            transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 5px; }
  .nice-select.open:after {
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg); }
  .nice-select.open .list {
    opacity: 1;
    color:#48525B;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
        -ms-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0); }
  .nice-select.disabled {
    border-color: #ededed;
    color: #999;
    pointer-events: none; }
    .nice-select.disabled:after {
      border-color: #cccccc; }
  .nice-select.wide {
    width: 100%; }
    .nice-select.wide .list {
      left: 0 !important;
      right: 0 !important; }
  .nice-select.right {
    float: right; }
    .nice-select.right .list {
      left: auto;
      right: 0; }
  .nice-select.small {
    font-size: 12px;
    height: 36px;
    line-height: 34px; }
    .nice-select.small:after {
      height: 4px;
      width: 4px; }
    .nice-select.small .option {
      line-height: 34px;
      min-height: 34px; }
  .nice-select .list {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-sizing: border-box;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transform-origin: 50% 0;
        -ms-transform-origin: 50% 0;
            transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
        -ms-transform: scale(0.75) translateY(-21px);
            transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    z-index: 9; }
    .nice-select .list:hover .option:not(:hover) {
      background-color: transparent !important; }
  .nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    min-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s; }
    .nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
      background-color: #f6f6f6; }
    .nice-select .option.selected {
      font-weight: bold; }
    .nice-select .option.disabled {
      background-color: transparent;
      color: #999;
      cursor: default; }

.no-csspointerevents .nice-select .list {
  display: none; }

.no-csspointerevents .nice-select.open .list {
  display: block; }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
  }
  /*Media Queries*/

  @media(max-width: 767px){
      .card__footer span:nth-of-type(1) {
          font-size: calc(var(--size)* 0.09);
      }
      .card__footer span:nth-of-type(2) {
          font-size: calc(var(--size)* 0.07);
      }
  }

  @media(max-width:720px){
    .nice-select .list{
      left: -38%;
    }
  }

  @media(max-width: 696px){
    .card__footer span:nth-of-type(1) {
        font-size: calc(var(--size)* 0.065);
    }
  }

  @media(max-width:920px){
    .grid{
      display: block !important;
    }
  }

  @media(max-width:530px){
      .mobile-content{
          display: block;
      }
      .desktop-content{
          display: none;
      }
  }

  @media(max-width:480px){
      .card__footer span:nth-of-type(1) {
          font-size: calc(var(--size)* 0.08);
      }
      .card__footer span:nth-of-type(2) {
          font-size: calc(var(--size)* 0.06);
      }

      .ruth-height{
        height: 180px !important;
      }    
  }

  @media(max-width:580px){
      .wrapper{
          display: block;
      }

      .nice-select{
          font-size: 1rem;
      }
  }

  @media(max-width:320px){
    .card__img{
      height: 268px;
    }
  }

    @media(max-width:480px){
    .container-cards .post {
      height: 450px !important;
    }
  }

  .color-black{
    color: #2c3e50;
  }

  /*Card Centered Item*/
  .color-white{ color: #fff; /*padding-top: 15px;*/ text-align: left !important; margin-left: 15px; margin-top: 10px; }
  .grid:not(#spa1Loc):not(#spa2Loc):not(#spa5Loc):not(#spa7Loc) {
    display:flex;
    flex-wrap:wrap;
    max-width:1280px;
    margin:0 auto;
    padding:0;
    list-style:none;
}
.grid li {
    display:flex;
    flex:0 0 50%;
    max-width:480px;
    border:20px solid #fff;
    /*border-top-width:50px;
    border-bottom-width:50px;*/
    background:#f9f9f9;
    position:relative;
    cursor:pointer;
    color:#fff;
    margin: 0 auto;
    max-height: 425px;
}
.adjust-width-spa5{
  max-width:540px !important;
}
.bckgrnd-white {
  background-color: ghostwhite;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  font-size: 1rem;
  padding: 25px;
  min-height: 300px;
}
.image {
    width:100%;
    height:auto;
    margin:auto;
    align-self:center;
}
.overlay {
    opacity:0;
    transform: scale(1, 0.0);
    transition: all 0.4s ease 0.1s;
    z-index:-1;
    position :absolute;
    top:-15%;
    left:-10px;
    right:-10px;
    bottom:-60px;
    overflow:auto;
    padding:10px;
    background:rgba(0, 0, 0, 0.7);
    border:1px solid #000;
    min-height: 450px;/*340px;*/
    overflow-y: hidden;
    border-radius: 10px;
}
.hasHover .grid li:hover .overlay {
    opacity:1;
    transform: scale(1, 1);
    z-index:2;
}
.noHover .grid li.active .overlay {
    opacity:1;
    transform: scale(1, 1);
    z-index:2;
}

@media screen and (max-width:1080px){
    .grid li {
        flex:0 0 50%;
    }
}
@media screen and (max-width:830px){
  .card__footer {
    font-size: .9rem;
  }
}

@media screen and (max-width:825px){
  .loc-size{
    font-size: 1.05rem;
  }
}
@media screen and (max-width:800px){
    .grid li {
        flex:0 0 49%;
    }
}
@media screen and (max-width:560px){
    .grid li {
        flex:1 0 100%;
    }
}
  /**/

/*Mobile Dropdown*/
.dropbtn {
  background-color: #061c5e;
  color: #fff;
  padding: 8px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 98;
  max-height: 0;
  min-width: 160px;
  transition: max-height 0.15s ease-out;
  overflow: hidden;
}

.dropdown-content a {
  color: black;
  background-color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  min-width: 250px;
}

.dropdown-content a:hover {
  background-color: #061c5e;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  max-height: 900px;
  min-width: 160px;
  transition: max-height 0.25s ease-in;
}

.dropdown:hover .dropbtn {
  background-color: #061c5e;
  border-bottom: 1px solid #e0e0e0;
  transition: max-height 0.25s ease-in;
}

.dropbtn:after {
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
  content: '';
  display: block;
  height: 5px;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
  -ms-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  width: 5px;
}
/*END OF MOBILE DROPDOWN*/

/*Media Queries*/
@media(max-width:1023px){
  .color-white{
    overflow: auto;
    height: 250px;
  }
  .overlay{
    top: -8%;
    max-height: 350px;
  }
}

@media(max-width:992px){
  .overlay{
    top: -8%;
    max-height: 380px;
  }
}

@media(max-width:635px){
  .overlay{
    top: -8%;
    max-height: 400px;
  }
}

@media(max-width:610px){
  .overlay{
    top: -8%;
    max-height: 420px;
  }
}

@media(max-width:598px){
  .overlay{
    top: -15%;
    max-height: 500px;
  }
  .spa-location-img{
    padding-top: 2%;
  }
}

@media(max-width:560px){
  .overlay{
    top: -15%;
    max-height: 500px;
  }
  .spa-location-img{
    padding-top: unset;
  }
}

@media(max-width:480px){
  .overlay{
    top: -15%;
    max-height: 400px;
  }
  .spa-location-img{
    padding-top: unset;
  }
  .color-white{
    overflow: auto;
    height: 200px;
  }
}

@media(max-width:386px){
  .overlay{
    top: -15%;
    max-height: 450px;
  }

  .color-white{
    overflow: auto;
    height: 200px;
  }

  .grid li{
    border: 10px solid #fff;
  }

  .button-30{
    font-size: 14px;
  }
}
/*END OF MEDIA QUERIES*/

/*NEW CSS CARD VER2*/
@import url("https://fonts.googleapis.com/css?family=Lato:300,400|Poppins:300,400,800&display=swap");

/* General container for cards */
.card-wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0px;
}

/* Cards container */
.container-cards {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 25px 76px -20px, rgba(0, 0, 0, 0.1) 0px 22px 22px -30px, rgba(0, 0, 0, 0.2) 0px -2px 6px 0px inset;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 5px;
  border-radius: 5px;
  flex: 0 1 380px; /* Flex to allow resizing */ /*flex: 0 1 350px;*/
  box-sizing: border-box;
  width: 100%; /* Ensures the container uses the full width */
}

.spa7-adjustment .container-cards, .spa1-adjustment .container-cards {
  flex: 0 1 600px !important; /* Flex to allow resizing */ /*flex: 0 1 350px;*/
}

.container-cards > .post {
  margin: 15px;
}

.container-cards .post {
  max-width: 450px;
  height: auto;
  min-height: 400px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  position: relative;
  border-radius: 5px;
  background-color: #fff;
}

.spa7-adjustment .post, .spa1-adjustment .post {
  max-width: 650px;
}

.container-cards .post:hover .header_post {
  margin-top: -20px;
}

.container-cards .post:hover .body_post {
  height: 45%;
}

.container-cards .post:hover img {
  transform: translateY(-10px) translateX(-5px) scale(1.05);
}

.container-cards .post .header_post {
  width: 100%;
  height: auto;
  max-height: 60%;
  background: #ddd;
  position: relative;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
}

.container-cards .post .sp8-post {
  height: 46% !important;
}

@media(max-width:995px){
  .container-cards .post .sp8-post {
    height: 46% !important;
    max-height: 180px;
  }
}

@media(max-width:895px){
  .container-cards .post .sp8-post {
    height: 46% !important;
    max-height: 165px;
  }
}

@media(max-width:836px){
  .container-cards .post .sp8-post {
      height: 46% !important;
      max-height: 225px;
  }
}

@media(max-width:480px){
  .container-cards .post .header_post {
    height: 46% !important;
    max-height: 180px;
  }
}

@media(max-width:365px){
  .container-cards .post .header_post {
    height: 46% !important;
    max-height: 200px;
  }
}

@media(max-width:337px){
  .container-cards .post .header_post {
    height: 46% !important;
    max-height: 155px;
  }
}

@media(max-width:324px){
  .container-cards .post .header_post {
    height: 46% !important;
    max-height: 145px;
  }
}

@media(max-width:306px){
  .container-cards .post .header_post {
    height: 46% !important;
    max-height: 135px;
  }
}

@media(max-width:280px){
  .container-cards .post .header_post {
    height: 46% !important;
    max-height: 120px;
  }
}

.container-cards .post .header_post img {
  max-width: 100%;
  height: auto;
  transition: ease-in-out 600ms;
  display: block;
}

.container-cards .post .body_post {
  width: 100%;
  height: 47%;
  background: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
  cursor: pointer;
}

.container-cards a {
  text-decoration: none;
  font-weight: 525;
}

.container-cards .post .body_post .post_content {
  width: 90%;
  height: auto;
  background: #fff;
  position: relative;
  margin-top: 10px;
  text-align: left;
}

.spa1-img, .spa7-img{
  max-width: 800px !important;
}

.spa7-adjustment .post .body_post .post_content, .spa1-adjustment .post .body_post .post_content {
  text-align: center !important;
}

.container-cards .post .body_post .post_content h1 {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: bold;
}

.container-cards .post .body_post .post_content p {
  font-size: 16px;
  font-weight: normal;
}

.container-cards .post .body_post .post_content .container_infos {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 25px;
  flex-wrap: wrap;
}

.container-cards .post .body_post .post_content .container_infos .postedBy {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.container-cards .post .body_post .post_content .container_infos .postedBy span {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.5;
  letter-spacing: 1px;
  font-weight: bold;
}

.container-cards .post .body_post .post_content .container_infos .container_tags {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;
}

.container-cards .post .body_post .post_content .container_infos .container_tags span {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.5;
  letter-spacing: 1px;
  font-weight: bold;
}

.container-cards .post .body_post .post_content .container_infos .container_tags .tags ul {
  display: flex;
  flex-wrap: wrap;
}

.container-cards .post .body_post .post_content .container_infos .container_tags .tags ul li {
  font-size: 12px;
  letter-spacing: 2px;
  list-style: none;
  margin-left: 8px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.container-cards .post .body_post .post_content .container_infos .container_tags .tags ul li:first-child {
  margin-left: 0px;
}

.container-cards .post .body_post .post_content .container_infos .container_tags .tags ul li:before {
  content: "";
  text-align: center;
  width: 100%;
  height: 5px;
  background: #FC6042;
  opacity: 0.5;
  position: absolute;
  bottom: 0;
  z-index: -1;
  padding: 0px 1px;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
}

.container-cards .post .body_post .post_content .container_infos .container_tags .tags ul li:hover:before {
  height: 18px;
}

.text-gray-900 {
  color: #1a202c !important;  
  font-family: "Tahoma";
}

.text-gray-700 {
  color: #4a5568 !important;
  font-size: 15px !important;
  font-family: "Tahoma";
  font-weight: bold;;
}

.marginTop{
  margin-top: 8px;
  margin-bottom: 12px;
}

/* Button Styles */
.button-31 {
  align-items: center;
  appearance: none;
  background-color: #061a5a;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #142d7b 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  height: 44px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
  user-select: none;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 18px;
}

.button-31:focus {
  box-shadow: #142d7b 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #142d7b 0 -3px 0 inset;
}

.button-31:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #142d7b 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-31:active {
  box-shadow: #142d7b 0 3px 7px inset;
  transform: translateY(2px);
}

@media screen and (max-width: 830px) {
  .grid li {
    flex: 0 0 49%;
  }
  .loc-size {
    font-size: 1.05rem;
  }
  .card__footer {
    font-size: 0.9rem;
  }
}

@media(max-width: 820px){
  .button-31{
    font-size: 16px;
  }
}

/* Responsive layout adjustments */
@media (max-width: 768px) {
  /* Adjust card layout to stack vertically on small screens */
  .card-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .container-cards {
    width: 90%;  /* Card container width on smaller screens */
    margin: 10px 0; /* Add vertical spacing */
  }

  .post {
    width: 100%;  /* Take up the full width */
    max-width: 100%; /* Ensure the card doesn't overflow */
  }

  .button-31 {
    width: 100%;
    text-align: center;
    white-space: break-spaces;
  }

  .container_infos {
    flex-direction: column;
    gap: 10px;
  }
}
/*END OF NEW CSS CARD VER2*/
/* Modal Overlay */
/* Modal overlay: dark background with blur for a modern feel */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px); /* subtle blur */
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out;
}

/* Modal container: glass effect with shadows */
.modal-content {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 90%;
  padding: 30px 25px;
  border-radius: 12px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  font-family: 'Poppins', sans-serif;
  color: #333;
  text-align: center;
}

/* Modal header */
#modalTitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #2c3e50;
}

/* Modal body */
#modalBody {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  color: #555;
}

/* Footnote */
.modal-content > div:last-child {
  font-size: 0.9rem;
  color: #888;
  margin-top: 20px;
  font-style: italic;
}

/* Close button: modern 'X' */
.close-button {
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 30px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}
.close-button:hover {
  color: #061a5a;
}

@media (max-width: 400px) {
  .modal-content {
    padding: 15px 10px;
    font-size: 0.9rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutOverlay {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(30px); }
}

.modal-overlay.fade-out .modal-content {
  animation: fadeOutOverlay 0.6s ease-out forwards;
}

.modal-content:hover {
  transform: scale(1.01);
  transition: transform 0.2s ease;
}
/*END OF SPA MODAL CSS STYLING*/

.dropdown:focus-within .dropdown-content,
.dropdown-content:focus {
  max-height: 900px;
}

.container-cards .post .header_post img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.btn{
  text-decoration: none !important;
}

.toggle-icon{
  font-size: 1.3rem;
}

.align-img{
  text-align:center;margin: 25px auto 10px auto;
}

.comm-img{
  border-radius: 10px; box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px; width: 100%; max-width: 550px; max-height: 450px;
}