.refive .text-wrapper h5 {
  padding: 15px;
  border-top: 1px dashed #f7941d;
  border-bottom: 1px dashed #f7941d;
  background: #fff;
  border-radius: 33px;
  display: flex;
  justify-content: center;
  border-radius: 33px;
  font-size: 18px;
  line-height: 1.44;
  color: #0d2232;
  z-index: 2;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}
.refive .post_description {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(247, 148, 29, 0.3) 0%,
    rgba(247, 148, 29, 0) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  margin-top: -57px;
  padding-top: 100px;
  border-radius: 33px 33px 0 0;
}

.refive .post_description ul {
  list-style: none;
}

.refive .post_description ul li {
  margin-bottom: 20px;
}

.refive a#refive-prev-arrow {
  padding: 15px;
  border: solid 1px rgba(13, 34, 50, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 33px;
  background-color: #fff;
  transition: background 0.3s ease-in-out;
  z-index: 10;
}


.refive a#refive-next-arrow {
  padding: 15px;
  border: solid 1px rgba(13, 34, 50, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 33px;
  background-color: #fff;
  transition: background 0.3s ease-in-out;
  z-index: 10;
}

.refive .arrows-wrapper {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 60px;
  top: 5px;
}

.refive a#refive-next-arrow:hover,
.refive a#refive-prev-arrow:hover {
  background: #f7941d;
  border-color: transparent;
}

div#first-slider::before {
  content: "";
  width: 20%;
  height: 100%;
  position: absolute;
  left: -100px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2;
}

div#first-slider::after {
  content: "";
  width: 20%;
  height: 100%;
  position: absolute;
  right: -100px;
  background: linear-gradient(
    260deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2;
  top: 0;
}

@media screen and (max-width: 1024px) {
  .refive .arrows-wrapper {
    padding: 0 30px;
  }
  div#first-slider::before,
  div#first-slider::after {
    width: 50%;
  }
}

@media screen and (max-width: 480px) {
  .refive .arrows-wrapper {
    padding: 0 20px;
  }
}

/* SECOND SLIDER */

.my-slider-progress {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
}

.my-slider-progress-bar {
  background: #fff;
  height: 2px;
  transition: width 400ms ease;
  width: 0;
  position: relative;
  border-radius: 100px;
}

.my-slider-progress {
  position: relative;
}

.refive.second .splide__track .splide__slide {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.refive.second .splide__track .splide__slide .text-wrapper h4 {
  color: #000;
  font-family: Prata;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: normal;
  padding-left: 15px;
}

.refive.second .splide__track .splide__slide .text-wrapper p {
  color: #000;
  font-family: Urbane;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 22px;
  opacity: 0.6;
  width: 285px;
  padding-left: 15px;
  border-left: 1px solid #2d704b;
}

.text-slider.refive-wrapper {
  position: relative;
}

.text-slider .splide__slide,
.text-slider .splide__slide > p {
  text-align: center;
  line-height: 1.5em;
}

.text-slider a:hover {
  text-decoration: none;
}

.refive.second .bottom-slider-wrapper {
  width: 520px;
  position: absolute;
  bottom: 22px;
  left: 115px;
}

.refive.second .counter-arrow-wrapper {
  color: #000 !important;
}

.refive.second .my-slider-counter {
  color: #fff;
  font-family: "General Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.refive.second .my-slider-counter span.firstnumber {
  color: #fff;
  font-family: "General Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  width: 10px;
}

.refive.second .counter-arrow-wrapper .arrows-wrapper {
  display: flex;
  gap: 20px;
  color: #000;
  position: absolute;
  top: -11px;
  right: -91px;
}

.refive.second .img-wrapper::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 40, 79, 0) 0%,
    rgba(0, 40, 79, 0.5) 80%
  );
  border-radius: 23px;
}

.refive.second .img-wrapper img {
  height: 650px;
  object-fit: cover;
  object-position: center;
  border-radius: 23px;
}
.refive.second .content-wrapper {
  position: relative;
}
.refive.second .text-wrapper {
  position: absolute;
  bottom: 150px;
  left: 115px;
}
.refive.second .text-wrapper h1 {
  color: #fff;
  padding-bottom: 20px;
}
.refive.second .text-wrapper a {
  background: #005ca8;
  padding: 15px 35px;
  border-radius: 100px;
  color: #fff;
  font-weight: 500;
  transition: background 0.3s ease-in-out;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
}

.refive.second .text-wrapper a::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url(/wp-content/uploads/2024/02/arrow-right-white.svg);
  position: relative;
  display: inline-flex;
  margin-left: 20px;
  transition: transform 0.3s ease-in-out;
}
.refive.second .text-wrapper a:hover::after {
  transform: translate(10px, 0px);
}

.refive.second .text-wrapper a:hover {
  background: #016bc3;
}

/** vertical posts **/

.refive.posts-wrapper .posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

.refive.posts-wrapper .posts .post .img-wrapper {
  position: relative;
}

.refive.posts-wrapper .posts .post .img-wrapper img {
  border-radius: 33px;
  height: 350px;
  object-fit: cover;
  object-position: center;
}

.refive.posts-wrapper .posts .post .img-wrapper p.post_date {
  background: #0054a6;
  width: fit-content;
  border-radius: 33px;
  padding: 6px 12px;
  color: #fac809;
  font-family: "General Sans" !important;
  position: absolute;
  bottom: 13px;
  right: 50%;
  transform: translate(50%, 0px);
}

.refive.posts-wrapper .post .post-content p.category-wrapper {
  color: #9da5ad;
  font-family: "General Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  background: rgba(157, 165, 173, 0.2);
  width: fit-content;
  padding: 5px 10px;
  border-radius: 33px;
}

.refive.posts-wrapper .post .post-content .pill-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.refive.posts-wrapper .post .post-content .post_title {
  font-weight: 700;
  text-align: center;
}

.refive.posts-wrapper .post .post-content {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 60px;
}

.refive.posts-wrapper .post .post-content .post_description {
  color: rgba(0, 40, 79, 0.7);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  padding-top: 10px;
  padding-bottom: 20px;
  min-height: 100px;
}

.refive.posts-wrapper .post .post-content .post-btn {
  color: #9da5ad;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.refive.posts-wrapper .post .post-content .post-btn:hover {
  color: #0054a6;
}

.refive.posts-wrapper .post .post-content .post-btn:hover svg {
  transform: translate(10px, 0px);
}

.refive.posts-wrapper .post .post-content .post-btn svg {
  transform: translate(0px, 0px);
  transition: all 0.3s ease-in-out;
}

.refive.posts-wrapper .post .post-content .post-btn svg path {
  fill: #9da5ad;
}

.refive.posts-wrapper .post .post-content .post-btn:hover svg path {
  fill: #0054a6;
}

/* THIRD SLIDER */

.refive.third .bottom-slider-wrapper {
  width: 500px;
  margin: 0 auto;
  padding-top: 70px;
}

.refive.third .slide-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
  position: relative;
  margin-left: 140px;
}

.refive.third .date_wrapper h4 {
  width: 100px;
  border-radius: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  margin-top: 10px;
  margin-left: 50px;
  transform: translate(189px, 0px);
  color: rgba(157, 165, 173, 0.6);
  font-size: 18px;
  font-weight: 500;
  transition: background 0.5s ease-in-out, color 0.5s ease-in-out,
    font-size 0.1s ease-in-out;
}

.refive.third .is-active .date_wrapper h4 {
  background: #fac809;
  color: #0054a6;
  font-size: 26px;
  font-weight: 700;
}

.refive.third .date_wrapper h4::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 1px dashed rgba(157, 165, 173, 0.5);
  border-radius: 100%;
  position: absolute;
  background: #fff;
  z-index: -1;
  transition: all 0.5s ease;
}

.refive.third .is-active .date_wrapper h4::before {
  background: transparent;
  border: 2px solid #fac809;
  width: 120px;
  height: 120px;
}

.refive.third .slide-wrapper .img-wrapper img {
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 23px;
}

.refive.third .slide-wrapper .text-wrapper h2 {
  margin-bottom: 20px;
  position: relative;
}
.refive.third .slide-wrapper .text-wrapper h2::before {
  content: "";
  width: 35px;
  height: 4px;
  background: #fac809;
  position: absolute;
  top: -5px;
  border-radius: 50px;
}
.refive.third .slide-wrapper .text-wrapper .post_description {
  color: #9da5ad;
  line-height: normal;
  max-width: 500px;
}
.refive.third .my-slider-counter {
  display: none;
}

.refive.third .date_wrapper::before {
  content: "";
  width: calc(100% + 78px);
  border-top: 1px dashed rgba(157, 165, 173, 0.5);
  position: absolute;
  top: 60px;
}

.refive.third .my-slider-progress-bar {
  background: #00284f;
}
.refive.third .my-slider-progress {
  background: rgba(0, 40, 79, 0.1);
  margin-bottom: 10px;
}

.refive.third a#refive-next-arrow {
  background: #0054a6;
  position: absolute;
  border-radius: 100px;
  width: 60px;
  height: 60px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.refive.third a#refive-next-arrow svg {
  stroke: #fac809 !important;
}
.refive.third .arrows-wrapper {
  position: absolute;
  top: 50%;
  right: 170px;
}
.refive.third .counter-arrow-wrapper p {
  color: #00284f;
}
.refive.third .my-slider-progress::after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  right: -35px;
  top: -10px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.34 15.58C12.2651 16.6362 11.1949 17.697 10.1201 18.7532C9.97054 18.9027 9.81632 19.0523 9.66678 19.2018C9.93315 19.314 10.1995 19.4215 10.4659 19.5336C10.4659 18.4681 10.4659 17.3979 10.4659 16.3324C10.4659 14.6313 10.4659 12.9303 10.4659 11.2245C10.4659 10.8319 10.4659 10.4441 10.4659 10.0515C10.4659 9.44865 9.53125 9.44865 9.53125 10.0515C9.53125 11.117 9.53125 12.1872 9.53125 13.2527C9.53125 14.9538 9.53125 16.6549 9.53125 18.3606C9.53125 18.7532 9.53125 19.1411 9.53125 19.5336C9.53125 19.9402 10.0406 20.1458 10.3304 19.8654C11.4052 18.8092 12.4754 17.7484 13.5503 16.6923C13.6998 16.5427 13.854 16.3932 14.0036 16.2436C14.4335 15.8183 13.7699 15.1547 13.34 15.58Z' fill='%239DA5AD'/%3E%3Cpath d='M5.99536 16.3084C7.06554 17.3459 8.13573 18.3834 9.21058 19.4255C9.36013 19.5704 9.51435 19.7199 9.66389 19.8648C10.0938 20.2854 10.7574 19.6218 10.3228 19.2059C9.25264 18.1684 8.18246 17.1309 7.1076 16.0888C6.95806 15.9439 6.80384 15.7944 6.65429 15.6495C6.22435 15.2289 5.56542 15.8878 5.99536 16.3084Z' fill='%239DA5AD'/%3E%3Cpath d='M14.0036 3.76091C12.9287 2.70474 11.8585 1.64391 10.7837 0.587743C10.6341 0.438197 10.4799 0.288652 10.3304 0.139107C10.0406 -0.145964 9.53125 0.0643343 9.53125 0.47091C9.53125 1.53642 9.53125 2.6066 9.53125 3.67211C9.53125 5.37319 9.53125 7.07427 9.53125 8.78002C9.53125 9.17257 9.53125 9.56046 9.53125 9.95301C9.53125 10.5559 10.4659 10.5559 10.4659 9.95301C10.4659 8.8875 10.4659 7.81732 10.4659 6.75181C10.4659 5.05073 10.4659 3.34966 10.4659 1.64391C10.4659 1.25135 10.4659 0.863467 10.4659 0.47091C10.1995 0.583069 9.93315 0.690555 9.66678 0.802714C10.7416 1.85888 11.8118 2.91971 12.8867 3.97588C13.0362 4.12542 13.1904 4.27497 13.34 4.42451C13.7699 4.84511 14.4335 4.1815 14.0036 3.76091Z' fill='%239DA5AD'/%3E%3Cpath d='M6.65891 4.35027C7.72909 3.3128 8.79928 2.27533 9.87413 1.23319C10.0237 1.08831 10.1779 0.938768 10.3274 0.793896C10.7621 0.3733 10.0985 -0.285634 9.66851 0.134962C8.59365 1.17711 7.5188 2.21458 6.44861 3.25205C6.29907 3.39692 6.14485 3.54646 5.9953 3.69134C5.56536 4.11193 6.2243 4.77086 6.65891 4.35027Z' fill='%239DA5AD'/%3E%3Cpath d='M15.5744 6.66035C16.6306 7.7352 17.6914 8.80539 18.7476 9.88024C18.8971 10.0298 19.0466 10.184 19.1962 10.3336C19.3083 10.0672 19.4158 9.8008 19.528 9.53442C18.4625 9.53442 17.3923 9.53442 16.3268 9.53442C14.6257 9.53442 12.9246 9.53442 11.2189 9.53442C10.8263 9.53442 10.4384 9.53442 10.0459 9.53442C9.44304 9.53442 9.44304 10.4691 10.0459 10.4691C11.1114 10.4691 12.1816 10.4691 13.2471 10.4691C14.9482 10.4691 16.6492 10.4691 18.355 10.4691C18.7476 10.4691 19.1354 10.4691 19.528 10.4691C19.9346 10.4691 20.1402 9.95969 19.8598 9.66995C18.8036 8.59509 17.7428 7.52491 16.6866 6.45005C16.5371 6.3005 16.3875 6.14629 16.238 5.99674C15.8127 5.57147 15.1538 6.23041 15.5744 6.66035Z' fill='%239DA5AD'/%3E%3Cpath d='M16.3095 14.0015C17.347 12.9313 18.3845 11.8611 19.4266 10.7863C19.5715 10.6367 19.721 10.4825 19.8659 10.333C20.2865 9.90302 19.6229 9.23941 19.207 9.67403C18.1695 10.7442 17.132 11.8144 16.0899 12.8893C15.945 13.0388 15.7955 13.193 15.6506 13.3426C15.23 13.7725 15.8889 14.4361 16.3095 14.0015Z' fill='%239DA5AD'/%3E%3Cpath d='M3.757 5.99921C2.70084 7.07407 1.64 8.14425 0.583836 9.21911C0.434291 9.36865 0.284746 9.52287 0.135201 9.67242C-0.14987 9.96216 0.0604281 10.4715 0.467004 10.4715C1.53251 10.4715 2.6027 10.4715 3.66821 10.4715C5.36928 10.4715 7.07036 10.4715 8.77611 10.4715C9.16867 10.4715 9.55655 10.4715 9.94911 10.4715C10.552 10.4715 10.552 9.53689 9.94911 9.53689C8.8836 9.53689 7.81341 9.53689 6.7479 9.53689C5.04683 9.53689 3.34575 9.53689 1.64 9.53689C1.24744 9.53689 0.85956 9.53689 0.467004 9.53689C0.579163 9.80327 0.686649 10.0696 0.798808 10.336C1.85497 9.26117 2.91581 8.19098 3.97197 7.11613C4.12152 6.96658 4.27106 6.81236 4.42061 6.66282C4.8412 6.2282 4.18227 5.56927 3.757 5.99921Z' fill='%239DA5AD'/%3E%3Cpath d='M4.35027 13.3415C3.3128 12.2713 2.27533 11.2011 1.23319 10.1262C1.08831 9.97669 0.938768 9.82248 0.793896 9.67293C0.3733 9.23831 -0.285634 9.90192 0.134962 10.3319C1.17243 11.402 2.2099 12.4722 3.25205 13.5471C3.39692 13.6966 3.54646 13.8509 3.69134 14.0004C4.10726 14.435 4.76619 13.7714 4.35027 13.3415Z' fill='%239DA5AD'/%3E%3C/svg%3E%0A");
}

.refive.third .is-active .slide-wrapper::before {
  transition: opacity 0.5s ease-in-out;
  transition-delay: 0.1s;
  opacity: 1;
}

.refive.third .slide-wrapper::before {
  content: "";
  width: 100%;
  height: 650px;
  position: absolute;
  background: url(/wp-content/uploads/2024/01/shape.svg);
  background-repeat: no-repeat;
  top: -81px;
  left: -70px;
  opacity: 0;
}

.refive.third .splide__slide.is-next .slide-wrapper,
.refive.third .splide__slide.is-prev .slide-wrapper {
  transform: scale(0.8);
  transition: transform 0.5s ease-in-out;
  opacity: 0.2;
}
.refive.third .splide__slide .slide-wrapper,
.refive.third #third-slider-clone01 {
  transform: scale(1);
  transition: transform 0.5s ease-in-out;
  opacity: 1;
}

button.splide__arrow--next,
button.splide__arrow--prev {
  background: #0054a6;
  position: absolute;
  border-radius: 100px;
  width: 60px;
  height: 60px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
button.splide__arrow svg {
  fill: #fff;
}

button.splide__arrow--next {
  right: 10em;
}
button.splide__arrow--prev {
  left: 5.75em;
}

@media (max-width: 767px) {
  button.splide__arrow--next {
    right: 5.75em;
  }
}

/* Posts Filters */

.post-filters .select-options {
  display: flex;
  flex-wrap: wrap;
  max-width: calc(100vw - 120px);
  grid-template-columns: repeat(8, auto);
  grid-gap: 15px;
  margin-bottom: 40px;
}

.refive.posts-wrapper .posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.refive.posts-wrapper .posts .post-wrapper {
  flex: 0 0 30%;
}

.post-filters {
  display: flex;
}

.post-filters .select-options .select-option {
  background: rgba(157, 165, 173, 0.1);
  border-radius: 33px;
  padding: 15px 25px;
  cursor: pointer;
}

.post-filters .select-options .select-option.selected {
  background: #0054a6;
  color: #fff;
}

.post-filters div.filter-reset {
  color: #a55455;
  z-index: 2;
}

.post-filters div.filter-reset:not(.visible) {
  display: none;
}

.post-filters div.filter-reset .select-name {
  /** for the close/clear indicator */
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20' height='20' x='0' y='0' viewBox='0 0 32 32' style='enable-background:new 0 0 20 20; width: 10px; height: 10px; transform: rotate(45deg);' xml:space='preserve' class=''%3E%3Cg%3E%3Cpath fill='rgb(165, 84, 85)' fill-rule='nonzero' d='M17 4v11h11v2H17v11h-2V17H4v-2h11V4z' opacity='1' data-original='%23000000' class=''%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 1em;
  padding-left: 35px;
  border-color: rgb(165, 84, 85);
  cursor: pointer;
  margin: 15px;
}

/* HOVER CARD */

.refive-wrapper {
  display: flex;
  flex-flow: row-reverse;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0%;
  width: 100%;
  height: 100%;
  display: block;
}

.refive-wrapper .front {
  display: flex;
  gap: 15px;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in;
  text-align: center;
  background: #0054a6;
  border-radius: 100px;
  width: 35px;
  height: 35px;
  /* vv NEW CSS vv */
  top: unset;
  left: unset;
  position: absolute;
}

.refive-wrapper .front.clicked {
  background-color: #fac809;
  transition: all 0.3s ease-out;
  width: 50px;
  height: 50px;
  border-radius: 100px;
  border: 2px solid #fff;
}
.refive-wrapper .front.clicked * {
  /* color: #fff; */
  fill: #fff;
}
.refive-wrapper .front * {
  color: #5a8bab;
}

.refive-wrapper + .back {
  width: 270px;
  min-height: 500px;
  background-color: #fff;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  position: absolute;
  top: 50%;
  border-radius: 20px;
  visibility: hidden;
  left: 30px;
  display: flex;
  flex-flow: column;
  align-items: center;
  transform: translateY(-50%);
}

.refive-wrapper + .back .img-wrapper img {
  border-radius: 13px;
  height: 170px;
  object-fit: cover;
}

.refive-wrapper + .back .title-wrapper {
  background: #0054a6;
  width: fit-content;
  padding: 7px 15px;
  border-radius: 33px;
  margin-top: -17px;
  color: #fff;
  font-weight: 500;
  position: relative;
  margin-bottom: 20px;
  cursor: text;
}

.address-wrapper {
  margin-top: auto;
}

.address-wrapper:not(.is-active),
.phone-wrapper:not(.is-active),
.email-wrapper:not(.is-active) {
  display: none;
}

.address-wrapper,
.phone-wrapper,
.email-wrapper {
  position: relative;
  color: #000;
  width: 100%;
  text-align: left;
  padding-left: 35px;
  margin-bottom: 20px;
}

.address-wrapper::before,
.phone-wrapper::before,
.email-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100%;
}

.address-wrapper::before {
  background-image: url("/wp-content/uploads/2024/01/location.svg");
}

.phone-wrapper::before {
  background-image: url("/wp-content/uploads/2024/01/call-calling.svg");
}

.email-wrapper::before {
  background-image: url("/wp-content/uploads/2024/01/sms-notification.svg");
}

.view-address {
  position: relative;
  width: 100%;
  margin: 10px 0;
  padding: 20px 0;
  text-align: center;
  border-radius: 50px;
  background-color: #005ca8;
  color: #fff !important;
}

.view-address::before {
  content: "";
  position: absolute;
  left: 20px;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: url("/wp-content/uploads/2024/01/gps.svg");
  filter: invert(1) brightness(100);
}

.refive-wrapper + .back.active {
  opacity: 1;
  z-index: 10;
  visibility: visible;
}

.elementor-widget-list.sixth {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px !important;
}

.elementor-widget-list.sixth > .elementor-widget-container {
  position: relative;
  height: 100%;
}

/* RESPONSIVE */

@media only screen and (max-width: 1024px) {
  .refive.second .bottom-slider-wrapper {
    width: 350px;
    left: 40px;
  }

  .refive.second .img-wrapper img {
    height: 500px;
  }

  .refive.posts-wrapper .posts {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }

  .post-filters .select-options {
    grid-template-columns: repeat(3, auto);
    margin-bottom: 10px;
    max-width: calc(100vw - 60px);
  }

  .post-filters {
    flex-flow: column;
    margin-bottom: 40px;
  }

  .refive.posts-wrapper .posts .post-wrapper {
    flex: 0 0 47%;
  }

  .post-filters .select-options .select-option {
    display: flex;
    align-items: center;
  }

  .refive.posts-wrapper .posts .post .img-wrapper img {
    height: 280px;
  }

  .refive.posts-wrapper .post .post-content {
    padding: 0 10px;
  }

  .refive.posts-wrapper .post .post-content .post_description {
    min-height: 118px;
  }

  .refive.posts-wrapper .post .post-content .post_title {
    min-height: 93px;
  }
  .refive.third .slide-wrapper {
    margin-left: 60px;
    margin-right: 30px;
  }
  .refive.third .date_wrapper h4 {
    transform: translate(147px, 0px);
  }
  .refive.third .slide-wrapper::before {
    left: -31px;
  }
  .refive.third .slide-wrapper .img-wrapper img {
    height: 370px;
  }
  .refive.third a#refive-next-arrow {
    width: 60px;
    height: 60px;
  }
  .refive.third .arrows-wrapper {
    top: unset;
    right: 90px;
    bottom: 140px;
  }
  .refive.second .text-wrapper {
    left: 40px;
    bottom: 130px;
  }
}

@media only screen and (max-width: 480px) {
  .refive.second .text-wrapper {
    bottom: 40px !important;
  }
  .refive.second .text-wrapper h1 {
    font-size: 40px;
  }
  .refive.second .text-wrapper a {
    padding: 15px !important;
  }
  .refive.second .bottom-slider-wrapper {
    width: calc(100% - 40px);
    left: 20px;
  }

  .refive.second .img-wrapper img {
    height: 400px;
  }

  .refive.second .my-slider-progress::after {
    right: unset !important;
    top: -30px;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .refive.second .counter-arrow-wrapper .arrows-wrapper {
    top: 10px;
    right: 0;
  }

  .post-filters .select-options {
    display: grid;
    max-width: 100vw;
    grid-template-columns: repeat(2, auto);
  }

  .refive.posts-wrapper .posts .post-wrapper {
    flex: 0 0 100%;
    max-width: calc(100vw - 40px);
  }

  .refive.posts-wrapper .posts {
    grid-template-columns: repeat(1, 1fr);
  }

  .refive.posts-wrapper .post .post-content .post_description,
  .refive.posts-wrapper .post .post-content .post_title {
    min-height: auto;
  }
  .refive.third .slide-wrapper {
    flex-flow: column;
    margin-right: 20px;
    margin-left: 40px;
  }
  .refive.third .slide-wrapper::before {
    left: -21px;
  }
  .refive.third .bottom-slider-wrapper {
    margin-left: 20px;
    width: calc(100% - 80px);
    padding-top: 50px;
  }
  .refive.third .arrows-wrapper {
    display: none;
  }
  .refive.third .date_wrapper h4 {
    transform: translate(138px, 0px);
    transition: background 0.5s ease-in-out, color 0.5s ease-in-out !important;
  }
  .refive.third .slide-wrapper .img-wrapper img {
    height: 300px;
  }
  .refive.second .text-wrapper {
    left: 20px;
    bottom: 120px;
  }
}

/* Custom Booking Calendar widget */

.cb-booking-widget input[type=date],
.cb-booking-widget input[type=email],
.cb-booking-widget input[type=number],
.cb-booking-widget input[type=password],
.cb-booking-widget input[type=search],
.cb-booking-widget input[type=tel],
.cb-booking-widget input[type=text],
.cb-booking-widget input[type=url],
.cb-booking-widget textarea {
  margin: 0;
}

.cb-booking-widget {
  font-family: "General Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  max-width: 360px;
}

.cb-booking-widget .cb-card {
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 24px 20px 20px;
}

.cb-booking-widget .cb-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cb-booking-widget .cb-heading {
  font-size: 16px;
  font-weight: 600;
  color: #0d2232;
  margin: 0;
}

.cb-booking-widget .cb-month-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f5f5f7;
  border-radius: 999px;
  padding: 6px 10px;
}

.cb-booking-widget .cb-month-label {
  font-size: 16px;
  font-weight: 500;
  color: #0d2232;
}

.cb-booking-widget .cb-month-nav {
  border: none;
  background: transparent;
  color: #9da5ad;
  font-size: 16px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cb-booking-widget .cb-month-nav.cb-month-nav--disabled {
  opacity: 0.3;
  pointer-events: none;
}

.cb-booking-widget .cb-calendar {
  border-top: 1px solid rgba(157, 165, 173, 0.35);
  padding-top: 16px;
}

.cb-booking-widget .cb-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 16px;
  text-transform: uppercase;
  color: #9da5ad;
  margin-bottom: 8px;
}

.cb-booking-widget .cb-weekdays span {
  text-align: center;
}

.cb-booking-widget .cb-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 18px;
  width: 100%;
}

.cb-booking-widget .cb-day {
  border: none;
  background: transparent;
  width: 100%;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0d2232;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.cb-booking-widget .cb-day.cb-day--disabled {
  opacity: 0.35;
  cursor: default;
}

.cb-booking-widget .cb-day.cb-day--empty {
  opacity: 0;
  cursor: default;
  pointer-events: none;
}

.cb-booking-widget .cb-day.cb-day--disabled .cb-day-dot {
  background: transparent;
}

.cb-booking-widget .cb-day-dot {
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: rgba(250, 200, 9, 0.4);
  margin-top: 4px;
}

.cb-booking-widget .cb-day--active {
  background: #ffb14b;
  color: #ffffff;
  transform: translateY(-2px);
}

.cb-booking-widget .cb-day--active .cb-day-dot {
  background: #ffffff;
}

.cb-booking-widget .cb-details {
  border-top: 1px solid rgba(157, 165, 173, 0.35);
  margin-top: 4px;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cb-booking-widget .cb-details-extra {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.cb-booking-widget .cb-details-extra.is-visible {
  display: flex;
}

.cb-booking-widget .cb-person-details {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(157, 165, 173, 0.35);
}

.cb-booking-widget .cb-person-details.is-visible {
  display: flex;
}

.cb-booking-widget .cb-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.cb-booking-widget .custom-booking-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cb-booking-widget .custom-booking-field label {
  font-size: 16px;
  font-weight: 500;
  color: #0d2232;
}

.cb-booking-widget .cb-phone-field-label {
  font-size: 16px;
  font-weight: 500;
  color: #0d2232;
}

.cb-booking-widget .cb-phone-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.cb-booking-widget .cb-phone-prefix {
  flex: 0 0 102px;
  max-width: 120px;
}

.cb-booking-widget .cb-phone-number {
  flex: 1;
  min-width: 0;
}

.cb-booking-widget .custom-booking-field input {
  padding: 10px 14px;
  border: 1px solid rgba(157, 165, 173, 0.5);
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.cb-booking-widget .custom-booking-field input:focus {
  border-color: #ffb14b;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 177, 75, 0.2);
}

.cb-booking-widget .cb-persons-select {
  padding: 10px 40px 10px 14px;
  border: 1px solid rgba(157, 165, 173, 0.5);
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230d2232' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: #0d2232;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.cb-booking-widget .cb-persons-select:focus {
  border-color: #ffb14b;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 177, 75, 0.2);
}

.cb-booking-widget .cb-consent-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.cb-booking-widget .cb-consent-text .cb-consent-link {
  color: #0d2232;
  text-decoration: underline;
  font-weight: 500;
}

.cb-booking-widget .cb-consent-text .cb-consent-link:hover {
  color: #ff8a00;
}

.cb-booking-widget .cb-selected-date {
  font-size: 16px;
  font-weight: 500;
  color: #0d2232;
}

.cb-booking-widget .cb-language-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #0d2232;
}

.cb-booking-widget .cb-language-flag {
  font-size: 16px;
}

.cb-booking-widget .cb-time-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cb-booking-widget .cb-time-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #ffb14b;
  position: relative;
}

.cb-booking-widget .cb-time-icon::before,
.cb-booking-widget .cb-time-icon::after {
  content: "";
  position: absolute;
  background-color: #ffb14b;
  border-radius: 999px;
}

.cb-booking-widget .cb-time-icon::before {
  width: 1px;
  height: 6px;
  left: 50%;
  top: 3px;
  transform: translateX(-50%);
}

.cb-booking-widget .cb-time-icon::after {
  width: 4px;
  height: 1px;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
}

.cb-booking-widget .cb-time-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cb-booking-widget .cb-time-pill {
  border-radius: 999px;
  border: none;
  background: #e1e1e1;
  color: #0d2232;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.cb-booking-widget .cb-time-pill:hover {
  background: #d0d0d0;
}

.cb-booking-widget .cb-time-pill.cb-time-pill--selected {
  background: #ff8a00;
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 138, 0, 0.4);
}

.cb-booking-widget .cb-capacity-row {
  font-size: 16px;
  color: #0d2232;
  margin-top: 6px;
  display: none;
}

.cb-booking-widget .cb-capacity-row.is-visible {
  display: block;
}

.cb-booking-widget .cb-capacity-row .cb-capacity-text {
  font-weight: 500;
}

.cb-booking-widget .cb-price-row {
  font-size: 16px;
  color: #0d2232;
  margin-top: 2px;
}

.cb-booking-widget .cb-description {
  font-size: 16px;
  color: #9da5ad;
}

.cb-booking-widget .cb-book-button {
  margin-top: 10px;
  width: 100%;
  border-radius: 999px;
  background: #ff9900;
  color: #ffffff;
  border: none;
  text-align: center;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.cb-booking-widget .cb-book-button:hover {
  background: #ff8a00;
  box-shadow: 0 6px 18px rgba(255, 138, 0, 0.25);
  transform: translateY(-1px);
}

.cb-booking-widget .cb-book-button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Thank You page – booking details shortcode */
.cb-thank-you-booking-details {
  max-width: 480px;
  margin: 0 auto 2em;
  padding: 1.5em;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.cb-thank-you-booking-details .cb-thank-you-success-text {
  margin: 0 0 0.75em 0;
  font-size: 1.25em;
  font-weight: 600;
  color: #0d2232;
}
.cb-thank-you-booking-details .cb-thank-you-title {
  margin: 0 0 1em 0;
  font-size: 1em;
  font-weight: 400;
  color: #0d2232;
}
.cb-thank-you-booking-details .cb-thank-you-dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}
.cb-thank-you-booking-details .cb-thank-you-dl dt {
  margin: 0;
  padding: 0.6em 0.75em;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.cb-thank-you-booking-details .cb-thank-you-dl dd {
  margin: 0;
  padding: 0.6em 0.75em;
  color: #0d2232;
  border-bottom: 1px solid #e2e8f0;
}
.cb-thank-you-booking-details .cb-thank-you-dl dt:last-of-type,
.cb-thank-you-booking-details .cb-thank-you-dl dd:last-of-type {
  border-bottom: none;
}
.cb-thank-you-booking-details .cb-thank-you-message {
  margin: 0;
  font-size: 1em;
  color: #0d2232;
}
.cb-thank-you-booking-details.cb-thank-you-invalid .cb-thank-you-message {
  color: #64748b;
}
