/* Public project detail page. Kept separate from the page renderer. */
.project-page-hide { display: none !important; }
#projectPage { width: 100%; padding: clamp(22px, 5vw, 64px) 18px; box-sizing: border-box; }
.project-page-shell { max-width: 1040px; margin: 0 auto; }
.project-page-back { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--text-color, #334155); text-decoration: none; font-weight: 600; }
.project-page-back:hover { text-decoration: underline; }
.project-page-card { overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border: 1px solid rgba(100,116,139,.24); border-radius: 24px; background: var(--card-bg, #fff); box-shadow: 0 20px 60px rgba(15,23,42,.09); }
.project-page-image-wrap { min-height: 300px; background: linear-gradient(135deg, #e0f2fe, #f8fafc); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.project-page-image { display: block; width: 100%; height: 100%; min-height: 300px; max-height: 520px; object-fit: cover; }
.project-page-image-placeholder { font-size: 76px; color: #64748b; }
.project-page-content { padding: clamp(24px, 4vw, 48px); align-self: center; min-width: 0; }
.project-page-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; color: #475569; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.project-page-status { border-radius: 999px; padding: 5px 10px; background: #ecfdf5; color: #047857; letter-spacing: 0; }
.project-page-content h1 { margin: 0 0 16px; color: var(--heading-color, #0f172a); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; overflow-wrap: anywhere; }
.project-page-description { margin: 0; color: var(--text-color, #475569); line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.project-page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.project-page-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 16px; border: 1px solid rgba(100,116,139,.35); border-radius: 12px; color: var(--text-color, #334155); background: transparent; text-decoration: none; font-weight: 700; }
.project-page-button.primary { border-color: #ff7a00; background: #ff7a00; color: #fff; }
.project-page-button:hover { transform: translateY(-1px); }
.project-page-button.is-disabled { color: #64748b; background: #f1f5f9; }
.project-page-powered { margin: 20px 0 0; color: #64748b; font-size: .88rem; text-align: center; }
.project-page-powered a { color: inherit; font-weight: 700; }
@media (max-width: 720px) { .project-page-card { grid-template-columns: 1fr; } .project-page-image-wrap, .project-page-image { min-height: 210px; max-height: 330px; } .project-page-content { padding: 24px 20px; } .project-page-actions { flex-direction: column; align-items: stretch; } .project-page-button { width: 100%; box-sizing: border-box; } }
