/* Generic pages: Contact, posts, archives, 404 — styled to match the Niyyah design. */
.niyyah-generic main { display: block; width: 100%; }
.ny-page-hero { padding: 120px 6vw 80px; border-bottom: 1.5px solid #171713; }
.ny-page-hero label { font: 11px "DM Mono", monospace; letter-spacing: .14em; }
.ny-page-hero h1 { font-family: "DM Sans", sans-serif; font-size: clamp(58px, 9vw, 130px); line-height: .88; letter-spacing: -.07em; margin: 45px 0 0; font-weight: 400; }
.ny-page-hero h1 em { font-family: "Playfair Display", serif; }
.ny-page-hero p { font-size: 20px; line-height: 1.5; max-width: 650px; margin: 35px 0 0; }
.ny-404 .contactbtn { margin-top: 35px; }
.ny-page-content { padding: 80px 6vw 110px; max-width: calc(860px + 12vw); font-family: "DM Sans", sans-serif; font-size: 18px; line-height: 1.6; }
.ny-page-content h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.05em; margin: 60px 0 20px; }
.ny-page-content h3 { font-size: 28px; line-height: 1.1; letter-spacing: -.03em; margin: 40px 0 15px; }
.ny-page-content a { text-decoration: underline; text-underline-offset: 3px; }
.ny-page-content a:hover { color: #8F7650; }
.ny-page-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.ny-page-content select,
.ny-page-content textarea { width: 100%; background: #fbf8f0; border: 1.5px solid #171713; color: #171713; font: 16px "DM Sans", sans-serif; padding: 14px 16px; }
.ny-page-content input[type="submit"],
.ny-page-content button,
.ny-page-content .wp-block-button__link { background: #c6b383; color: #171713; border: 1.5px solid #171713; border-radius: 999px; padding: 13px 22px; font: 700 15px "DM Sans", sans-serif; text-decoration: none; }
.ny-page-content input[type="submit"]:hover,
.ny-page-content button:hover,
.ny-page-content .wp-block-button__link:hover { background: #d7ed6b; }
.ny-post-list article { padding: 30px 0; border-bottom: 1.5px solid #171713; }
.ny-post-list article h2 { margin: 12px 0; }
.ny-post-list article h2 a { text-decoration: none; }
.ny-post-list small { font: 11px "DM Mono", monospace; letter-spacing: .1em; }
@media (max-width: 600px) {
    .ny-page-hero { padding: 75px 6vw 55px; }
    .ny-page-hero h1 { font-size: 14vw; margin-top: 35px; }
    .ny-page-hero p { font-size: 17px; }
    .ny-page-content { padding: 55px 6vw 75px; font-size: 16px; }
}
