/* Page-specific styles for solution-oil-and-gas-maintenance-employee */
/* Add overrides here — never edit compat.css for page-specific changes */

/* ── Section 3: About / Overview — left image fix ── */
.left-img {
  width: 100%;
  max-width: 100%;
  min-height: 420px;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* ── Section 3: About / Overview — text on left, image on right ── */
/* compat.css's `.section-content[class*="col-"]` resets width to auto,
   which beats the plain `.col-md-6` 50% rule and makes this column wrap
   onto its own line instead of sitting beside the image. Restore the
   50% width here (equal specificity, later in cascade, so it wins). */
.section-content.col-md-6 {
  order: 1;
}

.col-md-6:has(> .left-img) {
  order: 2;
}

@media (min-width: 768px) {
  .section-content.col-md-6 {
    width: 50%;
    margin-inline: 0;
  }
}

/* ── Section 5: Featured Highlights — center the 5-card row (only fills
   5/6 of the grid, leaving a gap on the right by default) ── */
.row-icon {
  justify-content: center;
}

/* ── Section 6 & 7 headings — center the underline bar beneath centered h2s ── */
.underline {
  margin-inline: auto;
}

/* ── Section 6: Story blocks — images (contain, not cropped) ── */
.story-block .img-fluid,
.story-section .img-fluid {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;  /* show full image, no cropping */
  border-radius: 12px;
  display: block;
}

/* ── Section 7: Promo/Offer image — show full, not cropped ── */
.story-block > .col-md-6 > .img-fluid {
  width: 100%;
  height: auto;
  object-fit: contain;  /* prevents cutting off heads/feet */
  border-radius: 12px;
}

/* ── Section 11: Join / Subscribe Banner — simple clean design ── */
section .join-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2.5rem 3rem;
}

section .join-section .join-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.75rem;
}

section .join-section p:last-child b {
  font-weight: 600;
  color: #27B7BC;
  font-size: 0.95rem;
  cursor: pointer;
}
