/* =========================================================
   Padarkhande tour detail — destination hero, route of cities,
   departure list and boarding-pass hotel packages.
   ========================================================= */
[ng-cloak] {
    display: none !important;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.gd-tour-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 500px;
    padding: 130px 0 96px;
    background: var(--gd-ink);
    color: #e4dcd8;
    overflow: hidden;
}

    .gd-tour-hero > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .62;
    }

    .gd-tour-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(28, 20, 20, .5) 0, rgba(28, 20, 20, .08) 34%, var(--gd-ink) 100%);
    }

    .gd-tour-hero .container {
        position: relative;
        z-index: 1;
    }

    .gd-tour-hero h1 {
        max-width: 880px;
        margin: 12px 0 0;
        color: #fff;
        font-size: clamp(27px, 3.8vw, 46px);
    }

/* the cities of the tour as stops of one line */
.gd-tour-line {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 0;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

    .gd-tour-line li {
        position: relative;
        min-width: 128px;
        padding: 20px 0 0 22px;
    }

        .gd-tour-line li::before {
            content: "";
            position: absolute;
            top: 6px;
            right: 0;
            left: 0;
            height: 4px;
            background: var(--gd-route);
        }

        .gd-tour-line li:last-child::before {
            left: auto;
            width: 14px;
        }

        .gd-tour-line li::after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 16px;
            height: 16px;
            border: 4px solid #fff;
            border-radius: 50%;
            background: var(--gd-ink);
        }

    .gd-tour-line b {
        display: block;
        color: #fff;
        font-family: var(--gd-display);
        font-size: 15px;
        font-weight: 600;
    }

    .gd-tour-line small {
        font-size: 12.5px;
    }

.gd-tour-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.gd-tour-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 13.5px;
    transition: background .2s;
}

    .gd-tour-share:hover {
        background: rgba(255, 255, 255, .18);
    }

/* ---------------------------------------------------------
   Gallery
   --------------------------------------------------------- */
.gd-tour-wrap {
    position: relative;
    padding-bottom: 64px;
}

.gd-tgal {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 158px;
    gap: 10px;
    margin-top: -60px;
    padding: 10px;
    border-radius: var(--gd-r-lg);
    background: #fff;
    box-shadow: var(--gd-shadow-lg);
}

    .gd-tgal a {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: var(--gd-r-sm);
        background: var(--gd-mist);
    }

        .gd-tgal a:first-child {
            grid-column: span 2;
            grid-row: span 2;
        }

        .gd-tgal a.is-more {
            display: none;
        }

    .gd-tgal img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s var(--gd-ease);
    }

    .gd-tgal a:hover img {
        transform: scale(1.05);
    }

    .gd-tgal span {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        background: rgba(28, 20, 20, .55);
        color: #fff;
        font-family: var(--gd-display);
        font-size: 16px;
    }

    .gd-tgal.n1 a:nth-child(2), .gd-tgal.n2 a:not(:first-child) {
        grid-column: span 2;
    }

    .gd-tgal.n1 a:nth-child(2) {
        grid-row: span 2;
    }

    .gd-tgal.n3 a:nth-child(4) {
        grid-column: span 2;
    }

/* ---------------------------------------------------------
   Layout
   --------------------------------------------------------- */
.gd-tour-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    margin-top: 28px;
}

.gd-tour-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
}

.gd-ttabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    margin-bottom: 18px;
    padding: 4px;
    overflow-x: auto;
    border-radius: 999px;
    background: var(--gd-mist);
    scrollbar-width: none;
}

    .gd-ttabs li {
        flex: 1 0 auto;
    }

    .gd-ttabs button {
        width: 100%;
        padding: 10px 18px;
        border: 0;
        border-radius: 999px;
        background: none;
        color: var(--gd-text);
        font-size: 14px;
        white-space: nowrap;
        transition: background .2s, color .2s;
    }

        .gd-ttabs button:hover {
            color: var(--gd-violet-700);
        }

        .gd-ttabs button.active {
            background: var(--gd-ink);
            color: #fff;
        }

        .gd-ttabs button i {
            margin-left: 6px;
            font-size: 13px;
        }

/* the template pads every <section> */
.gd-tblock {
    margin-bottom: 26px;
    padding: 0;
}

    .gd-tblock > h2, .gd-tdates > h2 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 12px;
        font-size: 18px;
    }

        .gd-tblock > h2 i, .gd-tdates > h2 i {
            color: var(--gd-violet);
            font-size: 15px;
        }

.gd-tempty {
    margin: 0;
    padding: 18px 20px;
    border-radius: var(--gd-r-sm);
    background: var(--gd-mist);
    color: var(--gd-muted);
    font-size: 14px;
}

/* ---------------------------------------------------------
   Flight
   --------------------------------------------------------- */
.gd-tflight {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 150px;
    gap: 22px;
    align-items: center;
    padding: 14px 20px;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r);
    background: #fff;
}

    .gd-tflight + .gd-tflight {
        margin-top: 8px;
    }

.gd-tflight-air {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--gd-title);
    font-size: 13.5px;
}

    .gd-tflight-air img {
        width: 38px;
        height: 38px;
        object-fit: contain;
    }

    .gd-tflight-air b {
        font-weight: 600;
    }

.gd-tflight-way {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gd-tflight-end {
    display: grid;
    justify-items: center;
    line-height: 1.5;
}

    .gd-tflight-end b {
        color: var(--gd-title);
        font-family: var(--gd-display);
        font-size: 17px;
    }

        .gd-tflight-end b i {
            color: var(--gd-violet);
            font-size: 15px;
        }

    .gd-tflight-end small {
        color: var(--gd-muted);
        font-size: 12px;
    }

.gd-tflight-line {
    position: relative;
    flex: 1;
    min-width: 40px;
    height: 3px;
    border-radius: 3px;
    background: var(--gd-route);
}

    .gd-tflight-line::before, .gd-tflight-line::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 10px;
        height: 10px;
        border: 2px solid var(--gd-violet);
        border-radius: 50%;
        background: #fff;
        transform: translateY(-50%);
    }

    .gd-tflight-line::before {
        right: -2px;
    }

    .gd-tflight-line::after {
        left: -2px;
        border-color: var(--gd-cobalt);
    }

    .gd-tflight-line small {
        position: absolute;
        top: 8px;
        right: 0;
        left: 0;
        color: var(--gd-muted);
        font-size: 11.5px;
        text-align: center;
    }

.gd-tflight-info {
    display: grid;
    justify-items: end;
    gap: 4px;
}

    .gd-tflight-info small {
        color: var(--gd-muted);
        font-size: 12px;
    }

/* ---------------------------------------------------------
   Packages: hotels on the right, a price stub on the left
   --------------------------------------------------------- */
.gd-tpack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 248px;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r);
    background: #fff;
    box-shadow: var(--gd-shadow-sm);
}

    .gd-tpack + .gd-tpack {
        margin-top: 14px;
    }

/* the hotel side fills the height of the price stub: the photo runs from top to bottom and the
   facilities sit on the bottom line, so a hotel with little data no longer floats in an empty card */
.gd-tpack-hotels {
    display: grid;
    gap: 14px;
    align-content: stretch;
    min-width: 0;
    padding: 14px;
}

.gd-thotel {
    display: flex;
    align-items: stretch;
    gap: 18px;
    min-width: 0;
}

    .gd-thotel + .gd-thotel {
        padding-top: 14px;
        border-top: 1px solid var(--gd-line);
    }

    .gd-thotel > img {
        flex: none;
        align-self: stretch;
        width: 230px;
        height: auto;
        min-height: 190px;
        max-height: 280px;
        object-fit: cover;
        border-radius: var(--gd-r-sm);
        background: var(--gd-mist);
    }

.gd-thotel-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 0 2px;
}

    .gd-thotel-body h3 {
        margin: 2px 0;
        font-size: 16.5px;
    }

    .gd-thotel-body p {
        margin: 2px 0 12px;
        color: var(--gd-muted);
        font-size: 13px;
    }

        .gd-thotel-body p i {
            color: var(--gd-violet);
            font-size: 11px;
        }

.gd-thotel-grade {
    color: var(--gd-amber);
    font-size: 12.5px;
}

.gd-thotel-fac {
    display: flex;
    flex-wrap: wrap;
    align-self: stretch;
    gap: 3px 14px;
    margin: auto 0 0;
    padding: 12px 0 0;
    border-top: 1px dashed var(--gd-line-2);
    color: var(--gd-text);
    font-size: 12.5px;
    list-style: none;
}

    .gd-thotel-fac i {
        color: var(--gd-muted);
    }

.gd-tpack-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    border-right: 2px dashed var(--gd-line-2);
    border-radius: var(--gd-r) 0 0 var(--gd-r);
    background: var(--gd-mist);
}

    /* punched notches on the tear line */
    .gd-tpack-stub::before, .gd-tpack-stub::after {
        content: "";
        position: absolute;
        right: -12px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #fff;
        box-shadow: inset 0 0 0 1px var(--gd-line);
    }

    .gd-tpack-stub::before {
        top: -11px;
    }

    .gd-tpack-stub::after {
        bottom: -11px;
    }

    .gd-tpack-stub dl {
        display: grid;
        gap: 2px;
        margin: 0;
    }

        .gd-tpack-stub dl div {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 8px;
            font-size: 12.5px;
            line-height: 1.6;
        }

        .gd-tpack-stub dl div:first-child {
            padding-bottom: 7px;
            border-bottom: 1px solid var(--gd-line-2);
        }

    .gd-tpack-stub dt {
        color: var(--gd-muted);
        font-weight: 400;
    }

    .gd-tpack-stub dd {
        margin: 0;
        color: var(--gd-title);
        font-weight: 600;
    }

    .gd-tpack-stub dl div:first-child dd {
        color: var(--gd-violet-700);
        font-family: var(--gd-display);
        font-size: 18px;
    }

    .gd-tpack-stub > small {
        color: var(--gd-muted);
        font-size: 11.5px;
    }

    .gd-tpack-stub .gd-btn {
        justify-content: center;
        width: 100%;
        margin-top: auto;
    }

/* ---------------------------------------------------------
   Itinerary: every programme item is a stop on a vertical line
   --------------------------------------------------------- */
.gd-tstops {
    position: relative;
}

    .gd-tstops::before {
        content: "";
        position: absolute;
        top: 24px;
        right: 9px;
        bottom: 24px;
        width: 3px;
        background: var(--gd-route-v);
    }

    .gd-tstops .accordion-item {
        position: relative;
        margin: 0 0 8px;
        padding-right: 32px;
        border: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }

        .gd-tstops .accordion-item::before {
            content: "";
            position: absolute;
            top: 18px;
            right: 0;
            z-index: 1;
            width: 21px;
            height: 21px;
            border: 5px solid var(--gd-ink);
            border-radius: 50%;
            background: #fff;
        }

    .gd-tstops .accordion-button {
        border: 1px solid var(--gd-line);
        border-radius: var(--gd-r-sm) !important;
        background: #fff;
        box-shadow: none !important;
        color: var(--gd-title);
        font-family: var(--gd-display);
        font-size: 15px;
    }

        .gd-tstops .accordion-button:not(.collapsed) {
            border-color: var(--gd-violet-200);
            background: var(--gd-violet-50);
            color: var(--gd-violet-800);
        }

    .gd-tstops .accordion-body {
        padding: 12px 16px 6px;
        color: var(--gd-text);
        font-size: 14.5px;
        line-height: 2;
    }

/* ---------------------------------------------------------
   Overview
   --------------------------------------------------------- */
.gd-ttext {
    color: var(--gd-text);
    font-size: 15px;
    line-height: 2.05;
}

    .gd-ttext img {
        max-width: 100%;
        height: auto;
        border-radius: var(--gd-r-sm);
    }

.gd-tchecks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 14px 0 0;
    padding: 0;
    font-size: 14px;
    list-style: none;
}

    .gd-tchecks i {
        margin-left: 6px;
        color: var(--gd-green);
    }

/* ---------------------------------------------------------
   Departures
   --------------------------------------------------------- */
.gd-tdates {
    display: grid;
    gap: 6px;
    max-height: calc(100vh - 300px);
    min-height: 220px;
    padding: 16px;
    overflow-y: auto;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r);
    background: #fff;
    box-shadow: var(--gd-shadow-sm);
}

    .gd-tdates > h2 {
        margin-bottom: 4px;
        font-size: 16px;
    }

.gd-tdate {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 9px 12px;
    border-radius: var(--gd-r-sm);
    background: var(--gd-mist);
    box-shadow: inset 0 0 0 1.5px transparent;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}

    .gd-tdate input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .gd-tdate:hover {
        box-shadow: inset 0 0 0 1.5px var(--gd-violet-200);
    }

    .gd-tdate.is-on {
        background: var(--gd-violet-50);
        box-shadow: inset 0 0 0 1.5px var(--gd-violet);
    }

    .gd-tdate.is-off {
        opacity: .6;
        cursor: not-allowed;
    }

    .gd-tdate:focus-within {
        outline: 2px solid var(--gd-violet);
        outline-offset: 2px;
    }

.gd-tdate-dot {
    flex: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--gd-line-2);
    border-radius: 50%;
    background: #fff;
}

.gd-tdate.is-on .gd-tdate-dot {
    border: 5px solid var(--gd-violet);
}

.gd-tdate-main {
    flex: 1;
    min-width: 0;
    display: grid;
    line-height: 1.5;
}

    .gd-tdate-main b {
        color: var(--gd-title);
        font-size: 14px;
        font-weight: 600;
    }

    .gd-tdate-main small {
        color: var(--gd-muted);
        font-size: 11.5px;
    }

.gd-tdate-price {
    flex: none;
    color: var(--gd-violet-700);
    font-size: 12.5px;
    font-weight: 600;
}

.gd-thelp {
    padding: 18px;
    border-radius: var(--gd-r);
    background: var(--gd-ink);
    color: #e4dcd8;
}

    .gd-thelp h3 {
        margin: 0 0 4px;
        color: #fff;
        font-size: 15.5px;
    }

    .gd-thelp p {
        margin: 0 0 12px;
        color: #e4dcd8 !important;
        font-size: 13px;
    }

/* ---------------------------------------------------------
   Booking request
   --------------------------------------------------------- */
.gd-tmodal {
    overflow: hidden;
    border: 0;
    border-radius: var(--gd-r);
}

.gd-tmodal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    background: var(--gd-ink);
    color: #e4dcd8;
}

    .gd-tmodal-head h4 {
        margin: 2px 0;
        color: #fff;
        font-size: 18px;
    }

    .gd-tmodal-head small {
        font-size: 12.5px;
    }

    .gd-tmodal-head button {
        flex: none;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }

.gd-tmodal-body {
    padding: 18px 20px;
}

    .gd-tmodal-body p {
        margin: 12px 0;
        color: var(--gd-muted);
        font-size: 13.5px;
    }

.gd-tmodal-date {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: var(--gd-r-sm);
    background: var(--gd-violet-50);
    color: var(--gd-violet-800);
    font-size: 13.5px;
}

.gd-tmodal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-top: 2px dashed var(--gd-line-2);
}

    .gd-tmodal-foot div {
        display: grid;
    }

    .gd-tmodal-foot small {
        color: var(--gd-muted);
        font-size: 12px;
    }

    .gd-tmodal-foot b {
        color: var(--gd-title);
        font-family: var(--gd-display);
        font-size: 18px;
    }

/* ---------------------------------------------------------
   Loading
   --------------------------------------------------------- */
.gd-tskel {
    display: block;
    height: 16px;
    max-width: 420px;
    margin-top: 12px;
    border-radius: 8px;
    background: rgba(190, 170, 160, .22);
    animation: gdTourPulse 1.3s ease-in-out infinite alternate;
}

    .gd-tskel.is-short {
        max-width: 200px;
    }

    .gd-tskel.is-title {
        height: 42px;
        max-width: 620px;
    }

    .gd-tskel.is-block {
        height: 210px;
        max-width: none;
        border-radius: var(--gd-r);
    }

    .gd-tskel.is-side {
        height: 340px;
        max-width: none;
        border-radius: var(--gd-r);
    }

@keyframes gdTourPulse {
    to {
        opacity: .45;
    }
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .gd-tpack {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-tpack-stub {
        border-top: 2px dashed var(--gd-line-2);
        border-right: 0;
        border-radius: 0 0 var(--gd-r) var(--gd-r);
    }

        .gd-tpack-stub::before, .gd-tpack-stub::after {
            display: none;
        }

        .gd-tpack-stub dl {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 5px 22px;
        }

            .gd-tpack-stub dl div:first-child {
                grid-column: 1 / -1;
            }
}

@media (max-width: 991.98px) {
    .gd-tour-hero {
        min-height: 400px;
        padding-top: 110px;
    }

    .gd-tour-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* the date decides what the page shows, so it comes first */
    .gd-tour-side {
        position: static;
        order: -1;
    }

    .gd-tdates {
        max-height: 320px;
    }

    .gd-thelp {
        display: none;
    }

    .gd-tflight {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .gd-tflight-way {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 575.98px) {
    .gd-tgal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 104px;
    }

        .gd-tgal.n1 a:nth-child(2), .gd-tgal.n2 a:not(:first-child), .gd-tgal.n3 a:nth-child(4) {
            grid-column: auto;
            grid-row: auto;
        }

    .gd-thotel {
        flex-direction: column;
    }

        .gd-thotel > img {
            width: 100%;
            height: 170px;
            min-height: 0;
        }

    .gd-tchecks {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-tpack-stub dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-tmodal-foot {
        flex-direction: column;
        align-items: stretch;
    }

        .gd-tmodal-foot .gd-btn {
            justify-content: center;
        }
}


/* tags of the tour (Keywords): the rules were only in gd-pages.css, which this page does not load, so the words ran together */
.gd-keywords { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 24px 0; font-size: 13px; }
.gd-keywords b { font-weight: 400; }
.gd-keywords b i { color: var(--gd-violet); }
.gd-keywords span { padding: 2px 12px; border-radius: 999px; background: var(--gd-mist); }
