.travel-single,
.travel-archive {
    --travel-radius: 16px;
    --travel-shadow: 0 8px 64px rgba(0, 0, 0, .1);
    --travel-muted: #8a8a8a;
    --travel-wrap: 1170px;
    padding-bottom: 96px;
}
.travel-wrap {
    width: min(100% - 32px, var(--travel-wrap));
    margin-inline: auto;
}

/* Dates */
.travel-dates {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--travel-muted);
    margin: 0;
}
.travel-dates::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    margin-inline-end: 4px;
}

/* Archive */
.travel-archive__head {
    max-width: 760px;
    text-align: center;
    padding: 72px 0 48px;
}
.travel-archive__title {
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 16px;
}
.travel-archive__desc {
    font-size: 16px;
    line-height: 2;
    color: var(--travel-muted);
}
.travel-archive__desc p:last-child {
    margin-bottom: 0;
}
.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 32px 28px;
}
.travel-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: var(--travel-radius);
    overflow: hidden;
    color: inherit;
    transition: transform .4s ease, box-shadow .4s ease;
}
.travel-card__link:hover {
    color: inherit;
    transform: translateY(-6px);
    box-shadow: var(--travel-shadow);
}
.travel-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}
.travel-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.travel-card__link:hover .travel-card__image {
    transform: scale(1.06);
}
.travel-card__icon {
    position: absolute;
    inset-inline-start: 20px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}
.travel-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 24px 28px;
}
.travel-card__title {
    font-size: 22px;
    line-height: 1.5;
    margin: 0;
    transition: color .3s ease;
}
.travel-card__link:hover .travel-card__title {
    color: var(--color-primary);
}
.travel-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}
.travel-archive .pagination {
    margin-top: 56px;
}

/* Single: hero */
.travel-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(420px, 78vh, 820px);
    background: var(--color-secondary);
    overflow: hidden;
}
.travel-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.travel-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .15) 55%, transparent);
}
.travel-hero__inner {
    position: relative;
    z-index: 1;
    padding: 120px 0 64px;
    color: #fff;
}
.travel-hero__icon {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: 14px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 20px;
}
.travel-hero__title {
    color: #fff;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.3;
    margin: 0 0 16px;
}
.travel-hero .travel-dates {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
}
.travel-hero__summary {
    max-width: 680px;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 2;
    color: rgba(255, 255, 255, .9);
    margin: 16px 0 0;
}

/* Single: story */
.travel-body {
    max-width: 800px;
    padding-top: 48px;
}
.travel-body .rank-math-breadcrumb {
    font-size: 13px;
    margin-bottom: 32px;
}
.travel-content {
    font-size: 16px;
    line-height: 2.1;
    text-align: justify;
}
.travel-content img {
    border-radius: 12px;
}

/* Single: sections */
.travel-section {
    margin-top: 80px;
}
.travel-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.travel-section__title {
    position: relative;
    font-size: 28px;
    line-height: 1.5;
    padding-inline-start: 20px;
    margin: 0;
}
.travel-video .travel-section__title {
    margin-bottom: 28px;
}
.travel-section__title::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 15%;
    bottom: 15%;
    width: 5px;
    border-radius: 4px;
    background: var(--color-primary);
}

/* Single: gallery */
.travel-gallery__nav {
    display: flex;
    align-items: center;
    gap: 12px;
}
.travel-gallery__count {
    direction: ltr;
    min-width: 56px;
    text-align: center;
    font-size: 14px;
    color: var(--travel-muted);
}
.travel-gallery__btn {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: var(--color-secondary);
    cursor: pointer;
    transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.travel-gallery__btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.travel-gallery__btn.swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}
.travel-gallery__btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
[dir="rtl"] .travel-gallery__btn svg {
    transform: scaleX(-1);
}
.travel-gallery .travel-gallery__slider {
    padding-inline: max(16px, (100% - var(--travel-wrap)) / 2);
}
.travel-gallery__slider .swiper-slide {
    width: auto;
    height: clamp(240px, 58vh, 560px);
    border-radius: 12px;
    overflow: hidden;
}
.travel-gallery__slider img {
    width: auto;
    max-width: 88vw;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.travel-gallery__slider .swiper-slide:hover img {
    transform: scale(1.04);
}

/* Single: video */
.travel-video .travel-wrap {
    max-width: 960px;
}
.travel-video__player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--travel-radius);
}

/* Single: footer */
.travel-single__footer {
    max-width: 800px;
    margin-top: 72px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}
.travel-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-secondary);
}
.travel-back::before {
    content: "←";
    color: var(--color-primary);
    transition: transform .3s ease;
}
[dir="rtl"] .travel-back::before {
    content: "→";
}
.travel-back:hover {
    color: var(--color-primary);
}
.travel-back:hover::before {
    transform: translateX(-4px);
}
[dir="rtl"] .travel-back:hover::before {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .travel-archive__head {
        padding: 48px 0 32px;
    }
    .travel-hero__inner {
        padding-bottom: 40px;
    }
    .travel-hero__icon {
        width: 60px;
        height: 60px;
        padding: 12px;
    }
    .travel-content {
        font-size: 15px;
        text-align: start;
    }
    .travel-section {
        margin-top: 56px;
    }
    .travel-section__title {
        font-size: 22px;
    }
    .travel-gallery__btn {
        width: 40px;
        height: 40px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .travel-card__link,
    .travel-card__image,
    .travel-gallery__slider img {
        transition: none;
    }
}
