/* The section page: styles only it uses, split out of site.css by scripts/split-css.mjs. */
.banner-blob { position: absolute; z-index: -1; border-radius: 50%; background: rgb(255 255 255 / 0.14); pointer-events: none; }
.banner-b1 { width: 380px; height: 380px; top: -170px; right: -90px; }
.banner-b2 { width: 260px; height: 260px; bottom: -140px; left: -60px; background: rgb(255 255 255 / 0.1); }
.section-circles { display: flex; gap: 6px; justify-content: space-between; margin: 26px 0 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; }
.section-circles::-webkit-scrollbar { display: none; }
.circle-link {
    flex: 1 0 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 84px;
    color: var(--ink); text-decoration: none; font-size: 0.84rem; font-weight: 600; text-align: center; line-height: 1.2;
}
.circle-link:hover { color: var(--ink); }
.circle-link:hover .circle { transform: translateY(-3px); box-shadow: 0 12px 22px -10px var(--c1); }
.section-circles-sm { justify-content: flex-start; flex-wrap: wrap; overflow: visible; gap: 14px; }
.section-circles-sm .circle-link { flex: 0 0 96px; }
@media (max-width: 600px) { .circle-link { flex-basis: 74px; min-width: 74px; font-size: 0.78rem; } }
.section-page { padding-top: 20px; padding-bottom: 56px; max-width: 1240px; }
.section-page .breadcrumbs { margin-bottom: 14px; }
.section-banner {
    position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr minmax(240px, 340px); align-items: center; gap: 18px 24px;
    padding: 30px 32px; border-radius: 24px; background: linear-gradient(120deg, var(--c1), var(--c2)); color: #fff;
}
.section-banner-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: rgb(255 255 255 / 0.2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35); }
.section-banner-icon .icon { width: 36px; height: 36px; }
.section-banner h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.section-banner p { margin: 0; color: rgb(255 255 255 / 0.92); }
.section-count { display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.2); font-size: 0.85rem; font-weight: 600; }
.section-filter { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--slate); box-shadow: 0 10px 24px -12px rgb(15 29 58 / 0.5); }
.section-filter .icon { color: var(--signal); }
.section-filter input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 1rem var(--text); color: var(--ink); padding: 7px 0; }
@media (max-width: 900px) {
    .section-banner { grid-template-columns: auto 1fr; padding: 24px 20px; }
    .section-filter { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .section-banner-icon { width: 52px; height: 52px; border-radius: 14px; } .section-banner-icon .icon { width: 26px; height: 26px; } }
.chip-row { display: flex; gap: 8px; margin: 22px 0 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chip-row::-webkit-scrollbar { display: none; }
@media (min-width: 601px) { .chip-row { flex-wrap: wrap; overflow-x: visible; } }
.tile-group { margin-top: 30px; }
.tile-group h2 { font-size: 1.2rem; margin-bottom: 14px; }
.section-empty { margin: 30px 0; color: var(--slate); }
.other-sections { margin-top: 56px; }
.other-sections h2 { font-size: 1.2rem; margin-bottom: 16px; }

@media (max-width: 600px) {
    .section-circles { margin-top: 16px; }
    .banner-b1 { width: 240px; height: 240px; top: -110px; right: -90px; }
    .section-page { padding-top: 12px; }
    .section-banner { padding: 18px 16px; border-radius: 20px; gap: 12px 14px; }
    .section-banner p { font-size: 0.92rem; }
    .chip-row { margin: 14px -16px 0; padding: 0 16px 4px; }
}
.section-banner .btn-create { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -12px rgb(15 29 58 / 0.5); }
.section-banner .btn-create .icon { color: var(--signal); }

/* Collections (/for and /for/{slug}, Pages/Collection.cshtml). */
.collection-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; }
.collection-card {
    display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 18px; border-radius: 18px; border: 1px solid var(--line);
    background: var(--paper); color: var(--ink); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.collection-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.collection-card-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; }
.collection-card-icon .icon { width: 26px; height: 26px; }
.collection-card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.collection-card-text strong { font-family: var(--display); font-size: 1.08rem; }
.collection-card-text span { color: var(--slate); font-size: 0.9rem; line-height: 1.45; }
.collection-card-text small { color: var(--slate); font-size: 0.8rem; font-weight: 600; }
@media (max-width: 600px) { .collection-list { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; } .collection-card { padding: 14px; } }
