/* Flowix — homepage section types added with the section manager (inc/home-sections.php) */

.fx-sec { position: relative; }
.fx-sec .section-heading { margin-bottom: var(--space-xl, 40px); }
.fx-sec-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--space-xl, 40px); }
.fx-sec-empty { padding: 24px; border: 2px dashed var(--border-light, #e0d6c6); border-radius: 8px; text-align: center; color: var(--walnut, #6b4e33); }

/* Image banner */
.fx-sec--banner {
	display: flex;
	align-items: center;
	background: var(--espresso, #2d1a0e) var(--fx-banner-img, none) center / cover no-repeat;
	color: var(--cream, #faf7f2);
	isolation: isolate;
}
.fx-sec--banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2)); z-index: -1; }
.fx-banner--s { min-height: 280px; }
.fx-banner--m { min-height: 440px; }
.fx-banner--l { min-height: 620px; }
.fx-banner--full { min-height: 100vh; }
.fx-banner-inner { width: 100%; display: flex; }
.fx-banner--center .fx-banner-inner { justify-content: center; text-align: center; }
.fx-banner--right .fx-banner-inner { justify-content: flex-end; }
.fx-banner-content { max-width: 620px; padding: 48px 0; }
.fx-banner-title { color: inherit; font-size: clamp(2rem, 5vw, 3.6rem); margin: 8px 0 14px; }
.fx-banner-text { font-size: 1.1rem; opacity: 0.9; margin-bottom: 24px; }
.fx-banner-eyebrow { color: var(--gold-light, #d4b57a); }

/* Image + text */
.fx-ti-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.fx-ti--right .fx-ti-media { order: 2; }
.fx-ti-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md, 8px); display: block; }
.fx-ti-placeholder { background: var(--linen, #f0e8dc); }
.fx-ti-content .section-heading { margin-bottom: 18px; text-align: left; }
.fx-ti-text { margin-bottom: 24px; line-height: 1.75; }

/* Feature icons */
.fx-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.fx-feature { text-align: center; padding: 28px 20px; border-radius: var(--radius-md, 8px); background: #fff; border: 1px solid var(--border-light, #e8e0d3); }
.fx-feature-icon { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 50%; background: var(--linen, #f0e8dc); color: var(--gold, #9b7b3a); margin-bottom: 14px; }
.fx-feature-title { font-size: 1.15rem; margin-bottom: 6px; }
.fx-feature-text { font-size: 0.92rem; opacity: 0.8; margin: 0; }

/* Call to action & countdown */
.fx-sec--cta, .fx-sec--countdown { background: var(--linen, #f0e8dc); }
.fx-cta-inner { text-align: center; max-width: 760px; }
.fx-cta-text { font-size: 1.05rem; margin-bottom: 8px; }
.fx-countdown { display: flex; justify-content: center; gap: clamp(8px, 2vw, 18px); margin-top: 22px; flex-wrap: wrap; }
.fx-cd-unit { min-width: 84px; padding: 16px 10px; background: var(--espresso, #2d1a0e); color: var(--cream, #faf7f2); border-radius: var(--radius-md, 8px); display: flex; flex-direction: column; align-items: center; }
.fx-cd-num { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.fx-cd-label { font-family: var(--font-ui); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 6px; opacity: 0.75; }
.fx-countdown.is-over { font-size: 1.2rem; font-weight: 600; }

/* Ticker */
.fx-sec--ticker { overflow: hidden; background: var(--espresso, #2d1a0e); color: var(--cream, #faf7f2); padding: 14px 0; }
.fx-ticker-track { display: flex; width: max-content; animation: fx-ticker var(--fx-ticker-dur, 30s) linear infinite; }
.fx-ticker--right .fx-ticker-track { animation-direction: reverse; }
.fx-sec--ticker:hover .fx-ticker-track { animation-play-state: paused; }
.fx-ticker-run { display: flex; align-items: center; flex: none; }
.fx-ticker-item { font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; padding: 0 22px; }
.fx-ticker-sep { color: var(--gold-light, #d4b57a); }
@keyframes fx-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fx-ticker-track { animation: none; } }

/* Video */
.fx-video { position: relative; border-radius: var(--radius-md, 8px); overflow: hidden; background: #000; }
.fx-video video, .fx-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.fx-video-caption { text-align: center; margin-top: 12px; font-size: 0.9rem; opacity: 0.8; }

@media (max-width: 782px) {
	.fx-ti-inner { grid-template-columns: 1fr; }
	.fx-ti--right .fx-ti-media { order: 0; }
}
.fx-video .fx-sec-empty { color: #fff; border-color: rgba(255, 255, 255, 0.4); margin: 0; }

/* Spacer section heights (Homepage Sections → Spacer), in steps of 10px. */
.fx-spacer--0 { height: 0px; }
.fx-spacer--10 { height: 10px; }
.fx-spacer--20 { height: 20px; }
.fx-spacer--30 { height: 30px; }
.fx-spacer--40 { height: 40px; }
.fx-spacer--50 { height: 50px; }
.fx-spacer--60 { height: 60px; }
.fx-spacer--70 { height: 70px; }
.fx-spacer--80 { height: 80px; }
.fx-spacer--90 { height: 90px; }
.fx-spacer--100 { height: 100px; }
.fx-spacer--110 { height: 110px; }
.fx-spacer--120 { height: 120px; }
.fx-spacer--130 { height: 130px; }
.fx-spacer--140 { height: 140px; }
.fx-spacer--150 { height: 150px; }
.fx-spacer--160 { height: 160px; }
.fx-spacer--170 { height: 170px; }
.fx-spacer--180 { height: 180px; }
.fx-spacer--190 { height: 190px; }
.fx-spacer--200 { height: 200px; }
.fx-spacer--210 { height: 210px; }
.fx-spacer--220 { height: 220px; }
.fx-spacer--230 { height: 230px; }
.fx-spacer--240 { height: 240px; }
.fx-spacer--250 { height: 250px; }
.fx-spacer--260 { height: 260px; }
.fx-spacer--270 { height: 270px; }
.fx-spacer--280 { height: 280px; }
.fx-spacer--290 { height: 290px; }
.fx-spacer--300 { height: 300px; }
.fx-spacer--310 { height: 310px; }
.fx-spacer--320 { height: 320px; }
.fx-spacer--330 { height: 330px; }
.fx-spacer--340 { height: 340px; }
.fx-spacer--350 { height: 350px; }
.fx-spacer--360 { height: 360px; }
.fx-spacer--370 { height: 370px; }
.fx-spacer--380 { height: 380px; }
.fx-spacer--390 { height: 390px; }
.fx-spacer--400 { height: 400px; }
.fx-spacer--410 { height: 410px; }
.fx-spacer--420 { height: 420px; }
.fx-spacer--430 { height: 430px; }
.fx-spacer--440 { height: 440px; }
.fx-spacer--450 { height: 450px; }
.fx-spacer--460 { height: 460px; }
.fx-spacer--470 { height: 470px; }
.fx-spacer--480 { height: 480px; }
.fx-spacer--490 { height: 490px; }
.fx-spacer--500 { height: 500px; }
.fx-spacer--510 { height: 510px; }
.fx-spacer--520 { height: 520px; }
.fx-spacer--530 { height: 530px; }
.fx-spacer--540 { height: 540px; }
.fx-spacer--550 { height: 550px; }
.fx-spacer--560 { height: 560px; }
.fx-spacer--570 { height: 570px; }
.fx-spacer--580 { height: 580px; }
.fx-spacer--590 { height: 590px; }
.fx-spacer--600 { height: 600px; }
