/*
Theme Name: TravelTour Child
Theme URI: http://timorleste.com.au
Description: A child theme for the TravelTour theme.
Author: Ryan Lee
Author URI: http://timorleste.com.au
Template: traveltour
Version: 1.0
*/

/* MANDATORY GROUP STYLING */

/** Adjust intro copy title font **/
.page-intro-title h2.gdlr-core-title-item-title.gdlr-core-skin-title
{
	font-size: 2rem !important;
	text-transform: Capitalize !important;
}

@media (max-width:768px) {
	.page-intro-title h2.gdlr-core-title-item-title.gdlr-core-skin-title {
		font-size: 1.5rem !important;
	}
}

/* MEASURES TAKEN TO IMPROVE ACCESIBILITY */


/* Search input placeholder text */
.tourmaster-tour-search-field-inner input::placeholder {
  color: #333 !important; /* darker placeholder text */
}

/* Touch Targets Too Small */

.flex-control-nav li a {
  min-width: 1em;
  min-height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Newsletter / Buttons Contrast */

.wpcf7-form-control.wpcf7-submit {
  background-color: #222222 !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 12px 24px;
}

.page-id-5225 .gdlr-core-page-builder-body [data-skin="orange"] input[type="button"], .gdlr-core-page-builder-body [data-skin="orange"] input[type="submit"] {
  background-color: #f97150 !important;
  color: white !important;
}


/** Override and set global heading sizes **/

/* === Global Heading Font Sizes === */
h1 {
  font-size: 3.375rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.25rem;
}

h4, .traveltour-page-caption  {
  font-size: 1rem;
}

h5 {
  font-size: 0.75rem;
}



@media screen and (max-width: 767px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  h5 {
    font-size: 1rem;
  }
}


/* Custom Fonts */

#home-popular-tours .tourmaster-tour-title.gdlr-core-skin-title span,
#tour-destinations-list h3.tourmaster-tour-category-title a,
#tour-categories-list h3.tourmaster-tour-category-title a {
	font-size: 1rem !important;
}

#discount-section #discounts-on-selected-tours-title h2 {
	font-size: 1.75rem !important;
}

/* Hide space underneath the header */

.traveltour-content-area.traveltour-item-pdlr.traveltour-sidebar-style-none.clearfix {
	display: none !important;
}


/* FLOATING EDGE BUTTON - VERTICAL STYLE */
.search-tours-floating-btn {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left top;
    background-color: #f97150;
    color: white;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 0;
    z-index: 999999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: none;
}



/* Show only on mobile */
@media (max-width: 768px) {
    .search-tours-floating-btn {
        display: block;
    }

    .tourmaster-tour-search-wrap.tourmaster-with-frame {
        position: fixed;
        top: 0px; /* push down to avoid sticky header */
        left: -100%;
        width: 80%;
        height: 100%;
        background-color: #fff;
        z-index: 99999;
        overflow-y: auto;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease-in-out;
		margin-top: 0 !important;
    }

    body.sidebar-visible .tourmaster-tour-search-wrap.tourmaster-with-frame {
        left: 0;
    }

    .sidebar-close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: #f97150;
        color: white;
        border: none;
        padding: 6px 12px;
        border-radius: 3px;
        font-size: 16px;
        z-index: 100000;
    }
}

body:not(.page-id-4858) .search-tours-floating-btn {
  display: none !important;
}

/* Hide everything on desktop */
@media (min-width: 769px) {
    .search-tours-floating-btn,
    .tourmaster-tour-search-wrap.tourmaster-with-frame .sidebar-close-btn {
        display: none !important;
    }

    .tourmaster-tour-search-wrap.tourmaster-with-frame {
        position: static !important;
        height: auto !important;
        left: auto !important;
    }
}

/* Disable background scroll */
body.no-scroll {
    overflow: hidden;
}

/* Ensure the floating button is visible by default */
#search-tours-toggle {
    display: block;
}


/* === Hide decorative sections in mobile view === */

@media screen and (max-width: 767px) {
	.page-id-6280 .gdlr-core-pbf-column.gdlr-core-column-35,
 	.page-id-4860 .gdlr-core-pbf-column.gdlr-core-column-36,
 	.page-id-5225 .gdlr-core-pbf-column.gdlr-core-column-20:nth-of-type(1),
	.page-id-5225 .gdlr-core-pbf-column.gdlr-core-column-20:nth-of-type(3),
	.page-id-5225 .gdlr-core-pbf-column.gdlr-core-column-36,
	#gdlr-core-column-2,
	.traveltour-mobile-menu-right .tourmaster-user-top-bar.tourmaster-user.tourmaster-refresh.tourmaster-style-1,
	.tourmaster-user-top-bar-signup,
	.tourmaster-currency-switcher {
		display: none !important;
	}
}

/* === Show and place login and profile at the top right corner === */

@media screen and (max-width: 767px) {
  .tourmaster-user-top-bar.tourmaster-user.tourmaster-refresh.tourmaster-style-1,
   .tourmaster-user-top-bar.tourmaster-guest.tourmaster-style-1 {
    position: absolute;
    top: 0px;
    right: 10px;
    z-index: 9999;
  }
}

/* Remove text shadow on elements */

.gdlr-core-blog-info.gdlr-core-blog-info-font.gdlr-core-skin-caption.gdlr-core-blog-info-date {
  text-shadow: none !important;
}

/* Remove border radius on elements */

#home-popular-tours .tourmaster-tour-grid-style-3 .tourmaster-tour-content-wrap .tourmaster-thumbnail-ribbon,
.page-id-4858 .tourmaster-thumbnail-ribbon.gdlr-core-outer-frame-element {
	border-radius: 0px !important;
}


/* Apply border radius on different elements */

.tourmaster-media-image,
.tourmaster-tour-category-count,
.tourmaster-tour-category-overlay,
.tourmaster-tour-category-overlay-front,
.gdlr-core-button-no-border,
.flex-next,
.flex-prev,
.submit,
.gdlr-core-personnel-list-image.gdlr-core-media-image.gdlr-core-hover-element.gdlr-core-zoom-on-hover,
.wpcf7-form-control,
.gdlr-core-column-service-media.gdlr-core-media-image,
.tag-cloud-link,
.gdlr-core-gallery-itemgdlr-core-item-pdb,
.newsletter-email.gdlr-core-skin-e-background.gdlr-core-skin-e-content,
.gdlr-core-newsletter-submit,
.tnp-email,
.tnp-submit,
.traveltour-single-article-thumbnail.traveltour-media-image img,
.wp-block-image.size-large img,
.wp-block-button__link.has-white-color.has-luminous-vivid-orange-background-color.has-text-color.has-background.has-link-color.wp-element-button,
.gdlr-core-blog-thumbnail.gdlr-core-media-image.gdlr-core-opacity-on-hover.gdlr-core-zoom-on-hover img,
.gdlr-core-blog-thumbnail.gdlr-core-media-image.gdlr-core-opacity-on-hover.gdlr-core-zoom-on-hover,
.gdlr-core-post-slider-widget.gdlr-core-media-image.clearfix,
.gdlr-core-post-slider-widget.gdlr-core-media-image.clearfix img,
.tourmaster-thumbnail-ribbon.gdlr-core-outer-frame-element,
.gdlr-core-excerpt-read-more.gdlr-core-button.gdlr-core-rectangle,
.tourmaster-tour-order-filterer-wrap.tourmaster-item-mglr.clearfix,
.gdlr-core-testimonial-frame.clearfix.gdlr-core-skin-e-background,
.gdlr-core-outer-frame-element,
.tourmaster-currency-switcher,
select[name="month"],
.tourmaster-datepicker.hasDatepicker,
.tourmaster-tour-grid-inner,
#comment,
#author,
#url,
#email,
#tourmaster-tour-search-widget-4 * {
  border-radius: 3px !important;
}

@media screen and (max-width: 767px) {
	.page-id-4860 .gdlr-core-pbf-background-wrap, .page-id-6280 .gdlr-core-pbf-background-wrap {
		border-radius: 3px !important;
	}
}

/* Restore border radius on chatbot */

.weconnect_trigger_button {
  border-radius: 50% !important;
}


/* Font size for search all tour CTA buttons mobile view */

@media screen and (max-width: 767px) {
	.gdlr-core-content {
		font-size: 1rem !important;
	}
}

/* HEADER */

/* Fix menu alignment on the header */
#menu-main-navigation-1 {
	margin-top: 0px !important;
}


/* Style the currency switcher */

.tourmaster-currency-switcher {
  border: 1px solid #f97150;
  padding: 4px 12px 8px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  background-color: #f97150;
  color: #fff !important;
  font-size: 14px;
}

.tourmaster-currency-switcher .fa-sort-down {
  margin-left: 5px;
}

.tourmaster-currency-switcher-inner {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  width: 100%;
  z-index: 999;
  display: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tourmaster-currency-switcher:hover .tourmaster-currency-switcher-inner {
  display: block;
}

.tourmaster-currency-switcher-content ul {
  list-style: none;
  margin: 0;
  padding: 5px 0;
}

.tourmaster-currency-switcher-content li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s ease;
}

.tourmaster-currency-switcher-content li a:hover {
  background-color: #333333;
  color: #ffffff;
}

/* Add space between the avatar and the profile name */

@media screen and (max-width: 767px) {
	.tourmaster-user-top-bar-name {
		padding-left: 0.75em !important;
	}
}

/* Apply text shadow on all of the h1 */

h1 {
	color: #fff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
}

/* HOMEPAGE */

/* Adjust the size of the ocons on the value proposition section i.e., section that partially overlaps the hero section - homepage */

.page-id-5225 #value-prop-section .gdlr-core-column-service-media.gdlr-core-media-image img {
	max-width: 45% !important;
	padding-top: 10px !important;
	margin-left: 34px !important;
}

.page-id-5225 #value-prop-section .gdlr-core-column-service-media.gdlr-core-media-image {
	margin: 0 !important;
}

/* Make all popular tours tour titles have equal height spans title - homepage

@media (min-width:1024px) {
.tourmaster-tour-title a {
  display: flex;
  align-items: flex-start;
  justify-content: start;
}

.tourmaster-tour-title a span {
  display: block;
  min-height: 64px;
  line-height: 1.3em;
  overflow: hidden;
}

/* Ensures all titles align nicely, even with different text lengths
.tourmaster-tour-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; 
}
}*/


/* Adjust heading of the section section - homepage */

.page-id-5225 #value-prop-section .gdlr-core-column-service-title.gdlr-core-skin-title {
	font-size: 1.125rem !important;
}

/* Apply color on discont section - homepage */

#discount-section p {
	color: white !important;
}


/*Remove botton border radii on the popular tour cards - homepage */

#home-popular-tours div.tourmaster-tour-thumbnail.tourmaster-media-image {
	border-radius: 3px 3px 0 0 !important;
}

/* Align the hero title to the center - homepage */

@media screen and (min-width: 1024px) {
	#hero-title h1 {
			margin-right: 10px !important;
	}
}

/* Make the tour detination and categories carousel dots  mobile responsive - homepage  */

@media screen and (max-width: 768px) {
	#tour-categories-list a, #tour-destinations-list a {
    font-size: 0.8rem !important;
	}
}

/* Tour category list fix  - homepage */
.page-id-5225 #browse-by-tour-cateogry-list .gdlr-core-icon-list-item ul li a .gdlr-core-icon-list-content {
    color: #000 !important;
}

.page-id-5225 #browse-by-tour-cateogry-list .gdlr-core-icon-list-item ul li a .gdlr-core-icon-list-content:hover {
    color: #f97150 !important;
}


/* Add orange left border instead of background - homepage */
.page-id-5225 #browse-by-tour-cateogry-list .gdlr-core-icon-list-item ul li {
    border-left: 2px solid #f97150 !important;
    padding: 10px 0 10px 5px;
    background: #f9f9f9 !important;
	border-radius: 3px;
	margin-right: 20px !important;
}

/* Remove left padding on the browse by tour category list - homepage */

.page-id-5225 #browse-by-tour-cateogry-list .gdlr-core-icon-list-item.gdlr-core-item-pdlr.gdlr-core-item-pdb.clearfix.gdlr-core-left-align.gdlr-core-style-1 ul {
	padding-left: 0px !important;
}

/* Fix the order of the faq subsections - homepage */

@media screen and (max-width: 767px) {
	#faq-section .gdlr-core-pbf-wrapper-container.clearfix.gdlr-core-container {
		display: flex !important;
		flex-direction: column;
	}
	#faq-section .gdlr-core-pbf-element:nth-of-type(1) {
		order: 1 !important;
	}
	#faq-section .gdlr-core-pbf-element:nth-of-type(2) {
		order: 2 !important;
	}
	#faq-section .gdlr-core-pbf-element:nth-of-type(3) {
		order: 3 !important;
	}
} 

/* Add padding on top of the social media icons - homepage */

.page-id-5225
.gdlr-core-social-network-item.gdlr-core-item-pdb.gdlr-core-left-align.gdlr-core-item-pdlr.social-icons.gdlr-direction-horizontal a {
    border: 1px solid #AAAAAA; /* Replace with your preferred color */
    border-radius: 999px;
    padding: .5rem 1.2rem;
    display: inline-block;
	margin-top: 20px !important;
    margin-right: 8px; /* Adjust spacing if needed */
}

.page-id-5225
.gdlr-core-social-network-item.gdlr-core-item-pdb.gdlr-core-left-align.gdlr-core-item-pdlr.social-icons.gdlr-direction-horizontal a:nth-of-type(2), .page-id-5225
.gdlr-core-social-network-item.gdlr-core-item-pdb.gdlr-core-left-align.gdlr-core-item-pdlr.social-icons.gdlr-direction-horizontal a:nth-of-type(3) {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

/* Optional: Hover effect */
.gdlr-core-social-network-item.gdlr-core-item-pdb.gdlr-core-left-align.gdlr-core-item-pdlr.social-icons.gdlr-direction-horizontal a:hover {
    transform: scale(1.1);
}


/* Add bottom padding on the popular tours cards - Homepage */

.page-id-5225 .tourmaster-tour-grid-inner {
	padding-bottom: 20px !important;
}
/* Apply box shadow on the popular tour cards - homepage */

.page-id-5225 .tourmaster-tour-grid.tourmaster-tour-grid-style-3.tourmaster-price-right-title {
	  border-radius: 0 0 3px 3px !important;
	  box-shadow: 0 0 25px rgba(10, 10, 10, 0.08);
}

.page-id-5225 .tourmaster-tour-grid-inner .tourmaster-tour-content-wrap {
	padding: 1em 1em 2em 1em !important;
	
} 

/* Make the search and title containers swap places - mobile view */

@media screen and (max-width:767px) {
	.page-id-5225 #hero-section-homepage .gdlr-core-pbf-column-content.clearfix.gdlr-core-js {
		display: flex !important;
		flex-direction: column;
	}
	#hero-section-homepage .gdlr-core-pbf-element:first-of-type {
		order: 2 !important;
	}
	#hero-section-homepage .gdlr-core-pbf-element:last-of-type {
		order: 1 !important;
	}

}

/* Override the dark font color applied on the hero heeading and the div content on the 2nd section and change it to white - Homepage */
.page-id-5225 h1.gdlr-core-title-item-title.gdlr-core-skin-title, .page-id-5225 div.gdlr-core-column-service-content p {
	color: white !important;
}

/* Set container width in order to properly fit the slides inside the content box width - homepage */
@media screen and (min-width:1024px){
	.page-id-5225 #blog-slides li.gdlr-core-item-mglr.flex-with-active-class.flex-active-slide {
	width: 370px !important;
}

.page-id-5225 #testimonial-section li.gdlr-core-item-mglr.flex-with-active-class.flex-active-slide {
	width: 370px !important;
}

.page-id-5225 #tour-destinations-list li.gdlr-core-item-mglr.flex-with-active-class.flex-active-slide {
	width: 268px !important;
	}
}


/* Remove padding on the containers in the 2nd section - homepage */

@media screen and (max-width: 767px) {
	.page-id-5225 #value-prop-section .gdlr-core-column-service-item.gdlr-core-item-pdb.gdlr-core-left-align.gdlr-core-column-service-icon-left.gdlr-core-no-caption.gdlr-core-item-pdlr {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
} 

@media screen and (max-width: 767px) {
	.page-id-5225 #gdlr-core-column-1 {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/* Apply color to the hamburger menu - header */

.fa.fa-bars {
    color: #dddddd !important;
    border-color: #dddddd !important;
}

/*Remove white reduntant space underneath the container that contains the newsletter form - homepage */

 .page-id-5225 .gdlr-core-space-item.gdlr-core-item-pdlr {
  padding-top: 0px !important;
}

	

/* Enforce text styling on the subscribe section - homepage */

#subscribe-section strong {
	font-family: 'Marcellus', sans-serif !important;
	font-weight: 700 !important;
	color: #383838 !important;
}

#subscribe-section strong div span {
	font-family: 'Poppins', sans-serif !important;
}


/* Override the dark font color on the testimonial body text - Homepage */
.page-id-5225 .gdlr-core-testimonial-content.gdlr-core-info-font.gdlr-core-skin-content p {
	color: white !important;
}

/* Custom typography on the video highlight section - homepage */

#video-highlights-title {
	font-size: 2rem !important;
}
 

/* Set featured image frame and image height - homepage */

.page-id-5225 #blog-slides .gdlr-core-blog-modern-inner, 
.page-id-5225 #blog-slides .gdlr-core-blog-modern.gdlr-core-with-image.gdlr-core-opacity-on-hover.gdlr-core-zoom-on-hover.gdlr-core-style-1.gdlr-core-outer-frame-element {
	min-height: 450px !important;
}

/* ---------------------------
  Homepage blog tweaks (page 5225)
   - BLOG tag, 3-line excerpt, Read CTA
   - Always visible overlay content
--------------------------- */

/* Always show content overlay */
.page-id-5225 .gdlr-core-blog-modern-content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 20px;
  color: #fff !important;
  z-index: 3;
}

/* Dark overlay */
.page-id-5225 .gdlr-core-blog-modern-content-overlay,
.page-id-5225 .blog-thumbnail:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* adjust darkness */
  opacity: 1 !important;
  z-index: 2; /* under text, above image */
}

/* BLOG tag */
.page-id-5225 #blog-slides .gdlr-core-blog-modern::before {
  content: "BLOG";
  position: absolute;
  top: 16px;
  left: 16px;
  background: #f97150;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 4px;
  z-index: 4;
}

/* Title */
.page-id-5225 .gdlr-core-blog-title,
.page-id-5225 .gdlr-core-blog-title a {
  color: #fff !important;
  font-size: 1.25rem;
}

/* Meta info + icons */
.page-id-5225 .gdlr-core-blog-info-wrapper {
  color: #f1f1f1 !important;
  position: relative;
  z-index: 4;
}
.page-id-5225 .gdlr-core-blog-info i {
  color: #fff !important;
}

/* Clamp excerpt to 3 lines */
.page-id-5225 .gdlr-core-blog-content,
.page-id-5225 .gdlr-core-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f1f1f1 !important;
  font-size: 0.8rem;
}

/* CTA */
.page-id-5225 .custom-read-more {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  z-index: 4;
  position: relative;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.page-id-5225 .custom-read-more:hover {
	transition: scale(1.1);
	transition-duration: 0.3s;
	color: white !important;
}

/* 1) force uniform inner-frame height and make it a positioning parent */
#blog-slides .gdlr-core-blog-modern,
#blog-slides .gdlr-core-blog-modern-inner,
#blog-slides .slides .gdlr-core-item-mglr {
  min-height: 450px !important;
  height: auto !important;
  position: relative !important;
}

/* 2) make thumbnail fill the whole frame (so the img can cover it) */
#blog-slides .gdlr-core-blog-thumbnail {
  position: absolute !important;
  inset: 0 !important;            /* top:0; right:0; bottom:0; left:0 */
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

/* 3) ensure image covers the thumbnail area */
#blog-slides .gdlr-core-blog-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* END TEST */

/* Align elements on the social media section to the center - Homepage */

@media screen and (max-width: 767px) {
  .page-id-5225 .gdlr-core-social-network-item.gdlr-core-item-pdb.gdlr-core-left-align.gdlr-core-item-pdlr.gdlr-direction-horizontal,
	.page-id-5225 .gdlr-core-blog-title.gdlr-core-skin-title {
    text-align: left !important;
    justify-content: flex-start !important;
    display: flex !important;
    flex-wrap: wrap;
  }
}

/* Remove side paddings on faqs accordion wrapper - homepage */

div.accordion-wrapper {
	padding-left: 0px !important;
	padding-right: 0px !important;
}

/* Show essential FAQs only and hide the rest - homepage */

.page-id-5225 .accordion.main-acc {
	display: none;
}

.page-id-5225 .accordion.main-acc.essential {
	display: block;
}

/* Remove the left margin of the blog section on mobile view - homepage */

@media screen and (max-width:767px) {
	.page-id-5225 .gdlr-core-item-mglr.flex-with-active-class.flex-active-slide.gdlr-core-active {
		margin-left: 0px !important;
	}
}

/*  */

@media screen and (max-width:768px) {
	.gdlr-core-flexslider[data-type="carousel"] ul.slides > li.flex-with-active-class.flex-active-slide {
		margin: 0 !important;
	}
}

/* Hide links that show after the newsletter title - Homepage*/

@media screen and (max-width: 767px) {
	.page-id-5225 .gdlr-core-icon-list-item.gdlr-core-item-pdlr.gdlr-core-item-pdb.clearfix.gdlr-core-left-align.gdlr-core-style-1 {
		display: none !important;
	}
}

/* Remove left padding on the destinations & tour categories slides on mobile view - homepage */

@media (max-width: 768px) {
	.page-id-5225 ul.slides {
		padding-left: 0 !important;
	}
}

/* Align the carousel to the center - Home-v2 */
#home-popular-tours .flex-viewport .slides {
  display: inline-flex !important;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto !important;
  padding: 0;
  float: none !important;
  width: auto !important; /* Remove hardcoded wide width */
}
#home-popular-tours .flex-viewport {
  text-align: center;
}
#home-popular-tours .flex-viewport .slides > li {
  float: none !important;
}

/* Remove the extra space of the destination carousel to properly align it to the center - Home-v2 */

#home-popular-tours .slides li.gdlr-core-item-mglr.flex-with-active-class.flex-active-slide {
	margin-right: 0 !important;
}
/* Force equal height only on the content section - Home-v2 */
#home-popular-tours .tourmaster-tour-content {
  display: -webkit-box !important;
  -webkit-line-clamp: 3; /* Change this number to control how many lines show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Align the tag container on the popular tour cards to the left - Homepage */

@media screen and (min-width: 1024px) {
	#home-popular-tours .tourmaster-tour-grid-style-3 .tourmaster-tour-content-wrap .tourmaster-thumbnail-ribbon {
    top: -56px;
    left: 5% !important;
    transform: none !important;
    padding: 10px 17px;
    border-radius: 3px;
	}
}

/* Make the tag on the popular tours card responsive - home-v2 */

@media screen and (max-width:992px){
#home-popular-tours .tourmaster-thumbnail-ribbon.gdlr-core-outer-frame-element {
	width: 70% !important;
	text-align: center !important;
	}
}

/* Make the pricing on the popular cards responsive on mobile home-v2 */
@media screen and (max-width:767px){
#home-popular-tours span.tourmaster-tail {
	font-size: 1rem !important;
	}
}

/* Add space on the right side of the pricing on the popular tours card to align it with the content - homepage */

#home-popular-tours span.tourmaster-tour-price {
	margin-right: 20px !important;
}

/* Reduce the top and bottom space duration on the popular tour cards - home-v2 */

#home-popular-tours .tourmaster-tour-grid-inner div.tourmaster-tour-info-wrap.clearfix {
	margin-top: 10px !important;
	margin-bottom: 7.5px !important;
}

/* Make tour categories responsive on all devices - homepage */

.page-id-5225 #mobile-tour-categories-list {
		display: none !important;
	}

@media screen and (max-width:768px) {
	.page-id-5225 #tour-categories-list {
		display: none !important;
	}
	
	.page-id-5225 #mobile-tour-categories-list {
		display: block !important;
	}
}


/* Override dark font color applied on the popular tours excerpts - Homepage */
.page-id-5225 .tourmaster-tour-content, .page-id-5225 span.tourmaster-tour-rating-text {
	color: #9b9b9b !important;
}

.page-id-5225 .tourmaster-tour-content {
	font-weight: 400 !important;
}

/* === Popular Tours on the homepage === */
/* 1. Make each tour card an equal-height flex container */
#home-popular-tours .tourmaster-tour-grid-inner {
  display: flex;
  flex-direction: column; /* Stacks children (image, content) vertically */
  height: 100%;
}
/* 2. Turn the content area into a flex container as well */
#home-popular-tours .tourmaster-tour-content-wrap {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
/* 3. Make the description text expand to push other elements into place */

#home-popular-tours .tourmaster-tour-content {
  flex-grow: 1;
}
/* 4. Add spacing between the "duration" and "description" */
#home-popular-tours .tourmaster-tour-info-wrap {
  margin-bottom: 15px; /* Adjust the 15px value as needed */
}
/* 5. Set a consistent size for all tour images (using the padding-bottom hack) */
#home-popular-tours .tourmaster-tour-thumbnail {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}
#home-popular-tours .tourmaster-tour-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SEARCH TOUR */

/* Style tour search container - tour search */

@media screen and (max-width: 767px) {
	div.tourmaster-tour-content-wrap {
  height: auto !important;
  min-height: unset !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

	div.tourmaster-tour-rating {
		display: flex !important;
		flex-direction: row;
		width: 100% !important;
		justify-content: flex-start;
		margin-bottom: 2em !important;
	}

	div.tourmaster-tour-price-wrap {
		display: flex !important;
		flex-direction: column;
		width: 100% !important;
		justify-content: flex-end;
		margin-bottom: 1.5em !important;
	}

	.tourmaster-tour-grid-style-2.tourmaster-price-right-title.tourmaster-tour-frame .tourmaster-tour-price-wrap {
		bottom: 0px !important;
	}
}

/*  */

.page-id-4858 .gdlr-core-item-list.tourmaster-item-pdlr.tourmaster-column-30:nth-of-type(4) .tourmaster-thumbnail-ribbon.gdlr-core-outer-frame-element {
	background-color: #f97150 !important;
	color: white !important;
}

/* Make tour cards have the same height - search tour */

@media screen and (min-width: 1025px) {
  .page-id-4858 .tourmaster-item-pdlr {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .page-id-4858 .tourmaster-tour-grid {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
  }

  .page-id-4858 .tourmaster-tour-grid-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
	border-radius: 3px 3px 0 0 !important;
    -webkit-border-radius: 3px 3px 0 0 !important;
    -moz-border-radius: 3px 3px 0 0 !important;
  }

  .page-id-4858 .tourmaster-tour-content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
}

/* Adjust tour title font sizes - tour search */

.page-id-4858 h3.tourmaster-tour-title.gdlr-core-skin-title a span {
	font-size: 1.25rem !important;
}

/* Set border radius on img frame - search tour */

.page-id-4858 div.tourmaster-tour-thumbnail.tourmaster-media-image.gdlr-core-outer-frame-element {
	border-radius: 0px !important;
}

/* Apply a consistant aspect ration of 700px x 430px on image - tour search */

.page-id-4858
.tourmaster-tour-thumbnail
.tourmaster-media-image.gdlr-core-outer-frame-element img {
  width: 100%;
  max-width: 700px;
  height: auto;
  aspect-ratio: 700 / 430;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Reduce pagination gap - tour search */

.tourmaster-pagination {
	gap: .25px !important;
}

/* SINGLE TOURS - SEARCH TOURS */

/* Adjust font size of the price in related tours cards - single tours > search tours */

.single-tour
.gdlr-core-item-list.tourmaster-column-30 
.tourmaster-tour-grid.tourmaster-tour-grid-style-1.tourmaster-price-right-title 
.tourmaster-tour-price-wrap 
.tourmaster-tour-price .tourmaster-tail {
	font-size: 1rem;
}


/* TOUR CATEGORIES & DESTINATIONS*/


/* Reduce CTA button font size and padding on mobile - tour categories & destinations */

@media screen and (max-width: 767px) {
	.page-id-6280 .gdlr-core-button.gdlr-core-button-solid.gdlr-core-center-align.gdlr-core-button-no-border, .page-id-4860 .gdlr-core-button.gdlr-core-button-solid.gdlr-core-center-align.gdlr-core-button-no-border {
		font-size: 1rem !important;
		padding: 12px 22px !important;
	}
}

/* Make all the containers to share the same size, and increase the height so that the content can fit properly - tour categories & destinations */

@media screen and (max-width: 767px) {
  .tourmaster-tour-category-grid-3 .tourmaster-tour-category-item-wrap {
    height: 430px !important;
    position: relative;
    overflow: hidden;

  }

  .tourmaster-tour-category-grid-3 .tourmaster-tour-category-thumbnail {
    height: 100% !important;
  }

  .tourmaster-tour-category-grid-3 .tourmaster-tour-category-thumbnail img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }

  .tourmaster-tour-category-grid-3 .tourmaster-tour-category-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    overflow-y: auto;
    }
}

/* === DESTINATIONS === */

/* === TOUR CATEGORIES === */

/* Reduce left and right padding of the customers review containers - tour categories */

.page-id-6280 .gdlr-core-testimonial-item.gdlr-core-item-pdb.clearfix.gdlr-core-testimonial-style-left.gdlr-core-item-pdlr,
.page-id-6280 .gdlr-core-title-item.gdlr-core-item-pdb.clearfix.gdlr-core-left-align.gdlr-core-title-item-caption-bottom.gdlr-core-item-pdlr.page-intro-title {
	 padding-left: 0px !important;
	 padding-right: 0px !important;
}

/* Force all tour category cards to be equal width - tour categories*/

.page-id-6280 .tourmaster-tour-category {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-template-rows: repeat(2, auto) !important;   
  gap: 3em !important;
}

 .page-id-6280 .tourmaster-tour-category-thumbnail.tourmaster-media-image img, .page-id-6280 
.tourmaster-tour-category-grid-3.tourmaster-item-list.tourmaster-item-pdlr.tourmaster-item-mgb.tourmaster-column-40.tourmaster-column-first.tourmaster-with-thumbnail .tourmaster-tour-category-item-wrap {
	height: 100% !important;
}

 .page-id-6280 .tourmaster-tour-category .tourmaster-tour-category-grid-3 {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0px !important;
}

 .page-id-6280 .tourmaster-column-40 {
	height: 100% !important;
	width: 33.33% !important;
}


@media (max-width: 767px) {
 .page-id-6280 .tourmaster-tour-category {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
}


/* Ensure image inside the first grid card fills its container - tour categories */

 .page-id-6280 .tourmaster-tour-category-grid-3:first-of-type .tourmaster-tour-category-thumbnail {
  height: 100% !important;
}

.page-id-6280 .tourmaster-tour-category-grid-3:first-of-type .tourmaster-tour-category-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* TOUR AGENT */

/* Set the grid layout of the team members - tour agent */

@media (max-width:768px) {
	.page-id-6687 .tourmaster-tour-category.clearfix {
		grid-template-columns: 1fr !important;
    	grid-template-rows: auto !important;
	}
}


/* HOW TO BECOME AN PARTNER */

/* Style the steps that are represented in form of a timeline - how to become a partner */

    .timeline-heading {
      font-size: 1.5rem !important;
    }

    .timeline {
      position: relative;
      max-width: 1000px;
      margin: 50px auto;
      padding: 0 20px;
      overflow-x: hidden;
    }

    .timeline::after {
      content: '';
      position: absolute;
      width: 4px;
      background-color: #f97150;
      top: 0;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
    }

    .container {
      padding: 20px 30px;
      position: relative;
      background-color: inherit;
      width: 50%;
      box-sizing: border-box;
    }

    .left {
      left: 6%;
    }

    .right {
      left: 44%;
    }

    .content {
      background-color: #f4f4f4;
      padding: 20px 40px 40px 40px;
      border-radius: 3px;
      position: relative;
    }

    .timeline-icon {
      position: absolute;
      top: 20px;
      width: 40px;
      height: 40px;
      background-color: #f97150;
      color: white;
      border-radius: 50%;
      text-align: center;
      line-height: 40px;
      z-index: 1;
    }

    .left .timeline-icon {
      right: 40px;
      top: 115px;
    }

    .right .timeline-icon {

      left: 40px;
      top: 115px;
    }

    .right .content {
      margin-left: 30px;
    }

    .left .content {
      margin-right: 30px;
    }

    .cta-button {
      display: inline-block;
      margin-top: 15px;
      padding: 10px 20px;
      background-color: #f97150;
      color: white !important;
      text-decoration: none;
      border-radius: 3px;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .cta-button:hover {
      background-color: #e25b3d !important;
    }

    .page-id-6391 .gdlr-core-widget-item.gdlr-core-item-pdlr.gdlr-core-item-pdb {
  padding: 0 !important;

    }

    @media screen and (max-width: 768px) {
      .timeline {
        width: 100%;
        overflow-x: auto;
      }
		
      .timeline::after {
        left: 20px;
      }

      .container {
        width: 100%;
        padding-left: 1em !important;
        padding-right: 1em !important;
      }

      .left, .right {
        left: -20px;
      }

      .content {
        left: 5px;
        width: 100%;
      }

      .right .content,
      .left .content {
        margin: 0px;
      }

      .timeline-icon {
        left: 0;
        right: auto;
      }

      .right .timeline-icon, .left .timeline-icon {
      left: 0px;
      top: 140px;
      }

      .cta-button {
      font-size: .8rem !important;
      }
    }

div.timeline-icon, .weconnect-chat-widget {
	border-radius: 9999px !important;
}

/* Hide decorative image on section 4 - Become a partner */

@media screen and (max-width: 767px) {
	.page-id-6391 .gdlr-core-pbf-background.gdlr-core-parallax.gdlr-core-js {
		display: none !important;
	}
}

/* Remove top padding on 4th section - Become a partner */

@media screen and (max-width: 767px) {
	.page-id-6391 .gdlr-core-pbf-column-content-margin.gdlr-core-js.gdlr-core-column-extend-left {
		padding-top: 0px !important;
	}
}

/* WHAT TO INCLUDE & HOW PAYMENT WORKS */

@media screen and (min-width:768px) {
  .page-id-6858 h1.traveltour-page-title, .page-id-6848 h1.traveltour-page-title {
		word-break: break-word;
  		overflow-wrap: break-word;
  		white-space: normal;
	}
}


/* TRAVEL PARTNER LISTING GUIDE & CHECKLIST */


/* CONTACT US */

/* Contact form embedding - contact us*/

.custom-contact-form-container {
  background: #fff;
  padding: 3rem 2rem;
  max-width: 700px;
  max-height: 760px !important;
  margin: 3rem auto;
  border-radius: 3px;
  box-shadow: 0 0 25px rgba(10, 10, 10, 0.08);
  font-family: inherit;
}

.custom-contact-form-container h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}

.custom-contact-form-container .form-description {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
}

.custom-contact-form-container label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #333;
}

.custom-contact-form-container input[type="text"],
.custom-contact-form-container input[type="email"],
.custom-contact-form-container textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #FFFFFF;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}

.custom-contact-form-container input:focus,
.custom-contact-form-container textarea:focus {
  outline: none;
  border-color: #f97150;
}

.custom-contact-form-container input[type="submit"] {
  background-color: #f97150;
  color: #fff;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
}

.custom-contact-form-container input[type="submit"]:hover {
  background-color: #e25d3f;
}

.custom-contact-form-container .wpcf7-form p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .custom-contact-form-container {
    padding: 2rem 1rem;
  }
}

/* ABOUT US */


/**/

@media (min-width: 1024px) {
	.page-id-4126 #learn-about-tl-section .gdlr-core-pbf-wrapper-container.clearfix.gdlr-core-container {
		display: flex !important;
		justify-content: space-between;
		gap: 30px !important;
		flex-wrap: nowrap;
	}	
}

 
/* Set the grid layout of the team members - about us */
.page-id-4126 .gdlr-core-personnel-item-holder.clearfix {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width:768px) {
	.page-id-4126 .gdlr-core-personnel-item-holder.clearfix {
		grid-template-columns: 1fr !important;
    	grid-template-rows: auto !important;
	}
}
/* Set the width of the grid items - about us */
.page-id-4126 .gdlr-core-item-list.gdlr-core-personnel-list-column.gdlr-core-column-20 {
	width: 100% !important;
}


/* Hides the last item in the grid - about us */
.page-id-4126 .gdlr-core-personnel-item-holder.clearfix .grid-item:last-child {
  display: none;
}

/* Reduce padding on contact form fields - about us */

.wpcf7-form-control {
	padding: 1em 0.5em !important;
}

/** Make about us containers have equal height - about us **/

@media screen and (min-width:1024px){
	/* Match image heights */
.gdlr-core-personnel-list-image {
  height: 320px !important;
  overflow: hidden !important;
}


/* Target all images inside gdlr-core-pbf-column an implement equal height - homepage */
#personnel .gdlr-core-pbf-column img {
    height: 300px !important; /* set desired height */
    width: auto; /* maintain aspect ratio */
    object-fit: cover; /* crop instead of stretching */
    display: block;
}

/* Match paragraph heights */
.gdlr-core-personnel-list-content p {
  height: 100px !important; /* Set to desired fixed height */
  overflow: hidden !important;
  display: block !important;
  margin: 0 !important;
	}

}

/* Hide decorative image on section 4 - about us */

@media screen and (max-width: 767px) {
	.page-id-4126 .gdlr-core-pbf-section-container.gdlr-core-container.clearfix {
		display: none !important;
	}
}

/* Remove top padding on 4th section - about us */

@media screen and (max-width: 767px) {
	.page-id-4126 div.gdlr-core-pbf-wrapper:nth-of-type(4) {
		padding-top: 0px !important;
	}
}

/* Fix top margin between the CTA and the form fields on mobile - about us */

@media screen and (max-width: 767px) {
	.page-id-4126 .wpcf7-form-control.wpcf7-submit.has-spinner {
		margin-top: 35px !important;
	}
}

/* BLOG ARCHIVE PAGE */

/** Change hover color of the trending blogs wrap's title to a lighter color - Blog archive **/

.page-id-2715 .gdlr-core-post-slider-widget-title a:hover {
	text-decoration: underline !important;
	color: white !important;
}

/* Increase side paddings on blog content - blog archive */

@media screen and (max-width: 767px) {
	.page-id-2715 .gdlr-core-blog-full-frame.gdlr-core-skin-e-background {
		padding-left: 30px !important;
		padding-right: 30px !important;
	}
}

/* Apply padding on the left of the pagination container to properly align it - blog archive */

.page-id-2715 .page-numbers.current {
  margin-left: 20px !important;
}

/* Make the blog post meta data and the title to swap places - blog archive & blog */

.gdlr-core-blog-full-head-right {
  display: flex !important;
  flex-direction: column;
}

.page-id-2715 h3.gdlr-core-blog-title.gdlr-core-skin-title {
  order: 1;
}

.page-id-2715 .gdlr-core-blog-info-wrapper.gdlr-core-skin-divider {
  padding-top: 10px !important;
  order: 2;
}

.page-id-2715 h3.gdlr-core-blog-title.gdlr-core-skin-title,
.page-id-2715 .gdlr-core-blog-info-wrapper.gdlr-core-skin-divider {
  display: block;
}


/* Font size for blog widget heading text */

.traveltour-widget-head-text {
	font-size: 1rem !important;
}

/* Font size for blog heading text on mobile view */

@media screen and (max-width: 767px) {
	.page-id-2715 .gdlr-core-blog-title.gdlr-core-skin-title {
		font-size: 1.5rem !important;
	}
}

/* BLOG POST PAGES */

/* ================================
   GLOBAL RANKMATH TOC STYLING
   ================================ */

#rank-math-toc,
.wp-block-rank-math-toc-block {
    border: 2px solid #dedede;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 35px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* TOC Title */
#rank-math-toc h2,
.wp-block-rank-math-toc-block h2 {
    font-size: 20px !important;
    font-weight: 700;
    margin: 0 0 15px 0 !important;
    padding: 0;
    color: #111;
}

/* TOC List Reset */
#rank-math-toc ul,
#rank-math-toc ol,
.wp-block-rank-math-toc-block ul,
.wp-block-rank-math-toc-block ol {
    list-style: none !important;
    margin: 0;
    padding-left: 0;
}

/* TOC List Items */
#rank-math-toc li,
.wp-block-rank-math-toc-block li {
    margin-bottom: 10px;
    line-height: 1.55;
}

/* Sub-list indentation */
#rank-math-toc ul ul,
.wp-block-rank-math-toc-block ul ul {
    margin-left: 18px !important;
    margin-top: 6px;
}

/* TOC Links */
#rank-math-toc a,
.wp-block-rank-math-toc-block a {
    text-decoration: none;
    color: #444;
    font-size: 16px;
    transition: color 0.25s ease;
}

/* Hover Color */
#rank-math-toc a:hover,
.wp-block-rank-math-toc-block a:hover {
    color: #F7704F !important;
}

/* Active TOC link when clicked */
#rank-math-toc a:active,
.wp-block-rank-math-toc-block a:active {
    color: #F7704F !important;
}

/* Hide/Show toggle link */
#rank-math-toc .rank-math-toc-toggle,
.wp-block-rank-math-toc-block .rank-math-toc-toggle {
    font-size: 14px;
    color: #888;
}

#rank-math-toc .rank-math-toc-toggle:hover,
.wp-block-rank-math-toc-block .rank-math-toc-toggle:hover {
    color: #F7704F;
}


/* Reduce h2 heading size on blog posts */
.post h2.wp-block-heading {
	font-size: 1.75rem;
}

/* Reduce h3 heading size on blog posts */
.post h3.wp-block-heading {
	font-size: 1.25rem;
}

/*Fix overlapping tags issue. Make sure they wrap accordingly - Blog posts*/

  .traveltour-single-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: 0.75rem !important;
    row-gap: 0.5rem !important;
	margin: 0px !important;
  }

  .traveltour-single-tags a {
    display: inline-block !important;
    padding: 0.4em 1em !important;
    border-radius: 0px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-size: 0.9rem !important;
    color: #333 !important;
	margin: 0px !important;
  }

/* Improve readability for blog posts on TravelTour theme */

.single-post .gdlr-core-container p,
.single-post .traveltour-single-article-content p {
  line-height: 1.95 !important;     /* was 1.8 */
  margin-bottom: 1.6em !important;  /* was 1.2em */
}

.single-post .gdlr-core-container h1,
.single-post .gdlr-core-container h2,
.single-post .gdlr-core-container h3,
.single-post .traveltour-single-article-content h1,
.single-post .traveltour-single-article-content h2,
.single-post .traveltour-single-article-content h3 {
  margin-top: 2.2em !important;    /* increased from 1.4 */
  margin-bottom: 0.9em !important; /* increased from 0.6 */
  line-height: 1.32 !important; 
}

.single-post .gdlr-core-container ul,
.single-post .gdlr-core-container ol,
.single-post .traveltour-single-article-content ul,
.single-post .traveltour-single-article-content ol {
  margin-top: 1.2em !important;
  margin-bottom: 1.6em !important;
  padding-left: 2em !important;
}

.single-post .gdlr-core-container li,
.single-post .traveltour-single-article-content li {
  margin-bottom: 0.9em !important;  /* increased spacing between list items */
  line-height: 1.7 !important;
}

/* Exclude notice-block headings from the global spacing rules */

.single-post .notice-block h1,
.single-post .notice-block h2,
.single-post .notice-block h3 {
  margin-top: 0em !important;
  margin-bottom: 1em !important;
  line-height: 1.25 !important;
}


/* Styling the Notice block */

.notice-block {
  border: 2px solid #F7704F;
  background: #FFF7F4;
  padding: 25px;
  border-radius: 14px;
  margin: 1.875em 1em 1.875em 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.notice-block h2 {
  margin-top: 0;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111111;
}

.notice-block p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #222222;
}

.notice-block ul {
  margin: 0 0 18px 20px;
  padding: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #222222;
}

.notice-block li {
  margin-bottom: 6px;
}

.notice-block .highlight {
  background: #FDE7E2;
  padding: 3px 6px;
  border-radius: 6px;
  color: #D1492D;
  font-weight: 600;
}



/* Newsletter form - blog posts */

.newsletter-form-container {
  background-color: #F2F2F2;
  padding: 30px;
  border-radius: 0px;
  max-width: 600px;
  margin: 0 auto;
  font-family: inherit;
}

.newsletter-form-container p {
  margin-bottom: 0px;
  font-weight: bold;
  font-size: 1rem;
  color: #9b9b9b;
}

.newsletter-form-container form.wpcf7-form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
}

.newsletter-form-container input[type="email"], .newsletter-form-container input[type="text"] {
  background-color: #ffffff;
  border: none;
  border-radius: 0px;
  padding: 15px 20px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  height: 55px;
}

.newsletter-form-container input[type="email"] {
	margin-top: -16px !important;
}

.newsletter-form-container input[type="submit"] {
  background-color: #f97150;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 0 25px;
  border-radius: 0px;
  margin-top: -1em !important;
  height: 55px;
  width: 100%;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
}

.wpcf7-spinner {
	display: none !important;
}

.newsletter-form-container input[type="submit"]::before {
  content: "\\f1d8";
  font-weight: 900;
  font-size: 1.2rem;
}

.newsletter-form-container input[type="submit"]:hover {
  background-color: #e45735;
}

@media (max-width: 768px) {
  .newsletter-form-container form.wpcf7-form {
    flex-direction: column;
  }

  .newsletter-form-container input[type="email"],
  .newsletter-form-container input[type="submit"] {
    width: 100%;
  }
}

/* Override bottom padding of newsletter form title -  blog posts */

.gdlr-core-title-item.gdlr-core-item-pdb.clearfix.gdlr-core-left-align.gdlr-core-title-item-caption-top {
	padding-bottom: 10px !important;
}

/* Override font size of newsletter form title - blog posts */

.newsletter-form-container h3.gdlr-core-title-item-title.gdlr-core-skin-title {
  font-size: 1rem !important;
}

/*Gradient color on containers background on trending posts section - blog posts */

.gdlr-core-post-slider-widget .gdlr-core-image-overlay {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.9) 100%) !important;
}

/* Adjust the font size on the title on the trending post slider - blog posts */

@media screen and (max-width:767px) {
	.gdlr-core-image-overlay-content {
		padding-bottom: 15px !important;
	}
	.gdlr-core-post-slider-widget-title {
		font-size: 16px !important;	
	}
}

/* Make secondary text more visible on trending posts section - blog posts*/

.gdlr-core-post-slider-widget-info,
.gdlr-core-post-slider-widget-info a,
.gdlr-core-post-slider-widget-info i {
  color: #fff !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
}

/*=== Partners Badge ===*/

.page-id-9992 #how-it-works {
	margin-bottom: 20px;
}

/*=== FAQs ===*/

/* Style FAQs Accordion */

#faqs-heading h2.gdlr-core-title-item-title.gdlr-core-skin-title {
	text-transform: capitalize !important;
}

.faqs-body {
        background-color: #f5f5f5 !important;
        color: #383838 !important;
        line-height: 1.6;
    }

    .faqs-p,
    .faqs-ol,
    .faqs-ul,
    .faqs-li,
    .faqs-strong {
        font-family: 'Poppins', sans-serif !important;
        color: #9b9b9b !important;
    }

	div.panel.sub-panel p,
	div.panel.sub-panel .faqs-li {
		font-weight: 400 !important;
	}

    .faqs-ol,
    .faqs-ul {
        padding-left: 2rem;
        padding-right: 2rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .faqs-ol .faqs-li {
        margin-bottom: 0.8rem;
        line-height: 1.6;
    }

    .main-acc,
    .sub-acc {
        font-family: 'Marcellus', 'Poppins', sans-serif !important;
        text-transform: capitalize !important;
        font-weight: 600;
    }

    .accordion-wrapper {
        margin: 2rem auto;
        padding: 0 20px;
    }

    .accordion {
        background-color: white !important;
        color: #383838 !important;
        cursor: pointer;
        padding: 18px;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: 18px;
        font-weight: 600;
        transition: 0.4s;
        margin-bottom: 10px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        position: relative;
        padding-left: 40px;
    }

    .main-acc {
        background-color: #ffffff !important;
        color: #383838 !important;
    }

    .main-acc:after {
        content: '\002B';
        color: #383838 !important;
    }

    .main-acc.active:after {
        content: '\2212';
    }

    .main-acc.active {
        background-color: #f5f5f5 !important;
    }

    .sub-acc:after {
        content: '\002B';
        color: #383838 !important;
    }

    .sub-acc.active:after {
        content: '\2212';
    }

    .accordion:after {
        content: '\002B';
        color: #383838 !important;
        font-weight: bold;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
    }

    .accordion.active:after {
        content: "\2212";
    }

    .accordion:hover {
        background-color: #f1f1f1 !important;
    }

    .main-acc:hover {
        background-color: #f5f5f5 !important;
    }

    .panel {
        padding: 0px 18px;
        background-color: white !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
        margin-bottom: 10px;
        border-radius: 3px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .accordion.sub-acc:first-of-type {
        margin-top: 18px;
    }

    .sub-panel {
        margin-left: 20px;
        background-color: #f9f9f9 !important;
    }

    .panel p {
        padding: 20px;
    }

/* Show all FAQs */

.page-id-5631 .accordion.main-acc {
	display: block;
}

/* Increase the gap between the first heading and the card second section of the page - FAQs */

.page-id-5631 .gdlr-core-title-item.gdlr-core-item-pdb.clearfix.gdlr-core-left-align.gdlr-core-title-item-caption-top.gdlr-core-item-pdlr {
	padding-bottom: 30px !important;
}

/* Adjust (Decrease) the font size of the heading on mobile view - FAQs */

@media screen and (max-width: 767px) {
	.page-id-5631 h3.gdlr-core-title-item-title.gdlr-core-skin-title {
		font-size: 30px !important;
	}
}

/* Override the default box-shadow styling - FAQs*/

.page-id-5631 .gdlr-core-accordion-style-shadow-background .gdlr-core-accordion-item-tab.gdlr-core-active .gdlr-core-accordion-item-content-wrapper {
	box-shadow: 0 0 25px rgba(10, 10, 10, 0.08) !important;
	-webkit-box-shadow: 0 0 25px rgba(10, 10, 10, 0.08) !important;
}

/* Overrride the dark color applied on the heading of the hero section - FAQs */

.page-id-5631 .traveltour-page-title-wrap .traveltour-page-title {
    color: #ffffff !important;
}

.gdlr-core-pbf-section:first-child:last-child {
	padding-bottom: 0 !important;
}


/** PRIVACY POLICY **/

.page-id-3 .wp-block-heading {
	text-transform: Capitalize !important;
}

/** TERMS & CONDITIONS **/


/** FOOTER **/
/* Remove side paddings on the list content - footer */

/* Apply right padding on the first column - footer */

#text-1 .textwidget {
	padding-right: 20px;
}

@media screen and (min-width:1024px) {
	#menu-tour-categories, #menu-about-us, #menu-support, #menu-external-links {
		padding-left: 0 !important;
	}
}

/*Force text styling - footer */

.traveltour-footer-wrapper span.traveltour-widget-head-text {
	font-family: 'Marcellus', sans-serif !important;
	color: white !important;
} 

.traveltour-footer-wrapper p, 
.traveltour-footer-wrapper a,
.traveltour-footer-wrapper a i span,
.traveltour-footer-wrapper div i span{
	font-family: 'Poppins', sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	color: #c7c7c7 !important;
}

.traveltour-copyright-container div.traveltour-copyright-left.traveltour-item-pdlr strong,
.traveltour-copyright-container div.traveltour-copyright-right.traveltour-item-pdlr strong {
	font-weight: 400 !important;
}

/* Remove excess space before the lists - footer */
.traveltour-footer-wrapper ul {
	padding-left: 0px !important;
}

/* Fix for 404 Error on FontAwesome from WP Google Map Plugin - Corrects the broken file path for the FontAwesome font */
@font-face {
  font-family: 'FontAwesome';
  src: url('/wp-content/plugins/tourmaster/plugins/font-awesome/fontawesome-webfont.eot?v=4.6.3');
  src: url('/wp-content/plugins/tourmaster/plugins/font-awesome/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'),
       url('/wp-content/plugins/tourmaster/plugins/font-awesome/fontawesome-webfont.woff2?v=4.6.3') format('woff2'),
       url('/wp-content/plugins/tourmaster/plugins/font-awesome/fontawesome-webfont.woff?v=4.6.3') format('woff'),
       url('/wp-content/plugins/tourmaster/plugins/font-awesome/fontawesome-webfont.ttf?v=4.6.3') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Fallback Font-Display Fix (Metric Overrides) */
@font-face {
  font-family: 'Adjusted Lucida Bright Fallback';
  src: local('Lucida Bright');
  size-adjust: 84%;
  ascent-override: 101%;
  descent-override: 26%;
  line-gap-override: 5%;
}
/* Apply the font stack to FontAwesome icons */
.fa {
  font-family: 'FontAwesome', 'Adjusted Lucida Bright Fallback', serif;
}

/*=============== BADGES ===============*/

#badge-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: flex-start; 
}

.badge-option {
  width: 150px;
  height: 235px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  padding: 10px;
  transition: all 0.25s ease;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.badge-option.active {
  border-color: #F7704F;
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.3);
}

.badge-option img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/*=============== EMBED BOX ===============*/

#embed-box {
  padding: 20px;
  border: 2px solid #111;
  border-radius: 14px;
  background: #fafafa;
}

#badge-embed {
  width: 100%;
  height: 120px;
  margin-top: 10px;
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #bbb;
}

#copy-btn {
  margin-top: 10px;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #F7704F;
  color: white;
  cursor: pointer;
}

#copy-btn:hover {
  opacity: 0.85;
}

/*=============== RESPONSIVE RULES ===============*/

/* Tablets & mobile — 2 badges per row */
@media (max-width: 768px) {
  .badge-option {
    width: calc(50% - 20px);
    height: 235px;
	justify-content: flex-start !important;
  }
}

/* Small phones — still 2 per row, but tighter spacing */
@media (max-width: 480px) {
  #badge-selector {
    gap: 15px;
	justify-content: flex-start; !important
  }

  .badge-option {
    width: calc(50% - 15px);
    height: 235px;
    padding: 8px;
  }
}

