/* NextBitz technology newsroom and community */
.news-site { background: #f7f9fc; }
.news-site .navbar { width: min(calc(100% - 2rem), 1280px); }
.news-site .nav-links a { padding-inline: .62rem; }
.news-site .nav-cta { white-space: nowrap; }
.account-news-hero, .editorial-hero, .submission-hero {
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(25, 118, 255, .32), transparent 28rem),
    linear-gradient(135deg, #06172e 0%, #0b2445 62%, #123e72 100%);
}
.account-news-hero h1, .submission-hero h1, .editorial-hero h1 { max-width: 820px; margin: .7rem 0 1.25rem; color: #fff; font-size: clamp(3rem, 6vw, 6rem); line-height: .98; letter-spacing: -.055em; }
.news-search-form { display: flex; align-items: center; gap: .45rem; min-width: min(100%, 350px); margin-left: auto; }
.news-search-form input { min-width: 0; flex: 1; padding: .66rem .8rem; color: var(--ink); background: #f6f9fc; border: 1px solid #c8d5e3; border-radius: 9px; }
.news-search-form input:focus { outline: 3px solid rgba(7,91,232,.16); border-color: var(--blue); }
.news-search-form button { min-height: 40px; padding: .6rem .9rem; color: #fff; background: var(--blue); border: 0; border-radius: 9px; font-weight: 850; cursor: pointer; }
.news-search-form button:hover { background: #064fc8; }
.news-toolbar .news-search-clear { padding: .45rem .25rem; border: 0; border-radius: 0; }
.news-toolbar .news-search-clear:hover { background: transparent; border: 0; text-decoration: underline; }
.news-toolbar { background: #fff; border-bottom: 1px solid var(--line); }
.news-toolbar-inner { display: flex; align-items: center; gap: .65rem; padding-block: 1rem; }
.news-toolbar-inner strong { margin-right: .4rem; color: var(--navy); font-size: .83rem; text-transform: uppercase; letter-spacing: .12em; }
.news-toolbar a { flex: 0 0 auto; padding: .45rem .72rem; color: #506078; text-decoration: none; font-size: .85rem; font-weight: 750; border: 1px solid transparent; border-radius: 999px; }
.news-toolbar a:hover, .news-toolbar a.selected { color: var(--blue); background: var(--blue-soft); border-color: #cfe2ff; }
.news-toolbar a span { margin-left: .2rem; opacity: .65; }
.signature-features { padding: clamp(3rem, 6vw, 5rem) 0; background: #eef3f8; border-bottom: 1px solid #dce5ef; }
.signature-features-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .6fr); align-items: end; gap: clamp(2rem, 6vw, 5rem); margin-bottom: 2rem; }
.signature-features-heading h2 { max-width: 720px; margin-top: .45rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; letter-spacing: -.045em; }
.signature-features-heading > p { color: var(--muted); }
.signature-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.signature-feature { position: relative; display: flex; min-height: 330px; padding: 1.8rem; overflow: hidden; flex-direction: column; color: var(--ink); background: #fff; border: 1px solid #d5e0eb; border-top: 5px solid var(--feature-color); border-radius: 18px; text-decoration: none; box-shadow: 0 14px 38px rgba(7,26,51,.06); transition: transform .18s ease, box-shadow .18s ease; }
.signature-feature:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(7,26,51,.12); }
.signature-feature.selected { outline: 3px solid var(--feature-ring); }
.signature-feature:focus-visible { outline: 3px solid var(--feature-color); outline-offset: 4px; }
.signature-feature-mark { display: grid; width: 52px; height: 52px; margin-bottom: 1.4rem; place-items: center; color: #fff; background: var(--feature-color); border-radius: 14px; font-size: 1.05rem; font-weight: 950; letter-spacing: -.02em; }
.signature-feature-label { color: var(--feature-color); font-size: .72rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.signature-feature h3 { margin: .45rem 0 .75rem; color: var(--navy); font-size: 1.55rem; line-height: 1.08; letter-spacing: -.035em; }
.signature-feature p { color: var(--muted); font-size: .93rem; }
.signature-feature-link { margin-top: auto; padding-top: 1.4rem; color: var(--feature-color); font-size: .86rem; font-weight: 900; }
.signature-alert { --feature-color: #c53838; --feature-ring: rgba(197,56,56,.28); }
.signature-fix { --feature-color: #075be8; --feature-ring: rgba(7,91,232,.25); }
.signature-tool { --feature-color: #16805b; --feature-ring: rgba(22,128,91,.27); }
.news-index { padding-block: clamp(3rem, 7vw, 6rem); }
.news-search-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; padding: 1rem 1.2rem; color: #526276; background: #edf4ff; border: 1px solid #cadefb; border-radius: 12px; }
.news-search-summary strong { color: var(--blue); font-size: 1.2rem; }
.news-search-summary span { color: var(--ink); font-weight: 800; }
.news-search-summary a { color: var(--blue); font-size: .86rem; font-weight: 850; white-space: nowrap; }
.lead-story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr); min-height: 520px; overflow: hidden; background: #fff; border: 1px solid #dbe4ee; border-radius: 26px; box-shadow: 0 28px 80px rgba(7,26,51,.1); }
.lead-story-media, .story-card-media { display: grid; place-items: center; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(145deg, #0b2445, #075be8); }
.lead-story-media img, .story-card-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-story-media span { font-size: 6rem; font-weight: 900; letter-spacing: -.08em; opacity: .3; }
.lead-story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4.5rem); }
.story-meta { color: #6a788a; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.story-meta span { margin-right: .55rem; color: var(--orange-dark); }
.lead-story h2, .story-card h2 { line-height: 1.12; letter-spacing: -.035em; }
.lead-story h2 { margin: 1.1rem 0 1.3rem; font-size: clamp(2rem, 4vw, 3.7rem); }
.lead-story h2 a, .story-card h2 a { text-decoration: none; }
.lead-story h2 a:hover, .story-card h2 a:hover { color: var(--blue); }
.lead-story-copy > p:not(.story-meta) { margin-bottom: 1.6rem; color: var(--muted); font-size: 1.04rem; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.story-card { position: relative; overflow: hidden; background: #fff; border: 1px solid #dbe4ee; border-radius: 20px; transition: transform .18s ease, box-shadow .18s ease; }
.story-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(7,26,51,.1); }
.story-card-media { height: 220px; }
.story-card-media span { font-size: 2rem; font-weight: 900; letter-spacing: .08em; opacity: .42; }
.story-card > div { padding: 1.6rem 1.6rem 4rem; }
.story-card h2 { margin: .7rem 0 .8rem; font-size: 1.45rem; }
.story-card > div > p:last-of-type { color: var(--muted); }
.story-arrow { position: absolute; right: 1.4rem; bottom: 1.2rem; display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; text-decoration: none; }
.community-callout { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin-bottom: 6rem; padding: clamp(2rem, 5vw, 4rem); background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.community-callout h2 { max-width: 680px; margin: .5rem 0 .8rem; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.045em; }
.community-callout p:last-child { max-width: 720px; color: var(--muted); }
.news-empty { max-width: 820px; margin: 2rem auto; padding: clamp(2.5rem, 6vw, 5rem); text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.news-empty h1, .news-empty h2 { margin: .7rem 0 1rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; }
.news-empty p { max-width: 600px; margin: 0 auto 1.5rem; color: var(--muted); }
.news-footer { margin-top: 0; }
.affiliate-footer { max-width: 300px; color: #bac9d9 !important; font-size: .86rem; }

/* Story detail */
.article-shell { padding: clamp(4rem, 8vw, 7rem) 0 0; background: #fff; }
.article-header { max-width: 960px; }
.back-link { display: inline-block; margin-bottom: 2.2rem; color: var(--blue); font-weight: 800; text-decoration: none; }
.back-link.light { color: #bcd8ff; }
.article-header h1 { margin: 1rem 0 1.3rem; font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.06em; }
.article-deck { max-width: 800px; color: #4f6176; font-family: Georgia, serif; font-size: clamp(1.25rem, 2.5vw, 1.8rem); line-height: 1.5; }
.article-byline { margin-top: 1.6rem; color: #6a788a; font-size: .9rem; font-weight: 700; }
.article-byline span { margin-inline: .5rem; color: var(--orange); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3rem, 6vw, 5.5rem); }
.article-image { margin-bottom: 2.5rem; overflow: hidden; background: var(--surface); border-radius: 22px; }
.article-image img { width: 100%; max-height: 620px; object-fit: cover; }
.article-content { color: #24364b; font-family: Georgia, 'Times New Roman', serif; font-size: 1.18rem; line-height: 1.9; }
.article-content p { margin-bottom: 1.7rem; }
.article-source { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.article-source a { color: var(--blue); }
.affiliate-card { position: sticky; top: 100px; padding: 1.5rem; background: #f7f9fc; border: 1px solid #d9e3ee; border-radius: 18px; }
.affiliate-label, .form-kicker { color: var(--orange-dark); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.affiliate-card h2 { margin: .5rem 0 .5rem; font-size: 1.35rem; }
.affiliate-card > p:not(.affiliate-label) { color: var(--muted); font-size: .9rem; }
.affiliate-card video { width: 100%; margin-top: 1rem; background: #000; border-radius: 10px; }
.affiliate-button { width: 100%; margin: 1.2rem 0 .8rem; text-align: center; }
.affiliate-card small { display: block; color: #667487; font-size: .72rem; line-height: 1.45; }
.comments-section { padding: clamp(4rem, 8vw, 7rem) 0; background: #eef3f8; border-top: 1px solid #dce4ed; }
.comments-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.comments-grid > div:first-child > h2 { margin: .6rem 0 1.7rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.comment-list { display: grid; gap: 1rem; }
.comment { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.4rem; background: #fff; border: 1px solid #dbe4ee; border-radius: 14px; }
.comment-avatar { display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-weight: 900; }
.comment h3 { font-size: 1rem; }
.comment time { color: #758397; font-size: .75rem; }
.comment p { margin-top: .65rem; color: #394b61; }
.no-comments { color: var(--muted); }
.comment-form-card, .community-auth-card, .submission-form, .editorial-card { background: #fff; border: 1px solid #d8e2ec; border-radius: 20px; box-shadow: 0 18px 55px rgba(7,26,51,.08); }
.comment-form-card { position: sticky; top: 100px; padding: 2rem; }
.comment-form-card h2, .community-auth-card h1, .community-auth-card h2 { margin: .45rem 0 .5rem; font-size: 2rem; letter-spacing: -.035em; }
.comment-form-card > p:not(.form-kicker), .community-auth-card > p { margin-bottom: 1.3rem; color: var(--muted); }
.comment-form-card form, .community-auth-card form, .submission-form, .editorial-publish-form { display: grid; gap: .72rem; }
.comment-form-card label, .community-auth-card label, .submission-form > label, .editorial-card label { color: #263a50; font-size: .86rem; font-weight: 800; }
.comment-form-card label span, .submission-form label span, .affiliate-editor label span { color: #7a8797; font-weight: 500; }
.comment-form-card input, .comment-form-card textarea, .community-auth-card input, .submission-form input, .submission-form textarea, .submission-form select, .editorial-card input, .editorial-card textarea { width: 100%; padding: .83rem .9rem; color: var(--ink); background: #fff; border: 1px solid #bac8d7; border-radius: 9px; }
.comment-form-card input:focus, .comment-form-card textarea:focus, .community-auth-card input:focus, .submission-form input:focus, .submission-form textarea:focus, .submission-form select:focus, .editorial-card input:focus, .editorial-card textarea:focus { outline: 3px solid rgba(7,91,232,.17); border-color: var(--blue); }
.news-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.news-alert { margin-bottom: 1.2rem; padding: .9rem 1rem; border-radius: 10px; font-size: .9rem; font-weight: 700; }
.news-alert.error { color: #8b1c1c; background: #ffeded; border: 1px solid #f7c2c2; }
.news-alert.success { color: #14633f; background: #e9f8f0; border: 1px solid #b9e6cd; }

/* Community accounts */
.community-auth-main { min-height: 740px; padding: clamp(4rem, 9vw, 7rem) 0; color: #fff; background: linear-gradient(135deg, #06172e 0%, #0b2445 60%, #0d3260 100%); }
.community-auth-main.compact { display: grid; place-items: center; }
.community-auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.community-auth-intro h1 { margin: .8rem 0 1.3rem; color: #fff; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.06em; }
.community-auth-intro > p:last-of-type { max-width: 640px; color: #c0d0e2; font-size: 1.1rem; }
.community-auth-intro ul { display: grid; gap: .7rem; margin-top: 1.8rem; list-style: none; color: #d5e1ee; }
.community-auth-intro li::before { content: '✓'; margin-right: .7rem; color: #69a6ff; font-weight: 900; }
.community-auth-card { padding: clamp(1.8rem, 4vw, 2.8rem); color: var(--ink); }
.community-login-card { width: min(calc(100% - 2rem), 480px); margin-inline: auto; }
.community-auth-card small, .submission-form small { color: #68788b; font-size: .75rem; }
.checkbox-row { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: .7rem; margin: .5rem 0; font-weight: 600 !important; }
.checkbox-row input { width: 18px !important; height: 18px; margin-top: .15rem; padding: 0 !important; }
.auth-switch { margin: 1.5rem 0 0 !important; padding-top: 1.2rem; text-align: center; border-top: 1px solid var(--line); }
.community-auth-card a { color: var(--blue); font-weight: 800; }

/* Account and submission */
.account-news-hero, .editorial-hero { padding: 4.5rem 0 3.5rem; }
.account-news-top { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.account-news-hero h1, .editorial-hero h1 { margin-bottom: .7rem; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.account-news-top > div:first-child > p:last-child { color: #c4d2e2; }
.account-news-actions { display: flex; align-items: center; gap: 1.3rem; }
.account-news-actions > a:last-child { color: #c6d7ea; font-weight: 800; }
.account-dashboard, .editorial-dashboard { padding-block: clamp(3rem, 7vw, 6rem); }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 4rem; }
.account-stats article { display: flex; flex-direction: column; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.account-stats strong { color: var(--blue); font-size: 2.5rem; line-height: 1; }
.account-stats span { margin-top: .5rem; color: var(--muted); font-size: .82rem; font-weight: 750; }
.submission-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.3rem; }
.submission-heading h2 { margin-top: .35rem; font-size: clamp(2rem, 4vw, 3rem); }
.submission-list { display: grid; gap: .8rem; }
.submission-list > article { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.submission-list h3 { margin-top: .4rem; font-size: 1.2rem; }
.submission-status { display: grid; justify-items: end; gap: .5rem; white-space: nowrap; }
.submission-status span { padding: .35rem .65rem; font-size: .72rem; font-weight: 900; border-radius: 999px; }
.status-pending { color: #805500; background: #fff2c7; }
.status-published { color: #12613b; background: #dff5e9; }
.status-rejected { color: #8a2b2b; background: #fde5e5; }
.submission-status a { color: var(--blue); font-size: .85rem; font-weight: 800; }
.review-note { margin-top: .6rem; color: #6b4d1f; font-size: .87rem; }
.account-empty { margin-top: 0; }
.submission-hero { padding: 4rem 0 4.5rem; }
.submission-hero h1 { margin: .7rem 0 1rem; font-size: clamp(3rem, 6vw, 5rem); }
.submission-hero p:last-child { max-width: 720px; color: #c5d3e2; }
.submission-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 2rem; padding-block: clamp(3rem, 7vw, 6rem); }
.submission-form { padding: clamp(1.7rem, 4vw, 3rem); }
.form-section { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; margin: 1.4rem 0 .7rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.form-section:first-of-type { margin-top: 0; padding-top: 0; border: 0; }
.form-section > span { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: .8rem; font-weight: 900; }
.form-section h2 { font-size: 1.35rem; }
.form-section p { color: var(--muted); font-size: .86rem; }
.editorial-guide { position: sticky; top: 100px; padding: 2rem; color: #d6e3f0; background: var(--navy); border-radius: 18px; }
.editorial-guide h2 { margin: .6rem 0 1.2rem; color: #fff; font-size: 1.5rem; }
.editorial-guide ol { display: grid; gap: 1rem; padding-left: 1.1rem; }
.editorial-guide > p:last-child { margin-top: 1.5rem; padding-top: 1.3rem; color: #aebfd1; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; }

/* Editorial review */
.editorial-list { display: grid; gap: 1rem; }
.editorial-card { overflow: hidden; }
.editorial-card summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem; cursor: pointer; list-style: none; }
.editorial-card summary::-webkit-details-marker { display: none; }
.editorial-card summary h3 { margin: .35rem 0 .45rem; font-size: 1.3rem; }
.editorial-card summary p:last-child { max-width: 760px; color: var(--muted); }
.editorial-card summary > span { flex: 0 0 auto; color: var(--blue); font-weight: 900; }
.editorial-card[open] summary { background: #f6f9fc; border-bottom: 1px solid var(--line); }
.editorial-card-body { padding: clamp(1.3rem, 4vw, 2.5rem); }
.editorial-two { display: grid; grid-template-columns: 1fr 220px; gap: 1rem; }
.editorial-two > div, .affiliate-editor { display: grid; gap: .45rem; }
.review-source { padding: 1rem; overflow-wrap: anywhere; background: var(--blue-soft); border-radius: 9px; }
.review-source a { color: var(--blue); }
.affiliate-editor { margin: 1rem 0; padding: 1.5rem; background: #fff8f1; border: 1px solid #ffd4b3; border-radius: 13px; }
.affiliate-editor h4 { margin: .25rem 0; font-size: 1.2rem; }
.affiliate-editor p { color: #73563f; font-size: .84rem; }
.editorial-reject-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.editorial-reject-form label { display: grid; gap: .4rem; }
.editorial-reject-form button { min-height: 44px; padding: .7rem 1rem; color: #8a2222; background: #fff; border: 1px solid #d99; border-radius: 8px; font-weight: 800; cursor: pointer; }

@media (max-width: 1040px) {
  .community-auth-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-story-media { min-height: 420px; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .comments-grid { grid-template-columns: 1fr; }
  .comment-form-card { position: static; max-width: 620px; }
  .submission-form-grid { grid-template-columns: 1fr; }
  .editorial-guide { position: static; }
  .news-toolbar-inner { flex-wrap: wrap; }
  .news-search-form { flex: 1 1 320px; }
  .signature-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signature-feature:last-child { grid-column: 1 / -1; min-height: 270px; }
}
@media (max-width: 760px) {
  .signature-features-heading, .signature-feature-grid { grid-template-columns: 1fr; }
  .signature-features-heading { gap: 1rem; }
  .signature-feature, .signature-feature:last-child { grid-column: auto; min-height: 280px; }
  .news-search-summary { align-items: flex-start; flex-direction: column; }
  .lead-story { min-height: 0; }
  .lead-story-media { min-height: 270px; }
  .story-grid { grid-template-columns: 1fr; }
  .community-callout, .account-news-top, .submission-list > article { align-items: flex-start; flex-direction: column; }
  .article-layout { grid-template-columns: 1fr; }
  .affiliate-card { position: static; }
  .article-header h1 { font-size: clamp(2.6rem, 13vw, 4.4rem); }
  .account-news-actions { align-items: flex-start; flex-direction: column; }
  .account-stats { grid-template-columns: 1fr; margin-bottom: 3rem; }
  .submission-heading { align-items: flex-start; flex-direction: column; }
  .submission-status { justify-items: start; }
  .editorial-card summary { align-items: flex-start; flex-direction: column; }
  .editorial-two, .editorial-reject-form { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .section-shell { width: min(calc(100% - 1.5rem), var(--max)); }
  .news-toolbar-inner { width: calc(100% - 1.5rem); }
  .news-search-form { flex: 1 0 100%; min-width: 100%; margin-top: .2rem; }
  .lead-story-copy, .community-callout, .community-auth-card, .submission-form { padding: 1.35rem; }
  .comment { grid-template-columns: 1fr; }
  .comment-form-card { padding: 1.35rem; }
}
