:root {
  --endo-teal: #075e68;
  --endo-teal-dark: #064a52;
  --endo-blue: #eaf7f8;
  --endo-sage: #5fa982;
  --endo-ink: #1f2a2e;
  --endo-muted: #607174;
  --endo-surface: #fafcfc;
  --endo-line: #d7e8e9;
  --endo-white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #f6fbfb 0, #fafcfc 360px),
    var(--endo-surface);
  color: var(--endo-ink);
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.endoscopy-header-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: none !important;
  padding: 12px clamp(16px, 3vw, 40px);
  border-bottom: 1px solid rgba(7, 94, 104, 0.12);
  background: rgba(250, 252, 252, 0.92);
  backdrop-filter: blur(14px);
}

.endoscopy-header {
  max-width: 1540px;
  margin: 0 auto;
  gap: 10px 20px;
  min-width: 0;
  flex-wrap: wrap !important;
  align-items: center;
}

.endoscopy-brand {
  order: 1;
  flex: 1 1 360px;
  min-width: 230px;
}

.endoscopy-brand .wp-block-site-title {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.15;
}

.endoscopy-brand .wp-block-site-title a {
  color: var(--endo-ink);
  text-decoration: none;
}

.endoscopy-tagline {
  margin: 3px 0 0;
  color: var(--endo-muted);
  font-size: 12px;
  line-height: 1.2;
}

.endoscopy-nav,
.endoscopy-actions,
.endoscopy-mobile-langs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.endoscopy-nav {
  order: 3;
  flex: 1 0 100%;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding-top: 2px;
  padding-bottom: 2px;
}

.endoscopy-actions {
  order: 2;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.endoscopy-mobile-langs {
  display: none;
  order: 2;
  flex: 0 0 auto;
}

.endoscopy-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--endo-line);
  border-radius: 8px;
  background: #fff;
  color: var(--endo-teal);
  cursor: pointer;
}

.endoscopy-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.endoscopy-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.endoscopy-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.endoscopy-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.endoscopy-nav a,
.endoscopy-lang,
.endoscopy-call,
.endoscopy-book {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--endo-ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.endoscopy-nav a {
  padding: 0 clamp(6px, 0.55vw, 10px);
}

.endoscopy-nav a:hover,
.endoscopy-lang:hover {
  background: var(--endo-blue);
}

.endoscopy-lang {
  width: 34px;
  border: 1px solid var(--endo-line);
}

.endoscopy-lang.is-active-lang {
  border-color: var(--endo-teal);
  background: var(--endo-teal);
  color: #fff;
}

.endoscopy-call,
.endoscopy-whatsapp {
  padding: 0 12px;
  color: var(--endo-teal);
}

.endoscopy-whatsapp {
  border: 1px solid rgba(95, 169, 130, 0.34);
  background: rgba(95, 169, 130, 0.1);
}

.endoscopy-book,
.wp-block-button__link,
.endoscopy-meeting-form button {
  border: 0;
  border-radius: 999px;
  background: var(--endo-teal);
  color: var(--endo-white) !important;
  box-shadow: 0 12px 28px rgba(7, 94, 104, 0.18);
  font-weight: 750;
  text-decoration: none;
}

.endoscopy-book {
  padding: 0 18px;
}

.site-main {
  max-width: none !important;
}

.endo-home-hero {
  max-width: none !important;
  margin-top: 0;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 56px) clamp(26px, 5vw, 54px);
  background:
    linear-gradient(90deg, rgba(250, 252, 252, 0.98) 0%, rgba(250, 252, 252, 0.88) 48%, rgba(234, 247, 248, 0.52) 100%),
    url("./hero-medical.png") right center / min(54vw, 720px) auto no-repeat;
}

.endo-doctor-photo {
  min-height: 520px;
  border: 1px solid rgba(7, 94, 104, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 94, 104, 0.08), rgba(95, 169, 130, 0.12)),
    url("./hermine-main.jpg") center top / cover no-repeat,
    url("./hero-medical.png") center / cover no-repeat;
  box-shadow: 0 24px 54px rgba(31, 42, 46, 0.1);
}

.endo-photo-tile {
  min-height: 360px;
  border: 1px solid rgba(7, 94, 104, 0.12);
  border-radius: 8px;
  background: #edf7f5 center / cover no-repeat;
  box-shadow: 0 14px 34px rgba(31, 42, 46, 0.06);
}

.endo-photo-about {
  background-image: url("./hermine-about.jpg");
  background-position: center top;
}

.endo-photo-clinic {
  background-image: url("./hermine-clinic-alt.jpg");
  background-position: center center;
}

.endo-photo-caption {
  margin-top: 12px;
  color: var(--endo-muted);
  font-size: 14px;
}

.endo-hero-grid {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.endo-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid rgba(95, 169, 130, 0.35);
  border-radius: 999px;
  background: rgba(95, 169, 130, 0.1);
  color: var(--endo-teal-dark);
  font-size: 13px;
  font-weight: 750;
}

.endo-home-hero h1,
.endo-home-hero h2 {
  max-width: 760px;
  margin: 0;
  color: var(--endo-ink);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.endo-hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: #405256;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.endo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.endo-secondary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid var(--endo-line);
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--endo-teal);
  font-weight: 750;
  text-decoration: none;
}

.endo-hero-card {
  border: 1px solid rgba(7, 94, 104, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 54px rgba(31, 42, 46, 0.1);
}

.endo-hero-card strong {
  display: block;
  color: var(--endo-teal);
  font-size: 30px;
  line-height: 1.1;
}

.endo-hero-card span {
  display: block;
  margin-top: 4px;
  color: var(--endo-muted);
  font-size: 14px;
}

.endo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.endo-section {
  max-width: 1120px !important;
  margin: 0 auto;
  padding: clamp(46px, 7vw, 84px) clamp(18px, 3vw, 32px);
}

.endo-section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.endo-section h2,
.endoscopy-page-title,
.endo-section h1 {
  margin-top: 0;
  color: var(--endo-ink);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.endo-section h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.endo-section p {
  color: #405256;
}

.endo-section a:not(.wp-block-button__link) {
  font-weight: 750;
}

.endo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.endo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.endo-service,
.endo-info-panel,
.endoscopy-video,
.endoscopy-faq,
.endo-link-panel {
  border: 1px solid var(--endo-line);
  border-radius: 8px;
  background: var(--endo-white);
  box-shadow: 0 14px 34px rgba(31, 42, 46, 0.06);
}

.endo-service,
.endo-info-panel,
.endo-link-panel {
  padding: 22px;
}

.endo-service-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--endo-blue);
  color: var(--endo-teal);
  position: relative;
}

.endo-service-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  margin: auto;
  background: currentColor;
  mask: var(--service-icon) center / contain no-repeat;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
}

.icon-consultation {
  --service-icon: url("./icons/consultation.svg");
}

.icon-gastroscopy {
  --service-icon: url("./icons/gastroscopy.svg");
}

.icon-colonoscopy {
  --service-icon: url("./icons/colonoscopy.svg");
}

.icon-helicobacter {
  --service-icon: url("./icons/helicobacter.svg");
}

.icon-consultation::before,
.icon-gastroscopy::before,
.icon-colonoscopy::before,
.icon-helicobacter::before {
  width: 32px;
  height: 32px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  mask: none;
  -webkit-mask: none;
}

.icon-consultation::before {
  background-image: url("./icons/doctors_consulting_ico.jpg");
}

.icon-gastroscopy::before {
  background-image: url("./icons/gastro_ico.png");
}

.icon-colonoscopy::before {
  background-image: url("./icons/colonoscopy_ico.jpg");
}

.icon-helicobacter::before {
  background-image: url("./icons/helokobakter.webp");
}

.icon-preparation {
  --service-icon: url("./icons/preparation.svg");
}

.icon-results {
  --service-icon: url("./icons/results.svg");
}

.endo-service h3,
.endo-info-panel h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--endo-teal-dark);
  font-size: 21px;
  line-height: 1.2;
}

.endo-check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.endo-check-list li {
  position: relative;
  padding-left: 28px;
  color: #405256;
}

.endo-check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--endo-sage);
  color: #fff;
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.endo-cta-band {
  box-sizing: border-box;
  max-width: none !important;
  padding: clamp(44px, 7vw, 78px) clamp(18px, 4vw, 56px);
  background: #075e68;
  color: #fff;
}

.endo-cta-band > .wp-block-group {
  max-width: 1120px;
  margin: 0 auto;
}

.endo-cta-band h2,
.endo-cta-band p,
.endo-cta-band a {
  color: #fff;
}

.endo-cta-band .endo-secondary-link {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.endo-muted-band {
  box-sizing: border-box;
  max-width: none !important;
  background: #edf7f5;
}

.endo-muted-band > .wp-block-group {
  max-width: 1120px;
  margin: 0 auto;
}

.endoscopy-page-shell {
  max-width: none !important;
  padding: 0;
}

.wp-block-post-content {
  max-width: none !important;
}

.wp-block-post-content > .endo-section,
.wp-block-post-content > .endo-muted-band > .wp-block-group,
.wp-block-post-content > .endo-cta-band > .wp-block-group {
  box-sizing: border-box;
  width: min(100% - clamp(36px, 8vw, 112px), 1120px);
}

.wp-block-post-content > .endo-muted-band,
.wp-block-post-content > .endo-cta-band {
  width: 100%;
}

.wp-block-post-content > .endo-home-hero {
  width: 100%;
}

.endoscopy-faqs,
.endoscopy-videos {
  display: grid;
  gap: 14px;
}

.endoscopy-faq {
  padding: 18px 20px;
}

.endoscopy-faq summary {
  color: var(--endo-teal-dark);
  cursor: pointer;
  font-weight: 750;
}

.endoscopy-faq__answer {
  margin-top: 12px;
  color: #405256;
}

.endoscopy-videos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.endoscopy-video {
  overflow: hidden;
  padding: 18px;
}

.endoscopy-video h3 {
  margin: 14px 0 8px;
  color: var(--endo-teal-dark);
  font-size: 19px;
  line-height: 1.25;
}

.endoscopy-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 8px;
}

.endoscopy-video__preview {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.52), transparent 28%),
    linear-gradient(135deg, rgba(7, 94, 104, 0.48), rgba(95, 169, 130, 0.38)),
    url("./hermine-main.jpg") center top / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  text-decoration: none;
}

.endoscopy-video__preview::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 94, 104, 0.04), rgba(7, 94, 104, 0.28));
  content: "";
}

.endoscopy-video__source {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: #1877f2;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.endoscopy-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(7, 94, 104, 0.28);
  transform: translate(-50%, -50%);
}

.endoscopy-video__play::before {
  position: absolute;
  left: 27px;
  top: 21px;
  width: 0;
  height: 0;
  border-bottom: 13px solid transparent;
  border-left: 19px solid var(--endo-teal);
  border-top: 13px solid transparent;
  content: "";
}

.endoscopy-video__link {
  color: var(--endo-teal);
  font-weight: 800;
  text-decoration: none;
}

.endoscopy-video__link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.endo-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.endo-topic-row a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--endo-line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--endo-teal);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.endo-topic-row a:hover {
  background: var(--endo-blue);
}

.endoscopy-related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.endoscopy-related-links a {
  display: block;
  border: 1px solid var(--endo-line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--endo-white);
  font-weight: 700;
  text-decoration: none;
}

.endo-source-note {
  max-width: 760px;
  color: var(--endo-muted);
  font-size: 15px;
}

.endo-source-section {
  padding-top: clamp(30px, 5vw, 54px);
}

.endo-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.endo-source-card {
  border: 1px solid var(--endo-line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--endo-white);
  box-shadow: 0 10px 24px rgba(31, 42, 46, 0.05);
}

.endo-source-card a {
  display: block;
  color: var(--endo-teal-dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.endo-source-card a:hover {
  text-decoration: underline;
}

.endo-source-card span {
  display: block;
  margin-top: 8px;
  color: var(--endo-muted);
  font-size: 13px;
}

.endoscopy-meeting-form {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  max-width: 620px;
  border: 1px solid var(--endo-line);
  border-radius: 8px;
  padding: 22px;
  background: var(--endo-white);
  box-shadow: 0 18px 42px rgba(31, 42, 46, 0.08);
}

.endoscopy-meeting-form p {
  margin: 0;
}

.endoscopy-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.endoscopy-meeting-form label {
  display: grid;
  gap: 6px;
  color: var(--endo-teal-dark);
  font-weight: 750;
}

.endoscopy-meeting-form input,
.endoscopy-meeting-form select,
.endoscopy-meeting-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--endo-line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--endo-ink);
  font: inherit;
}

.endoscopy-meeting-form p:has(textarea),
.endoscopy-meeting-form button {
  grid-column: 1 / -1;
}

.endoscopy-meeting-form button {
  min-height: 48px;
  cursor: pointer;
}

.endoscopy-form-message {
  max-width: 620px;
  margin: 0 auto 16px;
  border: 1px solid var(--endo-line);
  border-radius: 8px;
  padding: 13px 16px;
  background: var(--endo-white);
  color: var(--endo-teal-dark);
  font-weight: 750;
}

.endoscopy-form-message--success {
  border-color: rgba(95, 169, 130, 0.45);
  background: rgba(95, 169, 130, 0.12);
}

.endoscopy-form-message--error {
  border-color: rgba(176, 70, 70, 0.35);
  background: rgba(176, 70, 70, 0.1);
}

.endo-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.endo-contact-list p {
  margin: 0;
  border: 1px solid var(--endo-line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}

.endo-contact-list strong {
  color: var(--endo-teal-dark);
}

.endo-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.endo-social-row a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--endo-line);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--endo-white);
  color: var(--endo-teal);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.endo-social-row a:hover {
  background: var(--endo-blue);
}

.endo-map-frame {
  overflow: hidden;
  border: 1px solid var(--endo-line);
  border-radius: 8px;
  background: var(--endo-white);
  box-shadow: 0 18px 42px rgba(31, 42, 46, 0.08);
}

.endo-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 440px;
  border: 0;
}

.endoscopy-footer {
  max-width: none !important;
  margin-top: 52px;
  padding: 42px clamp(18px, 4vw, 56px) 24px;
  background: #123f45;
  color: rgba(255, 255, 255, 0.86);
}

.endoscopy-footer > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.endoscopy-footer h3,
.endoscopy-footer a {
  color: #ffffff;
}

.endoscopy-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

@media (max-width: 1320px) {
  .endoscopy-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 1080px) {
  .endoscopy-brand {
    flex: 1 0 100%;
  }

  .endoscopy-actions {
    order: 2;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .endo-hero-grid {
    grid-template-columns: 1fr;
  }

  .endo-home-hero {
    background:
      linear-gradient(180deg, rgba(250, 252, 252, 0.96) 0%, rgba(250, 252, 252, 0.96) 100%),
      url("./hero-medical.png") right bottom / 520px auto no-repeat;
  }

  .endo-doctor-photo {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .endo-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .endoscopy-header-wrap {
    position: sticky;
    padding: 10px 14px;
  }

  .endoscopy-header {
    gap: 10px;
  }

  .endoscopy-brand {
    flex: 1 1 0;
    min-width: 0;
  }

  .endoscopy-brand .wp-block-site-title {
    font-size: 16px;
  }

  .endoscopy-menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .endoscopy-mobile-langs {
    display: inline-flex;
    order: 2;
    gap: 4px;
    margin-left: auto;
  }

  .endoscopy-mobile-langs .endoscopy-lang {
    width: 32px;
    min-height: 36px;
    background: #fff;
    font-size: 12px;
  }

  .endoscopy-mobile-langs .endoscopy-lang.is-active-lang {
    border-color: var(--endo-teal);
    background: var(--endo-teal);
    color: #fff;
  }

  .endoscopy-nav,
  .endoscopy-actions {
    box-sizing: border-box;
    display: none;
    order: 3;
    width: calc(100vw - 28px);
    max-width: 100%;
    flex-wrap: wrap;
    border: 1px solid rgba(7, 94, 104, 0.12);
    border-radius: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(31, 42, 46, 0.08);
  }

  .endoscopy-header.is-open .endoscopy-nav,
  .endoscopy-header.is-open .endoscopy-actions {
    display: flex;
  }

  .endoscopy-nav {
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow: visible;
  }

  .endoscopy-nav a {
    width: 100%;
    justify-content: flex-start;
    border-radius: 8px;
    padding: 0 12px;
    background: var(--endo-blue);
  }

  .endoscopy-actions {
    margin-top: -2px;
  }

  .endoscopy-actions .endoscopy-lang {
    display: none;
  }

  .endoscopy-call,
  .endoscopy-whatsapp,
  .endoscopy-book {
    flex: 1 1 auto;
  }

  .endo-home-hero {
    padding-top: 34px;
  }

  .endo-home-hero h1,
  .endo-home-hero h2,
  .endo-section h1 {
    font-size: clamp(26px, 7.5vw, 32px);
    line-height: 1.12;
  }

  .endo-section h2,
  .endoscopy-page-title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .endo-eyebrow,
  .endo-secondary-link,
  .wp-block-button__link {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .endo-stats,
  .endo-grid-3,
  .endo-grid-2,
  .endoscopy-videos,
  .endoscopy-related-links,
  .endo-source-list,
  .endoscopy-meeting-form {
    grid-template-columns: 1fr;
  }

  .endo-doctor-photo {
    min-height: 360px;
  }

  .endo-procedure-hero .endo-photo-tile {
    order: -1;
    min-height: 260px;
  }
}
