/* Scoped source decoration replacements. Original positions/sizes stay in Elementor. */
.elementor .elementor-element.tba-deco-background-home4_deco-2:not(.elementor-column),
.elementor .elementor-element.tba-deco-background-home4_deco-2.elementor-column > .elementor-widget-wrap { background-image:url('../images/source/home4_deco-2.png') !important; }
.elementor .elementor-element.tba-deco-overlay-home4_deco-3 > .elementor-background-overlay,
.elementor .elementor-element.tba-deco-overlay-home4_deco-3.elementor-column > .elementor-widget-wrap > .elementor-background-overlay { background-image:url('../images/source/home4_deco-3.png') !important; }
.elementor .elementor-element.tba-deco-background-about_deco-1:not(.elementor-column),
.elementor .elementor-element.tba-deco-background-about_deco-1.elementor-column > .elementor-widget-wrap { background-image:url('../images/source/about_deco-1.png') !important; }
.elementor .elementor-element.tba-deco-background-about_deco-2:not(.elementor-column),
.elementor .elementor-element.tba-deco-background-about_deco-2.elementor-column > .elementor-widget-wrap { background-image:url('../images/source/about_deco-2.png') !important; }
.elementor .elementor-element.tba-deco-background-home4_deco-4:not(.elementor-column),
.elementor .elementor-element.tba-deco-background-home4_deco-4.elementor-column > .elementor-widget-wrap { background-image:url('../images/source/home4_deco-4.png') !important; }
.elementor .elementor-element.tba-deco-overlay-home4_deco-5 > .elementor-background-overlay,
.elementor .elementor-element.tba-deco-overlay-home4_deco-5.elementor-column > .elementor-widget-wrap > .elementor-background-overlay { background-image:url('../images/source/home4_deco-5.png') !important; }
.elementor .elementor-element.tba-deco-background-contact-img-1:not(.elementor-column),
.elementor .elementor-element.tba-deco-background-contact-img-1.elementor-column > .elementor-widget-wrap { background-image:url('../images/source/contact-img-1.png') !important; }

/* Keep the original offer column independent of the adjacent tour list height. */
.elementor .elementor-element.elementor-column.tba-triply-promo-square { align-self:flex-start; }
.elementor .elementor-element.elementor-column.tba-triply-promo-square > .elementor-widget-wrap {
    aspect-ratio:1; min-height:0; height:auto; padding-bottom:30px; align-content:flex-start;
}

.tba-quick-search[hidden], .tba-quick-search [hidden] { display:none !important; }
.tba-quick-search {
    --tba-search-accent:var(--primary, #dc834e);
    position:fixed; inset:var(--tba-search-top, 100px) 0 auto; z-index:1001;
    max-height:calc(100dvh - var(--tba-search-top, 100px)); overflow:auto; overscroll-behavior:contain;
    background:#fff; color:var(--text, #484848); box-shadow:0 15px 35px rgba(0,0,0,.16); border-top:1px solid #eee;
}
.tba-quick-search-inner { width:min(1120px, 100%); margin:auto; padding:24px 30px 28px; }
.tba-quick-search-top { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:16px; }
.tba-quick-search-top h2 { font-size:24px; line-height:1.25; margin:0; }
.tba-quick-search .tba-quick-search-close { background:transparent; color:inherit; border:0; border-radius:50%; padding:4px; width:40px; min-width:40px; height:40px; font:32px/1 sans-serif; box-shadow:none; }
.tba-quick-search .tba-quick-search-close:hover { background:#f4f4f4; }
.tba-quick-search-form { display:flex; gap:12px; align-items:center; border:1px solid #ddd; border-radius:999px; padding:7px 7px 7px 22px; margin:0; background:#fff; }
.tba-quick-search .tba-quick-search-form input[type=search] { width:100%; min-width:0; border:0; box-shadow:none; outline:0; border-radius:0; padding:8px 0; background:transparent; font:inherit; color:inherit; }
.tba-quick-search-form:focus-within { border-color:var(--tba-search-accent); outline:2px solid var(--tba-search-accent); outline-offset:2px; }
.tba-quick-search .tba-quick-search-form button { display:grid; place-items:center; border:0; width:46px; height:46px; min-width:46px; padding:0; border-radius:50%; background:var(--tba-search-accent); color:#fff; }
.tba-quick-search-status { margin:16px 0; font-size:14px; line-height:1.5; }
.tba-quick-search-results { display:grid; grid-template-columns:repeat(var(--tba-search-columns, 3), minmax(0, 1fr)); gap:14px; }
.tba-quick-search-results[aria-busy=true] { opacity:.6; }
.tba-quick-search .tba-quick-search-card { display:grid; grid-template-columns:90px minmax(0, 1fr); gap:14px; align-items:center; border:1px solid #eee; border-radius:12px; padding:10px; color:inherit; text-decoration:none; background:#fff; min-width:0; }
.tba-quick-search-card:hover { border-color:var(--tba-search-accent); box-shadow:0 3px 12px rgba(0,0,0,.07); }
.tba-quick-search .tba-quick-search-card img { width:90px; height:74px; object-fit:cover; border-radius:8px; margin:0; }
.tba-quick-search-card-text { display:flex; flex-direction:column; gap:6px; min-width:0; }
.tba-quick-search-card-text strong { font-size:15px; font-weight:600; line-height:1.35; overflow-wrap:anywhere; color:var(--accent, #202020); }
.tba-quick-search-location { font-size:12px; line-height:1.4; color:#666; overflow-wrap:anywhere; }
.tba-quick-search .tba-quick-search-no-image { grid-template-columns:1fr; min-height:94px; padding:16px; }
.tba-quick-search-pages { display:flex; gap:14px; align-items:center; justify-content:center; margin-top:20px; }
.tba-quick-search .tba-quick-search-pages button { border:1px solid #ddd; padding:9px 14px; background:#fff; color:inherit; border-radius:8px; font-size:13px; line-height:1.5; }
.tba-quick-search-pages button:disabled { opacity:.4; cursor:default; }
.tba-quick-search-pages span { font-size:13px; white-space:nowrap; }
.tba-quick-search-all { display:inline-block; margin-top:18px; font-size:14px; font-weight:600; color:var(--tba-search-accent); }
.tba-quick-search a:focus-visible, .tba-quick-search button:focus-visible { outline:2px solid var(--tba-search-accent); outline-offset:3px; }
.tba-theme-settings { max-width:1100px; }
.tba-theme-settings h2 { border-top:1px solid #dcdcde; padding-top:24px; margin-top:30px; }
.tba-theme-settings .tba-theme-inherit { display:inline-block; margin-bottom:8px; font-size:13px; }
.tba-theme-settings .large-text { max-width:650px; }
@media(max-width:1024px) {
    .tba-quick-search-results { grid-template-columns:repeat(var(--tba-search-tablet-columns, 2), minmax(0, 1fr)); }
    .elementor .elementor-element.elementor-column.tba-triply-promo-square > .elementor-widget-wrap { aspect-ratio:1; max-width:640px; margin-inline:auto; width:100%; }
}
@media(max-width:767px) {
    .tba-quick-search-inner { padding:16px 16px calc(24px + env(safe-area-inset-bottom)); }
    .tba-quick-search-top { gap:12px; margin-bottom:12px; }
    .tba-quick-search-top h2 { font-size:21px; }
    .tba-quick-search-form { padding-left:16px; gap:8px; }
    .tba-quick-search .tba-quick-search-form input[type=search] { font-size:16px; }
    .tba-quick-search-results { grid-template-columns:repeat(var(--tba-search-mobile-columns, 1), minmax(0, 1fr)); gap:10px; }
    .tba-quick-search .tba-quick-search-card { grid-template-columns:70px minmax(0, 1fr); gap:12px; }
    .tba-quick-search .tba-quick-search-card img { width:70px; height:66px; }
    .tba-quick-search .tba-quick-search-no-image { grid-template-columns:1fr; }
    .tba-quick-search-pages { gap:8px; }
    .tba-quick-search .tba-quick-search-pages button { padding:9px 10px; }
}
@media(prefers-reduced-motion:reduce) { .tba-quick-search * { scroll-behavior:auto; } }

/* Keep the source navigation tree and its compact 18px utility icons. */
.tba-triply-enabled .elementor .tba-triply-header-utilities > .elementor-widget-wrap,
.tba-triply-enabled .elementor .tba-triply-mobile-right > .elementor-widget-wrap,
.tba-triply-enabled .elementor .tba-triply-mobile-left > .elementor-widget-wrap { align-items:center; align-content:center; flex-wrap:nowrap; column-gap:0; }
.tba-triply-enabled .elementor .tba-triply-header-utilities > .elementor-widget-wrap { justify-content:flex-end; }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon { flex:0 0 auto; width:auto; margin:0; align-self:center; }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon > .elementor-widget-container { padding:0; margin:0; }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .elementor-icon-wrapper,
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .elementor-icon,
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .tba-ce-account-menu { display:flex; align-items:center; justify-content:center; line-height:1; }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .elementor-icon,
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .tba-ce-account-toggle { width:34px; min-width:34px; height:40px; min-height:40px; padding:0; }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .elementor-icon { font-size:18px; }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .elementor-icon svg { width:18px; height:18px; }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .tba-ce-account-toggle { color:var(--e-global-color-accent,var(--accent,currentColor)); }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .tba-ce-avatar-default { width:18px; height:18px; font-size:18px; }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .tba-ce-avatar-default svg { display:none; }
/* Use the same Triply login glyph as the original header, preserving uploaded avatars. */
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .tba-ce-avatar-default::before { content:"\e015"; font-family:"triply-icon"; font-size:inherit; font-style:normal; font-weight:normal; line-height:1; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
.tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon img.tba-ce-avatar { width:30px; height:30px; }
.tba-triply-enabled .elementor .tba-triply-header-utilities .elementor-element-3f99baa2,
.tba-triply-enabled .elementor .tba-triply-mobile-right .elementor-element-e603778 { display:none; }
.tba-triply-enabled .elementor .tba-triply-header-utilities .elementor-element-36fefbb8 { flex:0 0 auto; margin-inline-end:12px; }
.tba-triply-enabled .elementor .tba-triply-header-utilities .elementor-element-36fefbb8 .elementor-icon-list-text { white-space:nowrap; }

/* Dynamic links occupy the middle of the original footer, without replacing its widgets. */
.tba-triply-enabled .elementor .tba-triply-footer-main > .elementor-container { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr); grid-template-rows:auto auto; gap:30px 34px; align-items:start; }
.tba-triply-enabled .elementor .tba-triply-footer-main > .elementor-container > .elementor-column { width:auto; min-width:0; }
.tba-triply-enabled .elementor .tba-triply-footer-main > .elementor-container > .elementor-column > .elementor-widget-wrap { margin:0; padding:0; }
.tba-triply-enabled .elementor .tba-footer-newsletter { grid-column:1; grid-row:1 / 3; }
.tba-triply-enabled .elementor .tba-footer-destinations { grid-column:2; grid-row:1 / 3; }
.tba-triply-enabled .elementor .tba-footer-tours { grid-column:3; grid-row:1 / 3; }
.tba-triply-enabled .elementor .tba-footer-support { grid-column:4; grid-row:1; }
.tba-triply-enabled .elementor .tba-footer-social { grid-column:4; grid-row:2; }
.tba-triply-enabled .elementor .tba-footer-quick { display:none; }
.tba-triply-enabled .tba-footer-links { min-width:0; color:#fff; font-size:14px; line-height:1.65; }
.tba-triply-enabled .tba-footer-links details { margin:0; border:0; padding:0; }
.tba-triply-enabled .tba-footer-links summary { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 24px; padding:0; list-style:none; cursor:default; font-family:var(--e-global-typography-primary-font-family,inherit); font-size:18px; font-weight:500; line-height:1.4; color:#fff; }
.tba-triply-enabled .tba-footer-links summary::-webkit-details-marker { display:none; }
.tba-triply-enabled .tba-footer-links summary svg { display:none; flex:0 0 18px; }
.tba-triply-enabled .tba-footer-links ul { margin:0; padding:0; list-style:none; }
.tba-triply-enabled .tba-footer-links li { margin:0 0 11px; padding:0; }
.tba-triply-enabled .tba-footer-links a { color:#fff; text-decoration:none; overflow-wrap:anywhere; }
.tba-triply-enabled .tba-footer-links a:hover { color:var(--primary,#d5c2a7); }
.tba-triply-enabled .tba-footer-links a:focus-visible,
.tba-triply-enabled .tba-footer-links summary:focus-visible { outline:2px solid var(--primary,#d5c2a7); outline-offset:4px; }
.tba-triply-enabled .elementor .tba-footer-support .elementor-widget-heading { margin-bottom:14px; }
.tba-triply-enabled .elementor .tba-footer-support .elementor-widget-text-editor { margin-bottom:12px; }
.tba-triply-enabled .elementor .tba-footer-support .elementor-element-e973d9d .elementor-heading-title { font-size:22px; line-height:1.4; overflow-wrap:anywhere; }
.tba-triply-enabled .elementor .tba-footer-social .elementor-widget-heading { margin-bottom:16px; }
.tba-triply-enabled .elementor .tba-footer-social .elementor-element-1ece540 { text-align:left; }
.tba-triply-enabled .elementor .tba-footer-social .elementor-element-fafcea8 > .elementor-widget-container { margin:0; text-align:left; }
.tba-triply-enabled .elementor .tba-footer-social .elementor-element-fafcea8 .elementor-social-icons-wrapper { display:flex; width:100%; justify-content:flex-start; flex-wrap:wrap; gap:12px; }
.tba-triply-enabled .elementor .tba-footer-social .elementor-social-icon { margin:0; }
.tba-triply-enabled .elementor .tba-footer-newsletter .tba-newsletter { max-width:100%; }

@media(max-width:1024px) {
    .tba-triply-enabled .elementor .tba-triply-nav-mobile > .elementor-container { position:relative; }
    .tba-triply-enabled .elementor .tba-triply-nav-mobile > .elementor-container > .elementor-column { width:50%; }
    .tba-triply-enabled .elementor .tba-triply-mobile-left,
    .tba-triply-enabled .elementor .tba-triply-mobile-right,
    .tba-triply-enabled .elementor .tba-triply-mobile-left > .elementor-widget-wrap,
    .tba-triply-enabled .elementor .tba-triply-mobile-right > .elementor-widget-wrap { position:static; }
    .tba-triply-enabled .elementor .tba-triply-mobile-left > .elementor-widget-wrap { justify-content:flex-start; }
    .tba-triply-enabled .elementor .tba-triply-mobile-right > .elementor-widget-wrap { justify-content:flex-end; }
    .tba-triply-enabled .elementor .tba-triply-mobile-right .elementor-element-0ce8dd3 { flex:0 0 auto; }
    .tba-triply-enabled .elementor .tba-triply-mobile-right .elementor-element-0ce8dd3 .elementor-icon-list-text { white-space:nowrap; }
    .tba-triply-enabled .elementor .tba-triply-mobile-right .elementor-element-0ce8dd3 { margin-inline-end:8px; }
    .tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .elementor-icon,
    .tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .tba-ce-account-toggle { width:44px; min-width:44px; height:44px; min-height:44px; }
    .tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .elementor-icon,
    .tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .tba-ce-avatar-default { font-size:20px; }
    .tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .elementor-icon svg,
    .tba-triply-enabled .elementor .elementor-element.tba-triply-utility-icon .tba-ce-avatar-default { width:20px; height:20px; }
    .tba-triply-enabled .elementor .elementor-element.tba-triply-mobile-logo { position:absolute; left:50%; top:50%; width:160px; max-width:38vw; margin:0; transform:translate(-50%,-50%); z-index:2; }
    .tba-triply-enabled .elementor .elementor-element.tba-triply-mobile-logo > .elementor-widget-container { display:flex; align-items:center; justify-content:center; margin:0; padding:0; }
    .tba-triply-enabled .elementor .elementor-element.tba-triply-mobile-logo > .elementor-widget-container > a { display:flex; align-items:center; justify-content:center; width:100%; }
    .tba-triply-enabled .elementor .elementor-element.tba-triply-mobile-logo .elementor-image { text-align:center; }
    .tba-triply-enabled .elementor .elementor-element.tba-triply-mobile-logo img { display:block; width:100%; max-width:100%; height:auto; max-height:70px; object-fit:contain; margin:0 auto; }
    .tba-triply-enabled .elementor .tba-triply-footer-main { padding-block:50px 35px; }
    .tba-triply-enabled .elementor .tba-triply-footer-main > .elementor-container { grid-template-columns:minmax(0,1fr); grid-template-rows:none; gap:0; width:min(640px,calc(100% - 48px)); }
    .tba-triply-enabled .elementor .tba-footer-newsletter { grid-column:1; grid-row:1; padding-bottom:24px; }
    .tba-triply-enabled .elementor .tba-footer-social { grid-column:1; grid-row:2; padding-bottom:24px; }
    .tba-triply-enabled .elementor .tba-footer-destinations { grid-column:1; grid-row:3; }
    .tba-triply-enabled .elementor .tba-footer-tours { grid-column:1; grid-row:4; }
    .tba-triply-enabled .elementor .tba-footer-quick { display:block; grid-column:1; grid-row:5; }
    .tba-triply-enabled .elementor .tba-footer-support { grid-column:1; grid-row:6; padding-top:32px; }
    .tba-triply-enabled .elementor .tba-footer-social .elementor-element-1ece540 { display:none; }
    .tba-triply-enabled .elementor .tba-footer-social .elementor-element-fafcea8 .elementor-social-icons-wrapper { justify-content:center; }
    .tba-triply-enabled .tba-footer-links { border-bottom:1px solid rgba(255,255,255,.2); }
    .tba-triply-enabled .tba-footer-links summary { margin:0; padding:18px 0; font-size:18px; cursor:pointer; }
    .tba-triply-enabled .tba-footer-links summary svg { display:block; }
    .tba-triply-enabled .tba-footer-links details[open] > summary svg { transform:rotate(180deg); }
    .tba-triply-enabled .tba-footer-links ul { padding:0 0 12px; }
    .tba-triply-enabled .elementor .tba-triply-footer-bottom > .elementor-container { display:flex; flex-direction:column; align-items:center; gap:20px; }
    .tba-triply-enabled .elementor .tba-triply-footer-bottom > .elementor-container > .elementor-column { width:100%; }
    .tba-triply-enabled .elementor .tba-triply-footer-bottom .elementor-element-60bda3e { order:1; }
    .tba-triply-enabled .elementor .tba-triply-footer-bottom .elementor-element-bde3b2a { order:2; }
    .tba-triply-enabled .elementor .tba-triply-footer-bottom .elementor-widget-container { text-align:center; }
    .tba-triply-enabled .elementor .tba-triply-footer-bottom .elementor-icon-list-items { justify-content:center; flex-wrap:wrap; row-gap:12px; }
}
@media(max-width:767px) {
    .tba-triply-enabled .elementor .elementor-element.tba-triply-mobile-logo { width:130px; }
}
