.hte-timeline {
  --hte-accent: #d6a94d;
  --hte-nav-text: #777;
  --hte-active-text: #171717;
  --hte-section-gap: 120px;
  width: 100%;
  color: #202124;
  position: relative;
}

.elementor-widget-hte_history_timeline {
    width: 100%;
}

.hte-timeline *, .hte-timeline *::before, .hte-timeline *::after { box-sizing: border-box; }
.hte-kicker { margin: 0 auto 24px; width: 1408px; max-width: 100%; padding: 0 10px; }
.hte-nav { z-index: 20; width: 100%; background: #CDD3E5; }
.hte-nav.is-sticky { position: sticky; top: 70px; }
.hte-nav-track { display: flex; align-items: stretch; justify-content: space-between; gap: 12px; width: 1408px; padding: 0 10px; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 auto; }
.hte-nav-track::-webkit-scrollbar { display: none; }
.hte-nav-item { appearance: none; border: 0; background: transparent!important; color: #1C3F8A; cursor: pointer; display: flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 10px; min-height: 66px; padding: 5px 16px; font-size: calc(max(20 * var(--f), 28 * var(--u)) + clamp(20px, 2.4vw, 28px) * var(--t)); font-weight: 400; line-height: 1.3; text-align: center; transition: color .25s ease, border-color .25s ease; }
.hte-nav-item:hover, .hte-nav-item:focus-visible { color: #1C3F8A; background: transparent!important; }
.hte-nav-item:focus-visible { outline: 2px solid var(--hte-accent); outline-offset: -4px; }
.hte-nav-item.is-active .hte-nav-label { text-decoration: underline;}
.hte-nav-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: currentColor; opacity: .35; transition: background .25s ease, opacity .25s ease, transform .25s ease; }
.hte-periods { display: block; width: 1408px; max-width: 100%; margin: 0 auto; padding: 55px 10px 0; }
.hte-period { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); align-items: center; gap: clamp(32px, 6vw, 90px); padding: 0 0 30px; scroll-margin-top: 100px; opacity: 1; transition: border-color .35s ease; }
.hte-period-copy { min-width: 0; }
.hte-eyebrow { margin-bottom: 12px; color: var(--hte-accent); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hte-period-date { margin-bottom: 16px; position: relative; padding-top: 50px; }
.hte-period-date:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: #1C3F8A;
    width: 27px;
    height: 8px;
}
.hte-period-title { margin: 0 0 10px; }
.hte-period-title h2 { margin-bottom: 0; }
.hte-period-intro { margin: 0 0 30px; max-width: 720px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; }
.hte-period-content { font-size: 15px; line-height: 1.75; }
.hte-period-content h1, .hte-period-content h2, .hte-period-content h3, .hte-period-content h4 { margin: 1.7em 0 .65em; line-height: 1.2; }
.hte-period-content h3 { font-size: 22px; }
.hte-period-content p { margin: 0 0 25px; }
.hte-period-content img { max-width: 100%; height: auto; }
.hte-period-content a { color: var(--hte-accent); text-decoration: underline; }
.hte-period-media { margin: 0; width: 100%; }
.hte-period-media img { display: block; width: 100%; height: auto; object-fit: cover; }
@media (max-width: 767px) {
  .hte-nav-track { justify-content: flex-start; gap: 4px; flex-direction: column; padding: 0; }
  .hte-nav-item { min-height: 40px; padding: 12px 14px 10px; white-space: nowrap; border-bottom: 1px solid #F2F2F2; }
  .hte-periods { padding: 55px 20px 0; }
  .hte-period { grid-template-columns: 1fr; gap: 28px; }
  .hte-period-media { grid-row: 1; }
  .hte-period-title { font-size: clamp(29px, 9vw, 42px); }
  .hte-period-intro { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hte-timeline *, .hte-timeline *::before, .hte-timeline *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Two-column historical media and YouTube lightbox */
.hte-period-media-grid { display: grid; grid-template-columns: 1fr; gap: 45px; width: 100%; }
.hte-period-media-grid .hte-period-media { min-width: 0; margin: 0; }
.hte-period-media-grid .hte-period-media img,
.hte-video-trigger > img { display: block; width: 100%; height: auto; object-fit: cover; }
.hte-video-trigger { appearance: none; position: relative; display: block; width: 100%; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #111; color: #fff; cursor: pointer; text-align: left; }
.hte-video-trigger:focus-visible { outline: 3px solid var(--hte-accent); outline-offset: 4px; }
.hte-video-placeholder { display: block; width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #252525, #555); }
.hte-video-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.12); transition: background .25s ease; }
.hte-video-play svg { width: 64px; height: 64px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.hte-video-play circle { fill: rgba(0,0,0,.62); stroke: #fff; stroke-width: 2; }
.hte-video-play path { fill: #fff; }
.hte-video-trigger:hover .hte-video-play { background: rgba(0,0,0,.28); }
.hte-video-label { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 5px #000; }
.hte-video-lightbox { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.88); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.hte-video-lightbox.is-open { opacity: 1; visibility: visible; }
.hte-video-lightbox-dialog { position: relative; width: min(90vw, 960px); max-width: 960px; }
.hte-video-lightbox-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.hte-video-lightbox-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.hte-video-lightbox-close { position: absolute; top: -48px; right: 0; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: #fff; font: 400 38px/1 Arial, sans-serif; cursor: pointer; }
.hte-video-lightbox-close:hover { color: var(--hte-accent, #d6a94d); }
body.hte-lightbox-open { overflow: hidden; }
@media (max-width: 767px) {
  .hte-period-media-grid.is-double { grid-template-columns: 1fr; }
  .hte-video-lightbox { padding: 18px; }
  .hte-video-lightbox-dialog { width: 100%; }
  .hte-video-lightbox-close { top: -44px; }
  .hte-periods.cir-contenedor {
    padding: 55px 20px 0;
  }
}
@media (prefers-reduced-motion: reduce) { .hte-video-lightbox { transition: none; } }

@media (max-width: 1023px) {
    .hte-period {
        grid-template-columns: 1fr;
    }
}