/* Ajustes de noviembre de 2026. Esta hoja se edita directamente. */
.course-dialog .course-detail-photo img[src$="/laboratorio-fuego.jpg"] {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: 50% 52%;
}
.course-topic-section + .course-topic-section {
  margin-top: 28px;
}
.course-topic-section h4 {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}
.fallback-course h4 {
  margin: 20px 0 10px;
}
.page-campo .lightbox .dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  line-height: 1;
}
.page-campo .lightbox .dialog-close-label {
  display: block;
  font-size: 11px;
  line-height: 1;
}
.page-campo .lightbox .dialog-close-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.course-duration {
  align-items: flex-start;
}
.course-duration .mini-label {
  flex: 0 0 35%;
}
.course-duration strong {
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: right;
}
.course-objective {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.course-objective h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.course-objective p {
  font-size: 14px;
  line-height: 1.75;
}
.course-overview h3,
.course-evaluation h3 {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.4;
}
.course-overview p {
  font-size: 14px;
  line-height: 1.8;
}
.course-overview p + p {
  margin-top: 18px;
}
.course-evaluation {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.course-evaluation ul {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
}
.course-evaluation li + li {
  margin-top: 8px;
}
.fallback-course h3,
.fallback-course p {
  margin: 14px 0;
}
.page-somos .page-hero .display,
.page-campo .page-hero .display {
  max-width: 960px;
  font-size: clamp(48px, 5.7vw, 90px);
  line-height: 1.06;
}
.page-somos .page-hero .hero-word,
.page-campo .page-hero .hero-word {
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.institution-grid > div,
.instructor-heading > *,
.footer-top > div {
  min-width: 0;
}
.institution-grid .display,
.instructor-heading .display,
.safety-grid .display,
.footer-top .display {
  overflow-wrap: break-word;
  text-wrap: balance;
}
.instructor-heading .display {
  font-size: clamp(38px, 4.3vw, 68px);
}
.institution-grid .display {
  font-size: clamp(42px, 4.8vw, 76px);
}
.footer-top .display {
  font-size: clamp(36px, 4.7vw, 72px);
}
@media (max-width: 900px) {
  .page-somos .page-hero .display,
  .page-campo .page-hero .display {
    font-size: clamp(42px, 6.5vw, 64px);
  }
}
@media (max-width: 600px) {
  .contact-info h2 {
    font-size: clamp(38px, 12vw, 60px);
    overflow-wrap: break-word;
  }
  .page-somos .page-hero .display,
  .page-campo .page-hero .display {
    font-size: clamp(29px, 8.7vw, 47px);
    max-width: 100%;
    line-height: 1.12;
  }
  .section .institution-grid .display,
  .section .instructor-heading .display {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.15;
    letter-spacing: -.035em;
  }
  .footer-top .display {
    font-size: clamp(28px, 8.2vw, 42px);
    line-height: 1.12;
  }
}
