:root {
    --countries-accent: #d96f32;
    --countries-accent-soft: #f5dfd0;
    --countries-ink: #17313a;
    --countries-muted: #6a7a80;
    --countries-surface: #fffaf4;
}

.countries-hero {
    background:
        radial-gradient(circle at top left, rgba(217,111,50,.18), transparent 35%),
        linear-gradient(135deg, #f5eee3 0%, #fffdf8 42%, #eef5f4 100%);
}

.countries-shell {
    position: relative;
    overflow: hidden;
}

.countries-shell::after {
    content: "";
    position: absolute;
    inset: auto -5rem -5rem auto;
    width: 14rem;
    height: 14rem;
    border-radius: 999px;
    background: rgba(23,49,58,.06);
    filter: blur(8px);
}

.countries-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(23,49,58,.08);
    color: var(--countries-ink);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.countries-hero-title {
    color: var(--countries-ink);
    letter-spacing: -.03em;
}

.countries-hero-lead {
    max-width: 46rem;
    color: var(--countries-muted);
}

.countries-stat {
    display: inline-flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(23,49,58,.08);
    box-shadow: 0 18px 40px rgba(23,49,58,.08);
}

.countries-stat-label {
    color: var(--countries-muted);
    letter-spacing: .08em;
}

.countries-stat-value {
    color: var(--countries-ink);
}

.countries-section {
    background: var(--countries-surface);
}

.regions-home-section {
    background:
        linear-gradient(180deg, #f9f6ef 0%, #fffdf9 52%, #f5f7f4 100%);
}

.countries-group-header {
    margin: 0 0 1.75rem;
}

.countries-group-title {
    margin: 0 0 .65rem;
    color: var(--countries-ink);
    font-size: clamp(1.85rem, 2vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.countries-group-lead {
    max-width: 58rem;
    margin: 0;
    color: var(--countries-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.countries-jump-nav {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    margin-bottom: 1rem;
}

.countries-filter-nav {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    margin: 0 0 2rem;
}

.countries-jump-label {
    color: var(--countries-muted);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.countries-jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.countries-jump-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .7rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(23,49,58,.12);
    background: rgba(255,255,255,.84);
    color: var(--countries-ink);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(23,49,58,.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

.countries-jump-link:hover {
    color: var(--countries-accent);
    border-color: rgba(217,111,50,.36);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(23,49,58,.08);
}

.countries-filter-link.is-active,
.countries-filter-link[aria-pressed="true"] {
    background: var(--countries-ink);
    color: #fff;
    border-color: rgba(23,49,58,.82);
    box-shadow: 0 14px 30px rgba(23,49,58,.16);
}

.countries-filter-link.is-active:hover,
.countries-filter-link[aria-pressed="true"]:hover {
    color: #fff;
    border-color: rgba(23,49,58,.9);
    background: #0f232a;
}

.countries-filter-link-clear {
    background: rgba(217,111,50,.12);
    border-color: rgba(217,111,50,.24);
    color: var(--countries-accent);
}

.countries-filter-link-clear:hover {
    color: #a64f20;
    border-color: rgba(217,111,50,.36);
}

.countries-filter-toggle {
    cursor: pointer;
    background: rgba(23,49,58,.08);
    border-color: rgba(23,49,58,.16);
    color: var(--countries-ink);
    font-weight: 800;
}

.countries-filter-toggle:hover {
    color: var(--countries-ink);
    border-color: rgba(23,49,58,.28);
}

.countries-filter-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    margin-right: .35rem;
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    font-size: .95rem;
    font-weight: 900;
    line-height: 1;
}

.countries-grid-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(23,49,58,.08);
    transition: transform .22s ease, box-shadow .22s ease;
}

.countries-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(23,49,58,.12);
}

.countries-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #d96f32 0%, #17313a 100%);
}

.countries-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.countries-code {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: .4rem .65rem;
    border-radius: 999px;
    background: rgba(255,255,255,.84);
    color: var(--countries-ink);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.countries-media-fallback {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    color: rgba(255,255,255,.9);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
}

.countries-card-body {
    padding: 1.4rem;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .9rem;
    position: relative;
    z-index: 2;
}

.countries-card-title {
    color: var(--countries-ink);
    font-weight: 800;
    letter-spacing: -.02em;
}

.countries-card-text {
    color: var(--countries-muted);
    margin: 0;
}

.countries-card-text p:last-child {
    margin-bottom: 0;
}

.countries-card-text a {
    position: relative;
    z-index: 3;
    color: var(--countries-accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}

.countries-card-text a:hover {
    color: #a64f20;
}

.countries-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.85rem;
    padding: .75rem 1.1rem;
    border-radius: 999px;
    background: var(--countries-ink);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(23,49,58,.14);
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
    position: relative;
    z-index: 2;
}

.countries-card-link:hover {
    background: #0f232a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(23,49,58,.18);
}

.countries-card-hitarea {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.countries-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(23,49,58,.08);
}

.countries-card-link-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.85rem;
    padding: .75rem 1.1rem;
    border-radius: 999px;
    background: #d7dfde;
    color: #6a7a80;
    font-weight: 700;
}

.hotel-list-card .countries-media,
.hotel-list-grid .hotel-list-card .countries-media.hotel-card-media-link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 13.75rem;
    min-height: 13.75rem;
    max-height: 13.75rem;
    aspect-ratio: auto;
    padding: .75rem;
    background: linear-gradient(135deg, #eef4f1 0%, #dbe7e2 100%);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.hotel-card-photo-frame,
.hotel-list-grid .hotel-card-photo-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255,255,255,.72);
    box-shadow: inset 0 0 0 1px rgba(23,49,58,.08);
}

.hotel-list-card .countries-media img,
.hotel-list-grid .hotel-list-card .countries-media.hotel-card-media-link img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    object-fit: cover;
}

.hotel-list-card .countries-media-fallback {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.hotel-card-media-link {
    cursor: pointer;
}

.hotel-card-badges {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    pointer-events: none;
}

.hotel-card-rating-pill,
.hotel-card-reviews-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(23,49,58,.18);
    backdrop-filter: blur(10px);
}

.hotel-card-rating-pill {
    background: rgba(42,132,101,.92);
    color: #fff;
}

.hotel-card-reviews-pill {
    margin-left: auto;
    background: rgba(255,255,255,.88);
    color: var(--countries-ink);
}

.hotel-card-title a {
    color: inherit;
    text-decoration: none;
}

.hotel-card-title a:hover {
    color: var(--countries-accent);
}

.hotel-card-title,
.hotel-card-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.hotel-card-title {
    -webkit-line-clamp: 2;
}

.hotel-card-destination {
    color: var(--countries-muted);
    font-size: .9rem;
    font-weight: 700;
}

.hotel-card-description {
    -webkit-line-clamp: 4;
}

@media (max-width: 575.98px) {
    .hotel-list-card .countries-media,
    .hotel-list-grid .hotel-list-card .countries-media.hotel-card-media-link {
        height: 12rem;
        min-height: 12rem;
        max-height: 12rem;
    }
}

.countries-home-actions {
    margin-top: 2rem;
}

.countries-empty-state {
    padding: 2rem 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.countries-empty-title {
    margin: 0;
    color: var(--countries-ink);
    font-size: clamp(1.8rem, 2.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.countries-empty-text {
    max-width: 44rem;
    margin: 0;
    color: var(--countries-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.countries-section-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: .9rem 1.75rem;
    border-radius: 999px;
    background: var(--countries-ink);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(23,49,58,.16);
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.countries-section-cta:hover {
    background: #0f232a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(23,49,58,.2);
}

.countries-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.countries-compact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 1.1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(23,49,58,.08);
    box-shadow: 0 10px 24px rgba(23,49,58,.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.countries-compact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(23,49,58,.1);
}

.countries-compact-hitarea {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.countries-compact-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #d96f32 0%, #17313a 100%);
}

.countries-compact-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.countries-card-count,
.countries-compact-count {
    position: absolute;
    right: .65rem;
    bottom: .65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 1.8rem;
    padding: .3rem .55rem;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--countries-ink);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(23,49,58,.16);
    pointer-events: none;
}

.countries-compact-media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,.9);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.countries-compact-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: .9rem;
    position: relative;
    z-index: 2;
}

.countries-compact-title {
    color: var(--countries-ink);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .countries-compact-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .countries-compact-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .countries-group-header {
        margin-bottom: 1.25rem;
    }

    .countries-group-title {
        font-size: 1.55rem;
    }

    .countries-group-lead {
        font-size: .96rem;
        line-height: 1.65;
    }

    .countries-jump-links {
        gap: .55rem;
    }

    .countries-jump-link {
        width: 100%;
        justify-content: flex-start;
    }

    .countries-media-fallback {
        font-size: 1.5rem;
    }
}

.trip-styles-home-section {
    background:
        radial-gradient(circle at top left, rgba(217,111,50,.14), transparent 28%),
        linear-gradient(180deg, #fffefb 0%, #f7f4ee 55%, #eef4f2 100%);
}

.trip-style-home-card {
    min-height: 100%;
}

.trip-style-home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 54px rgba(23,49,58,.14);
}

.trip-style-home-media {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 11.5rem;
    padding: 1.1rem;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(140deg, #17313a 0%, #234a53 52%, #d96f32 100%);
}

.trip-style-home-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
    z-index: 0;
}

.trip-style-home-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,18,22,.18) 0%, rgba(8,18,22,.68) 100%);
    z-index: 1;
}

.trip-style-home-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(4px);
    z-index: 2;
}

.trip-style-home-glow-one {
    top: -2.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background: rgba(255,255,255,.16);
}

.trip-style-home-glow-two {
    bottom: -2rem;
    left: -1rem;
    width: 7rem;
    height: 7rem;
    background: rgba(255,255,255,.1);
}

.trip-style-home-icon-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.35rem;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
    z-index: 3;
}

.trip-style-home-icon {
    font-size: 2rem;
    line-height: 1;
}

.trip-style-home-body {
    gap: .85rem;
}

.trip-style-home-title {
    color: var(--countries-ink);
    line-height: 1.2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.trip-style-home-description {
    min-height: 3.5rem;
    color: var(--countries-muted);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.trip-style-home-footer {
    position: relative;
    z-index: 2;
}

@media (max-width: 575.98px) {
    .trip-style-home-media {
        min-height: 10.25rem;
    }
}
