/* Arkan Brokers page (template-arkan-brokers.php), ported from the reference brokers.css. */

/* Hero */
.brokers-hero.hero-focal-center>img,.brokers-hero.hero-focal-center>picture img{object-position:65% 50%}
.brokers-hero .page-hero-shade{background:linear-gradient(90deg,#17221bc9 0%,#17221b62 45%,#17221b12 100%)}
[dir=rtl] .brokers-hero .page-hero-shade{background:linear-gradient(270deg,#17221bdd,#17221b35)}
.brokers-hero .page-hero-copy{bottom:16%;max-width:950px}
.brokers-hero h1{font-size:clamp(48px,6.3vw,94px)}
.brokers-hero .page-hero-copy>.button{margin-top:25px}
.brokers-hero .page-down{inset-inline-start:7%;inset-inline-end:auto}

/* Introduction with wordmark */
.broker-wordmark{display:block;width:clamp(160px,23vw,290px);height:auto;object-fit:contain;margin:0 0 45px;grid-column:1/-1}

/* Key figures */
.broker-scale{padding-top:20px}
.broker-scale-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:55px}
.broker-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin-top:65px;gap:0}
.broker-metrics article{padding:0 42px;border-inline-end:1px solid #ccc5b8}
.broker-metrics article:first-child{padding-inline-start:0}
.broker-metrics article:last-child{border:0}
.broker-metrics svg{display:block;width:48px;height:48px;color:#9b684b;margin-bottom:25px;stroke-width:.7}
.broker-metrics strong{display:block;font-size:clamp(64px,7vw,100px);font-weight:300;letter-spacing:-.05em;line-height:1.1}
.broker-metrics h3{font-size:20px;font-weight:400;margin:22px 0 12px}
.broker-metrics p{font-size:14px;max-width:290px;line-height:1.7}

/* Destination logos: continuous ribbon across the full page width, moving left in both languages */
.section.broker-portfolio{padding-inline:0;max-width:none;width:100%}
.broker-portfolio>.eyebrow,.broker-portfolio>h2,.broker-portfolio>p{margin-inline:max(5.5vw,24px)}
.broker-portfolio>p{max-width:650px}
.broker-logo-window{overflow:hidden;margin-top:48px;direction:ltr;width:100%;max-width:none;background:transparent}
.broker-logos{display:flex;width:max-content;gap:0;margin:0;animation:broker-logo-drift 45s linear infinite;will-change:transform}
.broker-logo-group{display:flex;align-items:center;justify-content:space-around;gap:64px;padding-right:64px;flex-shrink:0;min-width:100vw;box-sizing:border-box}
.broker-logo-group>a,.broker-logo-group>.broker-logo{display:flex;align-items:center;justify-content:center;width:132px;height:96px;flex-shrink:0;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
.broker-logos img{width:132px;height:68px;object-fit:contain;filter:none;mix-blend-mode:normal;background:transparent;box-shadow:none;border:0;border-radius:0;transition:none}
.broker-logo-group>a:focus-visible{outline:2px solid #293126;outline-offset:-2px}
.broker-logos:focus-within{animation-play-state:paused}
@keyframes broker-logo-drift{to{transform:translateX(-50%)}}

/* Scroll-led journey: a steady introduction beside unfolding chapters */
.broker-journey{display:grid;grid-template-columns:1fr 1fr;gap:0 8vw;align-items:start;position:relative;background:#e9e3d8}
.broker-journey-heading{display:block;position:sticky;top:150px;grid-column:1;grid-row:1}
.broker-journey-heading h2{font-size:clamp(38px,4.2vw,66px);max-width:800px}
.broker-journey-heading>p{max-width:390px;margin-top:30px;line-height:1.8}
.broker-timeline{display:block;position:relative;grid-column:2;margin:0;padding:0;list-style:none;--journey-progress:0;--track-height:100%}
.broker-timeline:before,.broker-timeline:after{content:'';position:absolute;inset-inline-start:0;top:26px;width:1px;height:var(--track-height);background:#c9bcac;pointer-events:none}
.broker-timeline:after{background:#956548;transform:scaleY(var(--journey-progress));transform-origin:top;width:2px}
.broker-timeline li{position:relative;border:0;min-height:65vh;padding:0 0 100px;padding-inline-start:58px}
.broker-timeline li:last-child{min-height:45vh;padding-bottom:50px}
.broker-timeline li:before{content:'';position:absolute;top:21px;inset-inline-start:-5px;width:11px;height:11px;border-radius:50%;background:#c9bcac;box-shadow:0 0 0 7px #e9e3d8;z-index:1;transition:background .5s,box-shadow .5s}
.broker-step-top{display:flex;align-items:center;justify-content:flex-start;gap:28px;margin-bottom:30px;padding:0}
.broker-step-index{font-size:22px;letter-spacing:.12em;color:#8c6045}
.broker-step-top svg{width:64px;height:64px;order:-1;color:#8c6045;stroke-width:.7;transition:transform .4s ease}
.broker-timeline li:hover svg{transform:translateY(-5px)}
.broker-timeline h3{font-size:clamp(26px,2.5vw,38px);font-weight:400;margin:0 0 18px;max-width:440px}
.broker-timeline p{font-size:17px;line-height:1.8;max-width:360px}
.journey-ready .broker-timeline li>*{opacity:.3;transform:translateY(24px);transition:opacity .65s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.journey-ready .broker-timeline li.is-reached>*{opacity:1;transform:translateY(0)}
.journey-ready .broker-timeline li.is-past>*{opacity:.55}
.broker-timeline li.is-reached:before{background:#956548}
.broker-timeline li.is-active:before{box-shadow:0 0 0 7px #e9e3d8,0 0 0 8px #956548}

/* Registration form */
.broker-join{display:grid;grid-template-columns:.8fr 1.2fr;gap:8vw}
.broker-join>div:first-child p{max-width:440px}
.broker-join .form-wrap fieldset{column-gap:25px}
.broker-join .form-wrap .ff-el-group{margin-bottom:25px}
.broker-join .form-wrap .ff-el-input--label label{font-size:13px;margin-bottom:10px!important}
.broker-join .form-wrap .ff-el-form-control{padding-top:14px;padding-bottom:14px}
.broker-join .ak-consent{margin:6px 0 28px}
.broker-join .ff_tc_label{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.6;cursor:pointer;margin:0}
.broker-join .ff_tc_checkbox input{margin:4px 0 0;accent-color:#86513b;width:15px;height:15px}
.broker-join .ff_t_c{margin:0}

/* Questions */
.broker-faq{padding-top:0}
.broker-faq details{padding:25px 0;border-bottom:1px solid #d1c8bc}
.broker-faq summary{cursor:pointer;font-size:22px;display:flex;justify-content:space-between;gap:25px;list-style:none}
.broker-faq summary::-webkit-details-marker{display:none}
.broker-faq summary>span:last-child{flex-shrink:0;transition:transform .35s cubic-bezier(.2,.7,.15,1)}
.broker-faq details[open] summary>span:last-child{transform:rotate(45deg)}
.broker-faq details p{max-width:800px;line-height:1.8}

@media(min-width:1500px){.broker-portfolio>.eyebrow,.broker-portfolio>h2,.broker-portfolio>p{margin-inline:max(6vw,calc((100vw - 1380px)/2))}}
@media(max-width:900px){.broker-scale-heading{display:block}.broker-metrics article{padding-inline:22px}}
@media(max-width:800px){
	.brokers-hero{min-height:700px}
	.brokers-hero .page-hero-copy{bottom:140px}
	.brokers-hero .page-down{inset-inline-start:24px}
	.broker-wordmark{width:210px;margin-bottom:30px}
	.broker-portfolio>.eyebrow,.broker-portfolio>h2,.broker-portfolio>p{margin-inline:24px}
	.broker-logo-group{gap:40px;padding-right:40px}
	.broker-logo-group>a,.broker-logo-group>.broker-logo{width:108px;height:80px}
	.broker-logos img{width:108px;height:56px}
	.broker-journey{display:block}
	.broker-journey-heading{position:static;margin-bottom:65px}
	.broker-timeline{margin-inline-start:8px}
	.broker-timeline li{padding-inline-start:38px;min-height:60vh;padding-bottom:75px}
	.broker-timeline li:last-child{min-height:40vh}
	.broker-step-top svg{width:54px;height:54px}
	.broker-timeline p{font-size:16px}
	.broker-join{grid-template-columns:1fr;gap:36px}
	.broker-faq summary{font-size:19px}
}
@media(max-width:550px){
	.broker-metrics{grid-template-columns:1fr;margin-top:35px}
	.broker-metrics article,.broker-metrics article:first-child{border:0;border-bottom:1px solid #ccc5b8;padding:28px 0;display:grid;grid-template-columns:60px 1fr;column-gap:20px}
	.broker-metrics svg{grid-column:1;grid-row:1/4;margin-top:10px}
	.broker-metrics strong,.broker-metrics h3,.broker-metrics p{grid-column:2}
	.broker-metrics strong{font-size:64px}
	.broker-metrics h3{margin-top:12px}
	.broker-metrics p{margin-bottom:0}
}

/* Motion off (reduced motion): everything visible, the ribbon becomes a scrollable row */
body.motion-off .broker-timeline li>*,body.motion-off .broker-timeline li.is-past>*{opacity:1;transform:none}
body.motion-off .broker-timeline:after{transform:scaleY(1)}
body.motion-off .broker-logos{animation:none;will-change:auto}
body.motion-off .broker-logo-window{overflow-x:auto}
body.motion-off .broker-logo-group[aria-hidden]{display:none}
@media(prefers-reduced-motion:reduce){
	.journey-ready .broker-timeline li>*,.journey-ready .broker-timeline li.is-past>*{opacity:1;transform:none;transition:none}
	.broker-timeline:after{transform:scaleY(1)}
	.broker-step-top svg{transition:none}
	.broker-timeline li:hover svg{transform:none}
	.broker-logos{animation:none;will-change:auto}
	.broker-logo-window{overflow-x:auto}
	.broker-logo-group[aria-hidden]{display:none}
}
