/* Thrive 3.1.7 — responsive audit fixes. Existing palette and page layouts retained. */
.fresh-header .fresh-nav .thrive-brand-panel{max-height:min(65dvh,540px);overscroll-behavior:contain}
.fresh-header .thrive-brand-grid a{min-height:54px}.fresh-header .thrive-brand-mark{width:48px;height:38px}
.fresh-header .thrive-brand-toggle{min-width:32px;min-height:44px}
.fresh-header .fresh-mobile-nav .thrive-brand-toggle{min-width:44px;min-height:48px}
.fresh-header .fresh-mobile-nav .thrive-brand-panel{max-width:100%;overflow-wrap:anywhere}
.fresh-mobile-nav.is-open{max-height:calc(100dvh - var(--thrive-menu-top,76px));overflow-y:auto;overscroll-behavior:contain}
.fresh-header .thrive-brand-panel a:focus-visible{outline-offset:-2px!important}
.m40-logo-track a{min-width:0;box-sizing:border-box;container-type:inline-size}
.m40-logo-track img{max-width:min(var(--m40-brand-logo-desktop,166px),calc(100cqw / var(--brand-scale,1)));max-height:calc((var(--m40-brand-card-height,116px) - 18px) / var(--brand-scale,1));width:auto;height:auto}
.m40-logo-carousel .thrive-logo-controls{display:flex;flex:0 0 60px;align-self:stretch;flex-direction:column;border-left:1px solid var(--m40-line)}
.thrive-logo-controls button{flex:1;min-height:44px;border:0;background:white;color:#073653;cursor:pointer;font-size:28px;line-height:1}.thrive-logo-controls button+button{border-top:1px solid var(--m40-line);font-size:16px}.thrive-logo-controls button:is(:hover,:focus-visible){background:#073653;color:white}.thrive-logo-controls button:disabled{opacity:.4;cursor:default}
#primary:not(.ts-portfolio) :is(.entry-content,.article-body,.ts-prose) :is(img,video){max-width:100%;height:auto}
#primary:not(.ts-portfolio) :is(.entry-content,.article-body,.ts-prose) :is(.wp-block-table,pre){max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
#primary:not(.ts-portfolio) :is(.entry-content,.article-body,.ts-prose) .wp-block-embed__wrapper iframe{max-width:100%}
#primary:not(.ts-portfolio) :is(.entry-content,.article-body,.ts-prose) :is(h2,h3,h4){scroll-margin-top:100px;overflow-wrap:anywhere}
.fresh-footer a:focus-visible{outline-offset:3px}.screen-reader-text:focus{z-index:100000!important}
@media(max-width:760px){.m40-logo-carousel{height:92px!important}.m40-logo-carousel>button{width:44px;flex-basis:44px}.m40-logo-carousel .thrive-logo-controls{flex-basis:44px}.m40-logo-track a{width:calc((100vw - 88px)/2);flex-basis:calc((100vw - 88px)/2);height:92px;padding:6px}.m40-logo-track img{max-width:min(var(--m40-brand-logo-mobile,128px),calc(100cqw / var(--brand-scale,1)));max-height:calc(76px / var(--brand-scale,1))}.fresh-header .fresh-mobile-nav .thrive-brand-mark{width:36px;height:32px}.fresh-header .fresh-mobile-nav .thrive-brand-grid a{min-height:52px}.fresh-footer .fresh-footer-mobile-groups summary:focus-visible{outline-offset:-2px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.fresh-header .thrive-brand-panel,.fresh-header .thrive-brand-toggle{animation:none!important;transition:none!important}}
/* Align simple links and mega-menu triggers on the same baseline. */
@media(min-width:1181px){
 .thrive-editable-header .fresh-nav>.thrive-header-menu{align-items:stretch}
 .thrive-editable-header .fresh-nav>.thrive-header-menu>li{display:flex;align-items:center;min-height:64px;white-space:nowrap}
 .thrive-editable-header .fresh-nav>.thrive-header-menu>li>a{display:flex!important;align-items:center;justify-content:center;min-height:64px;padding:0!important;line-height:1.35}
 .thrive-editable-header .fresh-nav>.thrive-header-menu>li>a::after{bottom:7px!important}
 .thrive-editable-header .fresh-nav>.thrive-header-menu>li.thrive-brand-parent{gap:0}
 body.home .fresh-header:not(.is-scrolled) .fresh-nav .thrive-brand-toggle{color:#fff}
 .thrive-editable-header .fresh-header.is-scrolled .fresh-nav>.thrive-header-menu>li,.thrive-editable-header .fresh-header.is-scrolled .fresh-nav>.thrive-header-menu>li>a{min-height:56px}
}

/* 3.1.8 — editorial directory menus; only header dropdowns are affected. */
.fresh-header .thrive-brand-toggle{min-width:28px;min-height:44px;padding:0 4px;flex:none;transition:color .2s,transform .2s}
.fresh-header .thrive-brand-toggle svg{display:block;flex:none}
.fresh-header .fresh-nav .thrive-brand-panel{width:min(940px,calc(100vw - 40px));padding:26px 30px 30px;border:1px solid #dfe6e9;border-top:3px solid #13836f;border-radius:0 0 10px 10px;box-shadow:0 22px 55px rgba(8,42,64,.18);max-height:min(72vh,660px);max-height:min(72dvh,660px)}
.fresh-header .thrive-brand-head{padding:0 0 17px;margin-bottom:17px;gap:16px}
.fresh-header .thrive-brand-head strong{font-size:clamp(20px,2vw,25px);letter-spacing:-.025em;line-height:1.25}
.fresh-header .thrive-brand-head>a{gap:10px;padding:10px 0!important;min-height:44px;flex:none;white-space:nowrap!important;background:transparent!important}
.fresh-header .thrive-brand-head>a svg{color:#087665;flex:none}
.fresh-header .thrive-brand-panel .thrive-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.fresh-header .thrive-brand-grid li{border:0;display:flex;min-width:0}
.fresh-header .thrive-brand-grid li>a{display:grid!important;grid-template-columns:minmax(0,1fr) 28px;grid-template-rows:58px minmax(36px,auto);align-items:center;gap:8px 10px;width:100%;padding:12px 14px!important;border:1px solid #e0e7e9;border-radius:6px;background:#fff;min-height:126px;box-shadow:none;transition:background-color .2s,border-color .2s,box-shadow .2s;line-height:1.35}
.fresh-header .thrive-brand-grid li>a:is(:hover,:focus-visible,[aria-current=page]){background:#f3f7f6;border-color:#a5c9be;color:#082a40!important;box-shadow:0 4px 14px rgba(8,42,64,.05)}
.fresh-header .thrive-brand-grid .thrive-brand-mark{grid-column:1/-1;grid-row:1;display:flex;justify-content:flex-start;align-items:center;width:100%;height:58px;background:#fff;border-radius:2px;padding:0 3px;min-width:0;overflow:hidden}
.fresh-header .thrive-brand-grid .thrive-brand-mark img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;object-position:left center;filter:none!important;opacity:1!important;transform:none!important}
.fresh-header .thrive-brand-grid .thrive-brand-name{grid-row:2;grid-column:1;min-width:0;font-size:13px;font-weight:700;overflow-wrap:break-word;line-height:1.4}
.fresh-header .thrive-brand-grid .thrive-brand-arrow{grid-row:2;grid-column:2;display:grid;place-items:center;width:28px;height:28px;border:1px solid #d6e5df;border-radius:50%;color:#087665;background:#fff;transition:background-color .2s,color .2s,border-color .2s}
.fresh-header .thrive-brand-grid .thrive-brand-arrow svg{display:block;width:16px;height:16px;transition:transform .2s}
.fresh-header .thrive-brand-grid a:is(:hover,:focus-visible,[aria-current=page]) .thrive-brand-arrow{background:#087665;color:white;border-color:#087665}
.fresh-header .thrive-brand-grid a:is(:hover,:focus-visible) .thrive-brand-arrow svg{transform:translateX(1px)}
.fresh-header .thrive-brand-grid a:not(:has(.thrive-brand-mark)){grid-template-rows:1fr;min-height:126px}
.fresh-header .thrive-brand-grid a:not(:has(.thrive-brand-mark)) .thrive-brand-name,.fresh-header .thrive-brand-grid a:not(:has(.thrive-brand-mark)) .thrive-brand-arrow{grid-row:1}
/* Align the ordinary submenu indicator with the mega-menu chevrons. */
.thrive-editable-header .fresh-nav .thrive-header-menu li.menu-item-has-children:not(.thrive-brand-parent)>a::before{content:none!important;display:none!important}
.thrive-editable-header .fresh-nav .thrive-header-menu li.menu-item-has-children:not(.thrive-brand-parent)>a{gap:2px}
.fresh-header .fresh-mobile-nav .thrive-brand-panel{padding:14px 10px;margin:4px 0 12px;border-radius:5px;border:1px solid #dfe6e9;background:#fff;box-shadow:none}
.fresh-header .fresh-mobile-nav .thrive-brand-head{padding:0 0 12px;margin-bottom:10px;gap:8px}
.fresh-header .fresh-mobile-nav .thrive-brand-head strong{font-size:17px;line-height:1.25}
.fresh-header .fresh-mobile-nav .thrive-brand-head>a{font-size:11px!important;gap:4px;white-space:normal!important}
.fresh-header .fresh-mobile-nav .thrive-brand-head>a svg{width:15px;height:15px}
.fresh-header .fresh-mobile-nav .thrive-brand-panel .thrive-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fresh-header .fresh-mobile-nav .thrive-brand-grid li>a{grid-template-columns: minmax(0,1fr) 24px;grid-template-rows:46px minmax(34px,auto);padding:10px!important;gap:6px;min-height:106px;border:1px solid #e0e7e9;background:#fff}
.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-mark{width:100%;height:46px}
.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-name{font-size:12px}
.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-arrow{width:24px;height:24px}
.fresh-header .fresh-mobile-nav .thrive-brand-grid a:not(:has(.thrive-brand-mark)){grid-template-rows:1fr}
@media(max-width:600px){.fresh-header .fresh-mobile-nav .thrive-brand-panel .thrive-brand-grid{grid-template-columns:1fr}.fresh-header .fresh-mobile-nav .thrive-brand-grid li>a{grid-template-columns:minmax(65px,30%) minmax(0,1fr) 24px;grid-template-rows:auto;min-height:70px;gap:9px}.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-mark{grid-column:1;grid-row:1;height:44px;padding:0}.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-name{grid-column:2;grid-row:1;font-size:13px}.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-arrow{grid-column:3;grid-row:1}.fresh-header .fresh-mobile-nav .thrive-brand-grid a:not(:has(.thrive-brand-mark)) .thrive-brand-name{grid-column:1/3}}
@media(prefers-reduced-motion:reduce){.fresh-header .thrive-brand-grid a,.fresh-header .thrive-brand-arrow,.fresh-header .thrive-brand-arrow svg,.fresh-header .thrive-brand-toggle{transition:none!important}}

.thrive-editable-header .fresh-nav>.thrive-header-menu>li.menu-item-has-children:not(.thrive-brand-parent)>a:is([aria-current="page"],[data-thrive-section-current]){text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:8px}

/* Consistent chevrons without consuming the active-page underline. */
.thrive-editable-header .fresh-nav .thrive-header-menu li.menu-item-has-children:not(.thrive-brand-parent)>a::before{content:''!important;display:block!important;position:static!important;order:2;flex:none;width:7px;height:7px;margin:0 0 3px 6px;float:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);background:none!important;transition:transform .2s}
.thrive-editable-header .fresh-nav .thrive-header-menu li.menu-item-has-children:not(.thrive-brand-parent):is(:hover,:focus-within)>a::before{transform:rotate(225deg);margin-top:4px}
.fresh-header .fresh-mobile-nav .thrive-brand-parent>a::after{display:none!important;content:none!important}

/* 3.1.10 — final single-row directory layout. Keep the original header and palette. */
.fresh-header .fresh-nav .thrive-brand-panel{width:min(700px,calc(100vw - 32px));padding:22px 24px 24px;max-height:min(72vh,660px);max-height:min(72dvh,660px);scrollbar-gutter:stable}
.fresh-header .thrive-brand-panel .thrive-brand-grid,.fresh-header .fresh-mobile-nav .thrive-brand-panel .thrive-brand-grid{grid-template-columns:minmax(0,1fr);gap:7px}
.fresh-header .thrive-brand-grid li>a,.fresh-header .fresh-mobile-nav .thrive-brand-grid li>a{grid-template-columns:minmax(0,190px) minmax(0,1fr) 32px;grid-template-rows:auto;gap:14px;min-height:78px;padding:10px 12px!important;align-items:center}
.fresh-header .thrive-brand-grid .thrive-brand-mark,.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-mark{grid-column:1;grid-row:1;width:100%;min-width:0;height:56px;padding:0 4px;justify-content:center;overflow:visible}
.fresh-header .thrive-brand-grid .thrive-brand-mark img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;transform:none!important}
.fresh-header .thrive-brand-grid .thrive-brand-name,.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-name{grid-column:2;grid-row:1;font-size:14px;overflow-wrap:anywhere;line-height:1.4}
.fresh-header .thrive-brand-grid .thrive-brand-arrow,.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-arrow{grid-column:3;grid-row:1;width:32px;height:32px;margin:0;justify-self:end}
.fresh-header .thrive-brand-grid a:not(:has(.thrive-brand-mark)),.fresh-header .fresh-mobile-nav .thrive-brand-grid a:not(:has(.thrive-brand-mark)){min-height:64px;grid-template-rows:auto}
.fresh-header .thrive-brand-grid a:not(:has(.thrive-brand-mark)) .thrive-brand-name,.fresh-header .fresh-mobile-nav .thrive-brand-grid a:not(:has(.thrive-brand-mark)) .thrive-brand-name{grid-column:1/3;grid-row:1}
.fresh-header .thrive-brand-head>a{border:0;box-shadow:none;border-radius:0}
.fresh-header .fresh-mobile-nav .thrive-brand-grid li>a{grid-template-columns:minmax(0,32%) minmax(0,1fr) 28px;gap:9px;min-height:72px;padding:9px!important}
.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-mark{height:46px;padding:0}
.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-name{font-size:13px}
.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-arrow{width:28px;height:28px}
@media(max-width:380px){.fresh-header .fresh-mobile-nav .thrive-brand-grid li>a{grid-template-columns:minmax(0,30%) minmax(0,1fr) 24px;gap:7px;padding:8px!important}.fresh-header .fresh-mobile-nav .thrive-brand-grid .thrive-brand-arrow{width:24px;height:24px}.fresh-header .fresh-mobile-nav .thrive-brand-head{flex-wrap:wrap}}

/* 3.1.12 — logo-only directory tiles. Original artwork, no decorative frame. AUR. */
.fresh-header .fresh-nav .thrive-logo-directory{width:min(880px,calc(100vw - 32px));padding:22px 26px 26px;max-height:min(72vh,650px);max-height:min(72dvh,650px)}
.fresh-header .thrive-logo-directory .thrive-brand-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.fresh-header .thrive-logo-directory .thrive-brand-grid li{display:flex;min-width:0;border:0;background:transparent}
.fresh-header .thrive-logo-directory .thrive-brand-grid li>a,.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid li>a{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;gap:0;width:100%;height:100px;min-height:100px;padding:8px!important;border:1px solid transparent;border-radius:5px;background:transparent!important;box-shadow:none;transform:none;transition:border-color .2s,background-color .2s}
.fresh-header .thrive-logo-directory .thrive-brand-grid li>a:is(:hover,:focus-visible,[aria-current=page]),.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid li>a:is(:hover,:focus-visible,[aria-current=page]){background:#f3f7f6!important;border-color:#d8e7e2;box-shadow:none;transform:none}
.fresh-header .thrive-logo-directory .thrive-brand-grid .thrive-brand-mark,.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid .thrive-brand-mark{grid-column:1;grid-row:1;display:grid;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
.fresh-header .thrive-logo-directory .thrive-brand-mark img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;filter:none!important;opacity:1!important;transform:none!important}
.fresh-header .thrive-logo-directory .thrive-brand-fallback{color:#082a40;text-align:center;font-size:14px;line-height:1.35;font-weight:750;overflow-wrap:anywhere}
.fresh-header .thrive-logo-directory .thrive-brand-head>a{border:0;background:transparent!important;box-shadow:none;min-height:44px}
.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid li>a{height:76px;min-height:76px;padding:5px!important}
@media(min-width:761px){.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.fresh-header .thrive-logo-directory .thrive-brand-grid li>a{transition:none!important}}
