/*
 Theme Name: Divi Child
 Theme URI:  https://example.com/
 Description: Child theme for Divi
 Author: Your Name / Company
 Author URI: https://example.com/
 Template: Divi
 Version: 1.0.0
*/

/* =========================
   TTH Base variables & UI
   ========================= */
:root{
  --tth-accent:#1359C1; /* city accent will override via inline <style> */
  /* --tth-hero:none;    /* city hero will override with url("...") */
}
.tth-btn{display:inline-block;padding:.6rem 1rem;border-radius:.75rem;background:var(--tth-accent);color:#fff;text-decoration:none;font-weight:600;transition:transform .15s,opacity .15s}
.tth-btn:hover{transform:translateY(-1px);opacity:.95}

/* =========================
   HERO (generic block)
   ========================= */
.tth-hero{background-image:var(--tth-hero);background-size:cover;background-position:center;border-radius:1rem;min-height:320px;display:flex;align-items:flex-end;padding:2rem;color:#fff;position:relative;overflow:hidden}
.tth-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,0))}
.tth-hero>*{position:relative;z-index:1}

/* =========================
   HERO (Divi slider skin)
   - Add class "tth-location-slider" to the Divi Slider module
   ========================= */
.tth-location-slider .et_pb_slide{background-image:var(--tth-hero);background-size:cover;background-position:center}
.tth-location-slider .et_pb_slide_description .et_pb_slide_title{font-size:75px;color:#fff;text-shadow:.03em .03em 0 rgba(0,0,0,.90)}
.tth-location-slider .et_pb_slide_description .et_pb_slide_content{font-weight:700;font-size:20px;text-shadow:.08em .08em 0 rgba(0,0,0,.90)}
.tth-location-slider .et_pb_slide>.et_pb_container{width:100%}

/* =========================
   Gallery (shortcode)
   ========================= */
.tth-gallery{display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}
@media(min-width:900px){.tth-gallery{grid-template-columns:repeat(3,1fr)}}
.tth-g{overflow:hidden;border-radius:.75rem;margin:0;background:#f5f7fa}
.tth-g img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.tth-g:hover img{transform:scale(1.03)}

/* =========================
   Cards (shortcode)
   ========================= */
.tth-cards{display:grid;gap:1.25rem}
.tth-cols-1{grid-template-columns:1fr}
.tth-cols-2{grid-template-columns:repeat(2,1fr)}
.tth-cols-3{grid-template-columns:repeat(3,1fr)}
.tth-cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.tth-cols-4,.tth-cols-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.tth-cols-4,.tth-cols-3,.tth-cols-2{grid-template-columns:1fr}}
.tth-card{border:1px solid #e9edf3;border-radius:1rem;padding:1rem;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.03);display:flex;flex-direction:column;gap:.5rem}
.tth-card-img{overflow:hidden;border-radius:.75rem;background:#f5f7fa;aspect-ratio:16/9}
.tth-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.tth-card-title{margin:.25rem 0;font-size:1.1rem}
.tth-card-blurb{margin:0 0 .5rem;color:#394652}

/* =========================
   Accordion (shortcode)
   ========================= */
.tth-accordion{display:block}
.tth-acc{border:1px solid #e9edf3;border-radius:.75rem;padding:.25rem .75rem;background:#fff;margin-bottom:.75rem}
.tth-acc>summary{cursor:pointer;font-weight:600;padding:.5rem 0;list-style:none;outline:none}
.tth-acc>summary::-webkit-details-marker{display:none}
.tth-acc[open]>summary{color:var(--tth-accent)}
.tth-acc-content{padding:.5rem 0 1rem}

/* =========================
   Tabs (shortcode)
   ========================= */
.tth-tabs{display:block}
.tth-tablist{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.75rem}
.tth-tab{border:1px solid #e9edf3;background:#fff;padding:.5rem .9rem;border-radius:.75rem;font-weight:600;cursor:pointer}
.tth-tab[aria-selected=true]{color:#fff;background:var(--tth-accent);border-color:var(--tth-accent)}
.tth-panels{border:0px solid #e9edf3;border-radius:.75rem;padding:0;}
.tth-panel{display:none}
.tth-panel.is-active{display:block}
.tth-tab-intro{padding-bottom:1rem;}

/* =========================
   Shortcode slider (not Divi slider)
   ========================= */
.tth-slider{display:flex;gap:1rem;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:.25rem}
.tth-slide{flex:0 0 85%;max-width:85%;scroll-snap-align:start;position:relative;border-radius:1rem;overflow:hidden;background:#000}
@media(min-width:1100px){.tth-slide{flex-basis:66%;max-width:66%}}
.tth-slide img{width:100%;height:520px;object-fit:cover;display:block}
.tth-slide-caption{position:absolute;left:0;right:0;bottom:0;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.6),rgba(0,0,0,0));padding:1rem 1.25rem 1.25rem}
.tth-slide-caption h3{margin:.25rem 0;font-size:1.4rem}
.tth-slide-caption p{margin:.5rem 0 1rem}

/* =========================
   Map
   ========================= */
.tth-map,.tth-map iframe{width:100%;border:0;border-radius:.75rem}

/* =========================
   OPTIONAL: blocks you said you use
   ========================= */

/* Styled heading block */
.tth-city-h2 h2{font-size:33px;color:#1359C1 !important;text-align:center;padding-bottom:5px !important}

/* Vertically center a text column */
@media(min-width:981px){.vcenter{display:flex;flex-direction:column;justify-content:center}}

/* Make an image fill its column height (desktop) */


/* Divi 5 – full-height images beside accordions */
@media (min-width: 981px) {

  .img-fill {
    display: flex;
  }

  .img-fill .et_pb_image {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .img-fill .et_pb_image_wrap {
    display: block;
    width: 100%;
    height: 100%;
  }

  .img-fill .et_pb_image_wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Tablet and mobile – natural image height */
@media (max-width: 980px) {

  .img-fill .et_pb_image,
  .img-fill .et_pb_image_wrap,
  .img-fill .et_pb_image_wrap img {
    height: auto;
  }
}



/* Legacy section: see-do slider background fit */
.see-do-slider .et_pb_slide{background-size:cover;background-position:center}



/* Day Trips section: sticky image + accordion spacing */
@media(min-width:981px){
  .daytrips-section .sticky-col{position:sticky;top:80px;align-self:start}
  .daytrips-section .sticky-col .et_pb_image img{display:block;width:100%;height:auto}
}
.daytrips-section .et_pb_accordion .et_pb_toggle{margin-bottom:12px}
.daytrips-section .et_pb_accordion .et_pb_toggle_title h5.et_pb_toggle_title{font-weight:600;color:#1359C1 !important}
.et_pb_toggle_open .et_pb_toggle_title,
.et_pb_toggle_open h5.et_pb_toggle_title{color:#1359C1 !important}
.daytrips-section .et_pb_accordion ul{margin:.5em 0 .75em 1.25em;color:#1359C1 !important}
.et_pb_accordion .et_pb_toggle{border-radius:8px}
.et_pb_toggle_title:before{color:#1359C1}

/* Make bsui p tighter */
.bsui p {
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
}

/* Make bsui titles TTH blue */
.bsui h1, .bsui .h1, .bsui h2, .bsui .h2, .bsui h3, .bsui .h3, .bsui h4, .bsui .h4, .bsui h5, .bsui .h5, .bsui h6, .bsui .h6 {
color:#1359C1 !important;
margin-bottom: 0.2rem !important;
font-weight: bold !important;
}

/* Make bsui li after gap tighter */
.bsui ol, .bsui ul, .bsui dl {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


.bsui .text-muted {
    color: #000000 !important;
}

.switcher .bsui .text-muted {
    color: #ffffff !important;
}

.fa-folder-open::before {
    --fa: "\f07c";
    color: #1359C1 !important;
}


element.style {
}
.bsui button:focus:not(:focus-visible) {
    outline: 0;
}
.bsui .btn-primary:hover, .bsui .btn-primary:focus, .bsui .btn-primary:active, .bsui .btn-primary.active, .bsui .btn-primary.show {
    color: #fff !important;
    box-shadow: 0 0.25rem 0.25rem 0.125rem rgba(57, 147, 213, 0.1), 0 0.375rem 0.75rem -0.125rem rgba(57, 147, 213, 0.4);
}
.bsui button:not(:disabled), .bsui [type="button"]:not(:disabled), .bsui [type="reset"]:not(:disabled), .bsui [type="submit"]:not(:disabled) {
    cursor: pointer;
}
.bsui button:focus {
    outline: none;
}
.bsui .btn-primary {
    color: #fff;
}
@media (min-width: 992px) {
    .bsui .rounded-lg-circle {
        border-radius: 50% !important;
    }
}
@media (min-width: 768px) {
    .bsui .rounded-md-circle {
        border-radius: 50% !important;
    }
}
.bsui .rounded-circle {
    border-radius: 50% !important;
}
.bsui .px-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}
.bsui .w-100 {
    width: 100% !important;
}
.bsui .btn-lg, .bsui .btn-group-lg>.btn, .bsui .input-group-lg .btn {
    --bs-btn-padding-y: .65rem;
    --bs-btn-padding-x: 2rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-border-radius: .5rem;
}


/* Main Search Dropdown Menu */
.bsui .dropdown-menu {
    --bs-dropdown-zindex: 1000;
    --bs-dropdown-min-width: 10rem;
    --bs-dropdown-padding-x: 0;
    --bs-dropdown-padding-y: .5rem;
    --bs-dropdown-spacer: 0;
    --bs-dropdown-font-size: .875rem;
    --bs-dropdown-color: #000000;
    --bs-dropdown-bg: #fff;
    --bs-dropdown-border-color: #efecf3;
    --bs-dropdown-border-radius: .75rem;
    --bs-dropdown-border-width: 1px;
    --bs-dropdown-inner-border-radius: calc(.75rem - 1px);
    --bs-dropdown-divider-bg: #efecf3;
    --bs-dropdown-divider-margin-y: .375rem;
    --bs-dropdown-box-shadow: none Important!
    --bs-dropdown-link-color: #454056;
    --bs-dropdown-link-hover-color: #3993d5;
    --bs-dropdown-link-hover-bg: transparent;
    --bs-dropdown-link-active-color: #3993d5;
    --bs-dropdown-link-active-bg: transparent;
    --bs-dropdown-link-disabled-color: #9691a4;
    --bs-dropdown-item-padding-x: 1rem;
    --bs-dropdown-item-padding-y: .45rem;
    --bs-dropdown-header-color: #9691a4;
    --bs-dropdown-header-padding-x: 1rem;
    --bs-dropdown-header-padding-y: .5rem;
    position: absolute;
    z-index: var(--bs-dropdown-zindex);
    display: none;
    min-width: var(--bs-dropdown-min-width);
    padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
    margin: 0;
    font-size: var(--bs-dropdown-font-size);
    color: var(--bs-dropdown-color);
    text-align: left;
    list-style: none;
    background-color: var(--bs-dropdown-bg);
    background-clip: padding-box;
    border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
    border-radius: var(--bs-dropdown-border-radius);
    box-shadow: var(--bs-dropdown-box-shadow);
}
/*remove transparent shadow on category cards*/
.bsui .shadow {
    box-shadow: none !important;
}
.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none !important;
}
.tth-location-slider .card-body .fa-solid:before {
text-shadow: 1px 1px 0 rgba(0, 0, 0, 1);
}

#search-bar .bsui .bg-white {
    fill: #fff !important;
    border: 1px solid #000 !important;
    box-shadow: 2px 2px 0px 0px #000000;
}

/* Make hero slider category icons have white circle background */
.tth-location-slider .card-body .fa-solid {
    font-weight: 900;
    border-radius: 50% !important;
    background: #fff;
    padding: 14px 10px 14px 10px;
    margin-bottom:10px;
    width: 60px;
    height: 60px;
    border: 1px solid #000;
}

#category-icons .bsui .text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #ffffff;
    text-shadow: none;
    border-radius: 25px;
    border: 1px solid #000;
    padding: 5px 8px 5px 8px;
    color: #003366;
    font-size: 10px;
}

.bsui h6, .bsui .h6 {
    font-size: 0.9rem !important;
} 

.card-body .bsui .overflow-hidden {
    overflow: visible !important;
}

.card-body .bsui h3 {
    font-size: 1.0rem; !important;
}

.bsui .p-1 {
    padding: 0.4rem !important;
}

/* ===== Divi 5 Menu Module – mobile only ===== */
@media (max-width:980px){
  /* Hide panels by default */
  .et_pb_menu li > ul.sub-menu,
  .et_pb_menu li > .et_pb_megamenu,
  .et_pb_menu li > .et_pb_mega_menu { display:none; }

  /* Show when open */
  .et_pb_menu li.tth-open > ul.sub-menu,
  .et_pb_menu li.tth-open > .et_pb_megamenu,
  .et_pb_menu li.tth-open > .et_pb_mega_menu { display:block; }

  /* Space for toggle at all levels */
  .et_pb_menu nav ul li > a { position:relative; padding-right:40px; }

  /* Toggle button */
  .et_pb_menu .tth-toggle{
    position:absolute; right:10px; top:50%; transform:translateY(-50%);
    width:28px; height:28px; display:grid; place-items:center; cursor:pointer;
  }

  /* Icons via ETmodules; sizes by depth */
  .et_pb_menu .tth-level-1 > a .tth-toggle::before,
  .et_pb_menu .tth-level-2 > a .tth-toggle::before,
  .et_pb_menu .tth-level-3 > a .tth-toggle::before{
    font-family:'ETmodules'; content:'4c'; line-height:1; display:inline-block; transition:transform .2s ease;
  }
  .et_pb_menu .tth-level-1 > a .tth-toggle::before{ font-size:16px; }
  .et_pb_menu .tth-level-2 > a .tth-toggle::before{ font-size:14px; }
  .et_pb_menu .tth-level-3 > a .tth-toggle::before{ font-size:12px; }
  .et_pb_menu li.tth-open > a .tth-toggle::before{ content:'4d'; }

  /* Optional indentation */
  .et_pb_menu nav ul ul.sub-menu > li > a { padding-left:24px; }
  .et_pb_menu nav ul ul.sub-menu ul.sub-menu > li > a { padding-left:36px; }
}

/* ------------------------------
   LOCATION PAGE QUICKLINKS — DESKTOP + MOBILE
   ------------------------------ */

/* Desktop anchor bar */
.tth-anchor-bar {
  display: flex;
  justify-content: center;   /* centre links */
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 0px solid #eee;
  font-size: 13.5px;
  font-weight: bold;
  text-align: center;
}

.tth-anchor-bar a {
  text-decoration: none;
  padding: 0.20rem 0.6rem;
  border-radius: 999px;
  border: solid 1px #000;
  background: #ffffff;
  color: #1359C1;
  white-space: nowrap;
}

.tth-anchor-bar a:hover {
  background: #e2e2e2;
}


/* Quick nav (mobile) – hidden on desktop */
.tth-quick-nav {
  display: none;
  margin: 0.5rem 0 1rem;
}

.tth-quick-nav__toggle {
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fafafa;
  font-size: 14px;
}

.tth-quick-nav__panel {
  display: none;
  margin-top: 0.5rem;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fff;
  padding: 0.5rem;
}

.tth-quick-nav__panel.is-open {
  display: block;
}

.tth-quick-nav__panel a {
  display: block;
  padding: 0.4rem 0.5rem;
  font-size: 14px;
  text-decoration: none;
  color: #333;
}

.tth-quick-nav__panel a + a {
  border-top: 1px solid #f1f1f1;
}

/* Quick Nav burger icon */
.tth-burger-icon {
  display: inline-block;
  width: 18px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

.tth-burger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  margin: 3px 0;
  border-radius: 2px;
}


/* Mobile behaviour */
@media (max-width: 980px) {

  .tth-anchor-bar {
    display: none;     /* hide desktop links */
  }

  .tth-quick-nav {
    display: block;    /* show mobile dropdown */
  }
}

/* ------------------------------
   DETAILS PAGE QUICKLINKS — DESKTOP + MOBILE
   ------------------------------ */

/* Desktop anchor bar */
.tth-listing-anchor-bar {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-bottom: 0px solid #eee;
  font-size: 13.5px;
  font-weight: bold;
  text-align: center;
}

.tth-listing-anchor-bar a {
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: solid 1px #000;
  box-shadow: 2px 2px 0px 0px #000000;
  background: #f5f5f5;
  color: #1359C1;
  white-space: nowrap;
}

.tth-listing-anchor-bar a:hover {
  background: #e2e2e2;
}



/* HTML ADS - Outer banner box */
/* Shared CTA banner base */
.tth-cta-banner {
  border: 1px solid #000;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  margin: 1rem auto;
  max-width: 680px;
  background: #fff;
  text-align: center;
}

/* CTA text — NO custom font-family */
.tth-cta-text {
  margin: 0;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.4;
}

/* Highlight (blue underline bar) */
.tth-cta-highlight {
  font-style: normal;
  font-weight: 700;
  position: relative;
  padding: 0 2px;
  background-image: linear-gradient(
    to top,
    #bcd7ff 0,
    #bcd7ff 35%,
    transparent 35%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Prevent GeoDirectory from forcing margins */
.tth-cta-banner p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Optional tighter mobile spacing */
@media (max-width: 480px) {
  .tth-cta-banner {
    padding: 0.5rem 0.75rem;
  }
}
/* HTML ADS - Outer banner box END*/

/* Listing Header */

#listing-heading .bsui .h1 {
   margin-bottom: 0px !important;
   padding-bottom: 0px !important;
}

#listing-slider .bsui .carousel {
    background: #f5f4f8;
    border-radius: 10px;
    padding-bottom: none;
    border: solid 1px #000;
    box-shadow: 2px 2px 0px 0px #000000;
}
#listing-slider .bsui .overflow-hidden {
    overflow: visible !important;
}

.geodir-output-location-detail {
border: solid 1px #000;
box-shadow: 2px 2px 0px 0px #000000;
}

#listing-slider .bsui .carousel-inner {
   border-radius: 10px;
}
#listing-slider .bsui .carousel-indicators .border-0 {
    border: .5px solid #000 !important;
    border-radius: 4px;
    box-shadow: 2px 2px 0px 0px #000000;
}
#listing-slider .bsui .carousel-indicators .active {
    width: 2rem;
    opacity: 0.8 !important;
}
.bsui .carousel-indicators [data-bs-target] {
    border-radius: 4px !important;
}

#listing-slider .bsui .position-relative {
    position: absolute !important;
}


/* =========================================================
   TTH TOUR LISTING SLIDER
   ========================================================= */

#tour-listing-slider .bsui .carousel {
    background: #f5f4f8;
    border-radius: 10px;
    border: solid 1px #000;
    box-shadow: 2px 2px 0px 0px #000000;
    position: relative;
    padding-bottom: 0 !important;
}

#tour-listing-slider .bsui .overflow-hidden {
    overflow: visible !important;
}

#tour-listing-slider .bsui .carousel-inner {
    border-radius: 10px;
}

#tour-listing-slider .bsui .carousel-indicators .border-0 {
    border: .5px solid #000 !important;
    border-radius: 4px;
    box-shadow: 2px 2px 0px 0px #000000;
}

#tour-listing-slider .bsui .carousel-indicators .active {
    width: 2rem;
    opacity: 0.8 !important;
}

#tour-listing-slider .bsui .carousel-indicators [data-bs-target] {
    border-radius: 4px !important;
}


/* Tour slider thumbnails over image */

#tour-listing-slider .bsui .position-relative {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 20;
}

/* =========================================================
   TTH STICKY TOUR SIDEBAR
   ========================================================= */

@media (min-width: 981px) {

    #listing-sidebar {
        position: sticky !important;
        top: 100px;
        align-self: flex-start;
        z-index: 10;
    }

}

/* Listing Sidebar */
#listing-sidebar .bsui .list-group-item {
border-color: #000 !important;
}

.code_module_txt {
font-size: 16px !important;;
}

.bsui .card {
    --bs-card-spacer-y: 1.25rem;
    --bs-card-spacer-x: 1.25rem;
    --bs-card-title-spacer-y: .5rem;
    --bs-card-border-width: 1px;
    --bs-card-border-color: #000;
    --bs-card-border-radius: .75rem;
    --bs-card-box-shadow: 2px 2px 0px 0px #000000;
    --bs-card-inner-border-radius: calc(.75rem - 1px);
    --bs-card-cap-padding-y: 1rem;
    --bs-card-cap-padding-x: 1.25rem;
    --bs-card-cap-bg: transparent;
    --bs-card-cap-color: ;
    --bs-card-height: ;
    --bs-card-color: ;
    --bs-card-bg: #fff;
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: .75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
    box-shadow: var(--bs-card-box-shadow);
}

/* Book Now button – make it look like a real button */
.tth-booknow a.geodir-button-link{
    background: var(--tth-primary, #1359c1);
    border: solid 1px #000;
    box-shadow: 2px 2px 0px 0px #000000;
    border-radius: 9px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    line-height: 1;
    padding: 12px 18px; /* keep or adjust to taste */
    transition: transform .12s ease, opacity .12s ease;
}

/* Hover / focus */
.tth-booknow a.geodir-button-link:hover,
.tth-booknow a.geodir-button-link:focus{
    opacity: .92;
    transform: translateY(-1px);
}

/* Accessible focus ring */
.tth-booknow a.geodir-button-link:focus-visible{
    outline: 3px solid rgba(13,110,253,.35);
    outline-offset: 2px;
}

/* Make the People Contact trigger button match TTH Book Now button */
.geodir-ppl-contact button.btn.btn-primary{
    background: var(--tth-primary, #1359c1) !important;
    border: solid 1px #000 !important;
    box-shadow: 2px 2px 0px 0px #000000 !important;
    border-radius: 9px !important;

    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 12px 18px !important;

    display: inline-flex;
    align-items: center;
    gap: .5rem;

    transition: transform .12s ease, opacity .12s ease;
}

/* Hover / focus */
.geodir-ppl-contact button.btn.btn-primary:hover,
.geodir-ppl-contact button.btn.btn-primary:focus{
    opacity: .92;
    transform: translateY(-1px);
}

/* Accessible focus ring */
.geodir-ppl-contact button.btn.btn-primary:focus-visible{
    outline: 3px solid rgba(13,110,253,.35);
    outline-offset: 2px;
}

/* Style and position the GD icon INSIDE the button */
.tth-booknow a.geodir-button-link .geodir-icon,
.tth-booknow a.geodir-button-link i.fa,
.tth-booknow a.geodir-button-link:after {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin-left: .4rem;
    margin-right: 0;
    font-size: 0.9em;
    display: inline-block !important;
    color: #fff !important; /* ensure icon matches Bootstrap button text */
}

selector h3 {color: #1359C1 !important;}

/* 1. Neutralise Divi layout inside GeoDirectory listings */
.geodir-listings .et_pb_section,
.geodir-listings .et_pb_row,
.geodir-listings .et_pb_column,
.geodir-listings .et_pb_text {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* 2. Remove stray empty <p> Divi inserts */
.geodir-listings .et_pb_text_inner > p:empty {
    display: none !important;
}

/* 3. Prevent Divi rows from constraining slider width */
.geodir-listings .et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* 4. Keep GD carousel cards centred (undo GD inline margin) */
.geodir-posts-carousel .row.carousel-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 5. Remove padding from the Text module that wraps the shortcode */
.gd-slider-text .et_pb_text_inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 6. Make the Divi row holding the slider full-width */
.gd-slider-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.gd-slider-row .et_pb_column {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 7. Tighten vertical spacing on the slider section
.et_pb_section_3 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
 */

/* 8. Remove extra bottom margin added by GeoDirectory (.mb-3) */
.geodir-posts-carousel.mb-3 {
    margin-bottom: 0 !important;
}
/* Remove the extra outer card so you don't see a "card behind a card" */
.geodir-listings .geodir-post > .card {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove the extra outer GeoDirectory card */
.geodir-post > .card {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove Divi's entire section/row/column padding & width system INSIDE GeoDirectory posts */
.geodir-post .et_pb_section,
.geodir-post .et_pb_row,
.geodir-post .et_pb_column,
.geodir-post .et_pb_text {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}


#tth-carousel-cards .bsui p {
    margin-top: 0px;
    margin-bottom: 0px;
}
#tth-carousel-cards br {
    display: none !important;
}

/* Remove gap after login on add listing page */
.geodir-add-listing br { display: none !important; }


/* Allow shadow to display */
.bsui .geodir-map-wrap.overflow-hidden {
    overflow: visible !important;
}

/* Outer container gets the shadow + border */
.listing-page .geodir-map-wrap {
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    box-shadow: 2px 2px 0px 0px #000000 !important;
    padding: 10px;
}

/* Inner map gets rounded corners (but not the shadow) */
.geodir-map-wrap iframe,
.geodir-map-wrap .gm-style,
.geodir-map-wrap #geodir_map_canvas {
    border-radius: 10px !important;
    overflow: hidden !important;
}

.dropdown-menu.dropdown-caret-0.my-3.p-0.show {
    position: absolute;
    inset: 0px auto auto 0px;
    margin: 0px;
    transform: translate3d(-100px, 38.4px, 0px) !important;
}
}

.bsui h6, .bsui .h6 {
    font-size: 0.9rem;
}

.geodir-location-switcher-menu-link a {
	color: #fe7d18 !important;
}


/* Collapsible mobile menu with active parent links */
@media (max-width: 1024px) {

  ul.et_mobile_menu li.menu-item-has-children,
  ul.et_mobile_menu li.page_item_has_children {
    position: relative;
  }

  .et_mobile_menu .menu-item-has-children > a,
  .et_mobile_menu .page_item_has_children > a {
    background-color: transparent;
    padding-right: 44px;
  }

  /* Toggle button area */
  ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
  ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
    width: 44px;
    height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
  }

  /* Hide all submenus by default */
  ul.et_mobile_menu .menu-item-has-children .sub-menu,
  ul.et_mobile_menu .page_item_has_children .sub-menu {
    display: none !important;
    visibility: hidden !important;
  }

  /* Show open submenu */
  ul.et_mobile_menu .menu-item-has-children.dt-open > .sub-menu,
  ul.et_mobile_menu .page_item_has_children.dt-open > .sub-menu {
    display: block !important;
    visibility: visible !important;
  }

  /* Arrow icon */
  ul.et_mobile_menu li.menu-item-has-children .mobile-toggle:before,
  ul.et_mobile_menu li.page_item_has_children .mobile-toggle:before {
    font-family: 'ETmodules';
    content: '\35'; /* right */
    font-size: 16px;
    line-height: 1;
  }

  /* Open state arrow */
  ul.et_mobile_menu li.menu-item-has-children.dt-open > .mobile-toggle:before,
  ul.et_mobile_menu li.page_item_has_children.dt-open > .mobile-toggle:before {
    content: '\33'; /* down */
  }

  /* Indentation */
  ul.et_mobile_menu ul.sub-menu > li > a {
    padding-left: 24px;
  }

  ul.et_mobile_menu ul.sub-menu ul.sub-menu > li > a {
    padding-left: 36px;
  }

  /* Keep Divi wrapper behaving as your current working setup */
  .et_pb_menu__wrap {
    position: relative !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .et_pb_menu .et_pb_menu_inner_container .et_mobile_menu {
    position: absolute !important;
    top: 100% !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    z-index: 999999 !important;
  }

  html, body {
    overflow-x: hidden !important;
  }

  .et_mobile_menu {
    max-width: 100% !important;
  }
}

/* Phones — keep your current working positioning */
@media (max-width: 768px) {
  .et_pb_menu .et_pb_menu_inner_container .et_mobile_menu {
    left: -77% !important;
    transform: translateX(-77%) !important;
    width: calc(100vw - 50px) !important;
    max-width: calc(100vw - 50px) !important;
  }
}

/* Tablets — compensate for the location switcher */
@media (min-width: 769px) and (max-width: 1024px) {
  .et_pb_menu .et_pb_menu_inner_container .et_mobile_menu {
    left: -71% !important;
    transform: translateX(-71%) !important;
    width: calc(100vw - 70px) !important;
    max-width: calc(100vw - 70px) !important;
  }
}

/* 1) Hide the module by default */
.show-only-chiang-mai-city { display: none; }

/* 2) Show it on Chiang Rai City only */
body.tth-city-chiang-mai-city .show-only-chiang-mai-city { display: block !important; }

/* Ensure each card can position badges */
.gd-archive-item, .geodir-listing-card { position: relative; }

/* Move top-right & bottom-left badges into the same top-left corner */
.gd-archive-item .gd-badge.top-right,
.gd-archive-item .gd-badge.bottom-left {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 9; /* sits under the built-in Featured if both render */
}

/* Priority logic: show only one status badge in that corner */
/* 1) Featured wins */
.gd-archive-item:has(.geodir-post-featured) .gd-badge.top-right,
.gd-archive-item:has(.geodir-post-featured) .gd-badge.bottom-left { display: none !important; }

/* 2) If NOT Featured but Sponsored exists, show Sponsored and hide Editor */
.gd-archive-item:not(:has(.geodir-post-featured)):has(.gd-badge.top-right) .gd-badge.bottom-left { display: none !important; }

/* Optional mobile tweak */
@media (max-width: 768px) {
  .gd-archive-item .gd-badge.top-right,
  .gd-archive-item .gd-badge.bottom-left {
    top: 8px !important;
    left: 8px !important;
    font-size: 11px;
    padding: 3px 8px;
  }
}


#tth-ai-concierge {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  font-family: inherit;
}

#tth-ai-toggle,
#tth-ai-biz-toggle {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}

#tth-ai-toggle {
    background: #007bff;
    color: #fff;
}

#tth-ai-biz-toggle {
    background: #333;
    color: #fff;
}

#tth-ai-buttons button {
    margin-left: 6px;
}

#tth-ai-window {
  position: fixed;
  right: 20px;
  bottom: 70px;
  width: 320px;
  max-height: 70vh;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#tth-ai-header {
  padding: 10px 14px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

#tth-ai-messages {
  padding: 10px 14px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
}

#tth-ai-input-bar {
  display: flex;
  border-top: 1px solid #eee;
}

#tth-ai-input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 14px;
}

#tth-ai-input:focus {
  outline: none;
}

#tth-ai-send {
  border: none;
  padding: 0 14px;
  cursor: pointer;
}

/* -----------------------------------------------------------
   SPONSORED BADGE (Package 5 listings)
   Styled exactly like Bootstrap/GD badges
------------------------------------------------------------ */
.gd-post-pkg-5 .card-img-top::before {
    content: "Sponsored";
    position: absolute;
    top: .4rem;
    left: .4rem;
    z-index: 5;

    /* Badge styling (matches Featured) */
    padding: .4375em .75em;
    font-size: 84%;
    font-weight: normal;
    background: #ffcc00;
    color: #000;
    border-radius: .375rem;
    display: inline-block;
    line-height: 1;
}

/* -----------------------------------------------------------
   FEATURED BADGE under Sponsored (stacked)
------------------------------------------------------------ */
.gd-post-pkg-5 .card-img-top .ab-top-left {
    position: absolute;
    top: calc(.4rem + 1.95rem) !important;
    left: .4rem !important;
    z-index: 5;
}

/* -----------------------------------------------------------
   FEATURED BADGE rounded corners (matches Sponsored)
------------------------------------------------------------ */
.gd-post-pkg-5 .card-img-top .gd-badge {
    border-radius: .375rem !important;
}

/* ============================================================
   TTH Tabs – Pill Style (matches Divi feel)
   ============================================================ */

.tth-tabs{
  margin-top: 0;
}

/* Tab list */
.tth-tablist{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

/* Tab button (pill) */
.tth-tab{
  appearance: none;
  border: 1px solid #333;
  background: #fff;
  color: var(--tth-accent, #1359c1);
  font-family: var(--et_global_heading_font, inherit);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  box-shadow: 2px 2px 0 0 #000;
  transition: background 0.15s ease, color 0.15s ease;
}

/* Active tab */
.tth-tab[aria-selected="true"]{
  background: var(--tth-accent, #1359c1);
  color: #fff;
}

/* Remove hover movement */
.tth-tab:hover{
  transform: none !important;
}

/* Panels */
.tth-panels{
  position: relative;
}

.tth-panel{
  display: none;
}

.tth-panel.is-active{
  display: block;
}


/* ============================================================
   Accordions inside Tabs – SAME as normal Divi accordions
   ============================================================ */

/* Card */
.tth-panel .et_pb_accordion .et_pb_accordion_item{
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 2px 2px 0 0 #000;
  background: #fff;
  margin-bottom: 1rem;
  overflow: hidden;
}

/* Kill hover nudge */
.tth-panel .et_pb_toggle{
  transition: box-shadow 0.15s ease;
}
.tth-panel .et_pb_toggle:hover{
  transform: none !important;
}

/* Accordion title */
.tth-panel .et_pb_toggle_title{
  font-family: var(--et_global_heading_font, inherit);
  font-weight: 700;
  font-size: 1rem;
  color: var(--tth-accent, #1359c1);
  padding: 1rem 3rem 1rem 1.25rem;
  cursor: pointer;
  line-height: 1.4;
}

/* Accordion content */
.tth-panel .et_pb_toggle_content{
  padding: 0 1.25rem 1.25rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #0a0a0a;
}

/* Remove left indent */
.tth-panel .et_pb_toggle_content{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.tth-panel .et_pb_toggle_content p{
  margin-left: 0 !important;
  text-indent: 0 !important;
}

.tth-panel .et_pb_toggle_icon{
  color: var(--tth-accent, #1359c1);
  font-size: 22px;
  right: 14px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  margin-top: -11px;
}

/* Closed accordion title stays blue */
.tth-panel .et_pb_toggle_close .et_pb_toggle_title{
  color: var(--tth-accent, #1359c1) !important;
}

/* Mobile spacing */
@media (max-width: 767px){
  .tth-tab{
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .tth-panel .et_pb_toggle_title{
    padding-right: 2.75rem;
  }
}


/* ============================================================
   TTH  Accordion – match your Divi look
   Works with: .tth-accordion > details.tth-acc > summary
   ============================================================ */

.tth-accordion{
  margin: 0;
}

/* Card */
.tth-accordion .tth-acc{
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 2px 2px 0 0 #000;
  background: #fff;
  margin-bottom: 1rem;
  overflow: hidden;
}

/* Remove default marker */
.tth-accordion .tth-acc > summary{
  list-style: none;
}
.tth-accordion .tth-acc > summary::-webkit-details-marker{
  display: none;
}

/* No hover movement */
.tth-accordion .tth-acc{
  transform: none !important;
}
.tth-accordion .tth-acc:hover{
  transform: none !important;
}

/* Title */
.tth-accordion .tth-acc > summary{
  position: relative;
  font-family: var(--et_global_heading_font, inherit);
  font-weight: 700;
  font-size: 1rem;
  color: var(--tth-accent, #1359c1); /* CLOSED title blue */
  padding: 1rem 3rem 1rem 1.25rem;
  cursor: pointer;
  line-height: 1.4;
  user-select: none;
}

/* Open title stays blue */
.tth-accordion .tth-acc[open] > summary{
  color: var(--tth-accent, #1359c1);
}

/* Content */
.tth-accordion .tth-acc-content{
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gcid-body-color, #0a0a0a);
}

/* Remove “indent” feeling */
.tth-accordion .tth-acc-content p,
.tth-accordion .tth-acc-content ul,
.tth-accordion .tth-acc-content ol{
  margin-left: 0 !important;
  text-indent: 0 !important;
}
.tth-accordion .tth-acc-content p:first-child{
  margin-top: 0;
}

/* + / – icon (right) */
.tth-accordion .tth-acc > summary::after,
.tth-accordion .tth-acc > summary::before{
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--tth-accent, #1359c1);
  transform: translateY(-50%);
}

/* vertical stroke only when CLOSED = “+” */
.tth-accordion .tth-acc > summary::before{
  transform: translateY(-50%) rotate(90deg);
}
.tth-accordion .tth-acc[open] > summary::before{
  opacity: 0; /* open = “–” */
}

/* Mobile spacing */
@media (max-width: 767px){
  .tth-accordion .tth-acc > summary{
    padding-right: 2.75rem;
  }
}

/* ============================================================
   TTH – Divi accordion styling (COSMETIC ONLY, keeps smooth motion)
   ============================================================ */

/* Card look (no overflow / no transition overrides) */
.et_pb_accordion .et_pb_accordion_item{
  border: 1px solid #333 !important;
  border-radius: 8px !important;
  box-shadow: 2px 2px 0 0 #000 !important;
  background: #fff !important;
}

/* Kill “nudge” on hover ONLY (don’t remove Divi transitions globally) */
.et_pb_accordion .et_pb_toggle:hover{
  transform: none !important;
}

/* Titles: blue when closed (and fine to keep blue when open too) */
.et_pb_accordion .et_pb_toggle_title{
  color: var(--tth-accent, #1359c1) !important;
  font-family: var(--et_global_heading_font, inherit) !important;
  font-weight: 700 !important;
}

/* If Divi changes title colour on open, force it to stay blue */
.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title{
  color: var(--tth-accent, #1359c1) !important;
}

/* Content text colour only (no padding/display/overflow changes) */
.et_pb_accordion .et_pb_toggle_content{
  color: var(--gcid-body-color, #0a0a0a) !important;
}

/* Ensure no weird paragraph indent */
.et_pb_accordion .et_pb_toggle_content p{
  margin-left: 0 !important;
  text-indent: 0 !important;
}

/* Icon colour (Divi’s real icon element) */
.et_pb_accordion .et_pb_toggle_title .et_pb_toggle_icon{
  color: var(--tth-accent, #1359c1) !important;
}

/* TTH Divi-style accordions (both normal + inside tabs) */
.tth-accordion .et_pb_toggle_content,
.tth-divi-acc .et_pb_toggle_content{
  padding: 0px 16px 14px 16px;
}

.tth-accordion .et_pb_toggle_title,
.tth-divi-acc .et_pb_toggle_title{
  padding: 14px 16px;
}

/* Force + / – icon for accordions inside tabs */
.tth-tabs .tth-divi-acc .et_pb_toggle_title{
  position: relative;
  padding-right: 44px; /* space for icon */
}



/* ===== Restore accordion icons (Divi + your generated accordions) ===== */

.et_pb_accordion .et_pb_toggle_title{
  position: relative;
  padding-right: 44px; /* room for icon */
}

.et_pb_accordion .et_pb_toggle_title .et_pb_toggle_icon{
  display: block !important;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-weight: 700;
  color: var(--tth-accent, #1359c1);
}

/* Use + when closed, – when open */
.et_pb_accordion .et_pb_toggle_close .et_pb_toggle_icon::before{ content: "+"; }
.et_pb_accordion .et_pb_toggle_open  .et_pb_toggle_icon::before{ content: "–"; }

/* ============================================================
   DIVI ACCORDION ICONS: single source of truth (Divi default)
   Fixes: missing icons on normal accordions + doubled icons in tabs
   Paste at VERY BOTTOM
   ============================================================ */

/* 0) Kill ANY custom pseudo icons you (or earlier CSS) added */
.et_pb_toggle_title::after,
.tth-tabs .et_pb_toggle_title::after,
.tth-panel .et_pb_toggle_title::after,
.tth-tabs .tth-divi-acc .et_pb_toggle_title::after{
  content: none !important;
  display: none !important;
}

/* 1) Also kill any “fake +/–” system that uses the icon span */
.et_pb_toggle_title .et_pb_toggle_icon::before{
  content: none !important;
}

/* 2) Ensure the Divi default icon (ETmodules) is enabled everywhere */
.et_pb_toggle_title{
  position: relative !important;
  padding-right: 44px !important; /* room for icon */
}

.et_pb_toggle_title:before{
  /* Divi default closed icon */
  content: "\E050" !important;
  font-family: "ETmodules" !important;
  font-weight: normal !important;
  font-style: normal !important;
  speak: none !important;

  position: absolute !important;
  right: 0 !important;
  left: auto !important;

  font-size: 16px !important;
  color: var(--tth-accent, #1359C1) !important;

  display: inline-block !important;
  line-height: 1 !important;
}


/* 3) Open state icon (Divi default open icon) */
.et_pb_toggle_open .et_pb_toggle_title:before{
  content: "\E04F" !important;
}

/* 4) Hide Divi’s separate icon element if it exists to prevent doubling */
.et_pb_toggle_title .et_pb_toggle_icon{
  display: none !important;
}


/* Pull Divi accordion icon in from the right edge */
.et_pb_toggle_title:before{
  right: 16px !important; /* try 14–18px if you want it tighter/looser */
}

/* Make sure title still has space so it doesn’t collide with the icon */
.et_pb_toggle_title{
  padding-right: 56px !important;
}

/* Fix accordion content alignment INSIDE tabs only */
.tth-panel .et_pb_toggle_content{
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

/* Pointer cursor on accordion icons (normal + inside tabs) */
.et_pb_accordion .et_pb_toggle_title:before,
.tth-tabs .et_pb_toggle_title:before,
.tth-tabs .et_pb_toggle_title::after{
  cursor: pointer;
}

/* Pointer cursor on ALL Divi accordion titles + icons (normal + tabs) */
.et_pb_toggle_title,
.et_pb_toggle_title:before,
.et_pb_toggle_title::after{
  cursor: pointer;
}
/* TTH Tabs ONLY — centre the Divi icon without affecting sitewide accordions */
.tth-tabs .et_pb_toggle_title:before{
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important; /* cancels Divi default -0.5em inside tabs only */
}

/* Mega-menu column headings (items that have a submenu) */
.et-menu-nav li.mega-menu > ul.sub-menu > li.menu-item-has-children > a {
  padding-top: 0 !important;
  font-weight: 700;
  /*border-bottom: 1px solid rgba(0,0,0,1); */
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: inline-block;
}

.et-menu-nav li.mega-menu > ul.sub-menu > li.menu-item-has-children > a {
    border-bottom: none !important;
    background-image: linear-gradient(#000, #000);
    background-size: 80% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
}

/* TTH pill tabs — scoped to this module only */
.et_pb_tabs_3 ul.et_pb_tabs_controls{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  margin:0 0 16px 0 !important;
}

/* individual pills */
.et_pb_tabs_3 ul.et_pb_tabs_controls li.et_pb_tab_nav_item{
  background:#f4f6f8 !important;
  border:1px solid #000 !important;              /* ✅ ADD */
  box-shadow: 2px 2px 0px 0px #000000 !important;             /* ✅ ADD */
  border-radius:999px !important;
  padding:0 !important;
  margin:0 !important;
  height:auto !important;
}

/* pill link */
.et_pb_tabs_3 ul.et_pb_tabs_controls li.et_pb_tab_nav_item a.et_pb_tab_nav_item_link{
  display:block !important;
  padding:10px 18px !important;
  color:#333 !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
}

/* active pill */
.et_pb_tabs_3 ul.et_pb_tabs_controls li.et_pb_tab_active{
  background:#1359C1 !important;
  box-shadow: 2px 2px 0px 0px #000000; !important;              /* ✅ slightly pressed */
}

/* active pill text */
.et_pb_tabs_3 ul.et_pb_tabs_controls li.et_pb_tab_active a.et_pb_tab_nav_item_link{
  color:#fff !important;
  font-weight:700 !important;
}

/* remove Divi's default “tab underline / borders” if present */
.et_pb_tabs_3 .et_pb_tabs_controls:before,
.et_pb_tabs_3 .et_pb_tabs_controls:after{
  display:none !important;
}

/* Add color to Location Switcher in menu */
/* Location switcher menu item */
.menu-item.location-switcher > a {
  color: #fe7d18 !important;
}





/* DEVELOPMENT STYLES */




/* Stabilise Divi slider height on mobile (reduces CLS) */
@media (max-width: 767px) {
  .et_pb_slider,
  .et_pb_slides,
  .et_pb_slide {
    min-height: 520px; /* tweak until it matches your design */
  }
}

/* TTH Transport: tables that always keep borders */
.tth-transport .table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin:16px 0;
}

.tth-transport .table-scroll table{
  width:100%;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  min-width:640px; /* creates scroll on mobile */
}

.tth-transport .table-scroll th,
.tth-transport .table-scroll td{
  border:1px solid rgba(0,0,0,0.18) !important;
  padding:10px 12px;
  vertical-align:top;
}

.tth-transport .table-scroll thead th{
  font-weight:700;
}

/* Optional: centre header rows like your WLKC style */
.tth-transport .tableheader-aligncenter th{
  text-align:center;
}



/* Beach + palm custom divider */
.tth-beach-divider {
  position: relative;
  overflow: hidden; /* hides any SVG edges */
}

/* Bottom divider */
.tth-beach-divider:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;              /* tiny overlap to avoid gaps */
  height: 220px;             /* match SVG viewbox height */
  background-image: url("/wp-content/uploads/beach-palm-divider.svg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%; /* stretch to full width */
  pointer-events: none;
  z-index: 2;
}

/* Make sure content sits above the divider */
.tth-beach-divider > .et_pb_row,
.tth-beach-divider > .et_pb_row_fullwidth,
.tth-beach-divider .et_pb_module {
  position: relative;
  z-index: 3;
}

/* Responsive height tweaks */
@media (max-width: 980px){
  .tth-beach-divider:after { height: 180px; }
}
@media (max-width: 767px){
  .tth-beach-divider:after { height: 140px; }
}

/* TTH: stop GeoDirectory carousel cards wrapping into 2 rows */

/* Covers Slick/Owl/Swiper tracks if used */
#topcards .entry-content .slick-track,
#topcards .entry-content .owl-stage,
#topcards .entry-content .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
}

/* Bootstrap-style carousel: force each slide’s inner row to not wrap */
#topcards .entry-content .carousel .carousel-item > * {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
}

/* Keep the intended 3-up layout */
#topcards .entry-content .carousel .carousel-item > * > * {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
}

/* If you have a sticky header */
#reviews { scroll-margin-top: 110px; }

.tth-review-cta{
  display:inline-block;
  text-decoration:none;
}

/* TTH Related rail – horizontal swipe “carousel” without JS */
.tth-related-rail .row{
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  gap: 14px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

/* Make each card a fixed width so it becomes a swipe rail */
.tth-related-rail .row > [class*="col-"]{
  flex: 0 0 280px !important;   /* card width */
  max-width: 280px !important;
  scroll-snap-align: start;
}

/* Optional: calm the cards a bit */
.tth-related-rail .card{
  box-shadow: none;
  border: 1px solid #eee;
}

/* TTH layout fix: remove bottom gap under last module (desktop) */
@media (min-width: 981px){
  .et_pb_section div.et_pb_row .et_pb_column .et_pb_module:last-child:not(.et-vb-ui){
    margin-bottom: 0 !important;
  }
}

@media (min-width: 981px) {
  /* Stop Divi gutters adding % spacing to the Tabs module + each tab panel */
  .et_pb_gutters3 .et_pb_column_1_2.et_pb_column .et_pb_tabs,
  .et_pb_gutters3 .et_pb_column_1_2.et_pb_column .et_pb_tabs .et_pb_tab,
  .et_pb_gutters3 > .et_pb_column_1_2.et_pb_column .et_pb_tabs,
  .et_pb_gutters3 > .et_pb_column_1_2.et_pb_column .et_pb_tabs .et_pb_tab {
    margin-bottom: 0;
  }
}

@media (min-width: 981px) {
  .tth-daytrips-tabs .et_pb_tabs,
  .tth-daytrips-tabs .et_pb_tabs .et_pb_tab {
    margin-bottom: 0;
  }
}

/* GeoDirectory: hide (City) label in location dropdown */
.geodir-location-search,
.geodir-search-field,
.dropdown-menu {
}

/* Hide small location type labels */
.geodir-location-type,
.geodir-location-term small,
.geodir-location-term span {
  display: none !important;
}

/* Hide city labels visually */
.geodir-search-results small {
  display: none !important;
}

/* Divi 5 footer menu: force one link per line */
.footer-stack ul,
.footer-stack li {
  display: block !important;
}

.footer-stack li {
  margin: 0 0 6px 0;
}

.footer-stack a {
  display: block;
  line-height: 1.6;
}

.tth-settings-link {
  float: right;
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  font-weight: 600;
}

/* =========================================
   TTH Traveller Dashboard – Final Styling
   Matches native UsersWP cards
========================================= */

/* Grid layout */
.tth-dash-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.tth-dash-col {
  flex: 1 1 calc(50% - 20px);
  min-width: 360px;
}

.tth-dash-col--full {
  flex: 1 1 100%;
}

/* Card */
.tth-dash-card {
  background: #fff;
  border: 1px solid #111;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 2px 2px 0px 0px #000000;
}

/* Card header */
.tth-dash-card__head {
  background: #fff;
  border-bottom: 2px solid #111;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
}

/* Card body */
.tth-dash-card__body {
  padding: 12px 14px;
}

/* Rows */
.tth-dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.tth-dash-row:last-child {
  border-bottom: none;
}

/* Titles */
.tth-dash-title a {
  text-decoration: none;
  color: #1359c1;
}

.tth-dash-title a:hover {
  text-decoration: underline;
}

/* Date */
.tth-dash-date {
  opacity: .65;
  font-size: 12px;
  white-space: nowrap;
}

/* Footer link */
.tth-dash-footer {
  padding-top: 10px;
}

.tth-dash-footer a {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: #1359c1;
}

.tth-dash-footer a:hover {
  text-decoration: underline;
}

/* Lock icon */
.tth-dash-lock {
  margin-left: 6px;
  font-size: 12px;
  opacity: .6;
}

/* TEMP: prove duplication is the hidden original carousel copy */
.geodir-posts-carousel .carousel-inner-original{
  display:none !important;
}

@media (min-width: 981px){

  .tth-scroll-list {
    max-height: calc(80vh - 0px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px; /* prevents scrollbar overlap */
  }

}

/* ============================================================
   GETYOURGUIDE WIDGET
   ============================================================ */

.tth-gyg-widget {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.tth-gyg-city-widgets {
    margin-top: 1rem;
}

.tth-gyg-pills,
.tth-gyg-pills li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Pills container */
.tth-gyg-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 1rem !important;
}

/* Mobile: horizontal scrolling pills */
@media (max-width: 767px) {

    .tth-gyg-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px !important;
        scroll-snap-type: x proximity;
    }

    .tth-gyg-pills li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .tth-gyg-pills::-webkit-scrollbar {
        height: 6px;
    }
}

.tth-gyg-pills .nav-link {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #000000;
    background-color: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.2;
    transition: background-color 0.15s ease,
                color 0.15s ease,
                transform 0.1s ease;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
    white-space: nowrap;
}

.tth-gyg-pills .nav-link:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-1px);
}

.tth-gyg-pills .nav-link.active {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Mobile destination selector */
.tth-gyg-select-wrap {
    margin: 0 0 1rem 0;
    display: none;
}

.tth-gyg-select {
    width: 100%;
    max-width: 420px;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
    background: #ffffff;
}

/* Widget frame */
.tth-gyg-frame-wrap {
    border: 1px solid #000000;
    border-radius: 10px;
    box-shadow: 2px 2px 0 0 #000000;
    background: #ffffff;
    padding: 20px;
}

/* View all button */
.tth-gyg-viewall {
    display: inline-block;
    margin-top: 14px;
    padding: 0.55rem 1rem;
    border: 1px solid #000000;
    border-radius: 10px;
    background: #ffffff;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    line-height: 1.2;
    transition: transform 0.1s ease,
                background-color 0.15s ease,
                color 0.15s ease;
}

.tth-gyg-viewall:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ============================================================
   12GO TRANSPORT WIDGET
   ============================================================ */

.tth-transport-widget {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.tth-transport-text {
    margin: 0 0 0.75rem 0;
}

.tth-transport-pills,
.tth-transport-pills li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tth-transport-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 1rem !important;
}

/* Mobile: horizontal scrolling pills */
@media (max-width: 767px) {

    .tth-transport-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px !important;
        scroll-snap-type: x proximity;
    }

    .tth-transport-pills li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .tth-transport-pills::-webkit-scrollbar {
        height: 6px;
    }
}

.tth-transport-pills .nav-link {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #000000;
    background-color: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.2;
    transition: background-color 0.15s ease,
                color 0.15s ease,
                transform 0.1s ease;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
    white-space: nowrap;
}

.tth-transport-pills .nav-link:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-1px);
}

.tth-transport-pills .nav-link.active {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Mobile destination selector */
.tth-transport-select-wrap {
    margin: 0 0 1rem 0;
    display: none;
}

.tth-transport-select {
    width: 100%;
    max-width: 420px;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
    background: #ffffff;
}

.tth-transport-city-widgets {
    margin-top: 0.5rem;
}

.tth-transport-city-widget.is-empty {
    min-height: 180px;
}