/* Discovery: compact, photographic service introductions and six-item shelves. */
.ast-discovery-home{--prime-bg:#101113;--prime-panel:#191b1f;--prime-gold:#e4c28a;--prime-muted:#b9bbc1;background:var(--prime-bg)}
.ast-discovery-home .prime-shell{width:min(1376px,calc(100% - 64px));max-width:none}
.ast-discovery-home .prime-hero{min-height:370px}.ast-discovery-home .prime-hero h1{font-size:clamp(43px,4.4vw,68px);font-weight:620}.ast-discovery-home .prime-hero h1 em{font-family:Georgia,serif;font-style:italic;font-weight:400}.ast-discovery-home .prime-discovery{padding:18px 0 24px;border:0;margin-bottom:0}.ast-discovery-home .prime-browse-label{display:none}
.ast-discovery-home .discovery-interest{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #303238;background:#191b1f;border-radius:12px;padding:20px 24px;margin-bottom:40px}.ast-discovery-home .discovery-interest h2{font-size:23px;margin:4px 0}.ast-discovery-home .discovery-interest p{color:#b9bbc1;font-size:15px;margin:0}.ast-discovery-home .discovery-interest button{cursor:pointer}.ast-discovery-home dialog{background:#191b1f;color:#f4f2ee;border:1px solid #45474d;border-radius:15px;padding:24px;width:min(640px,calc(100% - 28px));max-height:85dvh;overflow:auto}.ast-discovery-home dialog::backdrop{background:#090a0bcc}.ast-discovery-home [data-interest-choices]{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ast-discovery-home [data-interest-choices] label{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #45474d;border-radius:8px;font-size:14px}.ast-discovery-home [data-interest-choices] input{accent-color:#e4c28a}
.ast-discovery-home .prime-collections .discovery-shelf{padding:0 0 32px;margin:0 0 40px;border-bottom:1px solid #303238;background:transparent}.ast-discovery-home .prime-collections .discovery-shelf>.wrap{width:100%;margin:0;padding:0;max-width:none}
.ast-discovery-home .discovery-banner{position:relative;isolation:isolate;overflow:hidden;min-height:210px;border:1px solid #3b3936;border-radius:16px;display:flex;align-items:center;background:#191b1f}.ast-discovery-home .discovery-photo{position:absolute;inset:0 0 0 35%;z-index:-2}.ast-discovery-home .discovery-photo img{width:100%;height:100%;object-fit:cover;object-position:center 55%;display:block}.ast-discovery-home .discovery-banner:after{position:absolute;content:"";inset:0;z-index:-1;background:linear-gradient(90deg,#191b1f 0%,#191b1f 28%,#191b1ff0 42%,#191b1f70 63%,transparent 90%)}.ast-discovery-home .discovery-copy{padding:29px 32px;width:min(61%,650px)}.ast-discovery-home .discovery-copy .prime-kicker{display:flex;align-items:center;gap:8px;font-size:13px;letter-spacing:.06em}.ast-discovery-home .discovery-copy svg{width:21px;height:21px}.ast-discovery-home .discovery-copy h2{font-size:clamp(30px,3vw,44px);line-height:1.13;font-weight:620;margin:8px 0 9px}.ast-discovery-home .discovery-copy p{font-size:16px;max-width:480px;color:#dedce0;margin:0}.ast-discovery-home .discovery-caption{display:block;color:#e4c28a;font-size:14px;margin-top:13px;font-weight:600}.ast-discovery-home .discovery-banner-ebooks .discovery-photo img{object-position:center 75%}.ast-discovery-home .discovery-banner-academy .discovery-photo img{object-position:center 65%}.ast-discovery-home .discovery-banner-resources .discovery-photo img{object-position:center 70%}
.ast-discovery-home .discovery-shelf .catalog{padding:0;margin:16px 0 0;background:none;border:0;box-shadow:none;display:flex;flex-direction:column;gap:10px;min-width:0}.ast-discovery-home .discovery-shelf .catalog-head{order:2;display:flex;justify-content:flex-end;margin:0;min-height:0}.ast-discovery-home .discovery-shelf .catalog-head [data-home-count]{font-size:13px;color:#b9bbc1}.ast-discovery-home .discovery-shelf .filters{order:1;display:flex;gap:7px;flex-wrap:wrap;margin:0;padding:0;border:0;background:none}.ast-discovery-home .discovery-shelf .filters button{min-height:36px;border-radius:100px;border:1px solid #3b3d42;background:#1b1d21;color:#d4d7dd;padding:7px 13px;font-size:14px;font-weight:500;box-shadow:none}.ast-discovery-home .discovery-shelf .filters button[aria-pressed=true]{background:#e4c28a;color:#1b160e;border-color:#e4c28a;font-weight:650}.ast-discovery-home .discovery-shelf .cards{order:3;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;overflow:visible;margin:0;padding:0;align-items:stretch;grid-auto-flow:row;grid-auto-columns:auto}
.ast-discovery-home .discovery-shelf .cards>.item{display:flex;flex-direction:column;grid-column:auto;grid-row:auto;min-width:0;width:100%;max-width:none;min-height:0;height:auto;margin:0;padding:0;gap:0;overflow:hidden;background:#191b1f;border:1px solid #303238;border-radius:12px;box-shadow:none;transform:none;transition:border-color .15s,background .15s;text-align:left}.ast-discovery-home .discovery-shelf .cards>.item:hover{border-color:#86714f;background:#202227;transform:none;box-shadow:none}.ast-discovery-home .discovery-shelf .cards>.item .media{display:block;position:relative;width:100%;max-width:none;height:auto;min-height:0;max-height:none;aspect-ratio:16/10;padding:0;margin:0;overflow:hidden;border:0;border-radius:0;background:#22262c;flex:none}.ast-discovery-home .discovery-shelf .cards>.item .media img{display:block;width:100%;height:100%;object-fit:cover;max-height:none;max-width:none;transform:none;filter:none;border-radius:0}.ast-discovery-home .discovery-shelf .cards>.item .media.book{aspect-ratio:1.1;padding:13px;background:radial-gradient(ellipse at 50% 70%,#3b3b40,#202126)}.ast-discovery-home .discovery-shelf .cards>.item .media.physical{aspect-ratio:1.25;padding:5px;background:#26282c}.ast-discovery-home .discovery-shelf .cards>.item :is(.media.book,.media.physical) img{object-fit:contain}.ast-discovery-home #resources .cards>.item .media{height:76px;aspect-ratio:auto}.ast-discovery-home #resources .resource-art{height:100%;min-height:0}.ast-discovery-home #resources .resource-art small{display:none}.ast-discovery-home .discovery-shelf .cards>.item .item-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:12px 13px 10px;gap:6px;margin:0}.ast-discovery-home .discovery-shelf .item h4{font-size:16px;font-weight:650;line-height:1.35;letter-spacing:-.015em;margin:0;min-height:0;overflow-wrap:anywhere;display:block}.ast-discovery-home .discovery-shelf .item h4 a{color:#f4f2ee;text-decoration:none}.ast-discovery-home .discovery-shelf .item .card-category{font-size:13px;font-weight:600;text-transform:none;letter-spacing:0;color:#e4c28a}.ast-discovery-home .discovery-shelf .item .meta{font-size:13px;color:#b9bbc1;line-height:1.4;margin:0}.ast-discovery-home .discovery-shelf .item .item-body>p{display:none}.ast-discovery-home .discovery-shelf .item .item-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;margin-top:auto;padding-top:9px;border-top:1px solid #303238;min-width:0}.ast-discovery-home .discovery-shelf .item .item-foot .price{color:#e4c28a;font-size:15px;font-weight:650;max-width:100%;overflow-wrap:anywhere}.ast-discovery-home .discovery-shelf .item .item-foot .small-btn{min-height:40px;display:inline-flex;align-items:center;font-size:14px;line-height:1.3;padding:6px 0;border:0;background:none;color:#f0d7b1;white-space:normal;text-align:left;box-shadow:none;border-radius:0}.ast-discovery-home .discovery-shelf .item .item-foot .small-btn:hover{text-decoration:underline}.ast-discovery-home .discovery-end{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:17px;font-size:14px;color:#b9bbc1}.ast-discovery-home .discovery-end a{border-color:#77654a;background:#211e19;color:#f2d5a5}.ast-discovery-home .discovery-shelf .empty{grid-column:1/-1;padding:20px;border:1px dashed #515156;border-radius:10px;background:transparent}.ast-discovery-home [hidden]{display:none!important}
@media(max-width:1060px){.ast-discovery-home .prime-shell{width:calc(100% - 48px)}.ast-discovery-home .discovery-shelf .cards{grid-template-columns:repeat(3,minmax(0,1fr))}.ast-discovery-home .discovery-copy{width:65%}}@media(max-width:640px){.ast-discovery-home .prime-shell{width:calc(100% - 28px)}.ast-discovery-home .prime-hero{min-height:440px}.ast-discovery-home .discovery-interest{align-items:flex-start;flex-direction:column;padding:16px;margin-bottom:28px}.ast-discovery-home .discovery-shelf .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ast-discovery-home .prime-collections .discovery-shelf{margin-bottom:26px;padding-bottom:23px}.ast-discovery-home .discovery-banner{min-height:278px;align-items:flex-end;border-radius:13px}.ast-discovery-home .discovery-photo{inset:0 0 25%}.ast-discovery-home .discovery-banner:after{background:linear-gradient(0deg,#191b1f 0%,#191b1f 28%,#191b1ff0 42%,#191b1f30 72%,transparent 100%)}.ast-discovery-home .discovery-copy{padding:19px;width:100%}.ast-discovery-home .discovery-copy h2{font-size:31px}.ast-discovery-home .discovery-copy p{font-size:15px}.ast-discovery-home .discovery-shelf .cards>.item .item-body{padding:10px}.ast-discovery-home .discovery-shelf .item h4{font-size:15px}.ast-discovery-home .discovery-end{align-items:flex-end;flex-wrap:wrap}.ast-discovery-home .discovery-end a{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.ast-discovery-home *{scroll-behavior:auto!important;transition:none!important}}
.ast-discovery-home #journal.discovery-shelf .item{border:1px solid #303238;background:#191b1f}.ast-discovery-home #journal.discovery-shelf .item .media{border-radius:0}.ast-discovery-home #journal.discovery-shelf .item .item-body{padding:12px 13px 10px}.ast-discovery-home #journal.discovery-shelf .item .item-foot{border-top:1px solid #303238}.ast-discovery-home #ebooks.discovery-shelf .item .media.book{aspect-ratio:1.1;min-height:0;height:auto}.ast-discovery-home #ebooks.discovery-shelf .item .media.book>img{width:100%;height:100%;object-fit:contain;box-shadow:none}.ast-discovery-home #apparel-lifestyle.discovery-shelf .item .media.physical{background:#e8e7e4;aspect-ratio:1.25}.ast-discovery-home #resources.discovery-shelf #resourcesCatalog .item .media{height:76px;max-height:76px;min-height:76px}.ast-discovery-home #resources.discovery-shelf #resourcesCatalog .resource-art{height:76px;justify-content:center}.ast-discovery-home #resources .prime-tool-symbol{width:44px;height:44px}.ast-discovery-home #resources .resource-art svg{width:30px;height:30px}.ast-discovery-home .discovery-shelf .item .small-btn{min-height:44px}.ast-discovery-home .discovery-shelf .filters button{min-height:40px}.ast-discovery-home .prime-hero-art{inset:0 0 0 30%;position:absolute;height:auto;z-index:-1}.ast-discovery-home .prime-hero-art img{object-position:55% 65%;filter:none}.ast-discovery-home .prime-hero-art:after{background:linear-gradient(90deg,#141313 0%,#141313d9 16%,#14131326 67%,transparent 100%)}.ast-discovery-home .prime-hero-copy{width:54%;max-width:620px;padding:42px 44px}.ast-discovery-home .prime-hero{background:#141313}
@media(max-width:640px){.ast-discovery-home .prime-hero-art{inset:0 0 20%;height:auto}.ast-discovery-home .prime-hero-art:after{background:linear-gradient(0deg,#141313 0%,#141313e8 28%,#14131340 63%,transparent)}.ast-discovery-home .prime-hero{align-items:end}.ast-discovery-home .prime-hero-copy{width:100%;padding:23px 20px}.ast-discovery-home .prime-hero h1{font-size:clamp(39px,10vw,49px)}.ast-discovery-home #journal.discovery-shelf .item .item-body{padding:10px}}
