/* portfolio-sections.css - Your work: Ideas, In review, Published, each with its place under Your work,
   and Featured's cards (board.css .cb-card) on the editor (17 Nov 2026).
   "make it so that we have "ideas", in review and publishes and we can sort by the type of project. make it look like the
   preview fromfeatured so it looks beautfiful and also make it so all of those sections have a section under work" (Matei) */
:root{--mute:var(--muted);--ideas:#f0b74a;--review:#a98bff;--published:#2ee6f0}

/* the sidebar: only Ideas, In review and Published, each with its colour (17 Nov 2026: "make ideas review and published be
   only categories on the left. we dont have an all work page anymroe"). No section pressed = all three side by side;
   a section pressed shows it alone, pressed again returns to the three. Archive sits apart, at the bottom.
   The dots are d-ideas/d-review/d-published: plain .review is the editor's review panel (padding 24px), and sharing it
   turned the In review dot into a large purple bubble. */
.nav.sub{padding-left:26px;position:relative}
.nav .dot{position:absolute;left:12px;top:50%;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;padding:0}
.dot.d-ideas{background:var(--ideas)}.dot.d-review{background:var(--review)}.dot.d-published{background:var(--published)}
.nav.sub.selected{background:#16242b;border-color:#2c4651}
.sidebottom .archivelink{width:100%;margin:0 0 22px;font-size:12px}

/* the tools: search, board or list, sort */
.sortby{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}
.sortby select{padding:7px 10px;font-size:12px}

/* the board: three sections side by side; one section alone is Featured's wall */
.board{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.board.single{display:block}
.lane{border-top:2px solid #45626c;padding-top:14px}
.lanehead{font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.board .lane:nth-child(1){border-top-color:var(--ideas)}
.board .lane:nth-child(2){border-top-color:var(--review)}
.board .lane:nth-child(3){border-top-color:var(--published)}
.board .lane:nth-child(4){border-top-color:#7de38a}
.board:not(.single):not(.list){grid-template-columns:repeat(4,minmax(0,1fr))}
.d-suggested{background:#7de38a}
.board.single .lane{border-top-color:#45626c}
/* 18 Nov 2026: "make a custom Ui which doesnt leave empty spaces" (Matei) - CSS columns balanced badly (one column ran
   far below the others). The wall is now packed by portfolio.js: each card goes to the shortest column, in reading order. */
.pf-mason{display:flex;gap:16px;align-items:flex-start}
.pf-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:16px}
.pf-col .pf-card{margin:0}
.lanemore{width:100%;margin:2px 0 14px;padding:9px;border-radius:12px;font-size:12px}
.pf-card[data-section="suggested"] .cb-kind{border-color:rgba(125,227,138,.6)}
.pf-card[data-section="suggested"].words .cb-pic{background:radial-gradient(80% 90% at 90% 0%,rgba(125,227,138,.26),transparent 60%),radial-gradient(70% 80% at 0% 100%,rgba(46,230,240,.14),transparent 60%),#07100c}

/* Featured's card, as a button */
.pf-card{width:100%;text-align:left;padding:0;font:inherit;color:inherit;cursor:pointer;background:#0b1118;border-radius:16px}
.pf-card:hover{background:#0b1118}
.pf-stack .pf-card{margin:0 0 14px}
.pf-card .cb-kind{font-size:9.5px}
.pf-card[data-section="ideas"] .cb-kind{border-color:rgba(240,183,74,.55)}
.pf-card[data-section="review"] .cb-kind{border-color:rgba(169,139,255,.6)}
.pf-card[data-section="published"] .cb-kind{border-color:rgba(46,230,240,.55)}
.pf-card.words .cb-pic{padding:44px 18px 20px}
.pf-card.words .cb-pic q{font-size:19px}
.pf-card[data-section="ideas"].words .cb-pic{background:radial-gradient(80% 90% at 90% 0%,rgba(240,183,74,.28),transparent 60%),radial-gradient(70% 80% at 0% 100%,rgba(255,95,158,.14),transparent 60%),#0c0a10}
.pf-card[data-section="review"].words .cb-pic{background:radial-gradient(80% 90% at 90% 0%,rgba(140,90,255,.32),transparent 60%),radial-gradient(70% 80% at 0% 100%,rgba(46,230,240,.14),transparent 60%),#070a12}
.pf-card[data-section="published"].words .cb-pic{background:radial-gradient(80% 90% at 90% 0%,rgba(46,230,240,.24),transparent 60%),radial-gradient(70% 80% at 0% 100%,rgba(140,90,255,.18),transparent 60%),#070a12}
.pf-card .cb-txt p{font-size:12px}

/* List: the picture beside the words */
.board.list{display:block;max-width:1100px}
.board.list .pf-card{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:stretch}
.board.list .pf-card .cb-pic{min-height:120px}
.board.list .pf-card.words .cb-pic{padding:34px 16px 16px}

@media (max-width:1300px){.board:not(.single):not(.list){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:1050px){.board,.board:not(.single):not(.list){grid-template-columns:minmax(0,1fr)}}
@media (max-width:700px){.nav.sub{padding-left:22px}.nav .dot{left:8px}.board.list .pf-card{grid-template-columns:1fr}.sortby{margin-left:0}}

/* the brand: the LT mark and "Portfolio editor", a link to the Store */
header a.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit}
header a.brand strong{font-size:19px;font-weight:500}
header a.brand:hover strong{color:#2ee6f0}

/* 21 Nov 2026: "make just the title appear so make the preview slightly larger because we dont have descriptions anymore" (Matei): the card is its picture and its title */
.pf-card .cb-pic img{height:220px;object-fit:cover}
.pf-card.words .cb-pic{min-height:220px;display:flex;flex-direction:column;justify-content:flex-end}
.pf-card .cb-txt{padding:14px 16px 16px}
.pf-card .cb-txt b{font-size:17px}
