@font-face {
    font-family: 'Studio Montserrat';
    src: url('fonts/montserrat-variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
.sdl-portal {
    --sdl-accent: #862fac;
    --sdl-lime: #abe325;
    --sdl-pink: #ea3d8c;
    --sdl-bg: #fff;
    --sdl-ink: #2b1736;
    --sdl-button-text: #fff;
    --sdl-line: rgba(134, 47, 172, .18);
    color: var(--sdl-ink); background-color: var(--sdl-bg);
    background-image: radial-gradient(circle at 90% 5%, rgba(234,61,140,.09), transparent 36%), radial-gradient(circle at 5% 90%, rgba(171,227,37,.12), transparent 40%), radial-gradient(circle, rgba(134,47,172,.08) .8px, transparent .9px), linear-gradient(rgba(134,47,172,.035), rgba(134,47,172,.035));
    background-size: auto, auto, 20px 20px, auto;
    font-family: 'Studio Montserrat', Montserrat, sans-serif;
    padding: clamp(18px, 2.5vw, 36px); border: 1px solid var(--sdl-line); border-radius: 28px; margin: 24px 0;
    line-height: 1.6; isolation: isolate;
    container-name: sdl-library; container-type: inline-size;
}
.sdl-portal *, .sdl-portal *::before, .sdl-portal *::after { box-sizing: border-box; }
.sdl-portal h2, .sdl-portal h3, .sdl-portal p { color: inherit; margin: 0; }
.sdl-portal h2, .sdl-portal h3 { font-family: inherit; }
.sdl-portal button, .sdl-portal input, .sdl-portal select { font: inherit; }
.sdl-portal a { color: inherit; }
.sdl-portal [hidden] { display: none !important; }
.sdl-portal :focus-visible { outline: 3px solid var(--sdl-accent); outline-offset: 4px; }
.sdl-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: clamp(22px, 3vw, 36px); border: 1px solid rgba(255,255,255,.25); border-radius: 22px; color: var(--sdl-button-text); background: linear-gradient(115deg, rgba(43,23,54,.32), transparent 80%), var(--sdl-accent); box-shadow: 0 12px 26px rgba(86,30,110,.16); }
.sdl-hero-copy { min-width: 0; }
.sdl-hero-side { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 210px; }
.sdl-portal .sdl-hero-art { width: clamp(140px, 17vw, 210px); height: auto; display: block; margin: 0; }
.sdl-eyebrow { display: block; color: inherit; font-size: 10px; font-weight: 700; letter-spacing: .16em; margin-bottom: 18px; }
.sdl-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 4px; background: var(--sdl-lime); border-radius: 3px; margin-right: 10px; vertical-align: middle; }
.sdl-portal .sdl-hero h2 { color: inherit; font-size: clamp(27px, 3.1vw, 44px); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; margin-bottom: 16px; overflow-wrap: anywhere; }
.sdl-hero p { font-size: 14px; max-width: 490px; line-height: 1.8; }
.sdl-portal .sdl-steps { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 24px 0 0; list-style: none; color: inherit; }
.sdl-portal .sdl-steps li { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; font-size: 11px; font-weight: 600; }
.sdl-steps li > span { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); font-size: 10px; }
.sdl-steps li:first-child > span { background: var(--sdl-lime); color: #2b1736; border-color: transparent; }
.sdl-member { flex-shrink: 0; display: inline-flex; gap: 8px; align-items: center; border: 1px solid transparent; background: var(--sdl-lime); color: #2b1736; border-radius: 30px; padding: 9px 12px; font-size: 10px; font-weight: 700; box-shadow: 0 3px 0 rgba(43,23,54,.12); }
.sdl-member span { color: var(--sdl-accent); font-size: 8px; }
.sdl-portal .sdl-notice { margin: 18px 0 0; padding: 12px 16px; font-size: 11px; border-left: 3px solid var(--sdl-pink); background: rgba(255,255,255,.85); border-radius: 0 10px 10px 0; }
.sdl-toolbar { display: flex; gap: 12px; align-items: flex-end; padding: 20px; margin: 24px 0 0; flex-wrap: wrap; background: #fff; border: 1px solid var(--sdl-line); border-radius: 17px; box-shadow: 0 6px 18px rgba(86,30,110,.04); }
.sdl-toolbar label { flex: 1 1 140px; margin: 0; }
.sdl-toolbar .sdl-search { flex: 3 1 220px; }
.sdl-toolbar label > span { display: block; font-size: 11px; font-weight: 600; margin: 0 0 7px; }
.sdl-portal .sdl-toolbar input, .sdl-portal .sdl-toolbar select { width: 100%; min-height: 46px; padding: 10px 12px; background: #faf7fc; color: var(--sdl-ink); border: 1px solid var(--sdl-line); border-radius: 10px; font-size: 13px; box-shadow: inset 0 1px 3px rgba(86,30,110,.025); }
.sdl-portal .sdl-toolbar input[type="search"] { background: #faf7fc; border: 1px solid var(--sdl-line); padding-left: 14px; }
.sdl-portal .sdl-toolbar input::placeholder { color: #706477; opacity: 1; }
.sdl-portal .sdl-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 46px; background: linear-gradient(115deg, rgba(43,23,54,.16), transparent), var(--sdl-accent); color: var(--sdl-button-text); border: 1px solid transparent; border-radius: 11px; padding: 11px 18px; font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 rgba(86,30,110,.1); transition: filter .15s, transform .15s; }
.sdl-portal .sdl-button:hover { filter: brightness(.9); }
.sdl-results { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 28px 0 20px; font-size: 12px; }
.sdl-portal .sdl-section-title { font-size: 19px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 5px; }
.sdl-view { flex-shrink: 0; display: flex; padding: 4px; gap: 3px; background: #fff; border: 1px solid var(--sdl-line); border-radius: 12px; }
.sdl-view[hidden] { display: none; }
.sdl-portal .sdl-view button { padding: 7px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--sdl-ink); cursor: pointer; min-height: 40px; min-width: 40px; }
.sdl-portal .sdl-view button[aria-pressed="true"] { background: var(--sdl-accent); color: var(--sdl-button-text); }
.sdl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.sdl-card { --sdl-card-color: var(--sdl-pink); overflow: hidden; min-width: 0; border: 1px solid var(--sdl-line); border-top: 4px solid var(--sdl-card-color); border-radius: 18px; background: #fff; display: flex; flex-direction: column; box-shadow: 0 5px 0 rgba(134,47,172,.055), 0 12px 24px rgba(86,30,110,.065); transition: transform .2s, box-shadow .2s; }
.sdl-card:nth-child(3n+2) { --sdl-card-color: var(--sdl-lime); }
.sdl-card:nth-child(3n+3) { --sdl-card-color: var(--sdl-accent); }
.sdl-card:focus-within { border-color: var(--sdl-accent); box-shadow: 0 8px 24px rgba(86,30,110,.13); }
@media (hover: hover) { .sdl-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 rgba(134,47,172,.055), 0 18px 30px rgba(86,30,110,.12); } }
.sdl-cover { aspect-ratio: 1.52; position: relative; overflow: hidden; background: var(--sdl-lime); }
.sdl-portal .sdl-cover-image { height: 100%; width: 100%; object-fit: cover; display: block; border-radius: 0; }
.sdl-cover-art { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #2b1736; background-color: var(--sdl-lime); background-image: radial-gradient(circle at 0 0, rgba(255,255,255,.25) 28%, transparent 28.5%), radial-gradient(circle at 100% 100%, rgba(255,255,255,.25) 30%, transparent 30.5%); }
.sdl-cover-art > span { font-size: 94px; line-height: 1; font-family: inherit; }
.sdl-cover-art small { font-size: 9px; letter-spacing: .22em; margin-top: 14px; }
.sdl-card:nth-child(3n+2) .sdl-cover-art { background-color: var(--sdl-accent); color: var(--sdl-button-text); }
.sdl-card:nth-child(3n+3) .sdl-cover-art { background-color: var(--sdl-pink); color: #21102b; }
.sdl-badge { position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 600; padding: 5px 10px; background: #fff; color: #2b1736; border-radius: 20px; }
.sdl-card-body { min-width: 0; padding: clamp(12px, 1.5vw, 22px); display: flex; flex-direction: column; flex: 1; }
.sdl-category { align-self: flex-start; color: var(--sdl-accent); background: #f6edf9; padding: 4px 8px; border-radius: 6px; text-transform: uppercase; font-size: 9px; letter-spacing: .1em; font-weight: 700; margin-bottom: 12px; overflow-wrap: anywhere; }
.sdl-portal .sdl-card h3 { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 10px; overflow-wrap: anywhere; }
.sdl-portal .sdl-excerpt { font-size: 12px; line-height: 1.7; margin-bottom: 18px; }
.sdl-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; margin-bottom: 14px; font-size: 10px; }
.sdl-meta span { padding: 4px 8px; background: #faf7fc; border: 1px solid var(--sdl-line); border-radius: 6px; }
.sdl-meta span:first-child { background: #f2f9df; color: #354319; border-color: rgba(171,227,37,.4); font-weight: 700; }
.sdl-details { font-size: 12px; margin-bottom: 18px; border-top: 1px solid var(--sdl-line); padding-top: 12px; }
.sdl-details summary { cursor: pointer; color: var(--sdl-accent); font-weight: 600; padding: 8px 0; }
.sdl-details > div { margin-top: 10px; overflow-wrap: anywhere; }
.sdl-details img { max-width: 100%; height: auto; }
.sdl-details p { margin-bottom: 10px; }
.sdl-updated { font-size: 10px; }
.sdl-card form { margin: 0; }
.sdl-portal .sdl-download { width: 100%; justify-content: space-between; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.sdl-download span { flex-shrink: 0; font-size: 20px; font-weight: 400; line-height: 1; }
.sdl-resource-links { display: grid; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sdl-line); }
.sdl-portal .sdl-links-title { margin: 0 0 3px; font-size: 12px; font-weight: 700; }
.sdl-links-title span { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; }
.sdl-portal .sdl-link-button { width: 100%; min-height: 44px; justify-content: space-between; gap: 8px; padding: 11px 12px; white-space: normal; overflow-wrap: anywhere; text-align: left; text-transform: none; letter-spacing: 0; font-size: 12px; background: #f6edf9; color: #662383; border: 1px solid #ddc4e9; }
.sdl-portal .sdl-link-button:hover { background: #eee0f5; color: #501568; border-color: #862fac; }
.sdl-link-button span { flex-shrink: 0; font-size: 18px; }
@media (max-width: 700px) { .sdl-portal .sdl-link-button { padding: 9px 8px; font-size: 11px; } }
.sdl-empty { text-align: center; padding: 48px 24px; max-width: 620px; margin: 28px auto; background: rgba(255,255,255,.94); border: 1px dashed rgba(134,47,172,.32); border-radius: 20px; }
.sdl-portal .sdl-empty h3 { font-size: 27px; font-weight: 500; line-height: 1.2; margin-bottom: 15px; }
.sdl-empty p { font-size: 14px; }
.sdl-empty-icon { display: grid; place-items: center; width: 70px; height: 70px; background: var(--sdl-lime); color: #2b1736; border-radius: 22px; font-size: 40px; margin: 0 auto 20px; transform: rotate(-6deg); }
.sdl-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-top: 25px; }
.sdl-text-link { font-size: 12px; }
.sdl-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 30px; padding: 18px; background: rgba(255,255,255,.8); border: 1px solid var(--sdl-line); border-radius: 13px; font-size: 11px; }
.sdl-portal .sdl-footer a { color: var(--sdl-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.sdl-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 30px; }
.sdl-pagination .page-numbers { min-width: 40px; padding: 8px 12px; text-align: center; border: 1px solid var(--sdl-line); border-radius: 7px; font-size: 12px; text-decoration: none; }
.sdl-pagination .current { background: var(--sdl-ink); color: var(--sdl-bg); }
.sdl-list .sdl-grid { grid-template-columns: 1fr; }
.sdl-list .sdl-card { flex-direction: row; }
.sdl-list .sdl-cover { width: 30%; flex-shrink: 0; aspect-ratio: auto; }
@container sdl-library (max-width: 620px) {
    .sdl-hero { display: flex; flex-direction: column-reverse; align-items: stretch; }
    .sdl-hero-side { align-items: flex-start; max-width: none; }
    .sdl-portal .sdl-hero-art { display: none; }
}
@media (max-width: 700px) {
    .sdl-hero { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 20px; padding: 24px 18px; border-radius: 17px; }
    .sdl-hero-side { align-items: flex-start; max-width: none; }
    .sdl-portal .sdl-hero-art { display: none; }
    .sdl-eyebrow { font-size: 9px; letter-spacing: .1em; }
    .sdl-hero p { font-size: 12px; }
    .sdl-portal .sdl-steps { gap: 8px 12px; margin-top: 20px; }
    .sdl-portal .sdl-steps li { font-size: 10px; gap: 5px; }
    .sdl-steps li > span { width: 20px; height: 20px; }
    .sdl-member { align-self: flex-start; }
    .sdl-portal { border-radius: 20px; padding: 12px 10px; }
    .sdl-toolbar { padding: 14px; border-radius: 13px; margin-top: 18px; }
    .sdl-portal .sdl-toolbar input, .sdl-portal .sdl-toolbar select { font-size: 16px; }
    .sdl-portal .sdl-section-title { font-size: 16px; }
    .sdl-results { gap: 8px; margin: 24px 0 16px; font-size: 11px; }
    .sdl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .sdl-card { border-radius: 10px; }
    .sdl-card-body { padding: 12px 10px; }
    .sdl-portal .sdl-card h3 { font-size: 15px; line-height: 1.35; }
    .sdl-portal .sdl-excerpt { font-size: 11px; margin-bottom: 12px; }
    .sdl-cover-art > span { font-size: 44px; }
    .sdl-cover-art small { font-size: 8px; letter-spacing: .12em; margin-top: 8px; }
    .sdl-badge { top: 7px; left: 7px; max-width: calc(100% - 14px); padding: 4px 7px; font-size: 9px; }
    .sdl-meta { gap: 4px; font-size: 9px; }
    .sdl-meta span { padding: 3px 5px; overflow-wrap: anywhere; }
    .sdl-details { font-size: 11px; margin-bottom: 12px; }
    .sdl-details summary { padding: 10px 0; }
    .sdl-portal .sdl-download { min-height: 44px; padding: 9px 8px; gap: 5px; font-size: 11px; }
    .sdl-download span { font-size: 16px; }
    .sdl-toolbar .sdl-search { flex-basis: 100%; }
    .sdl-toolbar > button { width: 100%; }
    .sdl-list .sdl-card { flex-direction: column; }
    .sdl-list .sdl-cover { width: 100%; aspect-ratio: 1.8; }
}
@media (prefers-reduced-motion: reduce) { .sdl-portal * { transition: none !important; } .sdl-card:hover { transform: none; } }

/* Subscription product offer shown to visitors without library access. */
.sdl-offer { margin-top: 26px; }
.sdl-offer-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(22px, 3vw, 42px); padding: clamp(18px, 3vw, 34px); background: white; border: 1px solid var(--sdl-line); border-radius: 22px; box-shadow: 0 12px 28px rgba(86,30,110,.07); }
.sdl-offer-visual { min-width: 0; align-self: start; position: relative; padding: 20px; background: #f5f9e8; background-image: radial-gradient(circle at 0 100%, #ebe0f3 0, transparent 60%); border-radius: 16px; }
.sdl-offer-badge { display: inline-block; padding: 6px 12px; margin-bottom: 18px; background: var(--sdl-lime); color: #2b1736; border-radius: 30px; font-size: 11px; font-weight: 700; }
.sdl-portal .sdl-offer-image { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; margin: 0; border-radius: 10px; }
.sdl-portal .sdl-offer-visual p { margin-top: 16px; font-size: 12px; font-weight: 600; text-align: center; }
.sdl-offer-copy { min-width: 0; }
.sdl-offer-copy > .sdl-category { display: inline-block; }
.sdl-portal .sdl-offer-copy h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; margin-bottom: 16px; overflow-wrap: anywhere; }
.sdl-offer-intro { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.sdl-offer-intro p + p { margin-top: 10px; }
.sdl-offer-price { margin: 22px 0; padding: 18px; background: #faf4fc; border-radius: 12px; color: #662383; font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.sdl-offer-price .subscription-details, .sdl-offer-price .woocommerce-price-suffix { font-size: 14px; font-weight: 500; }
.sdl-offer-price del { font-size: .7em; opacity: .7; }
.sdl-offer-price ins { text-decoration: none; background: transparent; }
.sdl-portal .sdl-offer-benefits { display: grid; gap: 10px; padding: 0; margin: 0 0 24px; list-style: none; font-size: 13px; }
.sdl-portal .sdl-offer-benefits li { display: flex; gap: 9px; margin: 0; }
.sdl-offer-benefits span { flex-shrink: 0; display: inline-grid; place-items: center; width: 23px; height: 23px; background: #f0f8d9; border-radius: 50%; color: #354319; font-weight: 700; }
.sdl-portal .sdl-offer-buy .button, .sdl-portal .sdl-offer-checkout { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; margin: 0; padding: 14px 18px; border: 0; border-radius: 11px; background: var(--sdl-accent); color: var(--sdl-button-text); font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: normal; text-align: center; cursor: pointer; }
.sdl-portal .sdl-offer-buy .button:hover { background: #662383; color: #fff; }
.sdl-portal .sdl-offer-buy .button.loading { opacity: .65; cursor: progress; }
.sdl-portal .sdl-offer-buy .added_to_cart { display: inline-block; margin-top: 10px; font-size: 13px; text-decoration: underline; }
.sdl-portal .sdl-offer-status { margin: 12px 0; font-size: 12px; color: #662383; }
.sdl-offer-status:empty { display: none; }
.sdl-portal .sdl-offer-checkout { background: var(--sdl-lime); color: #2b1736; font-size: 14px; }
.sdl-portal .sdl-offer-terms { margin: 16px 0 12px; font-size: 11px; line-height: 1.8; }
.sdl-offer-product-link { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.sdl-offer-account { margin-top: 22px; padding: 16px; background: #faf7fc; border-left: 3px solid var(--sdl-pink); border-radius: 0 10px 10px 0; font-size: 12px; }
.sdl-portal .sdl-offer-account p { margin: 6px 0 8px; }
.sdl-portal .sdl-offer-account a { color: #662383; font-weight: 700; text-decoration: underline; }
.sdl-offer-description { margin-top: 22px; padding: clamp(20px, 3vw, 32px); background: white; border: 1px solid var(--sdl-line); border-radius: 18px; overflow-wrap: anywhere; font-size: 14px; }
.sdl-portal .sdl-offer-description h3 { margin-bottom: 18px; color: #662383; font-size: 23px; font-weight: 700; }
.sdl-offer-description p + p { margin-top: 14px; }
.sdl-offer-description img, .sdl-offer-intro img { max-width: 100%; height: auto; }
@container sdl-library (max-width: 650px) { .sdl-offer-grid { grid-template-columns: 1fr; } .sdl-portal .sdl-offer-image { max-height: 380px; } }
@media (max-width: 700px) { .sdl-offer-grid { grid-template-columns: 1fr; padding: 16px; border-radius: 15px; } .sdl-offer-visual { padding: 14px; } .sdl-portal .sdl-offer-image { max-height: 380px; } .sdl-offer-price { margin: 18px 0; } }
