/* about.css */
/* ------------------------------------------
   ABOUT US PAGE
------------------------------------------ */

/* Page title & separator */
.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  margin-bottom: 8px;
}

.title-separator {
  height: 1px;
  background: #cccccc;
  margin-bottom: 20px;
}

/* Section links under the title */
.section-links {
  text-align: center;
  margin-bottom: 40px;
}

.section-links a {
  text-decoration: none;
  font-size: 1.1rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--brand-blue);
  margin: 0 25px; /* attractive spacing */
}

.section-links a:hover,
.section-links a:focus {
  text-decoration: underline;
}

/* Content section titles (e.g. Jackie Portsmouth) */
.section-header {
/*  font-family: "Playfair Display", serif; Playfair digits look small*/
  font-family: serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

/* Spacing between content sections */
.content-section {
  margin-bottom: 60px;
/* below added by mlj */
      margin-left: 20px;
      margin-right: 30px;
}



.case-study-top-reduce-center {
  margin: 30px auto 30px auto;
  width: 80%;
  text-align: center;
}
.case-study-top-reduce-center img {
  max-width: 100%;
}


.case-study-container-white-background {
  width: 80%;
}

.case-study-container {
  width: 80%;
  background-color: var(--brand-blue);
  color: var(--text-light);

  margin: 0 auto 0 auto;
  padding: 40px 20px 40px 20px;
  
}

.case-study-container a {
  color: white;
  text-decoration: underline;
}

.case-study-container-overlay {
  justify-content: center; /* Centers horizontally */
  align-items: center;    /* Centers vertically */
  text-align: center;
  position: relative;
}

.case-study-container-overlay img {
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
}

.case-study-container-overlay p.centered {
  font-size: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.case-study-container-description {
  margin: 20px auto 20px auto;
  max-width: 80%;
  text-align: left;
}

.case-study-container-description p {
  line-height: 1.6;
  margin-bottom: 20px;
  letter-spacing: .5px;
}

/* Layout: paragraphs left and right */
.case-study-container-description-left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 16px;
}

.case-study-container-description-layout-left {
  flex: 1 1 25%;
}

.case-study-container-description-right {
  flex: 0 0 34%; 
}
