/* Freedom Dance Festival – new design.
   Everything is scoped to .fdfx so the Divi theme styles don't leak in or out.
   Brand colours: change them here. */
.fdfx, .fdfx-body {
	--fdfx-bg: #09080a;
	--fdfx-surface: #141115;
	--fdfx-surface-2: #1c171d;
	--fdfx-line: rgba(255, 255, 255, .1);
	--fdfx-pink: #c2185b;
	--fdfx-pink-hot: #e0287d;
	--fdfx-pink-deep: #4a0b31;
	--fdfx-white: #fff;
	--fdfx-text: #f4eef2;
	--fdfx-muted: #b3a6ae;
	--fdfx-font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}
body.fdfx-body { margin: 0; background: var(--fdfx-bg); color: var(--fdfx-text); overflow-x: clip; }
.fdfx { font: 500 16px/1.6 var(--fdfx-font); color: var(--fdfx-text); background: var(--fdfx-bg); -webkit-font-smoothing: antialiased; }
.fdfx *, .fdfx *::before, .fdfx *::after { box-sizing: border-box; }
.fdfx img { max-width: 100%; height: auto; display: block; }
.fdfx a { color: inherit; text-decoration: none; }
.fdfx p { padding: 0; }
.fdfx h1, .fdfx h2, .fdfx h3 { padding: 0; color: var(--fdfx-white); font-family: var(--fdfx-font); }
.fdfx :focus-visible { outline: 2px solid var(--fdfx-pink-hot); outline-offset: 3px; }

.fdfx-wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

/* type */
.fdfx .fdfx-display { font-weight: 900; font-style: italic; text-transform: uppercase; line-height: .95; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.fdfx .fdfx-h-xl { font-size: clamp(44px, 8.4vw, 112px); }
.fdfx .fdfx-h-lg { font-size: clamp(34px, 5.2vw, 64px); }
.fdfx .fdfx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fdfx-pink-hot); margin: 0; line-height: 1.4; }
.fdfx .fdfx-eyebrow::before, .fdfx .fdfx-eyebrow--center::after { content: ""; flex: none; width: 28px; height: 3px; background: currentColor; transform: skewX(-20deg); }
.fdfx .fdfx-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--fdfx-muted); max-width: 56ch; margin: 0; line-height: 1.6; }

/* buttons */
.fdfx .fdfx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 2px solid var(--fdfx-pink); background: var(--fdfx-pink); color: var(--fdfx-white);
	font: 800 14px/1 var(--fdfx-font); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.fdfx .fdfx-btn:hover { background: var(--fdfx-pink-hot); border-color: var(--fdfx-pink-hot); color: var(--fdfx-white); }
.fdfx .fdfx-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .5); }
.fdfx .fdfx-btn--ghost:hover { background: var(--fdfx-white); border-color: var(--fdfx-white); color: #000; }
.fdfx .fdfx-btn--sm { min-height: 40px; padding: 0 18px; font-size: 12px; }
.fdfx .fdfx-arrow::after { content: "→"; font-size: 1.15em; line-height: 1; transition: transform .2s; }
.fdfx a:hover .fdfx-arrow::after, .fdfx a.fdfx-arrow:hover::after { transform: translateX(4px); }

/* header */
.fdfx-hdr { position: sticky; top: 0; z-index: 9999; background: rgba(9, 8, 10, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--fdfx-line); }
.admin-bar .fdfx-hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .fdfx-hdr { top: 0; } }
.fdfx-hdr .fdfx-wrap { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.fdfx-hdr__logo img { height: 40px; width: auto; }
.fdfx-nav { display: flex; gap: 28px; margin-left: auto; }
.fdfx .fdfx-nav a { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fdfx-muted); padding-block: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.fdfx .fdfx-nav a:hover, .fdfx .fdfx-nav a.on { color: var(--fdfx-white); border-color: var(--fdfx-pink-hot); }
@media (max-width: 1020px) { .fdfx-hdr__cta { display: none !important; } .fdfx-nav { gap: 22px; } }
@media (max-width: 760px) {
	.fdfx-hdr .fdfx-wrap { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-block: 10px 0; }
	.fdfx-hdr__logo img { height: 34px; }
	.fdfx-nav { order: 3; width: 100%; margin-left: 0; gap: 12px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; padding-block: 8px 6px; }
	.fdfx-nav::-webkit-scrollbar { display: none; }
	.fdfx .fdfx-nav a { font-size: 11px; letter-spacing: .05em; }
}

/* hero */
.fdfx-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--fdfx-pink-deep) center / cover no-repeat; }
.fdfx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(ellipse at 50% 42%, rgba(9, 8, 10, .55) 0%, rgba(9, 8, 10, 0) 60%), linear-gradient(180deg, rgba(194, 24, 91, .86) 0%, rgba(120, 14, 70, .9) 55%, var(--fdfx-bg) 100%); }
.fdfx-hero__main { display: flex; justify-content: center; padding-block: clamp(64px, 9vw, 112px) 56px; }
.fdfx-hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; max-width: 720px; }
.fdfx .fdfx-hero__title { margin: 0 0 8px; line-height: 0; font-size: 0; }
.fdfx-hero__title img { width: clamp(200px, 30vw, 340px); margin-inline: auto; }
.fdfx-hero .fdfx-lead { margin-inline: auto; }
.fdfx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fdfx-hero__facts { padding-bottom: 56px; }
.fdfx-facts { display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; margin: 0; border: 1px solid var(--fdfx-line); background: rgba(20, 17, 21, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fdfx-facts > div { padding: 22px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.fdfx-facts > div + div { border-left: 1px solid var(--fdfx-line); }
@media (max-width: 880px) { .fdfx-facts { grid-template-columns: 1fr; } .fdfx-facts > div + div { border-left: 0; border-top: 1px solid var(--fdfx-line); } }
.fdfx-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fdfx-muted); }
.fdfx-facts dd { margin: 0; font-weight: 800; font-size: 18px; line-height: 1.3; color: var(--fdfx-white); }
.fdfx-cd { display: flex; justify-content: center; gap: 18px; font-variant-numeric: tabular-nums; }
.fdfx-cd b { font-weight: 900; font-style: italic; font-size: 30px; line-height: 1; color: var(--fdfx-white); }
.fdfx-cd small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fdfx-muted); margin-top: 4px; }

/* sections */
.fdfx-sec { padding-block: clamp(72px, 10vw, 128px); scroll-margin-top: 72px; }
.fdfx-sec + .fdfx-sec { border-top: 1px solid var(--fdfx-line); }
.fdfx-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.fdfx-sec__head > div { display: flex; flex-direction: column; gap: 18px; }

/* competition tiles */
.fdfx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .fdfx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fdfx-tiles { grid-template-columns: 1fr; } }
.fdfx .fdfx-tile { display: flex; flex-direction: column; gap: 14px; min-height: 220px; padding: 28px 24px; background: var(--fdfx-surface); border: 1px solid var(--fdfx-line); transition: border-color .2s, background .2s; }
.fdfx .fdfx-tile:hover { border-color: var(--fdfx-pink); background: var(--fdfx-surface-2); }
.fdfx-tile__n { font-weight: 900; font-style: italic; font-size: 14px; color: var(--fdfx-pink-hot); }
.fdfx .fdfx-tile h3 { margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 24px; line-height: 1.05; }
.fdfx .fdfx-tile p { margin: 0; color: var(--fdfx-muted); font-size: 15px; line-height: 1.5; flex: 1; }
.fdfx-tile__link { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fdfx-white); display: inline-flex; gap: 8px; }
.fdfx .fdfx-tile--primary { background: var(--fdfx-pink); border-color: var(--fdfx-pink); }
.fdfx .fdfx-tile--primary p, .fdfx-tile--primary .fdfx-tile__n { color: rgba(255, 255, 255, .85); }
.fdfx .fdfx-tile--primary:hover { background: var(--fdfx-pink-hot); border-color: var(--fdfx-pink-hot); }

/* people grid (judges, winners) */
.fdfx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 880px) { .fdfx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fdfx-grid { grid-template-columns: 1fr; } }
.fdfx-person { display: flex; flex-direction: column; gap: 16px; }
.fdfx-person__img { aspect-ratio: 1; width: 100%; overflow: hidden; background: linear-gradient(135deg, var(--fdfx-pink), var(--fdfx-pink-deep)); }
.fdfx .fdfx-person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fdfx-person:hover .fdfx-person__img img { transform: scale(1.03); }
.fdfx-ph { display: grid; place-items: center; }
.fdfx-ph svg { width: 48px; height: 48px; opacity: .5; }
.fdfx .fdfx-person h3 { margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.fdfx .fdfx-person p { margin: 4px 0 0; color: var(--fdfx-muted); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.fdfx-person dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; }
.fdfx-person dt { color: var(--fdfx-muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; padding-top: 2px; }
.fdfx-person dd { margin: 0; font-weight: 700; color: var(--fdfx-white); }
.fdfx-empty { color: var(--fdfx-muted); font-size: 18px; }

/* workshops */
.fdfx-ws { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.fdfx-ws .fdfx-lead { margin-inline: auto; }
.fdfx .fdfx-ws__poster { border: 1px solid var(--fdfx-line); width: min(420px, 100%); margin-block: 16px; }
.fdfx .fdfx-ws__cap { margin: 0; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: 18px; color: var(--fdfx-white); }

/* next events */
.fdfx-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .fdfx-events { grid-template-columns: 1fr; } }
.fdfx .fdfx-event { display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; border: 1px solid var(--fdfx-line); background: var(--fdfx-surface); transition: border-color .2s; }
.fdfx .fdfx-event:hover { border-color: var(--fdfx-pink); }
.fdfx-event__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fdfx-event__date { font-weight: 900; font-style: italic; font-size: 24px; color: var(--fdfx-white); font-variant-numeric: tabular-nums; }
.fdfx .fdfx-event h3 { margin: 0; font-weight: 800; text-transform: uppercase; font-size: 18px; line-height: 1.2; letter-spacing: .02em; }
.fdfx-event__link { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fdfx-pink-hot); display: inline-flex; gap: 8px; margin-top: auto; }
.fdfx-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fdfx-muted); }
.fdfx-flag i { width: 22px; height: 15px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.fdfx-flag--ro { background: linear-gradient(90deg, #002b7f 33.3%, #fcd116 33.3% 66.6%, #ce1126 66.6%); }
.fdfx-flag--at { background: linear-gradient(#ed2939 33.3%, #fff 33.3% 66.6%, #ed2939 66.6%); }
.fdfx-flag--de { background: linear-gradient(#000 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.fdfx-flag--it { background: linear-gradient(90deg, #009246 33.3%, #fff 33.3% 66.6%, #ce2b37 66.6%); }
.fdfx-flag--fr { background: linear-gradient(90deg, #0055a4 33.3%, #fff 33.3% 66.6%, #ef4135 66.6%); }
.fdfx-flag--hu { background: linear-gradient(#ce2939 33.3%, #fff 33.3% 66.6%, #477050 66.6%); }
.fdfx-flag--bg { background: linear-gradient(#fff 33.3%, #00966e 33.3% 66.6%, #d62612 66.6%); }
.fdfx-flag--md { background: linear-gradient(90deg, #0046ae 33.3%, #ffd200 33.3% 66.6%, #cc092f 66.6%); }
.fdfx-flag--nl { background: linear-gradient(#ae1c28 33.3%, #fff 33.3% 66.6%, #21468b 66.6%); }

/* footer */
.fdfx-ftr { border-top: 1px solid var(--fdfx-line); background: #050405; }
.fdfx-ftr__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-block: 56px 40px; }
.fdfx-ftr__top img { height: 56px; width: auto; }
.fdfx .fdfx-ftr__label { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fdfx-muted); }
.fdfx-ig { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--fdfx-white); }
.fdfx-ig svg { width: 36px; height: 36px; }
.fdfx-ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid var(--fdfx-line); color: var(--fdfx-muted); font-size: 13px; }

/* inner pages */
.fdfx-page-hero { background: linear-gradient(180deg, rgba(194, 24, 91, .35), transparent 100%); border-bottom: 1px solid var(--fdfx-line); }
.fdfx-page-hero .fdfx-wrap { padding-block: clamp(64px, 9vw, 112px) clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; }

@media (prefers-reduced-motion: reduce) { .fdfx * { transition: none !important; } }
.fdfx .fdfx-hero .fdfx-eyebrow { color: var(--fdfx-white); }
.fdfx .fdfx-hero .fdfx-lead { color: rgba(255, 255, 255, .9); }
