/* NWT Portfolio page additions - load after nwt-home.css */
.nwt-project-card {
    overflow: hidden; border-radius: 18px; background: #fff;
    border: 1px solid rgba(18, 39, 75, .10);
    box-shadow: 0 12px 32px rgba(15, 35, 68, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.nwt-project-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(15, 35, 68, .13); }
.nwt-project-content { padding: 24px; }
.nwt-project-cat { color: #e87519; font-size: .82rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 10px; }
.nwt-project-card h3 { color: #12294b; font-size: 1.22rem; line-height: 1.35; margin: 0 0 12px; }
.nwt-project-card p { color: #647084; line-height: 1.7; margin: 0; }
.nwt-project-card-featured { grid-column: 1 / -1; }
.nwt-project-gallery {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
    padding: 12px; background: #f2f5fa;
}
.nwt-project-gallery a { display: block; overflow: hidden; border-radius: 9px; background: #e6ebf2; aspect-ratio: 16 / 9; }
.nwt-project-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.nwt-project-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.nwt-project-gallery a:hover img { transform: scale(1.045); }
.nwt-project-points { color: #4d5b70; padding-left: 20px; margin: 16px 0 10px; line-height: 1.8; }
.nwt-project-note { display: inline-block; margin-top: 8px; color: #778397; font-size: .82rem; }
.nwt-filter-btn { cursor: pointer; }
.nwt-filter-btn:focus-visible, .nwt-project-gallery a:focus-visible { outline: 3px solid #e87519; outline-offset: 3px; }
@media (max-width: 767px) {
    .nwt-project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nwt-project-gallery a:first-child { grid-column: span 2; grid-row: span 1; }
    .nwt-project-content { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .nwt-project-card, .nwt-project-gallery img { transition: none; }
}
