.home-hero,
.latest-videos,
.travel-stories,
.home-banner {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-hero {
    position: relative;
    --home-hero-default-height: clamp(280px, 36vh, 330px);
    min-height: var(--home-hero-default-height);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-hero-overlay,
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 10, 15, 0.58) 0%, rgba(5, 10, 15, 0.36) 24%, rgba(5, 10, 15, 0.5) 58%, rgba(5, 10, 15, 0.88) 100%),
        linear-gradient(90deg, rgba(5, 10, 15, 0.28) 0%, rgba(5, 10, 15, 0.08) 34%, rgba(5, 10, 15, 0.08) 66%, rgba(5, 10, 15, 0.36) 100%);
}

.home-hero>.container-wide,
.hero-slide-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: calc(var(--home-hero-default-height) - 150px);
}

.hero-kicker {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}

.hero-title {
    font-family: var(--font-script);
    font-size: 52px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.12);
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.94);
}

.hero-subtitle--quote {
    letter-spacing: 0;
    text-transform: none;
}

.hero-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 110px;
}

.hero-tabs button {
    min-width: 74px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition);
}

.hero-tabs button.is-active,
.hero-tabs button:hover {
    background: var(--color-accent);
    color: #081117;
}

.hero-search {
    width: min(100%, 980px);
    margin-top: 30px;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 160px;
    gap: 14px;
    border-radius: 24px;
    background: rgba(10, 14, 20, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
}

.hero-search-item {
    display: grid;
    gap: 8px;
    text-align: left;
}

.hero-search-item label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.54);
}

.hero-search-item input {
    height: 54px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.hero-search-item input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.hero-search-button {
    align-self: end;
    height: 54px;
    border-radius: 16px;
    background: var(--color-accent-strong);
    color: #101112;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero--slider,
.home-hero--grid {
    min-height: auto;
    padding: 110px 0 0;
}

.home-hero--slider {
    --hero-slider-height: clamp(310px, 39vh, 490px);
    min-height: var(--hero-slider-height);
    padding: 0;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-slider-track {
    display: flex;
    transition: transform 0.65s ease;
    will-change: transform;
}

.hero-slide {
    position: relative;
    min-width: 100%;
    min-height: var(--hero-slider-height);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-slide-content {
    width: 100%;
    min-height: var(--hero-slider-height);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    padding: 0 32px 68px;
}

.hero-slide-title,
.hero-grid-title {
    font-size: clamp(3.4rem, 8vw, 7rem);
    line-height: 0.95;
    color: #fff;
}

.home-hero--slider .hero-slide-title-link {
    max-width: min(720px, 82vw);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.8vw, 1.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero-slide-subtitle,
.hero-grid-subtitle {
    width: 100%;
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
}

.home-hero--slider .hero-slide-subtitle {
    width: min(620px, 78vw);
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.hero-slide-title-link {
    display: inline-block;
    color: #fff;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.12);
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 54px;
    height: 54px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    line-height: 1;
    transform: translateY(-50%);
    transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.hero-slider-arrow svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
    flex: 0 0 auto;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
    background: var(--color-accent);
    color: #081117;
}

.hero-slider-arrow--prev {
    left: 26px;
}

.hero-slider-arrow--next {
    right: 26px;
}

.hero-slide-title-link:hover,
.hero-slide-title-link:focus-visible {
    color: #fff;
    opacity: 0.9;
}

.hero-grid-shell {
    width: min(100% - 32px, 1320px);
    padding-bottom: 88px;
}

.hero-grid-heading {
    text-align: center;
    margin: 0 auto 34px;
}

.hero-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.hero-category-card {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 22px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 14, 21, 0.04) 0%, rgba(8, 14, 21, 0.72) 100%);
}

.hero-category-card span {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.hero-category-card:hover,
.hero-category-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(5, 13, 20, 0.24);
}

.home-categories {
    position: relative;
}

.home-hero--slider+.home-categories {
    margin-top: -38px;
    padding-top: 0;
}

.home-hero+.home-categories {
    margin-top: 0;
    padding-top: 70px;
}

.home-categories-shell {
    position: relative;
    z-index: 2;
}

.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-categories--columns-4 .home-categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-categories-popular-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.home-categories-popular-card {
    text-align: center;
}

.home-categories-popular-card__image {
    display: block;
    aspect-ratio: 1.45;
    overflow: hidden;
    margin-bottom: 16px;
}

.home-categories-popular-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-categories-popular-card__image:hover img,
.home-categories-popular-card__image:focus-visible img {
    transform: scale(1.04);
}

.home-categories-popular-card__category {
    display: inline-block;
    margin-bottom: 12px;
    color: #668263;
    font-size: 15px;
    font-weight: 600;
}

.home-categories-popular-card__title {
    margin: 0;
    font-size: 18px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.home-categories-popular-card__title a {
    color: inherit;
}

.home-categories-popular-card__title a:hover,
.home-categories-popular-card__title a:focus-visible {
    color: var(--color-accent);
}

.home-categories-popular-card__description {
    margin-top: 10px;
    color: rgba(21, 26, 34, 0.66);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.6em * 2);
}

.home-category-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 220px;
    aspect-ratio: 1.45;
    border-radius: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-categories--square .home-category-card {
    aspect-ratio: 1;
}

.home-category-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 11, 16, 0.18) 0%, rgba(6, 11, 16, 0.58) 100%),
        rgba(6, 11, 16, 0.18);
    transition: background 0.35s ease, transform 0.35s ease;
}

.home-category-card__title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.16;
    text-align: center;
}

.home-category-card:hover,
.home-category-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(5, 13, 20, 0.2);
}

.home-category-card:hover .home-category-card__overlay,
.home-category-card:focus-visible .home-category-card__overlay {
    transform: scale(1.02);
    background:
        linear-gradient(180deg, rgba(6, 11, 16, 0.12) 0%, rgba(6, 11, 16, 0.44) 100%),
        rgba(11, 179, 196, 0.12);
}

.post-filter-shell {
    width: min(calc(100% - 32px), var(--container-posts));
    margin: 0 auto;
}

.post-filter-bar {
    width: 100%;
    margin: 0 auto 42px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.post-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.post-filter-mobile {
    display: none;
    position: relative;
}

.post-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 24px;
    background: #423d5f;
    color: rgba(255, 255, 255, 0.94);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    border: 0;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.post-filter-chip.is-active {
    background: #19d6f6;
    color: #091117;
}

.post-sort-form {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
}

.sort-switch {
    position: relative;
    display: inline-flex;
    width: 52px;
    height: 30px;
}

.sort-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.sort-switch span {
    position: relative;
    width: 100%;
    background: #474161;
    transition: background var(--transition);
}

.sort-switch span::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px;
    height: 20px;
    background: #fff;
    transition: transform var(--transition);
}

.sort-switch input:checked+span {
    background: #72698f;
}

.sort-switch input:checked+span::after {
    transform: translateX(22px);
}

.sort-divider {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, 0.34);
}

.post-filter-mobile-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
}

.post-filter-mobile-toggle span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #99a9b5;
}

.post-filter-mobile-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 50px rgba(8, 15, 24, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.post-filter-mobile.is-open .post-filter-mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 1;
}

.post-filter-mobile-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border: 0;
    border-top: 1px solid rgba(77, 102, 128, 0.18);
    background: transparent;
    color: #587091;
    font-size: 18px;
    text-align: left;
}

.post-filter-mobile-item:first-child {
    border-top: 0;
    box-shadow: inset 4px 0 0 #19d6f6;
}

.post-filter-mobile-item::after {
    content: '\203A';
    color: #7f95b0;
    font-size: 20px;
}

.post-filter-mobile-item.is-active {
    color: #2f4160;
}

.post-grid {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 24px;
}

.home-post-grid--masonry {
    margin-top: 0;
    padding-top: 36px;
}

.post-grid--masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
}

.post-grid--masonry .travel-card--masonry {
    display: block;
    width: 100%;
    margin: 0;
    background: #ffffff;
    color: #141922;
    box-shadow: 0 18px 36px rgba(6, 12, 18, 0.16);
}

.travel-card-masonry-frame {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
}

.travel-card-masonry-media {
    display: block;
    overflow: hidden;
    background: #111;
    aspect-ratio: 1.08;
    height: 190px;
    width: 100%;
}

.travel-card-masonry-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.travel-card-masonry-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 18px 18px 20px;
    background: #ffffff;
}

.post-grid--masonry .travel-card-meta {
    color: rgba(20, 25, 34, 0.5);
    margin-top: 0;
}

.post-grid--masonry .travel-card-meta span::before {
    background: rgba(20, 25, 34, 0.35);
}

.post-grid--masonry .travel-card h3 {
    color: #121722;
    margin-top: 12px;
}

.post-grid--masonry .travel-card-excerpt {
    color: rgba(20, 25, 34, 0.66);
}

.post-grid--masonry .travel-card-footer {
    margin-top: auto;
    padding-top: 16px;
}

.post-grid--masonry .travel-card:hover h3,
.post-grid--masonry .travel-card-frame:hover h3,
.post-grid--masonry .travel-card-masonry-frame:hover h3 {
    color: var(--color-accent);
}

.post-grid--masonry .travel-card-link {
    color: #151b25;
}

.post-grid--masonry .travel-card:hover .travel-card-link,
.post-grid--masonry .travel-card-frame:hover .travel-card-link,
.post-grid--masonry .travel-card-link:hover,
.post-grid--masonry .travel-card-link:focus-visible {
    color: #151b25;
}

.travel-card--reveal {
    opacity: 0;
    transform: translateY(48px);
}

.travel-card--reveal.is-visible {
    animation: cardRise 0.7s ease forwards;
    animation-delay: calc(var(--card-order, 0) * 0.12s);
}

.travel-card-frame {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.travel-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.08;
    background: #111;
    width: 100%;
    height: auto;
}

.travel-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.travel-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 188, 212, .75) 0%, rgba(53, 64, 147, .75) 100%) !important;
    transform: none;
    opacity: 0;
    transition: none;
}

.travel-card-plus {
    display: none;
}

.travel-card:hover .travel-card-media img,
.travel-card-frame:hover .travel-card-media img {
    transform: scale(1.04);
}

.travel-card-meta {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    font-size: 12px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.5);
}

.travel-card-meta span {
    position: relative;
    padding-left: 0;
}

.travel-card-meta span::before {
    display: none;
}

.travel-card h3 {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    transition: color var(--transition);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.travel-card:hover h3,
.travel-card-frame:hover h3 {
    color: var(--color-accent);
}

.travel-card-excerpt {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.65em * 2);
}

.travel-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: auto;
    padding-top: 16px;
}

.travel-card-link {
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, 0.82);
}

.travel-card:hover .travel-card-link,
.travel-card-frame:hover .travel-card-link,
.travel-card-link:hover,
.travel-card-link:focus-visible {
    color: rgba(255, 255, 255, 0.82);
    opacity: 1;
}

.grid-pagination {
    margin-top: 44px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.grid-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 8px;
    font-size: 12px;
    font-weight: 700;
}

.grid-pagination .page-numbers.is-active {
    background: var(--color-accent);
    color: #081117;
}

.post-empty-state {
    grid-column: 1 / -1;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(48px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.latest-videos {
    padding: 110px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.video-card {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.video-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.06) 0%, rgba(10, 12, 16, 0.78) 100%);
}

.video-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
}

.play-button span {
    display: inline-block;
    margin-left: 4px;
    width: 0;
    height: 0;
    border-left: 15px solid #111;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.video-card-content {
    position: absolute;
    z-index: 1;
    left: 22px;
    right: 22px;
    bottom: 22px;
}

.video-card-content small {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.66);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-card-content h3 {
    font-size: 22px;
    font-weight: 500;
}

.latest-post-card .latest-post-card-link {
    display: block;
    width: 100%;
    height: 100%;
}

.latest-post-card .video-card-content small {
    color: rgba(255, 255, 255, 0.74);
}

.latest-post-card .video-card-content h3 {
    line-height: 1.3;
}

.latest-post-card.video-card::after {
    background: linear-gradient(180deg, rgba(7, 11, 16, 0.14) 0%, rgba(7, 11, 16, 0.34) 38%, rgba(7, 11, 16, 0.82) 100%);
}

.latest-post-card .video-card-content {
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.latest-post-card .video-card-content small,
.latest-post-card .video-card-content h3 {
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.latest-videos--card {
    padding: 40px 0;
}

.latest-videos--slider {
    padding: 40px 0;
}

.latest-post-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.latest-post-simple-card {
    display: flex;
    flex-direction: column;
}

#latest-videos .video-card {
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.latest-post-simple-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1.18;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

#latest-videos .latest-post-simple-card__media {
    aspect-ratio: 16 / 9;
}

.latest-post-simple-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.latest-post-simple-card:hover .latest-post-simple-card__media img,
.latest-post-simple-card:focus-within .latest-post-simple-card__media img {
    transform: scale(1.04);
}

.latest-post-simple-card__body {
    padding: 18px 8px 0;
    text-align: center;
}

.latest-post-simple-card__body small {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.latest-post-simple-card__body h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.latest-post-simple-card__body h3 a {
    color: inherit;
}

.latest-post-simple-card__body h3 a:hover,
.latest-post-simple-card__body h3 a:focus-visible {
    color: var(--color-accent);
}

.latest-post-simple-card__date {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    font-weight: 300;
}

.latest-posts-slider {
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.latest-posts-slider.is-dragging {
    cursor: grabbing;
}

.latest-posts-slider-track {
    display: flex;
    gap: 28px;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.latest-posts-slider.is-dragging .latest-posts-slider-track {
    transition: none;
}

.latest-post-simple-card--slide {
    flex: 0 0 calc((100% - 84px) / 4);
}

.latest-posts-slider-dots {
    position: relative;
    z-index: 3;
    margin-top: 26px;
}

.popular-destinations {
    padding: 40px 0;
}

.destination-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
    align-items: stretch;
}

.destination-feature {
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background-size: cover;
    background-position: center;
}

.destination-layout--default .destination-feature {
    min-height: clamp(240px, 24vw, 320px);
    height: auto;
}

.destination-feature span {
    font-family: var(--font-script);
    font-size: 3.8rem;
    line-height: 1;
}

.destination-list {
    display: grid;
    gap: 18px;
}

.destination-list--top {
    align-self: end;
}

.destination-layout--swapped .destination-feature--top {
    order: 2;
}

.destination-layout--swapped .destination-list--top {
    order: 1;
}

.destination-layout--swapped .destination-feature--bottom {
    order: 3;
}

.destination-layout--swapped .destination-list--bottom {
    order: 4;
}

.destination-post {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px;
    /* padding-bottom: 18px; */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: center;
}

.destination-post-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.destination-layout--default .destination-post {
    grid-template-columns: 180px 1fr;
    gap: 16px;
}

.destination-post-thumb img,
.destination-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-post small {
    display: inline-block;
    margin-bottom: 6px;
    color: #7dd9ff;
    text-transform: uppercase;
    font-size: 14px;
}

.destination-post h3 {
    font-size: 17px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.destination-post h3 a:hover {
    color: var(--color-accent);
}

.destination-post p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.travel-stories {
    padding: 40px 0;
}

.stories-slider {
    overflow: hidden;
}

.stories-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    transition: transform 0.4s ease;
}

.story-card {
    text-align: center;
    padding: 16px 10px;
}

.story-card img {
    width: 90px;
    height: 90px;
    margin: 0 auto 14px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.story-card h3 {
    font-size: 18px;
    font-weight: 600;
}

.story-card h3 a,
.stories-author-grid-card h3 a,
.stories-inline-card h3 a {
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0;
    min-height: 0;
    color: inherit;
}

.story-card h3 a:hover,
.story-card h3 a:focus-visible,
.stories-author-grid-card h3 a:hover,
.stories-author-grid-card h3 a:focus-visible,
.stories-inline-card h3 a:hover,
.stories-inline-card h3 a:focus-visible {
    color: inherit;
    opacity: 0.9;
}

.story-card small {
    display: block;
    margin-top: 4px;
    color: #ffca27;
}

.story-card p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.stories-dots {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.stories-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
}

.stories-dots button.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--color-accent-strong);
}

.latest-posts-slider-dots button.is-active {
    width: 10px;
    border-radius: 50%;
    background: rgba(25, 214, 246, 0.78);
}

.stories-authors-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 42px 30px;
}

.stories-author-grid-card {
    text-align: left;
}

.stories-author-grid-card img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.stories-author-grid-card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
}

.stories-author-grid-card p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
}

.stories-author-grid-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 34px;
    margin-top: 16px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}

.stories-marquee-slider {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.stories-marquee-slider.is-dragging {
    cursor: grabbing;
}

.stories-marquee-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s ease;
    will-change: transform;
}

.stories-marquee-slider.is-dragging .stories-marquee-track {
    transition: none;
}

.stories-inline-card {
    flex: 0 0 calc((100% - 60px) / 3);
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 20px;
    align-items: start;
}

.stories-inline-card img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
}

.stories-inline-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: #19d6f6;
}

.stories-inline-card p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.6;
}

.stories-inline-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 34px;
    margin-top: 16px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}

.home-editorial {
    padding: 42px 0 56px;
    background: linear-gradient(180deg, rgba(17, 24, 33, 0) 0%, rgba(17, 24, 33, 0.36) 100%);
}

.home-editorial-shell {
    display: grid;
    gap: 22px;
}

.home-editorial-heading span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.54);
}

.home-editorial-heading h2 {
    font-size: clamp(2rem, 3vw, 3.1rem);
    font-weight: 600;
    color: #fff;
}

.home-editorial-content {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.9;
}

.home-editorial-content.is-collapsed {
    max-height: 230px;
    overflow: hidden;
    position: relative;
}

.home-editorial-content.is-collapsed::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 92px;
    background: linear-gradient(180deg, rgba(11, 15, 20, 0) 0%, rgba(11, 15, 20, 0.98) 100%);
}

.home-editorial-content h1,
.home-editorial-content h2,
.home-editorial-content h3,
.home-editorial-content h4 {
    margin: 0 0 14px;
    color: #fff;
    line-height: 1.25;
}

.home-editorial-content p,
.home-editorial-content ul,
.home-editorial-content ol,
.home-editorial-content blockquote {
    margin: 0 0 16px;
    text-align: justify;
}

.home-editorial-toggle {
    margin-top: 22px;
    display: block;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    background: rgba(25, 214, 246, 0.14);
    color: #7de4f7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background var(--transition), transform var(--transition);
    margin: 20px auto 0;
}

.home-editorial-toggle:hover,
.home-editorial-toggle:focus-visible {
    background: rgba(25, 214, 246, 0.24);
}

.home-banner {
    padding: 120px 0 110px;
}

.banner-content {
    text-align: center;
}

.banner-content span {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.64);
}

.banner-content p {
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.76);
}

.featured-mosaic {
    padding: 40px 0;
}

.featured-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 34px 20px;
}

.featured-mosaic-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.featured-mosaic-card--large {
    grid-column: span 4;
}

.featured-mosaic-card--small {
    grid-column: span 3;
}

.featured-mosaic-card__media {
    display: block;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.featured-mosaic-card--large .featured-mosaic-card__media {
    aspect-ratio: 16 / 9;
}

.featured-mosaic-card--small .featured-mosaic-card__media {
    aspect-ratio: 16 / 9;
}

.featured-mosaic-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-mosaic-card__body {
    padding-top: 18px;
}

.featured-mosaic-card__body h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.featured-mosaic-card__body h3 a {
    color: inherit;
}

.featured-mosaic-card__body h3 a:hover,
.featured-mosaic-card__body h3 a:focus-visible {
    color: var(--color-accent);
}

.featured-mosaic-card__excerpt {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.6em * 2);
}

.featured-mosaic-card__date {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 4px 10px;
    color: rgba(61, 63, 88, 0.82);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.banner-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.banner-socials a {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.banner-socials a:hover,
.banner-socials a:focus-visible {
    transform: translateY(-4px);
    background: var(--social-brand);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.banner-socials svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

@media (max-width: 1100px) {
    .post-filter-bar {
        align-items: center;
    }

    .post-category-filters,
    .post-sort-form {
        display: none;
    }

    .post-filter-mobile {
        display: block;
    }

    .post-filter-bar {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .hero-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-categories-grid,
    .home-categories--columns-4 .home-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-categories-popular-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-grid,
    .post-grid--masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-grid,
    .stories-authors-grid,
    .stories-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-mosaic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-mosaic-card--large,
    .featured-mosaic-card--small {
        grid-column: span 1;
    }

    .latest-post-simple-card--slide {
        flex-basis: calc((100% - 28px) / 2);
    }

    .stories-marquee-track {
        gap: 24px;
    }

    .stories-inline-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .latest-post-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .destination-layout--default .destination-post {
        grid-template-columns: 150px 1fr;
    }

    .subscribe-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .subscribe-form {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .home-hero {
        --home-hero-default-height: 72vh;
        min-height: var(--home-hero-default-height);
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .hero-content {
        min-height: calc(var(--home-hero-default-height) - 60px);
    }

    .hero-search,
    .home-categories-grid,
    .post-grid,
    .post-grid--masonry,
    .video-grid,
    .latest-post-cards-grid,
    .destination-layout,
    .stories-authors-grid,
    .stories-track,
    .featured-mosaic-grid,
    .subscribe-form {
        grid-template-columns: 1fr;
    }

    .latest-post-simple-card--slide {
        flex-basis: 100%;
    }

    .stories-marquee-track {
        gap: 0;
    }

    .stories-inline-card {
        flex-basis: 100%;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stories-inline-card img {
        margin: 0 auto;
    }

    .post-sort-form {
        gap: 14px;
        flex-wrap: wrap;
    }

    .sort-divider {
        display: none;
    }

    .hero-subtitle {
        font-size: 16px;
        padding-inline: 16px;
    }

    .home-hero--slider,
    .home-hero--grid {
        padding-top: 90px;
        padding-bottom: 0;
    }

    .home-hero--slider {
        --hero-slider-height: 62vh;
        min-height: var(--hero-slider-height);
        padding-top: 0;
    }

    .hero-slide {
        min-height: var(--hero-slider-height);
        padding: 0;
    }

    .hero-slide-content {
        min-height: var(--hero-slider-height);
        padding: 0 18px 28px;
    }

    .hero-slide-title,
    .hero-grid-title {
        font-size: clamp(2.8rem, 14vw, 4.2rem);
    }

    .home-hero--slider .hero-slide-title-link {
        max-width: min(100%, 92vw);
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        line-height: 1.14;
    }

    .hero-slide-subtitle,
    .hero-grid-subtitle {
        font-size: 15px;
    }

    .home-hero--slider .hero-slide-subtitle {
        width: min(100%, 92vw);
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.5;
        padding-inline: 0;
    }

    .hero-slider-arrow {
        width: 44px;
        height: 44px;
    }

    .hero-slider-arrow svg {
        width: 20px;
        height: 20px;
    }

    .hero-slider-arrow--prev {
        left: 14px;
    }

    .hero-slider-arrow--next {
        right: 14px;
    }

    .hero-category-grid {
        grid-template-columns: 1fr;
    }

    .hero-category-card {
        min-height: 220px;
    }

    .home-categories {
        margin-top: 0;
        padding-top: 46px;
    }

    .home-category-card {
        min-height: 220px;
    }

    .home-categories-popular-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-categories-popular-card__title {
        font-size: 24px;
    }

    .travel-card-media,
    .travel-card-masonry-media,
    .destination-feature,
    .video-card {
        aspect-ratio: auto;
        min-height: 240px;
    }

    .travel-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .destination-post {
        grid-template-columns: 90px 1fr;
    }

    .destination-layout--default .destination-feature {
        min-height: 240px;
        height: auto;
    }

    .destination-layout--default .destination-post {
        grid-template-columns: 120px 1fr;
    }

    .subscribe-form {
        display: grid;
    }

    .subscribe-form button {
        height: 56px;
    }
}

/* ============================================================
   HERO GIẢM CHIỀU CAO 1/2 cho trang phụ (category, search,
   author, page/chính sách) — trang chủ giữ nguyên
   ============================================================ */

.category-page-hero,
.search-results-hero,
.author-page-hero,
.policy-page-hero {
    --home-hero-default-height: clamp(280px, 36vh, 430px);
    min-height: var(--home-hero-default-height);
    padding-top: 80px;
    padding-bottom: 28px;
}

/* Hero content cũng giảm theo */
.category-page-hero .hero-content,
.search-results-hero .hero-content,
.policy-page-hero .policy-page-hero__content {
    min-height: calc(var(--home-hero-default-height) - 80px);
}

/* Author hero: padding thay vì min-height */
.author-page-hero {
    padding: 90px 0 48px;
}

/* ============================================================
   OVERLAY TỐI PHẦN HEADER — áp dụng cho tất cả hero trang phụ
   Dùng ::before để không cần thêm element HTML
   ============================================================ */

.category-page-hero::before,
.search-results-hero::before,
.author-page-hero::before,
.policy-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Gradient tối mạnh ở trên (vùng header), mờ dần xuống giữa */
    background: linear-gradient(180deg,
            rgba(5, 10, 15, 0.72) 0%,
            rgba(5, 10, 15, 0.50) 30%,
            rgba(5, 10, 15, 0.35) 60%,
            rgba(5, 10, 15, 0.70) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Đảm bảo nội dung hero nằm trên overlay */
.category-page-hero>*,
.search-results-hero>*,
.author-page-hero>*,
.policy-page-hero>* {
    position: relative;
    z-index: 1;
}
.featured-mosaic .section-heading p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
