/* Wellness Begins Here */

.rig-wellness-page {
  background: #fff;
  overflow-x: hidden;
  color: #2c3e4a;
}

.rig-wellness-page .container {
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}

.rig-wellness-hero-grid > *,
.rig-wellness-split > *,
.rig-wellness-hero-copy,
.rig-wellness-hero-actions,
.rig-wellness-stepping-inner,
.rig-wellness-right-inner {
  min-width: 0;
  max-width: 100%;
}

.rig-wellness-page .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #0278ae;
  font-size: 14px;
  font-weight: 500;
}

.rig-wellness-page .section-title {
  margin-bottom: 16px;
}

.rig-wellness-body {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: #4a5c68;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rig-wellness-body:last-child {
  margin-bottom: 0;
}

.rig-wellness-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.rig-wellness-section-head .sub-title {
  justify-content: center;
}

.rig-wellness-center-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ---------- Hero ---------- */
.rig-wellness-hero {
  padding: 144px 0 72px;
  background: linear-gradient(180deg, #f5f8fb 0%, #fff 100%);
}

.rig-wellness-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.rig-wellness-hero-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.15;
  color: #1a3a4a;
}

.rig-wellness-hero-sub {
  margin: 0 0 20px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: #3a8f7a;
  font-weight: 500;
}

.rig-wellness-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rig-wellness-hero-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(58, 143, 122, 0.12);
  background: #e8f4f0;
  aspect-ratio: 4 / 5;
  max-height: 560px;
}

.rig-wellness-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Buttons ---------- */
.rig-wellness-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid #0278ae;
  color: #0278ae;
  background: transparent;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.rig-wellness-btn-outline:hover {
  background: #0278ae;
  color: #fff;
  text-decoration: none;
}

.rig-wellness-btn-light,
.btn-primary.rig-wellness-btn-light {
  background: #fff !important;
  color: #0278ae !important;
}

.rig-wellness-btn-light:hover,
.rig-wellness-btn-light:focus,
.rig-wellness-btn-light:active,
.btn-primary.rig-wellness-btn-light:hover,
.btn-primary.rig-wellness-btn-light:focus,
.btn-primary.rig-wellness-btn-light:active {
  background: #f0f7fb !important;
  color: #0278ae !important;
}

.rig-wellness-btn-light svg path,
.btn-primary.rig-wellness-btn-light svg path,
.btn-primary.rig-wellness-btn-light:hover svg path,
.btn-primary.rig-wellness-btn-light:focus svg path,
.btn-primary.rig-wellness-btn-light:active svg path {
  stroke: #0278ae !important;
}

.rig-wellness-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  background: transparent;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rig-wellness-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* ---------- Split layouts ---------- */
.rig-wellness-recommend,
.rig-wellness-about {
  padding: 72px 0;
}

.rig-wellness-recommend {
  background: #fff;
}

.rig-wellness-about {
  background: #faf8f4;
}

.rig-wellness-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.rig-wellness-split-media {
  border-radius: 20px;
  overflow: hidden;
  background: #e8f1f6;
  aspect-ratio: 5 / 4;
}

.rig-wellness-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rig-wellness-portrait {
  aspect-ratio: 3 / 4;
  max-width: 420px;
  margin-left: auto;
}

/* ---------- Right for You ---------- */
.rig-wellness-right {
  padding: 72px 0;
  background: linear-gradient(180deg, #f0f7f5 0%, #eef5f3 100%);
  scroll-margin-top: 100px;
}

.rig-wellness-right-inner {
  max-width: 760px;
  margin: 0 auto;
}

.rig-wellness-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rig-wellness-checklist li {
  position: relative;
  padding: 14px 0 14px 32px;
  font-size: 16px;
  line-height: 1.6;
  color: #2c3e4a;
  border-bottom: 1px solid rgba(2, 120, 174, 0.1);
}

.rig-wellness-checklist li:last-child {
  border-bottom: none;
}

.rig-wellness-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a8f7a;
}

/* ---------- Created section (The Framework) ---------- */
.rig-wellness-created {
  padding: 88px 0;
  background: linear-gradient(180deg, #f5f8fb 0%, #eef5f3 100%);
}

.rig-wellness-created-panel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 56px 56px 52px;
  border: 1px solid #e4eef4;
  box-shadow: 0 18px 48px rgba(26, 58, 74, 0.08);
  overflow: hidden;
}

.rig-wellness-created-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0278ae 0%, #3a8f7a 100%);
}

.rig-wellness-created-head {
  text-align: center;
  margin-bottom: 28px;
}

.rig-wellness-created-head .sub-title {
  justify-content: center;
  margin-bottom: 14px;
}

.rig-wellness-created-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.25;
  color: #1a3a4a;
  font-weight: 600;
}

.rig-wellness-created-divider {
  width: 56px;
  height: 3px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0278ae 0%, #3a8f7a 100%);
}

.rig-wellness-created-body {
  max-width: 680px;
  margin: 0 auto;
}

.rig-wellness-created-text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: #4a5c68;
  text-align: center;
}

.rig-wellness-created-text:last-child {
  margin-bottom: 0;
}

.rig-wellness-created-lead {
  font-size: 18px;
  line-height: 1.75;
  color: #1a3a4a;
  font-weight: 500;
  margin-bottom: 22px;
}

/* ---------- Gain cards ---------- */
.rig-wellness-gain {
  padding: 72px 0;
  background: #f5f8fb;
}

.rig-wellness-gain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rig-wellness-gain-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid #e4eef4;
  text-align: center;
  box-shadow: 0 8px 24px rgba(26, 58, 74, 0.05);
}

.rig-wellness-gain-icon {
  display: inline-flex;
  margin-bottom: 14px;
}

.rig-wellness-gain-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #1a3a4a;
}

.rig-wellness-gain-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4a5c68;
}

/* ---------- Stepping stone band ---------- */
.rig-wellness-stepping {
  position: relative;
  padding: 100px 0;
  background-color: #1a3a4a;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.rig-wellness-stepping-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(18, 40, 52, 0.88) 0%, rgba(26, 58, 74, 0.62) 55%, rgba(58, 143, 122, 0.35) 100%);
  z-index: 1;
}

.rig-wellness-stepping-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.rig-wellness-stepping-title {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  color: #fff !important;
}

.rig-wellness-stepping-text {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.rig-wellness-stepping-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Final CTA ---------- */
.rig-wellness-cta {
  padding: 80px 0;
  background: #fff;
}

.rig-wellness-cta-panel {
  position: relative;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.rig-wellness-cta-panel.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: none;
  background-color: var(--cta-overlay-color, inherit);
  opacity: var(--cta-overlay-opacity, 0.72);
  z-index: 0;
  pointer-events: none;
}

.rig-wellness-cta-panel.has-bg-image > * {
  position: relative;
  z-index: 1;
}

.rig-wellness-cta-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.25;
  color: #fff !important;
}

.rig-wellness-cta-text {
  margin: 0 auto 28px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.rig-wellness-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.rig-wellness-page h1,
.rig-wellness-page h2,
.rig-wellness-page h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.rig-wellness-page .btn-primary,
.rig-wellness-page .rig-wellness-btn-outline,
.rig-wellness-page .rig-wellness-btn-light,
.rig-wellness-page .rig-wellness-btn-ghost {
  max-width: 100%;
  box-sizing: border-box;
  width: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rig-wellness-gain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .rig-wellness-hero {
    padding: 120px 0 56px;
  }

  .rig-wellness-hero-grid,
  .rig-wellness-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rig-wellness-split-image-left .rig-wellness-split-media {
    order: -1;
  }

  .rig-wellness-hero-media {
    aspect-ratio: 16 / 10;
    max-height: 420px;
    order: -1;
  }

  .rig-wellness-portrait {
    max-width: 100%;
    margin-left: 0;
  }

  .rig-wellness-created {
    padding: 72px 0;
  }

  .rig-wellness-created-panel {
    padding: 44px 32px 40px;
  }

  .rig-wellness-stepping {
    padding: 72px 0;
  }

  .rig-wellness-cta {
    padding: 64px 0;
  }

  .rig-wellness-cta-panel {
    padding: 44px 28px;
  }
}

@media (max-width: 767px) {
  .rig-wellness-page .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .rig-wellness-hero {
    padding: 120px 0 48px;
  }

  .rig-wellness-hero-sub {
    font-size: 17px;
  }

  .rig-wellness-hero-media {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: auto;
    max-height: none;
    height: auto;
  }

  .rig-wellness-hero-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .rig-wellness-body,
  .rig-wellness-created-text,
  .rig-wellness-stepping-text,
  .rig-wellness-cta-text,
  .rig-wellness-checklist li {
    font-size: 15px;
  }

  .rig-wellness-gain-grid {
    grid-template-columns: 1fr;
  }

  .rig-wellness-gain-card {
    padding: 26px 22px;
  }

  .rig-wellness-hero-actions,
  .rig-wellness-stepping-actions,
  .rig-wellness-cta-actions,
  .rig-wellness-center-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .rig-wellness-hero-actions .btn-primary,
  .rig-wellness-hero-actions .rig-wellness-btn-outline,
  .rig-wellness-stepping-actions a,
  .rig-wellness-cta-actions a,
  .rig-wellness-center-cta .btn-primary {
    width: 100% !important;
    max-width: 100%;
    justify-content: center;
  }

  .rig-wellness-recommend,
  .rig-wellness-right,
  .rig-wellness-about,
  .rig-wellness-created,
  .rig-wellness-gain,
  .rig-wellness-cta {
    padding: 56px 0;
  }

  .rig-wellness-stepping {
    padding: 64px 0;
  }

  .rig-wellness-created-panel {
    padding: 36px 22px 32px;
    border-radius: 20px;
  }

  .rig-wellness-created-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .rig-wellness-created-lead {
    font-size: 16px;
  }

  .rig-wellness-cta-panel {
    padding: 36px 22px;
    border-radius: 20px;
  }
}

@media (max-width: 575px) {
  .rig-wellness-page .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rig-wellness-hero {
    padding: 112px 0 40px;
  }

  .rig-wellness-hero-media {
    border-radius: 16px;
  }

  .rig-wellness-split-media {
    border-radius: 16px;
  }

  .rig-wellness-recommend,
  .rig-wellness-right,
  .rig-wellness-about,
  .rig-wellness-created,
  .rig-wellness-gain {
    padding: 48px 0;
  }

  .rig-wellness-cta {
    padding: 48px 0;
  }

  .rig-wellness-stepping {
    padding: 56px 0;
  }

  .rig-wellness-created-panel {
    padding: 32px 18px 28px;
    border-radius: 18px;
  }

  .rig-wellness-checklist li {
    padding: 12px 0 12px 28px;
  }

  .rig-wellness-cta-panel {
    padding: 32px 18px;
    border-radius: 16px;
  }
}
