/*
 Theme Name:   Clinic by Lapis Brands
 Description:  Elegant template for high-end beauty clinics
 Template:     bricks
 Author:       Lapis Brands
 Author URI:   https://lapisbrands.co.uk
*/

h1 {
  font-size: 2.75rem;
  font-size: clamp(2.75rem, 2.1rem + 3.25vw, 6rem);
}
h2,
.hs--team-single__name {
  font-size: 2rem;
  font-size: clamp(2rem, 1.65rem + 1.7502vw, 3.75rem);
}
.hs-footer h2,
.hs--testimonial-slide__text {
  font-size: 1.6rem;
  font-size: clamp(1.6rem, 1.52rem + 0.3999vw, 2rem);
}
h3,
.hs-footer--nav-list__heading,
.hs--hero__text,
.hs--team-single__location-wrapper {
  font-size: 1.2rem;
  font-size: clamp(1.2rem, 1.14rem + 0.30004vw, 1.5rem);
}
.hs-header--nav-dropdown-col__heading,
.hs-header--blog-card__heading,
.hs--subheading,
.hs--team-card__heading a,
.hs--blog-card__heading a,
.hs--team-single__intro,
.hs--team-filter__heading {
  font-size: 1rem;
  font-size: clamp(1rem, 0.97rem + 0.1499vw, 1.15rem);
}
h4,
p,
a,
.hs--filter-accordion__heading {
  font-size: 0.9rem;
  font-size: clamp(0.9rem, 0.88rem + 0.0998vw, 1rem);
}
h1,
h2,
.hs--testimonial-slide__text {
  font-family: "Raleway", serif;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.2;
}
h1 em,
h2 em {
  font-weight: 400;
  font-style: italic;
}
.hs-footer h2,
h3,
h4,
h5,
h6,
html,
body,
p,
a,
.hs-header--cta__heading,
.hs-header--nav-dropdown-col__heading,
.hs--subheading,
.hs--team-filter__heading {
  font-family: "Raleway", sans-serif;
}
.hs-footer h2,
h3,
h4,
a,
.bricks-button,
.brx-submenu-toggle,
.hs-header--nav-dropdown-col__heading {
  font-weight: 600;
}
div,
p,
a {
  line-height: 1.4;
}

address {
  font-style: normal;
}

.bricks-button i {
  transform: rotate(-45deg);
}
.bricks-button:hover i {
  transform: rotate(0);
}

/* General */
:root {
  --primary: #9dbdbb;
  --primary-hover: #468189;

  --primary-alt: #d6e9d8;
  --primary-alt-hover: #c9e0cb;

  --secondary: #fcde74;
  --secondary-hover: #fcd961;
  --secondary-dark: #c29110;

  --bg-primary: #fcfefc;
  --bg-secondary: #fcfefc;

  --text-body: #2c2e30;

  --white: 255, 255, 255;
  --black: 0, 0, 0;

  --radius-none: 0;
  --radius-s: 0.35rem;
  --radius-m: 0.55rem;
  --radius-l: 0.75rem;
  --radius-full: 999rem;

  --bricks-border-color: #e9e3d4;

  --transition-slow: all 0.7s cubic-bezier(0.2, 0.4, 0.2, 1);
  --transition-primary: all 0.3s cubic-bezier(0.2, 0.4, 0.2, 1);
}

*,
html,
body {
  overscroll-behavior: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Transitions */
a,
header,
.hs-header--container__sub,
.hs--team-card__img-wrapper::before,
.hs--blog-card__img-wrapper::before,
.hs--team-card__arrow-wrapper,
.hs--blog-card__arrow-wrapper,
.hs--filter-accordion__icon,
.hs-header--nav__overlay {
  transition: var(--transition-primary);
}

/* Form */
input:not([type="submit"]),
select,
textarea {
  /*border-width: 0;*/
  border-radius: var(--radius-m);
}
input:not([type="submit"], [type="checkbox"]),
select,
textarea,
.bricks-button:not(.hs-header--btn) {
  height: 3rem;
}

/* Screen Reader Only */
.hs-social-icons span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Highlight */
::-moz-selection {
  color: ;
  background: ;
}
::selection {
  color: ;
  background: ;
}

/* Focus */
:focus-visible {
}

/* Full Height */
.hs-header--nav-wrapper {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}
.hs-header--nav-wrapper {
  max-height: 100vh;
  max-height: calc(var(--vh, 1vh) * 100);
}

/* Link Wrapper */
.hs-footer--list__link::after,
.hs-header--blog-card__heading a::after,
.hs--team-card__heading a::after,
.hs--blog-card__heading a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* No Wrap */
.hs-header--nav-dropdown .brx-submenu-toggle > span,
.hs--team-filter-wrapper {
  white-space: nowrap;
}

/* Will Change */
.hs--team-card__arrow-wrapper,
.hs--blog-card__arrow-wrapper,
.hs--filter-accordion__icon {
  will-change: transform;
}

/* No Pointer Events */
.hs-header--search::before {
  pointer-events: none;
}

/* Body */
main {
  margin-top: 0;
}

/* Header */
#brx-header {
  position: fixed;
  top: 0;
  z-index: 9998;
}
.scroll-down #brx-header {
  transform: translate3d(0, -100%, 0);
}
.hs-header,
.hs--about-inner {
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
}
/* Overlay */
.hs-header--nav__overlay.active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0.15s;
}
.hs-header--nav__overlay {
  transition-delay: 0s;
}
/* Dropdown Icon */
.hs-header--nav-dropdown i {
  font-weight: 700;
}
/* Search */
.hs-header--search::before {
  content: "";
  background-image: url(/wp-content/uploads/2024/03/hs-search-icon.svg);
  width: 1.25rem;
  height: 1.25rem;
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  z-index: 1;
}
.hs-header--search input[type="search"] {
  width: 100%;
  padding-left: 2.5rem;
}
/* CTA */
.hs-header--cta__heading {
  letter-spacing: 0;
  font-weight: 600;
}

/* Cards */
.hs--team-card__img-wrapper::before,
.hs--blog-card__img-wrapper::before,
.hs--team-card__arrow-wrapper,
.hs--blog-card__arrow-wrapper {
  opacity: 0;
}
.hs--card:hover .hs--team-card__img-wrapper::before,
.hs--card:hover .hs--blog-card__img-wrapper::before {
  opacity: 0.3;
}
.hs--card:hover .hs--team-card__arrow-wrapper,
.hs--card:hover .hs--blog-card__arrow-wrapper {
  opacity: 1;
}
.hs--card:hover .hs--team-card__arrow-wrapper {
  transform: scale(1);
}
.hs--card:hover .hs--blog-card__arrow-wrapper {
  transform: translate(-50%, -50%) scale(1);
}

/* Testimonial Slider */
.hs--testimonial-slider .splide__arrows.custom {
  visibility: hidden;
}

/* Team Page */
/* Filter Accordion */
.hs--filter-accordion-item.brx-open .hs--filter-accordion__icon {
  transform: rotate(180deg);
}

/* No Search Results */
.bricks-posts-nothing-found {
  display: block;
  text-align: center;
}

/* Single Team Member */
/* Post Content */
/* Image */
.hs--team-single__post-content figure {
  overflow: hidden;
  border-radius: var(--radius-l);
}

/********** Responsive **********/
/* Mobile landscape */
@media (min-width: 480px) {
}

/* Tablet portrait */
@media (min-width: 600px) {
}

/* Tablet landscape */
@media (min-width: 801px) {
  .hs-form {
    flex-wrap: nowrap;
    gap: 1rem;
  }
}

/* Laptop */
@media (min-width: 1025px) {
  /* Body */
  main {
    margin-top: 0;
  }
  /* Header */
  .scroll-down #brx-header {
    transform: translate3d(0, -2.25rem, 0);
  }
  .scroll-down .hs-header--container__sub {
    opacity: 0;
  }
  .hs-header--nav-wrapper {
    height: auto;
  }
  .hs-header--nav-wrapper > li:first-child,
  .hs-header--nav-wrapper > li:last-child {
    display: none;
    visibility: hidden;
  }
  /* Slide */
  .hs--mission-slider .splide__arrows.custom,
  .hs--team-slider .splide__arrows.custom {
    display: none;
    visibility: hidden;
  }
  /* Testimonial Slider */
  .hs--testimonial-slider .splide__arrows.custom {
    visibility: visible;
  }
}

/* Desktop */
@media (min-width: 1281px) {
}
