/*
 * Finance How: "Write With Us" page and the FAQ accordion widget.
 * Loaded only on that page (and wherever the FAQ widget is used). Every rule is scoped to .fh-ww / .fh-faq.
 */

/* ---------- Shared ---------- */
.fh-ww .elementor-heading-title{text-wrap:balance}
.fh-ww .elementor-widget-text-editor p{margin:0 0 .9em}
.fh-ww .elementor-widget-text-editor p:last-child{margin-bottom:0}
.e-con.fh-ww-head{max-width:760px}
.fh-ww-head .fh-measure{max-width:40em}

/* Notes with an icon (topics outro, editorial rights) */
.elementor-widget.fh-ww-note{position:relative;padding:20px 24px 20px 66px;border:1px dashed #C9D8D0;border-radius:18px;background:#fff}
.elementor-widget.fh-ww-note:before{content:"";position:absolute;left:22px;top:19px;width:28px;height:28px;border-radius:9px;background:var(--fh-mint) center/15px no-repeat}
.elementor-widget.fh-ww-note--idea:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E4F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E")}
.elementor-widget.fh-ww-note--edit:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E4F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E")}

/* ---------- 1. Hero ---------- */
.fh-ww-h1 .fh-mark{white-space:normal}
.fh-ww-h1 .fh-mark:after{content:none}
.fh-ww-intro p{color:inherit}
.e-con.fh-ww-actions{width:100%}
.fh-ww-hero-image img{display:block;width:100%;max-width:600px;height:auto;aspect-ratio:560/500;margin-inline:auto}
.fh-ww-btn-ghost .elementor-button{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.fh-ww-btn-lime .elementor-button:hover{box-shadow:0 14px 34px -12px rgba(201,242,123,.55)}
.e-con.fh-ww-hero-panel{position:relative}
.e-con.fh-ww-glass{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.025));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:border-color .3s,transform .3s var(--fh-ease)}
.e-con.fh-ww-glass:before{content:"";position:absolute;left:24px;right:24px;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(201,242,123,.55),transparent)}
.e-con.fh-ww-glass:hover{border-color:rgba(201,242,123,.3);transform:translateY(-3px)}
.e-con.fh-ww .e-con.fh-ww-glass .fh-ww-glass__box .elementor-icon-box-title{font-size:17px;line-height:1.3;letter-spacing:-.2px}
.e-con.fh-ww .e-con.fh-ww-glass .fh-ww-glass__box .elementor-icon-box-description{font-size:15px;line-height:1.65}
.fh-ww-stats{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;padding:0;list-style:none}
.fh-ww-stats li{display:flex;flex-direction:column;gap:4px;margin:0;padding:16px 18px}
.fh-ww-stats li:nth-child(odd){border-right:1px solid rgba(255,255,255,.1)}
.fh-ww-stats li:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.1)}
.fh-ww-stats strong{font:800 38px/1 var(--fh-font-head);letter-spacing:-1px;color:#fff}
.fh-ww-stats li:first-child strong,.fh-ww-stats li:nth-child(4) strong{color:var(--fh-lime)}
.fh-ww-stats span{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--fh-on-dark)}
@media (max-width:767px){.fh-ww-stats strong{font-size:32px}.fh-ww-stats li{padding:14px 12px}}

/* ---------- 2. Why write for us ---------- */
.e-con.fh-ww-benefits{counter-reset:fhb}
.e-con.fh-ww-benefit{position:relative;counter-increment:fhb;border:1px solid var(--fh-border);border-radius:22px;background:#fff;transition:transform .3s var(--fh-ease),box-shadow .3s,border-color .3s}
.e-con.fh-ww-benefit:nth-child(3),.e-con.fh-ww-benefit:nth-child(4){border-color:transparent;background:var(--fh-bg)}
.e-con.fh-ww-benefit:before{content:counter(fhb,decimal-leading-zero);position:absolute;top:26px;right:26px;font:800 13px/1 var(--fh-font-head);letter-spacing:.12em;color:#9AABA4}
.e-con.fh-ww-benefit:hover{transform:translateY(-4px);box-shadow:var(--fh-shadow);border-color:transparent}
.fh-ww-benefit .elementor-icon{transition:transform .3s var(--fh-ease)}
.e-con.fh-ww-benefit:hover .elementor-icon{transform:rotate(-6deg) scale(1.06)}
.e-con.fh-ww-benefit--lead{overflow:hidden;isolation:isolate;border-color:transparent;background:var(--fh-forest);min-height:320px}
.e-con.fh-ww-benefit--lead:before{color:var(--fh-lime)}
.e-con.fh-ww-benefit--lead:after{content:"";position:absolute;z-index:-1;left:0;right:0;bottom:0;height:46%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cg fill='%23C9F27B' fill-opacity='.14'%3E%3Crect x='20' y='110' width='34' height='50' rx='6'/%3E%3Crect x='76' y='92' width='34' height='68' rx='6'/%3E%3Crect x='132' y='100' width='34' height='60' rx='6'/%3E%3Crect x='188' y='70' width='34' height='90' rx='6'/%3E%3Crect x='244' y='54' width='34' height='106' rx='6'/%3E%3Crect x='300' y='30' width='34' height='130' rx='6'/%3E%3C/g%3E%3Cpath d='M37 98 93 80l56 8 56-30 56-16 56-24 40-10' fill='none' stroke='%23C9F27B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}
.e-con.fh-ww-benefit--lead:hover{box-shadow:0 30px 60px -30px rgba(6,35,27,.7)}
.e-con.fh-ww .e-con.fh-ww-benefit--lead .fh-ww-benefit__box .elementor-icon-box-title{font-size:clamp(24px,2.3vw,30px);line-height:1.2;letter-spacing:-.6px}
.e-con.fh-ww .e-con.fh-ww-benefit--lead .fh-ww-benefit__box .elementor-icon-box-description{font-size:17px}
.elementor-widget.fh-ww-pull{max-width:52em;padding:4px 0 4px 26px;border-left:3px solid var(--fh-emerald);font-weight:500}
@media (min-width:1025px){.e-con.fh-ww-benefit--lead{grid-row:span 2}}
@media (min-width:768px) and (max-width:1024px){.e-con.fh-ww-benefit--lead{grid-column:1/-1;min-height:260px}}
@media (max-width:767px){.e-con.fh-ww-benefit--lead{min-height:300px}}

/* ---------- 3. Topics we accept (editorial index) ---------- */
.fh-ww-split-head__text p:last-child{color:var(--fh-ink);font-weight:500}
.e-con.fh-ww-index{overflow:hidden;border:1px solid var(--fh-border);border-radius:28px;background:#fff;box-shadow:0 30px 70px -45px rgba(16,34,28,.35),0 1px 2px rgba(16,34,28,.04)}
.e-con.fh-ww-cat{position:relative;border-bottom:1px solid var(--fh-border);transition:background-color .3s}
.e-con.fh-ww-cat:last-child{border-bottom:0}
.e-con.fh-ww-cat:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--fh-tone,var(--fh-emerald));transform:scaleY(0);transform-origin:top;transition:transform .4s var(--fh-ease)}
.e-con.fh-ww-cat:hover{background:#FAFCFA}
.e-con.fh-ww-cat:hover:before{transform:scaleY(1)}
.e-con.fh-ww-cat--1{--fh-tone:#0B6E4F}
.e-con.fh-ww-cat--2{--fh-tone:#0B2E24}
.e-con.fh-ww-cat--3{--fh-tone:#C8961E}
.e-con.fh-ww-cat--4{--fh-tone:#2E9C78}
.e-con.fh-ww .e-con.fh-ww-cat .fh-ww-cat__num .elementor-heading-title{font:800 54px/1 var(--fh-font-head);letter-spacing:-2px;color:transparent;-webkit-text-stroke:1.5px var(--fh-tone);text-transform:none}
.e-con.fh-ww .e-con.fh-ww-cat .fh-ww-cat__head .elementor-icon-box-title{margin-bottom:0;font-size:24px;line-height:1.2;letter-spacing:-.4px}
.fh-ww-cat__head .elementor-icon-box-content{min-width:0}
.fh-ww-cat__text p{margin:0 0 .45em}
.fh-ww-cat__text p:last-child{margin-bottom:0}
.fh-ww-cat__text p:not(:only-child):last-child{font-weight:600;color:var(--fh-ink)}
.e-con.fh-ww .fh-ww-cat__count .elementor-heading-title{display:inline-flex;align-items:center;gap:10px;font-size:12px;color:var(--fh-muted)}
.fh-ww-cat__count .elementor-heading-title:after{content:"";width:40px;height:1px;background:var(--fh-line)}
.fh-ww-chips .elementor-icon-list-items{display:flex;flex-wrap:wrap;gap:10px;margin:0!important;padding:0}
.fh-ww-chips .elementor-icon-list-items .elementor-icon-list-item{display:inline-flex;align-items:center;gap:0;margin:0!important;padding:10px 16px 10px 10px;border:1px solid var(--fh-border);border-radius:999px;background:var(--fh-bg);font-weight:500;line-height:1.3;transition:border-color .25s,background-color .25s,transform .25s var(--fh-ease)}
.fh-ww-chips .elementor-icon-list-item:after{display:none!important}
.fh-ww-chips .elementor-icon-list-icon{display:inline-grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px var(--fh-border)}
.fh-ww-chips .elementor-icon-list-icon svg{width:10px!important;height:10px!important}
.fh-ww-chips .elementor-icon-list-icon i{font-size:10px!important}
.fh-ww-chips .elementor-icon-list-text{align-self:center}
.fh-ww-chips .elementor-icon-list-item:hover{border-color:#BFD9CB;background:var(--fh-mint);transform:translateY(-1px)}
.elementor-widget.fh-ww-cat__after{padding:14px 18px;border-left:3px solid var(--fh-tone,var(--fh-emerald));border-radius:0 12px 12px 0;background:var(--fh-bg)}
@media (max-width:767px){
	.e-con.fh-ww .e-con.fh-ww-cat .fh-ww-cat__num .elementor-heading-title{font-size:42px}
	.e-con.fh-ww .e-con.fh-ww-cat .fh-ww-cat__head .elementor-icon-box-title{font-size:21px}
	.fh-ww-chips .elementor-icon-list-items{gap:8px}
	.fh-ww-chips .elementor-icon-list-items .elementor-icon-list-item{padding:8px 13px 8px 8px;font-size:14px}
	.e-con.fh-ww-index{border-radius:22px}
}

/* ---------- 4. Guidelines ---------- */
@media (min-width:1025px){.e-con.fh-ww-sticky{position:sticky;top:calc(var(--fh-header-h,76px) + 32px)}}
.fh-ww-stamp{margin-top:8px}
.fh-ww-stamp .elementor-icon-list-item{padding:8px 14px!important;border:1px solid var(--fh-border);border-radius:999px;background:#fff;margin-bottom:10px}
.e-con.fh-ww-rules{counter-reset:fhr;border-top:1px solid var(--fh-border)}
.elementor-widget.fh-ww-rule{position:relative;counter-increment:fhr;margin:0;padding:24px 64px 24px 18px;border-bottom:1px solid var(--fh-border);border-radius:0;transition:background-color .25s}
.elementor-widget.fh-ww-rule:nth-child(even){background:linear-gradient(90deg,var(--fh-bg),rgba(246,248,246,0))}
.elementor-widget.fh-ww-rule:after{content:counter(fhr,decimal-leading-zero);position:absolute;top:27px;right:18px;font:800 13px/1 var(--fh-font-head);letter-spacing:.12em;color:#9AABA4;transition:color .25s}
.elementor-widget.fh-ww-rule:hover{background:var(--fh-mint)}
.elementor-widget.fh-ww-rule:hover:after{color:var(--fh-emerald)}
.e-con.fh-ww .elementor-widget.fh-ww-rule .elementor-icon-box-title{font-size:18px}
.fh-ww-rules .fh-ww-note{margin-top:28px}
@media (max-width:767px){.elementor-widget.fh-ww-rule{padding:20px 46px 20px 4px}.elementor-widget.fh-ww-rule:after{right:6px;top:23px}}

/* ---------- 5. How to submit ---------- */
.e-con.fh-ww-submit{position:relative;isolation:isolate}
.e-con.fh-ww-submit:before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(rgba(11,110,79,.13) 1px,transparent 1px);background-size:22px 22px;-webkit-mask-image:radial-gradient(ellipse 60% 55% at 50% 0,#000 10%,transparent 75%);mask-image:radial-gradient(ellipse 60% 55% at 50% 0,#000 10%,transparent 75%);pointer-events:none}
.e-con.fh-ww-steps{position:relative;counter-reset:fhs}
.e-con.fh-ww-steps:before{content:"";position:absolute;z-index:0;left:24px;right:0;top:23px;height:2px;background:repeating-linear-gradient(90deg,rgba(11,110,79,.45) 0 8px,transparent 8px 16px);-webkit-mask-image:linear-gradient(90deg,#000 80%,transparent);mask-image:linear-gradient(90deg,#000 80%,transparent)}
.elementor-widget.fh-ww-step{position:relative;z-index:1;counter-increment:fhs}
.fh-ww-step .elementor-icon{box-shadow:0 0 0 8px var(--fh-mint),0 12px 24px -10px rgba(11,110,79,.6)}
.e-con.fh-ww .elementor-widget.fh-ww-step .elementor-icon-box-title{font-family:var(--fh-font-body);font-size:16px;font-weight:600;line-height:1.5;letter-spacing:0}
.fh-ww-step .elementor-icon-box-title:before{content:"Step " counter(fhs,decimal-leading-zero);display:block;margin-bottom:8px;font:700 12px/1.2 var(--fh-font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--fh-emerald)}
@media (max-width:1024px){
	.e-con.fh-ww-steps:before{left:23px;right:auto;top:8px;bottom:8px;width:2px;height:auto;background:repeating-linear-gradient(180deg,rgba(11,110,79,.45) 0 8px,transparent 8px 16px);-webkit-mask-image:none;mask-image:none}
	.e-con.fh-ww-steps{max-width:640px;margin-inline:auto}
}
.e-con.fh-ww-review{border:1px solid #D5E6DD;border-radius:24px;background:#fff}
.e-con.fh-ww-mail{position:relative;overflow:hidden;isolation:isolate;border-radius:24px;box-shadow:0 40px 80px -40px rgba(6,35,27,.8)}
.e-con.fh-ww-mail:before{content:"";position:absolute;z-index:-1;right:-70px;top:-90px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(201,242,123,.24),transparent 65%)}
.e-con.fh-ww-mail:after{content:"";position:absolute;z-index:-1;right:26px;bottom:22px;width:120px;height:92px;opacity:.12;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18' fill='none' stroke='%23C9F27B' stroke-width='1.4' stroke-linejoin='round'%3E%3Crect x='1' y='1' width='22' height='16' rx='2.5'/%3E%3Cpath d='m1.5 2.5 10.5 8 10.5-8'/%3E%3C/svg%3E") center/contain no-repeat}
.e-con.fh-ww .e-con.fh-ww-mail .fh-ww-mail__address .elementor-heading-title{display:inline-block;max-width:100%;padding:12px 18px;border:1px dashed rgba(201,242,123,.55);border-radius:12px;background:rgba(255,255,255,.05);font-size:clamp(17px,2.1vw,23px);overflow-wrap:anywhere}

/* ---------- 6. Who can write ---------- */
.e-con.fh-ww-person{position:relative;border:1px solid var(--fh-border);border-radius:20px;background:#fff;transition:transform .3s var(--fh-ease),box-shadow .3s,border-color .3s}
.e-con.fh-ww-person:hover{transform:translateY(-3px);border-color:#BFD9CB;box-shadow:var(--fh-shadow)}
.e-con.fh-ww-person:nth-child(2),.e-con.fh-ww-person:nth-child(5){background:var(--fh-bg);border-color:transparent}
.fh-ww-person__tag .elementor-heading-title{display:inline-block;padding:5px 10px;border-radius:999px;background:var(--fh-mint);font-size:11px!important;letter-spacing:.12em}
.fh-ww-person:nth-child(2) .fh-ww-person__tag .elementor-heading-title,.fh-ww-person:nth-child(5) .fh-ww-person__tag .elementor-heading-title{background:#fff}
.e-con.fh-ww .e-con.fh-ww-person .fh-ww-person__box .elementor-icon-box-title{font-size:18px;line-height:1.35}
.e-con.fh-ww-person--note{overflow:hidden;isolation:isolate;border-color:transparent}
.e-con.fh-ww-person--note:before{content:"\201C";position:absolute;z-index:-1;top:-18px;right:14px;font:800 120px/1 var(--fh-font-head);color:var(--fh-lime);opacity:.22}
.e-con.fh-ww-person--note:hover{border-color:transparent}

/* ---------- 7. FAQ accordion (widget) ---------- */
.fh-faq{display:flex;flex-direction:column;gap:12px}
.fh-faq__item{border:1px solid var(--fh-border,#E2E8E4);border-radius:18px;background:#fff;transition:border-color .25s,box-shadow .25s}
.fh-faq__item.is-open{border-color:#CFE3D8;box-shadow:0 18px 40px -24px rgba(16,34,28,.3)}
.fh-faq .fh-faq__q{margin:0;padding:0;font-size:inherit;line-height:inherit}
.fh-faq .fh-faq__btn{-webkit-appearance:none;appearance:none;display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;margin:0;padding:22px 24px;border:0;border-radius:18px;background:transparent;box-shadow:none;color:var(--fh-ink,#10221C);font:700 18px/1.4 var(--fh-font-head,sans-serif);letter-spacing:-.01em;text-align:left;text-transform:none;cursor:pointer}
.fh-faq .fh-faq__btn:hover,.fh-faq .fh-faq__btn:focus{background:transparent;color:var(--fh-emerald,#0B6E4F)}
.fh-faq .fh-faq__btn:focus-visible{outline:3px solid rgba(11,110,79,.45);outline-offset:-3px}
.fh-faq__text{min-width:0}
.fh-faq__icon{position:relative;flex:none;width:34px;height:34px;border-radius:50%;background:var(--fh-mint,#EAF5EF);transition:background-color .25s,transform .3s var(--fh-ease,ease)}
.fh-faq__icon:before,.fh-faq__icon:after{content:"";position:absolute;top:50%;left:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:2px;background:var(--fh-emerald,#0B6E4F);transition:transform .3s var(--fh-ease,ease),background-color .25s}
.fh-faq__icon:after{transform:rotate(90deg)}
.fh-faq__item.is-open .fh-faq__icon{background:var(--fh-emerald,#0B6E4F);transform:rotate(180deg)}
.fh-faq__item.is-open .fh-faq__icon:before,.fh-faq__item.is-open .fh-faq__icon:after{background:#fff}
.fh-faq__item.is-open .fh-faq__icon:after{transform:rotate(0)}
.fh-faq__inner{padding:0 24px 22px;color:var(--fh-text,#4B5B55);font:400 16px/1.7 var(--fh-font-body,sans-serif)}
.fh-faq__inner p{margin:0 0 .8em}
.fh-faq__inner p:last-child{margin-bottom:0}
.fh-faq.is-ready .fh-faq__a{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .32s var(--fh-ease,ease),visibility 0s linear .32s}
.fh-faq.is-ready .fh-faq__item.is-open .fh-faq__a{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .32s var(--fh-ease,ease),visibility 0s}
.fh-faq__clip{min-height:0;overflow:hidden}
@media (max-width:767px){.fh-faq .fh-faq__btn{padding:18px;font-size:16px}.fh-faq__inner{padding:0 18px 18px;font-size:15px}}

/* ---------- 8. Final call to action ---------- */
.fh-ww-cta__text{max-width:40em}

/* ---------- Mobile ---------- */
@media (max-width:767px){
	.fh-ww-actions .elementor-widget-button{width:100%}
	.fh-ww-actions .elementor-button{width:100%;justify-content:center}
	.fh-ww-cta .elementor-widget-button{width:100%}
	.fh-ww-cta .elementor-button{width:100%;justify-content:center}
	.elementor-widget.fh-ww-note{padding:62px 20px 20px}
	.elementor-widget.fh-ww-note:before{left:20px;top:20px}
	.elementor-widget.fh-ww-pull{padding-left:18px}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
	.fh-ww .animated{animation:none!important}
	.fh-ww .e-con,.fh-ww .elementor-icon,.fh-faq__item,.fh-faq__icon,.fh-faq__icon:before,.fh-faq__icon:after,.fh-faq.is-ready .fh-faq__a{transition:none!important}
	.fh-ww .e-con:hover{transform:none!important}
}
