/*
Theme Name: RedZone V6
Theme URI: https://redzone.co/
Author: RedZone
Description: GitHub-ready RedZone website theme. Preserves the supplied interactive marketing pages while adding native WordPress media management, integrations, blog templates, Gutenberg support, and reusable page templates.
Version: 2.67.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: redzone-v6
*/

:root {
  --rz-red: #c2504a;
  --rz-red-dark: #a94339;
  --rz-ink: #383838;
  --rz-muted: #6b6b6b;
  --rz-line: #e2e0dc;
  --rz-soft: #f4f5f2;
  --rz-green: #3f7a67;
  --rz-gold: #f7d08a;
  --rz-content: 840px;
  --rz-wide: 1240px;
}

/* support.js ships a full-page canvas mode that sets html, body and #dc-root to
   height: 100%. That is right for the standalone preview it was written for and
   wrong here: it clamps the document to a single viewport, and a sticky header
   can only stick inside its containing block, so the header scrolled away a few
   hundred pixels down every static page. Overridden rather than edited out of
   the vendor script, and !important because that script injects its rule at
   runtime, after this stylesheet. */
html, body { height: auto !important; }
#dc-root, #dc-root > .sc-host { height: auto !important; }

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--rz-ink); background: #fff; font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--rz-red-dark); }
a:hover { color: var(--rz-red); }

/* WordPress-managed header/footer used by blog, generic pages and builder pages. */
/* Mirrors the design-system header on the static pages: same 92px bar, same
   32px rhythm, same two-line dropdowns, so a WordPress page reads as the same
   site. Values come from the component's computed styles rather than being
   approximated. */
.rz-wp-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--rz-line); }
.rz-wp-header__inner { max-width: var(--rz-wide); height: 92px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.rz-wp-logo { display: flex; align-items: center; flex: 0 0 auto; }
.rz-wp-logo img { display: block; height: 56px; width: auto; object-fit: contain; }

.rz-wp-nav { display: flex; align-items: center; gap: 32px; font-size: 18px; font-weight: 600; }
.rz-wp-nav .rz-wp-menu { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.rz-wp-nav li { position: relative; margin: 0; }
/* The vertical padding fills the bar height, so the dropdown opens flush
   against the header and the pointer never crosses a dead gap. */
.rz-wp-nav > .rz-wp-menu > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 26px 0; line-height: 1.5; color: var(--rz-ink); text-decoration: none; white-space: nowrap; }

.rz-wp-nav .sub-menu { display: none; position: absolute; top: 100%; left: -18px; z-index: 60; width: 300px; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--rz-line); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 28px rgba(56,56,56,.10); }
.rz-wp-nav li:hover > .sub-menu, .rz-wp-nav li:focus-within > .sub-menu { display: block; }
.rz-wp-nav .sub-menu a { display: block; padding: 14px 18px; color: var(--rz-ink); text-decoration: none; border-bottom: 1px solid var(--rz-line); }
.rz-wp-nav .sub-menu li:last-child > a { border-bottom: 0; }
.rz-wp-nav .sub-menu a:hover { background: var(--rz-soft); color: var(--rz-ink); }
.rz-wp-menu-title { display: block; font-size: 18px; font-weight: 700; }
.rz-wp-menu-desc { display: block; font-size: 16px; font-weight: 400; color: var(--rz-muted); }

.rz-wp-actions { display: flex; align-items: center; gap: 16px; }
.rz-wp-login { color: var(--rz-ink); text-decoration: none; font-size: 17px; font-weight: 600; white-space: nowrap; }
.rz-wp-cta, .rz-inline-button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 10px; background: var(--rz-red); color: #fff !important; font-size: 16px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.rz-wp-cta:hover, .rz-inline-button:hover { background: var(--rz-red-dark); color: rgba(255, 255, 255, .88) !important; }
.rz-inline-button--secondary { background: #fff; border: 1px solid var(--rz-line); color: var(--rz-ink) !important; }
.rz-inline-button--secondary:hover { background: var(--rz-soft); }

/* Matches the footer the static pages render, value for value, so the two do
   not read as different footers when moving between them. */
.rz-wp-footer { background: var(--rz-ink); color: #e2e0dc; }
.rz-wp-footer__inner { max-width: var(--rz-wide); margin: 0 auto; padding: 44px 40px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
/* The design system gives links a 1.55 line height on the static pages and
   is not loaded here, so it is stated rather than inherited — otherwise the
   two footers sit at different heights. */
.rz-wp-footer a { color: #e2e0dc; text-decoration: none; line-height: 1.55; }
.rz-wp-footer a:hover { color: #fff; }
.rz-wp-footer__nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 16px; font-weight: 500; }
.rz-wp-footer__nav .rz-footer-menu { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.rz-wp-footer__terms { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.rz-wp-footer__legal { font-size: 14px; line-height: 1.5; color: #adadad; }
.rz-wp-footer__legal span { display: block; }
.rz-footer-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* Generic Gutenberg/editor page. */
.rz-editor-shell { min-height: 70vh; }
.rz-editor-content { width: 100%; }
.rz-editor-content > *:first-child { margin-top: 0; }
.rz-standard-main { max-width: var(--rz-wide); margin: 0 auto; padding: 72px 40px 96px; }
.rz-page-article { max-width: var(--rz-content); margin: 0 auto; }
.rz-page-header h1, .rz-standard-main > h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.03em; margin: 0 0 32px; }
.rz-entry-content { font-size: 18px; line-height: 1.72; }
.rz-entry-content > * { max-width: var(--rz-content); margin-left: auto; margin-right: auto; }
.rz-entry-content > .alignwide { max-width: var(--rz-wide); }
.rz-entry-content > .alignfull { max-width: none; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.rz-entry-content h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -.025em; margin-top: 2em; }
.rz-entry-content h3 { font-size: 25px; line-height: 1.18; margin-top: 1.7em; }
.rz-entry-content p, .rz-entry-content li { color: #4c4c4c; }
.rz-entry-content blockquote { margin: 36px 0; padding: 18px 24px; border-left: 4px solid var(--rz-red); background: var(--rz-soft); font-size: 21px; }
.rz-entry-content figure { margin-top: 36px; margin-bottom: 36px; }
.rz-entry-content figcaption { color: var(--rz-muted); font-size: 14px; }
.rz-entry-content table { width: 100%; border-collapse: collapse; }
.rz-entry-content th, .rz-entry-content td { padding: 12px; border-bottom: 1px solid var(--rz-line); text-align: left; }

/* Blog / Insights. */
.rz-kicker { color: var(--rz-red); font-size: 14px; line-height: 1.2; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.rz-blog-hero { background: var(--rz-soft); border-bottom: 1px solid var(--rz-line); }
.rz-blog-hero__inner { max-width: var(--rz-wide); margin: 0 auto; padding: 82px 40px 72px; }
.rz-blog-hero h1 { max-width: 900px; margin: 16px 0 18px; font-size: clamp(40px, 5.2vw, 60px); line-height: 1.02; letter-spacing: -.03em; }
.rz-blog-hero p, .rz-archive-description { max-width: 760px; margin: 0; color: #4c4c4c; font-size: 20px; line-height: 1.55; }
.rz-blog-hero--compact .rz-blog-hero__inner { padding-top: 60px; padding-bottom: 54px; }
.rz-blog-hero--compact h1 { font-size: clamp(40px, 6vw, 64px); }
.rz-blog-shell { max-width: var(--rz-wide); margin: 0 auto; padding: 64px 40px 96px; }
.rz-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.rz-post-card { border: 1px solid var(--rz-line); border-radius: 12px; background: #fff; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.rz-post-card__media { display: block; aspect-ratio: 5/3; overflow: hidden; background: var(--rz-ink); text-decoration: none; }
.rz-post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.rz-post-card:hover .rz-post-card__media img { transform: scale(1.025); }
.rz-post-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-weight: 800; letter-spacing: .04em; }
.rz-post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.rz-post-card__eyebrow { color: var(--rz-green); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rz-post-card__title { margin: 12px 0 12px; font-size: 25px; line-height: 1.12; letter-spacing: -.02em; }
.rz-post-card__title a { color: var(--rz-ink); text-decoration: none; }
.rz-post-card__title a:hover { color: var(--rz-red); }
.rz-post-card__excerpt { margin: 0 0 20px; color: #4c4c4c; line-height: 1.55; }
.rz-post-card__meta { margin-top: auto; color: var(--rz-muted); font-size: 13px; }
.rz-pagination { margin-top: 52px; }
.rz-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.rz-pagination a, .rz-pagination span { display: inline-flex; min-width: 42px; min-height: 42px; padding: 8px 12px; align-items: center; justify-content: center; border: 1px solid var(--rz-line); border-radius: 7px; text-decoration: none; color: var(--rz-ink); }
.rz-pagination .current { background: var(--rz-ink); color: #fff; border-color: var(--rz-ink); }
.rz-empty-state { max-width: 720px; padding: 56px 0; }

.rz-article-header { background: var(--rz-soft); border-bottom: 1px solid var(--rz-line); }
.rz-article-header__inner { max-width: 980px; margin: 0 auto; padding: 76px 40px 66px; }
.rz-article-header h1 { font-size: clamp(44px, 7vw, 76px); line-height: .99; letter-spacing: -.04em; margin: 16px 0 22px; }
.rz-article-excerpt { max-width: 760px; color: #4c4c4c; font-size: 21px; line-height: 1.55; }
.rz-article-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--rz-muted); font-size: 14px; font-weight: 600; }
.rz-article-featured { max-width: var(--rz-wide); margin: 48px auto 0; padding: 0 40px; }
.rz-article-featured img { width: 100%; max-height: 720px; object-fit: cover; border-radius: 12px; display: block; }
.rz-article-content { max-width: var(--rz-content); margin: 0 auto; padding: 62px 24px 80px; }
.rz-article-tags { max-width: var(--rz-content); margin: -40px auto 80px; padding: 0 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.rz-article-tags a { display: inline-flex; padding: 7px 10px; border: 1px solid var(--rz-line); border-radius: 999px; text-decoration: none; font-size: 13px; }
.rz-related { border-top: 1px solid var(--rz-line); background: var(--rz-soft); }
.rz-related__inner { max-width: var(--rz-wide); margin: 0 auto; padding: 64px 40px 84px; }
.rz-related h2 { font-size: 38px; letter-spacing: -.025em; margin: 12px 0 28px; }
.rz-comments { max-width: var(--rz-content); margin: 0 auto; padding: 64px 24px 84px; border-top: 1px solid var(--rz-line); }
.rz-comment-list { padding-left: 22px; }

/* Form plugins inserted into the static design or used via [rz_contact_form]. */
.rz-contact-plugin-mount { display: none !important; }
.rz-plugin-form { width: 100%; }
.rz-plugin-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.rz-plugin-form select,
.rz-plugin-form textarea { width: 100%; max-width: 100%; padding: 12px 14px; border: 1px solid var(--rz-line); border-radius: 10px; background: #eef3ef; color: var(--rz-ink); font: inherit; }
.rz-plugin-form textarea { min-height: 120px; }
.rz-plugin-form input[type="submit"], .rz-plugin-form button[type="submit"] { border: 0; border-radius: 8px; padding: 12px 18px; background: var(--rz-red); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* ---------------------------------------------------------------------------
   Plugin form, WPForms modern render.

   WPForms emits its Form Theme as custom properties on :root. Redeclaring them
   on the container wins outright — an element's own declaration beats a value
   inherited from an ancestor, whatever the selectors look like — so the form
   matches the site whether or not a theme is selected in the form builder.

   Scoped to .rz-plugin-form, which wraps both the [rz_contact_form] shortcode
   on WordPress pages and the form static-enhancements.js swaps into the static
   pages. Values mirror the contact form the static pages style inline.
   --------------------------------------------------------------------------- */
.rz-plugin-form .wpforms-container {
  max-width: none;
  margin: 0;

  --wpforms-field-background-color: #eef3ef;
  --wpforms-field-border-color: var(--rz-line);
  --wpforms-field-border-color-spare: var(--rz-line);
  --wpforms-field-border-radius: 10px;
  --wpforms-field-text-color: var(--rz-ink);

  --wpforms-label-color: var(--rz-ink);
  --wpforms-label-sublabel-color: var(--rz-muted);
  --wpforms-label-error-color: var(--rz-red);

  --wpforms-button-background-color: var(--rz-red);
  --wpforms-button-border-color: var(--rz-red);
  --wpforms-button-text-color: #ffffff;
  --wpforms-button-border-radius: 10px;

  --wpforms-page-break-color: var(--rz-red);
}

/* Fields sit two-up above 560px, the same grid the demo form uses. */
.rz-plugin-form .wpforms-field-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rz-plugin-form .wpforms-field { padding: 0; }
/* Fields that carry two inputs or a block of choices want the full width. */
.rz-plugin-form .wpforms-field-name,
.rz-plugin-form .wpforms-field-address,
.rz-plugin-form .wpforms-field-textarea,
.rz-plugin-form .wpforms-field-checkbox,
.rz-plugin-form .wpforms-field-radio,
.rz-plugin-form .wpforms-field-gdpr-checkbox { grid-column: 1 / -1; }

/* The size class lands on the row wrapper as well as the input, and caps width
   at a fraction. The grid track already sets the width. */
.rz-plugin-form .wpforms-field-small,
.rz-plugin-form .wpforms-field-medium,
.rz-plugin-form .wpforms-field-large { max-width: 100%; width: 100%; }

/* Uppercase labels are a type treatment; the colour comes from the variable
   above. The name field renders its label as a <legend>, which needs the
   width restated to sit on its own line. */
.rz-plugin-form .wpforms-container .wpforms-field-label { display: block; float: none; width: 100%; margin: 0 0 8px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rz-plugin-form legend.wpforms-field-label { padding: 0; }
.rz-plugin-form .wpforms-required-label { color: var(--rz-red); }
/* Sublabels sit inside the label and would inherit the uppercase treatment.
   The inline label on a consent checkbox is running text, not a field label. */
.rz-plugin-form .wpforms-field-sublabel,
.rz-plugin-form .wpforms-field-description,
.rz-plugin-form .wpforms-field-label-inline { font-weight: 400; letter-spacing: 0; text-transform: none; }

/* The inline demo form sets outline: none. Keyboard users still need a ring. */
.rz-plugin-form .wpforms-form input:focus-visible,
.rz-plugin-form .wpforms-form select:focus-visible,
.rz-plugin-form .wpforms-form textarea:focus-visible { outline: 2px solid var(--rz-red); outline-offset: 1px; }

.rz-plugin-form .wpforms-submit-container { margin-top: 26px; padding: 0; }
.rz-plugin-form .wpforms-container button[type="submit"] { min-height: 50px; padding: 0 30px; font-size: 16px; font-weight: 800; }
/* Matches every other red button on the site: darker ground, dimmed label. */
.rz-plugin-form .wpforms-form button[type="submit"]:hover {
  --wpforms-button-background-color: var(--rz-red-dark);
  --wpforms-button-text-color: rgba(255, 255, 255, .88);
  background-color: var(--rz-red-dark);
  color: rgba(255, 255, 255, .88);
}
.rz-form-not-configured { padding: 18px; border: 1px dashed var(--rz-line); background: var(--rz-soft); }
.rz-static-extra-link { font-size: 17px; }

/* Header breakpoints follow the component: compact at 1100, items drop at 860. */
/* Visually hidden but available to assistive technology. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Contact section for WordPress templates, matching the static pages' own. */
.rz-contact { border-top: 1px solid var(--rz-line); }
.rz-contact__inner { max-width: var(--rz-wide); margin: 0 auto; padding: 88px 40px 96px; display: grid; gap: 72px; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.rz-contact__title { margin: 0 0 20px; font-size: 46px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; max-width: 18em; }
.rz-contact__intro { margin: 0 0 28px; max-width: 30em; font-size: 18px; line-height: 1.6; color: #4c4c4c; }
.rz-contact__rule { height: 1px; background: var(--rz-line); margin-bottom: 18px; max-width: 30em; }
.rz-contact__rule--tight { margin: 14px 0 26px; max-width: none; }
.rz-contact__since { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rz-muted); }
.rz-contact__card { background: #fff; border: 1px solid var(--rz-line); border-radius: 14px; box-shadow: 0 2px 20px rgba(56,56,56,.06); padding: 32px; }
.rz-contact__eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rz-red-dark); }

/* A dialog trigger styled as the inline link it replaces. */
button.rz-opening__link { background: none; border: 0; border-bottom: 2px solid var(--rz-line); padding: 0 0 3px; font: inherit; font-size: 15px; font-weight: 700; color: var(--rz-red-dark); cursor: pointer; }
button.rz-opening__link:hover { color: var(--rz-red); border-bottom-color: var(--rz-red); }

@media (max-width: 1000px) {
  .rz-contact__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
  .rz-contact__inner { padding: 64px 24px 72px; }
  .rz-contact__title { font-size: 34px; }
  .rz-contact__card { padding: 24px; }
}

/* Blog search and category filter. */
.rz-blog-filter { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 0 36px; padding: 0 0 24px; border-bottom: 1px solid var(--rz-line); }
.rz-blog-filter__search { display: flex; gap: 8px; }
.rz-blog-filter__search input[type="search"] { min-width: 240px; padding: 11px 13px; border: 1px solid var(--rz-line); border-radius: 8px; background: #fff; color: var(--rz-ink); font: inherit; font-size: 15px; }
.rz-blog-filter__search button { padding: 11px 18px; border: 0; border-radius: 8px; background: var(--rz-red); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.rz-blog-filter__search button:hover { background: var(--rz-red-dark); color: rgba(255, 255, 255, .88); }
.rz-blog-filter__cats { display: flex; gap: 8px; flex-wrap: wrap; }
.rz-blog-filter__cat { padding: 9px 14px; border: 1px solid var(--rz-line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--rz-ink); text-decoration: none; }
.rz-blog-filter__cat:hover { border-color: var(--rz-red); color: var(--rz-red); }
.rz-blog-filter__cat.is-current { background: var(--rz-ink); border-color: var(--rz-ink); color: #fff; }

@media (max-width: 700px) {
  .rz-blog-filter__search input[type="search"] { min-width: 0; width: 100%; }
  .rz-blog-filter__search { width: 100%; }
}

/* Careers. Reuses the treatments already on the site: the values grid from
   Why RedZone for the cards, and the hairline-divided grid from the home
   product suite for the openings. */
.rz-careers-shell { max-width: var(--rz-wide); margin: 0 auto; padding: 0 40px; }
.rz-careers-hero { border-bottom: 1px solid var(--rz-line); padding: 80px 0 56px; }
.rz-careers-eyebrow { margin: 0 0 20px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rz-red); }
.rz-careers-title { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; max-width: 17em; text-wrap: balance; }
.rz-careers-intro { margin: 22px 0 0; max-width: 46em; font-size: 18px; line-height: 1.6; color: #4c4c4c; }

.rz-careers-section { padding: 64px 0 72px; border-bottom: 1px solid var(--rz-line); }
.rz-careers-section--soft { background: var(--rz-soft); }
.rz-careers-heading { margin: 0 0 36px; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }

.rz-careers-grid { display: grid; gap: 20px; }
.rz-careers-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rz-careers-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rz-careers-card { background: #fff; border: 1px solid var(--rz-line); padding: 28px 26px 30px; }
.rz-careers-card__title { margin: 0 0 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.rz-careers-card__body { margin: 0; font-size: 15px; line-height: 1.55; color: #4c4c4c; }

.rz-openings { display: grid; gap: 1px; background: var(--rz-line); border: 1px solid var(--rz-line); border-radius: 14px; overflow: hidden; }
.rz-opening { background: #fff; padding: 32px 28px 34px; }
.rz-opening__title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.015em; }
.rz-opening__location { margin: 8px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rz-red); }
.rz-opening__body { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: #4c4c4c; max-width: 60em; }
.rz-opening__link { display: inline-block; margin: 18px 0 0; font-size: 15px; font-weight: 700; color: var(--rz-red-dark); text-decoration: none; border-bottom: 2px solid var(--rz-line); padding-bottom: 3px; }
.rz-opening__link:hover { color: var(--rz-red); border-bottom-color: var(--rz-red); }

.rz-careers-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .rz-careers-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .rz-careers-shell { padding: 0 24px; }
  .rz-careers-hero { padding: 56px 0 40px; }
  .rz-careers-title { font-size: 34px; }
  .rz-careers-section { padding: 48px 0 56px; }
  .rz-careers-heading { font-size: 26px; }
  .rz-careers-grid--three, .rz-careers-grid--two { grid-template-columns: 1fr; }
  .rz-opening { padding: 26px 22px 28px; }
}

/* Dashboard hub. The grid deliberately mirrors the home page product suite:
   one rounded container, 1px gaps over the line colour so they read as
   hairlines between white cards, and the same lifecycle tint bars. */
.rz-dash-shell { max-width: var(--rz-wide); margin: 0 auto; padding: 0 40px; }
.rz-dash-hero { border-bottom: 1px solid var(--rz-line); padding: 80px 0 56px; }
.rz-dash-eyebrow { margin: 0 0 20px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rz-red); }
.rz-dash-title { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; max-width: 17em; text-wrap: balance; }
.rz-dash-intro { margin: 22px 0 0; max-width: 46em; font-size: 18px; line-height: 1.6; color: #4c4c4c; }

.rz-dash-section { padding: 64px 0 96px; }
.rz-dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rz-line); border: 1px solid var(--rz-line); border-radius: 14px; overflow: hidden; }
.rz-dash-card { display: flex; flex-direction: column; gap: 12px; min-height: 250px; padding: 32px 28px 36px; background: #fff; color: var(--rz-ink); text-decoration: none; transition: background .25s ease; }
a.rz-dash-card:hover { background: var(--rz-soft); color: var(--rz-ink); }
.rz-dash-card__name { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
.rz-dash-card__tint { display: block; width: 44px; height: 4px; border-radius: 2px; }
.rz-dash-card__desc { margin: 0; font-size: 16px; line-height: 1.55; color: #4c4c4c; }
.rz-dash-card__action { margin: auto 0 0; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; }
.rz-dash-card__ext { margin-left: 8px; }
a.rz-dash-card:hover .rz-dash-card__action { color: var(--rz-red); }
.rz-dash-card--soon .rz-dash-card__action { color: #b5b5b5; }

@media (max-width: 1100px) {
  .rz-wp-header__inner { gap: 18px; }
  .rz-wp-nav, .rz-wp-nav .rz-wp-menu { gap: 18px; }
  .rz-wp-nav { font-size: 17px; }
  .rz-wp-cta { padding: 12px 18px; }
}

@media (max-width: 1050px) {
  .rz-post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Mirrors the home product grid's own columns. */
@media (max-width: 1000px) {
  .rz-dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .rz-dash-shell { padding: 0 24px; }
  .rz-dash-hero { padding: 56px 0 40px; }
  .rz-dash-title { font-size: 34px; }
  .rz-dash-section { padding: 48px 0 72px; }
  .rz-dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .rz-wp-nav .rz-wp-hide-tight { display: none; }
  .rz-wp-login { display: none; }
}

@media (max-width: 900px) {
  .rz-standard-main { padding: 56px 24px 72px; }
  .rz-blog-hero__inner, .rz-blog-shell, .rz-related__inner { padding-left: 24px; padding-right: 24px; }
  .rz-article-header__inner { padding-left: 24px; padding-right: 24px; }
  .rz-article-featured { padding: 0 24px; }
}

/* Below 700px the bar cannot hold a 56px logo, the navigation and the call to
   action on one line — the static header overflows here, and matching it
   exactly would import that. The navigation takes its own row instead. */
@media (max-width: 700px) {
  .rz-wp-header__inner { height: auto; min-height: 82px; padding: 14px 24px; flex-wrap: wrap; gap: 14px; }
  .rz-wp-logo img { height: 44px; }
  .rz-wp-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .rz-wp-nav > .rz-wp-menu > li > a { padding: 4px 0; }
  .rz-wp-nav .sub-menu { position: static; display: none; width: auto; border: 0; box-shadow: none; }
  .rz-wp-cta { padding: 11px 16px; font-size: 15px; }
}

@media (max-width: 680px) {
  .rz-wp-footer__inner { padding: 36px 24px; }
  .rz-post-grid { grid-template-columns: 1fr; }
  .rz-blog-hero__inner { padding-top: 56px; padding-bottom: 52px; }
  .rz-blog-shell { padding-top: 42px; }
  .rz-article-header__inner { padding-top: 54px; padding-bottom: 48px; }
  .rz-article-meta { gap: 10px 14px; }
}


/* Critical incident banner ------------------------------------------------ */
/* It sits above the nav and both are sticky, so the notice stays on screen
   without any measuring: the nav's offset is keyed to the same variable that
   sets the banner's height. The banner is deliberately one line tall, because
   a wrapping banner would break that offset on the pages whose header height
   is already responsive. */
:root { --rz-incident-h: 44px; }

.rz-incident { position: sticky; top: 0; z-index: 1100; height: var(--rz-incident-h);
  background: var(--rz-red); color: #fff; }
.rz-incident__inner { max-width: var(--rz-wide); height: 100%; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 16px; }
.rz-incident__label { flex: 0 0 auto; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .55); }
.rz-incident__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.rz-incident__track { display: flex; gap: 64px; padding-left: 64px; white-space: nowrap;
  animation: rz-incident-scroll var(--rz-incident-duration, 30s) linear infinite; }
.rz-incident.is-paused .rz-incident__track { animation-play-state: paused; }
.rz-incident__item { font-size: 15px; font-weight: 600; }
.rz-incident__cta { text-decoration: underline; margin-left: 10px; }
.rz-incident__link, .rz-incident__toggle { flex: 0 0 auto; font-size: 13px; font-weight: 700;
  color: #fff; background: none; border: 0; padding: 4px 6px; cursor: pointer; font-family: inherit; }
.rz-incident__link { text-decoration: underline; }
.rz-incident__toggle { border: 1px solid rgba(255, 255, 255, .55); }
.rz-incident__toggle:hover, .rz-incident__link:hover { color: rgba(255, 255, 255, .82); }

/* The scrolling copy is duplicated for the loop, so this static copy is what
   carries the text for assistive technology and for reduced-motion. */
.rz-incident__static { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rz-incident__static a { color: inherit; }

/* The nav's own top offset, so the banner never covers it. The dc pages set
   the header's sticky offset inline from React, which is why this overrides. */
body.rz-has-incident #dc-root header,
body.rz-has-incident .rz-wp-header { top: var(--rz-incident-h) !important; }

@keyframes rz-incident-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .rz-incident__viewport { display: none; }
  .rz-incident__track { animation: none; }
  .rz-incident__static { position: static; width: auto; height: auto; margin: 0; clip: auto;
    flex: 1 1 auto; min-width: 0; overflow-x: auto; font-size: 15px; font-weight: 600; }
}

@media (max-width: 900px) {
  :root { --rz-incident-h: 40px; }
  .rz-incident__inner { padding: 0 24px; gap: 12px; }
  .rz-incident__label, .rz-incident__link { display: none; }
  .rz-incident__item { font-size: 14px; }
}


/* Events ------------------------------------------------------------------ */
/* A date rail on the left and the detail beside it, so the list scans by date
   first, which is what a reader is looking for. */
.rz-events { border-top: 1px solid var(--rz-line); }
.rz-event { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 32px;
  padding: 28px 0 30px; border-bottom: 1px solid var(--rz-line); }
.rz-event__dates { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.rz-event__next { margin: 8px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--rz-red); }
.rz-event__name { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.rz-event__location { margin: 6px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--rz-muted); }
.rz-event__focus { margin: 12px 0 0; max-width: 42em; font-size: 16px; line-height: 1.6; color: #4c4c4c; }
.rz-event__focus-label { font-weight: 800; color: var(--rz-ink); margin-right: 6px; }
.rz-event__body { margin: 8px 0 0; max-width: 42em; font-size: 16px; line-height: 1.6; color: #4c4c4c; }
.rz-event__link { display: inline-block; margin: 14px 0 0; font-size: 15px; font-weight: 700;
  color: var(--rz-red); }

@media (max-width: 720px) {
  .rz-event { grid-template-columns: 1fr; gap: 10px; }
  .rz-event__next { display: inline-block; margin-left: 10px; }
}


/* Wildfire FAQ ------------------------------------------------------------ */
/* Question left, answer beneath: a reader scanning for their own question
   needs the questions to line up, not the prose. */
.rz-faq-jump { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 28px 0 0; }
.rz-faq-jump a { font-size: 15px; font-weight: 700; color: var(--rz-red);
  text-decoration: underline; text-underline-offset: 3px; }
.rz-faq-shell { display: grid; gap: 40px; align-items: start;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.rz-faq-head { position: sticky; top: 116px; }
.rz-faq-group { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; }
.rz-faq-list { border-top: 1px solid var(--rz-line); }
.rz-faq-item { border-bottom: 1px solid var(--rz-line); padding: 20px 0; }
.rz-faq-q { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35;
  cursor: pointer; list-style: none; }
.rz-faq-q::-webkit-details-marker { display: none; }
.rz-faq-a { margin: 12px 0 0; font-size: 17px; line-height: 1.65; color: #4c4c4c; max-width: 46em; }
.rz-faq-more { margin: 12px 0 0; font-size: 16px; font-weight: 700; }
.rz-faq-more a { color: var(--rz-red); }

@media (max-width: 900px) {
  .rz-faq-shell { grid-template-columns: 1fr; gap: 22px; }
  .rz-faq-head { position: static; }
  .rz-faq-group { font-size: 24px; }
}


/* Contact page ------------------------------------------------------------ */
.rz-offices { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rz-office { border-top: 2px solid var(--rz-ink); padding: 20px 0 0; }
.rz-office__name { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.rz-office__city { margin: 6px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--rz-muted); }
.rz-office__address { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: #4c4c4c; max-width: 22em; }
.rz-office__address a { color: var(--rz-red); }


/* HTML sitemap ------------------------------------------------------------ */
.rz-sitemap-grid { display: grid; gap: 36px 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rz-sitemap-heading { margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--rz-red); }
.rz-sitemap-list { list-style: none; margin: 0; padding: 0; }
.rz-sitemap-list li { padding: 7px 0; border-top: 1px solid var(--rz-line);
  display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
.rz-sitemap-list a { font-size: 16px; line-height: 1.4; color: var(--rz-ink); text-decoration: none; }
.rz-sitemap-list a:hover { color: var(--rz-red); text-decoration: underline; }
.rz-sitemap-count, .rz-sitemap-date { flex: 0 0 auto; font-size: 13px; color: var(--rz-muted);
  font-variant-numeric: tabular-nums; }

.rz-sitemap-years { display: grid; gap: 10px; }
.rz-sitemap-year { border-top: 1px solid var(--rz-line); padding: 14px 0 4px; }
.rz-sitemap-year__summary { display: flex; gap: 14px; align-items: baseline; cursor: pointer;
  list-style: none; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.rz-sitemap-year__summary::-webkit-details-marker { display: none; }
.rz-sitemap-list--posts { margin-top: 12px; columns: 2; column-gap: 40px; }
.rz-sitemap-list--posts li { break-inside: avoid; }

@media (max-width: 720px) {
  .rz-sitemap-list--posts { columns: 1; }
}
