/* ==========================================================================
   All tours on one page (/tours) — uses dp-/hx- tokens
   ========================================================================== */
.at-jump {
    position: sticky;
    top: 60px;
    z-index: 20;
    background: rgba(21, 25, 25, .96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--hx-line);
}
.at-jump__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.at-jump__inner::-webkit-scrollbar { display: none; }
.at-jump__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-muted); margin-right: 6px; white-space: nowrap; }
.at-jump__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--hx-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff !important;
    white-space: nowrap;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.at-jump__link small { font-size: 11px; color: var(--hx-muted); }
.at-jump__link:hover, .at-jump__link:focus { border-color: var(--hx-yellow); color: var(--hx-yellow) !important; text-decoration: none; }

.at .dp-list { padding: 32px 0 8px; }
.at-group { scroll-margin-top: 120px; }
.at-group__all { font-size: 12px; font-weight: 700; color: #151919 !important; white-space: nowrap; opacity: .8; }
.at-group__all:hover { opacity: 1; text-decoration: underline; }
.at-group__all i { margin-left: 2px; }

.at-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 18px;
}
.at-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.at-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .12); border-color: #e2e2e2; }
.at-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: #eee; overflow: hidden; }
.at-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.at-card:hover .at-card__media img { transform: scale(1.05); }
.at-card__price {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--hx-yellow);
    color: #151919;
    font-size: 12px;
    font-weight: 700;
}
.at-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 18px 18px; }
.at-card__name { margin: 0 0 8px; font-size: 17px; line-height: 1.3; font-weight: 700; }
.at-card__name a { color: #151919 !important; }
.at-card__name a:after { content: ''; position: absolute; inset: 0; }
.at-card__name a:hover { color: #b58f00 !important; }
.at-card__meta { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; color: #6b7070; }
.at-card__meta li { white-space: nowrap; }
.at-card__meta li:not(:last-child):after { content: '\00b7'; margin: 0 6px; color: #b8bcbc; }
.at-card__text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.65; color: #3a3f3f; }
.at-card__more { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #151919; }
.at-card__more i { margin-left: 6px; transition: transform .2s ease; }
.at-card:hover .at-card__more i { transform: translateX(4px); }

@media (max-width: 991px) {
    .at-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .at-jump { position: static; }
    .at-group { scroll-margin-top: 70px; }
}
@media (max-width: 580px) {
    .at-grid { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
    .at .dp-season__head { flex-direction: column; align-items: flex-start; gap: 4px; }
}


/* ==========================================================================
   Tour category page (/{type}/{id}) — ct- prefix, reuses at-card
   ========================================================================== */
.ct-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 56px 0 48px;
}
.ct-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(21, 25, 25, .92) 0%, rgba(21, 25, 25, .78) 45%, rgba(21, 25, 25, .35) 100%);
}
.ct-hero .container { position: relative; z-index: 1; }
.ct-hero .dp-hero__grid { grid-template-columns: minmax(0, 1fr); }
.ct-hero .dp-hero__text { max-width: 680px; }

.ct-about {
    position: relative;
    background: #fff;
    color: #3a3f3f;
    border-radius: 14px;
    border-top: 4px solid var(--hx-yellow);
    padding: 24px 28px 26px;
    margin-bottom: 32px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.ct-about .hx-eyebrow { color: #8a6f00; }
.ct-about .hx-eyebrow:after { background: var(--hx-yellow); }
.ct-about { text-align: center; } /* eyebrow and toggle centred; the text block itself is centred but reads left-aligned */
.ct-about__text { font-size: 15px; line-height: 1.8; max-width: 820px; margin: 0 auto; text-align: justify; hyphens: auto; }
.ct-about__text p { margin: 0 0 12px; }
.ct-about__text p:last-child { margin-bottom: 0; }
.ct-about__text strong, .ct-about__text b { color: #151919; }
.ct-about.is-collapsed .ct-about__text { max-height: 190px; overflow: hidden; }
.ct-about.is-collapsed:after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 56px;
    height: 70px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}
.ct-about__toggle {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #151919;
    cursor: pointer;
}
.ct-about__toggle i { margin-left: 4px; }
.ct-about__toggle:hover { color: #b58f00; }

.ct-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
    scroll-margin-top: 80px;
}
.ct-head h2 { margin: 0; color: #fff; font-size: 22px; font-weight: 700; }
.ct-head h2 small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-muted); margin-left: 12px; }
.ct-head__link { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hx-yellow) !important; white-space: nowrap; }
.ct-head__link:hover { text-decoration: underline; }

.at-grid--bare { padding: 0; gap: 22px; margin-bottom: 40px; }
.at-grid--bare .at-card { border-color: transparent; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

.ct-others { margin: 8px 0 40px; }
.ct-others__label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-muted); margin-bottom: 12px; }
.ct-others__list { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-others__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--hx-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    transition: border-color .15s ease, background .15s ease;
}
.ct-others__link img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ct-others__link:hover { border-color: var(--hx-yellow); background: rgba(255, 208, 0, .08); text-decoration: none; }

@media (max-width: 991px) {
}
@media (max-width: 580px) {
    .ct-hero { padding: 36px 0 32px; }
    .ct-hero:before { background: linear-gradient(rgba(21, 25, 25, .9), rgba(21, 25, 25, .82)); }
    .ct-about { padding: 20px 18px 22px; }
    .ct-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .ct-head h2 small { display: block; margin: 6px 0 0; }
    .at-grid--bare { gap: 16px; }
}
