.nd-detail {max-width:1180px;margin:auto}
.nd-back {display:inline-block;margin-bottom:18px}
.nd-detail-heading {display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.nd-detail-heading h1 {margin:0 0 12px}
.nd-detail-heading p {max-width:760px;line-height:1.65}
.nd-detail-actions {flex:none}
.nd-detail-tags {display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 30px}
.nd-detail-tags span {border:1px solid #e2e2d5;background:#f5f4ed;padding:8px 12px;border-radius:999px;font-size:13px}
.nd-gallery {display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px;margin:20px 0 34px}
.nd-gallery-item {background:#fff;border:1px solid #e7e7dc;border-radius:14px;overflow:hidden;min-width:0;box-shadow:0 5px 24px rgba(42,55,34,.05)}
.nd-gallery-preview {aspect-ratio:4/3;background:#f0f1eb;display:flex;justify-content:center;align-items:center;overflow:hidden}
.nd-gallery-preview a {height:100%;width:100%;display:flex;justify-content:center;align-items:center;text-decoration:none}
.nd-gallery-preview img {width:100%;height:100%;object-fit:contain}
.nd-preview-icon {display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;color:#4b6444;text-align:center;font-weight:700}
.nd-preview-icon span {font-size:36px}
.nd-preview-icon small {font-size:12px;font-weight:400}
.nd-gallery-caption {padding:15px;display:flex;flex-direction:column;gap:7px}
.nd-gallery-caption strong {overflow-wrap:anywhere;font-size:14px}
.nd-gallery-caption small,.nd-license-note {color:#687065;font-size:13px}
.nd-gallery-links {display:flex;gap:18px;margin-top:5px;font-size:14px}
.nd-gallery-links a {color:#4a6745;font-weight:600}
@media (max-width:720px) {.nd-detail-heading{display:block}.nd-detail-actions{margin-top:15px}.nd-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media (max-width:420px) {.nd-gallery{grid-template-columns:1fr}}

.nd-featured{margin:26px 0 18px;border:1px solid #e0e3d7;background:#f6f7f1;border-radius:16px;overflow:hidden}
.nd-featured-stage{height:min(58vh,550px);min-height:240px;display:flex;align-items:center;justify-content:center}
.nd-featured-stage img{display:block;width:100%;height:100%;object-fit:contain}
.nd-featured-stage iframe{width:100%;height:100%;border:0;background:white}
.nd-featured-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 15px;border-top:1px solid #e0e3d7}
.nd-featured-controls button{background:#fff;border:1px solid #cbd1c3;border-radius:9px;min-width:40px;min-height:38px;cursor:pointer}
.nd-featured-controls button:hover{background:#e5eadc}
#viewer-label{font-size:13px;text-align:center;overflow-wrap:anywhere}
@media(max-width:700px){.nd-featured-stage{height:360px}}
