/*
 * FOREX TRADERS EXPO & SUMMIT DUBAI 2026 — V3 Professional Frontend Layer
 * Frontend-only refinement. No database schema, backend routes, API or business logic changes.
 * Visual baseline: SVS Egypt frontend system, adapted to the approved Dubai orange identity.
 */
:root{
  --fts-v3-orange:#e65f24;
  --fts-v3-orange-2:#ff7d42;
  --fts-v3-orange-dark:#b94116;
  --fts-v3-ink:#0b1017;
  --fts-v3-paper:#f6f4ef;
  --fts-v3-line:rgba(255,255,255,.10);
}

/* ----- HEADER / BRAND ----- */
@media (min-width:1181px){
  .site-header{height:86px!important;background:rgba(7,10,15,.985)!important}
  .header-inner{height:86px!important;gap:20px!important}
  .brand{min-width:152px!important;justify-content:flex-start!important}
  .site-brand-logo{width:145px!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:left center!important}
  .desktop-nav{gap:3px!important}
  .desktop-nav>a,.nav-more>summary{font-size:12.8px!important;padding:10px 10px!important}
  .header-actions .button{min-height:42px!important;padding-inline:16px!important}
}
@media (min-width:721px) and (max-width:1180px){
  .site-header,.header-inner{height:78px!important}
  .site-brand-logo{width:128px!important;height:auto!important;max-height:none!important}
}
@media (max-width:720px){
  .site-header,.header-inner{height:68px!important}
  .site-brand-logo{width:108px!important;height:auto!important;max-height:none!important;max-width:34vw!important}
}
.footer-brand img{width:180px!important;height:auto!important;max-height:none!important}

/* ----- HERO ----- */
.hx-home-v3 .hx-hero{min-height:min(810px,94svh)!important;background:#070a0f!important}
.hx-home-v3 .hx-hero-media img{object-position:center 48%!important;filter:saturate(1.04) contrast(1.05) brightness(.92)!important}
.hx-home-v3 .hx-hero:after{
  background:linear-gradient(90deg,rgba(5,8,12,.92) 0%,rgba(5,8,12,.78) 37%,rgba(5,8,12,.43) 62%,rgba(5,8,12,.18) 100%)!important
}
.rtl .hx-home-v3 .hx-hero:after{background:linear-gradient(270deg,rgba(5,8,12,.92) 0%,rgba(5,8,12,.78) 37%,rgba(5,8,12,.43) 62%,rgba(5,8,12,.18) 100%)!important}
.hx-home-v3 .hx-hero-inner{min-height:min(720px,84svh)!important}
.hx-home-v3 .hx-hero-copy{max-width:710px!important;padding-block:76px 56px!important}
.hx-home-v3 .hx-hero h1{font-size:clamp(3.2rem,5.1vw,5.45rem)!important;line-height:.91!important;max-width:11.5ch!important;letter-spacing:-.062em!important}
.rtl .hx-home-v3 .hx-hero h1{font-size:clamp(2.75rem,4.25vw,4.5rem)!important;line-height:1.08!important;max-width:14ch!important;letter-spacing:0!important}
.hx-home-v3 .hx-hero-lead{max-width:60ch!important;font-size:1rem!important;line-height:1.68!important}
.hx-home-v3 .hx-hero-facts{max-width:720px!important;grid-template-columns:1fr 1.2fr .7fr!important}
.hx-home-v3 .hx-edition-mark{opacity:.20!important}

/* ----- SECTION RHYTHM ----- */
.hx-home-v3 .hx-section{padding-block:82px!important}
.hx-home-v3 .hx-section-head{margin-bottom:30px!important}
.hx-home-v3 .hx-section-head h2{max-width:820px!important}
.hx-stats-v3{margin-top:34px!important}
.hx-home-v3 .hx-story-image,.hx-home-v3 .hx-story-image img{min-height:410px!important}
.hx-home-v3 .hx-story-image img{object-position:center!important}

/* ----- EVENT EXPERIENCE / PARTICIPANTS ----- */
.hx-home-v3 .hx-bento{grid-auto-rows:minmax(310px,auto)!important}
.hx-home-v3 .hx-bento-card{min-height:350px!important}
.hx-home-v3 .hx-bento-feature{min-height:520px!important}
.hx-home-v3 .hx-bento-card img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.hx-participants-strip{padding-top:22px!important;padding-bottom:70px!important;background:#090d12!important;border-top:1px solid rgba(255,255,255,.06)!important}
.hx-participants-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:22px}
.hx-participants-head h2{margin:5px 0 0!important;color:#fff!important;font-size:clamp(1.9rem,3vw,3rem)!important}
.hx-participant-tags{display:flex;flex-wrap:wrap;gap:9px}
.hx-participant-tags span{display:inline-flex;align-items:center;min-height:42px;padding:0 15px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(255,255,255,.035);color:rgba(255,255,255,.82);font-size:.77rem;font-weight:720}

/* ----- PREVIOUS SPONSOR LOGOS ----- */
.hx-home-sponsor-grid.hx-previous-logo-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px!important}
.hx-static-logo-card{cursor:default!important;min-height:154px!important}
.hx-static-logo-card .hx-home-sponsor-logo{min-height:112px!important;padding:14px 16px!important;background:#fff!important}
.hx-static-logo-card .hx-home-sponsor-logo img{width:100%!important;height:100%!important;max-width:190px!important;max-height:82px!important;object-fit:contain!important;filter:none!important;mix-blend-mode:multiply}
.hx-static-logo-card .hx-home-sponsor-meta{min-height:38px!important;padding:8px 12px!important;justify-content:space-between!important}
.hx-static-logo-card .hx-home-sponsor-meta strong{font-size:.72rem!important;color:#111820!important}
.hx-static-logo-card .hx-home-sponsor-meta small{font-size:.48rem!important}
.hx-sponsors-page-logo-grid{margin-top:18px!important}
.hx-brand-name-cloud{margin-top:28px;display:flex;flex-wrap:wrap;gap:8px;padding-top:24px;border-top:1px solid rgba(0,0,0,.10)}
.hx-brand-name-cloud span{padding:9px 12px;border:1px solid rgba(0,0,0,.11);border-radius:999px;background:#fff;color:#2a2f36;font-size:.71rem;font-weight:720}

/* ----- MEDIA PARTNERS ----- */
.hx-media-partners{padding-block:60px!important}
.hx-media-wordmarks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.hx-media-wordmarks span{display:grid;place-items:center;min-height:74px;padding:12px;border:1px solid rgba(0,0,0,.10);border-radius:14px;background:#fff;color:#111820;font-size:.76rem;font-weight:800;text-align:center}
.hx-media-wordmarks-dark span{background:#111820;color:#fff;border-color:rgba(255,255,255,.10)}
.hx-media-sponsors-section{background:#090d12!important}
.hx-media-sponsors-section h2{color:#fff!important}

/* ----- AGENDA PREVIEW ----- */
.hx-preview-note{margin:18px 0 0;color:#6a7078;font-size:.76rem;line-height:1.55}
.hx-preview-note-light{color:rgba(255,255,255,.57)!important;max-width:720px!important}
.hx-home-v3 .hx-agenda-day article time{font-weight:850!important;color:var(--fts-v3-orange-2)!important;font-size:.70rem!important;letter-spacing:.03em}
.hx-agenda-preview-row{opacity:1!important}
.hx-agenda-preview-row time strong{font-size:14px!important;letter-spacing:.02em!important}
.hx-agenda-preview-copy{margin:6px 0 0!important;font-size:11px!important;line-height:1.45!important;color:rgba(255,255,255,.54)!important}
body[data-page="agenda"] .hx-agenda-row{min-height:118px!important}

/* ----- SPEAKER PREVIEW ----- */
.hx-preview-speaker-card,.hx-speaker-preview-card{overflow:hidden!important}
.hx-preview-speaker-card figure,.hx-speaker-preview-card .speaker-photo{background:#0d1219!important}
.hx-preview-speaker-card figure img,.hx-speaker-preview-card .speaker-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;filter:none!important}
.hx-preview-badge{display:inline-flex!important;align-items:center!important;width:max-content!important;min-height:20px!important;padding:0 7px!important;border-radius:999px!important;background:rgba(230,95,36,.12)!important;border:1px solid rgba(230,95,36,.26)!important;color:#f17a42!important;font-size:8px!important;font-weight:850!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.hx-preview-speakers-intro{display:flex;align-items:center;gap:12px;margin:0 0 22px;padding:14px 16px;border:1px solid rgba(230,95,36,.22);border-radius:14px;background:rgba(230,95,36,.055)}
.hx-preview-speakers-intro p{margin:0;color:#59606a;font-size:.76rem;line-height:1.5}
.hx-speaker-preview-directory{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.hx-speaker-preview-card{cursor:default!important}
.hx-speaker-preview-card .speaker-photo{aspect-ratio:4/5!important;min-height:0!important}
.hx-speaker-preview-card .hx-speaker-directory-copy{display:flex;flex-direction:column;gap:4px}
.hx-speaker-preview-card h2{font-size:1.02rem!important;margin-top:4px!important}
.hx-speaker-confirmed-note{margin-top:24px;padding:18px 20px;border-radius:16px;background:#0d1219;color:#fff;display:grid;gap:5px}
.hx-speaker-confirmed-note strong{font-size:.9rem}.hx-speaker-confirmed-note span{font-size:.72rem;color:rgba(255,255,255,.62)}

/* ----- SPONSORSHIP / VENUE / FINAL IMAGE RELIABILITY ----- */
.hx-home-v3 .hx-sponsor-panel{min-height:540px!important}
.hx-home-v3 .hx-sponsor-visual{min-height:540px!important;overflow:hidden!important;background:#0d1219!important}
.hx-home-v3 .hx-sponsor-visual img,.hx-home-v3 .hx-venue-image img,.hx-home-v3 .hx-final-visual img{display:block!important;width:100%!important;height:100%!important;min-height:inherit!important;object-fit:cover!important;visibility:visible!important;opacity:1!important}
.hx-home-v3 .hx-sponsor-visual img{object-position:center 45%!important}
.hx-home-v3 .hx-venue-image img{object-position:center 52%!important}
.hx-home-v3 .hx-final-visual img{object-position:center 48%!important}

/* ----- INTERNAL PAGE HEROES ----- */
.hx-page .hx-inner-hero,.hx-inner-hero{position:relative!important;isolation:isolate;min-height:390px!important;display:flex!important;align-items:end!important;background-color:#0b1017!important;background-size:cover!important;background-position:center 48%!important}
.hx-inner-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(6,9,13,.92) 0%,rgba(6,9,13,.73) 48%,rgba(6,9,13,.35) 100%)}
.rtl .hx-inner-hero:before{background:linear-gradient(270deg,rgba(6,9,13,.92) 0%,rgba(6,9,13,.73) 48%,rgba(6,9,13,.35) 100%)}
.hx-inner-hero>.shell{padding-top:70px!important;padding-bottom:56px!important}
.hx-inner-hero h1{max-width:850px!important;color:#fff!important}
.hx-inner-hero .page-intro{max-width:720px!important;color:rgba(255,255,255,.70)!important}
.hx-inner-hero .hx-hero-rail>div{background:rgba(8,12,17,.64)!important;backdrop-filter:blur(10px)!important}

/* ----- FLOATING ACTIONS: visible without covering content ----- */
.svs-floating-actions{right:18px!important;left:auto!important;bottom:18px!important;gap:7px!important;z-index:2200!important}
.rtl .svs-floating-actions{left:18px!important;right:auto!important}
.svs-floating-actions a{min-height:38px!important;padding:0 13px!important;font-size:10.5px!important;box-shadow:0 8px 24px rgba(0,0,0,.25)!important}

/* ----- FORMS / PAGE CONSISTENCY ----- */
.r10-form-card,.r10-form-intro,.hx-profile-crosslink,.hx-premium-empty{border-radius:20px!important}
.r10-form-page{padding-top:54px!important}
.hx-current-sponsors-empty{max-width:900px!important}

/* ----- RESPONSIVE ----- */
@media(max-width:1080px){
  .hx-home-sponsor-grid.hx-previous-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .hx-media-wordmarks{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hx-speaker-preview-directory{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hx-home-v3 .hx-sponsor-panel{min-height:0!important}
}
@media(max-width:720px){
  .hx-home-v3 .hx-section{padding-block:52px!important}
  .hx-home-v3 .hx-hero{min-height:730px!important}
  .hx-home-v3 .hx-hero-media img{object-position:center 30%!important}
  .hx-home-v3 .hx-hero h1{font-size:clamp(2.75rem,13vw,4.1rem)!important;line-height:.94!important;max-width:11ch!important}
  .rtl .hx-home-v3 .hx-hero h1{font-size:clamp(2.35rem,11vw,3.6rem)!important;line-height:1.08!important}
  .hx-home-v3 .hx-hero-facts{grid-template-columns:1fr!important}
  .hx-participants-head{align-items:flex-start;flex-direction:column;gap:8px}
  .hx-participant-tags{gap:7px}.hx-participant-tags span{min-height:36px;padding:0 11px;font-size:.68rem}
  .hx-home-sponsor-grid.hx-previous-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .hx-static-logo-card{min-height:126px!important}.hx-static-logo-card .hx-home-sponsor-logo{min-height:90px!important;padding:10px!important}.hx-static-logo-card .hx-home-sponsor-logo img{max-width:130px!important;max-height:64px!important}
  .hx-static-logo-card .hx-home-sponsor-meta strong{font-size:.62rem!important}.hx-static-logo-card .hx-home-sponsor-meta small{display:none}
  .hx-media-wordmarks{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.hx-media-wordmarks span{min-height:60px;font-size:.68rem}
  .hx-speaker-preview-directory{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .hx-preview-speakers-intro{align-items:flex-start;flex-direction:column}
  .hx-home-v3 .hx-sponsor-visual{min-height:340px!important}
  .hx-inner-hero{min-height:340px!important;background-position:center!important}
  .hx-inner-hero>.shell{padding-top:52px!important;padding-bottom:36px!important}
  .svs-floating-actions{left:10px!important;right:10px!important;bottom:10px!important;grid-template-columns:1fr 1fr!important}
  .rtl .svs-floating-actions{left:10px!important;right:10px!important}
}
@media(max-width:430px){
  .hx-speaker-preview-directory{grid-template-columns:1fr 1fr!important}
  .hx-speaker-preview-card h2{font-size:.86rem!important}
  .hx-speaker-preview-card .hx-speaker-directory-copy p{font-size:.68rem!important}
  .hx-home-sponsor-grid.hx-previous-logo-grid{grid-template-columns:1fr 1fr!important}
}

/* V3 internal legacy page-hero compatibility */
.page-hero{position:relative!important;isolation:isolate;min-height:350px!important;display:flex!important;align-items:end!important;background-color:#0b1017!important;background-size:cover!important;background-position:center 48%!important;color:#fff!important}
.page-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(6,9,13,.93) 0%,rgba(6,9,13,.73) 48%,rgba(6,9,13,.38) 100%)}
.rtl .page-hero:before{background:linear-gradient(270deg,rgba(6,9,13,.93) 0%,rgba(6,9,13,.73) 48%,rgba(6,9,13,.38) 100%)}
.page-hero>.shell{padding-top:70px!important;padding-bottom:52px!important}
.page-hero h1{color:#fff!important;max-width:850px!important}.page-hero .page-intro{color:rgba(255,255,255,.72)!important;max-width:720px!important}.page-hero .eyebrow{color:var(--fts-v3-orange-2)!important}
@media(max-width:720px){.page-hero{min-height:320px!important;background-position:center!important}.page-hero>.shell{padding-top:50px!important;padding-bottom:34px!important}}
