/* Global font - same font family across the whole website */
html {
  font-family: Arial, sans-serif;
}

input,
textarea,
button,
select {
  font-family: inherit;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #1C1C1E;
  /* border-bottom: 1px solid #e5e5ea; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  box-sizing: border-box;
}

.navbar-logo {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-right: 1.5rem;
}

.navbar-logo-desktop {
  display: flex;
  flex-direction: column;
}

.navbar-logo-mobile {
  display: none;
}

.navbar-logo-line {
  display: block;
}

/* Burger button - hidden on desktop */
.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  color: #FFFFFF;
  transition: opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.navbar-burger:hover {
  opacity: 0.8;
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.navbar-burger[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-burger[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.navbar-burger[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer overlay - hidden by default */
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel - hidden by default */
.nav-drawer {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: #1C1C1E;
  z-index: 1001;
  padding: 5rem 1.5rem 1.5rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.language-switcher-drawer {
  display: none;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
}

.nav-drawer-links li {
  margin-bottom: 0.5rem;
}

.nav-drawer-links a {
  display: block;
  padding: 0.75rem 1rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.nav-drawer-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile & Tablet navbar layout - burger menu up to 1024px */
@media (max-width: 1024px) {
  .navbar {
    background: #1C1C1E;
    width: 100%;
    max-width: 100vw;
    padding: 0 0.25rem;
    height: 52px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "burger logo lang";
    align-items: center;
    gap: 0.2rem;
    overflow: visible;
    box-sizing: border-box;
  }

  .navbar-burger {
    display: flex;
    grid-area: burger;
    justify-self: start;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 6px;
  }

  .navbar-burger .burger-line {
    width: 18px;
  }

  .navbar-burger[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .navbar-burger[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .navbar-logo {
    grid-area: logo;
    justify-self: center;
    margin: 0;
    padding: 0 0.15rem;
    text-align: center;
    min-width: 0;
  }

  .navbar-logo-desktop {
    display: none;
  }

  .navbar-logo-mobile {
    display: block;
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar-links {
    display: none;
  }

  .language-switcher-navbar {
    display: flex;
    grid-area: lang;
    justify-self: end;
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .language-switcher-navbar .lang-btn {
    min-width: 1.25rem;
    min-height: 1.25rem;
    font-size: 0.65rem;
    padding: 0.1rem;
  }

  .nav-drawer-overlay,
  .nav-drawer {
    display: flex;
  }

  .nav-drawer {
    flex-direction: column;
    min-height: 100vh;
  }

  .language-switcher-drawer {
    display: none;
  }
}

/* Tablet navbar - slightly larger elements (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  body {
    padding-top: 56px;
  }

  .navbar {
    padding: 0 1rem;
    height: 56px;
  }

  .navbar-burger {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 8px;
  }

  .navbar-burger .burger-line {
    width: 22px;
  }

  .navbar-burger[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar-burger[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navbar-logo-mobile {
    font-size: 0.85rem;
  }

  .language-switcher-navbar .lang-btn {
    min-width: 2rem;
    min-height: 2rem;
    font-size: 1rem;
    padding: 0.2rem;
  }

  .language-switcher-navbar {
    gap: 0.5rem;
  }
}

/* Desktop navbar links - hidden on mobile/tablet, shown from 1025px */
@media (min-width: 1025px) {
  .navbar-links {
    display: inline;
  }

  .navbar-links li {
    display: inline;
  }

  .navbar-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 1.2rem;
    transition: background 0.2s, color 0.2s;
  }

  .navbar-links a:hover {
    background: #f5f5f7;
    color: #1C1C1E;
  }
}

/*-- -------------------------- -->
<---          Banner            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #banner-712 {
    /* 175px - 200px top */
    padding: clamp(4rem, 2vw, 2rem) 1rem 4rem;
    position: relative;
    z-index: 1;
  }

  #banner-712 .cs-container {
    text-align: center;
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  #banner-712 .cs-int-title {
    /* 39px - 61px */
    font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    margin: 0;
    color: #FFFFFF;
    position: relative;
  }

  @media only screen and (max-width: 48rem) {
    #banner-712 {
      padding-left: 1.25rem;
      padding-right: 1.25rem;
      padding-bottom: 2.5rem;
    }

    #banner-712 .cs-int-title {
      font-size: clamp(1.5rem, 5.5vw, 2.25rem);
      max-width: 100%;
      overflow-wrap: break-word;
      word-wrap: break-word;
      hyphens: auto;
      display: inline-block;
    }
  }

  #banner-712 .cs-background {
    width: 100%;
    height: 80%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }

  #banner-712 .cs-background:before {
    /* background color overlay */
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0.75;
    top: 0;
    left: 0;
    z-index: 1;
  }

  #banner-712 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #banner-712 .cs-background:before {
    opacity: 1;
    background: linear-gradient(90.01deg,
        rgba(0, 0, 0, 0.9) 16.86%,
        rgba(0, 0, 0, 0) 100%);
  }
}



.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 40px 20px;
  background-color: transparent;
}

.service-card {
  display: block;
  text-decoration: none;
  background-color: transparent;
  padding: 30px 20px;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #1c1c1e45;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.top {
  border-bottom: 1px solid #000000;
}

.bottom {
  border-top: 1px solid #000000;
}

/* Tablet - services grid 2 columns */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 16px;
  }

  .services-grid .service-card {
    padding: 24px 16px;
    font-size: 1.5rem;
  }

  /* Override top/bottom - use consistent grid borders */
  .services-grid .service-card.top,
  .services-grid .service-card.bottom {
    border-top: none;
    border-bottom: 1px solid #000000;
  }

  /* Right column - no right border */
  .services-grid .service-card:nth-child(2n) {
    border-right: none;
  }

  /* Left column - right border */
  .services-grid .service-card:nth-child(2n + 1) {
    border-right: 1px solid #000000;
  }

  /* Last row - no bottom border */
  .services-grid .service-card:nth-child(n + 5) {
    border-bottom: none;
  }
}

/* Mobile - services grid 1 column */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    padding: 24px 12px;
    margin-top: 20px !important;
  }

  .sticky-photo-section {
    margin: 40px 0 !important;
  }

  .services-grid .service-card {
    padding: 20px 12px;
    font-size: 1.25rem;
  }

  /* Override - single column: only horizontal dividers */
  .services-grid .service-card.top,
  .services-grid .service-card.bottom {
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #000000;
  }

  /* Last card - no bottom border */
  .services-grid .service-card:last-child {
    border-bottom: none;
  }
}

.service-card span {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(.25, .8, .25, 1);
}

.service-card:hover span {
  color: #000000;
  transform: translateY(-8px);
}


/* Add top padding to body to prevent content under nav */
body {
  background: #FFFFFF;
  color: #1C1C1E;
  font-family: inherit;
  margin: 0;
  padding: 0;
  padding-top: 64px;
  line-height: 1.6;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  background: none;
  overflow: hidden;
}

.hero-bg-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url(../img/2025-12-19_Dental36329.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Placeholder for image/slideshow */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: #FFFFFF;
  padding: 8rem 1rem 2rem 1rem;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 28, 30, 0.45);
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  font-weight: 900;
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
  font-weight: 400;
  margin-bottom: 0rem;
}

.hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  font-weight: 900;
  color: #1C1C1E;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 0 15px;
}

main {
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 0.5rem;
}

/* Sticky photo + text layout for Dantų Plombavimas page (desktop-focused) */
.sticky-photo-section {
  margin: 80px 0;
}

.sticky-photo-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.sticky-photo-placeholder {
  flex: 0 0 40%;
  min-height: 80vh;
  background: url("../img/Nuotrauka puslapiams _Paslaugos_.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1.5rem;
  box-shadow: 0 2px 8px rgba(28, 28, 30, 0.08);
  position: sticky;
  top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a0a5;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sticky-photo-text {
  flex: 0 0 60%;
  max-width: 50%;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.sticky-photo-text p {
  margin-bottom: 1.5rem;
}

section {
  margin: 80px 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1C1C1E;
  font-weight: 700;
}

.about {
  height: 100%;
}

.about p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.map-embed iframe {
  border-radius: 1.2rem;
  width: 100%;
  height: 400px;
  border: none;
}

.contact-footer {
  background: #1C1C1E;
  color: #FFFFFF;
  padding: 1rem 2rem .5rem 2rem;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-info {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #CCCCCC;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 1rem 2rem;
  border-radius: 45px;
}

.contact-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-item:active {
  transform: translateY(0);
}

.contact-item strong {
  color: #FFFFFF;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  font-weight: 700;
}

.footer-info p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #CCCCCC;
  font-weight: 400;
}

.footer-info strong {
  color: #FFFFFF;
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid #333333;
  color: #999999;
  font-size: 0.95rem;
}

.about-content {
  display: flex;
  align-items: center;
  height: 80%;
  gap: 4rem;
  max-width: 900px;
  margin: 80px auto;
  padding: 0;
}

.about-photo-placeholder {
  width: 420px;
  height: 420px;
  background: url(../img/index-about-us.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1.5rem;
  box-shadow: 0 2px 8px rgba(28, 28, 30, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-text {
  flex: 1;
  padding-left: 2.5rem;
}

.about-text h2 {
  margin-top: 0;
  font-weight: 700;
}

.services {
  margin-bottom: 3rem;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 2rem;
  color: #1C1C1E;
}

.cta-button {
  background: #1C1C1E;
  color: #FFFFFF;
  text-decoration: none;
  padding: .5rem 2rem;
  border-radius: 1.2rem;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 2rem;
  transition: opacity 0.5s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 12px rgba(28, 28, 30, 0.3);
  text-transform: uppercase;
}

.cta-button:hover {
  background: #333336;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(28, 28, 30, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.language-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-btn {
  background: #FFFFFF;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  opacity: 0.6;
  display: flex;
  align-items: start;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
}

.lang-btn:active {
  opacity: 1 !important;
  background: rgba(28, 28, 30, 0.1) !important;
  color: #FFFFFF !important;
}

.lang-btn:hover {
  opacity: 0.8;
  transform: scale(1.1);
}


/*-- -------------------------- -->
<---        Why Choose          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #why-choose-289 {
    text-align: center;
  }

  #why-choose-289 .cs-container {
    width: 100%;
    /* changes to 1280px on tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }

  #why-choose-289 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }

  #why-choose-289 .cs-topper {
    font-size: var(--topperFontSize);
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
  }

  #why-choose-289 .cs-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 43.75rem;
    margin: 0 0 1rem 0;
    position: relative;
  }

  #why-choose-289 .cs-text {
    font-size: 1.1rem;
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    max-width: 40.625rem;
    margin: 0;
  }

  #why-choose-289 .cs-text {
    max-width: 32.625rem;
  }

  #why-choose-289 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
  }

  #why-choose-289 .cs-item {
    list-style: none;
    text-align: left;
    width: 100%;
    padding: 2rem;
    background-color: #f7f7f7;
    border-radius: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-evenly;
  }

  #why-choose-289 .cs-icon {
    width: auto;
    height: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: filter 0.3s;
  }

  #why-choose-289 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    line-height: 1.2em;
    margin: 0;
    margin-bottom: 1rem;
    color: var(--headerColor);
    transition: color 0.3s;
  }

  #why-choose-289 .cs-item-text {
    font-size: 1rem;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #why-choose-289 .cs-container {
    max-width: 80rem;
  }

  #why-choose-289 .cs-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
  }

  #why-choose-289 .cs-flex {
    width: 50%;
  }

  #why-choose-289 .cs-title {
    margin: 0;
  }

  #why-choose-289 .cs-card-group {
    justify-content: space-between;
    /* makes sure every box "stretches" to be the same height as the tallest box */
    align-items: stretch;
    flex-direction: row;
    /* 16px - 20px */
    gap: clamp(1rem, 1.5vw, 1.25rem);
  }

  #why-choose-289 .cs-item {
    width: auto;
    /* 16px - 32px */
    padding: 2rem clamp(1rem, 2.1vw, 2rem);
  }
}

/* ========================================
   MEDIA QUERIES - ORGANIZED BY BREAKPOINT
   ======================================== */

/* Large screens (1200px and below) */
@media (max-width: 1200px) {
  .about-content {
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .about-photo-placeholder {
    width: 300px;
    height: 300px;
  }

  .about-text {
    padding-left: 1.2rem;
  }
}

/* Medium screens (900px and below) */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 0 1rem;
  }

  .about-photo-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .about-text {
    padding-left: 0;
  }

  main {
    padding: 0 0.2rem;
  }

  section {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

/* Tablet screens (768px and below) */
@media (max-width: 768px) {

  /* Navbar */
  body {
    padding-top: 0;
  }

  .navbar {
    height: 56px;
    background: #1C1C1E;
  }

  /* Hero section */
  .hero {
    padding-top: 0;
  }

  .hero-content {
    padding: 7rem 1rem 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0rem;
  }

  .hero p {
    font-size: 1rem;
    font-weight: 900;
    color: #1C1C1E;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 0 15px;
  }

  .cta-button {
    padding: .5rem 1.5rem;
    font-size: 1rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
  }

  /* About section */
  .about {
    height: auto;
    margin-bottom: 1rem;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .about-photo-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .about-text {
    padding-left: 0;
    text-align: center;
  }

  .about-text h2 {
    font-size: 1.3rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  /* Map section */
  .map-embed iframe {
    height: 250px;
  }

  /* Footer */
  .contact-footer {
    padding: 2rem 1rem 1rem 1rem;
  }

  .footer-info {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-item {
    font-size: 0.85rem;
    padding: 0.8rem;
  }

  .contact-item strong {
    font-size: 0.75rem;
  }

  /* Navbar - background handled in mobile navbar block above */
  .navbar {
    padding: 0 1rem;
  }

  body {
    padding-top: 0;
  }

  .language-switcher {
    gap: 0.3rem;
  }

  .lang-btn {
    font-size: 1rem;
    padding: 0.2rem;
    align-items: center;
  }

  /* General spacing */
  main {
    padding: 0 0.5rem;
  }

  section {
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Mobile screens (600px and below) */
@media (max-width: 600px) {

  /* Navbar */
  .navbar {
    padding: 0 1rem;
    height: 56px;
    background: #1C1C1E;
  }

  .navbar-logo-mobile {
    font-size: 0.85rem;
  }

  body {
    padding-top: 0;
  }

  .sticky-photo-placeholder {
    display: none;

  }

  .sticky-photo-text {
    max-width: 95%;
  }

  .sticky-photo-container {
    display: block;
  }

  /* Hero section */
  .hero {
    padding-top: 0;
  }

  .hero-content {
    padding: 7rem 1rem 2rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0rem;
  }

  .hero p {
    font-size: 1rem;
    font-weight: 900;
    color: #1C1C1E;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 0 15px;
  }

  /* Map section */
  .map-embed iframe {
    height: 300px;
  }

  /* Footer */
  .contact-footer {
    padding: 2rem 1rem 1rem 1rem;
  }

  .footer-info h3 {
    font-size: 1.3rem;
  }

  .footer-info p {
    font-size: 0.95rem;
  }

  .footer-info {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-item {
    font-size: 0.85rem;
  }

  .contact-item strong {
    font-size: 0.75rem;
  }

  /* CTA Button */
  .cta-button {
    padding: .5rem 1.8rem;
    font-size: 1rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
  }

  /* Language switcher */
  .language-switcher {
    gap: 0.3rem;
  }

  .lang-btn {
    font-size: 1rem;
    padding: 0.2rem;
    align-items: center;

  }
}

/* Extra small screens (480px and below) */
@media (max-width: 480px) {

  /* Hero section */
  .hero {
    padding-top: 0;
  }

  .hero-content {
    padding: 6rem 1rem 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0rem;
  }

  .hero p {
    font-size: 0.9rem;
    font-weight: 900;
    color: #1C1C1E;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 0 12px;
  }

  .cta-button {
    padding: .5rem 1.2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
  }

  /* About section */
  .about-photo-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  /* Footer */
  .contact-item {
    font-size: 0.8rem;
    padding: 0.6rem;
  }

  /* Navbar */
  .navbar {
    padding: 0 0.5rem;
  }

  .navbar-logo-mobile {
    font-size: 0.8rem;
  }

  body {
    padding-top: 0;
  }

  .lang-btn {
    font-size: 0.9rem;
    padding: 0.15rem;
    align-items: center;
  }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
  }

  .about-content {
    flex-direction: column;
    gap: 1rem;
  }

  .about-photo-placeholder {
    width: 120px;
    height: 120px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .lang-btn {
    min-height: 44px;
    min-width: 44px;
    align-items: center;

  }

  .contact-item {
    min-height: 44px;
  }
}

/*-- -------------------------- -->
<---        Content Page        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #content-page-852 {
    padding: var(--sectionPadding);
    margin: 40px 0 0 0;
    background-color: #fff;
    /* clips the wave background from causing overflow issues when it goes off screen */
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  #content-page-852 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
  }

  #content-page-852 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 46.125rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }

  #content-page-852 .cs-title {
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
  }

  #content-page-852 h2,
  #content-page-852 h3,
  #content-page-852 h4,
  #content-page-852 h5,
  #content-page-852 h6 {
    font-weight: 700;
    text-align: inherit;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
  }

  #content-page-852 h2 {
    font-size: 2rem;
    margin-top: 2rem;
  }

  #content-page-852 h3 {
    font-size: 1.5rem;
    color: var(--primary);
  }

  #content-page-852 h4,
  #content-page-852 h5,
  #content-page-852 h6 {
    font-size: 1.25rem;
  }

  #content-page-852 .cs-button-solid {
    margin-bottom: 2rem;
  }

  #content-page-852 .cs-no-margin {
    margin: 0;
  }

  #content-page-852 .cs-color {
    color: var(--primary);
  }

  #content-page-852 p {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    margin: 0 0 1rem 0;
    color: var(--bodyTextColor);
  }

  #content-page-852 p:last-of-type {
    margin-bottom: 2rem;
  }

  #content-page-852 p a {
    font-size: inherit;
    line-height: inherit;
    text-decoration: underline;
    color: var(--primary);
  }

  #content-page-852 ol,
  #content-page-852 ul {
    padding-left: 1.5rem;
    margin: 0 0 2rem 0;
    color: var(--bodyTextColor);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  #content-page-852 ul li {
    list-style: none;
    color: inherit;
    position: relative;
  }

  #content-page-852 ul li:before {
    /* custom list bullet */
    content: "";
    width: 3px;
    height: 3px;
    background: currentColor;
    opacity: 1;
    border-radius: 50%;
    position: absolute;
    display: block;
    top: 0.625rem;
    left: -0.75rem;
  }

  #content-page-852 img {
    width: 100%;
    height: auto;
    display: block;
  }

  #content-page-852 .cs-image-group {
    width: 50%;
    max-width: 27.0625rem;
    display: none;
    gap: 1.25rem;
    position: relative;
  }

  #content-page-852 .advice-image {
    border-radius: 2rem !important;
  }

  #content-page-852 .cs-image-group img {
    width: 100%;
    height: auto;
  }

  #content-page-852 .cs-picture {
    width: 100%;
    /* 300px - 520px */
    height: clamp(18.75rem, 40vw, 32.5rem);
    /* 125px - 200px */
    border-radius: 0 clamp(7.8125rem, 15vw, 12.5rem) 0 clamp(7.8125rem, 15vw, 12.5rem);
    /* prevents border from affecting height and width */
    box-sizing: border-box;
    /* clips img tag corners */
    overflow: hidden;
    display: block;
    position: relative;
  }

  .about-page-img-2 {
    border-radius: clamp(7.8125rem, 15vw, 12.5rem) 0 clamp(7.8125rem, 15vw, 12.5rem) 0 !important;
  }

  #content-page-852 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #first-about-photo {
    object-position: 30% 70% !important;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #content-page-852 .cs-container {
    flex-direction: row;
    justify-content: space-between;
  }

  #content-page-852 .cs-content {
    flex: none;
    width: 60%;
  }

  #content-page-852 .cs-image-group {
    display: flex;
  }
}

/* Oral care guide page: compact 2–3 Q&As per section */
.oral-care-guide #content-page-852 .cs-content h3 {
  margin-top: 1.25rem;
}

.oral-care-guide #content-page-852 .cs-content h3:first-of-type {
  margin-top: 0;
}

.oral-care-guide #content-page-852 .cs-content h3+p {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.oral-care-guide #content-page-852 .cs-content ul {
  margin-bottom: 1rem;
}

/* Oral care guide: tips list as rounded boxes in one row, no bullets, aligned to content above */
.oral-care-guide #content-page-852 .cs-tips-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem 0;
  width: 100%;
  max-width: 100%;
}

.oral-care-guide #content-page-852 .cs-tips-list li {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.5rem 0.35rem;
  border: 1px solid #000000;
  border-radius: 1.25rem;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--bodyFontSize);
  line-height: 1.5em;
}

.oral-care-guide #content-page-852 .cs-tips-list li:before {
  display: none !important;
  content: none !important;
}

@media (max-width: 48rem) {
  .oral-care-guide #content-page-852 .cs-tips-list {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Privacy policy page: full-width content, no image column */
#content-page-852.privacy-policy-page .cs-content {
  width: 100%;
  max-width: 100%;
}

/* Oral care guide: hero image below banner, aligned with content width */
.oral-care-hero-image {
  width: 100%;
  margin: 2rem 0 0 0;
  display: flex;
  justify-content: center;
  padding: 0 var(--sectionPadding);
  box-sizing: border-box;
}

.oral-care-hero-picture {
  display: block;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.oral-care-hero-picture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1.25rem;
}

/* Content sections with no image: use full standard width */
#content-page-852.cs-content-wide .cs-content {
  width: 100%;
  max-width: 90%;
}

#content-page-852.cs-content-wide .cs-container {
  flex-direction: column;
}

/*-- -------------------------- -->
<---          Pricing           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #pricing-975 {
    padding: var(--sectionPadding);
    margin-top: 40px !important;
  }

  #pricing-975 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }

  #pricing-975 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }

  #pricing-975 .cs-title {
    margin: 0;
  }

  #pricing-975 .cs-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    column-gap: 1.25rem;
    /* 28px - 40px */
    row-gap: clamp(1.75rem, 3vw, 2.5rem);
  }

  #pricing-975 .cs-menu-single .cs-menu-group {
    max-width: 100%;
  }

  #pricing-975 .cs-menu-group {
    width: 100%;
    max-width: 37.5rem;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* 28px - 40px */
    gap: clamp(1.75rem, 3vw, 2.5rem);
  }

  #pricing-975 .cs-menu-item {
    list-style: none;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
  }

  #pricing-975 .cs-h3 {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
  }

  #pricing-975 .cs-h3:before {
    /* grey line */
    content: "";
    width: 100%;
    height: 2px;
    background: #e8e8e8;
    opacity: 1;
    position: absolute;
    display: block;
    top: 0.8125rem;
    left: 0;
    z-index: -1;
  }

  #pricing-975 .cs-header {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
    line-height: 1.2em;
    text-align: inherit;
    font-weight: 700;
    max-width: 25rem;
    padding-right: 0.5rem;
    background-color: #fff;
    color: var(--headerColor);
  }

  #pricing-975 .cs-price {
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 400;
    padding-left: 0.5rem;
    background-color: #fff;
    color: var(--headerColor);
  }

  #pricing-975 .cs-menu-text {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    color: var(--bodyTextColor);
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #pricing-975 .cs-menu {
    flex-direction: row;
    justify-content: space-between;
  }

  #pricing-975 .cs-menu-group {
    width: 100%;
  }
}

#pricing-975 .cs-category-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
}

#pricing-975 .cs-category-title::before {
  content: none;
  display: none;
}

/* Price table (replaces menu layout) */
#pricing-975 .cs-price-table-wrap {
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
  overflow-x: auto;
}

#pricing-975 .cs-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  overflow: hidden;
}

#pricing-975 .cs-price-table thead {
  background: var(--headerColor);
  color: #fff;
}

#pricing-975 .cs-price-table th {
  padding: clamp(0.75rem, 1.5vw, 1rem) 1.25rem;
  text-align: left;
  font-weight: 700;
}

#pricing-975 .cs-price-table th:last-child {
  text-align: right;
  min-width: 5rem;
}

#pricing-975 .cs-price-table tbody tr {
  border-bottom: 1px solid #e8e8e8;
}

#pricing-975 .cs-price-table tbody tr:last-child {
  border-bottom: none;
}

#pricing-975 .cs-price-table td {
  padding: clamp(0.625rem, 1.2vw, 0.875rem) 1.25rem;
  color: var(--bodyTextColor);
}

#pricing-975 .cs-price-table .cs-price-cell {
  text-align: right;
  font-weight: 500;
  color: var(--headerColor);
  white-space: nowrap;
}

#pricing-975 .cs-price-table .cs-price-category td {
  background: #f5f5f5;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--headerColor);
  padding: clamp(0.75rem, 1.5vw, 1rem) 1.25rem;
}

/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #contact-2320 {
    padding: var(--sectionPadding);
    display: flex;
    flex-direction: column;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
    z-index: 1;
  }

  #contact-2320 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 36.25rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }

  #contact-2320 .cs-content {
    text-align: left;
  }

  #contact-2320 .cs-title {
    margin-bottom: 2rem;
  }

  #contact-2320 .cs-form {
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }

  #contact-2320 .cs-form-status {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  #contact-2320 .cs-form-status--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }

  #contact-2320 .cs-form-status--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }

  #contact-2320 .cs-label {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    width: 100%;
    color: var(--headerColor);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.25rem;
  }

  #contact-2320 .cs-input {
    font-size: 1rem;
    width: 100%;
    height: 3.5rem;
    padding: 0;
    padding-left: 1.5rem;
    color: var(--headerColor);
    background-color: #f7f7f7;
    border: none;
    /* prevents padding from adding to height and width */
    box-sizing: border-box;
    border-radius: 2.5rem;
  }

  #contact-2320 .cs-input::placeholder {
    color: #7d799c;
    opacity: 0.6;
  }

  #contact-2320 .cs-textarea {
    min-height: 7.5rem;
    padding-top: 1.5rem;
    margin-bottom: 0.75rem;
  }

  #contact-2320 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    padding: 0 1.5rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    border-radius: 2.5rem;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
  }

  #contact-2320 .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
  }

  #contact-2320 .cs-button-solid:hover:before {
    width: 100%;
    border-radius: 2.5rem;
  }

  #contact-2320 .cs-submit {
    text-transform: uppercase;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    transition: color 0.3s;
    border-radius: 2.5rem;
  }

  #contact-2320 .cs-submit:hover {
    cursor: pointer;
    color: #000000;
    border-radius: 2.5rem;
    background-color: #f7f7f7;
  }

  #contact-2320 .cs-map {
    width: 100%;
    max-width: 39.375rem;
    height: 25rem;
    position: relative;
    z-index: 1;
    display: block;
  }

  #contact-2320 .cs-iframe-wrapper {
    width: 100%;
    position: absolute;
    top: 22vh;
    left: 0;
    /* 40px - 56px */
    bottom: clamp(2.5rem, 5vw, 3.5rem);
  }

  #contact-2320 .cs-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  #contact-2320 .cs-box {
    width: 90%;
    max-width: 28.125rem;
    /* 16px - 32px top & bottom */
    /* 16px left & right */
    padding: clamp(1rem, 3vw, 1rem) clamp(1rem, 2.4vw, 1rem);
    background-color: #fff;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    border-radius: 2.5rem;
  }

  #contact-2320 .cs-box:before {
    content: '';
    width: 100%;
    height: 100%;
    background: var(--primary);
    pointer-events: none;
    opacity: 0.1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }

  #contact-2320 .cs-icon {
    width: 2rem;
    height: auto;
    display: block;
  }

  #contact-2320 .cs-flex {
    display: flex;
    flex-direction: column;
  }

  #contact-2320 .cs-header {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 0.5rem;
    color: var(--headerColor);
  }

  #contact-2320 .cs-address {
    font-size: clamp(0.75rem, 2.8vw, 1rem);
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }

  /* Work hours - modern, sleek styling */
  #contact-2320 .work-hours {
    margin-top: 1.25rem;
    padding: 1.5rem 1.5rem;
    background-color: #1C1C1E;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    -webkit-font-smoothing: antialiased;
  }

  #contact-2320 .work-hours-title {
    margin: 0 0 1.25rem 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  #contact-2320 .work-hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 1rem;
  }

  #contact-2320 .work-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease;
  }

  #contact-2320 .work-hours-row:last-child {
    border-bottom: none;
  }

  #contact-2320 .work-hours-day {
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.02em;
  }

  #contact-2320 .work-hours-time {
    text-align: right;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
  }

}

/* Tablet - cs-map adaptations (769px to 1024px) */
@media (max-width: 1024px) {
  #contact-2320 .cs-map {
    max-width: 100%;
    height: auto;
    min-height: 20rem;
  }

  #contact-2320 .cs-iframe-wrapper {
    position: relative;
    top: 0;
    left: 0;
    bottom: auto;
    height: 280px;
  }

  #contact-2320 .cs-iframe-wrapper iframe {
    border-radius: 1.5rem;
  }

  #contact-2320 .cs-box {
    display: none;
  }

  #contact-2320 .work-hours {
    padding: 1.25rem 1.25rem;
  }

  #contact-2320 .work-hours-title {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  #contact-2320 .work-hours-row {
    padding: 0.5rem 0;
  }

  #contact-2320 .work-hours-day,
  #contact-2320 .work-hours-time {
    font-size: 0.85rem;
  }
}

/* Mobile - cs-map adaptations (up to 768px) */
@media (max-width: 768px) {
  #contact-2320 .cs-map {
    max-width: 100%;
    height: auto;
    min-height: 18rem;
  }

  #contact-2320 .cs-iframe-wrapper {
    position: relative;
    top: 0;
    left: 0;
    bottom: auto;
    height: 220px;
  }

  #contact-2320 .cs-iframe-wrapper iframe {
    border-radius: 1.25rem;
  }

  #contact-2320 .cs-box {
    max-width: 100%;
    width: calc(100% - 1.5rem);
    padding: 0.875rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  #contact-2320 .cs-header {
    font-size: 1rem;
  }

  #contact-2320 .cs-address {
    font-size: 0.8rem;
  }

  #contact-2320 .work-hours {
    margin-top: 1rem;
    padding: 1rem 1rem;
  }

  #contact-2320 .work-hours-title {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
  }

  #contact-2320 .work-hours-row {
    padding: 0.45rem 0;
  }

  #contact-2320 .work-hours-day,
  #contact-2320 .work-hours-time {
    font-size: 0.8rem;
  }
}

/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #contact-2320 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 3.25rem;
  }

  #contact-2320 .cs-content {
    max-width: 32.625rem;
    /* 24px - 80px */
    padding: clamp(2rem, 5vw, 5rem) 0;
  }

  #contact-2320 .cs-title {
    text-align: left;
    margin-left: 0;
    max-width: 32.625rem;
  }

  #contact-2320 .cs-services,
  #contact-2320 .cs-phone {
    width: 47%;
  }

  #contact-2320 .cs-button-solid {
    margin-left: 0;
  }

  #contact-2320 .cs-map {
    max-width: 39.375rem;
    height: auto;
    order: -1;
  }

  /* Desktop work-hours - proper flow layout */
  #contact-2320 .work-hours {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    overflow: visible;
  }

  #contact-2320 .cs-iframe-wrapper {
    position: relative;
    top: 0;
    left: 0;
    bottom: auto;
    height: 320px;
    margin-top: 1rem;
  }

  #contact-2320 .cs-box {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 95%;
    margin-top: 1rem;
  }
}

/*-- -------------------------- -->
<---        Recent Posts        -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #blog-1347 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  #blog-1347 .cs-container {
    width: 100%;
    /* changes to 1280px on desktop */
    max-width: 43.75rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }

  #blog-1347 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }

  #blog-1347 .cs-title {
    max-width: 20ch;
  }

  #blog-1347 .cs-topper {
    color: var(--secondary);
  }

  #blog-1347 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
  }

  #blog-1347 .cs-item {
    list-style: none;
    display: flex;
    flex-direction: column;
    grid-column: span 12;
  }

  #blog-1347 .cs-item:hover .cs-h3,
  #blog-1347 .cs-item:hover .cs-date,
  #blog-1347 .cs-item:hover .cs-category {
    color: #fff;
  }

  #blog-1347 .cs-item:hover .cs-item-text {
    background-color: #1a1a1a;
  }

  #blog-1347 .cs-item:hover .cs-icon-wrapper {
    border-color: #fff;
  }

  #blog-1347 .cs-item:hover .cs-icon,
  #blog-1347 .cs-item:hover .cs-date-icon {
    filter: brightness(1000%) grayscale(1);
  }

  #blog-1347 .cs-item:hover .cs-icon {
    transform: rotate(45deg);
  }

  #blog-1347 .cs-item:hover .cs-category::before {
    background-color: #fff;
    opacity: 0.2;
  }

  #blog-1347 .cs-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    /* if one card has more content then the others, the card will stretch to fill the parent container */
    flex-grow: 1;
    gap: 1rem;
  }

  #blog-1347 .cs-picture {
    width: 100%;
    height: 20rem;
    margin: 0;
    border-radius: 1.5rem;
    display: block;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  #blog-1347 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }

  #blog-1347 .cs-item-text {
    padding: 1.25rem;
    background-color: #f7f7f7;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* makes the item text the element that grows to fill the container */
    transition: background-color 0.3s;
  }

  #blog-1347 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 1.8vw, 1.5625rem);
    line-height: 1.2em;
    text-align: left;
    margin: 0;
    color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s;
  }

  #blog-1347 .cs-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border: 1px solid #bababa;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* prevents the parent flexbox from shrinking the icon */
    flex-shrink: 0;
    transition: border-color 0.3s;
  }

  #blog-1347 .cs-icon {
    width: auto;
    height: 0.75rem;
    transition:
      filter 0.3s,
      transform 0.3s;
  }

  #blog-1347 .cs-info {
    margin: 1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #blog-1347 .cs-date {
    font-size: 0.875rem;
    line-height: 1.5em;
    text-align: left;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
  }

  #blog-1347 .cs-date-icon {
    width: auto;
    height: 1.5rem;
    transition: filter 0.3s;
  }

  #blog-1347 .cs-category {
    font-size: 0.875rem;
    /* centers the text if the category bullet has to span multiple lines */
    text-align: center;
    padding: 0.25rem 1rem;
    color: #1a1a1a;
    border-radius: 5rem;
    position: relative;
    z-index: 0;
    overflow: hidden;
  }

  #blog-1347 .cs-category::before {
    content: "";
    width: 100%;
    height: 100%;
    background: #e8e8e8;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }

  #blog-1347 .cs-bubbles {
    width: 20.0625rem;
    height: 26.4375rem;
    display: none;
    position: absolute;
    top: 66.4375rem;
    right: -8.75rem;
    z-index: -1;
  }

  #blog-1347 .cs-bubbles:before {
    /* white border bubble */
    content: "";
    width: 16.5rem;
    height: 16.5rem;
    background: transparent;
    opacity: 1;
    border: 1px solid #1a1a1a;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    animation-name: floatAnimation;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
  }

  #blog-1347 .cs-bubbles:after {
    /* orange bubble */
    content: "";
    width: 16.5rem;
    height: 16.5rem;
    background: var(--primary);
    opacity: 0.1;
    border-radius: 50%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    animation-name: floatAnimation2;
    animation-duration: 14s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #blog-1347 .cs-bubbles {
    display: block;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #blog-1347 .cs-container {
    max-width: 80rem;
  }

  #blog-1347 .cs-item {
    grid-column: span 4;
  }

  #blog-1347 .cs-bubbles {
    top: 17.5625rem;
  }
}

/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #blog-1347 .cs-bubbles {
    margin-right: -61.875rem;
    right: 50%;
  }
}