/* =====================================================================
   RUNNING DOWN A DREAM — SITE HEADER
   Paste into the HTML widget of your site-wide Header template.
   Everything is scoped to .rdad so your theme can't override it.
   ===================================================================== */



/* ---------- Brand tokens ---------- */
.rdad {
  --navy: #0E1A2B;
  --navy-2: #17263D;
  --ink-2: #33415A;
  --muted: #5A6780;
  --blue: #1F7FD1;
  --blue-text: #1565B0;
  --blue-deep: #0F4E8A;
  --sky: #E3F0FB;
  --gold: #F5B329;
  --cream: #FBF8F1;
  --sand: #EFE8D8;
  --line: #E8E1D2;
  --field: #CBD3DF;
  --radius-lg: 28px;
  --radius-md: 22px;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset (beats theme styles) ---------- */
.rdad {
  font-family: var(--body);
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
  margin: 0;
}
.rdad *, .rdad *::before, .rdad *::after { box-sizing: border-box; }
.rdad h1, .rdad h2, .rdad h3, .rdad p, .rdad ul, .rdad ol, .rdad li, .rdad dl, .rdad dt, .rdad dd, .rdad blockquote, .rdad figure {
  color: inherit;
  letter-spacing: normal;
  text-shadow: none;
  background: none;
  border: 0;
}
.rdad h1, .rdad h2, .rdad h3 { padding: 0; font-family: var(--display); }
.rdad img { max-width: 100%; height: auto; border: 0; box-shadow: none; border-radius: 0; }

/* ---------- Elementor: Canvas & Full Width templates ----------
   Stretches this block edge to edge even when Elementor puts it inside a
   boxed section/container, and removes Elementor's default padding/gaps
   around it. Works with "Elementor Canvas", "Elementor Full Width" and
   the default template. */
html:has(.rdad), body:has(.rdad) { overflow-x: clip; }
body.elementor-template-canvas:has(.rdad), body.elementor-template-full-width:has(.rdad) { margin: 0; }
.elementor-widget-html > .rdad,
.elementor-widget-html > .elementor-widget-container > .rdad,
.elementor-widget-wp-widget-custom_html .rdad,
.elementor-widget-text-editor .rdad {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}
.elementor-element:has(> .elementor-widget-container > .rdad),
.elementor-element:has(> .rdad),
.e-con:has(.rdad), .e-con-inner:has(.rdad),
.elementor-section:has(.rdad), .elementor-container:has(.rdad),
.elementor-column:has(.rdad), .elementor-widget-wrap:has(.rdad),
.elementor-widget-container:has(> .rdad) {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
  min-height: 0;
}
.e-con:has(.rdad), .e-con-inner:has(.rdad), .elementor-section:has(.rdad), .elementor-container:has(.rdad) { overflow: visible !important; }
/* Hide the theme's page title if it still shows on the default template */
body:has(.rdad) .entry-header .entry-title, body:has(.rdad) .page-header .entry-title, body:has(.rdad) h1.page-title { display: none; }
.rdad a { color: var(--blue-text); box-shadow: none; transition: opacity .15s ease, transform .15s ease; }
.rdad a:hover { opacity: .88; }
.rdad button, .rdad input, .rdad select, .rdad textarea {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.3;
  box-shadow: none;
}
.rdad input:focus, .rdad select:focus, .rdad textarea:focus { outline: 3px solid rgba(31,127,209,.35); outline-offset: 1px; }
.rdad svg { display: inline-block; }
.rdad .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rdad .page { display: block; }

/* ---------- Header ---------- */
.rdad .rdad-header { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.rdad:has(> .rdad-header), .rdad-site-header { overflow: visible !important; position: relative; z-index: 1000; }
.rdad .rdad-header-inner { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rdad .rdad-header-inner > a { display: flex; align-items: center; text-decoration: none; }
.rdad .rdad-header-inner img { display: block; width: 76px; height: 76px; }
.rdad .rdad-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-weight: 600; font-size: 16px; }
.rdad .rdad-nav a { color: var(--navy); text-decoration: none; }
.rdad .rdad-nav a.rdad-active { color: var(--blue-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.rdad .rdad-donate-btn { background: var(--gold); color: var(--navy) !important; text-decoration: none !important; font-weight: 800; padding: 12px 22px; border-radius: 999px; white-space: nowrap; }
.rdad .rdad-mobile { display: none; }
.rdad .rdad-mobile summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 16px; color: var(--navy); padding: 12px 18px; border: 1.5px solid var(--navy); border-radius: 999px; }
.rdad .rdad-mobile summary::-webkit-details-marker { display: none; }
.rdad .rdad-mobile-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 24px 24px; display: flex; flex-direction: column; box-shadow: 0 12px 24px rgba(14,26,43,.12); }
.rdad .rdad-mobile-panel a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rdad .rdad-mobile-panel a.rdad-donate-btn { margin-top: 14px; text-align: center; border: 0; }
@media (max-width: 1080px) {
  .rdad .rdad-nav { display: none; }
  .rdad .rdad-mobile { display: block; }
}


/* ---------- Header details ---------- */
.rdad .image-1 {
  display: block;
  width: 76px;
  height: 76px;
}

.rdad .link-1 {
  display: flex;
  align-items: center;
  text-decoration: none;
}


/* =====================================================================
   RUNNING DOWN A DREAM — SITE FOOTER
   Paste into the HTML widget of your site-wide Footer template.
   Everything is scoped to .rdad so your theme can't override it.
   ===================================================================== */



/* ---------- Brand tokens ---------- */
.rdad {
  --navy: #0E1A2B;
  --navy-2: #17263D;
  --ink-2: #33415A;
  --muted: #5A6780;
  --blue: #1F7FD1;
  --blue-text: #1565B0;
  --blue-deep: #0F4E8A;
  --sky: #E3F0FB;
  --gold: #F5B329;
  --cream: #FBF8F1;
  --sand: #EFE8D8;
  --line: #E8E1D2;
  --field: #CBD3DF;
  --radius-lg: 28px;
  --radius-md: 22px;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset (beats theme styles) ---------- */
.rdad {
  font-family: var(--body);
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
  margin: 0;
}
.rdad *, .rdad *::before, .rdad *::after { box-sizing: border-box; }
.rdad h1, .rdad h2, .rdad h3, .rdad p, .rdad ul, .rdad ol, .rdad li, .rdad dl, .rdad dt, .rdad dd, .rdad blockquote, .rdad figure {
  color: inherit;
  letter-spacing: normal;
  text-shadow: none;
  background: none;
  border: 0;
}
.rdad h1, .rdad h2, .rdad h3 { padding: 0; font-family: var(--display); }
.rdad img { max-width: 100%; height: auto; border: 0; box-shadow: none; border-radius: 0; }

/* ---------- Elementor: Canvas & Full Width templates ----------
   Stretches this block edge to edge even when Elementor puts it inside a
   boxed section/container, and removes Elementor's default padding/gaps
   around it. Works with "Elementor Canvas", "Elementor Full Width" and
   the default template. */
html:has(.rdad), body:has(.rdad) { overflow-x: clip; }
body.elementor-template-canvas:has(.rdad), body.elementor-template-full-width:has(.rdad) { margin: 0; }
.elementor-widget-html > .rdad,
.elementor-widget-html > .elementor-widget-container > .rdad,
.elementor-widget-wp-widget-custom_html .rdad,
.elementor-widget-text-editor .rdad {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}
.elementor-element:has(> .elementor-widget-container > .rdad),
.elementor-element:has(> .rdad),
.e-con:has(.rdad), .e-con-inner:has(.rdad),
.elementor-section:has(.rdad), .elementor-container:has(.rdad),
.elementor-column:has(.rdad), .elementor-widget-wrap:has(.rdad),
.elementor-widget-container:has(> .rdad) {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
  min-height: 0;
}
.e-con:has(.rdad), .e-con-inner:has(.rdad), .elementor-section:has(.rdad), .elementor-container:has(.rdad) { overflow: visible !important; }
/* Hide the theme's page title if it still shows on the default template */
body:has(.rdad) .entry-header .entry-title, body:has(.rdad) .page-header .entry-title, body:has(.rdad) h1.page-title { display: none; }
.rdad a { color: var(--blue-text); box-shadow: none; transition: opacity .15s ease, transform .15s ease; }
.rdad a:hover { opacity: .88; }
.rdad button, .rdad input, .rdad select, .rdad textarea {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.3;
  box-shadow: none;
}
.rdad input:focus, .rdad select:focus, .rdad textarea:focus { outline: 3px solid rgba(31,127,209,.35); outline-offset: 1px; }
.rdad svg { display: inline-block; }
.rdad .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rdad .page { display: block; }


/* ---------- Footer ---------- */
.rdad .box-1 {
  max-width: 1192px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.rdad .box-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}

.rdad .box-3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rdad .box-4 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.rdad .footer-1 {
  background: #0E1A2B;
  color: #D6DEEA;
  padding: 64px 24px 40px;
}

.rdad .link-2 {
  color: #D6DEEA;
}

.rdad .link-3 {
  color: #F5B329;
  font-weight: 800;
}

.rdad .text-1 {
  font-family: Archivo, sans-serif;
  font-stretch: 112%;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.05;
}

.rdad .text-2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.rdad .text-3 {
  margin: 0;
  color: #FFFFFF;
  font-weight: 800;
}

.rdad .text-4 {
  margin: 0;
  line-height: 1.5;
}

.rdad .text-5 {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #26354D;
  font-size: 14px;
  color: #9FB0C8;
}
