/* ==========================================================================
   Iguazu Noticias — Itinerary
   Dashed vertical timeline with a sticky photo and note beside it.
   ========================================================================== */

.ig-timeline {
    position: relative;
}

/* The dashed spine, inset so it runs through the middle of the dots. */
.ig-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 10px;
    bottom: 10px;
    border-left: 2px dashed var(--neutral-200);
}

.ig-timeline__item {
    position: relative;
    padding: 0 0 var(--space-6) var(--space-10);
}

.ig-timeline__dot {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green-400);
    border: 3px solid #fff;
    box-shadow: var(--shadow-press);
}

.ig-timeline__item--optional .ig-timeline__dot {
    background: var(--magenta-700);
}

.ig-timeline__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* The optional stop gets its own dashed frame, matching the optional cards in
   What's included. */
.ig-timeline__item--optional .ig-timeline__body {
    border: 1.5px dashed var(--magenta-700);
    border-radius: var(--radius);
    padding: 14px 16px;
}

.ig-timeline__head {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ig-timeline__time {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--green-700);
}

.ig-timeline__item--optional .ig-timeline__time {
    color: var(--magenta-800);
}

.ig-timeline__title {
    font-family: var(--font-display);
    font-size: 16.5px;
}

.ig-timeline__text {
    max-width: 58ch;
    font-size: 14px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Sticky aside
   -------------------------------------------------------------------------- */

.ig-itinerary__aside {
    position: sticky;
    /* Clear of the sticky section nav. */
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ig-itinerary__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-card);
}

.ig-itinerary__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The note callout's own rules moved to components/callout.css when the How to
   Plan guide needed callouts of its own. This section renders
   .ig-callout.ig-callout--note; nothing about it lives here any more. */

@media (max-width: 960px) {
    .ig-itinerary__aside {
        position: static;
    }
}
