

/******************
MMR MERGED: /wp-content/themes/flatsome-child/css/page-locations.css
***************/

/* ------------------------------------------------------------------
 * Locations landing page (page-locations.php)
 * Matches the Lovable /locations design.
 * ------------------------------------------------------------------ */

body.tt-locations-body {
	margin: 0;
	padding: 0;
	background: #ffffff;
	color: #0a0a0a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

body.tt-locations-body * ,
body.tt-locations-body *::before,
body.tt-locations-body *::after {
	box-sizing: border-box;
}

/* twemoji image sizing inside text runs */
body.tt-locations-body img.emoji {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin: 0 .05em 0 .1em;
	vertical-align: -0.15em;
}

.tt-locations-page {
	background: #ffffff;
	color: #0a0a0a;
	min-height: 100vh;
}

/* ---------- Top header (logo + nav) ---------- */

.tt-locations-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(228, 228, 231, 0.6);
	z-index: 50;
}

.tt-locations-header-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tt-locations-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #0a0a0a;
}

.tt-locations-brand:hover,
.tt-locations-brand:focus {
	text-decoration: none;
	color: #0a0a0a;
}

.tt-locations-brand-logo {
	height: 28px;
	width: auto;
	max-width: 160px;
	display: block;
}

@media (min-width: 768px) {
	.tt-locations-brand-logo {
		height: 32px;
		max-width: 200px;
	}
}

.tt-locations-brand-text {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.tt-locations-nav {
	display: none;
	align-items: center;
	gap: 32px;
}

.tt-locations-nav-link {
	font-size: 14px;
	color: #71717a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tt-locations-nav-link:hover,
.tt-locations-nav-link:focus {
	color: #0a0a0a;
	text-decoration: none;
}

.tt-locations-nav-link.is-active {
	color: #0a0a0a;
	font-weight: 600;
}

.tt-locations-nav-mobile {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
}

@media (min-width: 768px) {
	.tt-locations-nav {
		display: flex;
	}

	.tt-locations-nav-mobile {
		display: none;
	}
}

.tt-locations-container {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
}

/* ---------- Hero ---------- */

.tt-locations-hero {
	padding-top: 0;
}

.tt-locations-hero .tt-locations-container {
	padding-top: 30px;
	padding-bottom: 30px;
	text-align: center;
}

.tt-locations-title {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 12px;
	color: #0a0a0a;
}

.tt-locations-lead {
	font-size: 15px;
	line-height: 1.55;
	color: #71717a;
	max-width: 90%;
	margin: 0 auto 6px;
}

.tt-locations-sub {
	font-size: 13px;
	line-height: 1.55;
	color: rgba(113, 113, 122, 0.85);
	max-width: 90%;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.tt-locations-hero .tt-locations-container {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.tt-locations-title {
		font-size: 44px;
		margin-bottom: 16px;
	}

	.tt-locations-lead {
		font-size: 18px;
	}

	.tt-locations-sub {
		font-size: 16px;
	}
}

@media (min-width: 1024px) {
	.tt-locations-hero .tt-locations-container {
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.tt-locations-title {
		font-size: 48px;
	}
}

/* ---------- Locations list ---------- */

.tt-locations-list {
	padding-bottom: 15px;
}

/* Prevent the last location card/section from hiding under the
   fixed mobile bottom nav before reaching the footer. */
@media (max-width: 800px) {
	.tt-locations-list {
		padding-bottom: 30px;
	}
}

.tt-locations-empty {
	color: #71717a;
	text-align: center;
	padding: 15px 0;
}

.tt-locations-country + .tt-locations-country {
	margin-top: 15px;
}

.tt-locations-country-head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 15px;
	width: auto;
}

.tt-locations-flag {
	font-size: 24px;
	line-height: 1;
	flex: 0 0 auto;
}

.tt-locations-country-name {
	font-size: 18px;
	font-weight: 700;
	margin: 0 !important;
	padding: 0;
	color: #0a0a0a;
	flex: 0 0 auto;
	width: auto;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
}

@media (min-width: 768px) {
	.tt-locations-country-name {
		font-size: 20px;
	}
}

.tt-locations-country-count {
	font-size: 12px;
	color: #71717a;
	flex: 0 0 auto;
}

/* ---------- Grid ---------- */

.tt-locations-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

@media (min-width: 768px) {
	.tt-locations-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.tt-locations-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------- Card ---------- */

.tt-location-card {
	border-radius: 16px;
	overflow: hidden;
	background: #f4f4f5;
	border: 1px solid #e4e4e7;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
}

.tt-location-media {
	position: relative;
	aspect-ratio: 16 / 12;
	overflow: hidden;
	background: #e4e4e7;
}

.tt-location-media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.tt-location-card:hover .tt-location-media-img {
	transform: scale(1.05);
}

.tt-location-media-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e4e4e7, #d4d4d8);
}

.tt-location-media-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(0, 0, 0, 0.3) 50%,
		rgba(0, 0, 0, 0.1) 100%
	);
	pointer-events: none;
}

.tt-location-media-top {
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	color: #ffffff;
	z-index: 2;
}

.tt-location-title-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.tt-location-emoji {
	font-size: 16px;
	line-height: 1;
}

.tt-location-name {
	margin: 0;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

.tt-location-events {
	margin: 2px 0 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	font-weight: 600;
}

@media (min-width: 1024px) {
	.tt-location-name,
	.tt-location-events {
		font-size: 15px;
	}
}

.tt-location-media-bottom {
	position: absolute;
	bottom: 15px;
	left: 15px;
	right: 15px;
	z-index: 2;
}

.tt-location-checkin {
	display: block;
	width: 100%;
	text-align: center;
	padding: 6px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.9);
	color: #0a0a0a;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
}

.tt-location-checkin:hover,
.tt-location-checkin:focus {
	background: #ffffff;
	color: #0a0a0a;
	text-decoration: none;
}

@media (min-width: 1024px) {
	.tt-location-checkin {
		font-size: 14px;
	}
}

.tt-location-body {
	padding: 15px;
}

.tt-location-desc {
	font-size: 12px;
	line-height: 1.4;
	color: #71717a;
	margin: 0 0 15px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

@media (min-width: 1024px) {
	.tt-location-desc {
		font-size: 14px;
	}
}

.tt-location-links {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.tt-location-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	line-height: 1.4;
	transition: background-color 0.2s ease;
}

.tt-location-link:hover,
.tt-location-link:focus {
	text-decoration: none;
}

.tt-location-link-icon {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
}

.tt-link-whatsapp {
	background: rgba(34, 197, 94, 0.1);
	color: #15803d;
}

.tt-link-whatsapp:hover,
.tt-link-whatsapp:focus {
	background: rgba(34, 197, 94, 0.2);
	color: #15803d;
}

.tt-link-telegram {
	background: rgba(59, 130, 246, 0.1);
	color: #1d4ed8;
}

.tt-link-telegram:hover,
.tt-link-telegram:focus {
	background: rgba(59, 130, 246, 0.2);
	color: #1d4ed8;
}

@media (min-width: 1024px) {
	.tt-location-link {
		font-size: 13px;
	}
}

/* Page wrapper reset — override Flatsome's default page container chrome */
body.page-template-page-locations #main,
body.page-template-page-locations #content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}

body.page-template-page-locations .entry-header {
	display: none;
}

/* ---------- Footer ---------- */

.tt-locations-footer {
	background: #f4f4f5;
	border-top: 1px solid #e4e4e7;
	color: #71717a;
}

.tt-locations-footer a {
	color: #71717a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tt-locations-footer a:hover,
.tt-locations-footer a:focus {
	color: #0a0a0a;
	text-decoration: none;
}

/* Desktop footer */
.tt-locations-footer-desktop {
	display: none;
}

.tt-locations-footer-inner {
	max-width: 1050px;
	margin: 0 auto;
	padding: 40px 24px;
}

.tt-locations-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin-bottom: 32px;
}

.tt-locations-footer-heading {
	margin: 0 0 16px;
	color: #0a0a0a;
	font-size: 14px;
	font-weight: 600;
}

.tt-locations-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tt-locations-footer-list li + li {
	margin-top: 12px;
}

.tt-locations-footer-list a {
	font-size: 14px;
}

.tt-locations-footer-bar {
	border-top: 1px solid #e4e4e7;
	padding-top: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.tt-locations-footer-copy {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.tt-locations-footer-sep {
	color: #a1a1aa;
}

.tt-locations-footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
}

.tt-locations-social-icon {
	width: 20px;
	height: 20px;
	display: block;
}

/* Mobile footer */
.tt-locations-footer-mobile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 15px;
	max-width: 100%;
	box-sizing: border-box;
}

/* Clear room for the fixed mobile bottom nav (70px) so the
   © 2026 copyright line sits visibly above it. */
@media (max-width: 800px) {
	.tt-locations-footer-mobile {
		padding-bottom: 85px;
	}
}

.tt-locations-footer-mobile-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 15px;
	font-size: 14px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.tt-locations-footer-mobile-nav a {
	white-space: nowrap;
	color: #71717a;
	text-overflow: clip;
}

.tt-locations-footer-mobile-nav a:hover,
.tt-locations-footer-mobile-nav a:focus {
	color: #0a0a0a;
}

.tt-locations-footer-mobile .tt-locations-footer-social {
	gap: 20px;
}

.tt-locations-footer-mobile .tt-locations-footer-social a {
	color: #71717a;
}

.tt-locations-footer-mobile .tt-locations-footer-social a:hover,
.tt-locations-footer-mobile .tt-locations-footer-social a:focus {
	color: #0a0a0a;
}

.tt-locations-footer-mobile .tt-locations-footer-social {
	gap: 20px;
}

.tt-locations-footer-copy-mobile {
	margin: 0;
	font-size: 12px;
	color: #71717a;
	text-align: center;
}

@media (min-width: 1024px) {
	.tt-locations-footer-desktop {
		display: block;
	}

	.tt-locations-footer-mobile {
		display: none;
	}
}

