.eda-journey {
  background: #eff5f8;
  border-block: 1px solid #dce6ed;
  scroll-margin-top: 92px;
}

.eda-journey-heading { margin-bottom: 22px; }

.eda-journey-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #112c45;
}

.eda-journey-heading p { margin: 0; }

.eda-journey-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 6px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid #cfdee8;
  background: #e5edf3;
}

.eda-journey [hidden] { display: none !important; }

.eda-journey-tabs button {
  font: inherit;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.3;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 8px;
  background: transparent;
  color: #274760;
}

.eda-journey-tabs button:hover { background: #f1f7fb; }

.eda-journey-tabs button[aria-selected="true"] {
  background: #174a69;
  color: #fff;
}

.eda-journey-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(19px, 3.3vw, 42px);
  padding: clamp(14px, 2.4vw, 28px);
  border: 1px solid #cfdee8;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 23px #2847610c;
}

.eda-journey-panel + .eda-journey-panel { margin-top: 16px; }
.eda-journey-panel[role="tabpanel"] { margin-top: 0; }

.eda-journey :focus-visible,
.eda-procedure-details :focus-visible {
  outline: 3px solid #056b97;
  outline-offset: 3px;
}

.eda-journey-copy { padding-block: 5px; }

.eda-journey-copy h3 {
  color: #132f48;
  font-size: clamp(1.35rem, 2.7vw, 1.85rem);
  line-height: 1.18;
  margin: 0 0 12px;
}

.eda-journey-copy p { margin: 0 0 12px; }

.eda-stage {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbe6ed;
  border-radius: 13px;
  background: #f6fafc;
}

.eda-stage-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.eda-stage figcaption {
  padding: 11px 13px;
  color: #405b70;
  font-size: .88rem;
}

.eda-video-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1f2d;
}

.eda-video-poster,
.eda-video-player,
.eda-video-poster img,
.eda-video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eda-video-player iframe {
  display: block;
  border: 0;
}

.eda-video-poster {
  display: grid;
  place-items: center;
  isolation: isolate;
}

.eda-video-poster img {
  object-fit: cover;
  z-index: -2;
}

.eda-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(35deg, #092138b8, #162c4761);
}

.eda-poster-note {
  position: absolute;
  left: 11px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #0d263de8;
  color: #f1f7fc;
  font-size: .82rem;
}

.eda-video-play {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #b8e2f7;
  min-height: 54px;
  padding: 10px 19px;
  border-radius: 28px;
  font: inherit;
  font-weight: 760;
  color: #123a54;
  text-decoration: none;
  background: #f0faff;
  box-shadow: 0 7px 18px #081c2f64;
  cursor: pointer;
}

.eda-video-play:hover { background: #d5f1ff; }

.eda-video-play:focus-visible { outline-color: #b3e8ff; }

.eda-play-symbol {
  width: 0;
  height: 0;
  border-block: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.eda-video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.eda-video-caption strong,
.eda-video-caption span {
  display: block;
}

.eda-video-caption strong { color: #163a55; }

.eda-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 16px;
}

.eda-actions .button,
.eda-procedure-details .eda-secondary-action {
  min-height: 44px;
  padding: 9px 14px;
  line-height: 1.3;
  text-wrap: pretty;
  white-space: normal;
  text-align: center;
}

.eda-actions .eda-primary-action {
  color: #fff;
  background: #174c71;
  border-color: #174c71;
}

.eda-actions .eda-primary-action:hover { background: #103856; }

.eda-secondary-action {
  font: inherit;
  font-weight: 720;
  color: #174c71;
}

.eda-video-close {
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid #bed2df;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.eda-media-note {
  padding: 9px 11px;
  border-left: 3px solid #7198b4;
  border-radius: 0 8px 8px 0;
  background: #edf4f8;
  color: #334f63;
  font-size: .95rem;
}

.eda-route-organs {
  display: grid;
  gap: 6px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.eda-route-organs li {
  padding: 6px 10px 7px;
  border-inline-start: 3px solid #6d9db6;
  background: #f1f6f9;
  border-radius: 0 8px 8px 0;
  color: #23475d;
  font-size: .95rem;
}

.eda-route-organs strong { margin-right: 7px; }
.eda-route-organs span { color: #395367; }

.eda-prep-cards {
  display: grid;
  gap: 8px;
}

.eda-prep-card {
  border: 1px solid #d8e5ec;
  border-radius: 12px;
  background: #f5f9fb;
}

.eda-prep-card summary {
  display: grid;
  grid-template-columns: clamp(60px, 9vw, 96px) minmax(0, 1fr) 14px;
  gap: clamp(7px, 2vw, 13px);
  align-items: center;
  padding: 8px;
  cursor: pointer;
  list-style: none;
}

.eda-prep-card summary::-webkit-details-marker { display: none; }

.eda-prep-card summary img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.eda-prep-card summary strong,
.eda-prep-card summary small {
  display: block;
}

.eda-prep-card summary strong { color: #183951; }

.eda-prep-card summary small {
  color: #395367;
  font-size: .91rem;
  line-height: 1.36;
}

.eda-expand {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border-bottom: 2px solid #174a69;
  border-right: 2px solid #174a69;
}

.eda-prep-card[open] .eda-expand { transform: rotate(225deg); }

.eda-prep-card p {
  border-top: 1px solid #dce7ed;
  margin: 0 10px;
  padding: 10px 4px;
}

.eda-procedure-details .faq-list { margin-top: 13px; }

.eda-reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  list-style: none;
}

.eda-reference-links a {
  color: #14567f;
  text-underline-offset: .2em;
  font-weight: 700;
}

@media (max-width: 740px) {
  .eda-journey-panel { grid-template-columns: minmax(0, 1fr); }
  .eda-journey-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eda-journey-copy { padding: 0; }
  .eda-journey { scroll-margin-top: 72px; }
  .eda-actions .button { width: 100%; }
}

.colo-visual { padding-block: clamp(32px,5vw,65px); }
.colo-prep-action { margin-bottom: 14px; }
.colo-visual .colo-video-panel {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px clamp(13px,3vw,30px);
}
.colo-wide { grid-column: 1 / -1; }
.colo-wide p { margin-bottom: 0; }
.colo-film { min-width: 0; }
.colo-film .eda-actions { margin-top: 10px; }
.colo-film .eda-video-poster img { object-position: 64% 38%; }
.colo-section-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}
.colo-section-actions .button {
  min-height:44px;
  padding: 7px 14px;
  white-space:normal;
}
.colo-visual .eda-journey-copy > .button {
  color: #fff;
  background:#174c71;
  margin-top:4px;
}
.colo-care-art img {
  display:block;
  width:100%;
  height:auto;
}
.colo-report {
  overflow:hidden;
  border:1px solid #cfdee8;
  border-radius:13px;
  background:#f8fbfd;
}
.colo-report-head {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:5px 12px;
  padding:14px;
  background:#163e5a;
  color:#fff;
}
.colo-report-head span {
  font-size:.88rem;
  color:#deeff8;
}
.colo-report details { border-top:1px solid #d8e5ed; }
.colo-report summary {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 14px;
  align-items:center;
  gap:8px;
  padding:12px;
  cursor:pointer;
  list-style:none;
}
.colo-report summary::-webkit-details-marker { display:none; }
.colo-report summary span { color:#415e73; }
.colo-report summary::after {
  content:"+";
  color:#185e86;
  font-weight:800;
}
.colo-report details[open] summary::after { content:"−"; }
.colo-report p {
  margin:0 12px;
  padding:8px 0 12px;
  color:#3a5267;
  border-top:1px solid #d9e7ef;
}
#recorrido-colonoscopia,#colo-prep,#indicacion-colonoscopia,#preparacion-colonoscopia,#seguridad-colonoscopia,#cuidados-colonoscopia,#resultados-colonoscopia { scroll-margin-top: 88px; }
@media (max-width:740px) {
  .colo-visual .colo-video-panel {
  grid-template-columns:minmax(0,1fr);
  gap:16px;
}
}

.colo-video-language {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border: 1px solid #a1c1d7;
  border-radius: 6px;
  background: #173852;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.procto-journey {
  padding-block: clamp(28px, 5vw, 62px);
}

.procto-report {
  overflow: hidden;
  border: 1px solid #cddfe9;
  border-radius: 14px;
  background: #f4f9fc;
}
.procto-report-head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: space-between;
  padding: 13px;
  background: #163e5a;
  color: #fff;
}
.procto-report-head span {
  color: #def1fa;
  font-size: .88rem;
}
.procto-report details {
  border-top: 1px solid #cbdee9;
}
.procto-report summary {
  padding: 12px;
  color: #122f44;
  cursor: pointer;
  font-weight: 700;
}
.procto-report details p {
  margin: 0;
  padding: 0 12px 12px;
}
.procto-after img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: 50% 35%;
}
.procto-end {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #d2e4ee;
}
.procto-end h2,
#preparacion-proctoscopia,
#como-se-realiza-proctoscopia {
  scroll-margin-top: 88px;
}
.procto-journey .procto-during {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(15px, 2.4vw, 27px);
}
.procto-during-intro p { margin-bottom: 0; }
.procto-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.1vw, 25px);
}
.procto-gallery :is(.procto-motion, .procto-photos) {
  min-width: 0;
  margin: 0;
  border: 1px solid #cddde9;
  border-radius: 14px;
  background: #f4f8fb;
  overflow: hidden;
}
.procto-photos figure { margin: 0; }
.procto-media-header {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 5px 9px;
}
.procto-motion .procto-media-header { padding-inline: 15px; }
.procto-photo-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.procto-photo-tabs button {
  min-width: 0;
  min-height: 44px;
  padding: 4px;
  border: 1px solid #c4d6e3;
  border-radius: 7px;
  background: #f9fcff;
  color: #183c56;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
.procto-photo-tabs button[aria-selected="true"] {
  border-color: #194e70;
  background: #194e70;
  color: #fff;
}
.procto-photo-tabs button:focus-visible { outline-offset: -3px; }
.procto-media-frame {
  position: relative;
  height: clamp(244px, 28vw, 330px);
  background: #102536;
}
.procto-media-frame :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.procto-photo [data-procto-zoom] {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.procto-photo [data-procto-zoom] span {
  padding: 5px 9px;
  border: 1px solid #9ab5c8;
  border-radius: 6px;
  background: #132b40;
  color: #fff;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
}
.procto-photo [data-procto-zoom]:is(:hover, :focus-visible) span {
  background: #d7edff;
  color: #102b43;
}
.procto-photo [data-procto-zoom]:focus-visible {
  outline: 3px solid #a3e1f5;
  outline-offset: -4px;
}
.procto-gallery figcaption { padding: 14px 16px 16px; }
.procto-gallery :is(h4, figcaption strong) {
  display: block;
  margin: 0;
  color: #132f48;
  font-size: 1.1rem;
  line-height: 1.3;
}
.procto-gallery figcaption p {
  margin: 5px 0 7px;
  color: #29465d;
}
.procto-gallery figcaption small {
  display: block;
  color: #435e73;
  font-size: .8125rem;
  line-height: 1.4;
}
.procto-gallery figcaption small a,
.procto-photo-dialog small a { text-decoration: underline; }
.procto-gallery .procto-motion {
  border-color: #294c68;
  background: #102b43;
}
.procto-gallery .procto-motion :is(h4, p, small) { color: #eaf5ff; }
.procto-motion .eyebrow { color: #a3e1f5; margin: 0 0 4px; }
.procto-gallery-note { margin: 0 0 7px; font-size: .875rem; color: #455e72; }
.procto-retro-link { min-height: 42px; }
@media (max-width: 670px) {
  .procto-gallery { grid-template-columns: minmax(0, 1fr); }
  .procto-media-frame { height: clamp(205px, 63vw, 305px); }
}
.procto-sensation { margin: 14px 0 0; line-height: 1.45; }
.procto-sensation strong { display: block; color: #132f48; }
.procto-photo-dialog {
  width: min(94vw, 720px);
  max-height: 92vh;
  padding: 14px;
  border: 1px solid #9ab5c8;
  border-radius: 13px;
  background: #f6fbff;
  color: #152d43;
}
.procto-photo-dialog::backdrop { background: #0d1f32bf; }
.procto-photo-dialog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px 12px;
  margin-bottom: 10px;
}
.procto-photo-dialog-head h4,
.procto-photo-dialog p { margin: 0; }
.procto-photo-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #162c41;
  margin-bottom: 8px;
}
