body.am-series-index-page { background: #07111f; color: #f3f8fd; }
.am-series-index { --am-accent: #62d9ef; --am-muted: #afbed1; --am-border: #32445b; box-sizing: border-box; width: min(1220px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 64px; color: #f3f8fd; }
.am-series-index *, .am-series-index *::before, .am-series-index *::after { box-sizing: border-box; }
.am-series-index h1, .am-series-index h2, .am-series-index h3 { color: #f3f8fd; line-height: 1.2; }
.am-series-index h1 { margin: 0 0 6px; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.045em; }
.am-series-index h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin: 0 0 20px; }
.am-series-index h3 { font-size: 1.25rem; margin: 0 0 12px; overflow-wrap: anywhere; }
.am-series-index p { line-height: 1.6; }
.am-series-index a { color: var(--am-accent); text-underline-offset: .2em; }
.am-series-index :is(a, button, input, select, summary):focus-visible, #am-site-footer-newsletter:focus-visible { outline: 3px solid #62d9ef; outline-offset: 4px; }
.am-catalog__hero { position: relative; isolation: isolate; min-height: 390px; padding: 28px 34px 22px; overflow: hidden; border: 1px solid #29435f; border-radius: 18px; background-color: #071729; background-image: url("series-catalog-hero.webp"); background-position: center; background-size: cover; box-shadow: 0 18px 55px rgba(0,0,0,.2); }
.am-catalog__hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4,13,25,.98) 0%, rgba(4,13,25,.9) 48%, rgba(4,13,25,.28) 100%); pointer-events: none; }
.am-catalog__hero-copy { width: min(600px, 58%); }
.am-catalog__eyebrow, .am-catalog__section-eyebrow { color: var(--am-accent); font-weight: 750; text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; margin: 0 0 6px; }
.am-catalog__eyebrow::before, .am-catalog__section-eyebrow::before { display: inline-block; width: 3px; height: 1.1em; margin-right: 10px; border-radius: 2px; background: var(--am-accent); content: ""; vertical-align: -.15em; }
.am-catalog__lead { max-width: 36rem; color: #c1cede; font-size: 1.02rem; margin: 0; }
.am-catalog__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(590px, 100%); list-style: none; padding: 0; margin: 18px 0 0; }
.am-catalog__stats li { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-width: 0; min-height: 64px; padding: 9px 12px; border: 1px solid rgba(98,217,239,.34); border-radius: 12px; background: rgba(9,30,51,.76); backdrop-filter: blur(8px); }
.am-catalog__stat-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; color: var(--am-accent); font-size: 1.25rem; }
.am-catalog__stats strong { align-self: end; color: #fff; font-size: 1.24rem; line-height: 1; }
.am-catalog__stats li > span:last-child { align-self: start; color: #c3d0df; font-size: .74rem; white-space: nowrap; }
.am-catalog__form { position: relative; z-index: 2; width: min(940px, 100%); margin-top: 18px; }
.am-catalog__form label, .am-catalog__form legend { color: #f3f8fd; font-weight: 600; }
.am-catalog__search-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.am-catalog__search-row { display: flex; gap: 8px; padding: 4px; border: 1px solid #476784; border-radius: 12px; background: rgba(5,18,34,.9); box-shadow: 0 9px 28px rgba(0,0,0,.17); }
.am-catalog__form input[type="search"] { min-height: 46px; border: 0; border-radius: 9px; background: transparent; color: #f3f8fd; padding: 10px 14px; font: inherit; }
.am-catalog__form input[type="search"] { flex: 1; min-width: 0; width: 100%; }
.am-catalog__form input::placeholder { color: var(--am-muted); opacity: 1; }
.am-catalog__form button, .am-catalog__newsletter > a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; background: #62d9ef; border: 1px solid #62d9ef; border-radius: 8px; color: #07111f; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.am-catalog__advanced { margin-top: 8px; }
.am-catalog__advanced summary { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 4px 2px; color: var(--am-accent); font-size: .88rem; font-weight: 700; cursor: pointer; list-style: none; }
.am-catalog__advanced summary::-webkit-details-marker { display: none; }
.am-catalog__advanced summary::before { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.am-catalog__advanced[open] summary::before { transform: rotate(225deg) translate(-2px, -2px); }
.am-catalog__advanced-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .9fr); gap: 18px 28px; padding: 16px 20px; margin-top: 4px; border: 1px solid #35516d; border-radius: 14px; background: rgba(9,27,48,.96); box-shadow: 0 16px 34px rgba(0,0,0,.24); }
.am-catalog__topics, .am-catalog__states { min-width: 0; border: 0; padding: 0; margin: 0; }
.am-catalog__topics legend { margin-bottom: 10px; }
.am-catalog__states legend { margin-bottom: 10px; }
.am-catalog__topic-options, .am-catalog__state-options { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px; margin: -4px; }
.am-catalog__topic-options label, .am-catalog__state-options label { position: relative; cursor: pointer; }
.am-catalog__topic-options input, .am-catalog__state-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.am-catalog__topic-options span, .am-catalog__state-options span { display: block; padding: 9px 13px; min-height: 40px; border: 1px solid #61758e; border-radius: 22px; font-size: .82rem; white-space: nowrap; }
.am-catalog__topic-options input:checked + span, .am-catalog__state-options input:checked + span { border-color: #62d9ef; background: #62d9ef; color: #07111f; }
.am-catalog__topic-options input:focus-visible + span, .am-catalog__state-options input:focus-visible + span { outline: 3px solid #62d9ef; outline-offset: 3px; }
.am-catalog__clear { grid-column: 1 / -1; justify-self: end; }
.am-catalog__active { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.am-catalog__count { color: var(--am-muted); overflow-wrap: anywhere; margin: 18px 0 0; font-size: .9rem; }
.am-catalog__section { margin-top: 24px; }
.am-catalog__section-eyebrow { margin-bottom: 6px; }
.am-catalog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.am-catalog__grid > li { min-width: 0; }
.am-catalog__card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--am-border); border-radius: 16px; overflow: hidden; background: #0f1a2d; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .am-catalog__card:hover { transform: translateY(-4px); } }
.am-catalog__media { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 220px; overflow: hidden; background: #132139; }
.am-catalog__media::after { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(180deg, rgba(4,12,25,.16) 12%, rgba(4,12,25,.05) 42%, rgba(4,12,25,.94) 100%); pointer-events: none; }
.am-catalog__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
@media (hover: hover) { .am-catalog__card:hover { border-color: #3a7194; box-shadow: 0 14px 34px rgba(0,0,0,.24); } .am-catalog__card:hover .am-catalog__media img { transform: scale(1.025); } }
.am-catalog__media h3 { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; margin: 0; font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.2; text-wrap: balance; }
.am-catalog__media h3, .am-catalog__media h3 a { color: #fff; text-decoration: none; text-shadow: 0 2px 16px rgba(0,0,0,.72); }
.am-catalog__media h3 a::after { position: absolute; inset: -170px -22px -20px; content: ""; }
/* A branded editorial book cover, never a substitute generated photograph. */
.am-catalog__cover { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 20px 22px 84px; border-left: 12px double #62d9ef; background: radial-gradient(circle at 72% 22%, #24588b 0, #142942 38%, #0a1729 100%); color: #f3f8fd; }
.am-catalog__cover span { font-size: .75rem; letter-spacing: .04em; }
.am-catalog__cover strong { font-size: clamp(1rem, 1.8vw, 1.6rem); line-height: 1.2; }
.am-catalog__body { flex: 1; padding: 22px; }
.am-catalog__body h3 a, .am-catalog__chapter h3 a { color: #f3f8fd; }
.am-catalog__body > p:not(.am-catalog__topic), .am-catalog__chapter > p:not(.am-catalog__topic) { color: var(--am-muted); margin: 0; }
.am-catalog__topic { color: var(--am-accent); font-size: .8rem; font-weight: 700; margin: 0 0 10px; }
.am-catalog__meta { position: absolute; z-index: 3; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: .78rem; color: #eef8ff; }
.am-catalog__badge { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 11px; border: 1px solid rgba(104,205,255,.65); border-radius: 999px; background: rgba(5,20,43,.8); box-shadow: 0 6px 18px rgba(0,0,0,.2); backdrop-filter: blur(8px); }
.am-catalog__badge::before { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; content: ""; }
.am-catalog__badge--count::before { width: 14px; height: 12px; border: 1.5px solid #a7dcff; border-radius: 2px 2px 4px 4px; box-shadow: inset 5px 0 0 transparent; }
.am-catalog__badge--status::before { border-radius: 50%; background: #19e6cf; box-shadow: 0 0 10px rgba(25,230,207,.8); }
.am-catalog__date { font-size: .8rem; }
.am-catalog__body > .am-catalog__date { margin: 0; }
.am-catalog__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 18px 12px 22px; border-top: 1px solid var(--am-border); color: var(--am-muted); font-size: .8rem; }
.am-catalog__footer time { display: inline-flex; align-items: center; gap: 9px; }
.am-catalog__footer time::before { width: 13px; height: 13px; border: 1.5px solid #83cfff; border-radius: 3px; content: ""; box-shadow: inset 0 3px 0 rgba(131,207,255,.35); }
.am-catalog__arrow { position: relative; z-index: 4; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #258ad1; border-radius: 50%; color: #b9e8ff; font-size: 1.3rem; line-height: 1; text-decoration: none; }
.am-catalog__arrow:hover, .am-catalog__arrow:focus-visible { background: #62d9ef; color: #07111f; }
.am-catalog__card--upcoming .am-catalog__badge { margin-left: auto; }
.am-catalog__chapters { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.am-catalog__chapter { background: #0f1a2d; border: 1px solid var(--am-border); border-radius: 12px; padding: 24px; }
.am-catalog__empty { padding: 24px; border: 1px dashed #61758e; border-radius: 12px; color: var(--am-muted); }
.am-catalog__newsletter { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; margin-top: 40px; background: #10283d; border: 1px solid #397086; border-radius: 16px; }
.am-catalog__newsletter h2 { margin-bottom: 10px; }
.am-catalog__newsletter p:last-child { color: var(--am-muted); margin-bottom: 0; }
.am-catalog__newsletter > a { flex-shrink: 0; }
#am-site-footer-newsletter { scroll-margin-top: 24px; }
@media (max-width: 980px) {
 .am-catalog__hero-copy { width: min(680px, 72%); }
 .am-catalog__advanced-panel { grid-template-columns: minmax(0, 1fr); }
 .am-catalog__clear { grid-column: 1; }
 .am-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
 .am-series-index { width: min(100% - 20px, 1220px); padding-top: 10px; }
 .am-catalog__hero { min-height: 0; padding: 22px 18px 16px; border-radius: 14px; background-position: 62% center; }
 .am-catalog__hero::before { background: linear-gradient(90deg, rgba(4,13,25,.98), rgba(4,13,25,.82)); }
 .am-catalog__hero-copy { width: 100%; }
 .am-series-index h1 { font-size: clamp(2.4rem, 14vw, 3.4rem); }
 .am-catalog__lead { font-size: .96rem; }
 .am-catalog__stats { gap: 6px; margin-top: 14px; }
 .am-catalog__stats li { display: flex; min-height: 58px; padding: 8px 6px; flex-direction: column; justify-content: center; text-align: center; }
 .am-catalog__stat-icon { display: none; }
 .am-catalog__stats strong { font-size: 1.12rem; }
 .am-catalog__stats li > span:last-child { white-space: normal; font-size: .66rem; line-height: 1.2; }
 .am-catalog__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
 .am-catalog__form { margin-top: 14px; }
 .am-catalog__search-row { gap: 5px; padding: 3px; }
 .am-catalog__form button { padding-inline: 15px; }
 .am-catalog__advanced-panel { padding: 15px; gap: 16px; }
 .am-catalog__topic-options { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; }
 .am-catalog__clear { justify-self: start; }
 .am-catalog__newsletter { align-items: stretch; flex-direction: column; padding: 22px; }
 .am-catalog__cover strong { font-size: 1.5rem; }
 .am-catalog__media { min-height: 230px; }
 .am-catalog__media h3 { left: 18px; right: 18px; bottom: 18px; }
 .am-catalog__meta { top: 12px; left: 12px; right: 12px; }
 .am-catalog__badge { min-height: 32px; padding: 6px 9px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { .am-catalog__card, .am-catalog__media img, .am-catalog__advanced summary::before { transition: none; } .am-catalog__card:hover { transform: none; } }
