/**
 * General content pages — inner hero + prose sections
 * Use with cda-design-system.css only (no style_all.css).
 */

body.cda-general-page {
  overflow-x: clip;
}

/* Inner page heroes (photo + readable overlay) */
.cda-hero--inner .cda-hero__overlay {
  background: linear-gradient(
    135deg,
    rgba(15, 45, 70, 0.94) 0%,
    rgba(15, 61, 92, 0.9) 45%,
    rgba(10, 40, 62, 0.88) 100%
  );
  padding: clamp(40px, 8vw, 64px) 0;
}

.cda-hero--inner.imageMedigap {
  background-image: url("../images/pexels-photo.jpg");
  background-position: top center;
}

.cda-hero--inner.imageMedicare {
  background-image: url("../images/dr-picture.jpg");
  background-position: center;
}

.cda-hero--inner.imageAbout {
  background-image: url("../images/pexels-photo-copy.jpg");
  background-position: center;
}

.cda-hero--inner h1 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.cda-hero--inner .cda-hero__lead {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
}

.cda-hero__content--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .cda-hero__content--center,
  .cda-hero--inner h1 {
    text-align: center;
  }

  .cda-hero--inner h1 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    line-height: 1.3;
  }
}

/* Prose blocks */
.cda-prose {
  font-size: 16px;
  line-height: 1.65;
  color: var(--cda-text);
}

.cda-prose > :first-child {
  margin-top: 0;
}

.cda-prose h2,
.cda-prose h3,
.cda-prose h4 {
  color: var(--cda-primary);
  margin: 1.5em 0 0.65em;
}

.cda-prose h2:first-child,
.cda-prose h3:first-child {
  margin-top: 0;
}

.cda-prose p {
  margin: 0 0 1em;
}

.cda-prose ul,
.cda-prose ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.cda-prose a {
  color: var(--cda-primary);
  text-decoration: underline;
}

.cda-prose a:hover {
  color: var(--cda-accent-hover);
}

.cda-prose img {
  max-width: 100%;
  height: auto;
}

/* Footer on general template pages */
body.cda-general-page .cda-page-main > .cda-section {
  padding-bottom: 0 !important;
}

body.cda-general-page .cda-page-main > .cda-section > .cda-container {
  padding-bottom: 0;
}

body.cda-general-page .cda-site-footer {
  width: 100%;
  clear: both;
}

body.cda-general-page .cda-site-footer .cda-container,
body.cda-general-page .cda-footer-bottom .cda-container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

body.cda-general-page .cda-footer-item img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}
