/*
 * Variabile proprii, ca stilurile sa arate la fel in orice tema InLei.
 */
:root {
	--fx-accent: #2ad2c9;
	--fx-ink: #000;
	--fx-muted: #8a8d8f;
	--fx-line: #f2f3f3;
}

/*
 * Stiluri pentru shortcode-urile Flatsome randate de inc/flatsome-compat.php.
 * Mobile first. Praguri identice cu Flatsome: small < 550px, medium < 850px.
 */

/* --- Vizibilitate (continut dublat mobil / desktop in Flatsome) --- */
.fx-hidden { display: none !important; }
@media (max-width: 549.98px) {
	.fx-hide-sm { display: none !important; }
}
@media (min-width: 550px) {
	.fx-show-sm { display: none !important; }
}
@media (min-width: 550px) and (max-width: 849.98px) {
	.fx-hide-md { display: none !important; }
}
@media (max-width: 549.98px), (min-width: 850px) {
	.fx-show-md { display: none !important; }
}

/* --- Sectiuni --- */
.fx-section {
	position: relative;
	display: flex;
	align-items: center;
	min-height: var(--fx-min-h-sm, var(--fx-min-h, 0));
	background-size: cover;
	background-repeat: no-repeat;
}
.fx-section-inner { width: 100%; }
@media (min-width: 850px) {
	.fx-section { min-height: var(--fx-min-h, 0); }
}

/* --- Grila --- */
.fx-row {
	display: flex;
	flex-wrap: wrap;
	margin-inline: -10px;
}
.fx-row.fx-collapse { margin-inline: 0; }
.fx-row.fx-v-middle,
.fx-row.fx-v-center { align-items: center; }
.fx-row.fx-v-bottom { align-items: flex-end; }
.fx-row.fx-h-center { justify-content: center; }
.fx-row.fx-h-right  { justify-content: flex-end; }

.fx-col {
	flex: 0 0 calc(var(--fx-sm) / 12 * 100%);
	max-width: calc(var(--fx-sm) / 12 * 100%);
	padding-inline: 10px;
	margin-bottom: 20px;
}
.fx-collapse > .fx-col { padding-inline: 0; margin-bottom: 0; }
.fx-col-inner { height: 100%; background-color: var(--fx-col-bg, transparent); }

@media (max-width: 549.98px) {
	.fx-col-inner[style*="--fx-pad-sm"] { padding: var(--fx-pad-sm) !important; }
}
@media (min-width: 550px) {
	.fx-col {
		flex-basis: calc(var(--fx-md) / 12 * 100%);
		max-width: calc(var(--fx-md) / 12 * 100%);
	}
}
@media (min-width: 850px) {
	.fx-col {
		flex-basis: calc(var(--fx-lg) / 12 * 100%);
		max-width: calc(var(--fx-lg) / 12 * 100%);
	}
}

/* --- Spatiere --- */
.fx-gap { height: var(--fx-gap-sm, var(--fx-gap)); }
@media (min-width: 550px) {
	.fx-gap { height: var(--fx-gap); }
}
.fx-divider {
	width: 30px;
	height: 3px;
	border: 0;
	background: var(--fx-accent);
	opacity: 1;
}
.fx-divider-center { margin-inline: auto; }

/* --- Text --- */
.fx-text { font-size: var(--fx-fs-sm, var(--fx-fs, 1em)); }
@media (min-width: 550px) {
	.fx-text { font-size: var(--fx-fs, 1em); }
}
.fx-text > :last-child { margin-bottom: 0; }

.fx-title { margin-bottom: 20px; }
.fx-title > * { margin: 0; }
.fx-title-center { text-align: center; }
.fx-title-center > *::after {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin: 12px auto 0;
	background: var(--fx-accent);
}

.fx-page-sub {
	margin-bottom: 25px;
	text-align: center;
	color: var(--fx-muted);
}

/* --- Butoane --- */
.fx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 24px;
	border: 2px solid var(--fx-accent);
	background: var(--fx-accent);
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.fx-btn:hover { background: var(--fx-ink); border-color: var(--fx-ink); color: #fff; }
.fx-btn-secondary { background: var(--fx-ink); border-color: var(--fx-ink); }
.fx-btn-white { background: #fff; border-color: #fff; color: var(--fx-ink); }
.fx-btn-outline { background: transparent; color: var(--fx-accent); }
.fx-btn-white.fx-btn-outline { border-color: #fff; color: #fff; }
.fx-btn-outline:hover { background: var(--fx-accent); color: #fff; }

/* --- Imagini --- */
.fx-image {
	width: var(--fx-w-sm, var(--fx-w, 100%));
	max-width: 100%;
	margin: 0 auto 20px;
}
.fx-image img { display: block; width: 100%; height: auto; }
@media (min-width: 550px) {
	.fx-image { width: var(--fx-w, 100%); }
}

/* --- Bannere --- */
.fx-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--fx-banner-h, 300px);
	margin-bottom: 20px;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
}
.fx-banner-link { position: absolute; inset: 0; z-index: 2; }
.fx-text-box {
	position: relative;
	z-index: 3;
	width: var(--fx-tb-w-sm, 90%);
	padding: 20px;
}
.fx-text-light, .fx-text-light h1, .fx-text-light h2, .fx-text-light h3, .fx-text-light h4 { color: #fff; }
.fx-text-dark, .fx-text-dark h1, .fx-text-dark h2, .fx-text-dark h3, .fx-text-dark h4 { color: var(--fx-ink); }
@media (min-width: 850px) {
	.fx-banner { display: block; }
	.fx-text-box {
		position: absolute;
		left: var(--fx-tb-x);
		top: var(--fx-tb-y);
		width: var(--fx-tb-w);
		transform: translate(calc(var(--fx-tb-x) * -1), calc(var(--fx-tb-y) * -1));
	}
}

/* --- Slider: scroll-snap nativ, fluid pe touch --- */
.fx-slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin-bottom: 20px;
}
.fx-slider::-webkit-scrollbar { display: none; }
.fx-slider > * {
	flex: 0 0 100%;
	margin: 0 !important;
	scroll-snap-align: start;
}

/* --- Galerie si carduri --- */
.fx-gallery,
.fx-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
	margin-bottom: 20px;
}
.fx-gallery { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 850px) {
	.fx-gallery,
	.fx-cards { grid-template-columns: repeat(var(--fx-cols, 3), 1fr); }
}
.fx-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }

.fx-card { background: #fff; border: 1px solid var(--fx-line); }
.fx-card-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fx-card-page .fx-card-img img { aspect-ratio: 3 / 4; }
.fx-card-body { padding: 15px; }
.fx-card-date { font-size: 12px; color: var(--fx-muted); text-transform: uppercase; letter-spacing: .05em; }
.fx-card-title { margin: 6px 0 8px; font-size: 17px; }
.fx-card-more { font-weight: 700; color: var(--fx-accent); }

/* --- Featured box --- */
.fx-fbox { text-align: center; margin-bottom: 20px; }
.fx-fbox-img { margin-bottom: 12px; }
.fx-fbox-img img { display: inline-block; max-width: 100%; }
.fx-fbox-title { margin-bottom: 8px; font-size: 17px; }
.fx-fbox-left { display: flex; gap: 15px; text-align: left; }
.fx-fbox-left .fx-fbox-img { flex: 0 0 auto; }

/* --- Testimoniale --- */
.fx-testi {
	margin: 0 0 20px;
	padding: 25px;
	border: 0;
	border-left: 3px solid var(--fx-accent);
	background: var(--fx-line);
	font-style: normal;
}
.fx-testi-img { width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; object-fit: cover; }
.fx-testi-stars { color: var(--fx-accent); letter-spacing: 2px; }
.fx-testi cite { display: block; margin-top: 10px; font-weight: 700; font-style: normal; }
.fx-testi cite span { font-weight: 400; color: var(--fx-muted); }

/* --- Social / contact --- */
.fx-follow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fx-follow-center { justify-content: center; }
.fx-follow-right { justify-content: flex-end; }
.fx-follow-item {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid var(--fx-ink);
	color: var(--fx-ink);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.fx-follow-item:hover { border-color: var(--fx-accent); background: var(--fx-accent); color: #fff; }

/* --- Harta --- */
.fx-map { margin-bottom: 20px; }
.fx-map iframe { display: block; width: 100%; height: 100%; border: 0; }
