/* Trip cards: one column on a phone, a quiet grid on a wider screen. */
body.trv-site { overflow-x: clip; }

.trv-shell { width: min(1120px, calc(100% - 2rem)); max-width: 1120px; margin-inline: auto; }

.trv-hero__title,
.trv-section__title,
.trv-pack__title,
.trv-logo__text {
    overflow-wrap: normal;
    word-break: normal;
}

.trv-cover,
.trv-cover__img {
    width: 100%;
    display: block;
}

.trv-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1c3d5a; }
.trv-cover__img { height: 100%; max-width: none; object-fit: cover; }
.trv-cover__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(18, 24, 32, .55)); }

.trv-deal-grid,
.trv-dest-grid,
.trv-scroll {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-width: 0;
    overflow: visible;
}

.trv-deal-card,
.trv-dest-card,
.trv-pack {
    min-width: 0;
    width: auto;
    flex: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(28, 25, 23, .08);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.trv-dest-card--photo { min-height: 0; position: relative; }
.trv-dest-card--photo .trv-dest-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem 1.1rem 1.15rem;
    background: linear-gradient(180deg, transparent, rgba(12, 18, 28, .72));
}
.trv-dest-card--photo .trv-dest-card__name,
.trv-dest-card--photo h3 { color: #fff; margin: 0; }
.trv-dest-card--photo .trv-dest-card__meta,
.trv-dest-card--photo .trv-dest-card__price { color: rgba(255, 255, 255, .9); }

.trv-deal-card__body,
.trv-pack__content { padding: 1rem 1.1rem 1.15rem; }
.trv-deal-card__price strong,
.trv-pack__tag { font-size: 1.15rem; }

.trv-topbar__inner,
.trv-header__inner { min-width: 0; }

.trv-topbar__inner > span:not(.trv-topbar__links) {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 720px) {
    .trv-whatsapp {
        right: .75rem;
        bottom: .75rem;
        width: 3rem;
        height: 3rem;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .trv-whatsapp__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (min-width: 720px) {
    .trv-deal-grid,
    .trv-dest-grid,
    .trv-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .trv-deal-grid,
    .trv-scroll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
