
/* STYLES FOR CASE STUDY LANDING PAGE  */

 .case-study-listing-image {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.case-study-listing-image img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    border: 1px solid #ddd;
}

.case-study-listing {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 36px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid #ddd;
}

.case-study-listing h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.case-study-listing h2 a {
  color: #333;
  text-decoration: none;
}

.case-study-teaser {
  font-weight: 600;
  margin-bottom: 14px;
}

.case-study-link {
  color: #c41230;
  font-weight: 700;
  text-decoration: none;
}

.case-study-link:hover {
  text-decoration: underline;
}

.case-study-listing-image img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .case-study-listing {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-study-listing-image img {
    max-width: 160px;
  }
}

/* CASE STUDY LANDING PAGES */
.case-study-wrap {
    padding-top: 30px;
    padding-bottom: 50px;
}

/* ADDED style: normalizes case study H1 weight */
.case-study-wrap h1 {
  font-weight: 400;
}
/* ADDED style: controls spacing after H1 without restyling H1 */
.case-intro {
  max-width: 900px;
  font-size: 18px;
  line-height: 1.6em;
  margin-top: 0;
  margin-bottom: 35px;
}

.project-snapshot {
  border-top: 2px solid red;
  border-bottom: 1px solid #dddddd;
  padding: 22px 0 18px;
  margin: 0 0 42px;
}

.project-snapshot h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
}

.snapshot-item strong {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.snapshot-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45em;
}

.case-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
    align-items: start;

   /*  margin-left: 18px; */
}
.case-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 0;
}
.case-copy {
  min-width: 0;
}

.case-visual {
  min-width: 0;
  margin-top: 0;
  padding-top: 0;

}

.case-visual figure {
  margin: 0;
   
}

.case-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.case-copy h2 {
  margin-top: 0;
}


/* RECONFIGURED existing .case-copy style */
.case-copy {
  min-width: 0;
}
.case-copy p {
  margin-bottom: 18px;
}

.case-visual figure {
  margin: 0 0 28px;
  
}

.case-visual img {
  max-width: 100%;
  height: auto;
  display: block;
}

.case-visual {
    margin-top: 0;
    padding-top: 0;
}

.case-caption {
    /* font-family: 'Ubuntu Mono', monospace; */
    font-size: 13px;
    line-height: 1.45;
    color: #555;
    background: #eee;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 8px 18px;
    margin-top: 3px;
}


/* RECONFIGURED existing .case-pullquote style */
.case-pullquote {
    margin: 24px 0 32px;
    padding: 8px 0 8px 24px;
    border-left: 5px solid #c41230;
    font-size: 1.35em;
    font-weight: 600;
    line-height: 1.5;
}




/* RECONFIGURED existing .case-key-takeaway style */
.case-key-takeaway {
  width: calc((100% - 72px) / 3 * 2 + 36px);
  border-top: 3px solid red;
  padding-top: 22px;
  margin-top: 10px;
}
.case-more {
  margin-top: 45px;
  border-top: 1px solid #dddddd;
  padding-top: 24px;
}

.case-more ul {
  padding-left: 0;
  list-style: none;
}

.case-more li {
  margin-bottom: 8px;
}

.case-more a {
  color: red;
 /*  font-weight: bold; */
}
.snapshot-item {
  border-left: 1px solid #ddd;
  padding-left: 18px;
}

.snapshot-item:first-child,
.snapshot-item:nth-child(4) {
  border-left: none;
  padding-left: 0;
}
/*==================================================
  CASE STUDIES
==================================================*/



/* Project Highlights panel */

.case-project-snapshot {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 22px;
    margin: 0 0 35px;
}

/* 
.case-sproject-snapshot {
    color: #c41230;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
 */

.case-project-snapshot p {
    margin-bottom: 10px;
}

.quote {
    margin: 35px 0;
    padding-left: 24px;
    border-left: 4px solid #c41230;
    font-size: 1.25em;
    font-weight: bold;
    line-height: 1.5;
    color: #333;
}

/* Section spacing */

.case-section {
    margin-bottom: 40px;
}

.case-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Images */

.case-image {
    margin-bottom: 35px;
}

.case-image img {
    width: 100%;
    height: auto;
    display: block;
}



/* RECONFIGURED existing .case-pullquote style */

/* ===========================
   Mobile Case Study Layout
   =========================== */

@media (max-width: 767px) {

  .case-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }


  .case-visual figure {
    max-width: 280px;
    margin: 0 auto 24px;
  }

  .case-visual img {
    width: 100%;
    height: auto;
    display: block;
  }

}


@media (max-width: 767px) {
  .case-row {
    display: block;
  }

  .case-copy,
  .case-visual {
    grid-column: auto;
  }

  .case-visual {
    margin-top: 22px;
  }
}
