/* Literal port of the moodboard-mockup HTML/CSS — class names match the
   mockup files exactly (spec §14), not an approximation of them. */

.visually-hidden { position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

.site-main { margin-top:20px; padding:0 40px; }

/* Hero/cover block (0.23.5, fixed 0.23.6) — self-contained, no theme
   nav. A flat dark overlay covers the whole photo so the centered white
   name/button stay readable regardless of how bright the source photo
   is — a bottom-up gradient (0.23.5) only darkened the lower edge,
   which didn't hold up once the text moved to the middle of the image
   (confirmed via screenshot on a bright photo). */
.mb-hero { position:relative; }
.mb-hero img { width:100%; aspect-ratio:1.56/1; object-fit:cover; display:block; }
.mb-hero-scrim { position:absolute; inset:0; background:rgba(0,0,0,.5); pointer-events:none; }
.mb-hero-content { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:0 40px; color:#fff; text-align:center; }
.mb-hero-name { margin:0 0 20px; font-size:34px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.mb-hero-cta { background:transparent; border:1px solid rgba(255,255,255,.7); color:#fff; padding:11px 26px; font-size:12px; letter-spacing:.12em; text-transform:uppercase; cursor:pointer; }
.mb-hero-cta:hover { background:rgba(255,255,255,.12); }
.mb-hero-brand { position:absolute; left:0; right:0; bottom:22px; text-align:center; font-size:11px; letter-spacing:.15em; text-transform:uppercase; color:rgba(255,255,255,.75); }

/* Board nav strip — board tabs + download + log out, shown below the
   hero on every board page (added per direct request, modeled on
   Client Gallery's own equivalent strip). */
.board-nav { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; padding:18px 40px; border-bottom:1px solid #ececec; }
.board-nav-tabs { display:flex; gap:26px; flex-wrap:wrap; }
.board-nav-tab { font-size:12px; letter-spacing:.05em; color:#999; text-decoration:none; padding-bottom:6px; border-bottom:2px solid transparent; }
.board-nav-tab.active { color:#111; border-bottom-color:#111; }
.board-nav-tab:hover { color:#111; }
.board-nav-actions { display:flex; align-items:center; gap:18px; }
.board-nav-download { display:flex; align-items:center; gap:6px; font-size:13px; color:#333; text-decoration:none; }
.board-nav-download-icon { font-size:12px; }
.board-nav-logout { font-size:13px; color:#999; text-decoration:none; padding-left:18px; border-left:1px solid #ddd; }
.board-nav-logout:hover { color:#333; }

.boardlist-wrap { position:relative; }
.boardlist-logout { position:absolute; top:0; right:20px; border-left:none; padding-left:0; }

/* Password gate — literal port of model-1-password.html */
.gate-wrap { display:flex; align-items:center; justify-content:center; padding:50px 20px; }
.gate-card { background:#fff; border-radius:6px; padding:44px 40px; max-width:380px; width:100%; box-shadow:0 10px 40px rgba(0,0,0,.06); text-align:center; }
.gate-card h2 { font-weight:400; font-size:22px; margin:0 0 6px; }
.gate-card p.sub { color:#666; font-size:13.5px; margin:0 0 26px; }
.gate-card .field { text-align:left; margin-bottom:14px; }
.gate-card label { display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#666; margin-bottom:5px; }
.gate-card input { width:100%; padding:12px 14px; border:1px solid rgba(17,17,17,.12); border-radius:4px; font-family:inherit; font-size:14px; }
.gate-card button, .gate-card a.button { display:block; width:100%; padding:13px; background:#111; color:#fff; border:none; border-radius:4px; font-size:13px; letter-spacing:.1em; text-transform:uppercase; cursor:pointer; margin-top:10px; text-decoration:none; text-align:center; }
.gate-error { color:#b3261e; font-size:13px; margin:-4px 0 14px; text-align:left; }

/* Board list — literal port of model-2-boards.html */
.boardlist-wrap { max-width:760px; margin:0 auto; padding:60px 20px 100px; }
.boardlist-wrap h1 { font-weight:400; font-size:26px; text-align:center; margin-bottom:8px; }
.boardlist-wrap p.sub { text-align:center; color:#666; font-size:14px; margin-bottom:44px; }
.boardlist-grid { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media (max-width:600px){ .boardlist-grid{ grid-template-columns:1fr; } }
.boardlist-card { background:#fff; border-radius:6px; overflow:hidden; box-shadow:0 6px 24px rgba(0,0,0,.06); text-decoration:none; color:inherit; display:block; transition:transform .15s; }
.boardlist-card:hover { transform:translateY(-3px); }
.boardlist-card img { width:100%; aspect-ratio:1.4/1; object-fit:cover; }
.boardlist-card .bl-body { padding:16px 18px; }
.boardlist-card .bl-title { font-size:17px; margin:0 0 4px; }
.boardlist-card .bl-meta { font-size:12px; color:#666; }

/* Board page shoot-details — literal port of model-3-golden-hour.html */
.shoot-details { max-width:720px; margin:0 auto 36px; padding:8px 0 28px; border-bottom:1px solid rgba(17,17,17,.12); }
.shoot-details h1 { font-size:30px; font-weight:400; margin:0 0 22px; }
.detail-row { display:grid; grid-template-columns:140px 1fr; gap:16px; padding:9px 0; font-size:15px; }
.detail-row .label { font-size:11px; letter-spacing:.15em; text-transform:uppercase; color:#666; font-weight:500; padding-top:2px; }
.detail-row .value { color:#222; }


/* Board grid — literal port of model-3-golden-hour.html */
.board-grid { column-count:3; column-gap:20px; max-width:1200px; margin:0 auto; padding-bottom:40px; }
@media (max-width:900px){ .board-grid{ column-count:2; } }
@media (max-width:560px){ .board-grid{ column-count:1; } }
.board-item { break-inside:avoid; margin-bottom:20px; background:#fff; }
.photo-wrap { position:relative; }
.board-item img { width:100%; display:block; }
.board-item img.mb-lazy-photo[data-mb-src] { min-height:180px; background:#eee; }
.board-item .item-actions { position:absolute; top:10px; right:10px; display:flex; gap:6px; }
.icon-btn { width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center; cursor:pointer; border:none; color:#333; padding:0; }
.icon-btn.liked { color:#e0455f; }
.own-tag { position:absolute; top:10px; left:10px; background:rgba(17,17,17,.75); color:#fff; font-size:10px; letter-spacing:.08em; text-transform:uppercase; padding:4px 8px; border-radius:3px; }
.photo-tags { position:absolute; bottom:10px; left:10px; display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
.admin-liked-tag { display:flex; align-items:center; gap:5px; background:rgba(17,17,17,.75); color:#fff; font-size:10.5px; padding:4px 9px; border-radius:3px; }
.admin-liked-tag svg { color:#e0455f; flex-shrink:0; }
.fav-tag { display:flex; align-items:center; gap:6px; background:rgba(255,255,255,.92); color:#333; font-size:12.5px; padding:5px 10px; border-radius:3px; }
.fav-tag svg { color:#e0455f; flex-shrink:0; }
.delete-x { position:absolute; bottom:10px; right:10px; width:28px; height:28px; border-radius:50%; background:rgba(17,17,17,.75); color:#fff; border:none; font-size:14px; cursor:pointer; display:flex; align-items:center; justify-content:center; }

.comment-thread { background:#fafafa; border-top:1px solid rgba(17,17,17,.12); padding:14px 16px; font-size:13.5px; }
.comment-thread .msg { margin-bottom:10px; }
.comment-thread .msg:last-child { margin-bottom:0; }
.comment-thread .who { font-weight:600; font-size:12px; }
.comment-thread .who.you { color:#2c3542; }
.comment-thread .when { font-weight:400; color:#666; margin-left:6px; font-size:11px; }
.comment-thread .text { margin-top:2px; color:#333; }
.comment-thread .empty-note { color:#666; font-size:12.5px; font-style:italic; margin-bottom:10px; }
.comment-thread .reply-row { display:flex; gap:8px; margin-top:12px; }
.comment-thread .reply-row input { flex:1; border:1px solid rgba(17,17,17,.12); border-radius:20px; padding:7px 14px; font-size:13px; font-family:inherit; }
.comment-thread .reply-row button { border:none; background:#111; color:#fff; border-radius:20px; padding:7px 16px; font-size:12px; text-transform:uppercase; cursor:pointer; }

.upload-widget { break-inside:avoid; border:2px dashed #b8bcc0; border-radius:4px; min-height:160px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:#666; margin-bottom:20px; background:rgba(255,255,255,.4); cursor:pointer; }
.upload-widget .plus { font-size:28px; font-weight:300; line-height:1; }
.upload-widget .cap { font-size:11.5px; color:#666; }
.upload-widget input[type="file"] { display:none; }
.upload-cap-note { break-inside:avoid; color:#666; font-size:12.5px; text-align:center; padding:20px 0; }

.mb-empty { text-align:center; color:#666; padding:60px 0; }
