/*
Theme Name: iSanook Main
Theme URI: https://isanookhotels.com/
Description: Theme for the iSanook Hotels main brand website. Child theme of Hello Elementor; layouts, header and footer are built in Elementor.
Author: iSanook Hotels
Author URI: https://isanookhotels.com/
Template: hello-elementor
Version: 1.21.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: isanook-main
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, translation-ready
*/

/*
 * Revision 2 design (Figma "iSanook Revision 2"). Colors, fonts and sizes are Elementor global
 * variables (--bg-page, --text-primary, --font-display…) and most styling lives in Elementor global
 * classes. This file only holds what classes cannot express: pseudo-elements, loop wrappers and
 * script-driven states.
 */

body {
	background-color: var(--bg-page, #F7F5F1);
	color: var(--text-primary, #1C1B19);
	font-family: var(--font-body, Figtree), Figtree, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Italic second line in display headings, e.g. "Find your <em>kind of stay.</em>" */
.t-display em,
.t-h1 em,
.t-h2 em {
	font-style: italic;
}

/* Arrow icons after buttons and text links (Figma Icon/arrow-right, Icon/arrow-up-right). */
.has-arrow::after,
.has-arrow-out::after,
.isk-hero__btn::after,
.icon-arrow::before {
	content: "";
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: var(--isk-icon) no-repeat center / 16px 16px;
	mask: var(--isk-icon) no-repeat center / 16px 16px;
}

.has-arrow::after,
.isk-hero__btn::after,
.icon-arrow::before {
	--isk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2.5 8h11M9.5 4l4 4-4 4'/%3E%3C/svg%3E");
}

.has-arrow-out::after {
	--isk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M4.5 11.5l7-7M5.5 4.5h6v6'/%3E%3C/svg%3E");
}

.has-arrow,
.has-arrow-out {
	display: inline-flex;
	align-items: center;
}

.icon-arrow {
	font-size: 0;
}

/* Feature rows: arrow at the end of each row. */
.feature-row::after {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background-color: var(--text-secondary, #6E6A64);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M4.5 11.5l7-7M5.5 4.5h6v6'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M4.5 11.5l7-7M5.5 4.5h6v6'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
}

/* Eyebrow with a 40px rule before / after (Figma Eyebrow Line=Before / After). */
.eyebrow-line::before,
.eyebrow-line-after::after {
	content: "";
	flex: 0 0 40px;
	width: 40px;
	height: 1px;
	background-color: currentColor;
}

/* Hotel highlights: accent square bullet. */
.highlight::before {
	content: "";
	flex: 0 0 6px;
	width: 6px;
	height: 6px;
	background-color: var(--property-accent, #FFD700);
}

/* Per-hotel brand accent (class added by the theme script from the card's .hotel-loc text). */
.accent-bangkok {
	--property-accent: var(--accent-bangkok, #FFD700);
}

.accent-hua-hin {
	--property-accent: var(--accent-hua-hin, #2F7F99);
}

.accent-khao-yai {
	--property-accent: var(--accent-khao-yai, #77563E);
}

/* property/on-accent: white text on the darker accents. */
.accent-hua-hin .tag-accent,
.accent-khao-yai .tag-accent {
	color: var(--text-inverse, #FFFFFF);
}

/* Empty shortcode slots: status tags for open hotels ([hotel_terms exclude="open"]), unused pills. */
.tag:empty,
.highlight:empty,
.t-link:empty,
.btn:empty,
.t-small:empty,
.hotels-list .pill:empty {
	display: none;
}

/*
 * Home banner slider ([isanook_hero_slider], inc/hero-slider.php). The Elementor hero holds a hidden
 * ".isk-hero-host" with the shortcode; once the shortcode renders, the host shows and the hero section
 * drops its own padding.
 */
.elementor .isk-hero-host:has(.isk-hero) {
	display: block;
	width: 100%;
	padding: 0;
}

.elementor .e-con:has(> .isk-hero-host .isk-hero) {
	display: block;
	min-height: 0;
	padding: 0;
}

.isk-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--bg-inverse, #1C2421);
	color: var(--text-inverse, #FFFFFF);
}

.isk-hero__track {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	cursor: grab;
	outline: none;
}

.isk-hero__track::-webkit-scrollbar {
	display: none;
}

.isk-hero__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}

.isk-hero__slide {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 0 0 100%;
	min-height: 640px;
	padding: 150px var(--gutter, 80px) 130px;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	box-sizing: border-box;
}

.isk-hero__media,
.isk-hero__overlay {
	position: absolute;
	inset: 0;
	margin: 0;
}

.isk-hero .isk-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	-webkit-user-drag: none;
	user-select: none;
}

.isk-hero__overlay {
	background-image: linear-gradient(90deg, rgba(18, 23, 20, 0.78) 0%, rgba(18, 23, 20, 0.35) 55%, rgba(18, 23, 20, 0.1) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 25%);
}

.isk-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	max-width: var(--container-max, 1280px);
	margin: 0 auto;
}

.isk-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-family: var(--font-body, Figtree), Figtree, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.isk-hero__eyebrow::before {
	content: "";
	flex: 0 0 40px;
	height: 1px;
	background-color: currentColor;
}

.isk-hero__title {
	max-width: 760px;
	margin: 0;
	color: inherit;
	font-family: var(--font-display, Newsreader), Newsreader, serif;
	font-size: 80px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.02em;
}

.isk-hero__title em {
	font-style: italic;
}

.isk-hero__text {
	max-width: 520px;
	margin: 0;
	font-family: var(--font-body, Figtree), Figtree, sans-serif;
	font-size: 18px;
	line-height: 1.6;
}

.isk-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	padding: 16px 32px;
	border: 1px solid var(--bg-surface, #FFFFFF);
	background-color: var(--bg-surface, #FFFFFF);
	color: var(--text-primary, #1C1B19);
	font-family: var(--font-body, Figtree), Figtree, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s;
}

.isk-hero__btn:hover,
.isk-hero__btn:focus-visible {
	border-color: var(--bg-subtle, #EEE9E1);
	background-color: var(--bg-subtle, #EEE9E1);
	color: var(--text-primary, #1C1B19);
}

/* Line indicators (centred): one line per slide, the current one solid; each is a button that goes to its slide. */
.isk-hero__dots {
	position: absolute;
	right: 0;
	bottom: 48px;
	left: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 8px;
	max-width: var(--container-max, 1280px);
	margin: 0 auto;
	padding: 0 var(--gutter, 80px);
	box-sizing: content-box;
	pointer-events: none;
}

.isk-hero .isk-hero__dot {
	flex: 0 0 40px;
	height: 26px;
	margin: 0;
	padding: 12px 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	background-image: linear-gradient(currentColor, currentColor);
	background-clip: content-box;
	color: inherit;
	opacity: 0.4;
	cursor: pointer;
	pointer-events: auto;
	box-sizing: border-box;
	transition: opacity 0.2s, flex-basis 0.3s;
}

.isk-hero .isk-hero__dot:hover,
.isk-hero .isk-hero__dot:focus {
	background-color: transparent;
	color: inherit;
}

.isk-hero .isk-hero__dot:hover {
	opacity: 0.75;
}

.isk-hero .isk-hero__dot[aria-current="true"] {
	flex-basis: 64px;
	opacity: 1;
}

.isk-hero .isk-hero__dot:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 2px;
}

@media (max-width: 1024px) {
	.isk-hero__slide {
		padding: 140px 40px 120px;
	}

	.isk-hero__title {
		font-size: 64px;
	}

	.isk-hero__dots {
		bottom: 40px;
		padding: 0 40px;
	}
}

@media (max-width: 767px) {
	.isk-hero__slide {
		min-height: 600px;
		padding: 128px 20px 96px;
	}

	.isk-hero__title {
		font-size: 48px;
	}

	.isk-hero__dots {
		bottom: 32px;
		padding: 0 20px;
	}

	.isk-hero__text {
		font-size: 17px;
	}
}

/* Horizontal carousel (Home offers): hide the scrollbar, keep swipe. */
.carousel-track::-webkit-scrollbar {
	display: none;
}

/* Our Hotels listing (loop layout with the "hotels-list" class): zig-zag rows. */
.hotels-list > :nth-child(even) > article {
	flex-direction: row-reverse;
}

/* Newsletter / contact form controls on dark and light bands. */
.e-form input[type="email"],
.e-form input[type="text"],
.e-form input[type="tel"],
.e-form select,
.e-form textarea {
	border-radius: 0;
	font-family: inherit;
}

@media (max-width: 767px) {
	.hotels-list > :nth-child(even) > article {
		flex-direction: column;
	}
}

/* Footer link lists (Our Hotels, Quick Links): links spaced like the lines of the column 1 tagline (16 px,
   line-height 1.65 = 26.4 px, no extra gap) and 20 px under the column title, like the Newsletter column.
   Applies to links as paragraphs, the WordPress menu and the hotels loop. */
.elementor .footer-col:has(> .footer-link, .isk-menu--footer, > .e-collection-loop-base) {
	row-gap: 0;
}

.elementor .footer-col:has(> .footer-link, .isk-menu--footer, > .e-collection-loop-base) > :first-child {
	margin-bottom: 20px;
}

.elementor .footer-col .e-collection-loop-base,
.elementor .footer-col .e-collection-loop-base > * {
	row-gap: 0;
}

/* Phones: the tagline (t-body) is 15 px / 1.65 there, so the footer links follow it. */
@media (max-width: 767px) {
	.elementor .footer-col .footer-link,
	.elementor .footer-col .isk-menu--footer {
		font-size: 15px;
		line-height: 1.65;
	}
}

/* Footer newsletter: the success / error message on its own line under the email box (not squeezed inside it). */
.elementor form[data-form-name="Newsletter"] {
	position: relative;
}

.elementor form[data-form-name="Newsletter"] > :is([data-element_type="e-form-success-message"], [data-element_type="e-form-error-message"]) {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

.elementor form[data-form-name="Newsletter"] > :is([data-element_type="e-form-success-message"], [data-element_type="e-form-error-message"]) p {
	margin: 0;
	padding: 0;
	color: var(--text-inverse-muted, #BDB5A8);
	font-size: 14px;
	line-height: 1.65;
}

/* Room for the message line, only while it shows. */
.elementor form[data-form-name="Newsletter"]:is(.form-state-success, .form-state-error) {
	margin-bottom: 36px;
}

/* reCAPTCHA v2 checkbox (inc/recaptcha.php), above the Contact form's submit row. */
.isk-recaptcha {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 78px;
}

.isk-recaptcha__hint {
	margin: 0;
	font-family: var(--font-body, Figtree, sans-serif);
	font-size: 13px;
	line-height: 1.4;
	color: #B3261E;
}

@media (max-width: 360px) {
	.isk-recaptcha__widget {
		transform: scale(0.9);
		transform-origin: 0 0;
	}
}

/* Language switcher ([isk_language_switcher], inc/language-switcher.php), Figma "Language Switch" 7:118:
   "EN | TH" in the t-btn type, current language in full colour, divider and other languages muted. */
.isk-lang {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	color: var(--text-primary, #1C1B19);
	font-family: var(--font-body, Figtree, sans-serif);
	font-size: var(--font-size-button, 12px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
}

.isk-lang__item {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.isk-lang__sep,
.isk-lang__item:not(.is-active) {
	color: var(--text-secondary, #6E6A64);
}

.isk-lang__item:not(.is-active):hover,
.isk-lang__item:not(.is-active):focus-visible {
	color: var(--text-primary, #1C1B19);
}

.isk-lang--light {
	color: var(--text-inverse, #FFFFFF);
}

.isk-lang--light .isk-lang__sep,
.isk-lang--light .isk-lang__item:not(.is-active) {
	color: var(--text-inverse-muted, #BDB5A8);
}

.isk-lang--light .isk-lang__item:not(.is-active):hover,
.isk-lang--light .isk-lang__item:not(.is-active):focus-visible {
	color: var(--text-inverse, #FFFFFF);
}

/* Mobile menu (Figma 108:4244): t-small type under the Book button. */
.isk-lang--menu {
	gap: 8px;
	font-size: var(--font-size-small, 13px);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
}

.isk-lang--menu.isk-lang--light .isk-lang__sep,
.isk-lang--menu.isk-lang--light .isk-lang__item:not(.is-active) {
	color: var(--text-inverse, #FFFFFF);
}

/* Menus ([isk_menu], inc/menus.php): WordPress menus in the header, mobile menu and footer, styled like the links
   they replaced (header t-nav, mobile menu t-h3, footer footer-link, legal row t-small footer-link). */
.isk-menu {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.isk-menu li {
	margin: 0;
	padding: 0;
}

.isk-menu a {
	color: inherit;
	text-decoration: none;
}

.isk-menu--header {
	flex-direction: row;
	align-items: center;
	gap: 32px;
	color: var(--text-primary, #1C1B19);
	font-family: var(--font-body, Figtree, sans-serif);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.isk-menu--light {
	color: var(--text-inverse, #FFFFFF);
}

.isk-menu--mobile {
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	color: var(--bg-surface, #FFFFFF);
	font-family: var(--font-display, Newsreader, serif);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.005em;
}

.isk-menu--footer,
.isk-menu--legal {
	font-family: var(--font-body, Figtree, sans-serif);
}

.isk-menu--footer {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	font-size: 16px;
	line-height: 1.65;
}

.isk-menu--legal {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px 28px;
	font-size: 13px;
	line-height: 1.5;
}

.isk-menu--footer a,
.isk-menu--legal a {
	color: var(--text-inverse-muted, #BDB5A8);
	transition: color 0.2s;
}

.isk-menu--footer a:hover,
.isk-menu--footer a:focus-visible,
.isk-menu--legal a:hover,
.isk-menu--legal a:focus-visible {
	color: var(--text-inverse, #FFFFFF);
}

@media (max-width: 767px) {
	.isk-menu--header {
		font-size: 16px;
	}

	.isk-menu--mobile {
		font-size: 24px;
	}
}

/* Photo Gallery ([isk_photo_gallery], inc/photo-gallery.php), as on the hotel sites plus a second filter row:
   hotel chips, then the chosen hotel's category chips; masonry grid; Elementor lightbox. */
.isk-photo-gallery {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.isk-photo-gallery__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.isk-photo-gallery__filters {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.isk-gallery-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.isk-photo-gallery .chip {
	padding: 10px 20px;
	border: 1px solid var(--border-default, #E3DED6);
	border-radius: 0;
	background-color: var(--bg-surface, #FFFFFF);
	color: var(--text-primary, #1C1B19);
	font-family: var(--font-body, Figtree, sans-serif);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	cursor: pointer;
}

/* Second row (categories): lighter, so the hotel row reads first. */
.isk-gallery-filter--cats .chip {
	padding: 8px 16px;
	border-color: transparent;
	background-color: transparent;
	color: var(--text-secondary, #5F5A52);
}

.isk-photo-gallery .chip:hover {
	border-color: var(--text-primary, #1C1B19);
}

.isk-photo-gallery .chip.chip-active {
	border-color: var(--bg-inverse, #1C2421);
	background-color: var(--bg-inverse, #1C2421);
	color: var(--text-inverse, #FFFFFF);
}

.isk-photo-gallery .chip[hidden],
.isk-photos .isk-photo[hidden] {
	display: none;
}

.isk-photo-gallery .filter-count {
	margin: 0;
	font-family: var(--font-body, Figtree, sans-serif);
	font-size: 13px;
	color: var(--text-secondary, #5F5A52);
}

.isk-photos {
	column-count: 3;
	column-gap: 16px;
}

.isk-photo {
	display: block;
	margin: 0 0 16px;
	overflow: hidden;
	break-inside: avoid;
	background-color: var(--bg-subtle, #EAE5DD);
	cursor: zoom-in;
}

.isk-photos .isk-photo img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.6s ease;
}

.isk-photo:hover img {
	transform: scale(1.03);
}

@media (max-width: 1024px) {
	.isk-photos {
		column-count: 2;
	}
}

@media (max-width: 767px) {
	.isk-photos {
		column-gap: 8px;
	}

	.isk-photo {
		margin-bottom: 8px;
	}

	.isk-photo-gallery .chip {
		padding: 8px 14px;
	}
}

/*
 * Group offers ([isk_offers], inc/network-offers.php): the Home carousel and the Offers page grid. Same look as the
 * Elementor offer cards (card, offer-img, offer-body, tag-accent, t-h3, t-body, offer-footer, t-price, btn-primary).
 * Elementor only prints a global class's CSS on pages that use it, so the cards carry their own styles here.
 */
.isk-offers--grid {
	display: flex;
	flex-direction: column;
	gap: 48px;
	width: 100%;
}

.isk-offers__bar {
	display: flex;
	flex-direction: row;
	gap: 16px;
	justify-content: space-between;
	align-items: center;
}

.isk-offers__chips {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

.isk-offers .isk-offers__chip {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 12px 20px;
	border: 1px solid var(--border-default, #E4E0D8);
	border-radius: 0;
	background-color: var(--bg-surface, #FFFFFF);
	color: var(--text-primary, #1C1B19);
	font-family: var(--font-body, Figtree), sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.isk-offers .isk-offers__chip:hover,
.isk-offers .isk-offers__chip:focus-visible {
	border-color: var(--border-strong, #1C1B19);
	background-color: var(--bg-surface, #FFFFFF);
	color: var(--text-primary, #1C1B19);
}

.isk-offers .isk-offers__chip.chip-active,
.isk-offers .isk-offers__chip.chip-active:hover,
.isk-offers .isk-offers__chip.chip-active:focus-visible {
	border-color: var(--action-primary, #1C1B19);
	background-color: var(--action-primary, #1C1B19);
	color: var(--text-inverse, #FFFFFF);
}

.isk-offers__count,
.isk-offers__empty {
	margin: 0;
	color: var(--text-secondary, #6E6A64);
	font-family: var(--font-body, Figtree), sans-serif;
	font-size: 13px;
	line-height: 1.5;
}

.isk-offers__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	width: 100%;
}

.isk-offers--carousel {
	display: flex;
	flex-direction: row;
	gap: 32px;
	width: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.isk-offers--carousel {
	cursor: grab;
	overscroll-behavior-x: contain;
}

.isk-offers--carousel.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}

.isk-offers--carousel img,
.isk-offers--carousel a {
	-webkit-user-drag: none;
}

.isk-offers--carousel .isk-offer {
	flex: 0 0 400px;
	width: 400px;
	scroll-snap-align: start;
}

/* Home offers carousel arrows: dark square buttons outside the left and right edges, centred on the cards; hidden on phones. */
.isk-offers-slider {
	position: relative;
	width: 100%;
}

.isk-offers-slider .isk-offers__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--action-primary, #1C2421);
	border-radius: 0;
	background-color: var(--action-primary, #1C2421);
	color: var(--text-inverse, #FFFFFF);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.isk-offers-slider .isk-offers__arrow::before {
	content: "";
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2.5 8h11M9.5 4l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2.5 8h11M9.5 4l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
}

.isk-offers-slider .isk-offers__arrow--prev {
	left: -64px;
}

.isk-offers-slider .isk-offers__arrow--prev::before {
	transform: scaleX(-1);
}

.isk-offers-slider .isk-offers__arrow--next {
	right: -64px;
}

.isk-offers-slider .isk-offers__arrow:hover,
.isk-offers-slider .isk-offers__arrow:focus-visible {
	border-color: var(--action-primary-hover, #26302C);
	background-color: var(--action-primary-hover, #26302C);
	color: var(--text-inverse, #FFFFFF);
}

.isk-offers-slider .isk-offers__arrow:focus:not(:focus-visible) {
	border-color: var(--action-primary, #1C2421);
	background-color: var(--action-primary, #1C2421);
	color: var(--text-inverse, #FFFFFF);
}

/* Tablet: the 40 px side gutter is too narrow for the arrows, so they sit just inside the carousel. */
@media (max-width: 1024px) {
	.isk-offers-slider .isk-offers__arrow--prev {
		left: 8px;
	}

	.isk-offers-slider .isk-offers__arrow--next {
		right: 8px;
	}
}

.isk-offer {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 1px solid var(--border-default, #E4E0D8);
	border-radius: 0;
	background-color: var(--bg-surface, #FFFFFF);
}

.isk-offers .isk-offer .isk-offer__img {
	display: block;
	flex: 0 0 auto;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.isk-offer__img--empty {
	background-color: var(--bg-subtle, #EFEBE4);
}

.isk-offer__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 24px 28px 28px;
}

.isk-offer__tag {
	display: inline-flex;
	align-self: flex-start;
	margin: 0;
	padding: 6px 12px;
	border-radius: 2px;
	background-color: var(--property-accent, #FFD700);
	color: var(--text-primary, #1C1B19);
	font-family: var(--font-body, Figtree), sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.isk-offers .isk-offer__title {
	margin: 0;
	color: var(--text-primary, #1C1B19);
	font-family: var(--font-display, Newsreader), serif;
	font-size: 30px;
	font-weight: 400;
	letter-spacing: -0.005em;
	line-height: 1.2;
}

.isk-offer__hotel {
	margin: -8px 0 0;
	color: var(--text-secondary, #6E6A64);
	font-family: var(--font-body, Figtree), sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.isk-offer__text {
	margin: 0;
	color: var(--text-secondary, #6E6A64);
	font-family: var(--font-body, Figtree), sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.isk-offer__footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid var(--border-default, #E4E0D8);
}

.isk-offer__price {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.isk-offer__price-label {
	margin: 0;
	color: var(--text-secondary, #6E6A64);
	font-family: var(--font-body, Figtree), sans-serif;
	font-size: 13px;
	line-height: 1.5;
}

.isk-offer__price-value {
	margin: 0;
	color: var(--text-primary, #1C1B19);
	font-family: var(--font-body, Figtree), sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.isk-offers .isk-offer__button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border: 1px solid var(--action-primary, #1C1B19);
	border-radius: 0;
	background-color: var(--action-primary, #1C1B19);
	color: var(--text-inverse, #FFFFFF);
	font-family: var(--font-body, Figtree), sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.isk-offers .isk-offer__button:hover,
.isk-offers .isk-offer__button:focus-visible {
	border-color: var(--action-primary-hover, #3A3833);
	background-color: var(--action-primary-hover, #3A3833);
	color: var(--text-inverse, #FFFFFF);
}

@media (max-width: 1024px) {
	.isk-offers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

@media (max-width: 767px) {
	.isk-offers--grid {
		gap: 32px;
	}

	.isk-offers__bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.isk-offers__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.isk-offers--carousel {
		gap: 16px;
	}

	.isk-offers--carousel .isk-offer {
		flex: 0 0 85%;
		width: 85%;
	}

	.isk-offers-slider .isk-offers__arrow {
		display: none;
	}

	.isk-offer__body {
		padding: 20px 20px 24px;
	}

	.isk-offers .isk-offer__title {
		font-size: 24px;
	}

	.isk-offer__text {
		font-size: 15px;
	}

	.isk-offer__price-value {
		font-size: 17px;
	}

	.isk-offer__footer {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}
}

/*
 * Thai (WPML "th" pages, <html lang="th">). Newsreader and Figtree have no Thai letters: Thai text uses Noto Serif
 * Thai (display) and Noto Sans Thai (body), loaded only on Thai pages, while Latin words keep the brand fonts.
 * Thai has no capitals and its vowels and tone marks sit above and below the line, so the wide tracking of the
 * uppercase labels is dropped where the label is Thai, lines get more room, and there is no slanted (fake italic) Thai.
 */
html[lang|="th"] {
	--font-body: Figtree, "Noto Sans Thai";
	--font-display: Newsreader, "Noto Serif Thai";
}

html[lang|="th"] body {
	font-family: Figtree, "Noto Sans Thai", sans-serif;
}

/* .isk-thai: a tracked label whose text has Thai letters (theme script); English labels keep their tracking.
   Specific enough to beat Elementor's ".elementor .t-eyebrow" and local class rules. */
html[lang|="th"] body .isk-thai {
	letter-spacing: 0.02em;
}

html[lang|="th"] :is(.t-display, .t-h1, .t-h2, .t-h3, .t-h4, .isk-hero__title, .isk-offer__title) {
	line-height: 1.35;
}

html[lang|="th"] :is(.t-body, .t-body-l, .t-small, .isk-offer__text) {
	line-height: 1.75;
}

html[lang|="th"] :is(.t-display, .t-h1, .t-h2, .isk-hero__title) em {
	font-style: normal;
}

/* Thai headings about 15% smaller than the English sizes (Thai letters with their marks read larger):
   display / hero 80-64-48 => 68-54-40, H1 60-48-40 => 50-40-34, H2 44-32 => 36-28 (desktop-tablet-mobile).
   ".elementor" beats the Elementor class rules (.elementor .t-h1) at every breakpoint. */
html[lang|="th"] :is(.elementor .t-display, .isk-hero__title) {
	font-size: 68px;
}

html[lang|="th"] .elementor .t-h1 {
	font-size: 50px;
}

html[lang|="th"] .elementor .t-h2 {
	font-size: 36px;
}

@media (max-width: 1024px) {
	html[lang|="th"] :is(.elementor .t-display, .isk-hero__title) {
		font-size: 54px;
	}

	html[lang|="th"] .elementor .t-h1 {
		font-size: 40px;
	}
}

@media (max-width: 767px) {
	html[lang|="th"] :is(.elementor .t-display, .isk-hero__title) {
		font-size: 40px;
	}

	html[lang|="th"] .elementor .t-h1 {
		font-size: 34px;
	}

	html[lang|="th"] .elementor .t-h2 {
		font-size: 28px;
	}
}
