/* ================================
   RPM Main CSS Imports
   Entry point for all CSS files
   ================================ */

/* Local Fonts - Self-hosted HEEBO only to avoid CDN dependency */
@import url('./fonts.css');

/* Core Variables & Design System */
@import url('./common-variables.css');

/* Layout & Container Utilities */
@import url('./common-layout.css');

/* Reusable Components */
@import url('./common-components.css');

/* Section-Specific Styles */
@import url('./sections.css');

/* Cookie consent (TermsFeed) */
@import url('./cookie_popup.css');

/* Contact Form & Footer Styles */
@import url('./contact-form.css');

/* ================================
   Global Styles & Overrides
   ================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.rpm-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--color-primary);
  color: var(--color-bg-white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
}

.rpm-skip-link:focus {
  left: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  color: #000000;
  background: var(--color-bg-white);
  line-height: var(--line-height-loose);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: #0d4a80;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-lg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
}

h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 600;
}

h5 {
  font-weight: 600;
}

h6 {
  font-weight: 500;
}

p {
  margin-bottom: var(--spacing-lg);
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
}

strong, b {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
}

em, i {
  font-family: 'Heebo', sans-serif;
}

button, input, textarea, select {
  font-family: 'Heebo', sans-serif;
}

/* Placeholder Image Styling */
.placeholder-img {
  background-color: #d8e2ea;
  border-radius: var(--radius-xl);
  min-height: 300px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/*
 * RPM page only: common-components `.list li` (bulleted/checklist styles + --color-text-primary)
 * applies to any `.list`, including the footer’s `ul.list`. Restore footer typography and colors
 * without changing shared footer.css (see footer.html / footerspring/footer.css).
 */
body.theme-digitalhealth-rpm .footer-springct .list {
  color: rgba(255, 255, 255, 0.8);
}

body.theme-digitalhealth-rpm .footer-springct .list li {
  color: rgba(255, 255, 255, 0.8);
  padding-left: 0;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 21px;
}

body.theme-digitalhealth-rpm .footer-springct .donec-dignissim-cura1 {
  color: inherit;
}

body.theme-digitalhealth-rpm .footer-springct .donec-dignissim-cura1:hover {
  color: #fff;
}
