/* Notos Core — WordPress / Elementor compatibility for the original design (style.css).
   Nothing here changes the design; it only removes what WordPress, Elementor and plugins add around it. */

/* Elementor wrappers around the Notos widgets: no extra spacing */
.elementor .e-con:has(> .elementor-widget[class*="elementor-widget-notos-"]) { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; }
.elementor-widget[class*="elementor-widget-notos-"] { width: 100%; max-width: 100%; margin: 0 !important; }
.elementor-widget[class*="elementor-widget-notos-"] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor .notos img, body.notos .elementor img { border-radius: inherit; }
body.notos .elementor img { height: auto; }
body.notos .hero__bg img, body.notos .page-hero__bg img, body.notos .cta-banner__bg img, body.notos .why__media img,
body.notos .tc-tour-card__image img, body.notos .story__media img { height: 100%; }
body.notos .elementor a { box-shadow: none; }
body.notos .site-main, body.notos .page-content { margin: 0; padding: 0; max-width: none; }

/* Header & Footer Builder wrappers: let the design's fixed header and footer behave as on the static site */
#masthead, .ehf-header #masthead { position: static; z-index: 60; }
.admin-bar .site-header { top: 32px; }
.admin-bar .menu-panel { padding-top: calc(142px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
/* logo keeps its natural width inside the footer grid */
.footer-about .logo { justify-self: start; }
footer#colophon, .ehf-footer #colophon { padding: 0; margin: 0; }
.site-footer .footer-about a:hover, .site-footer .footer-contact a { color: inherit; text-decoration: none; }

/* Sticky pill navigation (the widget wrapper is the sticky element in Elementor) */
.elementor-widget-notos-subnav { position: sticky !important; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 30; transition: top .6s var(--ease); pointer-events: none; }
.elementor-widget-notos-subnav .subnav { position: static; pointer-events: none; }
.admin-bar .elementor-widget-notos-subnav { top: 108px; }
body.header-hidden .elementor-widget-notos-subnav { top: calc(12px + env(safe-area-inset-top, 0px)); }
.admin-bar.header-hidden .elementor-widget-notos-subnav { top: 44px; }
@media (max-width: 1100px) { .elementor-widget-notos-subnav { top: calc(70px + env(safe-area-inset-top, 0px)); } }

/* Buttons inside the design: undo theme/kit button styling */
body.notos .burger, body.notos .tc-arrow, body.notos .dots button, body.notos .circle-btn { font: inherit; line-height: 1; text-transform: none; letter-spacing: 0; box-shadow: none; }
body.notos .dots button:hover, body.notos .dots button:focus { background: transparent; }
body.notos .dots button.is-active:hover { background: var(--ink); }
body.notos .burger:hover, body.notos .burger:focus { background: #fff; }

/* Booking system embed (when a provider's code is pasted in Settings → Notos Site) */
.notos-booking-embed { width: 100%; }

/* Destinations grid (Destinations page) — uses the design's tour card */
.notos-dest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.notos-dest-grid .tc-tour-card { scroll-snap-align: none; }
@media (max-width: 1100px) { .notos-dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .notos-dest-grid { grid-template-columns: minmax(0, 1fr); } }
.tours-head { display: grid; justify-items: center; text-align: center; gap: 16px; margin-bottom: 40px; }
.tours-head .lead { text-align: center; }

/* ---------- WPForms inside the design's form card ---------- */
.notos-wpforms.form { display: block; }
.notos-wpforms .wpforms-container { margin: 0 !important; }
.notos-wpforms .wpforms-field-container { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.notos-wpforms .wpforms-field { padding: 0 !important; margin: 0 !important; min-width: 0; }
.notos-wpforms .wpforms-field-textarea, .notos-wpforms .wpforms-field-checkbox, .notos-wpforms .wpforms-field-name { grid-column: 1 / -1; }
.notos-wpforms .wpforms-field-label { font-family: var(--f-body) !important; font-size: .78rem !important; font-weight: 600 !important; color: var(--ink) !important; margin: 0 0 6px !important; }
.notos-wpforms .wpforms-required-label { color: var(--orange) !important; }
.notos-wpforms input[type=text], .notos-wpforms input[type=email], .notos-wpforms input[type=tel], .notos-wpforms select, .notos-wpforms textarea {
	width: 100% !important; max-width: none !important; height: auto !important; font-family: var(--f-body) !important; font-size: .95rem !important; color: var(--ink) !important;
	background: #fbfcfe !important; border: 1px solid var(--line) !important; border-radius: var(--r-sm) !important; padding: 12px 14px !important; box-shadow: none !important; transition: border-color .3s, box-shadow .3s;
}
.notos-wpforms textarea { min-height: 130px !important; resize: vertical; }
.notos-wpforms input:focus, .notos-wpforms select:focus, .notos-wpforms textarea:focus { outline: none !important; border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(242, 107, 29, .15) !important; }
.notos-wpforms .wpforms-field-checkbox ul { margin: 0 !important; padding: 0 !important; list-style: none; }
.notos-wpforms .wpforms-field-checkbox li { display: flex !important; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); }
.notos-wpforms .wpforms-field-checkbox input { margin-top: 4px !important; accent-color: var(--orange); }
.notos-wpforms .wpforms-submit-container { padding: 18px 0 0 !important; margin: 0 !important; }
.notos-wpforms button[type=submit], .newsletter-wp button[type=submit] {
	position: relative; display: inline-flex !important; align-items: center; justify-content: center; height: auto !important; padding: .95em 1.6em !important; border: 0 !important; border-radius: var(--r-sm) !important;
	background: var(--ink) !important; color: #fff !important; font-family: var(--f-body) !important; font-weight: 700 !important; font-size: .74rem !important; letter-spacing: .08em !important; text-transform: uppercase !important;
	box-shadow: none !important; transition: background-color .45s var(--ease) !important;
}
.notos-wpforms button[type=submit]:hover, .newsletter-wp button[type=submit]:hover { background: var(--orange) !important; }
.notos-wpforms .wpforms-confirmation-container-full, .newsletter-wp .wpforms-confirmation-container-full { background: var(--band) !important; border: 0 !important; border-radius: var(--r-sm); color: var(--ink) !important; padding: 16px !important; }
.notos-wpforms .wpforms-error, .newsletter-wp .wpforms-error { color: #c0392b !important; font-size: .8rem !important; }
/* WPForms field size classes (small/medium) must not shrink fields inside the design grid */
.notos-wpforms .wpforms-field input:not([type=checkbox]):not([type=radio]), .notos-wpforms .wpforms-field select, .notos-wpforms .wpforms-field textarea, .notos-wpforms .wpforms-field-row, .notos-wpforms .choices { width: 100% !important; max-width: none !important; }
@media (max-width: 600px) { .notos-wpforms .wpforms-field-container { grid-template-columns: 1fr; } }

/* Newsletter (footer) */
.newsletter-wp { margin-block: 4px 18px; }
.newsletter-wp .wpforms-container { margin: 0 !important; }
.newsletter-wp .wpforms-form { display: flex; gap: 8px; align-items: flex-start; }
.newsletter-wp .wpforms-field-container { flex: 1; min-width: 0; }
.newsletter-wp .wpforms-field { padding: 0 !important; }
.newsletter-wp .wpforms-submit-container { padding: 0 !important; margin: 0 !important; }
.newsletter-wp input[type=email] { width: 100% !important; max-width: none !important; height: auto !important; font: inherit !important; font-size: .85rem !important; border: 1px solid var(--line) !important; border-radius: var(--r-sm) !important; padding: 11px 12px !important; background: #fff !important; }
.newsletter-wp input[type=email]:focus { outline: none !important; border-color: var(--orange) !important; box-shadow: none !important; }
.newsletter-wp button[type=submit] { padding: .8em 1.3em !important; }

/* ---------- Single destination ---------- */
.notos-single-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 56px); align-items: start; }
.notos-single-details { margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-radius: var(--r-md); background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(15,30,60,.3); overflow: hidden; }
.notos-single-details div { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.notos-single-details dt { font-size: var(--t-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.notos-single-details dd { margin: 4px 0 0; font-weight: 600; }
.notos-single-content > * + * { margin-top: 1em; }
.notos-single-card { position: sticky; top: 110px; display: grid; gap: 12px; padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.notos-single-price { display: flex; align-items: baseline; gap: 8px; color: var(--ink-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.notos-single-price strong { color: var(--orange); font-family: var(--f-head); font-size: 2.2rem; font-weight: 600; letter-spacing: 0; }
.notos-single-card .btn { width: 100%; }
.btn--ghost { --bg: #fff; --fg: var(--ink); --hover: var(--band); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .notos-single-body { grid-template-columns: minmax(0, 1fr); } .notos-single-card { position: static; } }

/* Pages not built with the Notos widgets (blog, 404, policies): keep content clear of the fixed header */
body.notos:not(.elementor-page):not(.single-tour) .site-main { padding: 130px 24px 64px; max-width: 1240px; margin: 0 auto; }

/* ---------- Destination page: itinerary text & photo gallery ---------- */
.notos-single-content { color: var(--ink-soft); max-width: 72ch; }
.notos-single-content > * + * { margin-top: 1em; }
.notos-single-content h2 { margin-top: 2.2em; color: var(--ink); font-family: var(--f-head); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 500; }
.notos-single-content h3 { margin-top: 1.8em; color: var(--ink); font-family: var(--f-head); font-size: 1.05rem; font-weight: 600; }
.notos-single-content h2 + *, .notos-single-content h3 + * { margin-top: .6em; }
.notos-single-content ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.notos-single-content ul li { position: relative; padding-left: 26px; }
.notos-single-content ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.notos-single-content em { font-style: normal; font-size: .9rem; color: var(--ink-soft); display: block; padding: 12px 16px; background: var(--band); border-radius: var(--r-sm); }
.notos-single-content .gallery { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 2em 0 !important; max-width: none; }
.notos-single-content .gallery br { display: none; }
.notos-single-content .gallery-item { margin: 0 !important; width: auto !important; max-width: none !important; padding: 0 !important; }
.notos-single-content .gallery-icon a { display: block; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.notos-single-content .gallery-icon img { width: 100% !important; height: 100% !important; object-fit: cover; border: 0 !important; transition: transform .6s var(--ease-out); }
.notos-single-content .gallery-icon a:hover img { transform: scale(1.05); }
.notos-single-content .gallery-caption { display: none; }
@media (max-width: 760px) { .notos-single-content .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Destination key facts (replaces the boxed grid) ---------- */
.notos-facts { margin: 0 0 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.notos-fact { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.notos-fact__icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--band); color: var(--ink); display: grid; place-items: center; transition: background .3s, color .3s; }
.notos-fact:hover .notos-fact__icon { background: var(--orange); color: #fff; }
.notos-fact__icon svg { width: 18px; height: 18px; }
.notos-fact dt { align-self: end; font-size: var(--t-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.3; }
.notos-fact dd { align-self: start; margin: 2px 0 0; font-family: var(--f-head); font-size: 1rem; font-weight: 500; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 600px) { .notos-facts { grid-template-columns: minmax(0, 1fr); } }

/* Key facts inside the destination hero */
.notos-facts--hero { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 10px 0 0; padding: 0; border: 0; max-width: 620px; }
.notos-facts--hero .notos-fact { grid-template-columns: 36px auto; column-gap: 12px; padding: 0; border: 0; max-width: 320px; }
.notos-facts--hero .notos-fact__icon { width: 36px; height: 36px; background: rgba(255, 255, 255, .85); box-shadow: 0 6px 18px -10px rgba(15, 30, 60, .35); }
.notos-facts--hero .notos-fact__icon svg { width: 16px; height: 16px; }
.notos-facts--hero .notos-fact dd { font-size: .95rem; }
.page-hero:has(.notos-facts--hero) .page-hero__inner { padding-bottom: 56px; }
@media (max-width: 600px) { .notos-facts--hero { gap: 12px; } .notos-facts--hero .notos-fact { max-width: none; width: 100%; } }

/* Hero key facts: one row */
.notos-facts--hero { flex-wrap: nowrap; gap: 0; width: 100%; max-width: none; margin-top: 18px; padding: 14px 6px; border-radius: var(--r-md); background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -28px rgba(15, 30, 60, .45); }
.notos-facts--hero .notos-fact { flex: 1 1 auto; min-width: 0; max-width: none; padding: 0 16px; border-left: 1px solid var(--line); }
.notos-facts--hero .notos-fact:first-child { border-left: 0; }
.notos-facts--hero .notos-fact__icon { background: var(--band); box-shadow: none; }
.notos-facts--hero .notos-fact dd { font-size: .9rem; }
@media (max-width: 900px) {
	.notos-facts--hero { flex-wrap: wrap; row-gap: 14px; }
	.notos-facts--hero .notos-fact { flex: 1 1 45%; border-left: 0; }
}
@media (max-width: 520px) { .notos-facts--hero .notos-fact { flex-basis: 100%; } }

/* Hero key facts: short facts stay on one line, places and tour type share the rest */
.notos-facts--hero .notos-fact { flex: 0 0 auto; }
.notos-facts--hero .notos-fact dd, .notos-facts--hero .notos-fact dt { white-space: nowrap; }
.notos-facts--hero .notos-fact--pin, .notos-facts--hero .notos-fact--tag { flex: 1 1 0; min-width: 150px; }
.notos-facts--hero .notos-fact--pin dd, .notos-facts--hero .notos-fact--tag dd { white-space: normal; }
@media (max-width: 900px) { .notos-facts--hero .notos-fact, .notos-facts--hero .notos-fact--pin, .notos-facts--hero .notos-fact--tag { flex: 1 1 45%; } .notos-facts--hero .notos-fact dd { white-space: normal; } }
@media (max-width: 520px) { .notos-facts--hero .notos-fact, .notos-facts--hero .notos-fact--pin, .notos-facts--hero .notos-fact--tag { flex-basis: 100%; } }

/* Hero key facts: final one-row sizing (overrides the rules above) */
.notos-facts--hero .notos-fact, .notos-facts--hero .notos-fact--pin, .notos-facts--hero .notos-fact--tag { flex: 1 1 auto; min-width: 0; padding: 0 12px; }
.notos-facts--hero .notos-fact dt, .notos-facts--hero .notos-fact dd { white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: none; }
.notos-facts--hero .notos-fact--pin, .notos-facts--hero .notos-fact--tag { flex-grow: 2; }
.notos-facts--hero .notos-fact dt { letter-spacing: .06em; }
@media (max-width: 1100px) { .notos-facts--hero .notos-fact { grid-template-columns: 30px auto; column-gap: 10px; } .notos-facts--hero .notos-fact__icon { width: 30px; height: 30px; } .notos-facts--hero .notos-fact__icon svg { width: 14px; height: 14px; } .notos-facts--hero .notos-fact dd { font-size: .85rem; } }
@media (max-width: 900px) { .notos-facts--hero .notos-fact, .notos-facts--hero .notos-fact--pin, .notos-facts--hero .notos-fact--tag { flex: 1 1 45%; } }
@media (max-width: 520px) { .notos-facts--hero .notos-fact, .notos-facts--hero .notos-fact--pin, .notos-facts--hero .notos-fact--tag { flex-basis: 100%; } }

/* Hero key facts: short facts never wrap; places & tour type absorb the remaining width */
@media (min-width: 901px) {
	.notos-facts--hero .notos-fact { flex: 0 0 auto; }
	.notos-facts--hero .notos-fact dt, .notos-facts--hero .notos-fact dd { white-space: nowrap; }
	.notos-facts--hero .notos-fact--pin, .notos-facts--hero .notos-fact--tag { flex: 1 1 0; min-width: 0; }
	.notos-facts--hero .notos-fact--pin dd, .notos-facts--hero .notos-fact--tag dd { white-space: normal; }
}

/* ---------- Text section widget ---------- */
.notos-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.notos-text--left .notos-text__media { order: -1; }
.notos-text--right .notos-text__media { order: 2; }
.notos-text--none { grid-template-columns: minmax(0, 1fr); max-width: 860px; text-align: center; }
.notos-text--none .notos-text__body { justify-items: center; }
.notos-text__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; box-shadow: var(--shadow); }
.notos-text__media img { width: 100%; height: 100% !important; object-fit: cover; }
.notos-text__copy { display: grid; gap: 16px; }
.notos-text__copy .muted { max-width: 62ch; }
.notos-text--none .notos-text__copy .muted, .notos-text--none .notos-text__copy .lead { margin-inline: auto; }
.notos-text__highlight { font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.notos-text__quote { margin: 8px 0 0; padding: 18px 22px; border-left: 3px solid var(--orange); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--band); font-family: var(--f-head); font-size: 1.05rem; font-weight: 500; color: var(--ink); line-height: 1.5; }
.section--band .notos-text__quote { background: #fff; }
.notos-text--none .notos-text__quote { border-left: 0; border-top: 3px solid var(--orange); border-radius: 0 0 var(--r-sm) var(--r-sm); }
@media (max-width: 860px) { .notos-text { grid-template-columns: minmax(0, 1fr); } .notos-text__media { order: -1 !important; aspect-ratio: 4 / 3; } }

/* ---------- Language switcher (Polylang) ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; margin-right: 4px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; }
.lang-switch a { padding: 6px 8px; border-radius: 6px; color: var(--ink-soft); text-decoration: none; transition: color .3s, background .3s; }
.lang-switch a:hover { color: var(--ink); background: var(--band); }
.lang-switch a.is-current { color: var(--ink); }
.lang-switch a + a::before { content: ""; }
.menu-panel__foot .lang-switch { margin: 0 0 8px; font-size: .9rem; }
@media (max-width: 600px) { .header-actions .lang-switch { display: none; } }

/* logo image size (header / footer) */
a.logo img.logo-img { display: block; width: auto !important; max-width: none !important; }
a.logo img.logo-img--head { height: 58px !important; }
a.logo img.logo-img--foot { height: 64px !important; }
@media (max-width: 767px) { a.logo img.logo-img--head { height: 46px !important; } a.logo img.logo-img--foot { height: 56px !important; } }
