/* Page shell: reset, site header and footer. Blog list styles: list.css (from the Laravel blog-list.css),
   article styles: article.css (from the Laravel article_style partial). */
:root {
    --nwt-bg: #000;
    --nwt-surface: #0f0f10;
    --nwt-line: #26262b;
    --nwt-text: #f3f3f5;
    --nwt-muted: #a3a3ab;
    --nwt-primary: #d50055;
    --nwt-hd: 75px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--nwt-bg); color: var(--nwt-text); font: 400 16px/1.5 Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nwt-container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* header: fixed like the main site, so list.css's --bl-hd offsets still apply */
.nwt-hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nwt-hd); background: rgba(0, 0, 0, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #141417; }
.nwt-hd .nwt-container { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1800px; }
.nwt-logo img { display: block; height: 38px; width: auto; }
.nwt-nav { display: flex; gap: 22px; font: 500 17px "Roboto Condensed", sans-serif; }
.nwt-nav a { text-decoration: none; color: #fff; white-space: nowrap; }
.nwt-nav a:hover, .nwt-nav a.on { color: #ff4d8d; }
.nwt-nav .nwt-live { font-size: 10px; padding: 1px 6px; margin-left: 4px; border-radius: 999px; background: #3a3a42; vertical-align: 2px; }
.nwt-hd-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nwt-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--nwt-line); background: #0b0b0d; border-radius: 6px; padding: 0 12px; height: 40px; width: 230px; }
.nwt-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: 400 15px Roboto, sans-serif; }
.nwt-search i { color: #aaa; }
.nwt-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 6px; font: 500 16px "Roboto Condensed", sans-serif; text-decoration: none; white-space: nowrap; }
.nwt-btn-light { background: #fff; color: #000 !important; }
.nwt-btn-ghost { border: 1px solid #3a3a42; color: #fff !important; }
.nwt-acct { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font: 500 16px "Roboto Condensed", sans-serif; }
.nwt-acct img, .nwt-acct .nwt-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--nwt-primary); }
.nwt-acct .nwt-av { display: grid; place-items: center; background: #222; font-size: 14px; }
.nwt-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid #3a3a42; border-radius: 6px; background: none; color: #fff; font-size: 22px; cursor: pointer; }
.nwt-drawer { display: none; }

@media (max-width: 1100px) {
    .nwt-search { width: 170px; }
    .nwt-nav { gap: 16px; font-size: 16px; }
}
@media (max-width: 900px) {
    .nwt-nav, .nwt-hd-right .nwt-search, .nwt-hd-right .nwt-getapp { display: none; }
    .nwt-hd-right { margin-left: auto; }
    .nwt-burger { display: block; margin-left: 0; }
    .nwt-drawer.open { display: block; position: fixed; top: var(--nwt-hd); left: 0; right: 0; bottom: 0; z-index: 99; background: #050506; padding: 18px 16px; overflow-y: auto; }
    .nwt-drawer a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--nwt-line); color: #fff; text-decoration: none; font: 500 19px "Roboto Condensed", sans-serif; }
    .nwt-drawer .nwt-search { width: 100%; margin-bottom: 8px; }
    .nwt-drawer a.nwt-btn { display: flex; margin-top: 16px; width: 100%; justify-content: center; border-bottom: 0; color: #000; }
}
@media (max-width: 480px) {
    .nwt-hd .nwt-container { gap: 12px; padding: 0 16px; }
    .nwt-logo img { height: 30px; }
    .nwt-acct .nwt-av + span, .nwt-acct img + span { display: none; }
}

/* footer: logo, legal links, Get App, contact (shown by JS only) */
.nwt-ft { border-top: 1px solid var(--nwt-line); background: #050506; padding: 40px 0 28px; margin-top: 40px; font: 400 15px Roboto, sans-serif; color: var(--nwt-muted); }
.nwt-ft-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.nwt-ft-brand img { height: 34px; width: auto; display: block; }
.nwt-ft-brand p { margin: 12px 0 0; max-width: 360px; }
.nwt-ft h3 { margin: 0 0 12px; color: #fff; font: 600 16px "Roboto Condensed", sans-serif; letter-spacing: .3px; }
.nwt-ft ul { list-style: none; margin: 0; padding: 0; }
.nwt-ft li { margin: 0 0 9px; }
.nwt-ft a { color: var(--nwt-muted); text-decoration: none; }
.nwt-ft a:hover { color: #fff; }
.nwt-ft-contact li { display: flex; gap: 8px; align-items: center; min-height: 22px; }
.nwt-ft-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--nwt-line); font-size: 13px; color: #74747c; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* main area below the fixed header */
.nwt-main { min-height: 60vh; }
.nwt-404 { padding: calc(var(--nwt-hd) + 80px) 0 80px; text-align: center; }
.nwt-404 h1 { font: 700 40px "Roboto Condensed", sans-serif; margin: 0 0 10px; }
.nwt-404 a { color: #ff4d8d; }

/* article page shell (article.css styles the article itself) */
.nwt-single { padding-top: calc(var(--nwt-hd) + 24px); padding-bottom: 20px; }
.nwt-crumb { font: 400 14px Roboto, sans-serif; color: var(--nwt-muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nwt-crumb a { color: var(--nwt-muted); text-decoration: none; }
.nwt-crumb a:hover { color: #fff; }
.nwt-article__cat { text-decoration: none; }
.nwt-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 15px "Roboto Condensed", sans-serif; color: var(--nwt-muted); }
.nwt-share a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--nwt-line); border-radius: 50%; color: #fff; text-decoration: none; font-size: 18px; }
.nwt-share a:hover { border-color: var(--nwt-primary); color: #ff4d8d; }
.nwt-suggest { max-width: 820px; margin: 40px auto 0; background: var(--nwt-surface); border: 1px solid var(--nwt-line); border-radius: 14px; padding: 24px; }
.nwt-suggest h2 { margin: 0 0 14px; font: 700 22px "Roboto Condensed", sans-serif; }
.nwt-native-wrap .bl-more { margin: 40px 0 0; }
.nwt-related { margin-top: 48px; }
.nwt-related h2 { font: 700 24px "Roboto Condensed", sans-serif; margin: 0 0 16px; }
.nwt-related .bl-title { font-size: 17px !important; }
.nwt-only { font-size: .75em; opacity: .75; font-weight: 400; margin-left: 2px; }
