/**
 * Rx Pharmacy Courier — unified typography
 * Display / brand: Julius Sans One
 * Body / UI content: Source Sans 3
 */

:root {
  --font-display: "Julius Sans One", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --text-color: #333333;
  --heading-color: #036265;
  --heading-secondary: #4b4232;
  --body-size: 15px;
  --body-leading: 1.55;
}

/* Base document */
html,
body,
.body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-leading);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Content & chrome — body face (no universal * so display can win) */
.wsb-canvas,
.wsb-canvas-page,
.wsb-canvas-scrollable,
.wsb-element-text,
.wsb-element-text .txt,
.wsb-text-element,
.footer,
.footer-container,
.page,
.form-value,
.form-row,
.customform,
.customform input,
.customform textarea,
.customform select,
p,
li,
td,
th,
label {
  font-family: var(--font-body) !important;
}

/* Inline GoDaddy spans that previously mixed Georgia / inherit / Arial */
.wsb-element-text .txt span,
.wsb-element-text .txt div,
.wsb-element-text .txt p,
.wsb-element-text .txt li,
.wsb-element-text .txt a,
.footer span,
.footer div,
.footer p,
.footer a {
  font-family: var(--font-body) !important;
  letter-spacing: 0.01em;
}

.wsb-element-text .txt p,
.wsb-element-text .txt li,
.wsb-element-text .txt {
  line-height: var(--body-leading);
}

/* Prevent empty GoDaddy spacer headings from stacking into content */
.wsb-element-text .txt h1:has(> br:only-child),
.wsb-element-text .txt h1:empty {
  display: none !important;
}

/* Brand / display — higher specificity than content spans */
.editor_logo,
.editor_logo span,
.wsb-element-text .txt .editor_logo,
.wsb-element-text .txt .editor_logo span,
h1,
h2,
h3,
h4,
h5,
h6,
.wsb-element-text .txt h1,
.wsb-element-text .txt h2,
.wsb-element-text .txt h3,
.wsb-element-text .txt h4,
.wsb-element-text .txt h5,
.wsb-element-text .txt h6,
.wsb-element-text .txt h1 span,
.wsb-element-text .txt h2 span,
.wsb-element-text .txt h3 span,
.wsb-element-text .txt h4 span,
.nav_theme,
.nav_theme a,
.nav_theme > ul > li > a,
.nav_theme .nav-subnav > li > a,
.form-label,
.button_theme,
.form-submit,
#locu-render-output .locu-wsb .locu-nav .locu-tab,
#locu-render-output .locu-wsb .locu-section-name,
#locu-render-output .locu-wsb .locu-subsection-name {
  font-family: var(--font-display) !important;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

.editor_logo,
.wsb-element-text .txt .editor_logo,
.wsb-element-text .txt .editor_logo span {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  color: #0d868a;
  letter-spacing: 0.5px;
}

h1,
.wsb-element-text .txt h1 {
  font-size: 36px;
  font-weight: 400;
  color: var(--heading-color);
  line-height: 1.25;
}

h2,
.wsb-element-text .txt h2 {
  font-size: 30px;
  font-weight: 400;
  color: var(--heading-secondary);
  line-height: 1.3;
}

h3,
.wsb-element-text .txt h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--heading-secondary);
  line-height: 1.35;
}

/* Header tagline under logo — high visibility (heavier face + larger size) */
.wsb-element-text .txt:has(.editor_logo) h3,
.wsb-element-text .txt:has(.editor_logo) h3 span {
  font-family: var(--font-body) !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  letter-spacing: 0.06em !important;
  color: #1f2a2a !important;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}

h4,
.wsb-element-text .txt h4 {
  font-size: 22px;
  font-weight: 400;
  color: var(--heading-secondary);
  line-height: 1.35;
}

/* ========== Navigation — clean 2-row bar ========== */
.wsb-element-navigation,
#wsb-element-383223877 {
  overflow: visible !important;
}

/* Room for larger logo + tagline above the bar */
#wsb-element-383223877 {
  top: 132px !important;
}

.wsb-nav.nav_theme,
#wsb-nav-383223877 {
  width: 100% !important;
  max-width: 984px;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box;
  overflow: visible !important;
}

.nav_theme > ul.wsb-navigation-rendered-top-level-menu,
.nav_theme > ul {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  align-content: center !important;
  width: 100% !important;
  min-height: 112px !important;
  margin: 0 auto !important;
  padding: 12px 10px !important;
  gap: 8px 0 !important;
  list-style: none !important;
  box-sizing: border-box;
}

.nav_theme > ul > li {
  display: block !important;
  width: auto !important;
  float: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
}

/* Force second row after primary links (Contact) */
.nav_theme > ul > li.nav-flex-break {
  flex-basis: 100% !important;
  width: 100% !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  pointer-events: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

.nav_theme > ul > li.nav-flex-break a {
  display: none !important;
}

.nav_theme > ul > li > a,
.nav_theme > ul > li:hover > a,
.nav_theme > ul > .active > a {
  border: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 14px !important;
  margin: 1px 2px !important;
  display: block !important;
  position: relative !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #fff !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  border-radius: 2px;
  background-color: transparent;
}

.nav_theme > ul > li:hover > a,
.nav_theme > ul > .active > a,
.nav_theme > ul > .active > a:hover {
  color: #fff !important;
  background-color: #0d868a !important;
}

/* Teal bar behind nav — match 2-row height, hide overflow artifacts */
#wsb-element-383223895,
#wsb-element-383223895 .wsb-shape {
  overflow: hidden !important;
}

#wsb-element-383223895 .wsb-shape {
  height: 112px !important;
}

.form-label {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.form-value,
.button_theme,
.form-submit {
  font-size: 16px;
  line-height: 1.4;
}

.button_theme,
.form-submit {
  font-family: var(--font-display) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mobile chrome */
#mobile-site-view .mobile-menu,
#mobile-site-view .mobile-menu a,
#mobile-site-view .mobile-menu a:hover,
#mobile-site-view .mobile-menu a:visited,
#mobile-site-view .mobile-nav,
#mobile-site-view .mobile-nav a,
#mobile-site-view .mobile-nav a:hover,
#mobile-site-view .mobile-nav a:visited,
#mobile-site-view .mobile-menu .nav-current {
  font-family: var(--font-body) !important;
}

#mobile-site-view .icon-wsb-mobile {
  font-family: "WSB Mobile Navigation" !important;
}

.footer,
.footer-container {
  font-size: 14px;
  line-height: 1.5;
}

/* Word/GoDaddy leftovers — never fall back to Times/serif/mono */
.wsb-element-text .txt pre,
.wsb-element-text .txt font,
.wsb-element-text .txt i,
.wsb-element-text .txt em,
.wsb-element-text .txt [style*="italic"],
.wsb-element-text .txt [style*="Times"],
.wsb-element-text .txt [style*="times"],
.wsb-element-text .txt [style*="Georgia"],
.wsb-element-text .txt [style*="georgia"],
.wsb-element-text .txt [style*="serif"] {
  font-family: var(--font-body) !important;
}

.wsb-element-text .txt pre {
  margin: 0;
  white-space: pre-wrap;
  font-size: inherit;
  background: transparent;
  border: 0;
  padding: 0;
}

/* Body copy size floor — readable, consistent across widgets */
.wsb-element-text .txt {
  font-size: var(--body-size);
}

.wsb-element-text .txt p,
.wsb-element-text .txt li,
.wsb-element-text .txt span {
  font-size: inherit;
}

/* Keep intentionally smaller fine-print (e.g. 11–14px inline) readable */
.wsb-element-text .txt span[style*="font-size: 11px"],
.wsb-element-text .txt span[style*="font-size:11px"] {
  font-size: 13px !important;
}


/* Page section titles that are light gray — improve contrast */
.wsb-element-text .txt h1,
.wsb-element-text .txt h2 {
  color: var(--heading-color);
}

.wsb-element-text .txt h2 {
  color: var(--heading-secondary);
}

/* Reduce accidental stacked blank lines from empty paragraphs */
.wsb-element-text .txt p:empty,
.wsb-element-text .txt p:has(> br:only-child):not(:has(span:not(:empty))) {
  margin: 0;
  min-height: 0;
  line-height: 0.6;
}

/* Contact / form column rhythm */
.wsb-element-form .form-row {
  margin-bottom: 12px;
}

.wsb-element-form .form-label {
  margin-bottom: 4px;
}

/* Contact “Call Us” column — readable spacing, no cramped bold lines */
#wsb-element-383266975 .txt p {
  margin: 0 0 6px;
  line-height: 1.45;
}

#wsb-element-383266975 .txt b,
#wsb-element-383266975 .txt strong,
#wsb-element-383223891 .txt {
  font-family: var(--font-body) !important;
  font-weight: 600;
  line-height: 1.45;
}

#wsb-element-383223891 .txt p {
  margin: 0 0 8px;
}
