/* ========================================
   Custom Styles for Dragon Lore Tours Theme
   Author: Your Name, Date: YYYY-MM-DD
   Note: Styles for site-header and header elements
   ======================================== */

/* OVERRIDE PLUGIN CSS */

button#scroll-to-top.scroll-to-top {
    background-color: transparent !important;
    color: var(--button-border-color) !important;
}

/* CONSENT */
.cky-preference-header .cky-btn-close {background-color: white !important; }
.cky-preference-header .cky-btn-close img {height: 15px; width: 15px;}

/* HOME PAGE */
.page-id-15 #hero.section {margin-bottom: 0px !important;}
.page-id-15 #trusted-by.section {/*margin-bottom: 0px !important;*/ height:  8.5rem;}
.page-id-15 #trusted-by.section h1 {text-align: center;}
.page-id-15 .section.text-image-block {margin-bottom: 2rem;}
.page-id-15 .section.text-image-block .main-text {margin-bottom: 2rem;}


/* METASLIDER */
#metaslider-id-7672 .flexslider .flex-direction-nav li a {
   /* background: var(--color-accent) !important;*/
}
.metaslider-flex .slides .caption-wrap { display: none; }


/* ABOUT */
.page-id-40 .section h2 {margin-bottom: 0.5rem;}


.post-grid h3 {margin: 0.4rem 0.2rem;}
.post-grid h3 a {font-size: 1.2rem; line-height: 1rem; }

.fas {color: var(--color-accent)}
.wprevpro .indrevdiv {
   line-height: var(  --line-height-base) !important; 
}
/* REVIEWS */
.page-id-1833 p {margin: 0rem 0rem 0 0rem;}
#what-our-customers-are-saying {
   color: var(--color-accent);
  display: inline-block;
  margin: 1rem 0 1rem 0;
  vertical-align: middle;
}
a#post-review {float: right;}
a.link-to-button  {
   background-color: var(--color-accent);
   color: #fff;
   padding: 1rem 1.5rem ;
   border-radius: 5px;
   text-decoration: none;
   font-weight: bold;
}


.page-id-1833 .review-link {
  float: right;
  vertical-align: middle;
}


/* Toggles (Accordion) */
.dlt-toggle {
  padding: 0.5em 1em;
  background: #f9fafd;
  border-radius: 7px;
  box-shadow: 0 2px 10px 0 rgba(20, 40, 160, 0.05);
  margin-bottom: 1rem;
  width: 95%;
}

.dlt-toggle-title {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
  outline: none;
  font-weight: var(--font-weight-semi-bold) !important; 
}
.narratives .dlt-toggle-title .fas-title {font-size: 1.4rem; padding: 0rem 0.25rem;}

.dlt-toggle.open .dlt-toggle-content {
  /* JS sets max-height dynamically */
  /* padding can be applied here for open if desired */
}

.dlt-toggle-content-inside {
  padding: 1rem 1rem 0rem 0rem;
}
.dlt-more-info-toggles .section .section--container {
  padding: 0 0rem !important; 
}

/* Extras */
.dlt-extras {
  min-height: 140px;
  box-shadow: 0 2px 12px 0 rgba(50,60,100,0.04);
}

.dlt-toggle-item {margin-bottom: var(--space-xsm);}

.dltm-toggle-title {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  padding: 0.5em 0;
}

.dlt-toggle-icon {
  margin-right: 1em;
  font-size: 1.1em;
  min-width: 1.5em;
  color: #1e3272;
}
.dlt-toggle-content {
  display: none;
  width: 100%;
  box-sizing: border-box;
}
.dlt-toggle.open > .dlt-toggle-content {
  /* No need to set display here, handled by JS */
}



/* Expanded */
.dlt-toggle-item.open .custom-toggle-content {
  /*max-height: 1000px; */ /* Pick a value that fits your content */
}



/* TOUR PAGE */
#single-tour .dlt-image-col {
   /*&padding-right: var(--space-md);*/
}
/* Flex rows */

.dlt-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.toggles .dlt-flex { gap: 0.5rem;}

.dlt-half {
  flex: 1 1 0;  /* Not width: 50%; */
  min-width: 0; /* Prevents overflow from content/images */
  box-sizing: border-box;
  padding: 0;
}

#single-oracle .dlt-text-col {
    max-height: 37rem;
    min-height: 25rem;
    overflow-y: auto;
    padding: 0.5rem;
    border-radius: 2px;
        background: transparent;
}

.dlt-full {
  width: 100%;
  text-align: center;
}

/* Title and Descriptions */
.dlt-title {
  font-size: 2.2rem;
  margin-bottom: 0.6em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.dlt-desc {
  font-size: 1.12rem;
  color: #444;
}

.dlt-image-col img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 14px 2px rgba(40,60,140,0.04);
}

/* Info List & Icons */
.dlt-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dlt-info-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}


.dlt-half.dlt-info-icons {
  margin: auto 0; text-align: center;

}
.dlt-half.dlt-info-icons .fas {

  font-size: 5rem;
  margin: 0rem 2rem;
  text-align: center; 
}


.dlt-info-list i {
  margin-right: 1em;
  min-width: 1.4em;
  text-align: center;
}

.dlt-info-icons {
  display: flex;
  align-items: start;
  justify-content: flex-start;
}
.dlt-info-icons i {
}

/* Subtitle row */
.dlt-subtitle {
  font-size: 1.2em;
  margin: 0.0em 0;
  font-weight: 500;
}

/* Buttons Row */
.dlt-button-row {
  justify-content: center;
  gap: var(--space-xl);
}

.dlt-btn {}


.dlt-btn:hover {
}
div.dlt-btn {
  max-width: 7rem;
  margin: 0 auto;
}

.dlt-top-booknow {position: absolute;overflow: visible;max-width: 970px; width: 970px; margin: 0 auto;}

#single-tour-book-1 {
  position: relative; 
  top: -2.2rem;  /* Set to 0 or a positive value */
  right: -18rem;
  z-index: 200; 
  width:  0 auto; /* Optional: set width as needed */
}

.dlt-icon {
    color: var(--color-accent);
    border-color: var(--color-accent);
    display: inline-block;
    line-height: 1;
    transition: all 0.3s;
    color: #69727D;
    font-size: 50px;
    text-align: center;
}


/* Responsive / mobile*/
@media (max-width: 800px) {
  .dlt-flex,
  .section--container.dlt-flex {
    flex-direction: column;
    gap: 0;
  }
  .dlt-half {
    width: 100%;
    padding: 0.5rem 0;
  }
  .dlt-info-icons {
    justify-content: flex-start;
    margin-top: 1.2em;
  }
  #single-tour .dlt-image-col {/*padding: 0 0 0 var(--space-md); */}

  #metaslider-id-7672.metaslider  .flex-viewport {height:  190px}


}


.wp-reviews-slider .slides, 
.wp-reviews-slider .slider {
  transform: none !important;
}



/* Responsive */
@media (max-width: 1024px) {
  .dlt-flex,
  .section--container.dlt-flex {
    flex-direction: column;
    gap: 0;
  }
  .dlt-half {
    width: 100%;
    padding: 0.5rem 0;
  }
  .dlt-info-icons {
    justify-content: flex-start;
    margin-top: 1.2em;
  }
  #single-tour .dlt-image-col {/*padding: 0 0 0 var(--space-md); */}
}


.wp-reviews-slider .slides, 
.wp-reviews-slider .slider {
  transform: none !important;
}


/* SCRIPT FOR GUIDE */
.page-id-8649 .point-focus {font-weight: bold;}
.page-id-8649 header,
.page-id-8649 .site-header,
.page-id-8649 .site-footer,
.page-id-8649 footer,
.page-id-8649 .dlt-footer-review {
  display: none !important;
}

.page-id-8649 .dlt-toggle-content-inside a.dlt-toggle-title {color: #642087;}

/* Optional: remove content top/bottom padding if theme adds it */
.page-id-8649 .site-main,
.page-id-8649 #content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.page-id-8649 .dlt-toggle {
  padding: .2em 0em 0em 0em;
  margin-bottom: 0.5rem; 
  margin-top: 0.5rem
}

.page-id-8649 .dlt-toggle-content-inside {
  padding: 0.3rem 1rem 0rem 1rem;
}

.page-id-8649 .narrative-summary {
  font-weight: bold;
  font-size: 80%;
  color: #444;
  margin-top: 5px;
  text-transform: uppercase
}

.page-id-8649 p {padding-top: 7px;}

/* POST TOUR */
.page-id-8653 .narrative-image {float: left; padding-right: 1rem;}
.page-id-8653 h4 {margin-bottom: 0.5rem;}
.text-image-no-style h2 {margin-bottom: 1rem;}

.post-tour-menu {
  margin: 0rem 0;
}


/* POST TOUR MENU */
.post-tour-menu {
  margin: 0rem 0;
}

.post-tour-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;          /* lets items wrap on small screens */
  gap: 0.5rem;              /* space between items */
}

.post-tour-menu li {
  margin: 0;
}

.post-tour-menu a {
 display: block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;     /* pill shape */
  border:  1px solid grey;
  background-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;      /* keeps each item on one line */
  font-weight: bold;
}

.post-tour-menu a:hover,
.post-tour-menu a:focus {
  background-color: var(--color-accent-hover);
}

.post-tour-menu li.is-active a {
  background-color: var(--color-accent-hover);
  color: #fff;
}
.nearby-location {margin-bottom: 1.5rem;}

.post-tour-menu {padding-top: 0.0rem; padding-bottom: 0.5rem;}

.share-title {  
  font-size: var(--font-size-h4); 
  color: var(--color-primary);
  font-family: "Raleway Regular";
  margin: 0px;
  letter-spacing: 0.065rem;
  font-weight: bold;
}


.post-tour-share {margin: 2rem 0rem;} 
.share-channels {margin-top: 0rem;}
.share-channels .fab, .share-channels .fa.fa-envelope  {font-size: 2rem; margin-top: 1rem; margin-right: 1rem;}
.post-tour-wrapper .stop.section img {background-color:greenf; float: left; padding-right: 1rem;}


.payment-option {margin-bottom: 1rem;} 
.post-tour-wrapper section#dlt-page-header h2 {margin: 1rem 1rem 1rem 0rem;}
.post-tour-wrapper h2 {margin: 0rem 0rem 0.5rem 0rem;}
.self-guide .post-tour-wrapper h2 {margin: 0rem 1rem 0.75rem 0rem;}

.self-guide .dlt-toggle-title {
    font-weight: bold !important;
    color: var(--color-accent-hover);
}
.self-guide .dlt-toggle.open .dlt-toggle-content a{
  /* JS sets max-height dynamically */
  /* padding can be applied here for open if desired */
    color: var(--color-accent);
  font-size: 95%;
}

.post-tour--self_guide .selfguide-icon--directions {float: left; font-size: 2.6rem; margin: 0.5rem 0.75rem 0rem 0rem;}
.post-tour--self_guide .top-section .dlt-toggle {margin-bottom: 0rem;}
.post-tour--self_guide .top-section .stop-narrative-list .dlt-toggle   {margin-bottom: 1rem;}

.post-tour-content .text-image-no-style {margin-bottom : 1rem;}

.post-tour-wrapper h4 {clear: both; padding: 1rem 0 .25rem 0; margin: 1rem 0rem 1rem 0rem; font-weight: bold; color: #333;}

.post-tour--review .wprevpro_form {margin: 1rem 0rem 1rem 0rem;  padding: 0.5rem 2rem 0.5rem 2rem; background-color: #f3f3f3;}
img.tour-qr-code {max-width:  400px;}

/* PARENT TOUR PAGE */
.parent-tour-sub-title {margin-bottom: 1rem;}

.dlt-btn {
   margin-left: 0.0rem;
   padding: 0.25rem 1rem !important;
   font-size: 75% !important;
}


.mode-children-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;    
    align-items: stretch;
}

.mode-child {
    box-sizing: border-box;
    padding: 1rem 0rem 1rem 0rem;
    display: flex;            /* make the child itself a flex container */
      /* three columns on desktop */
    flex: 1 1 calc(33.333% - 1rem);  /* subtract gap so they fit neatly [web:10] */
    display: flex;
}

@media (max-width: 768px) {
    .mode-child {
        width: 100%; /* 1 column on mobile */
    }
}


.mode__row {
    display: flex;
    flex: 1;
    flex-direction: column;    /* content stacks vertically [web:12] */
    gap: 0rem;
    background-color: #eeee;
    padding: 1.5rem;
    margin:  0.5rem 1rem 0.5rem 0rem;
    border: 2px solid var(--color-accent);
}


.mode__heading {
    margin: 0;
    padding: 0;
}

.mode__heading-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;      /* control space between icon and text */
}

.mode__heading-link i {
    flex: 0 0 0;
    font-size: 2.5em;
    line-height: 1;
    margin-right: 0.5rem;
}

.mode__languages {
    margin-top: 1rem;
}

.mode__languages ul {
    margin: 0.25rem 0 0;
    padding-left: 1.2rem;
}

.mode__title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mode__left {}


.location-info {margin-top: 1rem;}

.dlt-location-access, .how-to-find {clear: both;  margin: 0rem 0rem 0rem 0rem;  border:  1px solid grey; border-radius: 1rem; padding: 1rem 1rem 1rem 1rem; background-color: #e3e3e3;}
.dlt-location-access h4 {margin: 1rem 0rem 0rem 0rem; padding: 0rem;}
.dlt-location-access .dlt-location-address {margin: 0.25rem 0rem 0rem 0rem; padding: 0rem 0rem 0.5rem 0rem; color: #444; margin-bottom: 0.5rem;}
.dlt-location-access .dlt-location-directions-text {margin: 0.25rem 0rem 0rem 0rem; padding: 0rem;  color: #444; margin-bottom: 0.5rem;}
.dlt-location-access  .dlt-location-access__buttons {margin: 0.5rem 0rem; }
.dlt-location-access  .dlt-location-access__buttons .dlt-btn  {margin-right: 0.5rem; }

.stop-narrative {padding-top: 1rem;}

.self-guide-deeper {padding: 1rem;background-color: #e3e3e3; margin-bottom: 1rem; border:  1px solid grey; border-radius: 1rem;}
.self-guide-deeper .dlt-toggle { }

section.prev-next {text-align: center; margin-top: 1rem; padding-bottom: 2rem;}
.prev-next a {font-size: 1.2rem;font-weight: bold;}


.narrative-image-link {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    max-width: 120px;
    cursor: pointer;
    color: var(--color-accent) !important;

}

.narrative-image--thumb {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border:  2px solid var(--color-accent) !important;
}

.narrative-image-link:hover .narrative-image--thumb,
.narrative-image-link:focus .narrative-image--thumb {
    transform: scale(1.03);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

.narrative-image-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--color-accent) !important;
}






.narrative-summary-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.narrative-summary-image {
    flex: 0 0 auto;
    padding-right: 1.25rem;
    float: left;
}

.narrative-summary-image img {
    display: block;
    max-width: 120px;   /* or whatever */
    height: auto;
}


.narrative-summary-text {
    flex: 1 1 auto;
}

.narrative-summary-text .how-to-find {margin-bottom: 1rem; }
.narrative-summary-text .how-to-find .selfguide-icon--narrative {
    float: left;
    font-size: 1.4rem;
    padding: 0.25rem .5rem .5rem 0rem;
}

.narrative-overview {font-size: 90%; padding: 0rem 1rem;}
.narrative-overview span {font-weight: bold; font-size: 90%;}

.narrative-summary {margin-bottom: 1rem;}

/* Optional: stack on very small screens */
@media (max-width: 480px) {
    .narrative-summary-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.narrative-summary .point-audio {padding-top: 1rem; clear: both; text-align:center;}

.post-tour-content {margin-top: 1rem;}
.point-image {float: left; padding-right: 2rem; padding-bottom: 1rem;}


/* Mobile: ≤800px */
@media (max-width: 800px) {
    .selectdiv select {font-size: 1.1rem; padding: 0.5rem 0.5rem;}
}





#magic-login-register .registration_result .error,
#magic-login-register .registration_result .info,
#magic-login-register .registration_result .success,
#magic-login-shortcode #login_error,
#magic-login-shortcode .message,#magic-login-shortcode .success {
    border-left: 4px solid lightgrey !important;
}
#magic-login-shortcode {width: auto !important;}
.dlt-login-block, #change-password { border:  1px solid grey; border-radius: 1rem; padding: 2rem; margin-bottom: 1rem; }
.dlt-login-block input {width: 95%;}
.dlt-login-block .login-remember input {width: auto;}


.post-tour--profile {padding: 1rem;}