/* =========================================================
   SARA POLANCO — PUBLIC PAGES
   One file for page-specific sections. New redesigned pages
   are added here rather than patched into versioned CSS files.
   ========================================================= */

/* ======================== EBOOKS ======================== */
.sp-ebooks{background:#fff;min-height:100vh}
.sp-ebooks-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 78% 26%,rgba(218,194,255,.62),transparent 29%),linear-gradient(180deg,#fff 0%,#fffaf7 100%)}
.sp-ebooks-hero::after{content:"";position:absolute;right:-8%;top:-34%;width:58vw;height:58vw;border-radius:50%;background:rgba(236,224,255,.43);z-index:0;pointer-events:none}
.sp-ebooks-hero__inner{position:relative;z-index:1;width:var(--sp-shell);margin-inline:auto;min-height:520px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);gap:48px;align-items:center;padding:58px 0 36px}
.sp-ebooks-hero__copy{max-width:560px;padding-left:16px}
.sp-ebooks-hero__eyebrow{display:flex;align-items:center;gap:14px;margin-bottom:20px;color:#5a4b68;font-size:12px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.sp-ebooks-hero__eyebrow::before{content:"";width:42px;height:1px;background:var(--sp-purple)}
.sp-ebooks-hero h1{margin:0 0 16px;font-family:var(--sp-serif);font-size:clamp(52px,5.4vw,78px);font-weight:500;line-height:.94;letter-spacing:-.045em;color:#241033}
.sp-ebooks-hero h1 em{display:block;color:var(--sp-purple);font-weight:500;font-style:italic}
.sp-ebooks-hero__copy>p{max-width:520px;margin:0 0 25px;color:#6b5f75;font-size:16px;line-height:1.55}
.sp-ebooks-search{height:58px;display:flex;align-items:center;gap:12px;padding:6px 7px 6px 20px;border:1px solid #e7def0;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 12px 30px rgba(57,28,76,.08)}
.sp-ebooks-search svg{width:20px;height:20px;color:#2b1740;flex:0 0 auto}
.sp-ebooks-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#2c173c;font-size:14px}
.sp-ebooks-search input::placeholder{color:#a69aaa}
.sp-ebooks-search button{height:46px;min-width:124px;border:0;border-radius:999px;background:linear-gradient(135deg,#36114e,#6020bc);color:#fff;font-weight:750}

.sp-ebooks-hero__visual{position:relative;height:430px;display:grid;place-items:center}
.sp-ebooks-orbit{position:absolute;width:430px;height:350px;border-radius:50%;background:linear-gradient(145deg,#eadfff,#d7c2f7);filter:saturate(.8);opacity:.95}
.sp-book-hero{position:absolute;width:184px;height:280px;border-radius:4px 15px 15px 4px;box-shadow:-18px 24px 35px rgba(40,17,57,.17),inset 7px 0 12px rgba(37,15,52,.08);transform-origin:center bottom;overflow:hidden}
.sp-book-hero::before{content:"";position:absolute;inset:0 auto 0 0;width:13px;background:linear-gradient(90deg,rgba(34,16,45,.18),rgba(255,255,255,.28))}
.sp-book-hero--1{left:10%;bottom:48px;transform:rotate(-12deg);z-index:2}
.sp-book-hero--2{left:38%;bottom:28px;transform:rotate(7deg);z-index:3}
.sp-book-hero--3{right:5%;bottom:18px;transform:rotate(13deg);z-index:2}
.sp-book-cover{position:relative;height:100%;display:flex;flex-direction:column;padding:30px 22px 24px 28px;color:#29153a;overflow:hidden}
.sp-book-cover--cream{background:linear-gradient(160deg,#fff8ea,#f4e5d4)}
.sp-book-cover--deep{background:linear-gradient(160deg,#351549,#271036);color:#fff}
.sp-book-cover--lavender{background:linear-gradient(160deg,#fbf9ff,#e9ddfa)}
.sp-book-cover--peach{background:linear-gradient(160deg,#fff8f2,#f6e4d4)}
.sp-book-cover--violet{background:linear-gradient(160deg,#efe3ff,#d8c2f7)}
.sp-book-cover--blue{background:linear-gradient(160deg,#f4f7ff,#dfe8f9)}
.sp-book-cover__title{font-family:var(--sp-serif);font-size:23px;line-height:.98;font-weight:600;letter-spacing:-.035em}
.sp-book-cover__sub{margin-top:13px;font-size:10px;line-height:1.35;opacity:.8}
.sp-book-cover__icon{width:76px;height:76px;margin:auto auto 14px;color:#6f2cf0}
.sp-book-cover--deep .sp-book-cover__icon{color:#c692ff}
.sp-book-cover__mark{font-family:var(--sp-serif);font-size:23px;line-height:1;text-align:center}
.sp-book-spark{position:absolute;color:var(--sp-purple);font-size:37px;font-weight:900;line-height:1}
.sp-book-spark--left{left:2%;top:44%}.sp-book-spark--right{right:0;top:16%;transform:rotate(25deg)}

.sp-ebooks-section{width:var(--sp-shell);margin-inline:auto;padding:42px 0 0}
.sp-ebooks-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.sp-ebooks-heading h2{margin:0;font-family:var(--sp-serif);font-size:34px;font-weight:600;letter-spacing:-.035em;line-height:1;color:#241033}
.sp-ebooks-heading p{margin:7px 0 0;color:#766a7d;font-size:14px}
.sp-ebooks-heading__link{border:0;background:transparent;color:#6e2bed;font-size:13px;font-weight:750;white-space:nowrap}

.sp-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sp-featured-card{position:relative;min-width:0;overflow:hidden;border:1px solid #eee7f2;border-radius:18px;background:#fff;box-shadow:0 7px 24px rgba(48,24,65,.045);transition:transform .2s ease,box-shadow .2s ease}
.sp-featured-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(48,24,65,.09)}
.sp-featured-card__cover{height:286px;padding:12px;background:linear-gradient(145deg,#fbf4ff,#f0e3ff);display:grid;place-items:center;overflow:hidden}
.sp-featured-card__book{height:252px;width:170px;border-radius:4px 13px 13px 4px;box-shadow:-14px 20px 30px rgba(49,22,67,.17),inset 6px 0 9px rgba(38,17,50,.1);transform:rotate(-6deg);overflow:hidden}
.sp-featured-card:nth-child(2) .sp-featured-card__book{transform:rotate(4deg)}
.sp-featured-card:nth-child(3) .sp-featured-card__book{transform:rotate(8deg)}
.sp-featured-card__rank{position:absolute;left:18px;top:18px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#8e4cf5;color:#fff;font-weight:800;z-index:4}
.sp-featured-card__body{padding:14px 18px 18px}
.sp-tag{display:inline-flex;align-items:center;min-height:21px;padding:0 8px;border-radius:999px;background:#eee3ff;color:#6724da;font-size:9px;font-weight:850;letter-spacing:.03em;text-transform:uppercase}
.sp-featured-card h3{margin:7px 0 5px;font-family:var(--sp-serif);font-size:21px;line-height:1.08;font-weight:600;letter-spacing:-.025em}
.sp-featured-card p{margin:0;color:#76697e;font-size:13px;line-height:1.45;min-height:56px}
.sp-featured-card__foot,.sp-ebook-card__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}
.sp-state{display:inline-flex;align-items:center;gap:7px;color:#76677d;font-size:11px}
.sp-state svg{width:17px;height:17px;color:#8c42ef}
.sp-card-arrow{width:36px;height:36px;border:1px solid #8d49f6;border-radius:50%;background:#fff;color:#6d2bea;display:grid;place-items:center;transition:.18s ease}
.sp-card-arrow:hover{background:#6f2cf0;color:#fff}

.sp-ebooks-library{padding-top:48px}
.sp-ebooks-library__top{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:17px}
.sp-ebooks-library__heading{display:block;margin:0}
.sp-sort{display:flex;align-items:center;gap:10px;color:#7a6e81;font-size:12px}
.sp-sort select{height:42px;padding:0 36px 0 15px;border:1px solid #e9e0ef;border-radius:999px;background:#fff;color:#351846;font-weight:700;outline:none}
.sp-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.sp-filter{min-height:36px;padding:0 15px;border:0;border-radius:999px;background:#faf7fc;color:#64586c;font-size:11px;font-weight:700;box-shadow:inset 0 0 0 1px #f0e9f4}
.sp-filter.is-active{background:linear-gradient(135deg,#7b31ef,#6723df);color:#fff;box-shadow:none}

.sp-ebook-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sp-ebook-card{min-width:0;border:1px solid #eee8f2;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 7px 22px rgba(48,24,65,.04);transition:transform .2s ease,box-shadow .2s ease}
.sp-ebook-card:hover{transform:translateY(-2px);box-shadow:0 15px 30px rgba(48,24,65,.085)}
.sp-ebook-card__visual{height:216px;display:grid;place-items:center;padding:14px;background:linear-gradient(145deg,#fbf5ff,#f2e8fd)}
.sp-ebook-card:nth-child(4n+1) .sp-ebook-card__visual{background:linear-gradient(145deg,#fff8f0,#f6e9dc)}
.sp-ebook-card:nth-child(4n+3) .sp-ebook-card__visual{background:linear-gradient(145deg,#faf8ff,#ece4fb)}
.sp-ebook-card__book{width:142px;height:190px;border-radius:4px 12px 12px 4px;overflow:hidden;box-shadow:-10px 14px 24px rgba(47,21,63,.13),inset 5px 0 8px rgba(42,17,55,.09);transform:rotate(-4deg)}
.sp-ebook-card:nth-child(even) .sp-ebook-card__book{transform:rotate(3deg)}
.sp-ebook-card__body{padding:12px 14px 15px}
.sp-ebook-card h3{margin:6px 0 6px;font-family:var(--sp-serif);font-size:17px;line-height:1.1;font-weight:600;letter-spacing:-.02em}
.sp-ebook-card__summary{margin:0;color:#7c7082;font-size:12px;line-height:1.42;min-height:52px}
.sp-ebook-card__foot{margin-top:11px}
.sp-ebook-card__detail{border:0;background:transparent;color:#6a26dd;font-size:11px;font-weight:800;padding:0}

.sp-ebooks-note{margin-top:28px;padding:20px 22px;border-radius:16px;background:#faf7fc;border:1px solid #eee7f2;color:#726679;font-size:12px;line-height:1.55}
.sp-ebooks-note strong{color:#351746}
.sp-ebooks-cta{position:relative;overflow:hidden;display:grid;grid-template-columns:1.2fr .7fr;align-items:center;gap:30px;margin:34px 0 58px;padding:34px 40px;border-radius:24px;background:radial-gradient(circle at 82% 40%,rgba(133,64,224,.42),transparent 26%),linear-gradient(135deg,#311047,#1d0c2a);color:#fff}
.sp-ebooks-cta::after{content:"";position:absolute;right:-40px;bottom:-90px;width:270px;height:180px;border:1px solid rgba(255,255,255,.1);border-radius:50%}
.sp-ebooks-cta h2{margin:0;font-family:var(--sp-serif);font-size:34px;line-height:1.03;font-weight:500;letter-spacing:-.03em}
.sp-ebooks-cta h2 em{color:#c29aff;font-weight:500}.sp-ebooks-cta p{margin:8px 0 0;color:rgba(255,255,255,.72);font-size:13px}.sp-ebooks-cta__action{justify-self:center;z-index:1}

/* Detail modal / ficha */
.sp-ebook-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:22px}
.sp-ebook-modal__backdrop{position:absolute;inset:0;background:rgba(31,13,41,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.sp-ebook-modal__dialog{position:relative;width:min(920px,100%);max-height:min(90dvh,820px);overflow:auto;border-radius:26px;background:#fff;box-shadow:0 32px 90px rgba(27,10,39,.36)}
.sp-ebook-modal__close{position:absolute;right:20px;top:18px;z-index:4;width:42px;height:42px;border:1px solid #e9dfef;border-radius:50%;background:#fff;color:#2f1740;font-size:25px;line-height:1}
.sp-ebook-modal__content{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:570px}
.sp-ebook-modal__visual{display:grid;place-items:center;padding:42px 28px;background:linear-gradient(160deg,#f7efff,#efe2ff)}
.sp-ebook-modal__book{width:214px;height:318px;border-radius:5px 16px 16px 5px;overflow:hidden;box-shadow:-18px 24px 38px rgba(45,19,61,.18),inset 8px 0 10px rgba(36,14,49,.09);transform:rotate(-4deg)}
.sp-ebook-modal__body{padding:48px 44px 40px}
.sp-ebook-modal__body h2{margin:9px 0 10px;font-family:var(--sp-serif);font-size:38px;line-height:1.03;font-weight:600;letter-spacing:-.035em}
.sp-ebook-modal__subtitle{margin:0 0 22px;color:#6f6377;font-size:14px;line-height:1.55}
.sp-ebook-facts{display:grid;gap:16px;margin:0 0 24px;padding:0;list-style:none}
.sp-ebook-facts li{padding-top:15px;border-top:1px solid #eee6f2}
.sp-ebook-facts strong{display:block;margin-bottom:4px;color:#361846;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.sp-ebook-facts span{display:block;color:#716477;font-size:13px;line-height:1.52}
.sp-ebook-modal__actions{display:flex;gap:10px;flex-wrap:wrap}

/* Upcoming dialog */
.sp-upcoming{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px}
.sp-upcoming__backdrop{position:absolute;inset:0;background:rgba(30,12,40,.73);backdrop-filter:blur(8px)}
.sp-upcoming__box{position:relative;width:min(460px,100%);padding:34px;border-radius:24px;background:radial-gradient(circle at 100% 0,rgba(147,86,239,.15),transparent 35%),#fff;box-shadow:0 30px 80px rgba(25,8,35,.32);text-align:center}
.sp-upcoming__icon{width:62px;height:62px;margin:0 auto 18px;border-radius:20px;display:grid;place-items:center;background:#efe4ff;color:#6f2cf0}.sp-upcoming__icon svg{width:30px;height:30px}
.sp-upcoming__box h2{margin:0;font-family:var(--sp-serif);font-size:34px;font-weight:600;letter-spacing:-.03em}.sp-upcoming__box p{margin:10px auto 22px;max-width:340px;color:#74677b;font-size:14px}.sp-upcoming__close{width:100%}

.sp-empty{grid-column:1/-1;padding:54px 24px;border:1px dashed #decfea;border-radius:18px;text-align:center;color:#776a7e}

@media(max-width:1000px){
  .sp-ebooks-hero__inner{grid-template-columns:1fr 1fr;gap:20px}.sp-ebooks-hero__visual{height:390px}.sp-book-hero{width:154px;height:236px}.sp-ebooks-orbit{width:360px;height:300px}
  .sp-ebook-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  .sp-ebooks-hero__inner{grid-template-columns:1fr;padding:46px 0 24px}.sp-ebooks-hero__copy{padding-left:0}.sp-ebooks-hero__visual{height:340px}.sp-ebooks-hero h1{font-size:58px}
  .sp-featured-grid{grid-template-columns:1fr}.sp-featured-card{display:grid;grid-template-columns:230px 1fr}.sp-featured-card__cover{height:240px}.sp-featured-card__book{height:210px;width:142px}.sp-featured-card__body{align-self:center}.sp-featured-card p{min-height:0}
  .sp-ebook-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-ebooks-cta{grid-template-columns:1fr}.sp-ebooks-cta__action{justify-self:start}
  .sp-ebook-modal__content{grid-template-columns:240px 1fr}.sp-ebook-modal__book{width:176px;height:262px}.sp-ebook-modal__body{padding:42px 28px 34px}.sp-ebook-modal__body h2{font-size:32px}
}
@media(max-width:600px){
  .sp-ebooks-hero__inner{min-height:auto;padding-top:34px}.sp-ebooks-hero h1{font-size:46px}.sp-ebooks-hero__copy>p{font-size:14px}.sp-ebooks-search{height:54px;padding-left:15px}.sp-ebooks-search button{min-width:96px}
  .sp-ebooks-hero__visual{height:300px}.sp-ebooks-orbit{width:310px;height:260px}.sp-book-hero{width:125px;height:192px}.sp-book-cover{padding:22px 15px 18px 20px}.sp-book-cover__title{font-size:17px}.sp-book-cover__sub{font-size:8px}.sp-book-cover__icon{width:55px;height:55px}.sp-book-cover__mark{font-size:17px}.sp-book-hero--1{left:7%;bottom:42px}.sp-book-hero--2{left:37%;bottom:28px}.sp-book-hero--3{right:4%;bottom:26px}
  .sp-ebooks-section{padding-top:34px}.sp-ebooks-heading,.sp-ebooks-library__top{align-items:flex-start;flex-direction:column}.sp-ebooks-heading h2{font-size:30px}.sp-ebooks-heading__link{align-self:flex-end}.sp-featured-card{display:block}.sp-featured-card__cover{height:258px}.sp-featured-card__book{height:225px;width:152px}.sp-ebook-grid{grid-template-columns:1fr 1fr;gap:10px}.sp-ebook-card__visual{height:178px}.sp-ebook-card__book{width:112px;height:150px}.sp-ebook-card__body{padding:10px}.sp-ebook-card h3{font-size:15px}.sp-ebook-card__summary{font-size:11px;min-height:62px}.sp-tag{font-size:8px}.sp-state{font-size:10px}.sp-card-arrow{width:32px;height:32px}
  .sp-ebooks-cta{padding:28px 24px;margin-bottom:30px}.sp-ebooks-cta h2{font-size:29px}
  .sp-ebook-modal{padding:10px}.sp-ebook-modal__content{display:block}.sp-ebook-modal__visual{padding:28px 20px 20px}.sp-ebook-modal__book{width:145px;height:216px}.sp-ebook-modal__body{padding:24px 20px 28px}.sp-ebook-modal__body h2{font-size:30px}.sp-ebook-modal__close{right:12px;top:12px}
}
@media(max-width:390px){.sp-ebook-grid{grid-template-columns:1fr}.sp-ebook-card__visual{height:210px}.sp-ebook-card__book{width:136px;height:182px}}

/* ==================== AL DERECHO CON SARA ==================== */
.sp-al-page{background:#fff;color:var(--sp-ink);min-height:100vh;overflow:hidden}
.sp-al-shell{width:min(1320px,calc(100% - 64px));margin-inline:auto}
.sp-al-page h1,.sp-al-page h2,.sp-al-page h3,.sp-al-page p{margin-top:0}
.sp-al-eyebrow{display:flex;align-items:center;gap:16px;margin-bottom:22px;color:#47375a;font-size:12px;font-weight:850;letter-spacing:.19em;text-transform:uppercase}
.sp-al-eyebrow span{width:44px;height:1px;background:#7f3cf1}

.sp-al-hero{position:relative;background:radial-gradient(circle at 78% 18%,rgba(216,192,252,.7),transparent 27%),linear-gradient(180deg,#fff 0%,#fffaf8 100%);overflow:hidden}
.sp-al-hero::after{content:"";position:absolute;right:-4%;top:-30%;width:52vw;height:52vw;min-width:640px;min-height:640px;border-radius:50%;background:rgba(235,221,255,.43);pointer-events:none}
.sp-al-hero__grid{position:relative;z-index:1;min-height:515px;display:grid;grid-template-columns:.92fr 1.08fr;gap:42px;align-items:center}
.sp-al-hero__copy{padding:62px 0 56px 12px;max-width:610px}
.sp-al-hero h1{margin-bottom:18px;font-family:var(--sp-serif);font-size:clamp(58px,5.7vw,88px);font-weight:500;line-height:.92;letter-spacing:-.055em;color:#231033}
.sp-al-hero h1 em{color:#7433e9;font-weight:500;font-style:italic}
.sp-al-hero__copy>p{max-width:560px;margin-bottom:0;color:#6b5e75;font-size:17px;line-height:1.55}
.sp-al-hero__visual{position:relative;height:515px;align-self:end;display:flex;align-items:flex-end;justify-content:center}
.sp-al-hero__orb{position:absolute;right:4%;bottom:0;width:79%;height:86%;border-radius:46% 46% 0 0;background:linear-gradient(145deg,#eee3ff,#d8c2fb 75%);opacity:.82}
.sp-al-hero__visual::after{content:"";position:absolute;left:10%;right:7%;bottom:0;height:20%;background:linear-gradient(180deg,transparent,rgba(113,56,171,.14));filter:blur(10px)}
.sp-al-hero__visual img{position:relative;z-index:2;width:min(500px,82%);max-height:500px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 22px 30px rgba(63,30,83,.16))}

.sp-al-categories,.sp-al-latest,.sp-al-featured,.sp-al-library{background:#fff}
.sp-al-categories{padding:42px 0 28px}
.sp-al-section-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}
.sp-al-section-row h2{margin:0;font-family:var(--sp-serif);font-size:34px;line-height:1.05;font-weight:600;letter-spacing:-.035em;color:#251133}
.sp-al-text-link{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:#6f2cf0;font-size:12px;font-weight:800}
.sp-al-text-link span{font-size:16px;line-height:1}
.sp-al-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}
.sp-al-category{min-width:0;height:94px;border:1px solid #eee8f3;border-radius:14px;background:#faf8fc;color:#51435d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.sp-al-category svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sp-al-category span{font-size:12px;font-weight:700;white-space:nowrap}
.sp-al-category:hover{transform:translateY(-1px);border-color:#d8c7ec;background:#fff}
.sp-al-category.is-active{border-color:transparent;background:linear-gradient(135deg,#8e42ff,#6b29ea);color:#fff;box-shadow:0 14px 28px rgba(111,44,240,.17)}

.sp-al-latest{padding:25px 0 38px}
.sp-al-section-row--solo{margin-bottom:15px}
.sp-al-video-frame{position:relative;overflow:hidden;border-radius:20px;background:#1e0b31;box-shadow:0 18px 44px rgba(48,20,67,.12)}
.sp-al-video-frame video{display:block;width:100%;aspect-ratio:16/9;background:#14091e;object-fit:cover}

.sp-al-featured{padding:10px 0 38px}
.sp-al-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sp-al-feature-card{min-width:0;display:grid;grid-template-columns:132px minmax(0,1fr);gap:0;min-height:180px;border:1px solid #eee7f2;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(55,27,70,.045)}
.sp-al-feature-card__media{position:relative;overflow:hidden;min-height:180px;display:flex;align-items:flex-end;justify-content:center}
.sp-al-feature-card__media img{width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:scale(1.06);transform-origin:center bottom}
.sp-al-feature-card__body{min-width:0;padding:20px 18px 16px}
.sp-al-feature-card__body h3{margin:7px 0 7px;font-family:var(--sp-serif);font-size:20px;line-height:1.08;font-weight:600;letter-spacing:-.025em}
.sp-al-feature-card__body p{margin:0;color:#766b7d;font-size:12px;line-height:1.45}
.sp-al-tag{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;background:#eee3ff;color:#6f2cf0;font-size:8px;font-weight:850;letter-spacing:.035em;text-transform:uppercase}
.sp-al-play{position:absolute;left:50%;top:50%;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#341449;box-shadow:0 8px 24px rgba(37,14,53,.18);transform:translate(-50%,-50%);font-size:13px;padding-left:2px}
.sp-al-duration{position:absolute;right:8px;bottom:8px;padding:4px 7px;border-radius:6px;background:rgba(20,9,29,.9);color:#fff;font-size:10px;font-weight:800}

.sp-al-library{padding:16px 0 28px}
.sp-al-section-row--library{align-items:end;margin-bottom:20px}
.sp-al-sort{display:flex;align-items:center;gap:10px;color:#7a6e81;font-size:12px}
.sp-al-sort select{height:42px;padding:0 34px 0 14px;border:1px solid #e9e0ef;border-radius:999px;background:#fff;color:#351846;font-weight:700;outline:0}
.sp-al-video-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 16px}
.sp-al-video-card{min-width:0;transition:transform .18s ease}
.sp-al-video-card:hover{transform:translateY(-2px)}
.sp-al-video-card[hidden]{display:none}
.sp-al-video-card__thumb{position:relative;overflow:hidden;aspect-ratio:4/5.25;border-radius:14px;display:flex;align-items:flex-end;justify-content:center;box-shadow:0 7px 18px rgba(45,20,60,.08)}
.sp-al-video-card__thumb::after{content:"";position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(180deg,transparent,rgba(28,13,38,.12));pointer-events:none}
.sp-al-video-card__thumb h3{position:absolute;z-index:3;top:15px;left:13px;right:13px;margin:0;color:#fff;font-family:var(--sp-serif);font-size:21px;line-height:1.02;font-weight:600;text-align:center;text-shadow:0 2px 10px rgba(33,13,46,.2)}
.sp-al-video-card__thumb img{position:relative;z-index:1;width:92%;max-height:78%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 18px rgba(50,18,70,.12))}
.sp-al-video-card__thumb .sp-al-play{z-index:4;width:40px;height:40px}
.sp-al-video-card__thumb .sp-al-duration{z-index:5}
.sp-al-video-card__meta{position:relative;padding:10px 28px 0 4px}
.sp-al-video-card__meta p{margin:6px 0 0;color:#30213b;font-size:12px;line-height:1.28;font-weight:700}
.sp-al-video-card__meta button{position:absolute;right:1px;bottom:0;width:24px;height:28px;border:0;background:transparent;color:#5b22ca;font-size:20px;line-height:1}

.sp-al-thumb--lavender{background:linear-gradient(155deg,#e9ddff,#cdb0f5)}
.sp-al-thumb--cream{background:linear-gradient(155deg,#fff8ef,#f4dcc7)}
.sp-al-thumb--rose{background:linear-gradient(155deg,#f9e8e4,#e3c3c5)}
.sp-al-thumb--purple{background:linear-gradient(155deg,#7b3bb1,#4f2376)}
.sp-al-thumb--blue{background:linear-gradient(155deg,#4f6f9e,#29415f)}
.sp-al-thumb--slate{background:linear-gradient(155deg,#75657d,#43374b)}
.sp-al-thumb--brown{background:linear-gradient(155deg,#8f674f,#4d3428)}
.sp-al-thumb--terracotta{background:linear-gradient(155deg,#a06b56,#5e3d30)}
.sp-al-thumb--mauve{background:linear-gradient(155deg,#8b6e89,#51404f)}
.sp-al-thumb--sand{background:linear-gradient(155deg,#ad7654,#63422d)}
.sp-al-thumb--smoke{background:linear-gradient(155deg,#87786e,#51463f)}
.sp-al-thumb--peach{background:linear-gradient(155deg,#c68e76,#7a5041)}
.sp-al-thumb--violet{background:linear-gradient(155deg,#7c5e79,#443243)}

@media(max-width:1120px){
  .sp-al-shell{width:min(100% - 40px,1320px)}
  .sp-al-hero__grid{grid-template-columns:1fr 1fr;gap:16px}.sp-al-hero h1{font-size:clamp(52px,6vw,72px)}
  .sp-al-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .sp-al-featured-grid{grid-template-columns:1fr 1fr}.sp-al-feature-card:last-child{grid-column:1/-1;max-width:calc(50% - 9px)}
  .sp-al-video-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:820px){
  .sp-al-shell{width:min(100% - 30px,1320px)}
  .sp-al-hero__grid{grid-template-columns:1fr;min-height:0}.sp-al-hero__copy{padding:48px 0 16px}.sp-al-hero__visual{height:390px}.sp-al-hero__orb{width:88%;right:0}
  .sp-al-hero h1{font-size:58px}.sp-al-hero__copy>p{font-size:15px}
  .sp-al-featured-grid{grid-template-columns:1fr}.sp-al-feature-card:last-child{grid-column:auto;max-width:none}
  .sp-al-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
  .sp-al-shell{width:calc(100% - 24px)}
  .sp-al-hero__copy{padding-top:38px}.sp-al-eyebrow{font-size:10px;margin-bottom:17px}.sp-al-hero h1{font-size:46px;margin-bottom:14px}.sp-al-hero__visual{height:330px}.sp-al-hero__visual img{width:88%;max-height:320px}
  .sp-al-categories{padding-top:30px}.sp-al-section-row{align-items:flex-end}.sp-al-section-row h2{font-size:29px}.sp-al-category-grid{display:flex;overflow-x:auto;gap:9px;padding-bottom:6px;scroll-snap-type:x mandatory}.sp-al-category{flex:0 0 105px;height:86px;scroll-snap-align:start}.sp-al-category-grid::-webkit-scrollbar{display:none}
  .sp-al-video-frame{border-radius:14px}
  .sp-al-feature-card{grid-template-columns:115px 1fr;min-height:154px}.sp-al-feature-card__media{min-height:154px}.sp-al-feature-card__body{padding:16px 14px}.sp-al-feature-card__body h3{font-size:18px}
  .sp-al-section-row--library{align-items:flex-start;flex-direction:column}.sp-al-sort{align-self:flex-end}.sp-al-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.sp-al-video-card__thumb h3{font-size:18px}.sp-al-video-card__meta p{font-size:11px}
}
@media(max-width:390px){.sp-al-video-grid{grid-template-columns:1fr}.sp-al-video-card__thumb{aspect-ratio:4/4.9}.sp-al-video-card__thumb img{max-height:80%}}
