/**
 * abn-navy.css — Autobody News design tokens + reusable components.
 * Layer 1: --abn-* design tokens (sitewide, safe to adopt anywhere).
 * Layer 2: .ns-* newsletter/subscribe components, scoped under .abn-ns so they
 *          out-rank template selectors like `div.contentcomponent p`.
 */

:root {
  --abn-navy: #1d3957;
  --abn-blue: #009ddc;
  --abn-yellow: #fcd333;
  --abn-blue-2: #2e6b9e;
  --abn-ink: #1a1a1a;
  --abn-ink-soft: #2a2a2a;
  --abn-gray-1: #6b7280;
  --abn-gray-2: #9ca3af;
  --abn-gray-3: #d1d5db;
  --abn-gray-4: #e5e7eb;
  --abn-gray-5: #f3f4f6;
  --abn-gray-6: #f9fafb;
  --abn-paper: #fdfcf9;
  --ink: #1a1a1a;
  --ink-soft: #2a2a2a;
  --abn-sans: 'Montserrat', system-ui, sans-serif;
  --abn-serif: 'Source Serif 4', Georgia, serif;
}

/* ==================== SCOPE BASE (mockup body context) ==================== */

.abn-ns {
  font-family: var(--abn-serif);
  color: var(--abn-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:#fff;
}
.abn-ns *,
.abn-ns *::before,
.abn-ns *::after {
  box-sizing: border-box;
}
/* Neutralize template chrome that leaks into the scope */
.abn-ns h1,
.abn-ns h2,
.abn-ns h3,
.abn-ns p,
.abn-ns label {
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
}
.abn-ns label {
  margin: 0;
}
.abn-ns input,
.abn-ns select,
.abn-ns button {
  border-radius: 0;
  box-shadow: none;
}

/* ==================== NEWSLETTER SIGNUP ==================== */

.abn-ns .ns-hero {
  padding: 56px 48px 40px;
  text-align: center;

  border-bottom: 1px solid var(--abn-gray-3);
}
.abn-ns .ns-eyebrow {
  font-family: var(--abn-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--abn-blue);
  margin: 0 0 16px;
}
.abn-ns .ns-hero h1 {
  font-family: var(--abn-serif);
  font-size: 46px;
  font-weight: 700;
  color: var(--abn-ink);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-transform: none;
}
.abn-ns .ns-desc,
.abn-ns .ns-desc p {
  font-family: var(--abn-serif);
  font-size: 18px;
  color: var(--abn-gray-1);
  margin: 0 auto;
  max-width: 620px;
  line-height: 1.5;
}
.abn-ns .ns-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 48px 32px;
  align-items: start;
}
.abn-ns .ns-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Newsletter card */
.abn-ns .ns-card {
  background: #fff;
  border: 1px solid var(--abn-gray-3);
  transition: border-color .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
}
.abn-ns .ns-card:hover {
  border-color: var(--abn-gray-1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.abn-ns .ns-card-banner {
  background: #fff;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  border-bottom: 1px solid var(--abn-gray-5);
}
.abn-ns .ns-card-banner img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}
.abn-ns .ns-card-body {
  padding: 20px 24px 14px;
}
.abn-ns .ns-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.abn-ns .ns-cadence {
  font-family: var(--abn-sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--abn-gray-1);
  margin: 0;
  padding-top: 4px;
}
.abn-ns .ns-card-desc {
  font-family: var(--abn-serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--abn-ink-soft);
  margin: 0;
}
.abn-ns .ns-card-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.abn-ns .ns-card-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--abn-gray-2);
  background: #fff;
  cursor: pointer;
  position: relative;
  margin: 0;
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.abn-ns .ns-card-checkbox input[type="checkbox"]:hover {
  border-color: var(--abn-navy);
}
.abn-ns .ns-card-checkbox input[type="checkbox"]:checked {
  background: var(--abn-navy);
  border-color: var(--abn-navy);
}
.abn-ns .ns-card-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.abn-ns .ns-card-checkbox-label {
  font-family: var(--abn-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--abn-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.abn-ns .ns-card-foot {
  margin: 14px -24px 0;
  padding: 14px 24px 0;
  border-top: 1px solid var(--abn-gray-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.abn-ns .ns-preview-link {
  font-family: var(--abn-sans);
  font-size: 12px;
  color: var(--abn-blue);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.abn-ns .ns-preview-link:hover { text-decoration: underline; }

/* Side panel */
.abn-ns .ns-aside {
  position: sticky;
  top: 80px;
}
.abn-ns .ns-panel {
  background: #fff;
  border: 1px solid var(--abn-gray-3);
  border-top: 3px solid var(--abn-navy);
  padding: 28px;
}
.abn-ns .ns-panel-eyebrow {
  font-family: var(--abn-sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--abn-blue);
  margin: 0 0 10px;
}
.abn-ns .ns-panel-title {
  font-family: var(--abn-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--abn-ink);
  margin: 0 0 10px;
  line-height: 1.2;
}
.abn-ns .ns-panel-desc {
  font-family: var(--abn-serif);
  font-size: 14px;
  color: var(--abn-gray-1);
  margin: 0 0 18px;
  line-height: 1.5;
}

/* Primary product block (Daily + Magazine) */
.abn-ns .ns-primary-block {
  background: #fff;
  border: 1px solid var(--abn-gray-3);
  border-top: 4px solid var(--abn-navy);
  padding: 28px 30px;
  margin-bottom: 36px;
}
.abn-ns .ns-primary-header { margin-bottom: 22px; }
.abn-ns .ns-primary-eyebrow {
  font-family: var(--abn-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--abn-blue);
  margin: 0 0 10px;
}
.abn-ns .ns-primary-title {
  font-family: var(--abn-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--abn-ink);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.abn-ns .ns-primary-desc {
  font-family: var(--abn-serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--abn-ink-soft);
  margin: 0;
}
.abn-ns .ns-primary-options {
  border-top: 1px solid var(--abn-gray-4);
  padding-top: 18px;
}
.abn-ns .ns-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  border-top: 1px solid var(--abn-gray-5);
  margin: 0;
}
.abn-ns .ns-checkbox-row:first-of-type { border-top: none; padding-top: 0; }
.abn-ns .ns-checkbox-row input[type="checkbox"] {
  margin: 4px 0 0;
  width: 18px;
  height: 18px;
  accent-color: var(--abn-blue);
  cursor: pointer;
  flex-shrink: 0;
}
.abn-ns .ns-checkbox-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.abn-ns .ns-checkbox-title {
  font-family: var(--abn-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--abn-ink);
  line-height: 1.6;
}
.abn-ns .ns-checkbox-sub {
  font-family: var(--abn-sans);
  font-size: 12px;
  color: var(--abn-gray-1);
  line-height: 1.6;
}

/* Section divider between primary block and newsletter cards */
.abn-ns .ns-section-divider {
  margin: 8px 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--abn-navy);
}
.abn-ns .ns-section-title {
  font-family: var(--abn-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--abn-navy);
  margin: 0 0 4px;
  line-height: 1.6;
}
.abn-ns .ns-section-desc {
  font-family: var(--abn-serif);
  font-size: 14px;
  color: var(--abn-gray-1);
  margin: 0;
}

/* Form */
.abn-ns .ns-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
}
.abn-ns .ns-form-divider span {
  font-family: var(--abn-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--abn-navy);
  white-space: nowrap;
}
.abn-ns .ns-form-divider::before,
.abn-ns .ns-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--abn-gray-3);
}
.abn-ns .ns-form-row {
  display: grid;
  grid-template-columns: 1fr 70px 80px;
  gap: 8px;
}
.abn-ns .ns-form-row label { margin-top: 12px; }
.abn-ns .ns-form-row .ns-form-input { margin-bottom: 8px; }
.abn-ns .ns-form-label {
  font-family: var(--abn-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--abn-navy);
  margin: 12px 0 6px;
  display: block;
  line-height: 1.6;
}
.abn-ns .ns-form-label:first-of-type { margin-top: 0; }
.abn-ns .ns-form-input {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--abn-sans);
  font-size: 14px;
  border: 1px solid var(--abn-gray-3);
  background: #fff;
  color: var(--abn-ink);
  margin-bottom: 8px;
  line-height: normal;
  height: auto;
}
.abn-ns .ns-form-input:focus {
  outline: none;
  border-color: var(--abn-blue);
}
.abn-ns .ns-form-button {
  background: var(--abn-navy);
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-family: var(--abn-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  margin-top: 12px;
  line-height: normal;
}
.abn-ns .ns-form-button:hover {
  background: #122739;
}
.abn-ns .ns-form-button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.abn-ns .ns-form-fineprint {
  font-family: var(--abn-sans);
  font-size: 11px;
  color: var(--abn-gray-1);
  margin: 14px 0 0;
  line-height: 1.5;
}
.abn-ns .ns-form-skip {
  display: block;
  text-align: center;
  font-family: var(--abn-sans);
  font-size: 12px;
  color: var(--abn-gray-1);
  text-decoration: underline;
  margin-top: 14px;
  cursor: pointer;
}
.abn-ns .ns-form-error {
  font-family: var(--abn-sans);
  font-size: 12px;
  color: #b91c1c;
  margin: 10px 0 0;
  line-height: 1.4;
  display: none;
}
.abn-ns .ns-form-error.is-visible { display: block; }

/* Honeypot — visually removed, still submitted */
.abn-ns .ns-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Shared captcha widget above the panels. Invisible providers still render a
   container (hidden textarea + fixed-position badge), so drop the gap for those
   rather than testing for emptiness. */
.abn-ns .ns-captcha { margin: 0 0 16px; }
.abn-ns .ns-captcha:has([data-size="invisible"]) { margin: 0; }

/* Confirmation banner on step 2 */
.abn-ns .ns-confirm-banner {
  background: linear-gradient(135deg, var(--abn-navy) 0%, #15273e 100%);
  color: #fff;
  padding: 16px 18px;
  margin: -28px -28px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.abn-ns .check-lg {
  width: 32px;
  height: 32px;
  background: var(--abn-yellow);
  color: var(--abn-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.abn-ns .ns-confirm-title {
  font-family: var(--abn-sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
}
.abn-ns .ns-confirm-desc {
  font-family: var(--abn-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

@media (max-width: 1080px) {
  .abn-ns .ns-layout { grid-template-columns: 1fr; gap: 24px; }
  .abn-ns .ns-aside { position: relative; top: 0; }
  .abn-ns .ns-hero h1 { font-size: 36px; }
}
@media (max-width: 720px) {
.maincontentarea  .abn-ns .ns-form-row {grid-template-columns: 1fr; }
  .abn-ns .ns-primary-block { padding: 22px 20px 0 20px; }
  .abn-ns .ns-hero {padding: 10px 10px 20px;}
  .abn-ns .ns-desc, .abn-ns .ns-desc p {font-size: 15px;line-height: 1.3;}
  .abn-ns .ns-layout {padding: 24px 12px;}
  .abn-ns .ns-card-banner {height:auto;}
  .abn-ns .ns-card-banner img {padding:0;}
}
@media (min-width: 992px) {
  .abn-ns .ns-primary-title {font-size: 30px;}
  .abn-ns .ns-primary-desc, .abn-ns .ns-card-desc {font-size: 17px;}
}



.new-subscribe-page #ns-state {padding-left:4px;}
.new-subscribe-page #mainContentArea, .new-subscribe-page #breadCrumbs {background: var(--abn-gray-5);}
.new-subscribe-page main.maincontentarea {max-width:1280px!important;grid-template-columns: auto;}
.new-subscribe-page main.maincontentarea .maincontentinside {padding:0;}
.new-subscribe-page #breadCrumbs .mod-breadcrumbs__wrapper {background: #fff;margin-left:12px;margin-right:12px;}
.new-subscribe-page .breadcrumb-item, .new-subscribe-page .breadcrumb-item a {color:var(--ink);font-size:12px;font-family: var(--abn-sans);}
.new-subscribe-page .breadcrumb-item.active {color:var(--abn-gray-1);}
.new-subscribe-page .breadcrumb-item a:hover, .new-subscribe-page .breadcrumb-item a:active {color:var(--abn-blue-2);}