.trip-page {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    max-width: 1900px;
}

/* Lewa część strony */
.trip-left {
    flex: 1;
    padding: 40px;
}

/* Panel boczny po prawej */
.trip-right {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    /* lub 100% jeśli chcesz rozciągać względem trip-page */
    width: 300px;
    display: flex;
    flex-direction: column;
}

.trip-right-top {
    flex: 0 0 75%;
}

.trip-right-bottom {
    flex: 0 0 25%;
}

/* Reszta elementów z poprzedniego layoutu (przypominam tylko sekcje) */

.trip-header {
    text-align: center;
    margin-bottom: 40px;
}

.trip-page h3 {
    font-size: 2em;
    font-family: "Bodoni Moda";
    margin: 20px auto;
}

.trip-title {
    font-size: 2.5em;
}

.trip-description {
    max-width: 800px;
    margin: auto;
    color: #555;
}

.trip-stats {
    display: flex;
    gap: 20px;
    background: #4c9139;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 15px;
}

.trip-stat {
    flex: 1;
    min-width: 200px;
    color: white;
    padding: 5px;
    border-right: 1px solid white;
    text-align: center;
}

.trip-stat:last-child {
    border-right: none;
}

.trip-value-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}



.trip-icon {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

.trip-value {
    font-size: 1.6em;
    white-space: nowrap;
    font-weight: bold;
}

.trip-label {
    font-size: 1em;
    margin-top: 5px;
}

.trip-map img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 40px;
}

.trip-gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.trip-photo {
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.trip-details {
    max-width: 800px;
    margin: auto;
}

.trip-details h3 {
    margin-bottom: 20px;
}

.trip-footer {
    margin-top: 60px;
    text-align: center;
    color: #999;
}


.trip-timeline {
    position: relative;
    margin: 20px;
    padding-left: 30px;
    border-left: 2px dashed #6b8b47;
}

.trip-timeline-item {
    position: relative;
    cursor: pointer;
    padding-bottom: 40px;
    border-left: 2px dashed #6b8b47;
}

.trip-timeline-item:last-child {
    border-left: none;
}

.trip-timeline-marker {
    width: 12px;
    height: 12px;
    background-color: #6b8b47;
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: 5px;
}

.trip-timeline-content {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trip-timeline-icon {
    width: 36px;
    height: auto;
}

.trip-timeline-title {
    font-size: 0.7em;
    font-weight: 700;
    margin: 0;
}

.trip-timeline-subtitle {
    font-weight: bold;
    margin: 0;
}

.trip-timeline-distance {
    font-size: 1em;
    font-weight: normal;
    margin: 0;
}


.trip-point-title {
    font-size: 0.7em;
    font-weight: 700;
}

.trip-point-description {
    font-size: 0.7em;

}


.trip-nav-wrapper {
    margin: 10px 0 10px auto;
    z-index: 299;
    display: block;
    width: fit-content;
}

.trip-timeline-item.active-timeline-item {
    background-color: #d8f5d0;
    transition: background-color 0.3s ease;
}


@media screen and (max-width: 1070px) {
    .trip-right {
        display: none;
    }
}

@media screen and (max-width: 770px) {
    .trip-stats {
        flex-direction: column;
        align-items: stretch;
        /* EN: full width */
    }

    .trip-stat {
        border-right: none;
    }
}