/* Thrive 3.2. Square directory tiles, original colour system. */
.fresh-header .fresh-nav .thrive-logo-directory{width:min(630px,calc(100vw - 32px));padding:16px 18px 18px;max-height:min(72vh,600px);max-height:min(72dvh,600px)}
.fresh-header .thrive-logo-directory .thrive-brand-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:start}
.fresh-header .thrive-logo-directory .thrive-brand-grid li{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) auto;place-items:center;width:100%;aspect-ratio:1;height:auto;min-height:0;gap:4px;padding:7px!important;overflow:hidden;border:1px solid #e2e9eb;border-radius:5px;background:transparent!important;box-shadow:none;transform:none;line-height:1.25;transition:border-color .2s,background-color .2s}
.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{display:grid;grid-column:1;grid-row:1;place-items:center;align-self:stretch;width:100%;height:100%;min-height:0;min-width:0;padding:0;background:transparent;border:0;overflow:hidden}
.fresh-header .thrive-logo-directory .thrive-brand-grid .thrive-brand-mark img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;min-width:0;object-fit:contain;object-position:center;filter:none!important;opacity:1!important;transform:none!important}
.fresh-header .thrive-logo-directory .thrive-brand-grid .thrive-brand-name,.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid .thrive-brand-name{grid-row:2;grid-column:1;display:block;width:100%;max-width:100%;text-align:center;font-size:13px;font-weight:650;line-height:1.3;overflow-wrap:anywhere;color:#082a40}
.fresh-header .thrive-logo-directory .thrive-brand-grid a:not(:has(.thrive-brand-mark)),.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid a:not(:has(.thrive-brand-mark)){grid-template-rows:minmax(0,1fr);min-height:0}
.fresh-header .thrive-logo-directory .thrive-brand-fallback{grid-column:1;grid-row:1;font-size:14px;text-align:center;overflow-wrap:anywhere}
.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.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]){border-color:#9ac8bf;background:#f3f7f6!important}
/* Applies to both the native homepage and the legacy [thrive_network_rail] block. */
.thrive32-logo-rail.m40-logo-carousel{--tile:clamp(142px,13vw,190px);display:flex;align-items:stretch;position:relative;width:100%;height:var(--tile)!important;max-width:100%;background:#fff;border-block:1px solid #e1e8ea;overflow:hidden}
.thrive32-logo-rail .m40-logo-window{flex:1 1 0;min-width:0;width:auto!important;overflow:auto hidden;scrollbar-width:none;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain}
.thrive32-logo-rail .m40-logo-window::-webkit-scrollbar{display:none}
.thrive32-logo-rail .m40-logo-track{display:flex;width:max-content;min-width:100%;height:100%;transform:none!important;animation:none!important;gap:0}
.thrive32-logo-rail .m40-logo-track>a{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;place-items:center;gap:5px;flex:0 0 var(--tile)!important;width:var(--tile)!important;height:var(--tile)!important;min-width:0;aspect-ratio:1;box-sizing:border-box;padding:8px!important;margin:0;border:0;border-right:1px solid #e1e8ea;background:transparent;overflow:hidden;scroll-snap-align:start;text-decoration:none;color:#082a40}
.thrive32-logo-rail .thrive-brand-mark{display:grid;place-items:center;align-self:stretch;width:100%;height:100%;min-height:0;min-width:0;overflow:hidden}
.thrive32-logo-rail .m40-logo-track img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center;transform:none!important;filter:none!important;opacity:1!important;margin:0;padding:0}
.thrive32-logo-rail .thrive-brand-name,.thrive32-logo-rail .thrive-brand-fallback{display:block;width:100%;text-align:center;font-weight:650;font-size:12px;line-height:1.25;overflow-wrap:anywhere;align-self:center}
.thrive32-logo-rail .m40-logo-track>a:not(:has(.thrive-brand-mark)){grid-template-rows:minmax(0,1fr)}
.thrive32-logo-rail .m40-logo-track>a:is(:hover,:focus-visible){background:#f3f7f6;outline-offset:-3px}
.thrive32-logo-rail>button,.thrive32-logo-rail .thrive-logo-controls{display:flex;flex:0 0 44px;width:44px;align-self:stretch;border:0;border-inline:1px solid #e1e8ea;background:#fff;color:#082a40;justify-content:center;align-items:center}
.thrive32-logo-rail>button,.thrive32-logo-rail .thrive-logo-controls button{font:inherit;font-size:24px;cursor:pointer;color:#082a40;background:white}
.thrive32-logo-rail .thrive-logo-controls{flex-direction:column}
.thrive32-logo-rail .thrive-logo-controls button{flex:1;width:100%;min-height:36px;border:0}
.thrive32-logo-rail .thrive-logo-controls button+button{border-top:1px solid #e1e8ea;font-size:15px}
.thrive32-logo-rail button:focus-visible{outline-offset:-3px}
@media(max-width:760px){.thrive32-logo-rail.m40-logo-carousel{--tile:clamp(102px,calc((100vw - 88px)/2),170px)}.thrive32-logo-rail .thrive-brand-name,.thrive32-logo-rail .thrive-brand-fallback{font-size:11px}.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid li>a{padding:6px!important;gap:4px}.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid .thrive-brand-name{font-size:11px}}
@media(prefers-reduced-motion:reduce){.thrive32-logo-rail *, .fresh-header .thrive-logo-directory .thrive-brand-grid li>a{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* A custom homepage can start with any block, including a plain white section. Keep the original header in document flow. */
body.home.thrive32-custom-page .fresh-header{position:sticky!important;left:auto;right:auto}
@media(min-width:761px){.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid li>a{max-width:260px;margin-inline:auto}.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid{max-width:800px;margin-inline:auto}}

/* Compact menus and seamless native-scroll marquee. No changes to the site palette. */
.fresh-header .thrive-logo-directory .thrive-brand-head{padding-bottom:10px;margin-bottom:10px}
.fresh-header .fresh-nav .thrive-logo-directory .thrive-brand-head strong{font-size:20px}
.fresh-header .thrive-logo-directory .thrive-brand-grid .thrive-brand-name{font-size:12px;line-height:1.25}
.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid li>a{max-width:152px;margin-inline:auto}
.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid{max-width:500px;margin-inline:auto}
@media(min-width:761px){.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid li>a{max-width:190px}.fresh-header .fresh-mobile-nav .thrive-logo-directory .thrive-brand-grid{max-width:600px}}
.thrive32-logo-rail.is-continuous .m40-logo-window{scroll-snap-type:none!important;scroll-behavior:auto!important}
.thrive32-logo-rail.is-continuous .m40-logo-track>a{scroll-snap-align:none!important}
