/**
 * Siesta Events — front-end styles.
 * All rules are scoped under .sws-* class names so they don't fight the theme.
 */

:root {
	--sws-accent: #eb251d;
	--sws-accent-dark: #c41c15;
	--sws-ink: #101828;
	--sws-paper: #f4f6fa;
	--sws-card: #ffffff;
	--sws-radius: 6px;
	--sws-muted: #5d6b82;
	--sws-line: rgba(16, 24, 40, 0.11);
	--sws-font-heading: "Titillium Web", "Helvetica Neue", Arial, sans-serif;
	--sws-font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------------- layout */

.sws-wrap {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.sws-section {
	padding: 64px 0;
	background: var(--sws-paper);
	font-family: var(--sws-font-body);
	color: var(--sws-ink);
}

.sws-section *,
.sws-grid-wrap *,
.sws-archive *,
.sws-single * {
	box-sizing: border-box;
}

.sws-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.sws-eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sws-accent);
}

.sws-section__title {
	margin: 0;
	font-family: var(--sws-font-heading);
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	font-weight: 600;
	color: var(--sws-ink);
}

.sws-see-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--sws-ink);
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: color 0.15s ease, gap 0.15s ease;
}

.sws-see-all:hover,
.sws-see-all:focus {
	color: var(--sws-accent);
	gap: 12px;
}

/* ----------------------------------------------------------------- grid */

.sws-grid {
	display: grid;
	grid-template-columns: repeat(var(--sws-cols, 4), minmax(0, 1fr));
	gap: 22px;
}

.sws-grid[data-columns="2"] { --sws-cols: 2; }
.sws-grid[data-columns="3"] { --sws-cols: 3; }
.sws-grid[data-columns="4"] { --sws-cols: 4; }

/* ----------------------------------------------------------------- card */

.sws-card {
	display: flex;
	flex-direction: column;
	background: var(--sws-card);
	border-radius: var(--sws-radius);
	overflow: hidden;
	border: 1px solid var(--sws-line);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sws-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px -22px rgba(16, 24, 40, 0.42);
}

.sws-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e3e9f3;
}

.sws-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	transition: transform 0.5s ease;
}

.sws-card:hover .sws-card__img {
	transform: scale(1.04);
}

.sws-card__img--placeholder {
	display: block;
	background: linear-gradient(135deg, #e3e9f3, #cfd9ea);
}

.sws-card__chip,
.sws-card__badge,
.sws-card__ended {
	position: absolute;
	top: 12px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 5px 9px;
	border-radius: 2px;
	line-height: 1;
}

.sws-card__chip {
	left: 12px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--sws-ink);
	backdrop-filter: blur(4px);
}

.sws-card__badge {
	right: 12px;
	background: var(--sws-accent);
	color: #fff;
}

.sws-card__ended {
	right: 12px;
	background: rgba(16, 24, 40, 0.86);
	color: #fff;
}

.sws-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 18px 20px;
	gap: 0;
}

.sws-card__title {
	margin: 0 0 8px;
	font-family: var(--sws-font-heading);
	font-size: 19px;
	line-height: 1.22;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.sws-card__title a {
	color: var(--sws-ink);
	text-decoration: none;
}

.sws-card__title a:hover,
.sws-card__title a:focus {
	color: var(--sws-accent);
}

.sws-card__teaser {
	margin: 0 0 10px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--sws-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sws-card__meta {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--sws-ink);
}

.sws-card__date {
	margin: 0 0 12px;
	font-size: 12.5px;
	color: var(--sws-muted);
}

.sws-card__price {
	margin: auto 0 14px;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--sws-muted);
}

.sws-card__price strong {
	display: block;
	font-size: 17px;
	font-weight: 700;
	color: var(--sws-ink);
	letter-spacing: -0.01em;
}

.sws-card__price-note {
	display: inline;
}

.sws-card__price-child {
	display: inline;
}

/* --------------------------------------------------------------- buttons */

.sws-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px 18px;
	background: var(--sws-accent);
	color: #fff;
	font-family: var(--sws-font-body);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 2px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.sws-btn:hover,
.sws-btn:focus {
	background: var(--sws-accent-dark);
	color: #fff;
}

.sws-btn--lg {
	width: auto;
	padding: 14px 34px;
	font-size: 12.5px;
}

.sws-btn--block {
	width: 100%;
}

.sws-btn--ghost {
	background: transparent;
	color: var(--sws-ink);
	border-color: var(--sws-line);
}

.sws-btn--ghost:hover {
	background: var(--sws-ink);
	color: #fff;
}

.sws-link {
	font-size: 13px;
	font-weight: 600;
	color: var(--sws-accent);
	text-decoration: none;
}

/* --------------------------------------------------------------- toolbar */

.sws-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	padding: 16px 0;
	border-top: 1px solid var(--sws-line);
	border-bottom: 1px solid var(--sws-line);
	margin-bottom: 14px;
}

.sws-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sws-chip {
	appearance: none;
	display: inline-block;
	padding: 7px 14px;
	background: transparent;
	border: 1px solid var(--sws-line);
	border-radius: 999px;
	font-family: var(--sws-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--sws-ink);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sws-chip:hover {
	border-color: var(--sws-ink);
}

.sws-chip.is-active {
	background: var(--sws-ink);
	border-color: var(--sws-ink);
	color: #fff;
}

.sws-sort select {
	appearance: none;
	padding: 8px 34px 8px 12px;
	border: 1px solid var(--sws-line);
	border-radius: 2px;
	background-color: var(--sws-card);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23101828'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	font-family: var(--sws-font-body);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--sws-ink);
	cursor: pointer;
}

.sws-count {
	margin: 0 0 26px;
	font-size: 12.5px;
	letter-spacing: 0.02em;
	color: var(--sws-muted);
}

.sws-count strong {
	color: var(--sws-ink);
}

.sws-empty {
	padding: 40px 0;
	text-align: center;
	color: var(--sws-muted);
}

/* ---------------------------------------------------------------- archive */

.sws-archive {
	background: var(--sws-paper);
	font-family: var(--sws-font-body);
	color: var(--sws-ink);
}

.sws-hero {
	padding: 72px 0 48px;
	background: var(--sws-paper);
	background-size: cover;
	background-position: center;
	position: relative;
}

.sws-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(12, 10, 9, 0.78) 0%, rgba(12, 10, 9, 0.42) 60%, rgba(12, 10, 9, 0.2) 100%);
}

.sws-hero__inner {
	position: relative;
	z-index: 1;
}

.sws-hero--image .sws-hero__title,
.sws-hero--image .sws-hero__intro,
.sws-hero--image .sws-eyebrow {
	color: #fff;
}

.sws-hero__title {
	margin: 0 0 14px;
	font-family: var(--sws-font-heading);
	font-size: clamp(34px, 5vw, 60px);
	line-height: 1.02;
	letter-spacing: -0.02em;
	font-weight: 600;
	max-width: 18ch;
}

.sws-hero__intro {
	max-width: 62ch;
	font-size: 15.5px;
	line-height: 1.6;
	opacity: 0.9;
}

.sws-hero__intro p {
	margin: 0 0 10px;
}

.sws-archive__body {
	padding: 8px 0 72px;
}

.sws-pagination {
	margin-top: 40px;
}

.sws-pagination .nav-links {
	display: flex;
	gap: 6px;
	justify-content: center;
}

.sws-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--sws-line);
	border-radius: 2px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: var(--sws-ink);
}

.sws-pagination .page-numbers.current {
	background: var(--sws-ink);
	border-color: var(--sws-ink);
	color: #fff;
}

.sws-empty-state {
	padding: 60px 24px;
	text-align: center;
	background: var(--sws-card);
	border: 1px solid var(--sws-line);
	border-radius: var(--sws-radius);
}

/* ----------------------------------------------------------------- single */

.sws-single {
	background: var(--sws-paper);
	font-family: var(--sws-font-body);
	color: var(--sws-ink);
	padding-bottom: 0;
}

/*
 * Transparent-header themes (OceanWP and friends) position the header
 * absolutely on top of the page, so the first block of content is painted
 * underneath the navigation. --sws-header-offset is measured in JS from the
 * live header and published on <html>; these rules push our content clear of
 * it. Themes without a transparent header are untouched.
 */
.has-transparent-header .sws-single,
.sws-has-overlay-header .sws-single {
	padding-top: calc(var(--sws-header-offset, 0px) + 8px);
}

.has-transparent-header .sws-hero,
.sws-has-overlay-header .sws-hero {
	padding-top: calc(var(--sws-header-offset, 0px) + 48px);
}

.sws-breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 22px;
	padding-bottom: 22px;
	font-size: 12px;
	letter-spacing: 0.03em;
	color: var(--sws-muted);
}

.sws-breadcrumb a {
	color: var(--sws-muted);
	text-decoration: none;
}

.sws-breadcrumb a:hover {
	color: var(--sws-accent);
}

.sws-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 2px;
	font-size: 13.5px;
	margin-bottom: 22px;
}

.sws-notice--ended {
	background: #fdf0ef;
	border: 1px solid #f0c9c6;
	color: #8a2320;
}

.sws-notice a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
}

/* Top banner gallery: full-bleed, one large image left + two stacked right */

.sws-banner-wrap {
	/* Escape any theme content container so the gallery is truly full width. */
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
	overflow: hidden;
}

.sws-banner {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 8px;
	width: 100%;
	aspect-ratio: 2.9 / 1;
	min-height: 260px;
	max-height: 620px;
	background: #e3e9f3;
	overflow: hidden;
}

.sws-banner__item {
	background-color: #e3e9f3;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	min-width: 0;
	min-height: 0;
}

/* Three images: first fills the left column, the other two stack on the right. */
.sws-banner--3 .sws-banner__item--wide {
	grid-column: 1;
	grid-row: 1 / span 2;
}

/* Two images: side by side. */
.sws-banner--2 {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
}

.sws-banner--2 .sws-banner__item {
	grid-column: auto;
	grid-row: 1;
}

/* One image: a single full-bleed hero. */
.sws-banner--1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

.sws-banner--1 .sws-banner__item {
	grid-column: 1;
	grid-row: 1;
}

.sws-single__top--banner .sws-single__top-inner {
	grid-template-columns: minmax(0, 1fr);
	max-width: 860px;
}

.sws-single__top--banner .sws-single__tags--inline {
	position: static;
	top: auto;
	left: auto;
	margin-bottom: 14px;
}

.sws-single__top--banner {
	padding-top: 30px;
}

.sws-single__top {
	padding-bottom: 44px;
}

.sws-single__top-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 48px;
	align-items: start;
}

.sws-single__media {
	position: relative;
	border-radius: var(--sws-radius);
	overflow: hidden;
	background: #e3e9f3;
	aspect-ratio: 4 / 3;
}

.sws-single__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
}

.sws-single__tags {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.sws-tag {
	display: inline-block;
	padding: 5px 10px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--sws-ink);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 2px;
}

.sws-tag--featured {
	background: var(--sws-accent);
	color: #fff;
}

.sws-tag--muted {
	background: rgba(16, 24, 40, 0.74);
	color: #fff;
}

.sws-single__title {
	margin: 0 0 14px;
	font-family: var(--sws-font-heading);
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	font-weight: 600;
}

.sws-single__lede {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--sws-muted);
	max-width: 46ch;
}

.sws-pricebox {
	padding: 18px 20px;
	background: var(--sws-card);
	border: 1px solid var(--sws-line);
	border-radius: var(--sws-radius);
	margin-bottom: 18px;
}

.sws-pricebox__label {
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sws-muted);
}

.sws-pricebox__amount {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.sws-pricebox__amount span {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--sws-muted);
}

.sws-pricebox__child,
.sws-pricebox__next {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: var(--sws-muted);
}

.sws-pricebox__next {
	padding-top: 8px;
	border-top: 1px solid var(--sws-line);
	color: var(--sws-ink);
	font-weight: 600;
}

.sws-specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 1px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	background: var(--sws-line);
	border: 1px solid var(--sws-line);
	border-radius: var(--sws-radius);
	overflow: hidden;
}

.sws-specs li {
	background: var(--sws-card);
	padding: 12px 14px;
}

.sws-specs span {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sws-muted);
	margin-bottom: 4px;
}

.sws-specs strong {
	font-size: 13.5px;
	font-weight: 600;
}

/* --------------------------------------------------------------- booking */

.sws-book {
	padding: 56px 0;
	background: var(--sws-card);
	border-top: 1px solid var(--sws-line);
	border-bottom: 1px solid var(--sws-line);
}

.sws-book__head {
	margin-bottom: 24px;
}

.sws-book__head h2 {
	margin: 0 0 6px;
	font-family: var(--sws-font-heading);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.sws-book__head p {
	margin: 0;
	font-size: 14px;
	color: var(--sws-muted);
}

.sws-calendar {
	min-height: 120px;
}

.sws-calendar iframe {
	max-width: 100%;
	border: 0;
}

.sws-book__note {
	margin: 16px 0 0;
	font-size: 12px;
	color: var(--sws-muted);
}

/* ----------------------------------------------------------------- blocks */

.sws-single__body {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 56px;
	padding-top: 56px;
	padding-bottom: 72px;
	align-items: start;
}

.sws-block {
	margin-bottom: 44px;
}

.sws-block__title {
	margin: 0 0 16px;
	font-family: var(--sws-font-heading);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.sws-block--panel {
	background: var(--sws-card);
	border: 1px solid var(--sws-line);
	border-radius: var(--sws-radius);
	padding: 22px;
	margin-bottom: 22px;
}

.sws-block--panel .sws-block__title {
	font-size: 17px;
}

.sws-block--cta p {
	font-size: 13.5px;
	color: var(--sws-muted);
	margin: 0 0 16px;
}

.sws-prose {
	font-size: 15px;
	line-height: 1.72;
	color: #344054;
}

.sws-prose p {
	margin: 0 0 16px;
}

.sws-prose--sm {
	font-size: 13.5px;
	line-height: 1.65;
}

.sws-prose a {
	color: var(--sws-accent);
}

.sws-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px 24px;
}

.sws-checklist li {
	position: relative;
	padding-left: 26px;
	font-size: 14.5px;
	line-height: 1.5;
}

.sws-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 14px;
	height: 8px;
	border-left: 2px solid var(--sws-accent);
	border-bottom: 2px solid var(--sws-accent);
	transform: rotate(-45deg);
}

.sws-facts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sws-facts li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--sws-line);
	font-size: 13px;
}

.sws-facts li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sws-facts span {
	color: var(--sws-muted);
	flex: 0 0 auto;
}

.sws-facts strong {
	font-weight: 600;
	text-align: right;
}

.sws-address {
	margin: 0 0 10px;
	font-size: 13.5px;
	font-weight: 600;
}

/* -------------------------------------------------------------------- faq */

.sws-faq {
	border-top: 1px solid var(--sws-line);
}

.sws-faq__item {
	border-bottom: 1px solid var(--sws-line);
}

.sws-faq__item summary {
	position: relative;
	padding: 16px 34px 16px 0;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.sws-faq__item summary::-webkit-details-marker {
	display: none;
}

.sws-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 400;
	color: var(--sws-muted);
	transition: transform 0.2s ease;
}

.sws-faq__item[open] summary::after {
	content: "−";
}

.sws-faq__answer {
	padding: 0 34px 18px 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--sws-muted);
}

.sws-faq__answer p {
	margin: 0 0 10px;
}

/* ---------------------------------------------------------------- related */

.sws-section--related {
	padding: 56px 0 72px;
	border-top: 1px solid var(--sws-line);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
	.sws-grid[data-columns="4"] { --sws-cols: 3; }
	.sws-single__top-inner { gap: 32px; }
	.sws-single__body { gap: 36px; }
}

@media (max-width: 900px) {
	.sws-grid[data-columns="3"],
	.sws-grid[data-columns="4"] { --sws-cols: 2; }
	.sws-single__top-inner { grid-template-columns: 1fr; }
	.sws-banner { aspect-ratio: 2.2 / 1; min-height: 300px; }
	.sws-single__body { grid-template-columns: 1fr; }
	.sws-section { padding: 48px 0; }
	.sws-hero { padding: 52px 0 36px; }
}

@media (max-width: 620px) {
	.sws-grid[data-columns="2"],
	.sws-grid[data-columns="3"],
	.sws-grid[data-columns="4"] { --sws-cols: 1; }
	.sws-wrap { padding: 0 18px; }
	.sws-banner { grid-template-columns: 1fr; grid-template-rows: 220px 130px 130px; aspect-ratio: auto; }
	.sws-banner--3 .sws-banner__item--wide { grid-column: 1; grid-row: 1; }
	.sws-banner--2 { grid-template-columns: 1fr; grid-template-rows: 200px 200px; }
	.sws-section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.sws-card__title { font-size: 18px; }
	.sws-btn--lg { width: 100%; }
	.sws-specs { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------------ print */

@media print {
	.sws-toolbar,
	.sws-btn,
	.sws-see-all,
	.sws-calendar,
	.sws-pagination { display: none !important; }

	.sws-card,
	.sws-block--panel { break-inside: avoid; }
}
