/*
 * TravelTour – Modern UI & Motion layer (v6.0.0)
 * ---------------------------------------------------------------------------
 * This stylesheet sits on top of style-core.css / style-custom.css.
 * It never hard-codes brand colours: every colour comes from CSS variables
 * that are printed from your Theme Options (see include/modern-ui.php), so
 * the palette you configured stays exactly the same.
 *
 * Everything is scoped under body.tt-modern so it can be switched off from
 * Theme Options > Miscellaneous > Modern UI & Animation.
 *
 *  1.  Tokens
 *  2.  Base / typography / selection / scrollbar
 *  3.  Scroll progress, preloader
 *  4.  Header, top bar, navigation, sub-menus, search overlay
 *  5.  Page title / hero
 *  6.  Buttons & forms
 *  7.  Blog (archive + single)
 *  8.  (moved to the Tourmaster plugin: tourmaster-modern.css)
 *  9.  (moved to Goodlayers Core: include/css/page-builder-modern.css)
 * 10.  Sidebar & widgets
 * 11.  Footer & copyright, back to top
 * 12.  404, WooCommerce, Gutenberg blocks
 * 13.  Mobile menu
 * 14.  Scroll-reveal animation system
 * 15.  Keyframes
 * 16.  Reduced motion
 * 17.  Header & footer (refined)
 */

/* ============================== 1. Tokens ============================== */
:root{
	/* fallback values = the colours shipped with TravelTour; real values are injected inline */
	--tt-accent: #468ae7;
	--tt-accent-2: #468ae7;
	--tt-accent-contrast: #ffffff;
	--tt-heading: #383838;
	--tt-text: #8c8c8c;
	--tt-link: #467fe7;
	--tt-link-hover: #84a7e8;
	--tt-border: #e1e1e1;
	--tt-body-bg: #ffffff;
	--tt-header-bg: #000000;
	--tt-footer-bg: #202020;
	--tt-copyright-bg: #181818;
	--tt-submenu-bg: #2e2e2e;
	--tt-top-bar-icon: #468ae7;

	--tt-accent-soft: color-mix(in srgb, var(--tt-accent) 12%, transparent);
	--tt-accent-glow: color-mix(in srgb, var(--tt-accent) 38%, transparent);
	--tt-accent-light: color-mix(in srgb, var(--tt-accent) 78%, #ffffff);
	--tt-accent-dark: color-mix(in srgb, var(--tt-accent) 82%, #000000);
	--tt-gradient: linear-gradient(135deg, var(--tt-accent-light) 0%, var(--tt-accent) 45%, var(--tt-accent-2) 100%);

	--tt-radius: 14px;
	--tt-radius-sm: calc(var(--tt-radius) * .6);
	--tt-radius-lg: calc(var(--tt-radius) * 1.6);
	--tt-radius-pill: 999px;

	--tt-shadow-sm: 0 2px 6px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .05);
	--tt-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18), 0 4px 10px -6px rgba(15, 23, 42, .10);
	--tt-shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .30), 0 12px 24px -12px rgba(15, 23, 42, .16);
	--tt-shadow-accent: 0 14px 30px -10px var(--tt-accent-glow);

	--tt-ease: cubic-bezier(.22, 1, .36, 1);
	--tt-ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
	--tt-speed: 800ms;
	--tt-speed-fast: 260ms;
	--tt-reveal-distance: 40px;
}

/* ============================== 2. Base ============================== */
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.tt-modern{ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body.tt-modern ::selection{ background: var(--tt-accent); color: var(--tt-accent-contrast); }
body.tt-modern img{ max-width: 100%; height: auto; }
body.tt-modern a{ transition: color var(--tt-speed-fast) ease, background-color var(--tt-speed-fast) ease, border-color var(--tt-speed-fast) ease, opacity var(--tt-speed-fast) ease; }
body.tt-modern :focus-visible{ outline: 2px solid var(--tt-accent); outline-offset: 3px; border-radius: 4px; }
body.tt-modern.traveltour-body h1, body.tt-modern.traveltour-body h2, body.tt-modern.traveltour-body h3{ letter-spacing: -.01em; }
body.tt-modern.traveltour-body p{ text-wrap: pretty; }
body.tt-modern.traveltour-body h1, body.tt-modern.traveltour-body h2{ text-wrap: balance; }

/* content links get an animated underline */
body.tt-modern .traveltour-single-article-content p a,
body.tt-modern .gdlr-core-text-box-item-content p a{
	background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat;
	background-position: 0 100%; transition: background-size .45s var(--tt-ease), color var(--tt-speed-fast);
}
body.tt-modern .traveltour-single-article-content p a:hover,
body.tt-modern .gdlr-core-text-box-item-content p a:hover{ background-size: 100% 1px; }

/* scrollbar */
@supports (scrollbar-color: red blue){
	html.tt-modern-html{ scrollbar-color: color-mix(in srgb, var(--tt-accent) 70%, #888) transparent; scrollbar-width: thin; }
}
html.tt-modern-html ::-webkit-scrollbar{ width: 10px; height: 10px; }
html.tt-modern-html ::-webkit-scrollbar-track{ background: transparent; }
html.tt-modern-html ::-webkit-scrollbar-thumb{ background: color-mix(in srgb, var(--tt-accent) 70%, #888); border-radius: 10px; border: 2px solid var(--tt-body-bg); }

/* ============================== 3. Scroll progress & preloader ============================== */
.tt-scroll-progress{ position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000000; pointer-events: none;
	background: var(--tt-gradient); transform-origin: 0 50%; transform: scaleX(var(--tt-progress, 0)); will-change: transform;
	box-shadow: 0 0 12px var(--tt-accent-glow); }
body.admin-bar .tt-scroll-progress{ top: 32px; }
@media screen and (max-width: 782px){ body.admin-bar .tt-scroll-progress{ top: 46px; } }

body.tt-modern .traveltour-page-preload{ background-image: none !important; display: flex; align-items: center; justify-content: center; }
body.tt-modern .traveltour-page-preload:before{ content: ""; width: 54px; height: 54px; border-radius: 50%;
	border: 3px solid var(--tt-accent-soft); border-top-color: var(--tt-accent); border-right-color: var(--tt-accent);
	animation: ttSpin .9s linear infinite; }
body.tt-modern .traveltour-page-preload:after{ content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
	background: var(--tt-accent); animation: ttPulse 1.2s var(--tt-ease) infinite; }

/* ============================== 4. Header ============================== */
body.tt-modern .traveltour-header-wrap,
body.tt-modern .traveltour-header-background,
body.tt-modern .traveltour-top-bar{ transition: background-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease, transform .4s var(--tt-ease); }

/* logo */
body.tt-modern .traveltour-logo-inner img{ transition: transform .5s var(--tt-ease), height .4s var(--tt-ease); }
body.tt-modern .traveltour-logo-inner a:hover img{ transform: scale(1.04) rotate(-1deg); }

/* sticky header = glass */
body.tt-modern.tt-glass-header .traveltour-sticky-navigation.traveltour-fixed-navigation .traveltour-header-background,
body.tt-modern.tt-glass-header .traveltour-header-style-boxed.traveltour-fixed-navigation{
	background-color: color-mix(in srgb, var(--tt-header-bg) 88%, transparent) !important;
	-webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px);
}
body.tt-modern .traveltour-fixed-navigation{ box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .35); }
body.tt-modern .traveltour-animate-fixed-navigation{ animation: ttSlideDown .55s var(--tt-ease) both; }

/* top bar */
body.tt-modern .traveltour-top-bar i{ transition: transform .4s var(--tt-ease-bounce); display: inline-block; }
body.tt-modern .traveltour-top-bar a:hover i{ transform: translateY(-2px) scale(1.15); }
body.tt-modern .traveltour-top-bar-right-social a{ display: inline-block; transition: transform .35s var(--tt-ease-bounce), opacity .3s; }
body.tt-modern .traveltour-top-bar-right-social a:hover{ transform: translateY(-3px); }

/* main menu */
body.tt-modern .sf-menu > li > a,
body.tt-modern .sf-vertical > li > a{ position: relative; transition: color .3s ease, transform .3s var(--tt-ease); }
body.tt-modern .sf-menu > li > a:hover{ transform: translateY(-1px); }
body.tt-modern .traveltour-navigation .traveltour-navigation-slide-bar{ transition: left .5s var(--tt-ease), width .5s var(--tt-ease), opacity .3s; }
/* sub menus: rounded glass card that drops in */
body.tt-modern .sf-menu > .traveltour-normal-menu .sub-menu,
body.tt-modern .sf-menu > .traveltour-mega-menu .sf-mega{
	border-radius: var(--tt-radius-sm); overflow: hidden; box-shadow: var(--tt-shadow-lg) !important;
	transform-origin: 50% 0; animation: ttDropIn .38s var(--tt-ease) both;
}
body.tt-modern .sf-menu > .traveltour-normal-menu li > .sub-menu{ padding-top: 8px; padding-bottom: 8px; }
body.tt-modern .sf-menu > .traveltour-normal-menu .sub-menu li > a{ transition: padding .3s var(--tt-ease), background-color .3s, color .3s; position: relative; }
body.tt-modern .sf-menu > .traveltour-normal-menu .sub-menu li > a:hover{ padding-left: 28px; }
body.tt-modern .sf-menu > .traveltour-normal-menu .sub-menu li > a:before{
	content: ""; position: absolute; left: 14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
	background: var(--tt-accent); transform: scale(0); transition: transform .3s var(--tt-ease-bounce);
}
body.tt-modern .sf-menu > .traveltour-normal-menu .sub-menu li > a:hover:before{ transform: scale(1); }
body.tt-modern .sf-menu > .traveltour-mega-menu .sf-mega-section-inner > ul > li > a{ transition: transform .3s var(--tt-ease), color .3s; display: inline-block; }
body.tt-modern .sf-menu > .traveltour-mega-menu .sf-mega-section-inner > ul > li > a:hover{ transform: translateX(5px); }

/* right buttons / login / cart */
body.tt-modern .traveltour-main-menu-right-button,
body.tt-modern .traveltour-navigation-login-button{ border-radius: var(--tt-radius-pill); transition: all .35s var(--tt-ease); }
body.tt-modern .traveltour-main-menu-right-button:hover{ transform: translateY(-2px); box-shadow: var(--tt-shadow-accent); }
body.tt-modern .traveltour-main-menu-search i,
body.tt-modern .traveltour-main-menu-cart i{ transition: transform .35s var(--tt-ease-bounce); display: inline-block; }
body.tt-modern .traveltour-main-menu-search:hover i,
body.tt-modern .traveltour-main-menu-cart:hover i{ transform: scale(1.18) rotate(-8deg); }
body.tt-modern .traveltour-top-cart-content-wrap{ border-radius: var(--tt-radius-sm); box-shadow: var(--tt-shadow-lg); overflow: hidden; }

/* search overlay */
body.tt-modern .traveltour-top-search-wrap{ -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.tt-modern .traveltour-top-search-wrap input.search-field{ transition: border-color .3s, letter-spacing .4s var(--tt-ease); }
body.tt-modern .traveltour-top-search-wrap .traveltour-top-search-row{ animation: ttFadeUp .6s var(--tt-ease) both; }
body.tt-modern .traveltour-top-search-close{ transition: transform .45s var(--tt-ease); }
body.tt-modern .traveltour-top-search-close:hover{ transform: rotate(90deg); }

/* overlay & side menus */
body.tt-modern .traveltour-overlay-menu-content ul.menu > li{ opacity: 0; transform: translateY(24px); transition: opacity .5s var(--tt-ease), transform .5s var(--tt-ease); }
body.tt-modern .traveltour-overlay-menu-content.traveltour-active ul.menu > li{ opacity: 1; transform: none; }
body.tt-modern .traveltour-overlay-menu-content.traveltour-active ul.menu > li:nth-child(1){ transition-delay: .08s; }
body.tt-modern .traveltour-overlay-menu-content.traveltour-active ul.menu > li:nth-child(2){ transition-delay: .14s; }
body.tt-modern .traveltour-overlay-menu-content.traveltour-active ul.menu > li:nth-child(3){ transition-delay: .20s; }
body.tt-modern .traveltour-overlay-menu-content.traveltour-active ul.menu > li:nth-child(4){ transition-delay: .26s; }
body.tt-modern .traveltour-overlay-menu-content.traveltour-active ul.menu > li:nth-child(5){ transition-delay: .32s; }
body.tt-modern .traveltour-overlay-menu-content.traveltour-active ul.menu > li:nth-child(6){ transition-delay: .38s; }
body.tt-modern .traveltour-overlay-menu-content.traveltour-active ul.menu > li:nth-child(n+7){ transition-delay: .44s; }
body.tt-modern .traveltour-overlay-menu-content{ -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ============================== 5. Page title / hero ============================== */
body.tt-modern .traveltour-page-title-wrap,
body.tt-modern .traveltour-blog-title-wrap{ overflow: hidden; isolation: isolate; }
/* background is moved to a pseudo layer so it can zoom & parallax without touching the theme markup */
body.tt-modern.tt-hero-motion .traveltour-page-title-wrap.tt-hero-ready,
body.tt-modern.tt-hero-motion .traveltour-blog-title-wrap.tt-hero-ready{ background-image: none !important; }
body.tt-modern .tt-hero-bg{ position: absolute; inset: -8% 0; z-index: -1; background-size: cover; background-position: center;
	transform: translate3d(0, var(--tt-parallax, 0px), 0) scale(1.08); animation: ttKenBurns 18s ease-out both; will-change: transform; }
body.tt-modern .traveltour-page-title-wrap .traveltour-page-title-overlay,
body.tt-modern .traveltour-blog-title-wrap .traveltour-blog-title-overlay{ z-index: 0; }
body.tt-modern .traveltour-page-title-wrap:after{
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent);
}
body.tt-modern .traveltour-page-title-wrap .traveltour-page-title-container{ z-index: 1; }
body.tt-modern .traveltour-page-title-wrap .traveltour-page-title{ animation: ttFadeUp 1s var(--tt-ease) .15s both; }
body.tt-modern .traveltour-page-title-wrap .traveltour-page-caption{ animation: ttFadeUp 1s var(--tt-ease) .35s both; }
body.tt-modern .traveltour-page-title-wrap .traveltour-page-title:after{
	content: ""; display: block; width: 0; height: 3px; margin-top: 18px; border-radius: 3px; background: var(--tt-gradient);
	animation: ttGrowLine 1s var(--tt-ease) .7s forwards;
}
body.tt-modern .traveltour-page-title-wrap.traveltour-center-align .traveltour-page-title:after{ margin-left: auto; margin-right: auto; }
/* word-by-word title reveal (words are wrapped by JS) */
body.tt-modern .tt-split-word{ display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
body.tt-modern .tt-split-word > span{ display: inline-block; transform: translateY(110%); animation: ttWordUp .9s var(--tt-ease) forwards; animation-delay: calc(.12s + var(--tt-i, 0) * 70ms); }
body.tt-modern .traveltour-page-title.tt-split{ animation: none; }

body.tt-modern .traveltour-blog-title-wrap .traveltour-single-article-title{ animation: ttFadeUp 1s var(--tt-ease) .15s both; }
body.tt-modern .traveltour-blog-title-wrap .traveltour-blog-info-wrapper{ animation: ttFadeUp 1s var(--tt-ease) .35s both; }

/* ============================== 6. Buttons & forms ============================== */
body.tt-modern.traveltour-body .traveltour-button,
body.tt-modern .gdlr-core-button,
body.tt-modern .gdlr-core-load-more,
body.tt-modern.traveltour-body input[type="button"],
body.tt-modern.traveltour-body input[type="submit"],
body.tt-modern.traveltour-body button[type="submit"],
body.tt-modern .tourmaster-button,
body.tt-modern .wp-block-button__link,
body.tt-modern .wp-element-button,
body.tt-modern.woocommerce a.button, body.tt-modern .woocommerce a.button,
body.tt-modern .woocommerce button.button, body.tt-modern .woocommerce input.button{
	position: relative; overflow: hidden; isolation: isolate; border-radius: var(--tt-radius-pill);
	transition: transform .35s var(--tt-ease), box-shadow .35s var(--tt-ease), background-color .3s, color .3s, border-color .3s, filter .3s;
	will-change: transform;
}
/* shine sweep */
body.tt-modern.traveltour-body .traveltour-button:before,
body.tt-modern .gdlr-core-button:before,
body.tt-modern .gdlr-core-load-more:before,
body.tt-modern .tourmaster-button:before,
body.tt-modern .wp-block-button__link:before{
	content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: 1; pointer-events: none;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg);
	transition: left .75s var(--tt-ease);
}
body.tt-modern.traveltour-body .traveltour-button:hover:before,
body.tt-modern .gdlr-core-button:hover:before,
body.tt-modern .gdlr-core-load-more:hover:before,
body.tt-modern .tourmaster-button:hover:before,
body.tt-modern .wp-block-button__link:hover:before{ left: 130%; }
body.tt-modern.traveltour-body .traveltour-button:hover,
body.tt-modern .gdlr-core-button:hover,
body.tt-modern .gdlr-core-load-more:hover,
body.tt-modern.traveltour-body input[type="button"]:hover,
body.tt-modern.traveltour-body input[type="submit"]:hover,
body.tt-modern.traveltour-body button[type="submit"]:hover,
body.tt-modern .tourmaster-button:hover,
body.tt-modern .wp-block-button__link:hover{ transform: translateY(-3px); box-shadow: var(--tt-shadow-accent); filter: saturate(1.1) brightness(1.04); }
body.tt-modern.traveltour-body .traveltour-button:active,
body.tt-modern .gdlr-core-button:active,
body.tt-modern .tourmaster-button:active,
body.tt-modern.traveltour-body input[type="submit"]:active{ transform: translateY(0) scale(.97); transition-duration: .1s; }
body.tt-modern .wp-block-button__link{ background: var(--tt-accent); color: var(--tt-accent-contrast); }
/* ripple (created by JS) */
.tt-ripple{ position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; background: rgba(255, 255, 255, .45);
	transform: scale(0); animation: ttRipple .7s var(--tt-ease) forwards; }

/* inputs */
body.tt-modern.traveltour-body input[type="text"],
body.tt-modern.traveltour-body input[type="email"],
body.tt-modern.traveltour-body input[type="password"],
body.tt-modern.traveltour-body input[type="search"],
body.tt-modern.traveltour-body input[type="tel"],
body.tt-modern.traveltour-body input[type="url"],
body.tt-modern.traveltour-body input[type="number"],
body.tt-modern.traveltour-body textarea,
body.tt-modern.traveltour-body select{
	border-radius: var(--tt-radius-sm); transition: border-color .3s, box-shadow .3s var(--tt-ease), background-color .3s;
}
body.tt-modern.traveltour-body input[type="text"]:focus,
body.tt-modern.traveltour-body input[type="email"]:focus,
body.tt-modern.traveltour-body input[type="password"]:focus,
body.tt-modern.traveltour-body input[type="search"]:focus,
body.tt-modern.traveltour-body input[type="tel"]:focus,
body.tt-modern.traveltour-body input[type="url"]:focus,
body.tt-modern.traveltour-body input[type="number"]:focus,
body.tt-modern.traveltour-body textarea:focus,
body.tt-modern.traveltour-body select:focus{ outline: none; border-color: var(--tt-accent) !important; box-shadow: 0 0 0 4px var(--tt-accent-soft); }
/* keep theme layouts that rely on square inputs inside top-search & 404 */
body.tt-modern .traveltour-top-search-wrap input.search-field,
body.tt-modern .traveltour-not-found-wrap .search-form input.search-field{ border-radius: 0; box-shadow: none; }

/* ============================== 7. Blog ============================== */
/* thumbnails: rounded with zoom */
body.tt-modern .traveltour-single-article-thumbnail,
body.tt-modern .gdlr-core-blog-thumbnail,
body.tt-modern .gdlr-core-blog-grid .gdlr-core-blog-thumbnail,
body.tt-modern .gdlr-core-blog-full .gdlr-core-blog-thumbnail,
body.tt-modern .gdlr-core-blog-medium .gdlr-core-blog-thumbnail{ border-radius: var(--tt-radius); overflow: hidden; transform: translateZ(0); }
body.tt-modern .traveltour-single-article-thumbnail img,
body.tt-modern .gdlr-core-blog-thumbnail img{ transition: transform 1.1s var(--tt-ease), filter .6s; }
body.tt-modern .traveltour-single-article:hover .traveltour-single-article-thumbnail img,
body.tt-modern .gdlr-core-blog-thumbnail:hover img,
body.tt-modern .gdlr-core-item-list:hover .gdlr-core-blog-thumbnail img{ transform: scale(1.07); }
body.tt-modern.single .traveltour-single-article:hover .traveltour-single-article-thumbnail img{ transform: none; }

body.tt-modern .traveltour-single-article-title a,
body.tt-modern .gdlr-core-blog-title a{
	background-image: linear-gradient(var(--tt-accent), var(--tt-accent)); background-size: 0% 2px; background-repeat: no-repeat;
	background-position: 0 92%; transition: background-size .5s var(--tt-ease), color .3s; padding-bottom: 2px;
}
body.tt-modern .traveltour-single-article-title a:hover,
body.tt-modern .gdlr-core-blog-title a:hover{ background-size: 100% 2px; }

/* date badge */
body.tt-modern .traveltour-single-article-date-wrapper{ transition: transform .5s var(--tt-ease-bounce); }
body.tt-modern .traveltour-single-article:hover .traveltour-single-article-date-wrapper{ transform: translateY(-4px); }

/* category / info chips */
body.tt-modern .traveltour-blog-info-category a,
body.tt-modern .gdlr-core-blog-info-category a{ transition: color .3s, opacity .3s; }

/* grid style cards from page builder */
body.tt-modern .gdlr-core-blog-grid,
body.tt-modern .gdlr-core-blog-modern,
body.tt-modern .gdlr-core-blog-metro{ border-radius: var(--tt-radius); transition: transform .5s var(--tt-ease), box-shadow .5s var(--tt-ease); }
body.tt-modern .gdlr-core-blog-grid:hover{ transform: translateY(-6px); }
body.tt-modern .gdlr-core-blog-grid.gdlr-core-blog-grid-with-frame,
body.tt-modern .gdlr-core-blog-full-frame,
body.tt-modern .gdlr-core-blog-medium.gdlr-core-blog-frame{ border-radius: var(--tt-radius); overflow: hidden; }
body.tt-modern .gdlr-core-blog-grid-with-frame:hover,
body.tt-modern .gdlr-core-blog-full-frame:hover{ box-shadow: var(--tt-shadow-lg); }
body.tt-modern .gdlr-core-blog-modern,
body.tt-modern .gdlr-core-blog-metro{ overflow: hidden; }
body.tt-modern .gdlr-core-blog-modern .gdlr-core-blog-modern-content,
body.tt-modern .gdlr-core-blog-metro .gdlr-core-blog-metro-content{ transition: transform .6s var(--tt-ease); }
body.tt-modern .gdlr-core-blog-modern:hover .gdlr-core-blog-modern-content,
body.tt-modern .gdlr-core-blog-metro:hover .gdlr-core-blog-metro-content{ transform: translateY(-8px); }
body.tt-modern .gdlr-core-style-2 .gdlr-core-blog-thumbnail .gdlr-core-blog-info-category{ border-radius: var(--tt-radius-pill); }

/* single article content */
body.tt-modern.single .traveltour-single-article-content > p:first-of-type{ font-size: 1.08em; }
body.tt-modern .traveltour-single-article-content img{ border-radius: var(--tt-radius-sm); }
body.tt-modern.traveltour-body blockquote,
body.tt-modern.traveltour-body .wp-block-quote{
	position: relative; border-radius: var(--tt-radius); border-left: 4px solid var(--tt-accent) !important;
	padding-left: 34px; overflow: hidden;
}
body.tt-modern.traveltour-body blockquote:before{
	content: "\201C"; position: absolute; right: 18px; top: -18px; font-size: 140px; line-height: 1; font-family: Georgia, serif;
	color: var(--tt-accent); opacity: .12; pointer-events: none;
}
body.tt-modern .traveltour-blog-quote-format .traveltour-single-article-content,
body.tt-modern .traveltour-blog-aside-format .traveltour-single-article-content,
body.tt-modern .traveltour-blog-link-format .traveltour-single-article-content{ border-radius: var(--tt-radius); }

/* tags */
body.tt-modern .traveltour-single-tags a,
body.tt-modern .tagcloud a{ border-radius: var(--tt-radius-pill); display: inline-block; transition: all .35s var(--tt-ease); }
body.tt-modern .traveltour-single-tags a:hover,
body.tt-modern .tagcloud a:hover{ transform: translateY(-3px); box-shadow: var(--tt-shadow); }

/* author box, comments, navigation */
body.tt-modern .traveltour-single-author{ border-radius: var(--tt-radius-lg); box-shadow: var(--tt-shadow); border: none !important;
	transition: box-shadow .4s var(--tt-ease), transform .4s var(--tt-ease); }
body.tt-modern .traveltour-single-author:hover{ box-shadow: var(--tt-shadow-lg); transform: translateY(-3px); }
body.tt-modern .traveltour-single-author-avartar img{ border-radius: 50%; box-shadow: 0 0 0 4px var(--tt-body-bg), 0 0 0 6px var(--tt-accent); }
body.tt-modern .traveltour-single-nav-area .traveltour-single-nav{ transition: transform .4s var(--tt-ease), color .3s; }
body.tt-modern .traveltour-single-nav-area .traveltour-single-nav-left:hover{ transform: translateX(-6px); }
body.tt-modern .traveltour-single-nav-area .traveltour-single-nav-right:hover{ transform: translateX(6px); }
body.tt-modern .traveltour-comments-area .comment-article{ border-radius: var(--tt-radius); transition: box-shadow .4s var(--tt-ease); }
body.tt-modern .traveltour-comments-area .comment-article:hover{ box-shadow: var(--tt-shadow); }
body.tt-modern .traveltour-comments-area .comment-avatar img{ border-radius: 50%; }

/* pagination */
body.tt-modern .gdlr-core-pagination a,
body.tt-modern .gdlr-core-pagination span,
body.tt-modern .tourmaster-pagination a,
body.tt-modern .tourmaster-pagination span,
body.tt-modern .woocommerce nav.woocommerce-pagination ul li a,
body.tt-modern .woocommerce nav.woocommerce-pagination ul li span{
	border-radius: var(--tt-radius-sm) !important; transition: transform .35s var(--tt-ease-bounce), background-color .3s, color .3s, box-shadow .3s;
}
body.tt-modern .gdlr-core-pagination a:hover,
body.tt-modern .tourmaster-pagination a:hover{ transform: translateY(-3px); box-shadow: var(--tt-shadow-accent); }
body.tt-modern .gdlr-core-pagination.gdlr-core-style-circle a,
body.tt-modern .gdlr-core-pagination.gdlr-core-style-circle span{ border-radius: 50% !important; }

/* ============================== 8–9. Tourmaster & page-builder elements ============================== */
/* The detailed styles for tours, search, booking and all GoodLayers page-builder elements now ship
   inside the plugins themselves (tourmaster/tourmaster-modern.css and
   goodlayers-core/include/css/page-builder-modern.css). Only the cursor spotlight, which needs this
   theme's JavaScript, stays here. */
body.tt-modern.tt-card-fx .tt-spotlight{ position: relative; }
body.tt-modern.tt-card-fx .tt-spotlight:before{
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0;
	background: radial-gradient(420px circle at var(--tt-mx, 50%) var(--tt-my, 50%), rgba(255, 255, 255, .18), transparent 45%);
	transition: opacity .4s;
}
body.tt-modern.tt-card-fx .tt-spotlight:hover:before{ opacity: 1; }

/* ============================== 10. Sidebar & widgets ============================== */
body.tt-modern .traveltour-sidebar-area .traveltour-widget{ transition: transform .5s var(--tt-ease); }
body.tt-modern .traveltour-sidebar-area .traveltour-widget-title{ position: relative; }
body.tt-modern .traveltour-sidebar-area .traveltour-widget-title .traveltour-widget-head-text{ position: relative; display: inline-block; }
body.tt-modern .traveltour-sidebar-area .traveltour-widget-title .traveltour-widget-head-text:after{
	content: ""; position: absolute; left: 0; bottom: -8px; width: 36px; height: 3px; border-radius: 3px; background: var(--tt-gradient);
	transition: width .5s var(--tt-ease);
}
body.tt-modern .traveltour-sidebar-area .traveltour-widget:hover .traveltour-widget-head-text:after{ width: 100%; }
body.tt-modern .traveltour-widget ul li a{ transition: padding-left .35s var(--tt-ease), color .3s; }
body.tt-modern .traveltour-sidebar-area .traveltour-widget ul li a:hover{ padding-left: 6px; }
body.tt-modern .traveltour-widget .widget_search form,
body.tt-modern .traveltour-widget.widget_search form{ border-radius: var(--tt-radius-pill); overflow: hidden; }
body.tt-modern .widget_search input.search-field{ border-radius: var(--tt-radius-pill) !important; }
body.tt-modern .gdlr-core-recent-post-widget-thumbnail,
body.tt-modern .tourmaster-tour-widget .tourmaster-tour-thumbnail{ border-radius: var(--tt-radius-sm); overflow: hidden; }
body.tt-modern .gdlr-core-recent-post-widget-thumbnail img{ transition: transform .7s var(--tt-ease); }
body.tt-modern .gdlr-core-recent-post-widget:hover .gdlr-core-recent-post-widget-thumbnail img{ transform: scale(1.1); }

/* ============================== 11. Footer ============================== */
body.tt-modern .traveltour-footer-wrapper{ position: relative; }
body.tt-modern .traveltour-footer-wrapper .traveltour-widget-title{ position: relative; }
body.tt-modern .traveltour-footer-wrapper a{ background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px;
	background-repeat: no-repeat; background-position: 0 100%; transition: background-size .45s var(--tt-ease), color .3s, opacity .3s; }
body.tt-modern .traveltour-footer-wrapper a:hover{ background-size: 100% 1px; }
body.tt-modern .traveltour-footer-wrapper a:has(img),
body.tt-modern .traveltour-footer-wrapper .gdlr-core-social-network-item a{ background-image: none; }
body.tt-modern .traveltour-footer-wrapper ul li{ transition: transform .35s var(--tt-ease); }
body.tt-modern .traveltour-footer-wrapper ul li:hover{ transform: translateX(4px); }
body.tt-modern .traveltour-copyright-wrapper{ position: relative; }

/* back to top with progress ring */
body.tt-modern .traveltour-footer-back-to-top-button{
	width: 52px; height: 52px; padding: 0; display: flex; align-items: center; justify-content: center; line-height: 1;
	background-color: var(--tt-accent) !important; color: var(--tt-accent-contrast) !important; box-shadow: var(--tt-shadow-accent);
	transform: translateY(20px) scale(.8); transition: opacity .4s var(--tt-ease), transform .5s var(--tt-ease-bounce), box-shadow .3s; z-index: 99;
}
body.tt-modern .traveltour-footer-back-to-top-button.traveltour-scrolled{ transform: none; }
body.tt-modern .traveltour-footer-back-to-top-button:hover{ transform: translateY(-4px); box-shadow: 0 18px 36px -10px var(--tt-accent-glow); }
body.tt-modern .traveltour-footer-back-to-top-button i{ position: relative; z-index: 1; transition: transform .4s var(--tt-ease); }
body.tt-modern .traveltour-footer-back-to-top-button:hover i{ transform: translateY(-3px); animation: ttBob 1s ease-in-out infinite; }
body.tt-modern .traveltour-footer-back-to-top-button .tt-progress-ring{ position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); pointer-events: none; }
body.tt-modern .traveltour-footer-back-to-top-button .tt-progress-ring circle{ fill: none; stroke-width: 2.5; stroke-linecap: round; }
body.tt-modern .traveltour-footer-back-to-top-button .tt-progress-ring .tt-ring-track{ stroke: var(--tt-accent-soft); }
body.tt-modern .traveltour-footer-back-to-top-button .tt-progress-ring .tt-ring-bar{ stroke: var(--tt-accent); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--tt-progress, 0) * 100); transition: stroke-dashoffset .15s linear; }

/* ============================== 12. 404 / Woo / blocks ============================== */
body.tt-modern .traveltour-not-found-wrap{ overflow: hidden; position: relative; }
body.tt-modern .traveltour-not-found-wrap .traveltour-not-found-background{ animation: ttKenBurns 22s ease-out both; }
body.tt-modern .traveltour-not-found-head{ animation: ttFloat 5s ease-in-out infinite, ttFadeUp 1s var(--tt-ease) both; display: inline-block;
	text-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
body.tt-modern .traveltour-not-found-title{ animation: ttFadeUp 1s var(--tt-ease) .15s both; }
body.tt-modern .traveltour-not-found-caption{ animation: ttFadeUp 1s var(--tt-ease) .3s both; }
body.tt-modern .traveltour-not-found-wrap form{ animation: ttFadeUp 1s var(--tt-ease) .45s both; border-radius: var(--tt-radius-pill); overflow: hidden; }
body.tt-modern .traveltour-not-found-back-to-home{ animation: ttFadeUp 1s var(--tt-ease) .6s both; }
body.tt-modern .traveltour-not-found-back-to-home a{ display: inline-block; transition: transform .35s var(--tt-ease); }
body.tt-modern .traveltour-not-found-back-to-home a:hover{ transform: translateX(-6px); }
body.tt-modern .traveltour-not-found-wrap .tt-orb{ position: absolute; border-radius: 50%; filter: blur(50px); opacity: .45; pointer-events: none; z-index: 0;
	background: var(--tt-accent); animation: ttOrb 14s ease-in-out infinite alternate; }
body.tt-modern .traveltour-not-found-wrap .traveltour-not-found-container{ position: relative; z-index: 1; }

body.tt-modern.woocommerce ul.products li.product,
body.tt-modern .woocommerce ul.products li.product,
body.tt-modern .gdlr-core-product-grid{ transition: transform .5s var(--tt-ease), box-shadow .5s var(--tt-ease); border-radius: var(--tt-radius); }
body.tt-modern.woocommerce ul.products li.product:hover,
body.tt-modern .gdlr-core-product-grid:hover{ transform: translateY(-6px); }
body.tt-modern .woocommerce ul.products li.product a img,
body.tt-modern .gdlr-core-product-thumbnail{ border-radius: var(--tt-radius); overflow: hidden; }
body.tt-modern .woocommerce span.onsale{ border-radius: var(--tt-radius-pill); animation: ttPulse 2.4s var(--tt-ease) infinite; }
body.tt-modern .woocommerce div.product div.images img{ border-radius: var(--tt-radius); }

body.tt-modern .wp-block-image img,
body.tt-modern .wp-block-cover,
body.tt-modern .wp-block-gallery .wp-block-image img{ border-radius: var(--tt-radius-sm); }
body.tt-modern .wp-block-pullquote{ border-color: var(--tt-accent); }
body.tt-modern .wp-block-separator{ border-color: var(--tt-border); }

/* ============================== 13. Mobile menu ============================== */
body.tt-modern .traveltour-mobile-button-hamburger span,
body.tt-modern .traveltour-mobile-button-hamburger:before,
body.tt-modern .traveltour-mobile-button-hamburger:after{ transition: transform .4s var(--tt-ease), opacity .3s, background-color .3s; border-radius: 2px; }
html.mm-opening body.tt-modern .mm-menu .mm-listview > li,
html.mm-opening .mm-menu.tt-modern-mm .mm-listview > li{ animation: ttFadeRight .55s var(--tt-ease) both; }
.mm-menu .mm-listview > li:nth-child(1){ animation-delay: .05s !important; }
.mm-menu .mm-listview > li:nth-child(2){ animation-delay: .10s !important; }
.mm-menu .mm-listview > li:nth-child(3){ animation-delay: .15s !important; }
.mm-menu .mm-listview > li:nth-child(4){ animation-delay: .20s !important; }
.mm-menu .mm-listview > li:nth-child(5){ animation-delay: .25s !important; }
.mm-menu .mm-listview > li:nth-child(6){ animation-delay: .30s !important; }
.mm-menu .mm-listview > li:nth-child(n+7){ animation-delay: .35s !important; }
body.tt-modern .traveltour-mobile-header{ transition: box-shadow .4s, background-color .4s; }
body.tt-modern .traveltour-mobile-header.traveltour-fixed-navigation{ box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .35); animation: ttSlideDown .5s var(--tt-ease) both; }

/* 3D tilt (angles fed by JS, desktop pointers only) */
body.tt-modern.tt-card-fx .tt-tilt{ transition: transform .5s var(--tt-ease), box-shadow .5s var(--tt-ease); }
body.tt-modern.tt-card-fx .tt-tilt:hover{ transform: perspective(1000px) translateY(-8px) rotateX(var(--tt-rx, 0deg)) rotateY(var(--tt-ry, 0deg)); transition-duration: .2s, .5s; }

/* ============================== 14. Scroll reveal ============================== */
/* Hidden state is applied ONLY after JS has tagged the element (.tt-reveal), so
   content is always visible if JavaScript is disabled or fails to load. */
.tt-reveal{ opacity: 0; transition: opacity var(--tt-speed) var(--tt-ease), transform var(--tt-speed) var(--tt-ease), filter var(--tt-speed) var(--tt-ease), clip-path var(--tt-speed) var(--tt-ease);
	transition-delay: var(--tt-delay, 0ms); will-change: opacity, transform; }
.tt-reveal.tt-fx-fade-up{ transform: translate3d(0, var(--tt-reveal-distance), 0); }
.tt-reveal.tt-fx-fade-down{ transform: translate3d(0, calc(var(--tt-reveal-distance) * -1), 0); }
.tt-reveal.tt-fx-fade-left{ transform: translate3d(var(--tt-reveal-distance), 0, 0); }
.tt-reveal.tt-fx-fade-right{ transform: translate3d(calc(var(--tt-reveal-distance) * -1), 0, 0); }
.tt-reveal.tt-fx-zoom-in{ transform: scale(.92); }
.tt-reveal.tt-fx-zoom-out{ transform: scale(1.06); }
.tt-reveal.tt-fx-blur{ filter: blur(12px); transform: translate3d(0, 20px, 0); }
.tt-reveal.tt-fx-flip{ transform: perspective(1000px) rotateX(14deg) translate3d(0, 30px, 0); transform-origin: 50% 100%; }
.tt-reveal.tt-fx-fade{ transform: none; }
.tt-reveal.tt-in{ opacity: 1; transform: none; filter: none; }
.tt-reveal.tt-done{ will-change: auto; }

/* images inside revealed blocks get a curtain wipe */
body.tt-modern.tt-image-reveal .tt-reveal .tt-img-wipe{ clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--tt-ease) calc(var(--tt-delay, 0ms) + 120ms); }
body.tt-modern.tt-image-reveal .tt-reveal.tt-in .tt-img-wipe{ clip-path: inset(0 0 0 0); }

/* ============================== 15. Keyframes ============================== */
@keyframes ttSpin{ to{ transform: rotate(360deg); } }
@keyframes ttPulse{ 0%, 100%{ transform: scale(.7); opacity: .6; } 50%{ transform: scale(1); opacity: 1; } }
@keyframes ttFadeUp{ from{ opacity: 0; transform: translate3d(0, 30px, 0); } to{ opacity: 1; transform: none; } }
@keyframes ttFadeRight{ from{ opacity: 0; transform: translate3d(-24px, 0, 0); } to{ opacity: 1; transform: none; } }
@keyframes ttZoomIn{ from{ opacity: 0; transform: scale(.94); } to{ opacity: 1; transform: none; } }
@keyframes ttDropIn{ from{ opacity: 0; transform: translateY(12px) scale(.98); } to{ opacity: 1; transform: none; } }
@keyframes ttSlideDown{ from{ transform: translateY(-100%); } to{ transform: none; } }
@keyframes ttKenBurns{ from{ transform: translate3d(0, var(--tt-parallax, 0px), 0) scale(1.18); } to{ transform: translate3d(0, var(--tt-parallax, 0px), 0) scale(1.08); } }
@keyframes ttGrowLine{ to{ width: 64px; } }
@keyframes ttGrowX{ from{ transform: scaleX(0); } to{ transform: scaleX(1); } }
@keyframes ttWordUp{ to{ transform: none; } }
@keyframes ttRipple{ to{ transform: scale(2.6); opacity: 0; } }
@keyframes ttShimmer{ from{ background-position: 200% 0; } to{ background-position: -200% 0; } }
@keyframes ttFloat{ 0%, 100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }
@keyframes ttBob{ 0%, 100%{ transform: translateY(-3px); } 50%{ transform: translateY(1px); } }
@keyframes ttStarPop{ 0%{ transform: scale(1); } 40%{ transform: scale(1.35) rotate(12deg); } 100%{ transform: scale(1); } }
@keyframes ttOrb{ 0%{ transform: translate(0, 0) scale(1); } 100%{ transform: translate(60px, -40px) scale(1.25); } }

/* ============================== 17. Header & Footer (refined) ============================== */

/* ---------- top bar ---------- */
body.tt-modern .traveltour-top-bar{ border-bottom-color: color-mix(in srgb, var(--tt-top-bar-border) 10%, transparent) !important; letter-spacing: .01em; }
body.tt-modern .traveltour-top-bar-background{ background-image: linear-gradient(90deg, rgba(0, 0, 0, .10), rgba(255, 255, 255, .03) 50%, rgba(0, 0, 0, .10)); }
/* contact icons become soft round chips */
body.tt-modern .traveltour-top-bar-left-text i,
body.tt-modern .traveltour-top-bar-right-text i{
	display: inline-flex !important; align-items: center; justify-content: center; vertical-align: middle;
	width: 30px; height: 30px; margin-right: 10px !important; border-radius: 50%; font-size: 13px !important; line-height: 1 !important;
	color: var(--tt-top-bar-icon) !important; background: color-mix(in srgb, var(--tt-top-bar-icon) 14%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tt-top-bar-icon) 22%, transparent);
	transition: transform .4s var(--tt-ease-bounce), background-color .3s, color .3s;
}
body.tt-modern .traveltour-top-bar-left-text a:hover i,
body.tt-modern .traveltour-top-bar-left-text span:hover > i,
body.tt-modern .traveltour-top-bar-left-text i:hover{ background: var(--tt-top-bar-icon); color: var(--tt-top-bar-bg) !important; transform: translateY(-2px) rotate(-8deg); }
body.tt-modern .traveltour-top-bar a{ transition: color .3s, opacity .3s; }
body.tt-modern .traveltour-top-bar-left-text a:hover,
body.tt-modern .traveltour-top-bar-right-text a:hover{ opacity: .85; }
/* language flags */
body.tt-modern .traveltour-top-bar img{ border-radius: 4px; vertical-align: middle; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 3px 8px rgba(0, 0, 0, .25);
	transition: transform .35s var(--tt-ease-bounce), box-shadow .3s, filter .3s; }
body.tt-modern .traveltour-top-bar a:hover img{ transform: translateY(-2px) scale(1.08); box-shadow: 0 0 0 2px var(--tt-menu-hover), 0 6px 14px rgba(0, 0, 0, .3); }
body.tt-modern .traveltour-top-bar-wpml-flag .wpml-ls-item:not(.wpml-ls-current-language) img{ filter: saturate(.75); }
/* login / sign up */
body.tt-modern .traveltour-top-bar .tourmaster-user-top-bar-signup{ border-radius: var(--tt-radius-pill); padding: 3px 14px; margin-left: 6px;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tt-top-bar-text) 35%, transparent); transition: background-color .3s, box-shadow .3s; }
body.tt-modern .traveltour-top-bar .tourmaster-user-top-bar-signup:hover{ background: color-mix(in srgb, var(--tt-top-bar-text) 12%, transparent); }

/* ---------- main header bar ---------- */
body.tt-modern .traveltour-header-wrap .traveltour-header-background{ background-image: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, .07)); }
body.tt-modern .traveltour-header-wrap.traveltour-header-style-plain,
body.tt-modern .traveltour-header-wrap.traveltour-header-style-bar{ box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 14px 30px -24px rgba(0, 0, 0, .55); }
body.tt-modern .traveltour-navigation .sf-menu > li > a{ letter-spacing: .06em; }
/* elegant underline that follows the text (works with any menu padding) */
body.tt-modern .traveltour-navigation:not(:has(.traveltour-navigation-slide-bar)) .sf-menu > li > a{
	text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 14px;
	transition: color .3s ease, text-decoration-color .35s ease, text-underline-offset .4s var(--tt-ease), transform .3s var(--tt-ease);
}
body.tt-modern .traveltour-navigation:not(:has(.traveltour-navigation-slide-bar)) .sf-menu > li > a:hover,
body.tt-modern .traveltour-navigation:not(:has(.traveltour-navigation-slide-bar)) .sf-menu > li.sfHover > a,
body.tt-modern .traveltour-navigation:not(:has(.traveltour-navigation-slide-bar)) .sf-menu > li.current-menu-item > a,
body.tt-modern .traveltour-navigation:not(:has(.traveltour-navigation-slide-bar)) .sf-menu > li.current-menu-ancestor > a{ text-decoration-color: currentColor; text-underline-offset: 8px; }
/* the slide bar (when enabled) uses the menu hover colour and a soft glow */
body.tt-modern .traveltour-navigation .traveltour-navigation-slide-bar{ border-radius: 3px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
/* dropdown chevrons flip open */
body.tt-modern .traveltour-navigation .sf-menu > li > a.sf-with-ul-pre:after{ transition: transform .4s var(--tt-ease); }
body.tt-modern .traveltour-navigation .sf-menu > li.sfHover > a.sf-with-ul-pre:after,
body.tt-modern .traveltour-navigation .sf-menu > li:hover > a.sf-with-ul-pre:after{ transform: rotate(180deg); }
/* centred logo (splitted / center-logo styles) */
body.tt-modern .traveltour-style-splitted-menu .traveltour-logo-inner,
body.tt-modern .traveltour-style-center-logo .traveltour-logo-inner{ position: relative; }
body.tt-modern .traveltour-style-splitted-menu .traveltour-logo-inner img,
body.tt-modern .traveltour-style-center-logo .traveltour-logo-inner img{ filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .18)); }
/* search / cart icons as round buttons */
body.tt-modern .traveltour-main-menu-search,
body.tt-modern .traveltour-main-menu-cart{ display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-top: -9px;
	border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tt-menu-text) 30%, transparent); cursor: pointer;
	transition: background-color .3s, box-shadow .3s, transform .3s var(--tt-ease); }
body.tt-modern .traveltour-main-menu-search:hover,
body.tt-modern .traveltour-main-menu-cart:hover{ background: color-mix(in srgb, var(--tt-menu-text) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tt-menu-text) 55%, transparent); }
body.tt-modern .traveltour-fixed-navigation .traveltour-main-menu-search,
body.tt-modern .traveltour-fixed-navigation .traveltour-main-menu-cart{ margin-top: -10px; }
/* sub menus */
body.tt-modern .sf-menu > .traveltour-normal-menu .sub-menu li > a:before{ background: var(--tt-submenu-hover); }
body.tt-modern .sf-menu > .traveltour-normal-menu .sub-menu{ border-top: 3px solid var(--tt-menu-hover); }
body.tt-modern .sf-menu > .traveltour-normal-menu .sub-menu .sub-menu{ border-top: 0; }
body.tt-modern .sf-menu > .traveltour-normal-menu .sub-menu li > a{ letter-spacing: .02em; }
/* sticky: compact, a touch more depth */
body.tt-modern .traveltour-header-wrap.traveltour-fixed-navigation{ box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .45); }

/* ---------- footer ---------- */
body.tt-modern footer > div:first-child{ position: relative; }
/* layered mountain silhouette in the footer colour */
body.tt-modern.tt-footer-ridge footer > div:first-child:before,
body.tt-modern.tt-footer-ridge footer > div:first-child:after{
	content: ""; position: absolute; left: 0; right: 0; bottom: 100%; pointer-events: none; background-color: inherit;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-position: bottom; mask-position: bottom;
}
body.tt-modern.tt-footer-ridge footer > div:first-child:before{ height: 74px; opacity: .45;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%2090'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%2090V40L90%2020L150%2034L240%206L300%2024L380%2014L450%2036L530%202L600%2022L700%2010L780%2030L860%204L930%2020L1000%2012L1090%2032L1160%208L1240%2026L1320%206L1390%2022L1440%2014V90Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%2090'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%2090V40L90%2020L150%2034L240%206L300%2024L380%2014L450%2036L530%202L600%2022L700%2010L780%2030L860%204L930%2020L1000%2012L1090%2032L1160%208L1240%2026L1320%206L1390%2022L1440%2014V90Z'/%3E%3C/svg%3E"); }
body.tt-modern.tt-footer-ridge footer > div:first-child:after{ height: 58px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%2090'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%2090V62L60%2050L120%2058L200%2030L250%2042L320%2022L400%2052L470%2040L560%208L610%2026L660%2020L740%2048L810%2030L900%2012L960%2034L1030%2026L1110%2050L1170%2036L1260%2016L1330%2040L1390%2032L1440%2046V90Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%2090'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%2090V62L60%2050L120%2058L200%2030L250%2042L320%2022L400%2052L470%2040L560%208L610%2026L660%2020L740%2048L810%2030L900%2012L960%2034L1030%2026L1110%2050L1170%2036L1260%2016L1330%2040L1390%2032L1440%2046V90Z'/%3E%3C/svg%3E"); }
body.tt-modern.tt-footer-ridge .traveltour-fixed-footer > div:first-child:before,
body.tt-modern.tt-footer-ridge .traveltour-fixed-footer > div:first-child:after{ display: none; }

/* columns & dividers */
body.tt-modern .traveltour-footer-wrapper.traveltour-with-column-divider .traveltour-footer-column{ border-color: color-mix(in srgb, var(--tt-footer-divider) 14%, transparent) !important; }
body.tt-modern .traveltour-footer-wrapper{ line-height: 1.85; }
/* widget titles with an accent bar */
body.tt-modern .traveltour-footer-wrapper .traveltour-widget-title{ position: relative; margin-bottom: 30px !important; padding-bottom: 16px; }
body.tt-modern .traveltour-footer-wrapper .traveltour-widget-title:after{
	content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; border-radius: 3px;
	background: linear-gradient(90deg, var(--tt-footer-link), color-mix(in srgb, var(--tt-footer-link) 35%, transparent));
	transition: width .6s var(--tt-ease);
}
body.tt-modern .traveltour-footer-wrapper .widget:hover .traveltour-widget-title:after{ width: 76px; }
/* lists: chevrons instead of bullets */
body.tt-modern .traveltour-footer-wrapper .widget ul{ list-style: none !important; margin-left: 0 !important; padding-left: 0 !important; }
body.tt-modern .traveltour-footer-wrapper .widget ul li{ list-style: none !important; position: relative; padding-left: 20px !important; margin-bottom: 7px; }
body.tt-modern .traveltour-footer-wrapper .widget ul li:before{
	content: "" !important; font-family: inherit !important; position: absolute !important; left: 2px !important; top: .78em !important; margin: 0 !important;
	width: 6px !important; height: 6px !important; background: none !important; border-radius: 0 !important;
	border-top: 2px solid var(--tt-footer-link) !important; border-right: 2px solid var(--tt-footer-link) !important; border-left: 0 !important; border-bottom: 0 !important;
	transform: rotate(45deg); opacity: .7; transition: transform .35s var(--tt-ease), opacity .3s, left .35s var(--tt-ease);
}
body.tt-modern .traveltour-footer-wrapper .widget ul li:hover:before{ left: 6px !important; opacity: 1; }
body.tt-modern .traveltour-footer-wrapper ul li:hover{ transform: none; }
body.tt-modern .traveltour-footer-wrapper .widget ul li a{ display: inline-block; transition: transform .35s var(--tt-ease), color .3s, background-size .45s var(--tt-ease); }
body.tt-modern .traveltour-footer-wrapper .widget ul li a:hover{ transform: translateX(3px); }
body.tt-modern .traveltour-footer-wrapper strong{ color: var(--tt-footer-title); font-weight: 600; }
body.tt-modern .traveltour-footer-wrapper p{ margin-bottom: 12px; }
/* social icons (marked by JS: links that only contain an icon) */
body.tt-modern .traveltour-footer-wrapper a.tt-icon-link,
body.tt-modern .traveltour-footer-wrapper .gdlr-core-social-network-item a{
	display: inline-flex !important; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0 8px 8px 0 !important;
	border-radius: 50%; background-image: none !important; color: var(--tt-footer-link) !important; font-size: 16px;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tt-footer-link) 30%, transparent);
	transition: background-color .35s, color .35s, transform .4s var(--tt-ease-bounce), box-shadow .35s;
}
body.tt-modern .traveltour-footer-wrapper a.tt-icon-link:hover,
body.tt-modern .traveltour-footer-wrapper .gdlr-core-social-network-item a:hover{
	background-color: var(--tt-footer-link); color: var(--tt-footer-bg) !important; transform: translateY(-4px);
	box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--tt-footer-link) 70%, transparent);
}
body.tt-modern .traveltour-footer-wrapper a.tt-icon-link i{ margin: 0 !important; }

/* copyright */
body.tt-modern .traveltour-copyright-wrapper{ border-top: 1px solid color-mix(in srgb, var(--tt-copyright-text) 12%, transparent); }
body.tt-modern .traveltour-copyright-text,
body.tt-modern .traveltour-copyright-left,
body.tt-modern .traveltour-copyright-right{ font-size: 13px; letter-spacing: .08em; opacity: .9; }
body.tt-modern .traveltour-copyright-wrapper a{ color: var(--tt-copyright-link); transition: color .3s, opacity .3s; }
body.tt-modern .traveltour-copyright-wrapper a:hover{ opacity: .75; }

/* back to top: keep clear of chat / accessibility widgets */
body.tt-modern .traveltour-footer-back-to-top-button{ bottom: var(--tt-backtop-offset, 30px) !important; }

@media screen and (max-width: 999px){
	body.tt-modern .traveltour-footer-wrapper.traveltour-with-column-divider .traveltour-footer-column{ border: 0 !important; }
}
@media screen and (max-width: 767px){
	body.tt-modern.tt-footer-ridge footer > div:first-child:before{ height: 40px; }
	body.tt-modern.tt-footer-ridge footer > div:first-child:after{ height: 30px; }
	body.tt-modern .traveltour-footer-wrapper .traveltour-footer-column{ text-align: left; }
	body.tt-modern .traveltour-footer-back-to-top-button{ bottom: calc(var(--tt-backtop-offset, 30px) * .8) !important; }
}

/* ============================== 16. Reduced motion & small screens ============================== */
@media (hover: none){
	body.tt-modern .tourmaster-tour-grid .tourmaster-tour-grid-inner:hover,
	body.tt-modern .gdlr-core-blog-grid:hover{ transform: none; }
}
@media screen and (max-width: 767px){
	:root{ --tt-reveal-distance: 24px; }
	body.tt-modern .traveltour-page-title-wrap .traveltour-page-title:after{ margin-top: 12px; }
	body.tt-modern .traveltour-footer-back-to-top-button{ right: 18px; bottom: 18px; width: 46px; height: 46px; }
	/* login / sign-up in the mobile header collapse to icons so they never overlap the logo */
	body.tt-modern .traveltour-mobile-menu-right .tourmaster-user-top-bar .tourmaster-text{ display: none; }
	body.tt-modern .traveltour-mobile-menu-right .tourmaster-user-top-bar i{ font-size: 17px; margin-right: 0; }
	body.tt-modern .traveltour-mobile-menu-right .tourmaster-user-top-bar > span{ padding: 6px; }
	body.tt-modern .traveltour-mobile-header .traveltour-logo-inner img{ max-width: max(96px, calc(100vw - 285px)); height: auto; }
}
@media (prefers-reduced-motion: reduce){
	html{ scroll-behavior: auto; }
	body.tt-modern *, body.tt-modern *:before, body.tt-modern *:after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.tt-reveal{ opacity: 1 !important; transform: none !important; filter: none !important; }
	body.tt-modern .tt-split-word > span{ transform: none !important; }
	body.tt-modern .tt-hero-bg{ transform: none !important; }
}
