/*
 * TCI Social Club redesign (2026-11-16), loaded after style.css (which mirrors live).
 * Same red, same Barlow / Barlow Condensed, the club's own photos. Compact spacing, rounded corners, direct
 * booking and membership links. Remove the enqueue in functions.php to get the 1:1 mirror back.
 */

:root {
	--tx-ink: #1f2429;
	--tx-text: #4d545b;
	--tx-muted: #6f777f;
	--tx-red: #c83e32;
	--tx-red-dark: #a8322a;
	--tx-green: #2f7d4f;
	--tx-surface: #f5f5f3;
	--tx-line: #e6e5e1;
	--tx-radius: 14px;
	--tx-radius-sm: 10px;
	--tx-wrap: 1240px;
	--tx-gap: clamp(48px, 6vw, 88px);
	--tx-cond: "Barlow Condensed", Barlow, Arial, sans-serif;
	--tx-sans: Barlow, Arial, Helvetica, sans-serif;
}

/* ================= base ================= */
body {
	color: var(--tx-text);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--tx-ink);
}

.entry-content p,
.entry-content li {
	font-size: 17px;
	line-height: 1.65;
	letter-spacing: 0;
}

.wp-block-heading[class*="tci-t"] {
	letter-spacing: 0.5px;
	margin-bottom: 20px;
}

h1.wp-block-heading[class*="tci-t"] {
	letter-spacing: 2px;
}

:focus-visible {
	outline: 3px solid var(--tx-red);
	outline-offset: 2px;
}

/* the four red squares are the club's mark: smaller, closer to their heading */
.tci-squares {
	margin: 0 0 20px !important;
	gap: 4px;
}

.tci-squares span {
	width: 7px !important;
	height: 7px !important;
}

/* photos inside pages get the same soft corners as everything else (full-width photo strips stay square) */
.entry-content .wp-block-image img {
	border-radius: var(--tx-radius-sm);
}

.entry-content .tci-section--full .wp-block-columns .wp-block-image img {
	border-radius: 0;
}

/* ================= buttons ================= */
.tx-btn,
.wp-block-button__link,
.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 26px;
	border-radius: 999px;
	font-family: var(--tx-sans);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.6px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tx-btn--primary,
.wp-block-button__link {
	background: var(--tx-red);
	color: #ffffff !important;
	border: 2px solid var(--tx-red);
}

.tx-btn--primary:hover,
.wp-block-button__link:hover {
	background: var(--tx-red-dark);
	border-color: var(--tx-red-dark);
	color: #ffffff !important;
}

.tx-btn--light {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff !important;
	border: 2px solid rgba(255, 255, 255, 0.85);
}

.tx-btn--light:hover {
	background: #ffffff;
	color: var(--tx-ink) !important;
}

.tx-btn--ghost {
	background: transparent;
	color: var(--tx-ink) !important;
	border: 2px solid var(--tx-ink);
}

.tx-btn--ghost:hover {
	background: var(--tx-ink);
	color: #ffffff !important;
}

/* ================= header ================= */
#masthead .site-main-header-wrap {
	border-bottom: 1px solid var(--tx-line);
}

.site-header .site-header-main-section-center {
	flex: 1 1 auto;
	justify-content: center;
}

.site-header .header-navigation .menu > li > a {
	font-family: var(--tx-sans);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.7px;
	color: var(--tx-ink);
	padding: 8px 0.6em;
}

.site-header .header-navigation .menu > li > a:hover {
	color: var(--tx-red);
}

.site-header .header-navigation .menu > li.current-menu-item > a,
.site-header .header-navigation .menu > li.current-menu-ancestor > a,
.site-header .header-navigation .menu > li.current-menu-parent > a {
	color: var(--tx-red);
}

/* slogan next to the logo */
.site-header .header-html {
	margin-left: 18px;
	padding-left: 18px;
	border-left: 1px solid var(--tx-line);
}

.tx-tagline {
	display: block;
	font-family: var(--tx-cond);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 0.6px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--tx-muted);
	white-space: nowrap;
}



/* "Rezervă" button */
.site-header .header-button,
.site-header .mobile-header-button-wrap .mobile-header-button {
	background: var(--tx-red) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: var(--tx-sans);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	padding: 11px 24px !important;
	box-shadow: none !important;
}

.site-header .header-button:hover,
.site-header .mobile-header-button-wrap .mobile-header-button:hover {
	background: var(--tx-red-dark) !important;
}

.site-header .mobile-header-button-wrap .mobile-header-button {
	font-size: 13px;
	padding: 8px 16px !important;
	margin-right: 6px;
}

@media (max-width: 1280px) {
	.site-header .header-navigation .menu > li > a {
		font-size: 13px;
		letter-spacing: 0.4px;
		padding-left: 0.45em;
		padding-right: 0.45em;
	}

	.site-header .header-button {
		padding: 10px 18px !important;
	}
}

/* Rezervări dropdown */
.header-navigation .header-menu-container ul ul.sub-menu {
	background: #ffffff;
	min-width: 240px;
	padding: 8px;
	border: 1px solid var(--tx-line);
	border-radius: var(--tx-radius);
	box-shadow: 0 16px 40px rgba(31, 36, 41, 0.12);
}

.header-navigation .header-menu-container ul ul li.menu-item {
	border: 0;
}

.header-navigation .header-menu-container ul ul li.menu-item > a {
	width: 100%;
	padding: 10px 14px;
	border-radius: var(--tx-radius-sm);
	font-family: var(--tx-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--tx-ink);
	border: 0;
}

.header-navigation .header-menu-container ul ul li.menu-item > a:hover,
.header-navigation .header-menu-container ul ul li.menu-item > a:focus-visible {
	background: var(--tx-surface);
	color: var(--tx-red);
}

.mobile-navigation ul ul.sub-menu li a {
	padding-left: 32px;
	text-transform: none;
	letter-spacing: 0;
}

/* ================= layout helpers ================= */
.tx-wrap {
	max-width: var(--tx-wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.tx-section {
	padding: var(--tx-gap) 0;
}

.tx-section--surface {
	background: var(--tx-surface);
}

.tx-section--tight,
.tx-section--top0 {
	padding-top: 0;
}

.tx-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 28px;
}

.entry-content .tx-h2,
.tx-h2 {
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: clamp(32px, 3.6vw, 46px);
	line-height: 1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--tx-ink);
	margin: 0;
}

.entry-content .tx-h3,
.tx-h3 {
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.1;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--tx-ink);
	margin: 0 0 8px;
}

.entry-content .tx-lead,
.tx-lead {
	margin: 0;
	font-size: 18px;
	color: var(--tx-muted);
}

.entry-content .tx-more {
	font-weight: 600;
	color: var(--tx-red);
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}

/* ================= home hero ================= */
.tx-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(540px, 80vh, 780px);
	color: #ffffff;
	overflow: hidden;
	background: var(--tx-ink);
}

.tx-hero__slides,
.tx-hero__slide {
	position: absolute;
	inset: 0;
}

.tx-hero__slide {
	opacity: 0;
	transition: opacity 1.1s ease;
}

.tx-hero__slide.is-active {
	opacity: 1;
}

.tx-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tx-hero__slides::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(20, 24, 28, 0.78) 0%, rgba(20, 24, 28, 0.45) 45%, rgba(20, 24, 28, 0.05) 80%),
		linear-gradient(0deg, rgba(20, 24, 28, 0.55) 0%, rgba(20, 24, 28, 0) 35%);
}

.tx-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--tx-wrap);
	margin: 0 auto;
	padding: 0 24px 40px;
}

.entry-content .tx-hero__title {
	max-width: 12ch;
	margin: 0 0 18px;
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: clamp(46px, 6.4vw, 92px);
	line-height: 0.92;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #ffffff;
}

.entry-content .tx-hero__text {
	max-width: 560px;
	margin: 0 0 28px;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

.tx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tx-hero__nav {
	position: relative;
	z-index: 2;
	display: flex;
	gap: 4px;
	width: 100%;
	max-width: var(--tx-wrap);
	margin: 0 auto;
	padding: 0 24px 28px;
	overflow-x: auto;
	scrollbar-width: none;
}

.tx-hero__nav::-webkit-scrollbar {
	display: none;
}

.tx-hero__dot {
	flex: 1 1 0;
	min-width: 120px;
	padding: 12px 0 0;
	border: 0;
	border-top: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 0;
	background: none;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--tx-sans);
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.tx-hero__dot:hover,
.tx-hero__dot.is-active {
	background: none;
	color: #ffffff;
	border-top-color: var(--tx-red);
}

@media (max-width: 700px) {
	.tx-hero {
		min-height: 560px;
	}

	.tx-hero__slides::after {
		background: linear-gradient(0deg, rgba(20, 24, 28, 0.85) 0%, rgba(20, 24, 28, 0.45) 55%, rgba(20, 24, 28, 0.15) 100%);
	}

	.tx-hero__inner {
		padding: 0 20px 24px;
	}

	.entry-content .tx-hero__text {
		font-size: 16px;
	}

	.tx-hero__actions .tx-btn {
		flex: 1 1 auto;
	}

	.tx-hero__nav {
		padding: 0 20px 20px;
	}

	.tx-hero__dot {
		min-width: auto;
		flex: 0 0 auto;
		padding-right: 14px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tx-hero__slide {
		transition: none;
	}
}

/* ================= booking cards (home + Rezervări) ================= */
.tci-areas__list {
	list-style: none;
	margin: 0 auto !important;
	padding: 0 !important;
	max-width: var(--tx-wrap);
	display: grid;
	grid-template-columns: repeat(var(--tx-n, 6), minmax(0, 1fr));
	gap: 14px;
}

.tci-area {
	margin: 0 !important;
	padding: 0 !important;
}

.tci-area__link {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--tx-radius);
	background: var(--tx-ink);
	color: #ffffff;
	text-decoration: none !important;
}

.tci-area__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.tci-area__link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 24, 28, 0.8) 0%, rgba(20, 24, 28, 0.1) 55%, rgba(20, 24, 28, 0) 75%);
}

.tci-area__title {
	position: absolute;
	z-index: 1;
	left: 16px;
	right: 16px;
	bottom: 16px;
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.05;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #ffffff;
}

.tci-area__title::after {
	content: "Rezervă";
	display: block;
	width: max-content;
	margin-top: 10px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--tx-red);
	font-family: var(--tx-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.8px;
}

.tci-area__link:hover .tci-area__img,
.tci-area__link:focus-visible .tci-area__img {
	transform: scale(1.04);
}

.tci-rezervari-container {
	padding: 0 24px var(--tx-gap) !important;
}

@media (max-width: 1100px) {
	.tci-areas__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tci-area__link {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 640px) {
	.tci-areas__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.tci-area__link {
		aspect-ratio: 1 / 1;
	}

	.tci-area__title {
		font-size: 18px;
		left: 12px;
		right: 12px;
		bottom: 12px;
	}

	.tci-rezervari-container {
		padding: 0 16px 40px !important;
	}
}

/* ================= facility tiles (home) ================= */
.tx-section .tci-grid {
	grid-template-columns: repeat(var(--tx-n, 6), minmax(0, 1fr));
	gap: 10px;
}

.tx-section .tci-grid__item {
	border-radius: var(--tx-radius-sm);
}

.tx-section .tci-grid__item img {
	transition: transform 0.4s ease;
}

.tx-section .tci-grid__item:hover img {
	transform: scale(1.05);
}

.tx-section .tci-grid__title,
.tx-section .tci-grid__item:hover .tci-grid__title,
.tx-section .tci-grid__item:focus-visible .tci-grid__title {
	opacity: 1;
	inset: auto 0 0 0;
	justify-content: flex-start;
	align-items: flex-end;
	padding: 36px 12px 12px;
	background: linear-gradient(to top, rgba(20, 24, 28, 0.82), rgba(20, 24, 28, 0));
	font-size: 17px;
	letter-spacing: 0.4px;
	line-height: 1.1;
	text-align: left;
}

@media (max-width: 1000px) {
	.tx-section .tci-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.tx-section .tci-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.tx-section .tci-grid__title {
		font-size: 15px;
	}
}

/* ================= split (photo + text) ================= */
.tx-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
}

.tx-split__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--tx-radius);
}

.tx-split__body .tx-h2 {
	margin-bottom: 20px;
}

.tx-checks {
	list-style: none;
	margin: 0 0 28px !important;
	padding: 0 !important;
	display: grid;
	gap: 12px;
}

.entry-content .tx-checks li {
	position: relative;
	margin: 0;
	padding-left: 32px;
	color: var(--tx-text);
}

.tx-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--tx-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

@media (max-width: 900px) {
	.tx-split {
		grid-template-columns: 1fr;
	}
}

/* ================= membership band ================= */
.tx-band {
	position: relative;
	overflow: hidden;
	border-radius: calc(var(--tx-radius) + 6px);
	min-height: 340px;
	display: flex;
	align-items: center;
	background: var(--tx-ink);
}

.tx-band__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.45;
}

.tx-band__body {
	position: relative;
	padding: clamp(32px, 5vw, 64px);
}

.entry-content .tx-band__kicker {
	margin: 0 0 8px;
	font-family: var(--tx-cond);
	font-weight: 600;
	font-size: 20px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #ffffff;
	opacity: 0.85;
}

.entry-content .tx-band__title {
	margin: 0 0 26px;
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: clamp(44px, 6vw, 84px);
	line-height: 0.92;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #ffffff;
}

/* ================= converted page banners: lighter, inset, rounded ================= */
.entry-content > .tci-hero:not(.tci-hero--home) {
	width: auto;
	max-width: none;
	min-height: clamp(170px, 17vw, 250px) !important;
	margin: 16px 24px 0 !important;
	padding: 28px clamp(24px, 4vw, 48px);
	border-radius: calc(var(--tx-radius) + 6px);
	overflow: hidden;
	align-items: flex-end;
	justify-content: flex-start;
}

.entry-content > .tci-hero:not(.tci-hero--home) .wp-block-cover__background {
	background: linear-gradient(0deg, rgba(20, 24, 28, 0.7) 0%, rgba(20, 24, 28, 0.2) 70%) !important;
	opacity: 1 !important;
}

.entry-content > .tci-hero:not(.tci-hero--home) .wp-block-cover__inner-container {
	width: 100%;
	max-width: var(--tx-wrap);
	margin: 0 auto;
}

.entry-content > .tci-hero .tci-hero__title,
.entry-content > .tci-hero .tci-hero__title a {
	text-align: left;
	font-size: clamp(36px, 4.4vw, 60px);
	line-height: 1;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.tci-main-top {
	height: clamp(32px, 4vw, 56px) !important;
}

@media (max-width: 700px) {
	.entry-content > .tci-hero:not(.tci-hero--home) {
		margin: 10px 12px 0 !important;
		min-height: 150px !important;
		padding: 20px;
	}
}

/* simple page header (Contact) */
.tx-pagehead {
	padding: clamp(36px, 5vw, 64px) 0 28px;
}

.entry-content .tx-pagehead__title {
	margin: 0 0 10px;
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: clamp(44px, 5vw, 68px);
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--tx-ink);
}

/* ================= contact page ================= */
.tx-contact {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 20px;
	align-items: stretch;
}

.tx-contact__card {
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--tx-radius);
	background: var(--tx-surface);
}

.tx-contact__card .tx-h3 {
	margin-top: 22px;
}

.tx-contact__card .tx-h3:first-child {
	margin-top: 0;
}

.entry-content .tx-contact__card p {
	margin: 0;
}

.entry-content .tx-contact__card a:not(.tx-btn) {
	color: var(--tx-ink);
	font-weight: 600;
	text-decoration: none;
}

.entry-content .tx-contact__card a:not(.tx-btn):hover {
	color: var(--tx-red);
}

.tx-hours {
	margin: 0;
	display: grid;
	gap: 4px;
}

.tx-hours div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	max-width: 320px;
	font-size: 17px;
}

.tx-hours dd {
	margin: 0;
	font-weight: 600;
	color: var(--tx-ink);
}

.entry-content .tx-contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px !important;
}

.tx-contact__map {
	min-height: 420px;
	border-radius: var(--tx-radius);
	overflow: hidden;
	background: var(--tx-surface);
}

.tx-contact__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
	border: 0;
}

@media (max-width: 900px) {
	.tx-contact {
		grid-template-columns: 1fr;
	}

	.tx-contact__map,
	.tx-contact__map iframe {
		min-height: 300px;
	}
}

/* social icons */
.tx-social {
	list-style: none;
	display: flex;
	gap: 8px;
	margin: 6px 0 0 !important;
	padding: 0 !important;
}

.tx-social li {
	margin: 0 !important;
	padding: 0 !important;
}

.tx-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid var(--tx-line);
	color: var(--tx-ink) !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tx-social a:hover {
	background: var(--tx-red);
	border-color: var(--tx-red);
	color: #ffffff !important;
}

.tx-social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ================= footer ================= */
.site-footer .site-middle-footer-wrap,
.site-footer .site-bottom-footer-wrap {
	background: var(--tx-surface) !important;
}

.site-footer .site-middle-footer-inner-wrap {
	padding: 0 !important;
}

.tx-footer {
	max-width: var(--tx-wrap);
	margin: 0 auto;
	padding: 40px 24px 0;
	font-size: 15px;
	color: var(--tx-text);
}

.tx-footer a {
	color: var(--tx-ink);
	text-decoration: none;
}

.tx-footer a:hover {
	color: var(--tx-red);
}

.tx-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tx-footer__top {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px 40px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--tx-line);
}

/* the logo SVG has a wide empty canvas: crop to the mark like the header does */
.tx-footer__brand {
	display: block;
	width: 112px;
	height: 66px;
	overflow: hidden;
}

.tx-footer__logo {
	display: block;
	width: 170px;
	max-width: none;
	height: auto;
	margin: -42px 0 0 -47px;
}

.tx-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 28px;
}

.tx-footer__nav a {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	font-size: 14px;
}

.tx-footer__contact {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.tx-footer__contact > a {
	font-weight: 600;
}

.tx-footer__contact .tx-social {
	margin: 0 !important;
}

.tx-footer__legal {
	padding: 18px 0 4px;
}

.tx-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
}

.tx-footer__legal a {
	font-size: 14px;
	color: var(--tx-muted);
}

.site-footer .site-bottom-footer-inner-wrap {
	padding-top: 0 !important;
	padding-bottom: 28px !important;
	min-height: 0 !important;
}

.site-footer .footer-html,
.site-footer .footer-html-inner,
.site-footer .footer-html-inner p {
	font-size: 14px;
	color: var(--tx-muted);
	text-align: left;
	margin: 0;
}

.site-footer .site-bottom-footer-wrap .site-container {
	max-width: var(--tx-wrap);
	padding-left: 24px;
	padding-right: 24px;
}

@media (max-width: 900px) {
	.tx-footer__top {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.tx-footer__nav ul {
		justify-content: flex-start;
	}
}

/* ================= booking pages ================= */
.tci-booking-head h1.wp-block-heading {
	font-family: var(--tx-cond);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ================= Servicii: text beside its photos ================= */
.entry-content > .tci-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
	max-width: var(--tx-wrap);
	margin: 0 auto !important;
	padding: clamp(40px, 5vw, 72px) 24px !important;
}

.entry-content > .tci-split > .wp-block-group__inner-container {
	display: contents;
}

.entry-content > .tci-split--rev > .tci-section:first-child,
.entry-content > .tci-split--rev > .wp-block-group__inner-container > .tci-section:first-child {
	order: 2;
}

.entry-content > .tci-split + .tci-split {
	border-top: 1px solid var(--tx-line);
}

.tci-split .tci-section {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: auto !important;
}

.tci-split .tci-section [class*="tci-col"] {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}

.tci-split .has-text-align-center {
	text-align: left !important;
}

.tci-split .wp-block-buttons {
	justify-content: flex-start !important;
	margin-top: 8px;
}

.tci-split .tci-text {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 62ch;
}

.tci-split .tci-text p {
	margin: 0 0 14px !important;
}

html body .entry-content .tci-split .tci-text:first-child,
html body .entry-content .tci-split .tci-text:first-child p {
	font-size: clamp(32px, 3.4vw, 48px) !important;
	line-height: 1.05 !important;
	letter-spacing: 1px !important;
	margin-bottom: 18px !important;
	text-transform: uppercase;
}

.tci-split .wp-block-columns {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 10px !important;
}

.tci-split .wp-block-columns > .wp-block-column {
	flex-basis: auto !important;
	width: auto !important;
}

.tci-split .wp-block-image,
.tci-split .wp-block-image img,
.entry-content .tci-split .wp-block-image img {
	margin: 0 !important;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--tx-radius-sm) !important;
	display: block;
}

@media (max-width: 900px) {
	.entry-content > .tci-split {
		grid-template-columns: 1fr;
		padding: 40px 20px !important;
		gap: 24px;
	}

	.entry-content > .tci-split--rev > .tci-section:first-child,
	.entry-content > .tci-split--rev > .wp-block-group__inner-container > .tci-section:first-child {
		order: 0;
	}
}

/* the converted "Fii unul dintre noi" banner on inner pages: smaller */
html body .entry-content h2.tci-t0276989f.tci-t0276989f.tci-t0276989f {
	font-size: clamp(44px, 6vw, 96px) !important;
	line-height: 0.95 !important;
	letter-spacing: 2px;
}

/* ================= tabs (Tarife, Evenimente) ================= */
@media (min-width: 1001px) {
	.tci-tabs__list {
		flex-wrap: nowrap;
		gap: 6px;
		margin: 0 auto 32px;
		max-width: 1170px;
		padding: 6px;
		border-radius: 999px;
		background: var(--tx-surface);
	}

	.tci-tabs__list [role="tab"],
	.tci-tabs.different-color-boxes .tci-tabs__list [role="tab"]:nth-child(odd) {
		flex: 1 1 0;
		width: auto;
		min-height: 48px;
		padding: 8px 14px;
		font-size: 17px;
		letter-spacing: 0.6px;
		line-height: 1.1;
		text-align: center;
		background: transparent;
		border-radius: 999px;
		transition: background-color 0.15s ease, color 0.15s ease;
	}
}

.tci-tabs__list [role="tab"]:hover {
	color: var(--tx-red);
}

.tci-tabs .tci-tabs__list [role="tab"][aria-selected="true"],
.tci-tabs.different-color-boxes .tci-tabs__list [role="tab"][aria-selected="true"] {
	background: var(--tx-red);
	color: #ffffff;
}

@media (max-width: 1000px) {
	.tci-tabs__list [role="tab"],
	.tci-tabs.different-color-boxes .tci-tabs__list [role="tab"]:nth-child(odd) {
		min-height: 50px;
		padding: 12px 20px;
		font-size: 19px;
		border-radius: var(--tx-radius-sm);
		margin-bottom: 6px;
	}
}

/* ================= booking calendar (Booking Activities / FullCalendar) ================= */
.bookacti-calendar-title {
	font-size: 16px !important;
	color: var(--tx-muted);
	margin-bottom: 14px;
}

.bookacti-calendar {
	padding: clamp(12px, 2vw, 20px);
	border: 1px solid var(--tx-line);
	border-radius: var(--tx-radius);
	background: #ffffff;
}

.bookacti-calendar .fc-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px !important;
}

.bookacti-calendar .fc-toolbar-title {
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: 26px !important;
	letter-spacing: 0.4px;
	text-transform: capitalize;
	color: var(--tx-ink);
}

.bookacti-calendar .fc-button {
	min-height: 40px;
	padding: 8px 16px !important;
	border: 1px solid var(--tx-line) !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: var(--tx-ink) !important;
	font-family: var(--tx-sans);
	font-size: 14px !important;
	font-weight: 600;
	text-transform: none;
	box-shadow: none !important;
	opacity: 1 !important;
}

.bookacti-calendar .fc-button:hover {
	border-color: var(--tx-ink) !important;
}

.bookacti-calendar .fc-button:disabled {
	color: var(--tx-muted) !important;
	background: var(--tx-surface) !important;
	cursor: default;
}

.bookacti-calendar .fc-button.fc-button-active {
	background: var(--tx-ink) !important;
	border-color: var(--tx-ink) !important;
	color: #ffffff !important;
}

.bookacti-calendar .fc-button-group {
	gap: 6px;
}

.bookacti-calendar .fc-prev-button,
.bookacti-calendar .fc-next-button {
	width: 40px;
	padding: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* grid lines quiet, today a light red tint instead of yellow */
.bookacti-calendar td,
.bookacti-calendar th,
.bookacti-calendar table {
	border-color: #ecebe8 !important;
}

.bookacti-calendar .fc-day-today {
	background: rgba(200, 62, 50, 0.04) !important;
}

.bookacti-calendar th {
	padding: 8px 0 !important;
	font-family: var(--tx-sans);
	font-size: 14px;
	font-weight: 600;
	text-transform: capitalize;
	color: var(--tx-ink);
}

.bookacti-calendar th.fc-day-today {
	color: var(--tx-red);
}

.bookacti-calendar .fc-timegrid-slot-label {
	font-size: 13px;
	color: var(--tx-muted);
}

/* events: white card, activity colour as a left bar, clear status */
.bookacti-calendar .fc-event {
	background: #ffffff !important;
	border-width: 1px 1px 1px 4px !important;
	border-style: solid !important;
	border-top-color: var(--tx-line) !important;
	border-right-color: var(--tx-line) !important;
	border-bottom-color: var(--tx-line) !important;
	border-radius: 8px !important;
	box-shadow: 0 1px 2px rgba(31, 36, 41, 0.06);
	color: var(--tx-ink) !important;
	overflow: hidden;
	cursor: pointer;
	transition: box-shadow 0.15s ease;
}

.bookacti-calendar .fc-event:not(.bookacti-event-unavailable):not(.fc-event-past):hover {
	box-shadow: 0 6px 16px rgba(31, 36, 41, 0.14);
}

.bookacti-calendar .fc-event .fc-event-main {
	padding: 4px 6px !important;
	color: var(--tx-ink) !important;
}

.bookacti-calendar .fc-event .fc-event-time {
	font-size: 12px !important;
	font-weight: 600;
	color: var(--tx-muted) !important;
	white-space: nowrap;
}

.bookacti-calendar .fc-event .fc-event-title {
	font-size: 13px !important;
	font-weight: 700;
	line-height: 1.2;
	color: var(--tx-ink) !important;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bookacti-calendar .fc-event .bookacti-availability-container {
	position: static !important;
	margin-top: 3px;
}

.bookacti-calendar .bookacti-available-places {
	display: inline-flex !important;
	align-items: center;
	gap: 3px;
	position: static !important;
	padding: 2px 8px !important;
	border-radius: 999px !important;
	background: rgba(47, 125, 79, 0.12) !important;
	color: var(--tx-green) !important;
	font-size: 11px !important;
	font-weight: 700;
	line-height: 1.3 !important;
	white-space: nowrap;
	box-shadow: none !important;
	opacity: 1 !important;
}

.bookacti-calendar .bookacti-available-places * {
	color: inherit !important;
	background: none !important;
	font-size: inherit !important;
	padding: 0 !important;
}

/* full: red "Complet" */
.bookacti-calendar .bookacti-available-places.bookacti-full {
	background: rgba(200, 62, 50, 0.12) !important;
	color: var(--tx-red) !important;
}

.bookacti-calendar .bookacti-available-places.bookacti-full > * {
	display: none !important;
}

.bookacti-calendar .bookacti-available-places.bookacti-full::after {
	content: "Complet";
}

/* closed for booking and past: muted card, red status */
.bookacti-calendar .fc-event.bookacti-event-unavailable,
.bookacti-calendar .fc-event.fc-event-past {
	background: #f4f4f2 !important;
	box-shadow: none;
	cursor: not-allowed;
}

.bookacti-calendar .fc-event.bookacti-event-unavailable .fc-event-title,
.bookacti-calendar .fc-event.bookacti-event-unavailable .fc-event-time,
.bookacti-calendar .fc-event.fc-event-past .fc-event-title,
.bookacti-calendar .fc-event.fc-event-past .fc-event-time {
	color: #9aa0a6 !important;
}

.bookacti-calendar .fc-event.bookacti-event-unavailable .bookacti-available-places {
	background: rgba(200, 62, 50, 0.1) !important;
	color: var(--tx-red) !important;
}

/* picked: the slot the visitor chose */
.bookacti-calendar .fc-event.bookacti-picked-event {
	background: var(--tx-ink) !important;
	box-shadow: 0 0 0 2px var(--tx-red) !important;
}

.bookacti-calendar .fc-event.bookacti-picked-event .fc-event-main,
.bookacti-calendar .fc-event.bookacti-picked-event .fc-event-title,
.bookacti-calendar .fc-event.bookacti-picked-event .fc-event-time {
	color: #ffffff !important;
}

/* list view (phones, and "Listă" on desktop): one clear row per slot */
.bookacti-calendar .fc-list-day th,
.bookacti-calendar .fc-list-day td {
	background: var(--tx-surface) !important;
	padding: 10px 12px !important;
	font-family: var(--tx-cond);
	font-size: 18px;
	font-weight: 700;
	text-transform: capitalize;
	color: var(--tx-ink);
}

.bookacti-calendar .fc-list-event td {
	padding: 12px !important;
	font-size: 15px;
	vertical-align: middle;
}

.bookacti-calendar .fc-list-event-time {
	white-space: nowrap;
	font-weight: 600;
	color: var(--tx-ink);
}

.bookacti-calendar .fc-list-event-title {
	font-weight: 600;
	color: var(--tx-ink);
}

.bookacti-calendar .fc-list-event:hover td {
	background: var(--tx-surface) !important;
}

@media (max-width: 700px) {
	.bookacti-calendar {
		padding: 10px;
		border-radius: var(--tx-radius-sm);
	}

	.bookacti-calendar .fc-toolbar-title {
		font-size: 20px !important;
	}

	.bookacti-calendar .fc-toolbar {
		justify-content: space-between;
	}
}

.tci-booking-form input.bookacti-submit-form-button {
	border-radius: 999px !important;
}

/* ================= reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
	.tci-area__img,
	.tx-section .tci-grid__item img,
	.wp-block-button__link,
	.tx-btn,
	.bookacti-calendar .fc-event {
		transition: none;
	}
}

/* ================= round 2 fixes ================= */
/* calendar colours through FullCalendar's own theme variables */
.bookacti-calendar {
	--fc-classic-today: rgba(200, 62, 50, 0.05);
	--fc-classic-now: #c83e32;
	--fc-classic-primary: #c83e32;
	--fc-classic-highlight: rgba(200, 62, 50, 0.08);
	--fc-classic-border: #ecebe8;
	--fc-classic-foreground: #1f2429;
	--fc-classic-muted-foreground: #6f777f;
	--fc-classic-faint: #fafaf9;
}

/* list view: the date once, statuses never cut */
.bookacti-calendar .fc-list-day-side-text,
.bookacti-calendar [class*="list-day-side"] {
	display: none !important;
}

.bookacti-calendar .fc-list-event-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	white-space: normal;
}

.bookacti-calendar .fc-list-event-title .bookacti-availability-container {
	margin: 0 !important;
}

/* menu centred on the page: equal side columns around it */
@media (min-width: 1025px) {
	.site-header .site-main-header-inner-wrap .site-header-main-section-left,
	.site-header .site-main-header-inner-wrap .site-header-main-section-right {
		flex: 1 1 0;
		min-width: max-content;
	}

	.site-header .site-main-header-inner-wrap .site-header-main-section-right {
		justify-content: flex-end;
	}

	.site-header .site-main-header-inner-wrap .site-header-main-section-center {
		flex: 0 0 auto;
	}
}

/* footer logo: crop the SVG canvas to the mark */
.tx-footer__brand {
	width: 68px;
	height: 66px;
}

.tx-footer__logo {
	width: 170px;
	margin: -44px 0 0 -47px;
}

/* FullCalendar v7 list: day header shows the date once */
.bookacti-calendar [role="listitem"] > [data-date] > div:nth-child(2) {
	display: none !important;
}

.bookacti-calendar [role="listitem"] > [data-date] {
	font-family: var(--tx-cond);
	font-size: 18px !important;
	font-weight: 700;
	text-transform: capitalize;
	color: var(--tx-ink);
}

/* activity colour as the card's left bar; closed or past slots stay readable (no half transparency) */
.bookacti-calendar .fc-event {
	border-left-color: var(--fc-event-color, var(--tx-line)) !important;
}

.bookacti-calendar .fc-event.bookacti-event-unavailable,
.bookacti-calendar .fc-event.fc-event-past {
	opacity: 1 !important;
}

/* week grid: always say what the number means */
.bookacti-calendar .bookacti-available-places .bookacti-available-places-avail-particle {
	display: inline !important;
}

/* membership band after page content: same breathing room as other sections */
.entry-content > :not(.tx-section) + .tx-band-section {
	padding-top: var(--tx-gap);
}

/* ================= round 3 ================= */
/* header: the logo SVG has empty canvas on its right; crop it so the slogan sits right next to the mark */
.site-header .site-branding a.brand img.custom-logo {
	margin-right: -72px;
}

.kadence-sticky-header.item-is-fixed.item-is-stuck .site-branding a.brand img.custom-logo {
	margin-right: -55px;
}

.site-header .header-html {
	margin-left: 12px;
	padding-left: 14px;
}

.site-header .header-html .tx-tagline {
	margin: 0;
	font-family: var(--tx-sans);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 0.2px;
	text-transform: none;
	color: var(--tx-muted);
	white-space: nowrap;
}

.site-header .header-html .tx-tagline strong {
	font-weight: 700;
	color: var(--tx-ink);
}



/* home hero: fills the first screen, slow zoom on the photo shown, progress line on its name */
.tx-hero {
	min-height: calc(100vh - 80px);
	min-height: calc(100svh - 80px);
}

.tx-hero__slide .tx-hero__img {
	transform: scale(1.02);
}

.tx-hero__slide.is-active .tx-hero__img {
	animation: tx-zoom calc(var(--tx-interval, 5000ms) + 1200ms) linear both;
}

@keyframes tx-zoom {
	from { transform: scale(1.02); }
	to { transform: scale(1.1); }
}

.tx-hero__dot {
	position: relative;
}

.tx-hero__dot::before {
	content: "";
	position: absolute;
	left: 0;
	top: -2px;
	height: 2px;
	width: 0;
	background: var(--tx-red);
}

.tx-hero__dot.is-active {
	border-top-color: rgba(255, 255, 255, 0.35);
}

.tx-hero__dot.is-active::before {
	animation: tx-progress var(--tx-interval, 5000ms) linear forwards;
}

.tx-hero.is-paused .tx-hero__dot.is-active::before,
.tx-hero.is-paused .tx-hero__slide.is-active .tx-hero__img {
	animation-play-state: paused;
}

@keyframes tx-progress {
	from { width: 0; }
	to { width: 100%; }
}

@media (max-width: 1024px) {
	.tx-hero {
		min-height: calc(100vh - 64px);
		min-height: calc(100svh - 64px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tx-hero__slide.is-active .tx-hero__img,
	.tx-hero__dot.is-active::before {
		animation: none;
	}

	.tx-hero__dot.is-active::before {
		width: 100%;
	}
}

/* every booking / shop button is a pill like the rest */
.bookacti-submit-form-button,
.bookacti-booking-form .button,
.bookacti-booking-form button[type="submit"],
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.single_add_to_cart_button,
.checkout-button,
#place_order,
.wc-block-components-button {
	border-radius: 999px !important;
	padding-left: 28px !important;
	padding-right: 28px !important;
	font-family: var(--tx-sans) !important;
	font-weight: 700 !important;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

/* calendar week grid: long names stop after three lines, the status gets its own line inside the card */
.bookacti-calendar .fc-event .fc-event-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bookacti-calendar .fc-event .bookacti-available-places {
	max-width: 100%;
	white-space: normal !important;
	overflow-wrap: anywhere;
}

.bookacti-calendar .bookacti-narrow-event .bookacti-available-places,
.bookacti-calendar .bookacti-small-event .bookacti-available-places {
	display: flex !important;
	justify-content: center;
	text-align: center;
	padding: 2px 4px !important;
}

/* ================= icons, amenities ================= */
.tx-ico {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	color: var(--tx-red);
}

.tx-amenities {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}

.entry-content .tx-amenities li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	border-radius: var(--tx-radius-sm);
	background: #ffffff;
	border: 1px solid var(--tx-line);
	font-size: 16px;
	line-height: 1.35;
	color: var(--tx-ink);
}

.tx-amenities--list {
	grid-template-columns: 1fr;
	gap: 0;
}

.entry-content .tx-amenities--list li {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--tx-line);
	border-radius: 0;
	background: transparent;
}

.tx-amenities--muted .tx-ico {
	color: var(--tx-muted);
}

/* converted check lists that list amenities (Grădina de vară): an icon per item */
.entry-content ul.tx-iconlist li {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	padding-left: 0 !important;
}

.entry-content ul.tx-iconlist li::before {
	display: none !important;
}

.entry-content ul.tx-iconlist .tx-ico {
	margin-top: 2px;
}

.entry-content ul.tx-iconlist .tx-iconlist__text > :last-child {
	margin-bottom: 0;
}

/* ================= Cazare ================= */
.tx-section--compact {
	padding: clamp(32px, 4vw, 56px) 0;
}

.tx-narrow {
	max-width: 820px;
}

.tx-space {
	margin-bottom: 24px !important;
}

.tx-space--top {
	margin-top: 48px !important;
}

.tx-btn--block {
	display: flex;
	width: 100%;
}

.tx-rooms {
	display: grid;
	gap: 20px;
}

.tx-room {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(20px, 4vw, 48px);
	align-items: start;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--tx-line);
	border-radius: var(--tx-radius);
	background: #ffffff;
}

.entry-content .tx-room__name {
	margin: 0 0 12px;
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: clamp(28px, 2.6vw, 36px);
	line-height: 1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--tx-ink);
}

.entry-content .tx-room__text p {
	margin: 0 0 12px;
}

.entry-content .tx-room__note {
	padding: 12px 14px;
	border-radius: var(--tx-radius-sm);
	background: var(--tx-surface);
	font-size: 15px !important;
}

.tx-room__card {
	padding: 20px;
	border-radius: var(--tx-radius);
	background: var(--tx-surface);
}

.entry-content .tx-room__card-title {
	margin: 0 0 12px;
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--tx-ink);
}

.tx-room__prices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 0 0 14px;
}

.tx-room__prices div {
	padding: 10px 12px;
	border-radius: var(--tx-radius-sm);
	background: #ffffff;
}

.tx-room__prices dt {
	font-size: 13px;
	color: var(--tx-muted);
}

.tx-room__prices dd {
	margin: 0;
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: 26px;
	line-height: 1.1;
	color: var(--tx-red);
}

.tx-room__prices small {
	font-family: var(--tx-sans);
	font-weight: 500;
	font-size: 12px;
	color: var(--tx-muted);
}

.tx-room__facts {
	list-style: none;
	margin: 0 0 16px !important;
	padding: 0 !important;
}

.entry-content .tx-room__facts li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 0;
	border-bottom: 1px solid var(--tx-line);
	font-size: 15px;
	color: var(--tx-ink);
}

.tx-room__facts .tx-ico {
	width: 20px;
	height: 20px;
	flex-basis: 20px;
}

.tx-cols2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 56px);
}

.tx-cols2 .tx-h3 {
	margin-bottom: 10px;
}

@media (max-width: 900px) {
	.tx-room,
	.tx-cols2 {
		grid-template-columns: 1fr;
	}
}

/* ================= footer: legal row with the ANPC pictogram, company details ================= */
.tx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 18px 0 8px;
}

.tx-footer__bottom .tx-footer__legal {
	padding: 0;
}

.tx-anpc {
	display: inline-block;
	line-height: 0;
}

.tx-anpc img {
	width: 250px;
	height: 50px;
	object-fit: contain;
	object-position: left center;
}

.entry-content .tx-footer__company,
.tx-footer__company {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--tx-muted);
}

/* ================= Black Friday side tab ================= */
.tx-sidetab-wrap {
	position: fixed;
	left: 0;
	top: 50%;
	z-index: 90;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	animation: tx-tab-in 0.35s ease-out both;
}

.tx-sidetab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 18px 12px;
	border-radius: 0 var(--tx-radius) var(--tx-radius) 0;
	background: var(--tx-ink);
	color: #ffffff !important;
	text-decoration: none !important;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	box-shadow: 0 10px 24px rgba(31, 36, 41, 0.25);
	border-left: 4px solid var(--tx-red);
}

.tx-sidetab:hover {
	background: var(--tx-red);
}

.tx-sidetab__small {
	font-family: var(--tx-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.6px;
	opacity: 0.8;
}

.tx-sidetab__big {
	font-family: var(--tx-cond);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.tx-sidetab__close {
	margin: 6px 0 0 6px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	color: var(--tx-ink);
	font-size: 18px;
	line-height: 28px;
	box-shadow: 0 2px 8px rgba(31, 36, 41, 0.2);
	cursor: pointer;
}

@keyframes tx-tab-in {
	from { transform: translate(-100%, -50%); }
	to { transform: translate(0, -50%); }
}

@media (max-width: 700px) {
	.tx-sidetab {
		padding: 14px 8px;
	}

	.tx-sidetab__big {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tx-sidetab-wrap {
		animation: none;
	}
}

/* sections with a title column beside check lists (Grădina de vară, Zone piscine, Devino membru):
   the title gets room, the lists line up */
html body .entry-content .tci-section:has(.tci-checklist) .wp-block-columns > .wp-block-column:first-child {
	padding-right: 32px !important;
}

html body .entry-content .tci-section:has(.tci-checklist) .wp-block-columns > .wp-block-column:first-child .wp-block-heading {
	font-size: clamp(32px, 3vw, 44px) !important;
	line-height: 1.02 !important;
	letter-spacing: 0.5px !important;
	text-align: left !important;
}

html body .entry-content .tci-section:has(.tci-checklist) .wp-block-columns > .wp-block-column:first-child .wp-block-buttons {
	justify-content: flex-start !important;
}

/* footer company line aligned with the rest */
.tx-footer__company {
	text-align: left;
}

/* photo strips (four photos in a row) become a 2 x 2 grid on phones instead of four tall photos */
@media (max-width: 700px) {
	.entry-content .wp-block-columns:not(:has(.tci-text, .wp-block-heading, p, .wp-block-buttons)):has(> .wp-block-column > .wp-block-image) {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 4px !important;
	}

	.entry-content .wp-block-columns:not(:has(.tci-text, .wp-block-heading, p, .wp-block-buttons)):has(> .wp-block-column > .wp-block-image) > .wp-block-column {
		flex-basis: auto !important;
		width: auto !important;
		margin: 0 !important;
	}

	.entry-content .wp-block-columns:not(:has(.tci-text, .wp-block-heading, p, .wp-block-buttons)):has(> .wp-block-column > .wp-block-image) img {
		aspect-ratio: 1 / 1;
		object-fit: cover;
		width: 100%;
		height: 100%;
	}
}

/* ================= round 4 ================= */
/* top bar: the slogan on one line, phone and e-mail on the right (desktop only; Kadence top row) */
.site-top-header-wrap .site-header-row-container-inner {
	border-bottom: 1px solid var(--tx-line);
}

.site-top-header-wrap .site-header-top-section-center,
.site-top-header-wrap .header-html,
.site-top-header-wrap .header-html-inner {
	flex: 1 1 auto;
	width: 100%;
}

.site-header .site-top-header-wrap .header-html {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

.tx-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: var(--tx-wrap);
	margin: 0 auto;
}

.site-header .tx-topbar .tx-tagline {
	margin: 0;
	font-family: var(--tx-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.2px;
	text-transform: none;
	color: var(--tx-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.site-header .tx-topbar .tx-tagline strong {
	font-weight: 700;
	color: var(--tx-ink);
}

.tx-topbar__contact {
	display: flex;
	gap: 20px;
	margin: 0;
	white-space: nowrap;
}

.tx-topbar__contact a {
	font-size: 13px;
	font-weight: 600;
	color: var(--tx-ink) !important;
	text-decoration: none;
}

.tx-topbar__contact a:hover {
	color: var(--tx-red) !important;
}

/* the logo no longer needs the slogan crop */
.site-header .site-branding a.brand img.custom-logo {
	margin-right: 0;
}

.kadence-sticky-header.item-is-fixed.item-is-stuck .site-branding a.brand img.custom-logo {
	margin-right: 0;
}

/* home hero: header is now two rows (36 + 80) */
.tx-hero {
	min-height: calc(100vh - 116px);
	min-height: calc(100svh - 116px);
}

/* footer logo: crop to the mark (SVG canvas 1315 x 929, mark at 27.8-66.6% x 25.7-63.6%) */
.tx-footer__brand {
	width: 78px;
	height: 54px;
}

.tx-footer__logo {
	width: 200px;
	margin: -36px 0 0 -56px;
}

/* ANPC: official pictogram on a transparent background, quietly in the legal row */
.tx-anpc img {
	width: 250px;
	height: 50px;
}

.tx-anpc {
	opacity: 0.92;
	transition: opacity 0.15s ease;
}

.tx-anpc:hover {
	opacity: 1;
}

/* ================= page banner (booking pages, Evenimente private) ================= */
.tx-pagebanner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(170px, 17vw, 250px);
	margin: 16px 24px 0;
	padding: 28px clamp(24px, 4vw, 48px);
	border-radius: calc(var(--tx-radius) + 6px);
	overflow: hidden;
	background: var(--tx-ink);
}

.tx-pagebanner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tx-pagebanner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 24, 28, 0.72) 0%, rgba(20, 24, 28, 0.15) 70%);
}

.entry-content .tx-pagebanner__title {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--tx-wrap);
	margin: 0 auto;
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: clamp(36px, 4.4vw, 60px);
	line-height: 1;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #ffffff;
}

.tx-pagebanner + .tci-booking-head,
.tx-pagebanner + .wp-block-group.tci-booking-head {
	padding-top: 28px !important;
}

@media (max-width: 700px) {
	.tx-pagebanner {
		margin: 10px 12px 0;
		min-height: 150px;
		padding: 20px;
	}
}

/* ================= Cazare v2 ================= */
.tx-photos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 16px 24px 0;
	border-radius: calc(var(--tx-radius) + 6px);
	overflow: hidden;
}

.tx-photos__item img {
	display: block;
	width: 100% !important;
	height: clamp(180px, 20vw, 300px) !important;
	object-fit: cover;
	border-radius: 0 !important;
}

@media (max-width: 700px) {
	.tx-photos {
		grid-template-columns: 1fr 1fr;
		margin: 10px 12px 0;
		gap: 4px;
	}

	.tx-photos__item img {
		height: 150px !important;
	}
}

.entry-content .tx-room__sub {
	margin: 20px 0 10px;
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--tx-ink);
}

.tx-amenities--chips {
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 6px;
}

.entry-content .tx-amenities--chips li {
	padding: 8px 10px;
	gap: 8px;
	font-size: 14px;
	background: var(--tx-surface);
	border: 0;
}

.tx-amenities--chips .tx-ico {
	width: 18px;
	height: 18px;
	flex-basis: 18px;
}

.tx-room__card .tx-room__prices {
	margin-top: 0;
}

/* Evenimente private: each space with two photos */
.tx-room--space {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
}

.tx-space__photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.tx-space__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--tx-radius-sm);
}

@media (max-width: 900px) {
	.tx-room--space {
		grid-template-columns: 1fr;
	}
}

/* calendar week grid: status pills fit narrow cards */
.bookacti-calendar .fc-event .bookacti-available-places {
	padding: 2px 6px !important;
	font-size: 10.5px !important;
	letter-spacing: 0;
}

.bookacti-calendar .fc-event .fc-event-main {
	padding: 3px 4px !important;
}

.bookacti-calendar .fc-event .fc-event-title {
	-webkit-line-clamp: 2;
	font-size: 12px !important;
}

@media (max-width: 1180px) {
	.site-header .tx-topbar .tx-tagline {
		display: none;
	}

	.tx-topbar {
		justify-content: flex-end;
	}
}

/* calendar: tall slots show their whole name; only short slots are clamped */
.bookacti-calendar .fc-event:not(.bookacti-small-event) .fc-event-title {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
	overflow-wrap: anywhere;
	hyphens: auto;
}

/* narrow cards (two slots side by side): compact status so the word fits */
.bookacti-calendar .bookacti-narrow-event .bookacti-available-places,
.bookacti-calendar .fc-event .bookacti-available-places {
	font-size: 9.5px !important;
	padding: 2px 4px !important;
}

.bookacti-calendar .fc-event:not(.bookacti-narrow-event) .bookacti-available-places {
	font-size: 10.5px !important;
	padding: 2px 7px !important;
}

/* booking pages: calendar as wide as the rest of the site, closer to the banner */
.entry-content > .tci-booking-form,
.entry-content > .tci-booking-head {
	max-width: var(--tx-wrap);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
}

.entry-content > .tci-booking-form > .wp-block-group__inner-container,
.entry-content > .tci-booking-head > .wp-block-group__inner-container {
	max-width: none !important;
}

.tx-pagebanner + .tci-booking-head {
	padding-top: 24px !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.tci-booking-head + .tci-booking-form {
	padding-top: 8px !important;
}

.bookacti-calendar .fc-event .bookacti-available-places,
.bookacti-calendar .fc-event .bookacti-available-places * {
	white-space: normal !important;
	overflow-wrap: anywhere;
	hyphens: auto;
	text-align: center;
	line-height: 1.2 !important;
}

/* Evenimente tabs: content in the page width */
.entry-content .tci-tabs.tci-evenimente,
.entry-content .tci-tabs.tci-evenimente .tci-tabs__panel {
	max-width: var(--tx-wrap);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* ================= ANPC SAL badge in the site's style (replaces the official artwork) ================= */
.tx-anpc {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	width: 250px;
	height: 50px;
	padding: 0 14px;
	border: 1px solid var(--tx-line);
	border-radius: var(--tx-radius-sm);
	background: transparent;
	color: var(--tx-ink) !important;
	text-decoration: none !important;
	line-height: 1;
	opacity: 1;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.tx-anpc:hover,
.tx-anpc:focus-visible {
	border-color: var(--tx-ink);
	color: var(--tx-red) !important;
}

.tx-anpc__mark {
	padding-right: 12px;
	border-right: 1px solid var(--tx-line);
	font-family: var(--tx-cond);
	font-weight: 700;
	font-size: 22px;
	letter-spacing: 1px;
	color: var(--tx-ink);
}

.tx-anpc__text {
	flex: 1 1 auto;
	font-family: var(--tx-sans);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--tx-muted);
}

.tx-anpc__arrow {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	color: inherit;
}

.tx-anpc {
	gap: 10px;
	padding: 0 12px;
	text-align: left;
}

.tx-anpc__mark {
	padding-right: 10px;
	font-size: 20px;
}

.tx-anpc__text {
	font-size: 11px;
	letter-spacing: 0;
	white-space: nowrap;
	text-align: left;
}

.tx-anpc__arrow {
	width: 14px;
	height: 14px;
	flex-basis: 14px;
}

/* converted buttons (Servicii, Zone piscine...) keep a 3px radius from the mirror rules: always a pill */
.entry-content .wp-block-button__link,
.entry-content .wp-block-button .wp-block-button__link,
html body .entry-content .wp-block-buttons .wp-block-button__link {
	border-radius: 999px !important;
}

/* ANPC: the official pictogram (201 x 50 file) in a 250 x 50 space, no frame of ours */
.tx-anpc {
	display: inline-flex;
	align-items: center;
	width: 250px;
	height: 50px;
	padding: 0;
	gap: 0;
	border: 0;
	background: transparent;
}

.tx-anpc img {
	width: 201px;
	height: 50px;
	object-fit: contain;
}

/* home "Beneficii și oferte": icon list like the other pages */
.entry-content .tx-amenities--benefits {
	margin: 0 0 28px !important;
}

.entry-content .tx-amenities--benefits li {
	align-items: flex-start;
	color: var(--tx-text);
}

.entry-content .tx-amenities--benefits .tx-ico {
	margin-top: 1px;
}

/* ================= Tarife: compact price tables ================= */
html body .entry-content .tci-tabs__panel > .tci-table,
html body .entry-content .tci-tabs__panel > ul,
html body .entry-content .tci-tabs__panel > p,
html body .entry-content .tci-tabs__panel > .wp-block-buttons {
	max-width: 960px;
	margin-left: auto !important;
	margin-right: auto !important;
}

html body .entry-content .tci-table {
	padding: 0 24px;
	box-sizing: content-box;
}

html body .entry-content .tci-table .table-1 {
	overflow-x: auto;
	border: 1px solid var(--tx-line);
	border-radius: var(--tx-radius);
	background: #ffffff;
}

html body .entry-content .tci-table table {
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
}

html body .entry-content .tci-table th,
html body .entry-content .tci-table td {
	padding: 14px 18px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--tx-line) !important;
	background: transparent !important;
	vertical-align: middle !important;
	text-align: center !important;
	white-space: pre-line;
	font-size: 16px !important;
	line-height: 1.5 !important;
	letter-spacing: 0.1px !important;
	color: var(--tx-ink) !important;
}

html body .entry-content .tci-table th *,
html body .entry-content .tci-table td * {
	font-size: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	color: inherit !important;
}

html body .entry-content .tci-table thead th {
	padding-top: 12px !important;
	padding-bottom: 12px !important;
	background: var(--tx-surface) !important;
	font-family: var(--tx-cond) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0.8px !important;
	color: var(--tx-muted) !important;
}

html body .entry-content .tci-table thead th strong {
	font-weight: 600 !important;
}

html body .entry-content .tci-table tbody tr:last-child > * {
	border-bottom: 0 !important;
}

/* first column (days / service) and long details read left-aligned */
html body .entry-content .tci-table tr > :first-child,
html body .entry-content .tci-table tr > :nth-child(4) {
	text-align: left !important;
}

html body .entry-content .tci-table tbody tr > :nth-child(4) {
	font-size: 14.5px !important;
	color: var(--tx-text) !important;
}

html body .entry-content .tci-table tbody tr:hover > * {
	background: #fafaf8 !important;
}

/* footnotes under each table */
html body .entry-content .tci-tabs__panel > ul {
	margin-top: 22px !important;
	margin-bottom: 22px !important;
	padding: 0 24px !important;
}

html body .entry-content .tci-tabs__panel > ul li {
	margin: 0 !important;
	line-height: 1.7 !important;
	letter-spacing: 0.1px !important;
	font-size: 14.5px !important;
	color: var(--tx-muted) !important;
}

@media (max-width: 700px) {
	html body .entry-content .tci-table { padding: 0 12px; }
	html body .entry-content .tci-table th,
	html body .entry-content .tci-table td { padding: 11px 12px !important; font-size: 15px !important; }
	html body .entry-content .tci-table tbody tr > :nth-child(4) { min-width: 180px; font-size: 14px !important; }
}

/* membership band: same width as the page banner at the top */
.tx-band-section > .tx-wrap {
	max-width: none;
	padding: 0 24px;
}

@media (max-width: 700px) {
	.tx-band-section > .tx-wrap { padding: 0 12px; }
}

/* row lines: the converted rule draws a 3px grey line on each row */
html body .entry-content .tci-table tr {
	border: 0 !important;
}

/* Tarife: no extra gap between the last table and the membership band */
html body .entry-content .tci-section:has(.tci-table) .tci-tabs {
	margin-bottom: 0 !important;
}

html body .entry-content .tci-section:has(.tci-table) {
	margin-bottom: 0 !important;
}

/* phones: price tables become one small card per row, every value with its column name */
@media (max-width: 700px) {
	html body .entry-content .tci-table .table-1 { overflow: visible; border: 0; background: transparent; border-radius: 0; }
	html body .entry-content .tci-table table.tx-pricetable thead { display: none; }
	html body .entry-content .tci-table table.tx-pricetable,
	html body .entry-content .tci-table table.tx-pricetable tbody { display: block; }
	html body .entry-content .tci-table table.tx-pricetable tr {
		display: block;
		margin: 0 0 10px;
		padding: 6px 16px;
		border: 1px solid var(--tx-line) !important;
		border-radius: var(--tx-radius);
		background: #ffffff;
	}
	html body .entry-content .tci-table table.tx-pricetable td {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		padding: 8px 0 !important;
		min-width: 0 !important;
		text-align: right !important;
		border-bottom: 1px solid var(--tx-line) !important;
	}
	html body .entry-content .tci-table table.tx-pricetable td:last-child { border-bottom: 0 !important; }
	html body .entry-content .tci-table table.tx-pricetable td.is-empty { display: none; }
	html body .entry-content .tci-table table.tx-pricetable td::before {
		content: attr(data-label);
		flex: 0 0 auto;
		max-width: 45%;
		text-align: left;
		font-family: var(--tx-cond);
		font-size: 14px;
		font-weight: 600;
		letter-spacing: 0.6px;
		text-transform: uppercase;
		color: var(--tx-muted);
	}
	/* first cell is the row title: full width, no label */
	html body .entry-content .tci-table table.tx-pricetable td:first-child {
		display: block;
		text-align: left !important;
		font-weight: 600;
	}
	html body .entry-content .tci-table table.tx-pricetable td:first-child::before { content: none; }
	html body .entry-content .tci-table table.tx-pricetable tbody tr:hover > * { background: transparent !important; }
	html body .entry-content .tci-table table.tx-pricetable tr > :nth-child(4) { text-align: right !important; }
}

/* tabs as an accordion (≤1000px): keep the page gutter */
@media (max-width: 1000px) {
	html body .entry-content .tci-tabs { padding-left: 16px; padding-right: 16px; }
	html body .entry-content .tci-tabs .tci-table { padding: 0; }
}

/* membership band used as the page header (Tarife): same inset as the page banners */
.entry-content > .tx-band-section--top {
	padding: 16px 0 0 !important;
}

.tx-band-section--top .tx-band {
	min-height: clamp(260px, 26vw, 360px);
}

@media (max-width: 700px) {
	.entry-content > .tx-band-section--top { padding-top: 10px !important; }
}

/* photo row inside a page (Grădina de vară): same look as the Cazare photo row at the top */
.entry-content > .tx-photos--section {
	margin: 0 24px;
}

@media (max-width: 700px) {
	.entry-content > .tx-photos--section { margin: 0 12px; }
}

/* phones: the converted table rules fix cell widths and table display; the card layout needs to win over them */
@media (max-width: 700px) {
	html body .entry-content .tci-table table.tx-pricetable,
	html body .entry-content .tci-table table.tx-pricetable tbody,
	html body .entry-content .tci-table table.tx-pricetable tr {
		display: block !important;
		width: auto !important;
	}
	html body .entry-content .tci-table table.tx-pricetable td {
		display: flex !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		white-space: normal;
	}
	html body .entry-content .tci-table table.tx-pricetable td:first-child {
		display: block !important;
		white-space: pre-line;
	}
	html body .entry-content .tci-table table.tx-pricetable td.is-empty { display: none !important; }
	html body .entry-content .tci-table table.tx-pricetable td > * { text-align: right; }
}

/* section heading right above an icon grid */
.entry-content .tx-wrap > .tx-h2 + .tx-amenities {
	margin-top: 20px !important;
}

/* buttons over photos (home slider, membership bands): both translucent red, solid on hover */
.tx-hero .tx-hero__actions .tx-btn,
.tx-band .tx-hero__actions .tx-btn {
	background: rgba(200, 62, 50, 0.78) !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	color: #ffffff !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.tx-hero .tx-hero__actions .tx-btn:hover,
.tx-hero .tx-hero__actions .tx-btn:focus-visible,
.tx-band .tx-hero__actions .tx-btn:hover,
.tx-band .tx-hero__actions .tx-btn:focus-visible {
	background: var(--tx-red) !important;
	border-color: var(--tx-red) !important;
}

html body .entry-content .tci-table .tx-cell { white-space: pre-line; }

@media (max-width: 700px) {
	html body .entry-content .tci-tabs .tci-table { width: auto !important; box-sizing: border-box; }
	html body .entry-content .tci-table table.tx-pricetable td .tx-cell { flex: 1 1 auto; min-width: 0; text-align: right; }
	html body .entry-content .tci-table table.tx-pricetable td:first-child .tx-cell { text-align: left; }
}

/* ================= harmonize: rounded corners everywhere ================= */
/* Noutăți offer block, its plan cards and the deadline note; the Black Friday popup box */
html body .entry-content .tci-bf__hero,
html body .entry-content .tci-bf__plan,
html body .tci-popup .tci-popup__box {
	border-radius: calc(var(--tx-radius) + 6px) !important;
	overflow: hidden;
}

html body .entry-content .tci-bf__deadline {
	border-radius: 0 var(--tx-radius-sm) var(--tx-radius-sm) 0 !important;
}

/* pages that end with text (Despre noi): breathing room before the footer */
.entry-content > .tci-section:last-child {
	padding-bottom: clamp(48px, 6vw, 80px) !important;
}

/* header menu: same hover as the footer menu (red, underlined) */
.site-header .header-navigation .menu > li > a:hover,
.site-header .header-navigation .menu > li > a:focus-visible {
	color: var(--tx-red);
	text-decoration: underline;
	text-decoration-color: var(--tx-red);
	text-underline-offset: 3.5px;
}

/* ================= cards (Evenimente private: facilities, rules, booking terms) ================= */
.tx-card {
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid var(--tx-line);
	border-radius: var(--tx-radius);
	background: #ffffff;
}

.entry-content .tx-card .tx-h3 {
	margin: 0 0 14px;
}

.entry-content .tx-card > :last-child {
	margin-bottom: 0;
}

.entry-content .tx-card .tx-amenities {
	margin-top: 4px !important;
}

.entry-content ul.tx-bullets {
	margin: 0 0 14px !important;
	padding: 0 0 0 20px !important;
}

.entry-content ul.tx-bullets li {
	margin: 0 0 8px;
	color: var(--tx-text);
}

.entry-content ul.tx-bullets li::marker {
	color: var(--tx-red);
}

.entry-content .tx-card .tx-card__note {
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--tx-muted);
}

.tx-cards2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	align-items: start;
}

@media (max-width: 900px) {
	.tx-cards2 { grid-template-columns: 1fr; }
}

.tx-rooms--after-card,
.tx-cards2--after {
	margin-top: 16px;
}

.tx-card--facilities .tx-amenities {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

html body .entry-content .tci-tabs__panel > ul.tx-table-notes {
	list-style: none;
	text-align: center;
}

/* tabs on tablets and phones: all tab buttons at the top (2 per row), the selected prices below, like on desktop */
@media (max-width: 1000px) {
	html body .entry-content .tci-tabs {
		display: block;
		padding-top: 0;
	}
	html body .entry-content .tci-tabs .tci-tabs__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		margin: 0 0 20px;
		padding: 6px;
		border-radius: var(--tx-radius);
		background: var(--tx-surface);
	}
	html body .entry-content .tci-tabs .tci-tabs__list [role="tab"],
	html body .entry-content .tci-tabs.different-color-boxes .tci-tabs__list [role="tab"]:nth-child(odd) {
		width: auto;
		min-height: 46px;
		margin: 0;
		padding: 8px 10px;
		font-size: 15px;
		line-height: 1.15;
		letter-spacing: 0.5px;
		border-radius: var(--tx-radius-sm);
		background: transparent;
	}
	html body .entry-content .tci-tabs .tci-tabs__list [role="tab"][aria-selected="true"],
	html body .entry-content .tci-tabs.different-color-boxes .tci-tabs__list [role="tab"][aria-selected="true"] {
		background: var(--tx-red);
		color: #ffffff;
	}
	html body .entry-content .tci-tabs .tci-tabs__panel { margin-top: 0; }
}

/* Devino membru: the two app cards */
.tx-appcards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	align-items: start;
	margin-top: 20px;
}

.tx-appcard__store {
	display: inline-block;
	margin: 0 0 16px;
}

.tx-appcard__store img {
	display: block;
	width: auto !important;
	height: 48px !important;
	border-radius: 8px;
}

.entry-content .tx-appcard .tx-amenities--list li {
	align-items: flex-start;
	color: var(--tx-text);
}

.entry-content .tx-appcard .tx-amenities--list li:last-child {
	border-bottom: 0;
}

.entry-content .tx-appcard .tx-amenities--list a {
	color: var(--tx-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Evenimente private: the rules card on the left, booking terms and contact stacked on the right */
.tx-cards2__stack {
	display: grid;
	gap: 16px;
}

.entry-content .tx-card--contact p {
	margin: 0;
	color: var(--tx-text);
}

.entry-content .tx-card--contact a {
	color: var(--tx-red);
	font-weight: 600;
}

@media (max-width: 900px) {
	.tx-appcards { grid-template-columns: 1fr; }
}

/* every button on the site: red background, white text (Adrian 2026-11-19) */
.tx-btn--ghost,
.tx-btn--light {
	background: var(--tx-red);
	border-color: var(--tx-red);
	color: #ffffff !important;
}

.tx-btn--ghost:hover,
.tx-btn--ghost:focus-visible,
.tx-btn--light:hover,
.tx-btn--light:focus-visible {
	background: var(--tx-red-dark);
	border-color: var(--tx-red-dark);
	color: #ffffff !important;
}

/* ================= email round 2026-11-20: week calendar on one screen ================= */
/* "Azi" always looks like a button (FullCalendar disables it while today is already shown) */
.bookacti-calendar .fc-button:disabled {
	color: var(--tx-ink) !important;
	background: #ffffff !important;
}

/* view buttons as one segmented group: Lună / Săptămână / Zi */
.bookacti-calendar .fc-toolbar-chunk:last-child .fc-button-group {
	gap: 0;
	padding: 3px;
	border: 1px solid var(--tx-line);
	border-radius: 999px;
}

.bookacti-calendar .fc-toolbar-chunk:last-child .fc-button {
	min-height: 34px;
	border-color: transparent !important;
}

/* phones: arrows, Azi and the month on the first line, the views centred under them */
@media (max-width: 699px) {
	.bookacti-calendar .fc-toolbar {
		display: grid !important;
		grid-template-columns: auto 1fr;
		gap: 10px;
	}

	.bookacti-calendar .fc-toolbar > :nth-child(2) {
		justify-self: end;
	}

	.bookacti-calendar .fc-toolbar > :last-child {
		grid-column: 1 / -1;
		justify-self: center;
	}
}

/* time grid (week and day): time and status on the first line, activity under them */
@media all {
	.bookacti-calendar .fc-event .fc-event-main {
		display: flex !important;
		flex-flow: row wrap;
		align-content: flex-start;
		align-items: center;
		gap: 1px 3px;
		padding: 2px 6px !important;
		line-height: 1.25;
		text-align: left;
	}

	.bookacti-calendar .fc-event .fc-event-time {
		order: 1;
		flex: 0 0 auto;
		width: auto !important;
		font-size: 11px !important;
	}

	.bookacti-calendar .fc-event .bookacti-availability-container {
		order: 2;
		flex: 0 0 auto;
		margin: 0 0 0 auto !important;
	}

	.bookacti-calendar .fc-event .fc-event-title {
		order: 3;
		flex: 0 0 100%;
		min-width: 0;
		font-size: 11.5px !important;
		text-align: left;
	}

	.bookacti-calendar .fc-event .bookacti-available-places {
		flex-wrap: nowrap;
		padding: 0 5px !important;
		font-size: 10.5px !important;
	}

}

/* start time only in the grid: the block's length and the hour column show the end */
@media all {
	.bookacti-calendar .fc-event .bookacti-event-time-separator,
	.bookacti-calendar .fc-event .bookacti-event-time-end {
		display: none;
	}
}

/* full slot: only "Complet" (the plugin also prints "0 locuri libere") */
.bookacti-calendar .fc-event .bookacti-available-places.bookacti-full,
.bookacti-calendar .fc-list-event .bookacti-available-places.bookacti-full {
	font-size: 0 !important;
}

.bookacti-calendar .fc-event .bookacti-available-places.bookacti-full > *,
.bookacti-calendar .fc-list-event .bookacti-available-places.bookacti-full > * {
	display: none !important;
}

.bookacti-calendar .fc-event .bookacti-available-places.bookacti-full::after,
.bookacti-calendar .fc-list-event .bookacti-available-places.bookacti-full::after {
	font-size: 10.5px;
}

/* month: one line per slot (colour bar, start time, activity), the rest behind "+N"; status shows in Săptămână / Zi */
.bookacti-calendar[data-view="dayGridMonth"] .fc-event {
	margin-bottom: 2px !important;
	border-radius: 5px !important;
	box-shadow: none !important;
}

.bookacti-calendar[data-view="dayGridMonth"] .fc-event .fc-event-main {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: baseline;
	gap: 4px;
	padding: 1px 5px !important;
	white-space: nowrap;
	overflow: hidden;
}

.bookacti-calendar[data-view="dayGridMonth"] .fc-event .fc-event-time {
	order: 1;
	flex: 0 0 auto !important;
}

.bookacti-calendar[data-view="dayGridMonth"] .fc-event .fc-event-title {
	order: 2;
	flex: 1 1 auto !important;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px !important;
}

.bookacti-calendar[data-view="dayGridMonth"] .fc-event .bookacti-availability-container {
	display: none !important;
}

.bookacti-calendar[data-view="dayGridMonth"] a[class*="more"],
.bookacti-calendar[data-view="dayGridMonth"] [class*="more-link"] {
	font-size: 12px;
	font-weight: 700;
	color: var(--tx-red) !important;
}

/* phones, month: the day number and a coloured dot per slot; tap the day to open it */
@media (max-width: 699px) {
	.bookacti-calendar[data-view="dayGridMonth"] .fc-event .fc-event-main {
		height: 6px;
		padding: 0 !important;
	}

	.bookacti-calendar[data-view="dayGridMonth"] .fc-event .fc-event-main > * {
		display: none !important;
	}

	.bookacti-calendar[data-view="dayGridMonth"] .fc-event {
		border-width: 0 0 0 0 !important;
		background: var(--fc-event-color, var(--tx-line)) !important;
	}
}

/* "+N" in the month: plain red text, no box */
.bookacti-calendar[data-view="dayGridMonth"] a[class*="more"],
.bookacti-calendar[data-view="dayGridMonth"] [class*="more-link"] {
	padding: 0 2px !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

/* day numbers open the day */
.bookacti-calendar a[data-navlink] {
	cursor: pointer;
}

/* phones, week: columns are narrow, so each slot shows its start time and free places; Zi has the full details */
@media (max-width: 699px) {
	.bookacti-calendar[data-view="timeGridWeek"] .fc-event .fc-event-title,
	.bookacti-calendar[data-view="timeGridWeek"] .fc-event .bookacti-available-places-unit-name,
	.bookacti-calendar[data-view="timeGridWeek"] .fc-event .bookacti-available-places-avail-particle,
	.bookacti-calendar[data-view="timeGridWeek"] .fc-event .bookacti-not-bookable {
		display: none !important;
	}

	.bookacti-calendar[data-view="timeGridWeek"] .fc-event .fc-event-main {
		padding: 2px 3px !important;
	}

	.bookacti-calendar[data-view="timeGridWeek"] .fc-event .fc-event-time {
		font-size: 10px !important;
	}

	.bookacti-calendar[data-view="timeGridWeek"] .fc-event .bookacti-availability-container {
		margin: 0 !important;
	}

	.bookacti-calendar[data-view="timeGridWeek"] .fc-event .bookacti-available-places {
		padding: 0 4px !important;
	}

	.bookacti-calendar[data-view="timeGridWeek"] .fc-event .bookacti-available-places.bookacti-full::after {
		content: "0";
	}
}

/* Tarife notes: a card the width of the price table, one line per note with a small red dot */
html body .entry-content .tci-tabs__panel > ul.tx-notes {
	box-sizing: border-box;
	width: calc(100% - 48px);
	max-width: 960px;
	margin: 16px auto 28px !important;
	padding: 18px 24px !important;
	list-style: none !important;
	border: 1px solid var(--tx-line);
	border-radius: var(--tx-radius);
	background: #ffffff;
	text-align: left;
}

html body .entry-content .tci-tabs__panel > ul.tx-notes li {
	position: relative;
	margin: 0 !important;
	padding: 5px 0 5px 18px !important;
	font-size: 15px;
	line-height: 1.55 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
	color: var(--tx-text);
	list-style: none !important;
}

html body .entry-content .tci-tabs__panel > ul.tx-notes li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: calc(5px + 0.62em);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tx-red);
}

@media (max-width: 700px) {
	html body .entry-content .tci-tabs__panel > ul.tx-notes {
		width: auto;
		padding: 14px 16px !important;
	}

	html body .entry-content .tci-tabs__panel > ul.tx-notes li {
		font-size: 14px;
	}
}

/* phones: the slide lines all fit the screen (equal width), the current slide's name under them */
@media (max-width: 700px) {
	.tx-hero__nav {
		display: grid !important;
		grid-template-columns: repeat(var(--tx-n, 6), minmax(0, 1fr));
		gap: 6px;
		overflow: visible;
	}

	.tx-hero__dot {
		min-width: 0 !important;
		height: 22px;
		padding: 0 !important;
		font-size: 0 !important;
		color: transparent !important;
		overflow: visible;
	}

	.tx-hero__nav::after {
		content: attr(data-current);
		grid-column: 1 / -1;
		margin-top: -8px;
		color: #ffffff;
		font-family: var(--tx-sans);
		font-size: 13px;
		font-weight: 600;
	}
}

/* phones: the two hero buttons side by side, like on desktop */
@media (max-width: 700px) {
	.tx-hero__actions {
		flex-wrap: nowrap;
		gap: 8px;
	}

	.tx-hero__actions .tx-btn {
		flex: 1 1 0 !important;
		min-width: 0;
		padding-left: 10px !important;
		padding-right: 10px !important;
		font-size: 13px !important;
		white-space: nowrap;
		text-align: center;
	}
}

/* small phones: hero text a size smaller so the photo shows above it */
@media (max-width: 380px) {
	.entry-content .tx-hero__title {
		margin-bottom: 12px;
		font-size: 38px;
	}

	.entry-content .tx-hero__text {
		font-size: 14px !important;
		line-height: 1.55 !important;
	}

	.tx-hero__actions .tx-btn {
		font-size: 12px !important;
	}
}

/* phones and tablets: one line, "Get Active. Live Life.", phone and e-mail */
.tx-topbar--mobile {
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 12px;
	padding: 7px 12px;
	white-space: nowrap;
}

.site-header .tx-topbar--mobile .tx-tagline {
	display: block !important;
	font-size: 11.5px;
	line-height: 1.3;
}

.tx-topbar--mobile .tx-topbar__contact {
	gap: 12px;
}

.tx-topbar--mobile .tx-topbar__contact a {
	font-size: 11.5px;
}

@media (max-width: 359px) {
	.tx-topbar--mobile,
	.tx-topbar--mobile .tx-topbar__contact {
		gap: 7px;
	}

	.tx-topbar--mobile {
		padding: 7px 6px;
	}

	.site-header .tx-topbar--mobile .tx-tagline,
	.tx-topbar--mobile .tx-topbar__contact a {
		font-size: 10px;
	}
}

/* Shop pages: headings left-aligned (an old rule justified them, leaving big gaps between words on phones) and sized like the rest */
.woocommerce-cart h1, .woocommerce-cart h2, .woocommerce-cart h3,
.woocommerce-checkout h1, .woocommerce-checkout h2, .woocommerce-checkout h3 { text-align: left; }
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout h3#order_review_heading { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 0 0 18px; }

/* Contact map: the cookie plugin wraps the map in its own box (placeholder before consent, map after); both fill the whole card */
.tx-contact__map { position: relative; }
.tx-contact__map > .cmplz-placeholder-parent,
.tx-contact__map > .cmplz-placeholder-parent > iframe,
.tx-contact__map > iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
}
.tx-contact__map .cmplz-blocked-content-container { width: 100% !important; height: 100% !important; background-size: cover !important; }
