/* Resource library: directly enqueued and versioned by file modification time. */
.resource-library { --resource-teal: #07575b; --resource-ink: #173538; color: var(--resource-ink); }
.resource-library__intro { max-width: 40em; margin: 0 0 36px; font-size: 20px; line-height: 1.6; }
.resource-library__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.library-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #d7e5e3; border-radius: 12px; background: #fff; overflow: hidden; transition: box-shadow .2s ease; }
.library-card:hover { box-shadow: 0 10px 32px #17353812; }
.library-card__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 170px; background: #eef6f5; color: #07575b; overflow: hidden; }
.library-card__visual img { height: 190px; width: 100%; object-fit: contain; padding: 20px; box-sizing: border-box; }
.library-card:not(.library-card--featured) .library-card__visual img { display: block; object-fit: cover; padding: 0; }
.library-card__document { display: block; width: 54px; padding: 28px; transform: rotate(-6deg); }
.library-card__document svg { display: block; width: 100%; }
.library-card__format { position: absolute; bottom: 16px; left: 20px; border: 1px solid #07575b30; border-radius: 4px; padding: 3px 9px; font-size: 11px; font-weight: 700; letter-spacing: .08em; background: #ffffffb3; }
.library-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.library-card .library-card__eyebrow, .resource-modal .library-card__eyebrow { margin: 0 0 14px; color: #07575b; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.library-card .library-card__body h2 { margin: 0 0 16px; color: #07575b; font-size: 25px; line-height: 1.25; overflow-wrap: anywhere; }
.library-card__subtitle { margin: 0 0 16px; font-weight: 700; font-size: 18px; line-height: 1.5; }
.library-card__description { margin: 0 0 24px; font-size: 16px; line-height: 1.75; }
.library-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: auto; padding-top: 12px; }
.library-card a.library-card__download, .resource-modal a.library-card__download { display: inline-flex; align-items: center; justify-content: center; gap: 14px; background: #07575b; color: #fff; border: 2px solid #07575b; border-radius: 5px; padding: 11px 16px; font-size: 14px; font-weight: 700; text-decoration: none; line-height: 1.5; }
.library-card a.library-card__download:hover, .resource-modal a.library-card__download:hover { background: #173538; border-color: #173538; }
.library-card a.library-card__more { color: #07575b; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.library-card a:focus-visible, .resource-modal a:focus-visible, .resource-modal button:focus-visible, .resource-detail summary:focus-visible { outline: 3px solid #d59c00; outline-offset: 5px; }
.library-card--featured { grid-column: 1 / -1; flex-direction: row; border: 0; background: #eef6f5; }
.library-card--featured .library-card__visual { width: 32%; flex-shrink: 0; background: #07575b; color: #f9c623; }
.library-card--featured .library-card__visual::before, .library-card--featured .library-card__visual::after { content: ''; position: absolute; width: 240px; height: 240px; border: 1px solid #ffffff20; border-radius: 50%; }
.library-card--featured .library-card__visual::after { width: 340px; height: 340px; }
.library-card--featured .library-card__document { width: 75px; z-index: 1; }
.library-card--featured .library-card__format { background: #f9c623; color: #173538; border: 0; }
.library-card--featured .library-card__body { padding: 38px; }
.library-card--featured .library-card__body h2 { font-size: 34px; }
.library-card--featured .library-card__visual img { position: relative; z-index: 1; height: auto; max-height: 420px; }
.resource-detail { margin-top: 20px; }
.resource-detail[hidden] { display: none; }
.resource-detail summary { cursor: pointer; font-weight: 700; }
.resource-detail__content { color: #173538; font-size: 16px; line-height: 1.8; }
.resource-detail__content h2 { color: #07575b; font-size: 32px; line-height: 1.2; margin: 0 0 20px; }
.resource-detail__content h3 { color: #173538; font-size: 21px; line-height: 1.4; margin: 0 0 24px; }
.resource-modal { box-sizing: border-box; width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 56px 44px 40px; border: 0; border-radius: 12px; box-shadow: 0 24px 80px #0004; overflow-y: auto; overscroll-behavior: contain; }
.resource-modal::backdrop { background: #102e32b8; }
.resource-modal__close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d7e5e3; border-radius: 50%; background: #fff; color: #07575b; cursor: pointer; font-size: 28px; }
.resource-modal-open { overflow: hidden; }
@media (max-width: 639px) {
    .resource-library__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .library-card--featured { flex-direction: column; }
    .library-card--featured .library-card__visual { width: 100%; min-height: 205px; }
    .library-card--featured .library-card__document { width: 58px; }
    .library-card--featured .library-card__body, .library-card__body { padding: 24px; }
    .library-card--featured .library-card__body h2 { font-size: 29px; }
    .resource-modal { padding: 64px 24px 28px; }
    .resource-detail__content h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .library-card { transition: none; } }
