@import url('e18b43de1483bec6.bin');

:root {
    --blue-primary: #0a4fa3;
    --blue-dark: #063276;
    --blue-mid: #1565c0;
    --accent: #00b4d8;
    --sold-out: #1de9b6;
    --group-badge: #2979ff;
    --text-light: #ffffff;
    --overlay-dark: rgba(5, 20, 50, 0.52);
    --card-radius: 14px;
    --badge-radius: 8px;
    --transition: 0.32s cubic-bezier(.4, 0, .2, 1);
}


/* ── Section wrapper ── */
.tpk-section {
    background: #f0f4fb;
    padding: 30px 0 64px;
    font-family: 'Lato', sans-serif;
}

.tpk-heading-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}

.tpk-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1.2;
    margin: 0;
}

.tpk-subtitle {
    color: #5a6a84;
    font-size: 0.97rem;
    margin: 8px 0 28px;
    max-width: 640px;
}

.tpk-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--blue-primary);
    color: #fff;
    padding: 9px 22px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
}

.tpk-view-all-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    color: #fff;
}

/* ── Masonry group (1 large + 4 small) ── */
.tpk-group {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

/* Large hero card spans 2 rows */
.tpk-card-hero {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

/* Small cards fill remaining 2×2 grid */
.tpk-card-sm:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
}

.tpk-card-sm:nth-child(3) {
    grid-row: 1;
    grid-column: 3;
}

.tpk-card-sm:nth-child(4) {
    grid-row: 2;
    grid-column: 2;
}

.tpk-card-sm:nth-child(5) {
    grid-row: 2;
    grid-column: 3;
}

/* For 2-card remainder rows */
.tpk-group-remainder {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

/* ── Base card ── */
.tpk-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    display: block;
    text-decoration: none;
    min-height: 220px;
    box-shadow: 0 4px 18px rgba(10, 40, 100, 0.13);
    transition: transform var(--transition), box-shadow var(--transition);
    background: #111;
}

.tpk-card:hover {
    transform: translateY(-5px) scale(1.012);
    box-shadow: 0 12px 36px rgba(10, 40, 100, 0.22);
    text-decoration: none;
}

.tpk-card-hero {
    min-height: 460px;
}

/* ── Card image ── */
.tpk-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    position: absolute;
    inset: 0;
}

.tpk-card:hover .tpk-card__img {
    transform: scale(1.06);
}

/* ── Gradient overlay ── */
.tpk-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(4, 18, 50, 0.85) 0%,
            rgba(4, 18, 50, 0.35) 45%,
            rgba(4, 18, 50, 0.05) 100%);
    pointer-events: none;
}

/* ── Price badge (top-left) ── */
.tpk-badge-price {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--blue-dark);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 5px 13px;
    border-radius: var(--badge-radius);
    letter-spacing: 0.03em;
    z-index: 3;
}

/* ── Sold Out badge (top-left, teal) ── */
.tpk-badge-soldout {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #00c9a0;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 5px 13px;
    border-radius: var(--badge-radius);
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Group Departure badge (top-left, blue) ── */
.tpk-badge-group {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--group-badge);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 13px;
    border-radius: var(--badge-radius);
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Card center content (title + duration) ── */
.tpk-card__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    z-index: 2;
}

.tpk-card__title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: #fff;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.tpk-card-sm .tpk-card__title {
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
}

.tpk-card__duration {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ── Action buttons row (bottom) ── */
.tpk-card__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 14px 14px;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.tpk-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tpk-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.tpk-btn-view {
    background: var(--blue-primary);
    color: #fff;
}

.tpk-btn-view:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.tpk-btn-enquire {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
}

.tpk-btn-enquire:hover {
    background: rgba(255, 255, 255, 0.30);
    color: #fff;
    transform: translateY(-1px);
}

/* Small cards — compact action buttons */
.tpk-card-sm .tpk-btn {
    padding: 5px 11px;
    font-size: 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .tpk-group {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }

    .tpk-card-hero {
        grid-column: 1 / 3;
        grid-row: 1;
        min-height: 300px;
    }

    .tpk-card-sm:nth-child(2) {
        grid-row: 2;
        grid-column: 1;
    }

    .tpk-card-sm:nth-child(3) {
        grid-row: 2;
        grid-column: 2;
    }

    .tpk-card-sm:nth-child(4) {
        grid-row: 3;
        grid-column: 1;
    }

    .tpk-card-sm:nth-child(5) {
        grid-row: 3;
        grid-column: 2;
    }
}

@media (max-width: 576px) {

    .tpk-group,
    .tpk-group-remainder {
        grid-template-columns: 1fr;
    }

    .tpk-card-hero,
    .tpk-card-sm:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
    }

    .tpk-card-hero {
        min-height: 260px;
    }
}

/* ── Skeleton loader ── */
.tpk-skeleton-group {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.tpk-skeleton-hero {
    grid-row: 1 / 3;
    min-height: 460px;
    border-radius: var(--card-radius);
    background: linear-gradient(90deg, #dde4f0 25%, #eef1f7 50%, #dde4f0 75%);
    background-size: 200% 100%;
    animation: tpk-shimmer 1.4s infinite;
}

.tpk-skeleton-sm {
    min-height: 210px;
    border-radius: var(--card-radius);
    background: linear-gradient(90deg, #dde4f0 25%, #eef1f7 50%, #dde4f0 75%);
    background-size: 200% 100%;
    animation: tpk-shimmer 1.4s infinite;
}

@keyframes tpk-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}