/* ============================================================
   Egypt Revealed Tours — global redesign skin (batch 1)
   Header + topbar + footer + buttons. Loaded after theme CSS.
   Palette: dark green #0e2b28 / gold #c69a3d / cream #f6f2ea
   ============================================================ */
:root {
    --ert-gold: #c69a3d;
    --ert-gold-d: #b0872f;
    --ert-dark: #0e2b28;
    --ert-dark-2: #0b2321;
    --ert-cream: #f6f2ea;
}

/* ---------------- Topbar ---------------- */
.egyptrevealedtours-topbar.bg-blue-1 {
    background-color: var(--ert-dark-2) !important;
}
.egyptrevealedtours-topbar a:hover {
    color: var(--ert-gold) !important;
}

/* ---------------- Login/Register removed (no auth UI on public site) ---------------- */
.bravo_header a[href="#login"],
.bravo_header .login-item,
.bravo_header .icon-user,
.egyptrevealedtours-topbar a[href="#login"],
.mobile-footer a[href="#login"],
a[data-bs-toggle="modal"][href="#login"] { display: none !important; }

/* ---------------- Admin-only Edit button ---------------- */
.ert-admin-edit {
    position: fixed; left: 24px; bottom: 24px; z-index: 9998;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ert-gold); color: #fff !important;
    padding: 11px 18px; border-radius: 40px;
    font-size: 13px; font-weight: 600; letter-spacing: .3px;
    text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
    transition: background .2s, transform .2s;
}
.ert-admin-edit:hover { background: var(--ert-gold-d); transform: translateY(-2px); color: #fff !important; }
.ert-admin-edit svg { flex: 0 0 auto; }
@media (max-width: 640px) { .ert-admin-edit span { display: none; } .ert-admin-edit { padding: 12px; border-radius: 50%; left: 16px; bottom: 80px; } }

/* ---------------- Preloader ---------------- */
.ert-preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--ert-dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}
.ert-preloader.-is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.ert-preloader__box { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ert-preloader__logo .ert-logo { /* sized in Logo block below */ }
.ert-preloader__spinner {
    width: 42px; height: 42px; border-radius: 50%;
    border: 3px solid rgba(198, 154, 61, .25);
    border-top-color: var(--ert-gold);
    animation: ert-spin .8s linear infinite;
}
@keyframes ert-spin { to { transform: rotate(360deg); } }

/* ---------------- Logo (square SVG badge) ---------------- */
.ert-logo-wrap { display: inline-flex; align-items: center; }
.ert-logo { height: 68px; width: 68px; display: block; border-radius: 12px; }
.ert-preloader__logo .ert-logo { height: 120px; width: 120px; border-radius: 18px; }
.bravo_header .ert-logo { height: 68px; width: 68px; }
.ert-footer__logo .ert-logo { height: 88px; width: 88px; border-radius: 16px; margin-bottom: 14px; }
@media (max-width: 640px) { .ert-logo, .bravo_header .ert-logo { height: 52px; width: 52px; } }

/* ---------------- Header ---------------- */
.bravo_header {
    background-color: var(--ert-dark) !important;
}
/* homepage: solid dark green at all times (no transparent-over-hero) */
body.home-ert .bravo_header,
body.home-ert .bravo_header:not(.ert-header--solid),
body.home-ert .bravo_header.ert-header--solid {
    background-color: var(--ert-dark) !important;
    box-shadow: 0 2px 14px rgba(0,0,0,.22) !important;
}
/* compact header: reduce vertical height globally */
.bravo_header .header__container { padding-top: 0 !important; padding-bottom: 0 !important; }
.bravo_header .header__container > .row { min-height: 86px; }
.bravo_header .ert-logo { height: 68px !important; width: 68px !important; }
.bravo_header .menu > .menu__nav > li.depth-0 > a { padding-top: 8px !important; padding-bottom: 8px !important; }
.bravo_header .header-menu__content { padding-top: 6px; padding-bottom: 6px; }
/* min-height, not height: the auth pages (login, register, password reset,
   verify, two-factor) put this class on the section that holds the form, so a
   fixed height clipped it to 86px and the card spilled over the footer. Empty
   spacer divs still get their 86px. */
.header-margin { min-height: 86px !important; }
/* nav links: white, gold on hover/active */
.bravo_header .menu__nav > li > a,
.bravo_header .menu__nav.text-dark-1 > li > a,
.bravo_header .menu__nav > li > .mega-menu-link {
    color: #fff !important;
}
.bravo_header .menu__nav > li > a:hover,
.bravo_header .menu__nav > li.current-menu-item > a,
.bravo_header .menu__nav > li.active > a {
    color: var(--ert-gold) !important;
}
/* header CTA buttons → gold */
.bravo_header .button {
    background-color: var(--ert-gold) !important;
    border-color: var(--ert-gold) !important;
    color: #fff !important;
}
.bravo_header .button:hover {
    background-color: var(--ert-gold-d) !important;
    border-color: var(--ert-gold-d) !important;
}
/* ---------------- Main menu design ---------------- */
/* top-level links */
.bravo_header .menu > .menu__nav > li.depth-0 > a {
    display: inline-flex; align-items: center;
    font-size: 14px; font-weight: 500; letter-spacing: .4px;
    text-transform: uppercase; padding: 10px 16px; position: relative;
    color: #fff;
}
.bravo_header .menu > .menu__nav > li.depth-0 > a .icon-chevron-sm-down { font-size: 9px; margin-left: 6px; opacity: .8; }
/* animated gold underline on top links */
.bravo_header .menu > .menu__nav > li.depth-0 > a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
    height: 2px; background: var(--ert-gold); transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
}
.bravo_header .menu > .menu__nav > li.depth-0:hover > a,
.bravo_header .menu > .menu__nav > li.depth-0.current-menu-item > a { color: var(--ert-gold) !important; }
.bravo_header .menu > .menu__nav > li.depth-0:hover > a::after,
.bravo_header .menu > .menu__nav > li.depth-0.current-menu-item > a::after { transform: scaleX(1); }

/* dropdown (subnav) panel */
.bravo_header .menu__nav .subnav {
    background: #fff; border-radius: 8px; padding: 10px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .16); border-top: 3px solid var(--ert-gold);
    min-width: 220px;
}
.bravo_header .menu__nav .subnav li.depth-1 > a,
.bravo_header .menu__nav .subnav a.dropdown-item {
    display: block; padding: 9px 22px; font-size: 14px; color: var(--ert-ink) !important;
    text-transform: none; letter-spacing: 0; transition: .2s; border: none;
}
.bravo_header .menu__nav .subnav li > a:hover,
.bravo_header .menu__nav .subnav a.dropdown-item:hover {
    background: rgba(198, 154, 61, .1); color: var(--ert-gold) !important; padding-left: 27px;
}
.bravo_header .menu__nav .subnav .subnav__backBtn a { color: var(--ert-muted) !important; }

/* mega menu */
.bravo_header .menu__nav .mega {
    background: #fff; border-radius: 8px; padding: 26px 30px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .18); border-top: 3px solid var(--ert-gold);
}
.bravo_header .menu__nav .mega .mega-title, .bravo_header .menu__nav .mega h4, .bravo_header .menu__nav .mega strong {
    font-family: 'Playfair Display', serif; color: var(--ert-dark); font-size: 15px; margin-bottom: 8px;
}
.bravo_header .menu__nav .mega a { color: var(--ert-ink) !important; padding: 6px 0; display: block; font-size: 14px; }
.bravo_header .menu__nav .mega a:hover { color: var(--ert-gold) !important; }

/* currency + language switchers in header */
.bravo_header .currency-dropdown > a, .bravo_header .language-dropdown > a,
.bravo_header .menu__nav > li.currency-dropdown > a, .bravo_header .menu__nav > li.language-dropdown > a {
    color: #fff; font-size: 13px; text-transform: uppercase;
}

/* ---------------- Header phone + Enquire CTA ---------------- */
.ert-header-cta { display: flex; align-items: center; gap: 18px; margin-left: 22px; }
.ert-hdr-phone { display: inline-flex; align-items: center; gap: 7px; color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.ert-hdr-phone i { color: var(--ert-gold); font-size: 16px; }
.ert-hdr-phone:hover { color: var(--ert-gold) !important; }
.ert-hdr-enquire {
    display: inline-flex; align-items: center; background: var(--ert-gold); color: #fff !important;
    font-weight: 600; font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
    padding: 12px 24px; border-radius: 4px; text-decoration: none; white-space: nowrap; transition: .2s;
}
.ert-hdr-enquire:hover { background: var(--ert-gold-d); color: #fff !important; }
@media (max-width: 1200px) { .ert-hdr-phone span { display: none; } }
@media (max-width: 991px) { .ert-header-cta { display: none; } }

/* dropdown/submenu panels stay readable */
.bravo_header .menu__nav .subnav a {
    color: inherit;
}

/* ---------------- Global button accents ---------------- */
.button.bg-blue-1,
.button.-blue-1 {
    background-color: var(--ert-gold) !important;
    border-color: var(--ert-gold) !important;
    color: #fff !important;
}
.button.bg-blue-1:hover,
.button.-blue-1:hover {
    background-color: var(--ert-gold-d) !important;
}
.text-blue-1 {
    color: var(--ert-gold) !important;
}

/* ---------------- Footer (style_ert) ---------------- */
.footer.ert-footer {
    background-color: var(--ert-dark);
    color: #fff;
    font-size: 14px;
}
.ert-footer__top {
    padding: 56px 0 40px;
}
.ert-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 36px;
}
.ert-footer__brand img {
    max-height: 56px;
    width: auto;
    margin-bottom: 14px;
}
.ert-footer__brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: #fff;
    letter-spacing: 1px;
    margin: 0 0 10px;
}
.ert-footer__brand-name span { color: var(--ert-gold); }
.ert-footer__tagline {
    color: rgba(255, 255, 255, .7);
    line-height: 1.6;
    margin: 0 0 18px;
    font-size: 13px;
}
.ert-footer h5.ert-footer__title {
    color: var(--ert-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.ert-footer ul.ert-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ert-footer ul.ert-footer__links li { margin-bottom: 10px; }
.ert-footer ul.ert-footer__links a,
.ert-footer .ert-footer__widget a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    transition: color .2s;
    font-size: 13px;
}
.ert-footer ul.ert-footer__links a:hover,
.ert-footer .ert-footer__widget a:hover {
    color: var(--ert-gold);
}
/* DB widget content (footer_content_right) inherits same look */
.ert-footer .ert-footer__widget ul { list-style: none; margin: 0; padding: 0; }
.ert-footer .ert-footer__widget ul li { margin-bottom: 10px; }
.ert-footer .ert-footer__widget p { color: rgba(255,255,255,.78); font-size: 13px; }

.ert-footer__contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 12px;
    font-size: 13px;
}
.ert-footer__contact li .ert-ico { color: var(--ert-gold); flex: 0 0 auto; }
.ert-footer__contact a { color: rgba(255,255,255,.78); text-decoration: none; }
.ert-footer__contact a:hover { color: var(--ert-gold); }

/* social */
.ert-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.ert-footer__social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: .2s;
}
.ert-footer__social a:hover {
    background: var(--ert-gold);
    border-color: var(--ert-gold);
    color: #fff;
}

/* newsletter */
.ert-footer__news .subcribe-form { position: relative; display: flex; }
.ert-footer__news input.email-input {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .06);
    border-radius: 6px;
    color: #fff;
    padding: 0 110px 0 14px;
    font-size: 13px;
}
.ert-footer__news input.email-input::placeholder { color: rgba(255,255,255,.5); }
.ert-footer__news button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    background: var(--ert-gold);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
}
.ert-footer__news button:hover { background: var(--ert-gold-d); }

/* payments + bottom bar */
.ert-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.ert-footer__copy { color: rgba(255, 255, 255, .6); font-size: 12px; }
.ert-footer__copy a { color: rgba(255,255,255,.6); }
.ert-footer__copy a:hover { color: var(--ert-gold); }
.ert-footer__accept {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ert-footer__accept-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-right: 4px;
}
.ert-pay {
    background: #fff;
    color: #1a1a2e;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 4px 8px;
    line-height: 1;
}
/* currency/lang switchers inside dark footer stay readable */
.ert-footer .menu__nav > li > a { color: rgba(255,255,255,.78) !important; }
.ert-footer .menu__nav > li > a:hover { color: var(--ert-gold) !important; }

@media (max-width: 1100px) {
    .ert-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .ert-footer__grid { grid-template-columns: 1fr; }
    .ert-footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   Batch 2 — listing + detail pages (Tours; reused by Boats/Hotels)
   ============================================================ */

/* ---- page hero band (dark green, serif title, breadcrumb) ---- */
.ert-pagehero {
    background: linear-gradient(120deg, var(--ert-dark-2) 0%, #16403a 70%, #34503a 100%);
    padding: 54px 0 44px;
    color: #fff;
}
.ert-pagehero__title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 8px;
}
.ert-pagehero__bc,
.ert-pagehero__bc a {
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    text-decoration: none;
}
.ert-pagehero__bc a:hover { color: var(--ert-gold); }
.ert-pagehero__bc .sep { margin: 0 8px; color: var(--ert-gold); }

/* ---- USP strip (dark, gold icons) ---- */
.ert-usp {
    background: var(--ert-dark);
    color: #fff;
    padding: 22px 0;
}
.ert-usp__row {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}
.ert-usp__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.ert-usp__item i, .ert-usp__item .ico { color: var(--ert-gold); font-size: 20px; }

/* ---- listing page shell ---- */
.ert-listing { background: var(--ert-cream); }
.ert-listing .sidebar__item h5 {
    color: var(--ert-dark);
    font-family: 'Playfair Display', serif;
    font-size: 17px;
}
.ert-listing .bravo_filter {
    background: #fff;
    border-radius: 8px;
    padding: 22px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.ert-listing .form-checkbox input:checked ~ .form-checkbox__mark {
    background-color: var(--ert-gold) !important;
    border-color: var(--ert-gold) !important;
}
.ert-listing .result-count { font-family: 'Playfair Display', serif; }

/* ---- redesigned service card (tours/cruises/hotels loops) ---- */
.ert-tcard {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .2s, box-shadow .2s;
    position: relative;
}
.ert-tcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .13); }
.ert-tcard__img {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #c7bfa8 0%, #e3dbc8 55%, #cbb98c 100%);
}
.ert-tcard__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.ert-tcard:hover .ert-tcard__img img { transform: scale(1.05); }
.ert-tcard__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--ert-gold);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
}
.ert-tcard__badge--sale { background: #a33b2e; top: 40px; }
.ert-tcard__wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}
.ert-tcard__wish button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .92);
    color: var(--ert-dark);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.ert-tcard__wish.active button, .ert-tcard__wish button:hover { color: #a33b2e; }
.ert-tcard__pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    background: var(--ert-dark);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 3px;
}
.ert-tcard__body {
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.ert-tcard__title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}
.ert-tcard__title a { color: var(--ert-dark) !important; text-decoration: none; }
.ert-tcard__title a:hover { color: var(--ert-gold) !important; }
.ert-tcard__loc {
    font-size: 12px;
    color: #7b7b74;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ert-tcard__loc i { color: var(--ert-gold); }
.ert-tcard__foot {
    margin-top: auto;
    border-top: 1px solid #f0ece2;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.ert-tcard__price { font-size: 12px; color: #7b7b74; }
.ert-tcard__price .old { text-decoration: line-through; color: #a33b2e; margin-right: 4px; font-size: 11px; }
.ert-tcard__price .now { color: var(--ert-gold); font-weight: 700; font-size: 17px; margin-left: 3px; }
.ert-tcard__meta { font-size: 12px; color: #7b7b74; }

/* ---- detail page hero (dark band) ---- */
.ert-dhero {
    background: linear-gradient(120deg, var(--ert-dark-2) 0%, #16403a 70%, #34503a 100%);
    color: #fff;
    padding: 46px 0 0;
}
.ert-dhero__title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    margin: 0 0 10px;
}
.ert-dhero__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    margin-bottom: 16px;
}
.ert-dhero__meta i { color: var(--ert-gold); }
.ert-dhero__price { margin: 6px 0 20px; }
.ert-dhero__price .from { font-size: 13px; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: 1px; }
.ert-dhero__price .amount {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: var(--ert-gold);
    font-weight: 700;
    margin: 0 8px;
}
.ert-dhero__price .per { font-size: 13px; color: rgba(255, 255, 255, .7); }
.ert-dhero__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.ert-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ert-gold);
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: .2s;
}
.ert-btn-gold:hover { background: var(--ert-gold-d); }
.ert-dhero .dropdown .button, .ert-dhero .service-wishlist .button {
    background: rgba(255, 255, 255, .1) !important;
    border: 1px solid rgba(255, 255, 255, .3) !important;
    color: #fff !important;
}

/* ---- detail tab bar (anchor nav) ---- */
.ert-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.ert-tabs a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 15px 18px;
    border-bottom: 2px solid transparent;
    transition: .2s;
}
.ert-tabs a:hover, .ert-tabs a.active {
    color: var(--ert-gold);
    border-bottom-color: var(--ert-gold);
}

/* detail body headings adopt serif */
.bravo_detail h3, .bravo_detail .text-22 {
    font-family: 'Playfair Display', serif !important;
}
/* tab menu bar below the gallery (light bg variant) */
.ert-ptabs--bar { border-top: none !important; border-bottom: 2px solid #ece5d5; margin: 0 0 26px; gap: 4px; flex-wrap: wrap; }
.ert-ptabs--bar a { color: var(--ert-muted) !important; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.ert-ptabs--bar a:hover { color: var(--ert-dark) !important; }
.ert-ptabs--bar a.active { color: var(--ert-gold) !important; border-bottom-color: var(--ert-gold); }

/* tabbed panels on detail pages */
.ert-tabpane { display: none; }
.ert-tabpane.is-active { display: block; animation: ert-fade .25s ease; }
/* ============================================================
   Sunrise-style detail sidebar (price + Ask a Question + facilities)
   ============================================================ */
.ert-sbook { position: sticky; top: 100px; border: 1px solid #ece5d5; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.09); background: #fff; }
.ert-sbook__top { background: linear-gradient(135deg, var(--ert-dark-2), #16403a); color: #fff; padding: 26px 24px; text-align: center; }
.ert-sbook__sub { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.ert-sbook__price { margin-bottom: 14px; }
.ert-sbook__price .from { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.7); }
.ert-sbook__price .amount { display: block; font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: var(--ert-gold); line-height: 1.1; }
.ert-sbook__price .amount del { color: rgba(255,255,255,.5); font-size: 20px; }
.ert-sbook__price .unit { font-size: 13px; color: rgba(255,255,255,.8); }
.ert-sbook__paylater { font-size: 12px; color: rgba(255,255,255,.85); margin-bottom: 16px; }
.ert-sbook__paylater i { color: var(--ert-gold); }
.ert-sbook__ask { width: 100%; justify-content: center; }
.ert-sbook__feats { list-style: none; margin: 0; padding: 18px 22px; }
.ert-sbook__feats li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--ert-ink); }
.ert-sbook__feats .ico { color: var(--ert-gold); }
.ert-sbook__contact { display: flex; gap: 8px; padding: 0 22px 18px; }
.ert-sbook__contact a { flex: 1; text-align: center; padding: 11px; border-radius: 8px; border: 1px solid #e4ddcd; color: var(--ert-dark); text-decoration: none; font-weight: 600; font-size: 13px; }
.ert-sbook__contact a:hover { border-color: var(--ert-gold); color: var(--ert-gold); }
.ert-sbook__contact .wa { background: #25d366; color: #fff; border-color: #25d366; }
.ert-sbook__contact .wa:hover { background: #1eb457; color: #fff; }
.ert-sbook__why { background: var(--ert-cream); padding: 18px 22px; }
.ert-sbook__why h5 { font-family: 'Playfair Display', serif; color: var(--ert-dark); font-size: 15px; margin: 0 0 10px; }
.ert-sbook__why ul { list-style: none; margin: 0; padding: 0; }
.ert-sbook__why li { font-size: 13px; color: var(--ert-ink); padding: 4px 0; }
.ert-sbook__why li::first-letter { color: var(--ert-gold); }
@media (max-width: 991px) { .ert-sbook { position: static; margin-top: 24px; } }

/* ============================================================
   Booking box (detail-page date/guest/room widget) — premium skin
   Applies to tour-form-book, hotel-rooms, boat form-book (Vue widgets)
   ============================================================ */
.form-book, .hotel_rooms_form, .bravo_form_book {
    background: #fff !important; border: 1px solid #ece5d5 !important;
    border-radius: 14px !important; overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,.09) !important; position: relative;
}
.form-book::before, .hotel_rooms_form::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--ert-gold), var(--ert-gold-d)); }
.form-book .form-content, .hotel_rooms_form { padding: 0; }
/* Book / Enquiry pill tabs */
.nav-enquiry { display: flex; gap: 6px; padding: 14px 16px 0; }
.nav-enquiry .enquiry-item { flex: 1; text-align: center; padding: 11px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ert-muted); background: var(--ert-cream); transition: .2s; }
.nav-enquiry .enquiry-item.active { background: var(--ert-gold); color: #fff; }
.nav-enquiry .enquiry-item:hover { color: var(--ert-dark); }
.nav-enquiry .enquiry-item.active:hover { color: #fff; }
/* section titles + price */
.form-book .form-section-title, .form-book .price, .hotel_rooms_form .price { font-family: 'Playfair Display', serif; }
.form-book .price, .hotel_rooms_form .price { color: var(--ert-gold) !important; font-weight: 700; }
.form-book .form-section-group, .form-book .form-group-padding { padding: 16px 20px; }
/* fields */
.form-book .form-date-search, .form-book .form-guest-search, .form-book .date-wrapper,
.form-book input[type=text], .form-book select, .hotel_rooms_form input[type=text], .hotel_rooms_form select {
    border: 1px solid #e4ddcd !important; border-radius: 10px !important; background: #fff;
}
.form-book .form-date-field { padding: 6px 4px; }
.form-book label, .hotel_rooms_form label { color: var(--ert-ink); }
/* +/- counters */
.form-book .button.-outline-blue-1, .hotel_rooms_form .button.-outline-blue-1 {
    border-color: var(--ert-gold) !important; color: var(--ert-gold) !important; border-radius: 8px !important;
}
.form-book .button.-outline-blue-1:hover { background: var(--ert-gold) !important; color: #fff !important; }
/* extras */
.extra-price-wrap { border: 1px solid #f0ece2; border-radius: 10px; padding: 12px 14px; margin-top: 10px; }
.extra-price-wrap .extra-price-item, .extra-price-wrap .item { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
/* total */
.form-section-total { background: var(--ert-cream) !important; border: none !important; border-radius: 12px !important; }
.form-section-total .price, .form-section-total .total-price, .form-section-total strong { color: var(--ert-gold) !important; font-family: 'Playfair Display', serif; font-size: 22px; }
/* main book / enquiry button */
.form-book .button.bg-blue-1, .form-book .btn-primary, .hotel_rooms_form .button.bg-blue-1,
.form-send-enquiry .button, .form-book a.button[name=submit] {
    background: var(--ert-gold) !important; border-color: var(--ert-gold) !important; color: #fff !important;
    border-radius: 10px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.form-book .button.bg-blue-1:hover, .hotel_rooms_form .button.bg-blue-1:hover, .form-send-enquiry .button:hover { background: var(--ert-gold-d) !important; }

/* Hotel photo grid (Overview tab) */
.ert-hotel-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ert-hotel-gallery__item { display: block; height: 170px; border-radius: 8px; background-size: cover; background-position: center; background-color: #dcd5c6; transition: transform .25s; }
.ert-hotel-gallery__item:hover { transform: scale(1.03); }
@media (max-width: 640px) { .ert-hotel-gallery { grid-template-columns: repeat(2, 1fr); } }

/* Select Dates sidebar box */
.ert-datebox { background: #fff; border: 1px solid #ece5d5; border-radius: 12px; padding: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.07); position: sticky; top: 100px; }
.ert-datebox__title { font-family: 'Playfair Display', serif; color: var(--ert-dark); font-size: 20px; margin: 0 0 6px; }
.ert-datebox__price { margin-bottom: 18px; color: var(--ert-muted); font-size: 13px; }
.ert-datebox__price strong { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--ert-gold); }
.ert-datebox__field { margin-bottom: 12px; }
.ert-datebox__field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--ert-muted); margin-bottom: 5px; }
.ert-datebox__input { width: 100%; border: 1px solid #e4ddcd; border-radius: 8px; padding: 12px 14px; font-size: 14px; outline: none; background: #fff; }
.ert-datebox__input:focus { border-color: var(--ert-gold); box-shadow: 0 0 0 3px rgba(198,154,61,.12); }
.ert-datebox__btn { width: 100%; justify-content: center; margin-top: 8px; }
.ert-datebox__note { font-size: 12px; color: var(--ert-muted); margin-top: 14px; text-align: center; }
.ert-datebox__note i { color: var(--ert-gold); }
.ert-datebox__call { display: block; text-align: center; margin-top: 10px; color: var(--ert-dark); font-weight: 600; text-decoration: none; }
.ert-datebox__call:hover { color: var(--ert-gold); }
@media (max-width: 991px) { .ert-datebox { position: static; margin-top: 24px; } }

/* Book This Tour panel */
.ert-bookpane { background: #fff; border: 1px solid #ece5d5; border-radius: 12px; padding: 30px; max-width: 640px; }
.ert-bookpane__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.ert-bookpane__price span { color: var(--ert-muted); text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.ert-bookpane__price strong { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--ert-gold); }
.ert-bookpane__price small { color: var(--ert-muted); font-size: 13px; }
.ert-bookpane__lead { color: var(--ert-ink); line-height: 1.6; margin: 0 0 20px; }
.ert-bookpane__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.ert-bookpane__usp { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid #f0ece2; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ert-bookpane__usp li { color: var(--ert-ink); font-size: 14px; }
.ert-bookpane__usp li::first-letter { color: var(--ert-gold); }
/* highlights sidebar card */
.ert-dhero ~ * .tour-form-book, #booking-form > div {
    border-radius: 8px;
}

@media (max-width: 767px) {
    .ert-pagehero__title { font-size: 28px; }
    .ert-dhero__title { font-size: 24px; }
    .ert-usp__row { justify-content: flex-start; }
}

/* ---- pagination fix (Laravel default paginator ships Tailwind w-5/h-5;
   theme has no Tailwind so SVG chevrons render full-size). Constrain + style. ---- */
.bravo-pagination svg,
nav[role="navigation"] svg,
.pagination svg { width: 18px !important; height: 18px !important; display: inline-block; vertical-align: middle; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }

.bravo-pagination nav[role="navigation"] { display: flex; justify-content: center; }
.bravo-pagination .hidden.sm\:flex-1,
.bravo-pagination p.text-sm { display: none !important; }
.bravo-pagination span[aria-current="page"] span,
.bravo-pagination a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px; margin: 0 3px;
    border: 1px solid #e4ddcd; background: #fff; color: var(--ert-ink);
    border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 500;
}
.bravo-pagination a:hover { border-color: var(--ert-gold); color: var(--ert-gold); }
.bravo-pagination span[aria-current="page"] span {
    background: var(--ert-gold); border-color: var(--ert-gold); color: #fff;
}
.bravo-pagination [aria-disabled="true"] span { opacity: .45; }

/* ============================================================
   Batch 3 — Nile Cruises (Boat): horizontal listing rows + detail
   ============================================================ */
.ert-crow {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
    margin-bottom: 22px;
    transition: box-shadow .2s, transform .2s;
}
.ert-crow:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, .13); transform: translateY(-2px); }
.ert-crow__img {
    position: relative;
    flex: 0 0 300px;
    max-width: 300px;
    display: block;
    background: linear-gradient(135deg, #c7bfa8 0%, #e3dbc8 55%, #cbb98c 100%);
}
.ert-crow__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ert-crow__badge {
    position: absolute; top: 12px; left: 0;
    background: var(--ert-gold); color: #fff;
    font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
    padding: 5px 12px; border-radius: 0 4px 4px 0;
}
.ert-crow__badge--sale { background: #a33b2e; top: 42px; }
.ert-crow__wish { position: absolute; top: 10px; right: 10px; }
.ert-crow__wish button {
    width: 32px; height: 32px; border-radius: 50%; border: none;
    background: rgba(255, 255, 255, .92); color: var(--ert-dark); cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.ert-crow__wish.active button, .ert-crow__wish button:hover { color: #a33b2e; }
.ert-crow__body {
    flex: 1; padding: 22px 24px;
    display: flex; flex-direction: column; justify-content: center;
    border-right: 1px solid #f0ece2;
}
.ert-crow__loc { font-size: 12px; color: var(--ert-muted); display: flex; align-items: center; gap: 5px; }
.ert-crow__loc i { color: var(--ert-gold); }
.ert-crow__title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; margin: 6px 0 12px; }
.ert-crow__title a { color: var(--ert-dark) !important; text-decoration: none; }
.ert-crow__title a:hover { color: var(--ert-gold) !important; }
.ert-crow__specs { display: flex; gap: 26px; flex-wrap: wrap; }
.ert-crow__spec { font-size: 13px; }
.ert-crow__spec span { display: block; color: var(--ert-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.ert-crow__spec strong { font-weight: 600; color: var(--ert-ink); }
/* Cruise rows list their bookable packages: "4 Nights, Luxor to Aswan, $600". */
.ert-crow__pkgs { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #f0ece2; }
.ert-crow__pkgs li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13px; padding: 3px 0; }
.ert-crow__pkgs li span { color: var(--ert-ink); min-width: 0; }
.ert-crow__pkgs li b { color: var(--ert-gold); font-weight: 700; white-space: nowrap; }
.ert-crow__pkgs-more { color: var(--ert-muted); font-size: 12px; font-style: italic; }
/* The destination a visitor arrived with, shown in the sidebar so they can see
   what is filtering the results and clear it. */
.ert-active-filter { display: inline-flex; align-items: center; gap: 10px; background: var(--ert-cream); border: 1px solid #e8e0cf; border-radius: 999px; padding: 7px 8px 7px 14px; max-width: 100%; }
.ert-active-filter__name { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ert-ink); min-width: 0; overflow-wrap: anywhere; }
.ert-active-filter__name i { color: var(--ert-gold); }
.ert-active-filter__clear { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: #fff; color: var(--ert-muted) !important; text-decoration: none; font-size: 16px; line-height: 1; }
.ert-active-filter__clear:hover { background: var(--ert-gold); color: #fff !important; }
.ert-crow__rail {
    flex: 0 0 200px; padding: 22px 24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
}
.ert-crow__stars { color: var(--ert-gold); letter-spacing: 1px; font-size: 13px; }
.ert-crow__reviews { font-size: 11px; color: var(--ert-muted); margin-bottom: 6px; }
.ert-crow__from { font-size: 12px; color: var(--ert-muted); text-transform: uppercase; }
.ert-crow__price { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--ert-gold); line-height: 1.1; }
.ert-crow__per { font-size: 11px; color: var(--ert-muted); margin-bottom: 12px; }
.ert-crow__cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--ert-gold); color: #fff !important; text-decoration: none;
    font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
    padding: 11px 18px; border-radius: 4px; transition: .2s;
}
.ert-crow__cta:hover { background: var(--ert-gold-d); }

@media (max-width: 767px) {
    .ert-crow { flex-direction: column; }
    .ert-crow__img { flex-basis: auto; max-width: none; height: 200px; }
    .ert-crow__body { border-right: none; border-bottom: 1px solid #f0ece2; }
    .ert-crow__rail { flex-basis: auto; }
}

/* ============================================================
   Batch 4 — Hotels, Blog, Destination, CMS pages, Contact,
   Checkout, 404
   ============================================================ */

/* ---- Holiday Types (category cards + grouped sections) ---- */
.ert-htypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ert-htype { position: relative; height: 280px; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.ert-htype__img { position: absolute; inset: 0; background: linear-gradient(135deg,#c7bfa8,#cbb98c); background-size: cover; background-position: center; transition: transform .4s; }
.ert-htype:hover .ert-htype__img { transform: scale(1.07); }
.ert-htype::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,18,.9) 0%, rgba(6,20,18,.15) 60%); }
.ert-htype__body { position: relative; z-index: 2; padding: 22px; color: #fff; width: 100%; }
.ert-htype__ico { color: var(--ert-gold); font-size: 26px; display: block; margin-bottom: 6px; }
.ert-htype__name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; margin: 0; color: #fff; }
.ert-htype__count { display: inline-flex; align-items: center; gap: 6px; color: var(--ert-gold); font-size: 13px; font-weight: 600; margin-top: 4px; }
.ert-htype__go { position: absolute; top: 16px; right: 16px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; transition: .2s; }
.ert-htype:hover .ert-htype__go { background: var(--ert-gold); }
@media (max-width: 1100px) { .ert-htypes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ert-htypes { grid-template-columns: 1fr; } }
/* grouped sections on tours page */
.ert-htgroup { margin-bottom: 46px; }
.ert-htgroup__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid #ece5d5; }
.ert-htgroup__head h2 { font-family: 'Playfair Display', serif; color: var(--ert-dark); font-size: 26px; margin: 0; display: flex; align-items: center; gap: 10px; }
.ert-htgroup__head h2 i { color: var(--ert-gold); }
.ert-htgroup__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .ert-htgroup__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ert-htgroup__grid { grid-template-columns: 1fr; } }

/* ---- Blog listing (grid of cards) ---- */
.ert-blog-section { padding: 60px 0; background: var(--ert-cream); }
.ert-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ert-blog-card {
    background: #fff; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.ert-blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0, 0, 0, .13); }
.ert-blog-card__img { position: relative; aspect-ratio: 3/2; overflow: hidden; background: linear-gradient(135deg, #c7bfa8, #cbb98c); }
.ert-blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ert-blog-card:hover .ert-blog-card__img img { transform: scale(1.05); }
.ert-blog-card__date {
    position: absolute; bottom: 12px; left: 12px; background: var(--ert-gold); color: #fff;
    font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 4px;
}
.ert-blog-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.ert-blog-card__title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; line-height: 1.35; margin: 0 0 10px; color: var(--ert-dark); }
.ert-blog-card:hover .ert-blog-card__title { color: var(--ert-gold); }
.ert-blog-card__excerpt { font-size: 14px; color: var(--ert-muted); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.ert-blog-card__more { color: var(--ert-gold); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.ert-blog-pagination { margin-top: 40px; display: flex; justify-content: center; }

/* ---- Blog detail ---- */
.ert-blog-hero__cat { display: inline-block; color: var(--ert-gold); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin: 8px 0; }
.ert-blog-hero__date { color: rgba(255, 255, 255, .7); font-size: 14px; margin-top: 8px; }
.ert-blog-detail__cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .12); margin-top: -70px; position: relative; z-index: 2; }
.ert-blog-detail .ert-cms__prose { font-size: 17px; }
.ert-blog-detail .blogCard -type-2 h4, .ert-blog-detail .sectionTitle__title { font-family: 'Playfair Display', serif !important; }
.ert-blog-detail .button.-blue-1 { background: rgba(198,154,61,.12) !important; color: var(--ert-gold) !important; }

@media (max-width: 1100px) { .ert-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ert-blog-grid { grid-template-columns: 1fr; } .ert-blog-detail__cover { margin-top: 0; } }

/* ---- CMS pages (About/FAQ/Terms/Gallery/Offers/…) ---- */
.ert-cms { padding: 56px 0; background: var(--ert-cream); }
.ert-cms__prose { max-width: 860px; margin: 0 auto; color: #33403d; line-height: 1.8; font-size: 16px; }
.ert-cms__prose h1, .ert-cms__prose h2, .ert-cms__prose h3, .ert-cms__prose h4 {
    font-family: 'Playfair Display', serif; color: var(--ert-dark); margin: 1.4em 0 .5em;
}
.ert-cms__prose a { color: var(--ert-gold); }
.ert-cms__prose img { max-width: 100%; border-radius: 8px; }
.ert-cms-blocks { padding-bottom: 30px; }
/* headings inside page-builder blocks adopt serif */
.ert-cms-blocks h1, .ert-cms-blocks h2, .ert-cms-blocks .sectionTitle__title { font-family: 'Playfair Display', serif !important; }
/* FAQ accordions on-brand */
.ert-cms-blocks .accordion__button, .ert-cms-blocks .acadion__button,
.page-template-content .accordion__button {
    font-family: 'Jost', sans-serif; font-weight: 500;
}
.ert-cms-blocks .accordion.-simple .accordion__icon .icon,
.page-template-content .accordion__icon .icon { color: var(--ert-gold); }

/* ---- About Us page (design-refs/19) ---- */
.ert-about-hero { position: relative; min-height: 520px; display: flex; align-items: center;
    background: linear-gradient(90deg, var(--ert-dark) 0%, var(--ert-dark) 42%, transparent), linear-gradient(120deg,#123,#1e3a34 40%,#7a5a2e);
    background-size: cover; background-position: right center; color: #fff; }
.ert-about-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,18,.92) 0%, rgba(6,20,18,.7) 45%, rgba(6,20,18,.15) 100%); }
.ert-about-hero__inner { position: relative; z-index: 2; padding: 90px 20px; max-width: 620px; }
.ert-about-hero__title { font-family: 'Playfair Display', serif; font-size: 46px; line-height: 1.1; font-weight: 700; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.ert-about-hero__sub { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--ert-gold); margin: 0 0 18px; }
.ert-about-hero__lead { color: rgba(255,255,255,.9); line-height: 1.7; margin: 0 0 26px; }
.ert-about-hero__lead p { margin: 0 0 10px; }

.ert-about-stats { background: var(--ert-dark); }
.ert-about-stats__row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 34px 20px; }
.ert-about-stat { text-align: center; position: relative; }
.ert-about-stat:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.14); }
.ert-about-stat .num { display: block; font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: var(--ert-gold); line-height: 1; }
.ert-about-stat .lbl { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.7); }

.ert-about-body { background: var(--ert-cream); padding: 64px 0; }
.ert-about-body__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.ert-about-body .ert-h2 { margin: 4px 0 16px; }
.ert-about-why { list-style: none; margin: 0; padding: 0; }
.ert-about-why li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.ert-about-why__ico { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(198,154,61,.15); color: var(--ert-gold); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ert-about-why strong { display: block; color: var(--ert-dark); font-size: 16px; }
.ert-about-why small { color: var(--ert-muted); font-size: 13px; }
@media (max-width: 900px) { .ert-about-stats__row { grid-template-columns: 1fr 1fr; gap: 30px 20px; } .ert-about-body__grid { grid-template-columns: 1fr; gap: 40px; } .ert-about-hero__title { font-size: 34px; } }

/* ---- Legal pages (privacy/terms/cookie): sidebar + accordions ---- */
.ert-legal { background: var(--ert-cream); padding: 54px 0 80px; }
.ert-legal__grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.ert-legal__nav { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06); position: sticky; top: 100px; }
.ert-legal__nav a { padding: 16px 20px; color: var(--ert-ink); text-decoration: none; font-weight: 500; border-left: 3px solid transparent; border-bottom: 1px solid #f0ece2; transition: .2s; }
.ert-legal__nav a:last-child { border-bottom: none; }
.ert-legal__nav a:hover { background: rgba(198,154,61,.06); color: var(--ert-gold); }
.ert-legal__nav a.is-active { background: rgba(198,154,61,.1); color: var(--ert-gold); border-left-color: var(--ert-gold); font-weight: 600; }
.ert-legal__content { background: #fff; border-radius: 12px; padding: 36px 40px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.ert-legal__title { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--ert-dark); margin: 0 0 18px; text-transform: uppercase; letter-spacing: .5px; }
.ert-legal__intro { color: var(--ert-muted); line-height: 1.7; margin-bottom: 26px; }
.ert-acc { border: 1px solid #ece5d5; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.ert-acc__head { width: 100%; text-align: left; background: #fff; border: none; cursor: pointer; padding: 16px 20px; font-family: 'Jost', sans-serif; font-size: 16px; font-weight: 600; color: var(--ert-dark); display: flex; justify-content: space-between; align-items: center; }
.ert-acc__head:hover { color: var(--ert-gold); }
.ert-acc__ico { color: var(--ert-gold); transition: transform .25s; }
.ert-acc.is-open .ert-acc__ico { transform: rotate(180deg); }
.ert-acc__body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ert-acc.is-open .ert-acc__body { max-height: 600px; }
.ert-acc__inner { padding: 0 20px 20px; color: var(--ert-ink); line-height: 1.7; }
.ert-acc__inner ul { padding-left: 20px; } .ert-acc__inner li { margin-bottom: 8px; }
@media (max-width: 900px) { .ert-legal__grid { grid-template-columns: 1fr; } .ert-legal__nav { position: static; flex-direction: row; flex-wrap: wrap; } .ert-legal__nav a { flex: 1; border-bottom: none; text-align: center; } }

/* ---- Contact block polish ---- */
.bravo-contact-block .map-form .text-22 { font-family: 'Playfair Display', serif; color: var(--ert-dark); }
.bravo-contact-block .text-30 { font-family: 'Playfair Display', serif; color: var(--ert-dark); }
.bravo-contact-block .featureIcon h4 { font-family: 'Playfair Display', serif; }

/* ---- Checkout (branded, premium) ---- */
.ert-checkout { background: var(--ert-cream); }
.ert-checkout__hero { padding: 40px 0 34px; }
/* step indicator */
.ert-steps { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.ert-step { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.ert-step b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.15); font-size: 12px; }
.ert-step.is-active { color: #fff; }
.ert-step.is-active b, .ert-step.is-done b { background: var(--ert-gold); color: #fff; }
.ert-step.is-done { color: rgba(255,255,255,.85); }

.ert-checkout__card, .ert-checkout__summary > .booking-detail, .ert-checkout__summary > div {
    background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.07);
}
.ert-checkout__heading, .ert-checkout h2, .ert-checkout h3.text-22 { font-family: 'Playfair Display', serif !important; color: var(--ert-dark); font-size: 22px; margin-bottom: 20px; }
.ert-checkout__summary { position: sticky; top: 100px; }
.ert-checkout .form-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid #f0ece2; }

/* form fields */
.ert-checkout .form-control, .ert-checkout input[type=text], .ert-checkout input[type=email], .ert-checkout input[type=tel], .ert-checkout select, .ert-checkout textarea {
    border: 1px solid #e4ddcd; border-radius: 8px; padding: 12px 14px; font-size: 14px;
}
.ert-checkout .form-control:focus { border-color: var(--ert-gold); box-shadow: 0 0 0 3px rgba(198,154,61,.12); }

/* ---- Floating-label fix ------------------------------------------------
   The core theme uses .form-input with the <label> AFTER the <input>, lifted
   only on :focus / :valid. Two problems on this page:
     1. Our own .ert-checkout padding above (12px 14px) replaced the core's
        padding-top:25px, so the label had no room and sat ON the text.
     2. :valid is true for empty optional inputs, so the lift never fired
        reliably; a filled Phone/Address kept the label over the value.
   Rather than fight the transform, render these as normal stacked labels:
   label above, input below. No overlap in any state, and it stays legible
   when the browser autofills or the text is long.
   -------------------------------------------------------------------- */
.ert-checkout .form-input,
#enquiry_form_modal .form-input {
    display: flex;
    flex-direction: column-reverse; /* label markup comes after the input */
    position: relative;
    margin-bottom: 4px;
}
.ert-checkout .form-input label,
#enquiry_form_modal .form-input label {
    position: static !important;
    transform: none !important;
    display: block;
    padding: 0 0 6px 0 !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.3 !important;
    color: var(--ert-dark) !important;
    pointer-events: auto;
}
.ert-checkout .form-input label .required,
#enquiry_form_modal .form-input label .required { color: #c0392b; }
.ert-checkout .form-input input,
.ert-checkout .form-input textarea,
.ert-checkout .form-input select,
#enquiry_form_modal .form-input input,
#enquiry_form_modal .form-input textarea,
#enquiry_form_modal .form-input select {
    min-height: 0 !important;
    padding: 12px 14px !important;
    width: 100%;
}
.ert-checkout .form-input textarea,
#enquiry_form_modal .form-input textarea { min-height: 110px !important; }
/* payment options as selectable cards */
.ert-checkout .accordion__item .border-light { border: 1px solid #e4ddcd !important; border-radius: 10px !important; transition: .2s; }
.ert-checkout .accordion__item:hover .border-light { border-color: var(--ert-gold) !important; }
.ert-checkout .accordion__button input[type=radio]:checked ~ span { color: var(--ert-gold); font-weight: 600; }
.ert-checkout .accordion__button label { cursor: pointer; }

/* totals + reserve button */
.ert-checkout .booking-total, .ert-checkout .total-price, .ert-checkout .txt-total,
.ert-checkout .price-total .fw-600, .ert-checkout .total .value { color: var(--ert-gold) !important; font-family: 'Playfair Display', serif; }
.ert-checkout .btn-book, .ert-checkout button[type=submit].btn-primary, .ert-checkout .booking-btn button, .ert-checkout .payment-checkout .btn {
    background: var(--ert-gold) !important; border-color: var(--ert-gold) !important; color: #fff !important;
    border-radius: 8px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .5px; padding: 15px 24px !important; width: 100%;
}
.ert-checkout .btn-book:hover, .ert-checkout .payment-checkout .btn:hover { background: var(--ert-gold-d) !important; }

@media (max-width: 991px) { .ert-checkout__summary { position: static; margin-top: 30px; } }

/* ---- Enquiry / Request a Quote modal ---- */
#enquiry_form_modal .modal-content { border: none; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
#enquiry_form_modal .modal-header { background: var(--ert-dark); border: none; padding: 20px 26px; }
#enquiry_form_modal .modal-title { font-family: 'Playfair Display', serif; color: #fff; font-size: 20px; }
#enquiry_form_modal .modal-header .close { color: #fff; opacity: .8; text-shadow: none; }
#enquiry_form_modal .modal-body { padding: 26px; }
#enquiry_form_modal input, #enquiry_form_modal textarea { width: 100%; border: 1px solid #e4ddcd; border-radius: 8px; padding: 12px 14px; font-size: 14px; }
#enquiry_form_modal input:focus, #enquiry_form_modal textarea:focus { border-color: var(--ert-gold); box-shadow: 0 0 0 3px rgba(198,154,61,.12); outline: none; }
#enquiry_form_modal .modal-footer { border: none; padding: 0 26px 26px; }
#enquiry_form_modal .btn-submit-enquiry { background: var(--ert-gold) !important; border-color: var(--ert-gold) !important; color: #fff !important; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; padding: 13px 28px; border-radius: 8px; }
#enquiry_form_modal .btn-submit-enquiry:hover { background: var(--ert-gold-d) !important; }
/* enquiry button in the detail book box */
.enquiry-item, .bravo_single_tour .btn-primary[data-target="#enquiry_form_modal"] { cursor: pointer; }

/* ---- Booking confirmation (premium) ---- */
.ert-confirm { background: var(--ert-cream); padding: 56px 0; }
.ert-confirm__banner { max-width: 720px; margin: 0 auto 40px; background: #fff; border-radius: 16px; padding: 48px 40px; text-align: center; box-shadow: 0 16px 44px rgba(0,0,0,.08); border-top: 4px solid var(--ert-gold); }
.ert-confirm__check { width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%; background: linear-gradient(135deg, var(--ert-gold), var(--ert-gold-d)); color: #fff; font-size: 40px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(198,154,61,.4); }
.ert-confirm__title { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--ert-dark); margin: 0 0 12px; }
.ert-confirm__lead { font-size: 17px; color: var(--ert-ink); margin: 0 0 6px; }
.ert-confirm__sub { font-size: 14px; color: var(--ert-muted); margin: 0 0 24px; line-height: 1.6; }
.ert-confirm__note { background: rgba(198,154,61,.1); border-radius: 8px; padding: 14px 18px; font-size: 14px; color: var(--ert-ink); margin-bottom: 24px; }
.ert-confirm__ref { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px 20px; background: var(--ert-cream); border-radius: 10px; padding: 22px; margin-bottom: 10px; text-align: left; }
/* A grid item's min-width is auto, so a long value refuses to shrink and
   spills over its neighbour. min-width:0 lets it wrap instead. */
.ert-confirm__ref > div { min-width: 0; }
.ert-confirm__ref span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--ert-muted); margin-bottom: 4px; }
.ert-confirm__ref strong { display: block; font-size: 15px; color: var(--ert-dark); line-height: 1.4; overflow-wrap: anywhere; word-break: break-word; }
.ert-confirm__refnote { font-size: 12px; color: var(--ert-muted); margin: 0 0 22px; }
.ert-confirm__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ert-btn-wa { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff !important; font-weight: 600; padding: 13px 24px; border-radius: 8px; text-decoration: none; }
.ert-btn-wa:hover { background: #1eb457; }

/* ---- Destination (Location) detail — design-refs/10 ---- */
.ert-dest-page { background: var(--ert-cream); }
.ert-dest-hero {
    position: relative; min-height: 460px; display: flex; align-items: center;
    background: linear-gradient(120deg, var(--ert-dark-2), #16403a 70%, #34503a);
    background-size: cover; background-position: center; color: #fff;
}
.ert-dest-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,18,.85) 0%, rgba(6,20,18,.45) 55%, rgba(6,20,18,.1) 100%); }
.ert-dest-hero__inner { position: relative; z-index: 2; padding: 60px 20px; max-width: 620px; }
.ert-dest-hero__eyebrow { display: block; color: var(--ert-gold); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px; }
.ert-dest-hero__title { font-family: 'Playfair Display', serif; font-size: 64px; line-height: 1; font-weight: 700; color: #fff; text-transform: uppercase; margin: 0 0 14px; }
.ert-dest-hero__tag { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--ert-gold); margin: 0 0 16px; }
.ert-dest-hero__desc { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.9); margin: 0 0 22px; }
.ert-dest-hero__services { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ert-dest-hero__services-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.7); margin-right: 4px; }
.ert-dest-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
    color: #fff !important; font-size: 13px; font-weight: 500;
    padding: 8px 15px; border-radius: 40px; text-decoration: none; transition: .2s;
}
.ert-dest-chip:hover { background: var(--ert-gold); border-color: var(--ert-gold); color: #fff !important; }
.ert-dest-chip b { background: rgba(198,154,61,.9); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 20px; }
.ert-dest-chip:hover b { background: rgba(255,255,255,.25); }

/* ============================================================
   Service landing pages (/explore/{service})
   ============================================================ */
.ert-svc-landing { background: var(--ert-cream); }
.ert-svc-hero { position: relative; min-height: 440px; display: flex; align-items: center;
    background: linear-gradient(120deg, var(--ert-dark-2), #16403a 65%, #7a5a2e); background-size: cover; background-position: center; color: #fff; }
.ert-svc-hero__overlay { position: absolute; inset: 0; background: rgba(6,20,18,.5); }
.ert-svc-hero__inner { position: relative; z-index: 2; padding: 120px 20px 70px; max-width: 780px; }
.ert-svc-hero__eyebrow { color: var(--ert-gold); font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.ert-svc-hero__title { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: #fff; margin: 8px 0 10px; }
.ert-svc-hero__lead { color: rgba(255,255,255,.9); font-size: 16px; margin: 0 0 26px; }
.ert-svc-search { display: flex; gap: 8px; background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 18px 44px rgba(0,0,0,.2); flex-wrap: wrap; }
.ert-svc-search__input { flex: 2; min-width: 180px; border: none; padding: 12px 16px; font-size: 14px; border-radius: 6px; outline: none; }
.ert-svc-search__select { flex: 1; min-width: 150px; border: none; border-left: 1px solid #eee; padding: 12px 16px; font-size: 14px; outline: none; background: #fff; }
.ert-svc-search .ert-btn-gold { flex: 0 0 auto; }

/* landing sections spacing (ert-section is otherwise homepage-scoped) */
.ert-svc-landing .ert-section { padding: 60px 0; }
.ert-svc-landing .ert-section--alt { background: #fff; }
.ert-svc-landing > section:last-child { padding-bottom: 90px; }

.ert-svc-dests { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ert-svc-dest { position: relative; height: 130px; border-radius: 10px; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; }
.ert-svc-dest__img { position: absolute; inset: 0; background: linear-gradient(135deg,#c7bfa8,#cbb98c); background-size: cover; background-position: center; transition: transform .3s; }
.ert-svc-dest:hover .ert-svc-dest__img { transform: scale(1.08); }
.ert-svc-dest:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,18,.85), transparent 60%); }
.ert-svc-dest span { position: relative; z-index: 2; color: #fff; font-family: 'Playfair Display', serif; font-size: 15px; padding: 12px; }
@media (max-width:1100px){ .ert-svc-dests { grid-template-columns: repeat(3,1fr); } }
@media (max-width:560px){ .ert-svc-dests { grid-template-columns: repeat(2,1fr); } }

/* card caps inside service landing */
.ert-svc-landing .ert-grid { display: grid; gap: 22px; }
.ert-svc-landing .ert-grid--4 { grid-template-columns: repeat(4,1fr); }
@media (max-width:1100px){ .ert-svc-landing .ert-grid--4 { grid-template-columns: repeat(3,1fr); } }
@media (max-width:767px){ .ert-svc-landing .ert-grid--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px){ .ert-svc-landing .ert-grid--4 { grid-template-columns: 1fr; } }
.ert-svc-landing .ert-tcard__img, .ert-svc-landing .cardImage, .ert-svc-landing .ratio { height:170px !important; aspect-ratio:auto !important; overflow:hidden; border-radius:8px 8px 0 0; }
.ert-svc-landing .ert-grid img, .ert-svc-landing .cardImage img, .ert-svc-landing .ratio img { width:100% !important; height:170px !important; object-fit:cover !important; }
.ert-svc-landing .hotelsCard, .ert-svc-landing .tourCard { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.07); height:100%; display:block; }
.ert-svc-landing .hotelsCard__content, .ert-svc-landing .tourCard__content { padding:14px 16px 16px !important; }

.ert-svc-cta { background: linear-gradient(120deg, var(--ert-dark-2), #16403a); color:#fff; text-align:center; padding:56px 20px; }
.ert-svc-cta h2 { font-family:'Playfair Display',serif; font-size:30px; color:#fff; margin:0 0 8px; }
.ert-svc-cta p { color:rgba(255,255,255,.8); margin:0 0 24px; }
.ert-svc-cta__btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.ert-btn--outline-light { background:transparent; border:1px solid rgba(255,255,255,.5); color:#fff !important; padding:11px 24px; border-radius:4px; text-transform:uppercase; font-size:13px; font-weight:600; letter-spacing:.5px; text-decoration:none; }
.ert-btn--outline-light:hover { background:#fff; color:var(--ert-dark) !important; }

/* ============================================================
   Destination Travel Guide page
   ============================================================ */
.ert-guide { background: var(--ert-cream); }
.ert-guide-hero { position: relative; min-height: 540px; display: flex; align-items: center;
    background: linear-gradient(120deg, var(--ert-dark-2), #16403a 70%, #34503a); background-size: cover; background-position: center; color: #fff; }
.ert-guide-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,18,.85), rgba(6,20,18,.4) 60%, rgba(6,20,18,.1)); }
.ert-guide-hero__inner { position: relative; z-index: 2; padding: 70px 20px; max-width: 640px; }
.ert-guide-hero .ert-pagehero__bc { margin-bottom: 14px; }
.ert-guide-hero__eyebrow { display: block; color: var(--ert-gold); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 4px; }
.ert-guide-hero__title { font-family: 'Playfair Display', serif; font-size: 68px; line-height: 1; font-weight: 700; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.ert-guide-hero__tag { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--ert-gold); margin: 0 0 20px; }
.ert-guide-hero__facts { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 26px; color: rgba(255,255,255,.9); font-size: 14px; }
.ert-guide-hero__facts i { color: var(--ert-gold); margin-right: 6px; }

.ert-guide-intro { padding: 60px 0 20px; text-align: center; }
.ert-guide-intro .ert-h2 { margin: 4px 0 18px; }
.ert-guide-intro .ert-cms__prose { max-width: 820px; margin: 0 auto; }

.ert-guide-sec { padding: 56px 0; }
.ert-guide-sec--alt { background: #fff; }
.ert-guide-sec .ert-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.ert-guide-sec .ert-h2 { margin: 2px 0 0; }
.ert-guide .ert-grid { display: grid; gap: 22px; }
.ert-guide .ert-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width:1100px){ .ert-guide .ert-grid--4 { grid-template-columns: repeat(3,1fr); } }
@media (max-width:767px){ .ert-guide .ert-grid--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px){ .ert-guide .ert-grid--4 { grid-template-columns: 1fr; } }
/* card image caps + framing for any service card inside guide */
.ert-guide .ert-tcard__img, .ert-guide .cardImage, .ert-guide .ratio { height: 170px !important; aspect-ratio: auto !important; overflow: hidden; border-radius: 8px 8px 0 0; }
.ert-guide .ert-grid img, .ert-guide .cardImage img, .ert-guide .ratio img { width: 100% !important; height: 170px !important; object-fit: cover !important; }
.ert-guide .hotelsCard, .ert-guide .tourCard { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.07); height:100%; display:block; }
.ert-guide .hotelsCard__content, .ert-guide .tourCard__content { padding: 14px 16px 16px !important; }

/* attractions grid */
.ert-attr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ert-attr { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; }
.ert-attr:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.13); }
.ert-attr__img { height: 180px; background: linear-gradient(135deg,#c7bfa8,#cbb98c); background-size: cover; background-position: center; }
.ert-attr__body { padding: 16px 18px; }
.ert-attr__body h3 { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--ert-dark); margin: 0 0 6px; }
.ert-attr__body p { font-size: 13px; color: var(--ert-muted); line-height: 1.5; margin: 0; }
@media (max-width:1100px){ .ert-attr-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .ert-attr-grid { grid-template-columns: 1fr; } }

.ert-guide-map { }
.ert-guide-map .map { min-height: 420px; }
.ert-guide-cta { background: linear-gradient(120deg, var(--ert-dark-2), #16403a); color: #fff; text-align: center; padding: 60px 20px; }
.ert-guide-cta h2 { font-family: 'Playfair Display', serif; font-size: 32px; color: #fff; margin: 0 0 10px; }
.ert-guide-cta p { color: rgba(255,255,255,.8); margin: 0 0 26px; }
.ert-guide-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width:767px){ .ert-guide-hero__title { font-size: 44px; } }

/* service tabs on destination page */
.ert-dest-tabs { display: flex; gap: 10px; flex-wrap: wrap; border-bottom: 2px solid #ece5d5; margin-bottom: 34px; padding-bottom: 0; }
.ert-dest-tab {
    background: none; border: none; cursor: pointer; position: relative;
    font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 600; color: var(--ert-muted);
    padding: 12px 8px; margin-bottom: -2px; border-bottom: 3px solid transparent; display: inline-flex; align-items: center; gap: 8px;
}
.ert-dest-tab span { background: #ece5d5; color: var(--ert-ink); font-size: 12px; font-weight: 600; padding: 1px 9px; border-radius: 20px; }
.ert-dest-tab:hover { color: var(--ert-dark); }
.ert-dest-tab.is-active { color: var(--ert-gold); border-bottom-color: var(--ert-gold); }
.ert-dest-tab.is-active span { background: var(--ert-gold); color: #fff; }
.ert-dest-panel { display: none; }
.ert-dest-panel.is-active { display: block; animation: ert-fade .25s ease; }
@keyframes ert-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ert-dest-panel__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.ert-dest-panel__head .ert-h2 { font-size: 26px; margin: 0; }
/* grid layout for panel cards (ert-grid--* is otherwise scoped to homepage only) */
.ert-dest-panel .ert-grid { display: grid; gap: 22px; align-items: stretch; }
.ert-dest-panel .ert-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .ert-dest-panel .ert-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .ert-dest-panel .ert-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ert-dest-panel .ert-grid--4 { grid-template-columns: 1fr; } }
.ert-dest-panel .ert-tcard__img,
.ert-dest-panel .cardImage,
.ert-dest-panel .ratio,
.ert-dest-panel .boatCard__image,
.ert-dest-panel .hotelsCard__image,
.ert-dest-panel .tourCard__image { height: 170px !important; aspect-ratio: auto !important; padding: 0 !important; overflow: hidden; border-radius: 8px; }
.ert-dest-panel .ert-grid img,
.ert-dest-panel .cardImage img,
.ert-dest-panel .ratio img { width: 100% !important; height: 170px !important; object-fit: cover !important; border-radius: 8px 8px 0 0; }
/* frame the non-ert card types (Nile Cruise/boat, car, space, event use .hotelsCard/.tourCard) */
.ert-dest-panel .hotelsCard, .ert-dest-panel .tourCard, .ert-dest-panel .carCard, .ert-dest-panel .eventCard, .ert-dest-panel .spaceCard {
    background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.07);
    height: 100%; transition: transform .2s, box-shadow .2s; display: block;
}
.ert-dest-panel .hotelsCard:hover, .ert-dest-panel .tourCard:hover, .ert-dest-panel .carCard:hover, .ert-dest-panel .spaceCard:hover, .ert-dest-panel .eventCard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.13); }
.ert-dest-panel .hotelsCard__content, .ert-dest-panel .tourCard__content { padding: 14px 16px 16px !important; }
.ert-dest-panel .hotelsCard__title a, .ert-dest-panel .tourCard__title a { font-family: 'Playfair Display', serif; color: var(--ert-dark) !important; }
.ert-dest-panel .hotelsCard__title a:hover { color: var(--ert-gold) !important; }

.ert-dest-section { padding: 60px 0 30px; }
.ert-dest-section .sectionTitle__title, .ert-dest-section h2 { font-family: 'Playfair Display', serif !important; color: var(--ert-dark); font-size: 30px; }
.ert-dest-section .sectionTitle__text { color: var(--ert-muted); }
.ert-dest-section .button.-blue-1 { background: transparent !important; border: 1px solid var(--ert-gold) !important; color: var(--ert-gold) !important; }
.ert-dest-section .button.-blue-1:hover { background: var(--ert-gold) !important; color: #fff !important; }

.ert-dest-overview { padding: 20px 0 50px; }
.ert-dest-overview .ert-h2 { margin-bottom: 16px; }
.ert-dest-overview .ert-cms__prose { max-width: none; }

/* info bar */
.ert-dest-info { background: var(--ert-dark); color: #fff; }
.ert-dest-info__row { display: flex; justify-content: space-around; gap: 24px; padding: 30px 20px; flex-wrap: wrap; }
.ert-dest-info__item { display: flex; align-items: center; gap: 14px; }
.ert-dest-info__ico { color: var(--ert-gold); font-size: 30px; line-height: 1; }
.ert-dest-info__item small { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 3px; }
.ert-dest-info__item strong { font-family: 'Playfair Display', serif; font-size: 19px; color: #fff; }
.ert-dest-map { margin-top: 0; }
.ert-dest-map .map, #map_content { min-height: 420px; }

@media (max-width: 767px) {
    .ert-dest-hero__title { font-size: 42px; }
    .ert-dest-info__row { justify-content: flex-start; gap: 20px; }
}

/* ---- 404 ---- */
.ert-404 {
    position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center;
    background: linear-gradient(120deg, var(--ert-dark-2) 0%, #16403a 60%, #7a5a2e 100%);
    background-size: cover; background-position: center; color: #fff;
}
.ert-404__overlay { position: absolute; inset: 0; background: rgba(6,20,18,.55); }
.ert-404__inner { position: relative; z-index: 2; padding: 60px 20px; }
.ert-404__code { font-family: 'Playfair Display', serif; font-size: 120px; font-weight: 700; color: var(--ert-gold); line-height: 1; }
.ert-404__title { font-family: 'Playfair Display', serif; font-size: 38px; margin: 10px 0 12px; color: #fff; }
.ert-404__text { color: rgba(255,255,255,.85); margin: 0 auto 26px; max-width: 460px; }

/* generic: any leftover blue-1 accents → gold, star ratings → gold */
.text-yellow-1, .icon-star.text-yellow-1 { color: var(--ert-gold) !important; }
.bg-yellow-1 { background-color: var(--ert-gold) !important; color: #fff !important; }

/* ============================================================
   RD GLOBAL FIXES (site-wide; moved from detail-only redesign.css)
   ============================================================ */
/* header: consistent dark green on every page/state */
.bravo_header,.header.bravo_header,body.header-transparent .bravo_header{
    background-color: var(--ert-dark) !important;
}
.header .menu > ul > li > a { color: #f6f2ea !important; }
.header .menu > ul > li > a:hover { color: var(--ert-gold) !important; }

/* DESKTOP dropdowns: original white panel, dark text */
@media (min-width: 1200px) {
    .header .subnav,.header .mega-menu { background: #fff !important; border-color: rgba(0,0,0,.06) !important; }
    .header .header-menu .menu .subnav > li > a,
    .header .header-menu .menu .subnav a,
    .header .subnav a { color: #051036 !important; }
    .header .header-menu .menu .subnav > li > a:hover,
    .header .subnav a:hover { color: var(--ert-gold) !important; background: rgba(198,154,61,.10) !important; }
}

/* MOBILE dropdowns/panel: dark green */
@media (max-width: 1199px) {
    .header .subnav,.subnav { background: var(--ert-dark-2) !important; border-color: rgba(236,229,213,.16) !important; }
    .header .subnav a,.subnav a { color: #f6f2ea !important; }
    .header .subnav a:hover,.subnav a:hover { color: var(--ert-gold) !important; background: rgba(198,154,61,.08) !important; }
    .header .mega-menu { background: var(--ert-dark-2) !important; }
}
.mobile-bg,.js-mobile-bg { background: var(--ert-dark-2) !important; }

/* mobile menu panel: full dark panel below header (theme slide breaks with fixed header) */
@media (max-width: 1199px) {
    .header .header-menu{
        position: fixed !important; left: 0 !important; right: 0 !important;
        top: -120vh !important; bottom: auto !important;
        height: calc(100vh - 88px) !important;
        background: var(--ert-dark-2) !important;
        overflow-y: auto; z-index: 95;
        transition: top .4s cubic-bezier(.2,.8,.2,1);
        padding: 18px 6px 40px;
    }
    .header.is-menu-opened .header-menu,
    .header .header-menu.is-menu-active { top: 88px !important; }
    .header .header-menu a { color: #f6f2ea !important; }
    .header .header-menu .subnav { background: rgba(246,242,234,.04) !important; }
}
@media (max-width: 640px) {
    .header .header-menu { height: calc(100vh - 70px) !important; }
    .header.is-menu-opened .header-menu,
    .header .header-menu.is-menu-active { top: 70px !important; }
}

/* service landing (/explore/*): dark canvas, no white base */
.ert-svc-landing { background: var(--ert-dark); color: #f6f2ea; }
body.frontend-page:has(.ert-svc-landing) { background: var(--ert-dark); }
.ert-svc-landing .ert-section--alt { background: var(--ert-dark-2); }

/* dropdown link colors on MOBILE only — desktop stays theme white/navy */
@media (max-width: 1199px) {
    .header .header-menu .menu .subnav > li > a,
    .header .header-menu .menu .subnav a,
    .header .header-menu .menu__nav .subnav a,
    .header .header-menu .menu__nav.text-dark-1 a,
    .header .header-menu .mega-menu a {
        color: #f6f2ea !important;
    }
    .header .header-menu .menu .subnav > li > a:hover,
    .header .header-menu .menu .subnav a:hover,
    .header .header-menu .mega-menu a:hover {
        color: var(--ert-gold) !important;
        background-color: rgba(198,154,61,.10) !important;
    }
}
