/* ======================================================
   RMWL Compounded vs FDA-Approved GLP-1 Medications Page
   Recommended URL:
   /our-services/medication-assisted-weight-loss/compounded-vs-fda-approved-glp-1s/
   ====================================================== */

:root {
  --rmwcompound-purple: #693189;
  --rmwcompound-gold: #b09b6e;
  --rmwcompound-yellow: #f9d905;
  --rmwcompound-text: #111111;
  --rmwcompound-muted: #46433b;
  --rmwcompound-white: #ffffff;
  --rmwcompound-soft-purple: #f6f0fa;
  --rmwcompound-warm-neutral: #f7f4ed;
  --rmwcompound-soft-yellow: #fffdef;
  --rmwcompound-border: rgba(105, 49, 137, 0.13);
  --rmwcompound-gold-border: rgba(176, 155, 110, 0.30);
  --rmwcompound-shadow: 0 12px 30px rgba(34, 16, 45, 0.07);
  --rmwcompound-radius: 24px;
}

.rmwcompound-page {
  color: var(--rmwcompound-text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow: hidden;
}

.rmwcompound-page *,
.rmwcompound-page *::before,
.rmwcompound-page *::after {
  box-sizing: border-box;
}

.rmwcompound-page h1,
.rmwcompound-page h2,
.rmwcompound-page h3 {
  color: var(--rmwcompound-purple);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.rmwcompound-page h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.rmwcompound-page h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.14;
  margin: 0 0 18px;
}

.rmwcompound-page h3 {
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.22;
  margin: 0 0 10px;
}

.rmwcompound-page p {
  margin: 0 0 16px;
}

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

.rmwcompound-page section[id] {
  scroll-margin-top: 120px;
}

.rmwcompound-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.rmwcompound-section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.rmwcompound-section-tight {
  padding: clamp(38px, 5vw, 62px) 0;
}

.rmwcompound-section-soft {
  background:
    radial-gradient(circle at 84% 10%, rgba(176, 155, 110, 0.13), transparent 26%),
    linear-gradient(135deg, #fbf7fd 0%, #ffffff 100%);
}

.rmwcompound-kicker {
  color: var(--rmwcompound-gold) !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
  text-transform: uppercase;
}

.rmwcompound-lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  max-width: 860px;
}

.rmwcompound-heading {
  max-width: 940px;
  margin-bottom: 34px;
}

.rmwcompound-heading p {
  font-size: 18px;
}

/* Hero */
.rmwcompound-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(58px, 8vw, 100px) 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,253,239,0.90) 48%, rgba(246,240,250,0.84) 100%),
    radial-gradient(circle at 86% 32%, rgba(105,49,137,0.12), transparent 34%);
  overflow: hidden;
}

.rmwcompound-hero::before {
  content: "";
  position: absolute;
  right: clamp(-160px, -8vw, -80px);
  top: 50%;
  width: clamp(420px, 48vw, 760px);
  height: clamp(420px, 48vw, 760px);
  transform: translateY(-50%);
  background-image: url("/wp-content/themes/healthcoach-child/images/flower-gold.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.085;
  pointer-events: none;
}

.rmwcompound-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.rmwcompound-hero-actions,
.rmwcompound-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.rmwcompound-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rmwcompound-btn:hover,
.rmwcompound-btn:focus {
  transform: translateY(-1px);
}

.rmwcompound-btn-gold {
  background: linear-gradient(135deg, #c8a85a 0%, #a7843d 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(105,49,137,0.16);
}

.rmwcompound-btn-gold:hover,
.rmwcompound-btn-gold:focus {
  background: var(--rmwcompound-purple);
  border-color: var(--rmwcompound-purple);
  color: #ffffff !important;
}

.rmwcompound-btn-outline {
  background: transparent;
  border-color: var(--rmwcompound-purple);
  color: var(--rmwcompound-purple) !important;
}

.rmwcompound-btn-outline:hover,
.rmwcompound-btn-outline:focus {
  background: var(--rmwcompound-purple);
  color: #ffffff !important;
}

.rmwcompound-btn-outline-light {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff !important;
}

.rmwcompound-btn-outline-light:hover,
.rmwcompound-btn-outline-light:focus {
  background: #ffffff;
  color: var(--rmwcompound-purple) !important;
}

/* Cards and media */
.rmwcompound-media-card,
.rmwcompound-panel {
  background: #ffffff;
  border: 1px solid var(--rmwcompound-border);
  border-radius: var(--rmwcompound-radius);
  box-shadow: var(--rmwcompound-shadow);
  padding: clamp(30px, 5vw, 52px);
}

.rmwcompound-media-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 34px;
  align-items: center;
}

.rmwcompound-media-card-reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
}

.rmwcompound-media-card-reverse .rmwcompound-media-copy {
  grid-column: 2;
}

.rmwcompound-media-card-reverse .rmwcompound-media-image {
  grid-column: 1;
  grid-row: 1;
}

.rmwcompound-media-image {
  overflow: hidden;
  border-radius: 22px;
  background: var(--rmwcompound-warm-neutral);
}

.rmwcompound-media-image img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
}

.rmwcompound-two-card-grid,
.rmwcompound-flag-grid,
.rmwcompound-mini-grid,
.rmwcompound-approach-grid,
.rmwcompound-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rmwcompound-soft-card,
.rmwcompound-warning-grid article,
.rmwcompound-mini-grid article,
.rmwcompound-approach-grid article,
.rmwcompound-flag-card {
  background: var(--rmwcompound-warm-neutral);
  border: 1px solid rgba(176, 155, 110, 0.24);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(34, 16, 45, 0.06);
}

.rmwcompound-note,
.rmwcompound-alert {
  margin-top: 22px;
  padding: 20px 22px;
  background: var(--rmwcompound-soft-yellow);
  border: 1px solid var(--rmwcompound-gold-border);
  border-radius: 16px;
}

.rmwcompound-note,
.rmwcompound-alert p {
  margin-bottom: 0;
}

/* Lists */
.rmwcompound-check-list,
.rmwcompound-flag-card ul,
.rmwcompound-option-list ul {
  margin: 18px 0 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

.rmwcompound-check-list li,
.rmwcompound-flag-card li,
.rmwcompound-option-list li {
  position: relative;
  margin: 0 0 13px !important;
  padding-left: 34px !important;
}

.rmwcompound-check-list li::before,
.rmwcompound-flag-card li::before,
.rmwcompound-option-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.43em;
  width: 15px;
  height: 15px;
  border: 3px solid var(--rmwcompound-purple);
  border-radius: 999px;
}

.rmwcompound-flag-card h3 {
  margin-bottom: 16px;
}

.rmwcompound-green-card {
  background: #f4fbf5;
}

.rmwcompound-red-card {
  background: #fff7f5;
}

/* Warnings */
.rmwcompound-warning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rmwcompound-warning-grid article {
  background: #ffffff;
  border: 1px solid var(--rmwcompound-border);
}

.rmwcompound-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  background: var(--rmwcompound-soft-purple);
  border: 2px solid rgba(105, 49, 137, 0.18);
  border-radius: 999px;
  color: var(--rmwcompound-purple);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

/* Review section */
.rmwcompound-review-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 34px;
  align-items: stretch;
}

.rmwcompound-review-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background:
    radial-gradient(circle at 22% 14%, rgba(176,155,110,0.16), transparent 32%),
    linear-gradient(135deg, #fffdef 0%, #f6f0fa 100%);
  border: 1px solid var(--rmwcompound-border);
  border-radius: 22px;
  color: var(--rmwcompound-purple);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Purple section */
.rmwcompound-section-purple {
  background: var(--rmwcompound-purple);
  color: #ffffff;
}

.rmwcompound-section-purple h2,
.rmwcompound-section-purple h3,
.rmwcompound-section-purple p,
.rmwcompound-section-purple li {
  color: #ffffff;
}

.rmwcompound-section-purple .rmwcompound-kicker {
  color: var(--rmwcompound-yellow) !important;
}

.rmwcompound-section-purple .rmwcompound-option-list li::before {
  border-color: var(--rmwcompound-yellow);
}

.rmwcompound-purple-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.rmwcompound-option-list {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  padding: 28px;
}

.rmwcompound-purple-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.rmwcompound-purple-links a,
.rmwcompound-link-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 999px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
}

.rmwcompound-purple-links a {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: var(--rmwcompound-purple) !important;
}

.rmwcompound-purple-links a:hover,
.rmwcompound-purple-links a:focus {
  background: var(--rmwcompound-yellow);
  border-color: var(--rmwcompound-yellow);
  color: #111111 !important;
}

.rmwcompound-approach-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

/* FAQs */
.rmwcompound-faq-list {
  display: grid;
  gap: 14px;
}

.rmwcompound-faq-list details {
  background: #ffffff;
  border: 1px solid var(--rmwcompound-border);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(34, 16, 45, 0.05);
  padding: 0;
}

.rmwcompound-faq-list summary {
  color: var(--rmwcompound-purple);
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.rmwcompound-faq-list details p {
  padding: 0 24px 22px;
}

/* Related and references */
.rmwcompound-link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rmwcompound-link-grid a {
  background: #ffffff;
  border: 2px solid var(--rmwcompound-purple);
  color: var(--rmwcompound-purple) !important;
  box-shadow: 0 8px 20px rgba(34, 16, 45, 0.05);
}

.rmwcompound-link-grid a:hover,
.rmwcompound-link-grid a:focus {
  background: var(--rmwcompound-purple);
  color: #ffffff !important;
}

.rmwcompound-references {
  background: #ffffff;
  border: 1px solid var(--rmwcompound-border);
  border-radius: 18px;
  box-shadow: var(--rmwcompound-shadow);
  padding: 22px 26px;
}

.rmwcompound-references summary {
  color: var(--rmwcompound-purple);
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.rmwcompound-references ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.rmwcompound-references li {
  margin-bottom: 10px;
}

.rmwcompound-references a {
  color: var(--rmwcompound-purple) !important;
  font-weight: 700;
  text-decoration: underline;
}

/* CTA */
.rmwcompound-cta {
  padding: clamp(58px, 7vw, 88px) 0;
  background: var(--rmwcompound-purple);
  color: #ffffff;
  text-align: center;
}

.rmwcompound-cta .rmwcompound-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rmwcompound-cta h2,
.rmwcompound-cta p {
  color: #ffffff;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rmwcompound-cta .rmwcompound-kicker {
  color: var(--rmwcompound-yellow) !important;
}

.rmwcompound-cta-actions {
  justify-content: center;
}

/* Accessibility */
.rmwcompound-page a:focus,
.rmwcompound-page button:focus,
.rmwcompound-page summary:focus {
  outline: 3px solid var(--rmwcompound-yellow);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .rmwcompound-media-card,
  .rmwcompound-media-card-reverse,
  .rmwcompound-review-panel,
  .rmwcompound-purple-grid {
    grid-template-columns: 1fr;
  }

  .rmwcompound-media-card-reverse .rmwcompound-media-copy,
  .rmwcompound-media-card-reverse .rmwcompound-media-image {
    grid-column: auto;
    grid-row: auto;
  }

  .rmwcompound-warning-grid,
  .rmwcompound-approach-grid,
  .rmwcompound-purple-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .rmwcompound-container {
    width: min(100% - 28px, 1180px);
  }

  .rmwcompound-hero::before {
    width: 560px;
    right: -260px;
    opacity: 0.06;
  }

  .rmwcompound-two-card-grid,
  .rmwcompound-flag-grid,
  .rmwcompound-mini-grid,
  .rmwcompound-warning-grid,
  .rmwcompound-approach-grid,
  .rmwcompound-purple-links,
  .rmwcompound-link-grid {
    grid-template-columns: 1fr;
  }

  .rmwcompound-media-image img,
  .rmwcompound-review-image-placeholder {
    min-height: 260px;
  }

  .rmwcompound-hero-actions,
  .rmwcompound-cta-actions {
    display: block;
  }

  .rmwcompound-btn {
    width: 100%;
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  .rmwcompound-page h1 {
    font-size: 40px;
  }

  .rmwcompound-page h2 {
    font-size: 32px;
  }

  .rmwcompound-section,
  .rmwcompound-section-tight {
    padding: 42px 0;
  }

  .rmwcompound-media-card,
  .rmwcompound-panel {
    border-radius: 18px;
    padding: 24px 18px;
  }
}
