/* ============================================================
   RSG PLAIN PAGES
   Privacy Policy, Newsletter, Login, receipts, search results,
   and the not-found page. A dark title band, then the page
   content on white so forms and text stay readable.
   ============================================================ */

/* ── Page reset (plain pages only) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.5;
  color: var(--rsg-black);
  background: var(--rsg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Title band ── */
.rsg-page-hero {
  background: var(--rsg-black);
  color: var(--rsg-white);
  padding: calc(var(--nav-h) + 64px) 32px 56px;
}
.rsg-page-hero-inner { max-width: 900px; margin: 0 auto; }
.rsg-page-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rsg-red);
  margin-bottom: 16px;
}
.rsg-page-eyebrow::before { content: "/// "; }
.rsg-page-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.02em;
}
.rsg-page-hero p { margin-top: 14px; font-size: 16px; color: var(--rsg-text-dim); }

/* ── Content ── */
.rsg-page-body { background: var(--rsg-white); padding: 56px 32px 88px; }
.rsg-prose { max-width: 900px; margin: 0 auto; font-size: 16px; font-weight: 400; line-height: 1.7; color: #1c1c1c; }
.rsg-prose > *:first-child { margin-top: 0; padding-top: 0; }
.rsg-prose p { margin-bottom: 18px; }
.rsg-prose h2 { font-size: 26px; font-weight: 800; line-height: 1.25; margin: 0 0 14px; padding-top: 30px; }
.rsg-prose h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; padding-top: 20px; }
.rsg-prose h4 { font-size: 17px; font-weight: 700; margin: 0 0 10px; padding-top: 20px; }
.rsg-prose ul, .rsg-prose ol { margin: 0 0 0 22px; padding-bottom: 30px; }
.rsg-prose li { margin-bottom: 8px; }
.rsg-prose a { color: var(--rsg-red-deep); text-decoration: underline; text-underline-offset: 2px; }
.rsg-prose a:hover { color: var(--rsg-red); }
.rsg-prose strong { font-weight: 700; }
.rsg-prose img { height: auto; margin: 24px 0; }
.rsg-prose blockquote { border-left: 3px solid var(--rsg-red); padding: 4px 0 4px 20px; margin: 0 0 20px; color: var(--rsg-grey-700); }
.rsg-prose hr, .rsg-prose hr.wp-block-separator { margin: 40px 0; border: 0; border-top: 1px solid #cccccc; }
.rsg-prose table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.rsg-prose th, .rsg-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rsg-grey-100); }
.rsg-prose th { font-weight: 700; }

/* ── Forms inside page content (login, newsletter signup, store pages) ── */
.rsg-prose label { font-weight: 600; font-size: 14px; }
/* Newsletter signup (Mailchimp form in the page text): each label sits above its box. */
#mc-embedded-subscribe-form label { display: block; margin: 18px 0 6px; }
#mc-embedded-subscribe-form input[type="email"],
#mc-embedded-subscribe-form select { display: block; }
#mc-embedded-subscribe-form input[type="submit"] { margin-top: 22px; }
/* Mailchimp's hidden spam-trap box. People never see or fill it. */
#mc-embedded-subscribe-form input[name^="b_"] { position: absolute; left: -5000px; }
.rsg-prose input[type="text"],
.rsg-prose input[type="email"],
.rsg-prose input[type="password"],
.rsg-prose input[type="tel"],
.rsg-prose input[type="search"],
.rsg-prose select,
.rsg-prose textarea,
.rsg-search-form input[type="search"] {
  width: 100%; max-width: 520px;
  font-family: var(--font); font-size: 15px;
  padding: 11px 12px;
  border: 1px solid #c9c9c9; border-radius: 0;
  background: #fff; color: #111;
}
.rsg-prose input:focus, .rsg-prose select:focus, .rsg-prose textarea:focus,
.rsg-search-form input[type="search"]:focus { outline: 2px solid var(--rsg-red); outline-offset: 1px; }
.rsg-prose input[type="submit"],
.rsg-prose button[type="submit"],
.rsg-prose .button,
.rsg-btn {
  display: inline-block; cursor: pointer;
  background: var(--rsg-red); color: #fff;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 24px; border: none; border-radius: 0;
  text-decoration: none;
  transition: background 0.2s;
}
.rsg-prose input[type="submit"]:hover,
.rsg-prose button[type="submit"]:hover,
.rsg-prose .button:hover,
.rsg-btn:hover { background: var(--rsg-red-soft); color: #fff; }

/* The Security Briefing Request page carries its own heading inside the form. */
.page-id-1766 .rsg-page-hero h1,
.page-id-1766 .rsg-page-hero .rsg-page-eyebrow { display: none; }
.page-id-1766 .rsg-page-hero { padding: var(--nav-h) 0 0; }

/* ── Search form ── */
.rsg-search-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.rsg-search-form input[type="search"] { flex: 1 1 260px; }

/* ── Result and post lists ── */
.rsg-result-list { list-style: none; margin: 0; padding: 0; }
.rsg-result { padding: 22px 0; border-bottom: 1px solid var(--rsg-grey-100); margin: 0; }
.rsg-result:first-child { padding-top: 0; }
.rsg-result-type { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rsg-red); }
.rsg-result h2 { font-size: 20px; font-weight: 800; line-height: 1.3; margin: 4px 0 6px; padding-top: 0; }
.rsg-result h2 a { color: #111; text-decoration: none; }
.rsg-result h2 a:hover { color: var(--rsg-red); }
.rsg-result p { margin: 0; font-size: 15px; color: var(--rsg-grey-700); }
.rsg-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-weight: 700; font-size: 14px; }

/* ── Not found ── */
.rsg-404-links { list-style: none; margin: 8px 0 0; padding: 0 0 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.rsg-404-links li { margin: 0; }
.rsg-404-links a {
  display: block; padding: 14px 16px;
  border: 1px solid var(--rsg-grey-100);
  color: #111; font-weight: 700; text-decoration: none;
}
.rsg-404-links a:hover { border-color: var(--rsg-red); color: var(--rsg-red); }

@media (max-width: 768px) {
  .rsg-page-hero { padding: calc(var(--nav-h) + 40px) 24px 40px; }
  .rsg-page-body { padding: 40px 24px 64px; }
}
