/* =========================================================
   v2 SITE CSS – Bronze Memorials
   Order: vars → themes → base → layout → components → sections → utilities
   Bootstrap 5 friendly. Keep custom CSS small + predictable.
   ========================================================= */
  /*#e8f1ff !important;  light blue */
/* =========================
   1) Variables
   ========================= */
:root{
  --bm-text: #111;
  --bm-muted: #6c757d;

  --bm-border: rgba(0,0,0,.12);
  --bm-border-strong: rgba(0,0,0,.16);

  --bm-bg: #ffffff;
  --bm-bg-soft: #f8f9fa;
  --bm-bg-toolbar: #f7f7f7;

  --bm-radius: 18px;
  --bm-radius-sm: 12px;

  --bm-section-y: 3rem;
  --bm-section-y-tight: 2rem;
  --bm-section-y-wide: 4rem;

  --bm-card-pad: 16px;
}

/* =========================
   2) Themes
   ========================= */

/* THEME: Marketing (default) */
.theme-marketing{
  background: var(--bm-bg);
  color: var(--bm-text);
}

/* Optional: subtle hero band support */
.theme-marketing .hero{
  background: linear-gradient(180deg, var(--bm-bg-soft), #ffffff);
}

/* THEME: Spec (Division 10) */
.theme-spec{
  background: #fff;
  color: #111;
}

/* Spec pages: make normal links underlined, but DO NOT affect Bootstrap buttons */
.theme-spec a:not(.btn){
  color: #111;
  text-decoration: underline;
}

.theme-spec a:not(.btn):hover{
  text-decoration: underline;
}

/* Spec pages: subtle nav separation */
.theme-spec .navbar{
  border-bottom: 1px solid rgba(0,0,0,.15);
}

/* =========================
   3) Base
   ========================= */
html { scroll-behavior: smooth; }

body{
  color: var(--bm-text);
  background: var(--bm-bg);
}

/* Images behave */
img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links (marketing defaults). Spec overrides above. */
a{
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

/* =========================
   4) Layout
   ========================= */
section{
  padding-top: var(--bm-section-y);
  padding-bottom: var(--bm-section-y);
}

.section-tight{
  padding-top: var(--bm-section-y-tight);
  padding-bottom: var(--bm-section-y-tight);
}

.section-wide{
  padding-top: var(--bm-section-y-wide);
  padding-bottom: var(--bm-section-y-wide);
}

/* =========================
   5) Components
   ========================= */

/* Header typography helpers (use these instead of inline styles) */
.bm-corp-id{
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.bm-division-title{
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Footer typography helpers */
.bm-footer-link{
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.bm-footer-corp{
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.bm-footer-utils{
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* Soft card (use everywhere) */
.bm-card{
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  background: #fff;
  overflow: hidden;
}

.bm-card-pad{
  padding: var(--bm-card-pad);
}

/* Card media + body with matching padding */
.bm-card-media{
  padding: var(--bm-card-pad);
  background: var(--bm-bg-soft);
}

.bm-card-media img{
  border-radius: calc(var(--bm-radius) - 6px);
}

/* Soft badge */
.bm-badge-soft{
  display: inline-block;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: #111;
  font-weight: 600;
}

/* Spec header block (Div 10 pages) */
.bm-spec-header{
  background: var(--bm-bg-soft);
  border: 1px solid var(--bm-border-strong);
  border-radius: var(--bm-radius-sm);
  padding: 22px 24px;
}

/* Toolbar container (PDF controls, downloads, etc.) */
.bm-toolbar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  background: var(--bm-bg-toolbar);
  border: 1px solid var(--bm-border-strong);
  border-radius: 10px;
}

/* If you use custom toolbar “buttons” (not Bootstrap .btn) */
.bm-toolbtn{
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,.35);
  background: #fff;
  border-radius: 8px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.bm-toolbtn:hover{
  background: #ececec;
  text-decoration: none;
}

.bm-toolbtn:active{
  transform: scale(0.99);
}

/* KPI box */
.bm-kpi{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: var(--bm-radius);
  padding: 1rem;
  height: 100%;
}

/* Richtext spacing (works for both themes) */
.richtext h2,
.richtext h3{
  margin-top: 1.25rem;
}

/* =========================
   6) Sections
   ========================= */

/* 3-up cards grid section: make cards equal height */
.sec-3up .bm-card{
  height: 100%;
}

/* Optional: ensure media images behave in 3-up sections */
.sec-3up .bm-card-media img{
  width: 100%;
  height: auto;
}

/* =========================
   7) Utilities (keep small)
   ========================= */
.hr-soft{
  border-top: 1px solid rgba(0,0,0,.10);
}

.small-note{
  font-size: 0.95rem;
}
/* Division 10 state grid */

.div10-state-grid a {
  display: block;
  padding: 6px 8px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  color: #333;
  background: #fafafa;
}

.div10-state-grid a:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
  text-decoration: none;
}
.division10-nav a.active {
  color: #000 !important;
  text-decoration: none;
  font-weight: 700;
}

.bm-division-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.spec-header a,
.spec-header a:visited {
  color: #0d6efd !important;
  text-decoration: underline;
}

.spec-header a:hover,
.spec-header a:focus {
  color: #0a58ca !important;
}
.spec-header .btn-outline-primary:hover,
.spec-header .btn-outline-primary:focus {
  background-color: #ffffff;
  border-color: #0d6efd;

}


/* SPEC DOWNLOAD BUTTON GRID */

.hero-download-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

/* DOWNLOAD BUTTON */



/* BUTTON STYLE */

.hero-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.72rem;
  letter-spacing: 0.03em;

  padding: 0.35rem 0.5rem;
  min-height: 32px;

  border: 1px solid #0d6efd;
  color: #0d6efd;
  background: transparent;

  transition: all 0.2s ease;
}


/* HOVER */

.hero-download-btn:hover,
.hero-download-btn:focus {
  background-color: #e8f1ff;
  border-color: #0d6efd;
  color: #0d6efd;
}

/* PDF ICON */

.download-icon {
  margin-right: 6px;
  font-size: 0.9rem;
  vertical-align: middle;
}
.spec-page-stack img {
  width: 100%;
  height: auto;
  border: 1px solid #d9d9d9;
  background: #fff;
}
.spec-preview-section {
  margin-top: 2rem;
}

.spec-preview-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.spec-preview-actions {
  flex-shrink: 0;
}

.spec-page-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.spec-page-frame {
  background: #f8f9fa;
  border: 1px solid #d9d9d9;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 0.75rem;
}

.spec-page-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid #e5e5e5;
}
.spec-download-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.spec-download-buttons .btn {
  min-width: 260px;
}


/* BUTTON STYLE */

.hero-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.72rem;
  letter-spacing: 0.03em;

  padding: 0.35rem 0.5rem;
  min-height: 32px;

  border: 1px solid #0d6efd;
  color: #0d6efd;
 /* background: transparent;*/
 background: #CCC;
  transition: all 0.2s ease;
}

/* HOVER */

.hero-download-btn:hover,
.hero-download-btn:focus {
  background-color: #e8f1ff;
  border-color: #0d6efd;
  color: #0d6efd;
}


/* QUOTE FORM CARD */
.quote-form-card {
  background: #f5f5f5;
border: 1px solid #cfcfcf;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-form-card:hover {
  background: #fafafa;
  border-color: #c3c3c3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* INPUTS */
.quote-form-card .form-control,
.quote-form-card .form-select {
  border: 1px solid #cfcfcf;
  background: #ffffff;
}

.quote-form-card .form-control:focus,
.quote-form-card .form-select:focus {
  border-color: #9fb7cf;
  box-shadow: 0 0 0 0.2rem rgba(18, 58, 99, 0.12);
}

/* CHECKBOX */
.quote-form-card .form-check-input {
  border-color: #bfc7cf;
}



.div10-pdf-header {
  position: relative;
  padding: 28px 0 18px;
  border-bottom: 2px solid #d6b25e;
  margin-bottom: 24px;
}

.div10-pdf-header-inner {
  position: relative;
  padding-right: 90px;
}

.div10-pdf-brand {
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 8px;
  font-weight: 700;
  color: #222;
}

.div10-pdf-subtitle {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 600;
  color: #555;
}

.div10-pdf-contact {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.div10-pdf-contact a {
  color: #123a63;
  text-decoration: underline;
}

.div10-pdf-logo {
  position: absolute;
  right: 0;
  top: 0;
}

.div10-pdf-logo img {
  display: block;
  width: 60px;
  height: auto;
}
.div10-header-bar {
  background: #fff;
  border-bottom: 2px solid #d6b25e;
  padding: 20px 0 16px;
  margin-bottom: 24px;
}

.div10-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.div10-header-text {
  max-width: 75%;
}

.div10-header-brand {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
  font-weight: 600;
}

.div10-header-section {
  font-size: 20px;
  font-weight: 700;
  color: #123a63;
  margin-bottom: 8px;
}

.div10-header-contact {
  font-size: 15px;
  font-weight: 600;
}

.div10-header-contact a {
  color: #123a63;
  text-decoration: underline;
}

.div10-header-logo {
  flex: 0 0 auto;
}

.div10-header-logo img {
  width: 60px !important;
  max-width: 60px !important;
  height: auto !important;
  display: block;
}

/* ===== DIVISION 10 TIGHT LAYOUT ===== */

.div10-header-bar {
  margin-bottom: 10px !important;
}

/* tighten entire page top spacing */
#main.container {
  padding-top: 8px !important;
}

/* intro section tightening */
.div10-intro h1 {
  margin-bottom: 4px !important;
}

.div10-intro p {
  margin-bottom: 4px !important;
  line-height: 1.35;
}

/* reduce default Bootstrap spacing globally (safe) */
h1, h2, h3, h4, h5 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .div10-header-inner {
    flex-direction: column;
  }

  .div10-header-text {
    max-width: 100%;
  }

  .div10-header-logo img {
    width: 52px !important;
    max-width: 52px !important;
  }
}

@media (max-width: 767px) {
  .div10-pdf-header-inner {
    padding-right: 0;
  }

  .div10-pdf-logo {
    position: static;
    margin-top: 14px;
  }
}



/* TABLET */

@media (max-width: 991.98px) {
  .hero-download-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE*/

@media (max-width: 575.98px) {
  .hero-download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

