/* Classic branches v1 — navy-and-steel-blue Classic styling. Only .classic-branch pages. */
.classic-branch{--branch-edge:#3c536c}
.classic-branch a:focus-visible,.classic-branch button:focus-visible,.classic-branch input:focus-visible,.classic-branch select:focus-visible,.classic-branch summary:focus-visible{outline:3px solid #b0d8ff;outline-offset:3px}
.classic-branch .topline{padding:24px 0 18px}
.classic-branch .main-nav a[aria-current="page"]{background:var(--accent);color:var(--contrast)}
.classic-branch .branch-hero{display:grid;grid-template-columns:1.05fr .95fr;min-height:390px;position:relative;isolation:isolate;border:1px solid var(--edge);border-radius:var(--radius);background:linear-gradient(125deg,#233e5d,#172d45 73%,#142b43);box-shadow:var(--shadow);overflow:hidden}
.classic-branch .branch-intro{padding:clamp(32px,5vw,65px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.classic-branch .branch-intro h1{font-size:clamp(46px,5.8vw,73px);line-height:1.04;letter-spacing:-.06em;max-width:13ch;margin:17px 0 17px;color:#f4f8ff}
.classic-branch .branch-intro p{max-width:49ch;line-height:1.72;color:#c0d1e2;font-size:15px;margin:0 0 24px}
.classic-branch .actions{display:flex;flex-wrap:wrap;gap:11px}
.classic-branch .primary,.classic-branch .secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 17px;border:1px solid #7099c7;border-radius:6px;font-weight:800;font-size:13px}
.classic-branch .primary{color:#0c2940;background:#8abfff;border-color:#8abfff;box-shadow:0 7px 24px #87c3ff24}
.classic-branch .secondary{background:#172b43;color:#f1f8ff;border-color:#537290}
.classic-branch .primary:hover,.classic-branch .secondary:hover{filter:brightness(1.13)}
.classic-branch .mini-note{color:#a2b9d4;text-transform:uppercase;font-size:10px;letter-spacing:.13em;font-weight:750;margin-top:26px}
.classic-branch .branch-art{position:relative;min-height:370px;overflow:hidden;border-left:1px solid #5e7fa266;background:radial-gradient(circle at 77% 39%,#6086b94d,transparent 59%),#172f47}
.classic-branch .branch-art img{width:100%;height:100%;position:absolute;object-fit:cover;inset:0;filter:saturate(.61) brightness(.84)}
.classic-branch .branch-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#203c57ac,transparent 30%),linear-gradient(0deg,#122b45c2,transparent 43%)}
.classic-branch .branch-art span{position:absolute;right:7%;bottom:9%;z-index:1;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #739ac2;border-radius:6px;background:#172c44ee;padding:15px 19px;box-shadow:0 12px 32px #08172b70;color:#cce5ff;font-size:11px}
.classic-branch .branch-art span strong{color:#f3f8ff;font-size:27px;line-height:1.3}
.classic-branch .branch-art span small{font-size:9px;letter-spacing:.14em;color:#a6c4e5;font-weight:850}
.classic-branch .branch-section{margin-top:46px}
.classic-branch .section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:21px}
.classic-branch .section-heading h2{margin:6px 0 0;font-size:clamp(29px,3.6vw,45px);line-height:1.15;letter-spacing:-.045em}
.classic-branch .section-heading p{max-width:58ch;color:#b8cde0;font-size:13px;margin:9px 0 0}
.classic-branch .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.classic-branch .branch-card{display:grid;grid-template-columns:36% 1fr;min-height:217px;background:#1d3147;border:1px solid #496581;border-radius:9px;overflow:hidden;box-shadow:0 6px 18px #07172643}
.classic-branch .branch-card[data-status="planned"]{border-style:dashed;border-color:#55708a}
.classic-branch .art{position:relative;min-height:215px;background:#122c45;overflow:hidden}
.classic-branch .art img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;filter:saturate(.63) brightness(.77)}
.classic-branch .art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#13263e88,transparent 60%),linear-gradient(90deg,transparent 50%,#233b5b55)}
.classic-branch .art b{position:absolute;left:12px;top:12px;color:#dbecff;z-index:1;background:#152c45ee;border:1px solid #7fa4c6;border-radius:5px;font-size:11px;padding:6px 9px}
.classic-branch .card-body{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:23px 24px}
.classic-branch .card-kind{color:#9dc0e5;font-size:10px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.classic-branch .card-body h3{font-size:24px;line-height:1.16;letter-spacing:-.033em;margin:0}
.classic-branch .card-body p{font-size:12px;color:#c5d4e4;line-height:1.58;margin:0}
.classic-branch .card-action{margin-top:auto;display:inline-flex;align-items:center;gap:11px;font-weight:850;color:#a6d0ff;font-size:12px;border-bottom:1px solid #89b8ec5c;padding:13px 0 4px}
.classic-branch .card-action:hover{color:#fff}
.classic-branch .status{display:inline-flex;align-items:center;font-size:11px;font-weight:750;border:1px solid #7593ad;border-radius:5px;color:#cbd9e8;padding:7px 10px;margin-top:auto}
.classic-branch .branch-card[hidden]{display:none!important}
.classic-branch .branch-card details{width:100%;margin-top:11px;padding-top:11px;border-top:1px solid #4c6481}
.classic-branch .branch-card summary{cursor:pointer;color:#9bc7fa;font-size:12px;font-weight:780}
.classic-branch .branch-card details p{margin-top:10px;color:#c6d8e8}
.classic-branch .selector{display:flex;flex-direction:column;gap:6px;min-width:220px;color:#b6cde4;font-size:11px;font-weight:750}
.classic-branch .selector input,.classic-branch .selector select{width:100%;min-height:44px;padding:10px 13px;background:#172a3e;border:1px solid #536f8b;border-radius:6px;color:#edf6ff;font-size:13px}
.classic-branch .selector input::placeholder{color:#9cb3c8}
.classic-branch .filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 19px}
.classic-branch .filters button{background:#20364e;color:#d3e3f5;border:1px solid #57718d;border-radius:6px;padding:9px 13px;min-height:37px;font-size:12px;font-weight:780;cursor:pointer}
.classic-branch .filters button[aria-pressed="true"]{background:#8abfff;border-color:#8abfff;color:#0c2941}
.classic-branch .reading-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:23px}
.classic-branch .reading-stat{border:1px solid #45607d;border-radius:8px;background:#1c324b;padding:17px 19px}
.classic-branch .reading-stat strong{display:block;font-size:26px;color:#a7cfff;line-height:1.3}
.classic-branch .reading-stat span{font-size:12px;color:#cfdeeb}
.classic-branch .book-controls{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:12px;margin:12px 0}
.classic-branch .book-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.classic-branch .book-card{border-radius:8px;background:#1c3047;border:1px solid #445d78;padding:18px;display:flex;flex-direction:column;align-items:flex-start;min-height:182px}
.classic-branch .book-card span{font-size:10px;color:#9bbce0;letter-spacing:.1em;font-weight:780;text-transform:uppercase}
.classic-branch .book-card h3{font-size:17px;line-height:1.35;margin:9px 0 13px;overflow-wrap:anywhere}
.classic-branch .book-card a{display:inline-flex;align-items:center;gap:7px;min-height:37px;margin-top:auto;padding:8px 12px;border-radius:6px;color:#0b2941;background:#8abfff;font-size:12px;font-weight:800}
.classic-branch .book-card p{color:#b6cbe0;font-size:11px;margin:10px 0 0;line-height:1.45}
.classic-branch .catalog-status{color:#b9cde2;font-size:12px;min-height:21px;margin:14px 0}
.classic-branch .more-books{display:block;min-height:45px;margin:24px auto 0;padding:10px 23px;border-radius:7px;border:1px solid #7aa4cd;background:#263c55;color:#e5f2ff;font-size:13px;font-weight:800;cursor:pointer}
.classic-branch .more-books[hidden]{display:none}
.classic-branch .catalog-note{border:1px solid #577695;background:#1c344b;border-radius:8px;padding:17px 20px;margin:19px 0;color:#c3d6e8;font-size:12px;line-height:1.65}
.classic-branch .catalog-note a{color:#add2ff;text-decoration:underline}
.classic-branch .footer{margin-top:50px}
.classic-branch .footer div{flex-wrap:wrap}
@media(max-width:1050px){.classic-branch .book-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.classic-branch .branch-hero{grid-template-columns:1fr}.classic-branch .branch-intro{padding:36px}.classic-branch .branch-art{min-height:230px;border-left:0;border-top:1px solid #506c87}.classic-branch .cards{grid-template-columns:1fr}.classic-branch .section-heading{align-items:stretch;flex-direction:column}.classic-branch .selector{width:100%}}
@media(max-width:550px){.classic-branch .site{width:calc(100% - 28px)}.classic-branch .branch-intro{padding:30px 24px}.classic-branch .branch-intro h1{font-size:41px}.classic-branch .branch-intro p{font-size:13px}.classic-branch .branch-art{min-height:190px}.classic-branch .branch-art span{padding:10px 13px}.classic-branch .branch-section{margin-top:35px}.classic-branch .cards{gap:13px}.classic-branch .branch-card{grid-template-columns:34% 1fr;min-height:190px}.classic-branch .art{min-height:190px}.classic-branch .card-body{padding:16px;gap:6px}.classic-branch .card-body h3{font-size:21px}.classic-branch .card-body p{font-size:11px}.classic-branch .reading-summary{grid-template-columns:1fr}.classic-branch .book-list{grid-template-columns:1fr}.classic-branch .book-controls{grid-template-columns:1fr}.classic-branch .section-heading h2{font-size:30px}.classic-branch .main-nav a{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.classic-branch *{transition:none!important}}
