/* Alltion resource library: product-led blue/white document library. */
.resources-page main{--library-rule:1px solid #d9e7f0;color:#526c80;background:#fff;}
.resources-page [hidden]{display:none!important;}
.resources-page main h1,.resources-page main h2,.resources-page main h3{color:#163d61;text-wrap:balance;}
.resources-page main a:focus-visible,.resources-page main button:focus-visible,.resources-page main input:focus-visible,.resources-page main select:focus-visible{outline:3px solid #1d9add;outline-offset:4px;}
.library-kicker{font-size:.75rem;text-transform:uppercase;letter-spacing:.15em;font-weight:600;color:#176fa5;margin:0 0 18px;}
.resources-hero{position:relative;isolation:isolate;background:#f5f7f9;border-bottom:1px solid #d9e7f0;overflow:hidden;}
.resources-hero-background{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.resources-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#ffffffdb 0%,#ffffffab 28%,#ffffff26 43%,transparent 55%);}
.resources-hero-copy{width:42%;max-width:520px;}
.resources-hero-grid{display:flex;align-items:center;min-height:clamp(420px,33.35vw,640px);padding-block:44px;}
.resources-hero h1{font-size:clamp(2.5rem,4.4vw,4.5rem);line-height:1.12;letter-spacing:-.04em;margin:0 0 20px;}
.resources-hero-intro{font-size:1.0625rem;line-height:1.6;margin:0 0 20px;max-width:36ch;}
.library-text-link{display:inline-flex;align-items:center;gap:18px;font-size:.875rem;font-weight:600;color:#176fa5;min-height:44px;}
.library-text-link:hover{text-decoration:underline;text-underline-offset:4px;}
.library-browse{padding:36px 0 64px;}
.library-controls{background:white;border:var(--library-rule);border-radius:16px;padding:8px 24px 0;margin-bottom:32px;}
.library-controls,.library-panel{scroll-margin-top:110px;}
.library-switch{display:flex;gap:28px;border-bottom:var(--library-rule);}
.library-switch a{display:inline-flex;align-items:center;gap:10px;padding:17px 0;border-bottom:3px solid transparent;margin-bottom:-1px;color:#526c80;font-size:.9375rem;font-weight:600;white-space:nowrap;}
.library-switch a[aria-current]{color:#176fa5;border-color:#1d9add;}
.library-switch a>span{font-size:.75rem;font-weight:600;border-radius:20px;background:#eaf5fc;color:#176fa5;padding:3px 8px;font-variant-numeric:tabular-nums;}
.library-switch a>span:empty{display:none;}
.library-filters{display:flex;gap:20px;align-items:end;padding:20px 0 24px;}
.library-filters label{display:block;font-size:.75rem;font-weight:600;color:#163d61;margin-bottom:8px;}
.library-search{flex:1;min-width:0;}.library-specialty{flex:0 1 260px;min-width:0;}
.library-input-wrap{position:relative;}.library-input-wrap svg{position:absolute;top:15px;left:14px;pointer-events:none;}
.library-filters input,.library-filters select{font:inherit;font-size:.875rem;width:100%;height:50px;border:var(--library-rule);border-radius:8px;background:#f7fafc;color:#163d61;padding:10px 14px;}
.library-filters input{padding-left:44px;}.library-reset{font:inherit;font-size:.8125rem;font-weight:600;border:0;background:none;color:#176fa5;min-height:50px;cursor:pointer;}
.library-panel-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:20px;}
.library-panel-heading h3{font-size:1.25rem;margin:0;font-weight:600;}.library-panel-heading p{margin:0;font-size:.8125rem;}.library-result{white-space:nowrap;}
.resource-product-grid,.library-videos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.resources-page .resource-product{display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden;border:var(--library-rule);border-radius:14px;background:white;box-shadow:none;}
.library-product-image{background:#fff;border-bottom:var(--library-rule);height:220px;}.library-product-image img{display:block;width:100%;height:100%;object-fit:contain;padding:22px;}
.library-product-body{padding:22px;display:flex;flex-direction:column;flex:1;min-width:0;}
.library-product-body .eyebrow{font-size:.75rem;color:#176fa5;margin:0 0 8px;letter-spacing:.06em;}.resources-page .resource-product h3{font-size:1.3rem;font-weight:600;margin:0 0 20px;line-height:1.3;}
.resources-page .resource-product ul{list-style:none;padding:0;margin:0 0 24px;display:block;}.resources-page .resource-product li{border-top:var(--library-rule);margin:0;}.resources-page .resource-product li:last-child{border-bottom:var(--library-rule);}
.resources-page .resource-product li a{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:.875rem;line-height:1.4;color:#163d61;padding:13px 0;min-height:48px;}
.resources-page .resource-product li a:hover{color:#176fa5;}.resource-product li small{display:inline-flex;gap:10px;white-space:nowrap;color:#176fa5;font-size:.75rem;font-weight:600;}.resource-product li small span{font-size:1rem;}
.library-product-footer{display:flex;justify-content:space-between;gap:14px;margin-top:auto;font-size:.8125rem;font-weight:600;color:#176fa5;}.library-product-footer a{min-height:32px;display:inline-flex;align-items:center;gap:8px;}
.library-documents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.library-document{display:grid;grid-template-columns:92px 1fr;gap:14px 22px;border:var(--library-rule);border-radius:14px;background:white;padding:22px;align-items:center;transition:border-color .2s,box-shadow .2s;min-width:0;}
.library-document:hover{border-color:#1d9add;box-shadow:0 6px 24px #163d610a;}.library-document-image{grid-row:span 2;}.library-document-image img{width:92px;height:126px;object-fit:contain;}
.library-document-copy{display:flex;flex-direction:column;gap:8px;min-width:0;}.resource-kind{color:#176fa5;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;}.library-document-copy strong{font-size:1rem;color:#163d61;line-height:1.5;font-weight:600;}.library-document-copy>span:last-child{font-size:.75rem;color:#526c80;}
.library-document-download{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:var(--library-rule);padding-top:12px;font-size:.75rem;color:#526c80;}.library-document-download>span:last-child{background:#eaf5fc;padding:8px 12px;border-radius:7px;color:#176fa5;font-weight:600;}.library-document-download>span:last-child>span{margin-left:12px;}
.library-video{overflow:hidden;min-width:0;border:var(--library-rule);border-radius:14px;background:white;}.library-video-link{display:block;color:inherit;}.library-video-image{display:block;position:relative;background:#fff;border-bottom:var(--library-rule);}.library-video-image img{width:100%;height:220px;object-fit:contain;padding:25px;}.library-play{position:absolute;left:18px;bottom:18px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#176fa5;color:white;font-size:14px;}.library-duration{position:absolute;bottom:18px;right:18px;background:#163d61;color:white;padding:5px 8px;border-radius:4px;font-size:.75rem;}
.library-video-copy{display:flex;flex-direction:column;gap:10px;padding:22px;}.library-video-copy strong{font-size:1rem;line-height:1.5;color:#163d61;}.library-video-byline,.library-video-note{font-size:.75rem;color:#526c80;}.library-video-note{padding:0 22px 22px;margin:0;line-height:1.6;}
.library-empty{padding:50px 20px;text-align:center;background:#eaf5fc;border-radius:14px;}.library-empty h3{font-size:1.5rem;}.library-empty p{margin:0 auto 20px;max-width:45ch;}
.library-help{background:#f3f8fc;border-top:var(--library-rule);padding:56px 0;}.library-help-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start;}.library-help h2{font-size:clamp(1.7rem,3vw,2.25rem);line-height:1.3;margin:0 0 18px;}.library-help p{font-size:.875rem;line-height:1.7;max-width:40ch;}
.library-faq details{border-top:var(--library-rule);}.library-faq details:last-child{border-bottom:var(--library-rule);}.library-faq summary{color:#163d61;font-weight:600;font-size:.875rem;padding:18px 0;cursor:pointer;}.library-faq details>div{padding:0 0 18px;}.library-faq p{margin:0;max-width:unset;}.library-faq a{color:#176fa5;text-decoration:underline;text-underline-offset:3px;}
.library-player-open { overflow: hidden; }
.library-player-dialog { width: min(1040px, calc(100vw - 3rem)); max-width: none; max-height: calc(100dvh - 3rem); padding: 0; background: var(--c-ink); color: var(--c-footer-text); border: 0; border-radius: var(--radius-card); }
.library-player-dialog::backdrop { background: color-mix(in oklch, var(--c-ink) 78%, transparent); }
.library-player-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.5rem; position: sticky; top: 0; z-index: 1; background: var(--c-ink); }
.library-player-header .library-kicker { margin: 0; color: var(--c-footer-text); }
.library-player-header button { color: var(--c-on-ink); font: inherit; font-size: .8125rem; background: none; border: 0; min-height: 44px; padding-inline: .5rem; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.library-player-header button span { margin-left: .6rem; font-size: 1.25rem; }
.library-player-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 52dvh; background: var(--c-ink-2); }
.library-player-stage video, .library-player-stage iframe, .library-player-poster { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; }
.library-player-poster { object-fit: contain; padding: 1rem; background: var(--c-bg); }
.library-player-info { padding: 1.5rem; }
.library-player-info h2 { color: var(--c-on-ink); font-size: 1.25rem; font-weight: 500; }
.library-player-info p, .library-player-info a { font-size: .75rem; }
.library-player-info p { margin-bottom: .6rem; }
.library-player-info p:empty { display: none; }
.library-player-info a { color: var(--c-on-ink); display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; text-decoration: underline; text-underline-offset: .3em; }

@media(max-width:1000px){.resources-hero-grid{min-height:400px;}.resources-hero-copy{width:40%;}.resources-hero h1{font-size:2.75rem;}.resource-product-grid,.library-videos{grid-template-columns:repeat(2,minmax(0,1fr));}.library-document{grid-template-columns:72px 1fr;padding:18px;gap:12px 16px;}.library-document-image img{width:72px;height:115px;}.library-help-grid{gap:40px;}}
@media(max-width:700px){.library-browse{padding:24px 0 40px;}.library-controls{padding:0 16px;margin-bottom:24px;}.library-switch{gap:20px;overflow-x:auto;}.library-switch a{font-size:.8125rem;padding-block:16px;gap:6px;}.library-switch a>span{padding:2px 6px;}.library-filters{flex-wrap:wrap;gap:14px;padding-block:18px;}.library-search{flex:1 1 100%;}.library-specialty{flex:1;}.library-documents{grid-template-columns:1fr;}.library-panel-heading h3{font-size:1.1rem;}.library-product-body{padding:18px;}.library-help-grid{grid-template-columns:1fr;gap:24px;}.library-help{padding:36px 0;}.library-help h2 br{display:none;}.library-player-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);}.library-player-header{padding:10px 16px;}.library-player-info{padding:16px;}.library-player-info h2{font-size:1rem;}}
@media(max-width:480px){.resource-product-grid,.library-videos{grid-template-columns:1fr;}.library-switch{gap:17px;}.library-switch a{font-size:.75rem;}.library-product-image{height:230px;}.library-document{grid-template-columns:64px 1fr;padding:16px;gap:12px 14px;}.library-document-image img{width:64px;height:110px;}.library-document-copy strong{font-size:.875rem;}.library-document-download>span:last-child{padding:7px 9px;}.library-result{font-size:.75rem;}}
@media(prefers-reduced-motion:reduce){.resources-page main *{transition:none!important;scroll-behavior:auto!important;}}

.library-help-photo{display:block;width:100%;height:190px;object-fit:cover;border-radius:12px;margin-bottom:24px;}

@media(max-width:1000px){.resources-hero{padding-bottom:53%;background:#f8fafb;}.resources-hero-grid{min-height:0;padding-block:30px 12px;}.resources-hero-copy{width:100%;max-width:480px;}.resources-hero-background{top:auto;height:auto;aspect-ratio:1.85;object-fit:cover;object-position:right center;mask-image:linear-gradient(180deg,transparent,#000 10%);}.resources-hero::before{background:linear-gradient(180deg,#f8fafb 0%,#f8fafb 45%,#f8fafb00 65%);}.resources-hero h1 br{display:none;}.resources-hero h1{font-size:2.6rem;max-width:13ch;}.resources-hero-intro{font-size:.9375rem;}}
