.project-text-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #002f67, #0052a2);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 28px;
    text-align: center;
    font-weight: 600;
}
.project-text-cover i { font-size: 3rem; }
.single-project .page-banner {
    min-height: 0;
    padding: 34px 0 32px;
}
.single-project .page-banner-sub {
    margin-bottom: 14px;
    color: #a4c5df;
    font-size: .72rem;
    letter-spacing: .13em;
}
.single-project .page-banner-title {
    max-width: 1050px;
    margin-bottom: 18px;
    font-size: clamp(1.8rem, 3.2vw, 2.65rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.025em;
}
.single-project .breadcrumbs { color: #c1ced8; font-size: .78rem; line-height: 1.7; }
.single-project .breadcrumbs a { color: #c1ced8; }
.project-detail { padding: 32px 0 64px; }
.project-media { margin-bottom: 52px; }
.project-media-grid {
    display: grid;
    grid-template-columns: repeat(var(--media-columns), minmax(0, 1fr));
    gap: 20px;
}
.project-media-grid figure { margin: 0; min-width: 0; }
.project-media-frame {
    position: relative;
    height: clamp(320px, 37vw, 470px);
    background: #f0f2f3;
    border-radius: 3px;
    overflow: hidden;
}
.project-media-frame .product-image-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.project-media-frame img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.project-media-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.project-media-frame .product-image-hint {
    right: 12px;
    bottom: 12px;
    background: #142a3cd9;
    border-radius: 3px;
    font-size: 20px;
}
.project-media-grid figcaption {
    display: flex;
    gap: 12px;
    margin-top: 13px;
    color: #526171;
    font-size: .82rem;
    line-height: 1.6;
}
.project-media-index { color: #86929e; font-size: .72rem; padding-top: 1px; }
.project-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid #ffffffa6;
    border-radius: 50%;
    background: #142a3cbd;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: background .2s;
}
.project-video-play[hidden] { display: none; }
.project-video-play:hover { background: #142a3c; }
.project-video-play:focus-visible { outline: 3px solid #0875ee; outline-offset: 4px; }
.project-video-play i { margin-left: 3px; }
.project-video-error { color: #a53232; margin-top: 10px; font-size: .85rem; }
.project-cover-video { position: relative; height: 100%; margin: 0; }
.project-cover-video .project-media-frame { height: 100%; border-radius: 0; }
.project-cover-video video { object-fit: cover; }
.project-cover-video.is-playing video { object-fit: contain; background: #142a3c; }
.project-cover-video .project-video-play {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.project-cover-video .project-video-play-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid #ffffffa6;
    border-radius: 50%;
    background: #142a3cbd;
}
.project-cover-video .project-video-play:hover .project-video-play-icon { background: #142a3c; }
.project-cover-video .project-video-error { position: absolute; bottom: 0; margin: 0; padding: 8px; background: #fff; }
.project-info-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.project-info-grid.has-facts { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 64px; }
.project-story { min-width: 0; }
.project-story > h2 {
    margin: 0 0 22px;
    color: #142a3c;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}
.project-prose { max-width: 72ch; color: #526171; font-size: .98rem; line-height: 1.9; }
.project-prose p { margin: 0 0 18px; }
.project-notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.project-note { padding-top: 20px; border-top: 1px solid #dfe4e8; }
.project-note h3 { margin: 0 0 13px; color: #142a3c; font-size: 1rem; font-weight: 600; }
.project-note ul { margin: 0; padding-left: 18px; list-style: disc; color: #526171; font-size: .9rem; line-height: 1.85; }
.project-note li + li { margin-top: 8px; }
.project-facts { border-left: 1px solid #dfe4e8; padding-left: 32px; min-width: 0; }
.project-facts h2 { margin: 0 0 8px; color: #142a3c; font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.project-facts dl { margin: 0; }
.project-facts dl > div { padding: 16px 0; border-bottom: 1px solid #e6eaed; }
.project-facts dt { color: #7b8792; font-size: .75rem; margin-bottom: 6px; }
.project-facts dd { margin: 0; color: #263b4b; font-size: .9rem; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 900px) {
    .project-media-grid { gap: 14px; }
    .project-info-grid.has-facts { gap: 30px; }
    .project-facts { padding-left: 22px; }
}
@media (max-width: 700px) {
    .single-project .page-banner { padding: 28px 0; }
    .single-project .page-banner-title { font-size: 1.75rem; }
    .project-detail { padding: 24px 0 44px; }
    .project-media { margin-bottom: 36px; }
    .project-media-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .project-media-frame { height: clamp(340px, 110vw, 480px); }
    .project-info-grid.has-facts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .project-story > h2 { font-size: 1.35rem; }
    .project-notes-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .project-facts { padding: 24px 0 0; border-left: 0; border-top: 1px solid #dfe4e8; }
}
