.page-template-doctors-template section.galleryBanner {
  position: relative;
  overflow: hidden;
  background-color: #030712;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.page-template-doctors-template section.galleryBanner .container {
  position: relative;
  z-index: 1;
}
.page-template-doctors-template section.galleryBanner .galleryBanner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.page-template-doctors-template section.galleryBanner .galleryBanner__content {
  max-width: 480px;
  padding: 60px 0;
}
.page-template-doctors-template section.galleryBanner .galleryBanner__content .galleryBanner__eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1em;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .page-template-doctors-template section.galleryBanner .galleryBanner__content .galleryBanner__eyebrow {
    font-size: 18px;
  }
}
@media (min-width: 992px) {
  .page-template-doctors-template section.galleryBanner .galleryBanner__content .galleryBanner__eyebrow {
    font-size: 1.389vw;
    margin-bottom: 1.2vw;
  }
}
@media (min-width: 1440px) {
  .page-template-doctors-template section.galleryBanner .galleryBanner__content .galleryBanner__eyebrow {
    font-size: 20px;
  }
}
.page-template-doctors-template section.galleryBanner .galleryBanner__content .galleryBanner__heading {
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2em;
  letter-spacing: -0.5px;
  margin: 0;
}
@media (min-width: 768px) {
  .page-template-doctors-template section.galleryBanner .galleryBanner__content .galleryBanner__heading {
    font-size: 42px;
  }
}
@media (min-width: 992px) {
  .page-template-doctors-template section.galleryBanner .galleryBanner__content .galleryBanner__heading {
    font-size: 4.444vw;
  }
}
@media (min-width: 1440px) {
  .page-template-doctors-template section.galleryBanner .galleryBanner__content .galleryBanner__heading {
    font-size: 64px;
  }
}
@media (min-width: 992px) {
  .page-template-doctors-template section.galleryBanner .galleryBanner__content {
    max-width: 54vw;
    padding: 5vw 0;
  }
}
@media (min-width: 768px) {
  .page-template-doctors-template section.galleryBanner {
    min-height: 360px;
  }
}
@media (min-width: 992px) {
  .page-template-doctors-template section.galleryBanner {
    min-height: 34.583vw;
  }
}
@media (min-width: 1440px) {
  .page-template-doctors-template section.galleryBanner {
    min-height: 498px;
  }
}
.page-template-doctors-template div.gallerySection {
  background: #EBF1F8;
  /* Tabs nav */
}
.page-template-doctors-template div.gallerySection.section-padding2 {
  padding-inline: 11px;
}
@media (min-width: 992px) {
  .page-template-doctors-template div.gallerySection.section-padding2 {
    padding-inline: 0;
  }
}
.page-template-doctors-template div.gallerySection .galleryTabsWrap {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border-bottom: 1px solid #d9e2ee;
  margin-bottom: 30px;
}
.page-template-doctors-template div.gallerySection .galleryTabsWrap::-webkit-scrollbar {
  display: none;
}
.page-template-doctors-template div.gallerySection .galleryTabsWrap .galleryTabsList {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.page-template-doctors-template div.gallerySection .galleryTabsWrap .galleryTabsList .nav-link {
  background: none;
  border: none;
  padding: 0 0 18px;
  margin: 0;
  color: #9aa0ab;
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2em;
  position: relative;
  transition: color 0.35s ease;
}
.page-template-doctors-template div.gallerySection .galleryTabsWrap .galleryTabsList .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: #3296D2;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.page-template-doctors-template div.gallerySection .galleryTabsWrap .galleryTabsList .nav-link:hover {
  color: #111;
}
.page-template-doctors-template div.gallerySection .galleryTabsWrap .galleryTabsList .nav-link.active {
  color: #111;
  font-weight: 400;
}
.page-template-doctors-template div.gallerySection .galleryTabsWrap .galleryTabsList .nav-link.active::after {
  transform: scaleX(1);
}
@media (min-width: 992px) {
  .page-template-doctors-template div.gallerySection .galleryTabsWrap .galleryTabsList .nav-link {
    font-size: 1.389vw;
    padding-bottom: 1.4vw;
  }
}
@media (min-width: 1400px) {
  .page-template-doctors-template div.gallerySection .galleryTabsWrap .galleryTabsList .nav-link {
    font-size: 22px;
  }
}
@media (min-width: 992px) {
  .page-template-doctors-template div.gallerySection .galleryTabsWrap .galleryTabsList {
    gap: 4.8vw;
  }
}
@media (min-width: 992px) {
  .page-template-doctors-template div.gallerySection .galleryTabsWrap {
    margin-bottom: 2.7vw;
  }
}
.page-template-doctors-template div.gallerySection .galleryTabContent {
  width: 100%;
}
.page-template-doctors-template section.galleryCta {
  background: #EBF1F8;
  padding-top: 0;
}
.page-template-doctors-template section.galleryCta .galleryCta__inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background-color: #030712;
  background-image: linear-gradient(135deg, #0b1a3a 0%, #030712 65%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 22px;
  padding: 28px;
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__photo {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 992px) {
  .page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__photo {
    width: 38%;
    height: auto;
    border-radius: 1.1vw;
  }
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__heading {
  font-family: "Fraunces", serif;
  color: #fff;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2em;
  letter-spacing: -0.5px;
  margin: 0 0 30px;
}
@media (min-width: 992px) {
  .page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__heading {
    font-size: 4vw;
    margin-bottom: 2.4vw;
  }
}
@media (min-width: 1400px) {
  .page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__heading {
    font-size: 52px;
  }
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__buttons .galleryCtaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.3s ease;
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__buttons .galleryCtaBtn.galleryCtaBtn--primary {
  background: #fff;
  color: #111;
  border: 1px solid #fff;
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__buttons .galleryCtaBtn.galleryCtaBtn--primary:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__buttons .galleryCtaBtn.galleryCtaBtn--outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}
.page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__buttons .galleryCtaBtn.galleryCtaBtn--outline:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}
@media (min-width: 992px) {
  .page-template-doctors-template section.galleryCta .galleryCta__inner .galleryCta__content .galleryCta__buttons .galleryCtaBtn {
    height: 3vw;
    padding: 0 1.8vw;
    font-size: 0.95vw;
  }
}
@media (min-width: 992px) {
  .page-template-doctors-template section.galleryCta .galleryCta__inner {
    flex-direction: row;
    align-items: stretch;
    gap: 3.2vw;
    padding: 2.4vw;
    border-radius: 1.6vw;
  }
}
/*=====================================
Gallery Banner (hero — exclusive to this template)
=====================================*/
section.galleryBanner {
  position: relative;
  overflow: hidden;
  background-color: #030712;
  min-height: 280px;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  section.galleryBanner {
    min-height: 360px;
  }
}
/* Figma design: 1440px wide / 498px tall = 34.583vw */
@media (min-width: 992px) {
  section.galleryBanner {
    min-height: 34.583vw;
  }
}
@media (min-width: 1440px) {
  section.galleryBanner {
    min-height: 498px;
  }
}
section.galleryBanner .galleryBanner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
section.galleryBanner .container {
  position: relative;
  z-index: 1;
}
section.galleryBanner .galleryBanner__content {
  max-width: 480px;
  padding: 60px 0;
}
@media (min-width: 992px) {
  section.galleryBanner .galleryBanner__content {
    max-width: 34vw;
    padding: 5vw 0;
  }
}
section.galleryBanner .galleryBanner__eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1em;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  section.galleryBanner .galleryBanner__eyebrow {
    font-size: 18px;
  }
}
/* Figma design: 20px at 1440px wide = 1.389vw */
@media (min-width: 992px) {
  section.galleryBanner .galleryBanner__eyebrow {
    font-size: 1.389vw;
    margin-bottom: 1.2vw;
  }
}
@media (min-width: 1440px) {
  section.galleryBanner .galleryBanner__eyebrow {
    font-size: 20px;
  }
}
section.galleryBanner .galleryBanner__heading {
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2em;
  letter-spacing: -0.5px;
  margin: 0;
}
@media (min-width: 768px) {
  section.galleryBanner .galleryBanner__heading {
    font-size: 42px;
  }
}
/* Figma design: 64px at 1440px wide = 4.444vw */
@media (min-width: 992px) {
  section.galleryBanner .galleryBanner__heading {
    font-size: 4.444vw;
  }
}
@media (min-width: 1440px) {
  section.galleryBanner .galleryBanner__heading {
    font-size: 64px;
  }
}
/*=====================================
Gallery Section
=====================================*/
section.gallerySection {
  background: #EBF1F8;
}
/* Sit closer to the banner above than to the CTA below (overrides theme's section-padding2 top spacing) */
section.gallerySection.section-padding2 {
  padding-top: 40px;
}
@media (min-width: 992px) {
  section.gallerySection.section-padding2 {
    padding-top: 2.8vw;
  }
}
@media (min-width: 1440px) {
  section.gallerySection.section-padding2 {
    padding-top: 40px;
  }
}
/* Tabs nav */
section.gallerySection .galleryTabsWrap {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border-bottom: 1px solid #d9e2ee;
  margin-bottom: 30px;
}
section.gallerySection .galleryTabsWrap::-webkit-scrollbar {
  display: none;
}
@media (min-width: 992px) {
  section.gallerySection .galleryTabsWrap {
    margin-bottom: 2.7vw;
  }
}
section.gallerySection .galleryTabsList {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
@media (min-width: 992px) {
  section.gallerySection .galleryTabsList {
    gap: 2.8vw;
  }
}
/* Tab buttons — Fraunces serif, matching the closeup reference */
section.gallerySection .galleryTabsList .nav-link {
  background: none;
  border: none;
  padding: 0 0 18px;
  margin: 0;
  color: #9aa0ab;
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2em;
  position: relative;
  transition: color 0.35s ease;
}
@media (min-width: 992px) {
  section.gallerySection .galleryTabsList .nav-link {
    font-size: 1.2vw;
    padding-bottom: 1.4vw;
  }
}
@media (min-width: 1400px) {
  section.gallerySection .galleryTabsList .nav-link {
    font-size: 22px;
  }
}
section.gallerySection .galleryTabsList .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: #3296D2;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
section.gallerySection .galleryTabsList .nav-link:hover {
  color: #111;
}
section.gallerySection .galleryTabsList .nav-link.active {
  color: #111;
  font-weight: 400;
}
section.gallerySection .galleryTabsList .nav-link.active::after {
  transform: scaleX(1);
}
/* Grid — images keep their natural aspect ratio (auto height) */
section.gallerySection .galleryTabContent {
  width: 100%;
}
section.gallerySection .galleryGrid .galleryImg {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
@media (min-width: 992px) {
  section.gallerySection .galleryGrid .galleryImg {
    border-radius: 1vw;
  }
}
section.gallerySection .galleryGrid .galleryImg img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
section.gallerySection .galleryGrid .galleryImg:hover img {
  transform: scale(1.06);
}
/*=====================================
Gallery CTA (exclusive to this template)
=====================================*/
section.galleryCta {
  background: #EBF1F8;
  padding-top: 0;
}
section.galleryCta .galleryCta__inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background-color: #030712;
  background-image: linear-gradient(135deg, #0b1a3a 0%, #030712 65%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 22px;
  padding: 28px;
}
@media (min-width: 992px) {
  section.galleryCta .galleryCta__inner {
    flex-direction: row;
    align-items: stretch;
    gap: 3.2vw;
    padding: 2.4vw;
    border-radius: 1.6vw;
  }
}
section.galleryCta .galleryCta__photo {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}
@media (min-width: 992px) {
  section.galleryCta .galleryCta__photo {
    width: 38%;
    height: auto;
    border-radius: 1.1vw;
  }
}
section.galleryCta .galleryCta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
section.galleryCta .galleryCta__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
section.galleryCta .galleryCta__heading {
  font-family: "Fraunces", serif;
  color: #fff;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2em;
  letter-spacing: -0.5px;
  margin: 0 0 30px;
}
@media (min-width: 992px) {
  section.galleryCta .galleryCta__heading {
    font-size: 4vw;
    margin-bottom: 2.4vw;
  }
}
@media (min-width: 1400px) {
  section.galleryCta .galleryCta__heading {
    font-size: 52px;
  }
}
section.galleryCta .galleryCta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
section.galleryCta .galleryCtaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.3s ease;
}
@media (min-width: 992px) {
  section.galleryCta .galleryCtaBtn {
    height: 3vw;
    padding: 0 1.8vw;
    font-size: 0.95vw;
  }
}
section.galleryCta .galleryCtaBtn--primary {
  background: #fff;
  color: #111;
  border: 1px solid #fff;
}
section.galleryCta .galleryCtaBtn--primary:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
section.galleryCta .galleryCtaBtn--outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}
section.galleryCta .galleryCtaBtn--outline:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}
