/* CVguide collections — E-collections 2026-10-23. Hub /podborka-rezume/ and collection pages. */
.cv-hub-head{max-width:860px}
.cv-hub-head h1{margin-top:4px}
.cv-content-category>header .cv-hub-lead p{margin:0 0 12px;max-width:760px}
.cv-content-category>header .cv-hub-lead p:last-child{margin-bottom:0}
.cv-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:stretch;margin:8px 0 0}
.cv-hub-card{display:flex;flex-direction:column;min-width:0;height:100%;background:var(--stx-surface,#fff);border-radius:var(--stx-r-panel,20px);overflow:hidden;box-shadow:var(--stx-shadow-sm,0 2px 12px #132e4912);transition:transform .25s ease,box-shadow .25s ease}
.cv-hub-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px #132e4920}
.cv-content-page .cv-hub-cover{position:relative;display:block;height:230px;overflow:hidden;background:linear-gradient(160deg,var(--stx-accent-soft,#eaf2fd),var(--stx-surface-2,#f3f6f9))}
.cv-hub-sheet{position:absolute;top:30px;left:50%;width:132px;height:auto;aspect-ratio:580/820;object-fit:cover;object-position:top;border-radius:4px;background:#fff;box-shadow:0 8px 22px #132e4924;transition:transform .35s ease}
.cv-hub-sheet--1{z-index:3;transform:translateX(-50%)}
.cv-hub-sheet--2{z-index:2;transform:translateX(-118%) rotate(-7deg) scale(.9);top:40px}
.cv-hub-sheet--3{z-index:1;transform:translateX(18%) rotate(7deg) scale(.9);top:40px}
.cv-hub-card:hover .cv-hub-sheet--2{transform:translateX(-126%) rotate(-9deg) scale(.9)}
.cv-hub-card:hover .cv-hub-sheet--3{transform:translateX(26%) rotate(9deg) scale(.9)}
.cv-hub-body{display:flex;flex-direction:column;flex:1 1 auto;padding:22px 24px 24px}
.cv-hub-count{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--stx-accent-text,#2563eb)}
.cv-hub-card h2{font-size:21px;line-height:1.3;font-weight:650;letter-spacing:-.015em;margin:0 0 12px;overflow-wrap:anywhere}
.cv-hub-card h2 a{color:var(--stx-text,#111);text-decoration:none}
.cv-hub-card h2 a:hover{color:var(--stx-accent-text,#2563eb)}
.cv-hub-excerpt{font-size:15px;line-height:1.65;color:var(--stx-text-2,#4b5563);margin:0 0 20px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.cv-hub-excerpt p{margin:0}
.cv-content-page .cv-hub-more{margin-top:auto;align-self:flex-start}
/* pagination */
.cv-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin:44px 0 8px;font-size:15px}
.cv-pager-nums{display:flex;gap:8px}
.cv-content-page .cv-pager-num,.cv-content-page .cv-pager-step{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:46px;height:46px;padding:0 14px;border-radius:14px;text-decoration:none;color:var(--stx-text,#111);background:var(--stx-surface,#fff);box-shadow:var(--stx-shadow-sm,0 2px 12px #132e4912);font-weight:600;transition:background .2s,color .2s}
.cv-content-page a.cv-pager-num:hover,.cv-content-page a.cv-pager-step:hover{color:var(--stx-accent-text,#2563eb)}
.cv-pager-num.is-current{background:var(--stx-accent,#2f6bff);color:#fff}
.cv-pager-step.is-off{opacity:.4;box-shadow:none}
.cv-pager-info{display:none;font-size:14px;color:var(--stx-text-2,#4b5563)}
/* collection page */
.cv-coll2-head{max-width:880px;margin-bottom:28px}
.cv-coll2-head h1{margin-top:4px}
.cv-coll2-lead{font-size:18px;line-height:1.65;color:var(--stx-text-2,#4b5563);max-width:800px;margin:0}
.cv-coll2-designs{margin:0 0 56px}
.cv-coll2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:stretch}
.cv-coll2-card{display:flex;flex-direction:column;min-width:0;background:var(--stx-surface,#fff);border-radius:var(--stx-r-panel,20px);overflow:hidden;box-shadow:var(--stx-shadow-sm,0 2px 12px #132e4912)}
.cv-coll2-thumb{position:relative;display:block;width:100%;padding:22px;border:0;margin:0;background:var(--stx-surface-2,#f2f5f8);cursor:zoom-in;font:inherit}
.cv-coll2-thumb img{display:block;width:100%;height:auto;aspect-ratio:580/820;object-fit:contain;background:#fff;box-shadow:var(--stx-shadow-paper,0 4px 18px #132e4914);transition:transform .3s ease}
.cv-coll2-thumb:hover img{transform:scale(1.02)}
.cv-coll2-zoom{position:absolute;right:30px;bottom:30px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--stx-text,#111);box-shadow:0 4px 14px #132e4926;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s}
.cv-coll2-thumb:hover .cv-coll2-zoom,.cv-coll2-thumb:focus-visible .cv-coll2-zoom{opacity:1;transform:none}
.cv-coll2-body{display:flex;flex-direction:column;flex:1 1 auto;padding:20px 22px 22px}
.cv-coll2-name{margin:0 0 16px;font-size:20px;line-height:1.3;font-weight:650}
.cv-content-page .cv-coll2-name a{color:var(--stx-text,#111);text-decoration:none}
.cv-content-page .cv-coll2-name a:hover{color:var(--stx-accent-text,#2563eb)}
.cv-content-page .cv-coll2-fill{width:100%;min-height:48px;justify-content:center;margin-top:auto}
.cv-coll2-dl{display:flex;justify-content:center;gap:18px;margin-top:14px;font-size:14px}
/* slider (< 9 designs) */
.cv-coll2-slider{position:relative}
.cv-coll2-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 56px)/3);gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 4px 18px;margin:-4px;scrollbar-width:none;outline:none}
.cv-coll2-track::-webkit-scrollbar{display:none}
.cv-coll2-track>.cv-coll2-card{scroll-snap-align:start}
.cv-coll2-arrow{position:absolute;top:calc(50% - 40px);z-index:2;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:0;border-radius:50%;background:#fff;color:var(--stx-text,#111);box-shadow:0 8px 24px #132e4930;cursor:pointer;transition:opacity .2s,transform .2s}
.cv-coll2-arrow:hover{transform:scale(1.06)}
.cv-coll2-arrow:disabled{opacity:0;pointer-events:none}
.cv-coll2-arrow--prev{left:-24px}
.cv-coll2-arrow--next{right:-24px}
.cv-coll2-dots{display:flex;justify-content:center;gap:8px;margin-top:14px}
.cv-coll2-dots button{width:10px;height:10px;padding:0;border:0;border-radius:6px;background:var(--stx-line,#cfd8e3);cursor:pointer;transition:width .25s,background .25s}
.cv-coll2-dots button[aria-current=true]{width:28px;background:var(--stx-accent,#2f6bff)}
/* prose */
.cv-coll2-prose{max-width:820px!important;margin:0 auto}
.cv-coll2-prose h2{scroll-margin-top:110px}
.cv-coll2-prose h3{font-size:22px;line-height:1.35;color:var(--stx-text,#111);margin:30px 0 12px}
.cv-coll2-prose ul,.cv-coll2-prose ol{padding-left:22px;margin:0 0 18px}
.cv-coll2-prose li{margin:0 0 8px}
/* lightbox */
.cv-lb{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden}
.cv-lb::backdrop{background:#0b1626d9;backdrop-filter:blur(4px)}
.cv-lb[open]{display:flex;align-items:center;justify-content:center;animation:cvLbIn .2s ease}
@keyframes cvLbIn{from{opacity:0}to{opacity:1}}
.cv-lb-box{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px;max-width:min(760px,calc(100vw - 140px));max-height:100%;padding:24px 0}
.cv-lb-fig{margin:0;min-height:0;display:flex;justify-content:center}
.cv-lb-fig img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100vh - 170px);aspect-ratio:580/820;background:#fff;border-radius:6px;box-shadow:0 20px 60px #0008}
.cv-lb-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 12px;font-family:Inter,var(--stx-font,sans-serif)}
.cv-lb-title{width:100%;margin:0 0 2px;text-align:center;color:#fff;font-size:17px;font-weight:600}
.cv-lb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:14px;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;transition:transform .15s,background .2s}
.cv-lb-btn:hover{transform:translateY(-1px)}
.cv-lb-btn--ghost{background:#ffffff1f;color:#fff;border:1px solid #ffffff4d}
.cv-lb-btn--ghost:hover{background:#ffffff33}
.cv-lb-btn--primary{background:var(--stx-accent,#2f6bff);color:#fff}
.cv-lb-close,.cv-lb-nav{position:fixed;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#ffffff26;color:#fff;cursor:pointer;transition:background .2s}
.cv-lb-close:hover,.cv-lb-nav:hover{background:#ffffff47}
.cv-lb-close{top:18px;right:18px;width:48px;height:48px}
.cv-lb-nav{top:50%;width:54px;height:54px;margin-top:-27px}
.cv-lb-nav--prev{left:22px}
.cv-lb-nav--next{right:22px}
.cv-lb-count{position:fixed;top:30px;left:24px;color:#ffffffb3;font:600 14px Inter,sans-serif}
.cv-lb :focus-visible{outline:3px solid #8fb5ff;outline-offset:3px}
html.cv-lb-lock{overflow:hidden}
@media(max-width:960px){.cv-hub-grid,.cv-coll2-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.cv-coll2-track{grid-auto-columns:calc((100% - 22px)/2);gap:22px}.cv-coll2-arrow--prev{left:-10px}.cv-coll2-arrow--next{right:-10px}}
@media(max-width:600px){
.cv-hub-grid,.cv-coll2-grid{grid-template-columns:minmax(0,1fr);gap:20px}
.cv-content-page .cv-hub-cover{height:210px}
.cv-hub-sheet{width:118px}
.cv-hub-body{padding:20px}
.cv-hub-card h2{font-size:20px}
.cv-pager{gap:8px;margin-top:32px}
.cv-pager-nums{display:none}
.cv-pager-info{display:inline}
.cv-content-page .cv-pager-step{min-width:0;padding:0 16px}
.cv-coll2-lead{font-size:16px}
.cv-coll2-thumb{padding:18px}
.cv-coll2-zoom{opacity:1;transform:none;right:26px;bottom:26px;width:40px;height:40px}
.cv-coll2-track{grid-auto-columns:84%;gap:16px}
.cv-coll2-arrow{width:44px;height:44px;top:calc(50% - 60px)}
.cv-coll2-arrow--prev{left:-6px}
.cv-coll2-arrow--next{right:-6px}
.cv-lb-box{max-width:100vw;padding:64px 12px 16px;height:100%;justify-content:center}
.cv-lb-fig img{max-height:calc(100vh - 260px);max-height:calc(100dvh - 260px)}
.cv-lb-bar{gap:8px}
.cv-lb-btn{flex:1 1 calc(50% - 8px);min-height:44px;padding:0 12px;font-size:14px}
.cv-lb-btn--primary{flex-basis:100%}
.cv-lb-close{top:10px;right:10px;width:44px;height:44px}
.cv-lb-count{top:22px;left:16px}
.cv-lb-nav{width:44px;height:44px;background:#0b1626cc;box-shadow:0 0 0 1px #ffffff40}
.cv-lb-nav--prev{left:6px}
.cv-lb-nav--next{right:6px}
}
@media(prefers-reduced-motion:reduce){.cv-hub-card,.cv-hub-sheet,.cv-coll2-thumb img,.cv-coll2-track{transition:none;scroll-behavior:auto}.cv-lb[open]{animation:none}}
