/* AvFinity global styles — hand-written to reproduce the Squarespace 7.1 look (tokens from live site.css). */
:root{
  --white-hsl:0,0%,100%; --black-hsl:0,0%,0%;
  --accent-hsl:216.47,49.51%,59.61%;        /* #658DCB */
  --darkAccent-hsl:27.69,15.29%,33.33%;     /* #625448 */
  --lightAccent-hsl:270,8%,90.2%;           /* #E6E4E8 */
  --brand-blue:#1A50A4;
  --accent:hsl(var(--accent-hsl));
  --maxPageWidth:1400px; --pagePadding:4vw;
  --sqs-site-max-width:var(--maxPageWidth); --sqs-site-gutter:var(--pagePadding); --sqs-mobile-site-gutter:6vw;
  --heading-1-size-value:4; --heading-2-size-value:2.8; --heading-3-size-value:2.2; --heading-4-size-value:1.2;
  --large-text-size-value:1.4; --normal-text-size-value:1; --small-text-size-value:.9;
  --header-pad:3.3vw; --logo-h:134px;
  --header-h:calc(var(--header-pad) * 2 + var(--logo-h));
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;font-size:16px}
body{margin:0;font-family:Poppins,sans-serif;font-weight:300;line-height:1.8em;letter-spacing:0;color:#000;background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:inherit}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:1rem;top:1rem;z-index:1000;background:#fff;padding:.5rem 1rem}

/* ---------- section themes ---------- */
.page-section,[data-section-theme]{--siteBackgroundColor:#fff;--textColor:#000;--headingColor:#000;--linkColor:var(--accent);--navColor:#000;--btnBg:var(--accent);--btnText:#fff;--overlay:#fff}
[data-section-theme="black"]{--siteBackgroundColor:#000;--textColor:#fff;--headingColor:#fff;--linkColor:var(--accent);--navColor:#fff;--btnBg:var(--accent);--btnText:#fff;--overlay:#000}
[data-section-theme="bright"]{--siteBackgroundColor:var(--accent);--textColor:#fff;--headingColor:#fff;--linkColor:#fff;--navColor:#fff;--btnBg:#fff;--btnText:var(--accent);--overlay:var(--accent)}
[data-section-theme="light"]{--siteBackgroundColor:hsl(var(--lightAccent-hsl));--overlay:hsl(var(--lightAccent-hsl))}
[data-section-theme="dark"]{--siteBackgroundColor:hsl(var(--darkAccent-hsl));--textColor:#fff;--headingColor:#fff;--navColor:#fff;--overlay:hsl(var(--darkAccent-hsl))}

/* ---------- typography (Squarespace fluid formulas) ---------- */
h1,h2,h3,h4{font-family:Poppins,sans-serif;font-weight:500;line-height:1.4em;letter-spacing:0;margin:2rem 0;color:var(--headingColor)}
h1{font-size:calc((var(--heading-1-size-value) - 1) * 1.2vw + 1rem)}
h2{font-size:calc((var(--heading-2-size-value) - 1) * 1.2vw + 1rem)}
h3{font-size:calc((var(--heading-3-size-value) - 1) * 1.2vw + 1rem)}
h4{font-size:calc((var(--heading-4-size-value) - 1) * 1.2vw + 1rem)}
p,li{font-size:calc((var(--normal-text-size-value) - 1) * 1.2vw + 1rem)}
p{margin:1rem 0;color:var(--textColor)}
.sqsrte-large{font-size:calc((var(--large-text-size-value) - 1) * 1.2vw + 1rem)}
.sqsrte-small{font-size:calc((var(--small-text-size-value) - 1) * 1.2vw + 1rem)}
@media (min-width:1400px){ /* Squarespace caps fluid sizes at maxPageWidth */
  h1{font-size:calc((var(--heading-1-size-value) - 1) * .012 * 1400px + 1rem)}
  h2{font-size:calc((var(--heading-2-size-value) - 1) * .012 * 1400px + 1rem)}
  h3{font-size:calc((var(--heading-3-size-value) - 1) * .012 * 1400px + 1rem)}
}
@media (max-width:767px){
  h1{font-size:calc((var(--heading-1-size-value) - 1) * .012 * min(100vh,900px) + 1rem)}
  h2{font-size:calc((var(--heading-2-size-value) - 1) * .012 * min(100vh,900px) + 1rem)}
  h3{font-size:calc((var(--heading-3-size-value) - 1) * .012 * min(100vh,900px) + 1rem)}
  .sqsrte-small{font-size:calc((var(--small-text-size-value) - 1) * .012 * min(100vh,900px) + 1rem)}
}
.sqs-html-content>:first-child{margin-top:0}
.sqs-html-content>:last-child{margin-bottom:0}
.sqs-html-content a,.list-item-content__description a{color:var(--linkColor);text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
.sqs-html-content strong{font-weight:600}
.sqs-html-content ul,.sqs-html-content ol{margin:1rem 0;padding-left:2em}
.sqs-html-content li>p{margin:.5rem 0}
.sqs-html-content li,.sqs-html-content li p{color:var(--textColor)}

/* ---------- header (transparent over first section, not fixed) ---------- */
.header{position:absolute;top:0;left:0;right:0;z-index:20;background:transparent;color:var(--navColor)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:var(--header-pad) var(--pagePadding);max-width:none}
.header-title-logo{display:block;line-height:0}
.header-title-logo img{height:auto;max-height:153px;width:auto}
.logo-mobile{display:none}
.header-nav{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:0}
.header-nav-item{color:var(--navColor);text-decoration:none;font-size:1rem;font-weight:300;line-height:1.8em;margin:0 .618em;position:relative;white-space:nowrap}
.header-nav-item:last-child{margin-right:0}
.header-nav-item::after{content:"";position:absolute;left:0;right:0;bottom:-.1em;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .3s}
.header-nav-item:hover::after,.header-nav-item.active::after{transform:scaleX(1)}
.header-login{margin-left:1.2em}
.nav-toggle,.burger{display:none}
@media (max-width:767px){
  :root{--logo-h:42px;--header-pad:6vw}
  .logo-desktop{display:none}.logo-mobile{display:block;max-height:42px}
  .header-inner{padding:6vw}
  .burger{display:flex;flex-direction:column;gap:8px;cursor:pointer;padding:6px;z-index:30}
  .burger span{display:block;width:30px;height:1px;background:var(--navColor)}
  .header-nav{display:none;position:fixed;inset:0;background:#fff;flex-direction:column;justify-content:center;align-items:center;z-index:25}
  .header-nav .header-nav-item{color:#000;font-size:1.6rem;margin:.6em 0}
  .nav-toggle:checked ~ .header-nav{display:flex}
  .nav-toggle:checked ~ .burger span{background:#000}
}

/* ---------- sections ---------- */
.page-section{position:relative;display:flex;flex-direction:column;justify-content:center;background:var(--siteBackgroundColor);color:var(--textColor)}
.page-section.vertical-alignment--top{justify-content:flex-start}
.page-section.vertical-alignment--bottom{justify-content:flex-end}
.page-regions>.region:first-child>.page-section:first-child{padding-top:var(--header-h)}
.section-border{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.section-background{position:absolute;inset:0;overflow:hidden;background:var(--siteBackgroundColor)}
.section-background>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
.section-background-overlay{position:absolute;inset:0;background:var(--overlay)}
.background-pause-button{display:none}
.content-wrapper{position:relative;width:100%;margin:0 auto}
.section-height--small{min-height:33vh}
.section-height--medium{min-height:66vh}
.section-height--large{min-height:100vh}
.section-height--small>.content-wrapper{padding-top:3.3vmax;padding-bottom:3.3vmax}
.section-height--medium>.content-wrapper{padding-top:6.6vmax;padding-bottom:6.6vmax}
.section-height--large>.content-wrapper{padding-top:10vmax;padding-bottom:10vmax}
.layout-engine-section .content-wrapper{padding-left:0;padding-right:0}
.layout-engine-section .content{width:100%}
.layout-engine-section .content>div{display:grid} /* fe container */

/* ---------- fluid engine blocks ---------- */
.fe-block{position:relative;min-width:0}
.fe-block>.sqs-block{height:100%;display:flex;flex-direction:column;justify-content:flex-start;padding:0;margin:0}
.fe-block .sqs-block-content{width:100%;flex:var(--sqs-block-content-flex,0 1 auto)}
.sqs-block-button .sqs-block-content{height:100%}
.sqs-block-button-container{text-align:left}
.sqs-block-button-container--center{text-align:center}
.sqs-block-button-element,.list-item-content__button{display:inline-block;font-family:Poppins,sans-serif;font-weight:500;font-size:1rem;letter-spacing:.02em;line-height:1.2em;text-decoration:none;text-align:center;padding:1.2em 2.004em;background:var(--btnBg);color:var(--btnText);border:0;border-radius:0;transition:opacity .1s}
.sqs-block-button-element:hover,.list-item-content__button:hover{opacity:.8}
.sqs-stretched{height:100%;display:flex}
.sqs-stretched .sqs-block-button-element{width:100%;display:flex;align-items:center;justify-content:center}
a.list-item-content__button[href=""],.list-item-content--hidden{display:none}

/* image block */
.fluid-image-component-root,.fluid-image-animation-wrapper,.fluid-image-container,.js-content-mode-element-wrapper,.js-content-mode-element{height:100%;width:100%;position:relative}
.fluid-image-component-root{--image-component-object-fit:contain;--image-component-focal-point:50% 50%}
.image-component-container-fill .fluid-image-component-root,.content-fill{--image-component-object-fit:cover}
.fluid-image-container{overflow:hidden}
.fluid-image-container img{position:absolute;inset:0;width:100%;height:100%;object-fit:var(--image-component-object-fit,contain);object-position:var(--image-component-focal-point,50% 50%)}
.fluidImageOverlay{position:absolute;inset:0;pointer-events:none}

/* social links */
.sqs-svg-icon--list{display:flex;gap:10px}
.sqs-svg-icon--wrapper{display:inline-flex;width:32px;height:32px}
.fb-icon{width:32px;height:32px;fill:var(--textColor)}

/* ---------- user items list (auto layout) ---------- */
.user-items-list-section .content-wrapper{padding:0 var(--pagePadding);max-width:calc(var(--maxPageWidth) + var(--pagePadding) * 2)}
.user-items-list{max-width:var(--maxPageWidth);margin:0 auto}
.list-section-title p{font-size:calc((var(--large-text-size-value) - 1) * 1.2vw + 1rem);margin:0}
.user-items-list-item-container{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.user-items-list-item-container[data-num-columns="1"]{grid-template-columns:1fr}
.user-items-list-item-container[data-num-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.user-items-list-item-container[data-num-columns="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.list-item{display:flex;flex-direction:column;align-items:flex-start}
.list-item-media{align-self:center;width:100%}
.list-item-media-inner{position:relative;width:100%;aspect-ratio:3/2;overflow:hidden}
.list-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.list-item-content{width:100%}
.list-item-content__title{margin:0;font-size:calc((var(--title-font-size-value,1.2) - 1) * 1.2vw + 1rem);line-height:1.4em}
.list-item-content__description p{font-size:calc((var(--body-font-size-value,1) - 1) * 1.2vw + 1rem)}
.list-item-content__description p:first-child{margin-top:0}
.list-item-content__button{font-size:calc((var(--button-font-size-value,1) - 1) * 1.2vw + 1rem)}
@media (max-width:767px){.user-items-list-item-container{grid-template-columns:1fr!important}}

/* ---------- footer ---------- */
#footer-sections .page-section{padding-top:0}
#footer-sections a{color:var(--linkColor)}

/* ---------- cookie banner (Squarespace DARK/BAR/BOTTOM look) ---------- */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:999;background:#000;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:18px 20px}
.cookie-banner[hidden]{display:none}
.cookie-banner-text{margin:0;color:#fff;font-size:12px;line-height:1.5;font-weight:400}
.cookie-banner-actions{display:flex;gap:14px;flex-shrink:0}
.cookie-btn{font-family:Poppins,sans-serif;font-weight:400;font-size:12px;letter-spacing:.02em;background:var(--accent);color:#fff;border:0;padding:13px 17px;min-width:76px;cursor:pointer}
.cookie-btn:hover{opacity:.85}
@media (max-width:767px){.cookie-banner{flex-direction:column;align-items:stretch;gap:1rem}.cookie-banner-actions{justify-content:flex-end}}

/* ---- round-1 visual fixes ---- */
.sqs-block-image .sqs-block-content,.fe-block .sqs-block-image .sqs-block-content{height:100%}
.background-width--inset>.content-wrapper{padding-left:var(--sqs-site-gutter);padding-right:var(--sqs-site-gutter)}
.sqs-svg-icon--wrapper,.fb-icon{width:40px;height:40px}
.sqs-svg-icon--outer{margin-left:-8px}
.header-login{margin-left:.618em}
.sqs-svg-icon--wrapper{flex:0 0 40px;width:40px!important;height:40px!important}
.sqs-svg-icon--wrapper .fb-icon{flex:0 0 40px;width:40px!important;height:40px!important;min-width:40px}
