/* Bestinmountain Safaris - Premium WP Travel Engine single trip design */

body.single-trip {
    --bms-maroon: #660000;
    --bms-deep: #3D0000;
    --bms-red: #920808;
    --bms-red2: #B10808;
    --bms-gold: #F3D37A;
    --bms-green: #336601;
    --bms-ink: #1A202C;
    --bms-text: #4A5568;
    --bms-muted: #718096;
    --bms-bg: #F7F5F2;
    --bms-soft: #F2EEE8;
    --bms-border: #E4DED6;
    background: var(--bms-bg) !important;
}

body.single-trip #inner-wrap {
    background: var(--bms-bg) !important;
}

body.single-trip #wte-crumbs {
    display: none !important;
}

/* =========================================================
   HERO
========================================================= */
body.single-trip .bms-trip-hero {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: flex-end;
    background-position: center 46%;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: normal !important;
    filter: none !important;
    opacity: 1 !important;
    overflow: hidden;
}


body.single-trip .bms-trip-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1290px, calc(100% - 48px));
    margin: 0 auto;
    padding: 115px 0 88px;
}

body.single-trip .bms-trip-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
    color: var(--bms-gold);
    font-family: Poppins, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body.single-trip .bms-trip-eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--bms-gold);
}

body.single-trip .bms-trip-hero h1 {
    max-width: 980px;
    margin: 0 !important;
    color: #fff !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: clamp(40px, 5.2vw, 64px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -1.6px !important;
    text-shadow: 0 3px 24px rgba(0,0,0,.25);
}

body.single-trip .bms-trip-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

body.single-trip .bms-trip-hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

body.single-trip .bms-trip-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

body.single-trip .bms-trip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 19px;
    border-radius: 5px;
    font-family: Poppins, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: .2s ease;
}

body.single-trip .bms-trip-btn-primary {
    border: 1px solid var(--bms-gold) !important;
    background: var(--bms-gold) !important;
    color: var(--bms-deep) !important;
}

body.single-trip .bms-trip-btn-primary:hover {
    background: #fff !important;
    border-color: #fff !important;
    transform: translateY(-2px);
}

body.single-trip .bms-trip-btn-secondary {
    border: 1px solid rgba(255,255,255,.38) !important;
    background: rgba(255,255,255,.06) !important;
    color: #fff !important;
}

body.single-trip .bms-trip-btn-secondary:hover {
    background: #fff !important;
    color: var(--bms-deep) !important;
}

body.single-trip .bms-trip-hero-note {
    max-width: 760px;
    margin: 17px 0 0 !important;
    color: rgba(255,255,255,.76) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

/* =========================================================
   SUMMARY STRIP
========================================================= */
body.single-trip .bms-trip-summary-strip {
    position: relative;
    z-index: 4;
    width: min(1290px, calc(100% - 48px));
    margin: -34px auto 0;
    border: 1px solid var(--bms-border);
    background: #fff;
    box-shadow: 0 16px 40px rgba(55,26,18,.12);
}

body.single-trip .bms-trip-summary-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
}

body.single-trip .bms-trip-summary-item {
    position: relative;
    min-height: 92px;
    padding: 20px 24px;
    border-right: 1px solid var(--bms-border);
}

body.single-trip .bms-trip-summary-item:last-child {
    border-right: 0;
}

body.single-trip .bms-trip-summary-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 34px;
    height: 3px;
    background: var(--bms-red);
}

body.single-trip .bms-trip-summary-item small {
    display: block;
    margin-bottom: 4px;
    color: var(--bms-muted);
    font-family: Poppins, Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

body.single-trip .bms-trip-summary-item strong {
    display: block;
    color: var(--bms-ink);
    font-family: Poppins, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

/* =========================================================
   ORIGINAL GALLERY
========================================================= */
body.single-trip .wpte-gallery-wrapper__multi-banners .wpte-trip-feat-img {
    display: none !important;
}

body.single-trip .wpte-gallery-wrapper__multi-banners.bms-trip-gallery-empty {
    display: none !important;
}

body.single-trip .wpte-gallery-wrapper__multi-banners.bms-trip-gallery-has-items {
    width: min(1290px, calc(100% - 48px));
    margin: 34px auto 0;
    padding: 0 !important;
}

body.single-trip .wpte-gallery-wrapper__multi-banners.bms-trip-gallery-has-items .wpte-gallery-wrapper {
    margin: 0 !important;
}

body.single-trip .wpte-gallery-wrapper__multi-banners.bms-trip-gallery-has-items .wpte-gallery-container {
    overflow: hidden;
    border-radius: 12px;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */
body.single-trip #wp-travel-trip-wrapper {
    width: min(1290px, calc(100% - 48px)) !important;
    max-width: 1290px !important;
    margin: 58px auto 0 !important;
    padding: 0 !important;
}

body.single-trip #wp-travel-trip-wrapper > .row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 335px !important;
    gap: 30px !important;
    align-items: start !important;
    margin: 0 !important;
}

body.single-trip #wp-travel-trip-wrapper #primary,
body.single-trip #wp-travel-trip-wrapper #secondary {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-trip article.trip-post {
    overflow: hidden;
    border: 1px solid var(--bms-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 9px 32px rgba(45,26,18,.055);
}

body.single-trip article.trip-post > .bms-original-trip-header {
    display: none !important;
}

body.single-trip article.trip-post .entry-content {
    margin: 0 !important;
}

/* =========================================================
   MAIN TRIP COPY
========================================================= */
body.single-trip article.trip-post .trip-post-content {
    padding: 48px 50px 34px !important;
    color: var(--bms-text);
    font-size: 16px;
    line-height: 1.82;
}

body.single-trip article.trip-post .trip-post-content > p:first-child {
    color: #35404A;
    font-size: 18px;
    line-height: 1.82;
}

body.single-trip article.trip-post .trip-post-content p {
    margin: 0 0 22px !important;
    color: #505A65;
    line-height: 1.82;
}

body.single-trip article.trip-post .trip-post-content h2 {
    position: relative;
    margin: 45px 0 18px !important;
    padding-left: 17px;
    color: var(--bms-deep) !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 29px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -.45px;
}

body.single-trip article.trip-post .trip-post-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--bms-red);
}

body.single-trip article.trip-post .trip-post-content h3 {
    margin: 31px 0 12px !important;
    color: var(--bms-ink) !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

body.single-trip article.trip-post .trip-post-content a {
    color: var(--bms-red) !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(146,8,8,.25);
    text-underline-offset: 3px;
}

body.single-trip article.trip-post .trip-post-content strong {
    color: #303944;
}

body.single-trip article.trip-post .trip-post-content ul,
body.single-trip article.trip-post .trip-post-content ol {
    margin: 14px 0 26px !important;
    padding-left: 23px !important;
}

body.single-trip article.trip-post .trip-post-content li {
    margin-bottom: 9px;
    color: #505A65;
}

body.single-trip article.trip-post .trip-post-content li::marker {
    color: var(--bms-red);
}

/* =========================================================
   TABS
========================================================= */
body.single-trip #tabs-container.wpte-tabs-container {
    margin: 0 !important;
    border-top: 1px solid var(--bms-border);
    background: #fff;
}

body.single-trip #tabs-container .nav-tab-wrapper {
    margin: 0 !important;
    padding: 0 50px !important;
    border: 0 !important;
    background: var(--bms-deep) !important;
}

body.single-trip #tabs-container .tab-inner-wrapper {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
}

body.single-trip #tabs-container .tab-anchor-wrapper {
    margin: 0 !important;
}

body.single-trip #tabs-container a.nav-tab {
    display: flex !important;
    align-items: center;
    min-height: 58px;
    margin: 0 !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    background: transparent !important;
    color: rgba(255,255,255,.72) !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.single-trip #tabs-container a.nav-tab:hover,
body.single-trip #tabs-container a.nav-tab.nav-tab-active {
    border-bottom-color: var(--bms-gold) !important;
    color: #fff !important;
}

body.single-trip #tabs-container .tab-content {
    padding: 38px 50px 50px !important;
    background: #fff !important;
}

body.single-trip #tabs-container .wpte-itinerary-title,
body.single-trip #tabs-container .wpte-cost-tab-title {
    margin: 0 0 24px !important;
    color: var(--bms-deep) !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

/* =========================================================
   ITINERARY
========================================================= */
body.single-trip .wte-trip-itinerary-v2 .itinerary-row {
    overflow: hidden;
    margin: 0 0 12px !important;
    border: 1px solid var(--bms-border) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.single-trip .wte-trip-itinerary-v2 .wte-itinerary-head-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-height: 62px;
    padding: 13px 16px !important;
    background: #F9F5F2 !important;
    cursor: pointer;
}

body.single-trip .wte-trip-itinerary-v2 .wte-itinerary-head-wrap .title {
    flex: 0 0 auto;
    min-width: 78px;
    padding: 7px 9px;
    border-radius: 4px;
    background: var(--bms-red) !important;
    color: #fff !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .5px;
    text-align: center;
}

body.single-trip .wte-trip-itinerary-v2 .itinerary-title,
body.single-trip .wte-trip-itinerary-v2 .itinerary-title span {
    color: var(--bms-ink) !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

body.single-trip .wte-trip-itinerary-v2 .itinerary-content {
    border-top: 1px solid var(--bms-border) !important;
    background: #fff !important;
}

body.single-trip .wte-trip-itinerary-v2 .itinerary-content .content {
    padding: 19px 20px 20px !important;
}

body.single-trip .wte-trip-itinerary-v2 .itinerary-content p {
    margin: 0 !important;
    color: #56616D !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

body.single-trip .wp-travel-engine-itinerary-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

body.single-trip .aib-button-toggle .aib-button-label {
    color: var(--bms-red) !important;
    font-family: Poppins, Arial, sans-serif;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

/* =========================================================
   COST / INCLUDES EXCLUDES
========================================================= */
body.single-trip #nb-3-configurations .post-data.cost {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

body.single-trip #nb-3-configurations .wpte-cost-tab-title {
    grid-column: 1 / -1;
}

body.single-trip #nb-3-configurations .post-data.cost > .content {
    padding: 24px;
    border: 1px solid var(--bms-border);
    border-radius: 9px;
    background: #FCFAF8;
}

body.single-trip #nb-3-configurations .post-data.cost > .content h3 {
    margin: 0 0 16px !important;
    color: var(--bms-ink) !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

body.single-trip #include-result,
body.single-trip #exclude-result {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-trip #include-result li,
body.single-trip #exclude-result li {
    position: relative;
    margin: 0 0 12px !important;
    padding: 0 0 0 25px !important;
    color: #55606B !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

body.single-trip #include-result li::before,
body.single-trip #exclude-result li::before {
    position: absolute;
    left: 0;
    top: 1px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

body.single-trip #include-result li::before {
    content: "✓";
    color: var(--bms-green);
}

body.single-trip #exclude-result li::before {
    content: "×";
    color: var(--bms-red);
}

/* =========================================================
   STICKY PLANNER SIDEBAR
========================================================= */
body.single-trip #secondary .bms-trip-planner {
    position: sticky;
    top: 105px;
    overflow: hidden;
    padding: 28px 25px 24px;
    border: 1px solid #D9CEC5;
    border-top: 5px solid var(--bms-red);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(54,27,19,.09);
}

body.single-trip .bms-trip-planner-kicker {
    margin-bottom: 8px;
    color: var(--bms-red);
    font-family: Poppins, Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

body.single-trip .bms-trip-planner h3 {
    margin: 0 0 10px !important;
    color: var(--bms-deep) !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

body.single-trip .bms-trip-planner > p {
    margin: 0 0 18px !important;
    color: #626C77 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

body.single-trip .bms-trip-planner-facts {
    margin: 0 0 19px;
    padding: 15px 0;
    border-top: 1px solid var(--bms-border);
    border-bottom: 1px solid var(--bms-border);
}

body.single-trip .bms-trip-planner-facts div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 9px;
}

body.single-trip .bms-trip-planner-facts div:last-child {
    margin-bottom: 0;
}

body.single-trip .bms-trip-planner-facts span {
    color: var(--bms-green);
    font-weight: 700;
}

body.single-trip .bms-trip-planner-facts b {
    color: #4D5863;
    font-family: Poppins, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

body.single-trip .bms-trip-side-quote,
body.single-trip .bms-trip-side-whatsapp {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin: 0 0 9px !important;
    padding: 11px 14px !important;
    border-radius: 5px !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

body.single-trip .bms-trip-side-quote {
    border: 1px solid var(--bms-red) !important;
    background: var(--bms-red) !important;
    color: #fff !important;
}

body.single-trip .bms-trip-side-quote:hover {
    background: var(--bms-maroon) !important;
    border-color: var(--bms-maroon) !important;
}

body.single-trip .bms-trip-side-whatsapp {
    border: 1px solid var(--bms-green) !important;
    background: var(--bms-green) !important;
    color: #fff !important;
}

body.single-trip .bms-trip-side-contact {
    margin-top: 13px;
    color: var(--bms-muted);
    font-family: Poppins, Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
}

/* =========================================================
   ENQUIRY FORM
========================================================= */
body.single-trip .wte_enquiry_contact_form-wrap {
    margin: 28px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.single-trip #wte_enquiry_contact_form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 17px 18px;
    padding: 35px !important;
    border: 1px solid var(--bms-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 8px 28px rgba(45,26,18,.055);
}

body.single-trip #wte_enquiry_contact_form .enquiry-form-title,
body.single-trip #wte_enquiry_contact_form .bms-enquiry-intro,
body.single-trip #wte_enquiry_contact_form .package-name-holder,
body.single-trip #wte_enquiry_contact_form .confirm-msg,
body.single-trip #wte_enquiry_contact_form #enquiry_submit_button {
    grid-column: 1 / -1;
}

body.single-trip #wte_enquiry_contact_form .enquiry-form-title {
    margin: 0 !important;
    color: var(--bms-deep) !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

body.single-trip #wte_enquiry_contact_form .bms-enquiry-intro {
    margin: -8px 0 3px !important;
    color: #65707A !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

body.single-trip #wte_enquiry_contact_form .row-repeater {
    margin: 0 !important;
}

body.single-trip #wte_enquiry_contact_form label {
    display: block;
    margin: 0 0 7px !important;
    color: #3F4852 !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

body.single-trip #wte_enquiry_contact_form input[type="text"],
body.single-trip #wte_enquiry_contact_form input[type="email"],
body.single-trip #wte_enquiry_contact_form input[type="number"],
body.single-trip #wte_enquiry_contact_form select,
body.single-trip #wte_enquiry_contact_form textarea {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 1px solid #D8D2CB !important;
    border-radius: 6px !important;
    background: #FCFBFA !important;
    color: #303944 !important;
    font-size: 13px !important;
    box-shadow: none !important;
}

body.single-trip #wte_enquiry_contact_form input[type="text"],
body.single-trip #wte_enquiry_contact_form input[type="email"],
body.single-trip #wte_enquiry_contact_form input[type="number"],
body.single-trip #wte_enquiry_contact_form select {
    min-height: 46px !important;
    padding: 10px 12px !important;
}

body.single-trip #wte_enquiry_contact_form textarea {
    min-height: 145px !important;
    padding: 12px !important;
    resize: vertical;
}

body.single-trip #wte_enquiry_contact_form input:focus,
body.single-trip #wte_enquiry_contact_form select:focus,
body.single-trip #wte_enquiry_contact_form textarea:focus {
    border-color: var(--bms-red) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(146,8,8,.08) !important;
}

body.single-trip #wte_enquiry_contact_form .wp-travel-engine-info {
    display: block;
    padding: 12px 14px;
    border-left: 4px solid var(--bms-red);
    background: #F9F3F1;
    color: #4B555F;
    font-size: 13px;
    line-height: 1.55;
}

body.single-trip #wte_enquiry_contact_form #enquiry_submit_button {
    width: auto !important;
    min-width: 180px;
    min-height: 47px;
    justify-self: start;
    margin-top: 3px !important;
    border: 1px solid var(--bms-red) !important;
    border-radius: 5px !important;
    background: var(--bms-red) !important;
    color: #fff !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.single-trip #wte_enquiry_contact_form #enquiry_submit_button:hover {
    background: var(--bms-maroon) !important;
    border-color: var(--bms-maroon) !important;
}

/* =========================================================
   RELATED TRIPS
========================================================= */
body.single-trip .wte-related-trips-wrapper {
    margin: 72px 0 0 !important;
    padding: 55px 0 72px !important;
    border-top: 1px solid var(--bms-border);
}

body.single-trip .wte-related-trips__heading {
    margin: 0 0 27px !important;
    color: var(--bms-deep) !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 31px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

body.single-trip .wte-related-trips {
    gap: 22px !important;
}

body.single-trip .wte-related-trips .category-trips-single {
    overflow: hidden;
    border: 1px solid var(--bms-border) !important;
    border-radius: 11px !important;
    background: #fff !important;
    box-shadow: 0 7px 24px rgba(45,26,18,.055) !important;
    transition: transform .22s ease, box-shadow .22s ease;
}

body.single-trip .wte-related-trips .category-trips-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(61,0,0,.11) !important;
}

body.single-trip .wte-related-trips .category-trip-fig {
    height: 210px !important;
    margin: 0 !important;
    overflow: hidden !important;
}

body.single-trip .wte-related-trips .category-trip-fig img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .45s ease;
}

body.single-trip .wte-related-trips .category-trips-single:hover .category-trip-fig img {
    transform: scale(1.045);
}

body.single-trip .wte-related-trips .category-trip-title {
    margin: 15px 18px 10px !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

body.single-trip .wte-related-trips .category-trip-title a {
    color: var(--bms-ink) !important;
    text-decoration: none !important;
}

body.single-trip .wte-related-trips .category-trip-title a:hover {
    color: var(--bms-red) !important;
}

body.single-trip .wte-related-trips .category-trip-meta-infos {
    margin: 0 18px 18px !important;
}

/* =========================================================
   MOBILE CTA
========================================================= */
body.single-trip .bms-trip-mobile-actions {
    display: none;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1050px) {
    body.single-trip #wp-travel-trip-wrapper > .row {
        grid-template-columns: 1fr !important;
    }

    body.single-trip #secondary .bms-trip-planner {
        position: relative;
        top: auto;
    }

    body.single-trip .bms-trip-hero {
        min-height: 520px;
    }

    body.single-trip .bms-trip-summary-inner {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    body.single-trip .bms-trip-summary-item:nth-child(2) {
        border-right: 0;
    }

    body.single-trip .bms-trip-summary-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--bms-border);
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767px) {
    body.single-trip {
        padding-bottom: 68px;
    }

    body.single-trip .bms-trip-hero {
        min-height: 430px;
        background-position: 60% center;
    }

    body.single-trip .bms-trip-hero-inner {
        width: calc(100% - 32px);
        padding: 78px 0 54px;
    }

    body.single-trip .bms-trip-hero h1 {
        font-size: 34px !important;
        line-height: 1.16 !important;
        letter-spacing: -.7px !important;
    }

    body.single-trip .bms-trip-hero-meta span {
        min-height: 31px;
        padding: 6px 9px;
        font-size: 10px;
    }

    body.single-trip .bms-trip-hero-actions {
        display: none;
    }

    body.single-trip .bms-trip-hero-note {
        font-size: 12px !important;
    }

    body.single-trip .bms-trip-summary-strip {
        width: calc(100% - 28px);
        margin-top: -21px;
    }

    body.single-trip .bms-trip-summary-item {
        min-height: 82px;
        padding: 18px 15px;
    }

    body.single-trip .bms-trip-summary-item::before {
        left: 15px;
    }

    body.single-trip .bms-trip-summary-item strong {
        font-size: 12px;
    }

    body.single-trip #wp-travel-trip-wrapper {
        width: calc(100% - 28px) !important;
        margin-top: 38px !important;
    }

    body.single-trip article.trip-post .trip-post-content {
        padding: 29px 21px 25px !important;
        font-size: 15px;
    }

    body.single-trip article.trip-post .trip-post-content > p:first-child {
        font-size: 16px;
    }

    body.single-trip article.trip-post .trip-post-content h2 {
        margin-top: 37px !important;
        font-size: 24px !important;
    }

    body.single-trip article.trip-post .trip-post-content h3 {
        font-size: 19px !important;
    }

    body.single-trip #tabs-container .nav-tab-wrapper {
        padding: 0 18px !important;
    }

    body.single-trip #tabs-container a.nav-tab {
        min-height: 54px;
        padding: 0 14px !important;
        font-size: 11px !important;
    }

    body.single-trip #tabs-container .tab-content {
        padding: 28px 20px 31px !important;
    }

    body.single-trip #tabs-container .wpte-itinerary-title,
    body.single-trip #tabs-container .wpte-cost-tab-title {
        font-size: 24px !important;
    }

    body.single-trip .wp-travel-engine-itinerary-header {
        align-items: flex-start !important;
        flex-direction: column;
    }

    body.single-trip .wte-trip-itinerary-v2 .wte-itinerary-head-wrap {
        align-items: flex-start !important;
        gap: 9px !important;
        flex-direction: column;
    }

    body.single-trip .wte-trip-itinerary-v2 .wte-itinerary-head-wrap .title {
        min-width: 70px;
    }

    body.single-trip #nb-3-configurations .post-data.cost {
        grid-template-columns: 1fr;
    }

    body.single-trip #wte_enquiry_contact_form {
        grid-template-columns: 1fr;
        padding: 26px 20px !important;
    }

    body.single-trip #wte_enquiry_contact_form .enquiry-form-title,
    body.single-trip #wte_enquiry_contact_form .bms-enquiry-intro,
    body.single-trip #wte_enquiry_contact_form .package-name-holder,
    body.single-trip #wte_enquiry_contact_form .confirm-msg,
    body.single-trip #wte_enquiry_contact_form #enquiry_submit_button {
        grid-column: auto;
    }

    body.single-trip #wte_enquiry_contact_form .enquiry-form-title {
        font-size: 24px !important;
    }

    body.single-trip #wte_enquiry_contact_form #enquiry_submit_button {
        width: 100% !important;
    }

    body.single-trip .wte-related-trips-wrapper {
        margin-top: 52px !important;
        padding: 42px 0 52px !important;
    }

    body.single-trip .wte-related-trips__heading {
        font-size: 26px !important;
    }

    body.single-trip .bms-trip-mobile-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
        border-top: 1px solid #D9CEC5;
        background: rgba(255,255,255,.97);
        box-shadow: 0 -8px 26px rgba(45,26,18,.12);
    }

    body.single-trip .bms-trip-mobile-actions button,
    body.single-trip .bms-trip-mobile-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        margin: 0 !important;
        padding: 10px 12px !important;
        border-radius: 5px !important;
        font-family: Poppins, Arial, sans-serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    body.single-trip .bms-trip-mobile-actions button {
        border: 1px solid var(--bms-red) !important;
        background: var(--bms-red) !important;
        color: #fff !important;
    }

    body.single-trip .bms-trip-mobile-actions a {
        border: 1px solid var(--bms-green) !important;
        background: var(--bms-green) !important;
        color: #fff !important;
    }
}
