/* ===============================
   TRANSPORT PAGE
================================ */

.activities-page {
    background: #f4f7fb;
    color: #12355b;
}

.activities-page .container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

@media (max-width: 767px) {
    .activities-page .container {
        width: calc(100% - 32px);
    }
}

/* ===============================
   TYPO GLOBAL
================================ */

.section-kicker,
.hero-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.1;
    color: #0c2d57;
}

.section-heading.compact-heading h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.section-heading.with-action {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 900px) {
    .section-heading.with-action {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===============================
   HERO
================================ */

.activities-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #0b2746 0%, #123d6b 100%);
}

.activities-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
}

.activities-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 28%),
        linear-gradient(135deg, rgba(7, 27, 50, 0.88), rgba(10, 45, 82, 0.90));
}

.activities-hero-inner {
    position: relative;
    z-index: 2;
    padding: 84px 0;
}

.activities-hero-copy {
    max-width: 860px;
}

.activities-hero-copy .hero-kicker {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.86);
}

.activities-hero-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(2.4rem, 5vw, 4.35rem);
    line-height: 1.05;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.activities-hero-copy p {
    margin: 0;
    max-width: 920px;
    font-size: 1.28rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.96);
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
}

.hero-btn:hover {
    transform: translateY(-1px);
}

.hero-btn-primary {
    background: linear-gradient(135deg, #0d7df2, #1f8fff);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(13, 125, 242, 0.24);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #0b72dc, #1585f7);
    color: #ffffff;
}

.hero-btn-secondary {
    background: #ffffff;
    color: #163a63;
    border-color: rgba(18, 53, 91, 0.12);
    box-shadow: 0 8px 20px rgba(13, 43, 75, 0.08);
}

.hero-btn-secondary:hover {
    color: #0e2f56;
    background: #f7fbff;
}

@media (max-width: 767px) {
    .activities-hero {
        min-height: 480px;
    }

    .activities-hero-inner {
        padding: 72px 0 58px;
    }

    .activities-hero-copy p {
        font-size: 1.08rem;
        line-height: 1.65;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
    }
}

/* ===============================
   UNIVERS CARDS
================================ */

.activities-universes {
    padding: 72px 0 34px;
}

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

.activities-universe-card {
    position: relative;
    display: block;
    min-height: 272px;
    border-radius: 24px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(145deg, #0d294b, #123861);
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(10, 35, 62, 0.14);
    isolation: isolate;
}

.activities-universe-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
}

.activities-universe-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 25%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 28%),
        linear-gradient(180deg, rgba(7, 24, 42, 0.34), rgba(8, 29, 53, 0.56));
}

.activities-universe-content {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px 22px 24px;
}

.activities-universe-content h3 {
    margin: 0 0 12px;
    font-size: 1.85rem;
    line-height: 1.08;
    color: #ffffff;
}

.activities-universe-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.96);
}

.activities-universe-card:hover {
    transform: translateY(-2px);
}

@media (max-width: 1180px) {
    .activities-universes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .activities-universes-grid {
        grid-template-columns: 1fr;
    }

    .activities-universe-card {
        min-height: 220px;
    }

    .activities-universe-content h3 {
        font-size: 1.5rem;
    }
}

/* ===============================
   HIGHLIGHTS
================================ */

.activities-highlights {
    padding: 34px 0 34px;
}

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

.activities-highlight-card {
    background: #ffffff;
    border: 1px solid rgba(18, 53, 91, 0.08);
    border-radius: 24px;
    padding: 28px 28px 26px;
    box-shadow: 0 14px 28px rgba(11, 41, 72, 0.06);
}

.activities-highlight-card .section-kicker {
    margin-bottom: 12px;
    color: #557ba5;
}

.activities-highlight-card h3 {
    margin: 0 0 14px;
    font-size: 2rem;
    line-height: 1.15;
    color: #0d2d57;
}

.activities-highlight-card p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #35516f;
}

@media (max-width: 1100px) {
    .activities-highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   FEATURED
================================ */

.activities-featured {
    padding: 34px 0 34px;
}

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

.featured-activities-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(12, 40, 71, 0.08);
    border: 1px solid rgba(18, 53, 91, 0.06);
}

.featured-activities-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.featured-activities-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-activities-body {
    padding: 22px;
}

.featured-activities-body h3 {
    margin: 8px 0 12px;
    font-size: 1.4rem;
    line-height: 1.2;
    color: #0d2d57;
}

.featured-activities-body p {
    color: #3a5878;
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .featured-activities-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   DIRECTORY LAYOUT
================================ */

.activities-directory {
    padding: 42px 0 84px;
}

.directory-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.directory-sidebar {
    position: sticky;
    top: 120px;
}

.directory-main {
    min-width: 0;
}

@media (max-width: 980px) {
    .directory-layout {
        grid-template-columns: 1fr;
    }

    .directory-sidebar {
        position: static;
        top: auto;
    }
}

/* ===============================
   SIDEBAR
================================ */

.directory-filter-box {
    background: #ffffff;
    padding: 26px 22px 22px;
    border-radius: 24px;
    box-shadow: 0 16px 32px rgba(10, 38, 67, 0.08);
    border: 1px solid rgba(18, 53, 91, 0.06);
}

.directory-filter-box h2 {
    margin: 0 0 22px;
    font-size: 2rem;
    line-height: 1.05;
    color: #0d2d57;
}

.directory-filter-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #173d67;
}

.directory-filter-box input,
.directory-filter-box select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    margin: 0 0 18px;
    border-radius: 12px;
    border: 1px solid #d8e1ec;
    background: #f9fbfd;
    color: #12355b;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    appearance: none;
}

.directory-filter-box input:focus,
.directory-filter-box select:focus {
    border-color: #0d7df2;
    box-shadow: 0 0 0 3px rgba(13, 125, 242, 0.12);
}

.directory-filter-box .hero-btn {
    width: 100%;
    margin-top: 4px;
}

.directory-filter-box .hero-btn + .hero-btn,
.directory-filter-box .filter-reset-link {
    margin-top: 12px;
}

.filter-reset-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    background: #eef4fb;
    color: #163a63;
    border: 1px solid rgba(18, 53, 91, 0.08);
    box-sizing: border-box;
}

.filter-reset-link:hover {
    background: #e7f0fb;
    color: #0d2d57;
}

/* ===============================
   GRID / LIST
================================ */

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

.places-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 1180px) {
    .places-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .places-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   CARD
================================ */

.place-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 28px rgba(12, 40, 71, 0.08);
    border: 1px solid rgba(18, 53, 91, 0.06);
}

.places-list .place-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: stretch;
}

@media (max-width: 900px) {
    .places-list .place-card {
        grid-template-columns: 1fr;
    }
}

.place-card-media {
    display: block;
    overflow: hidden;
    background: #dfe8f1;
}

.place-card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.places-list .place-card-media img {
    height: 100%;
    min-height: 220px;
}

.place-card-body {
    padding: 22px;
}

.place-card h3 {
    margin: 8px 0 12px;
    font-size: 1.36rem;
    line-height: 1.2;
    color: #0d2d57;
}

.place-card p {
    margin: 0;
    color: #3a5878;
    line-height: 1.65;
}

.place-location {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b87a3;
}

.place-card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.place-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.place-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    background: #eef4ff;
    color: #2a5ca8;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.place-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px !important;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    background: #123a63;
    color: #ffffff;
}

.btn-read:hover {
    background: #0f3154;
    color: #ffffff;
}

/* ===============================
   BADGES
================================ */

.badge-premium {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff9800, #ffb547);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
}

/* ===============================
   EMPTY STATE
================================ */

.empty-state-card {
    background: #ffffff;
    padding: 42px 32px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(18, 53, 91, 0.06);
    box-shadow: 0 14px 30px rgba(12, 40, 71, 0.06);
}

.empty-state-card h3 {
    margin: 0 0 14px;
    font-size: 2rem;
    color: #0d2d57;
}

.empty-state-card p {
    max-width: 860px;
    margin: 0 auto 24px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #3a5878;
}

/* ===============================
   PAGINATION
================================ */

.pagination {
    display: flex;
    justify-content: center;
}

.pagination > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* ===============================
   UTILITIES
================================ */

.activities-page a {
    transition: all 0.18s ease;
}

.activities-page img {
    display: block;
}

@media (max-width: 767px) {
    .activities-universes,
    .activities-highlights,
    .activities-featured,
    .activities-directory {
        padding-top: 48px;
    }

    .empty-state-card {
        padding: 30px 22px;
    }

    .directory-filter-box h2,
    .empty-state-card h3,
    .activities-highlight-card h3 {
        font-size: 1.7rem;
    }
}