.project-case-page {
  --project-case-line: #d7e0e8;
  color: #666d75;
}

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

.project-case-page a:focus-visible,
.project-case-page button:focus-visible,
.project-case-page summary:focus-visible {
  outline: 3px solid #6fb8ff;
  outline-offset: 3px;
}

.project-case-breadcrumb-area .title h1 {
  max-width: 860px;
  margin: 0 auto;
}

.project-case-source-image {
  margin: 0;
}

.project-case-source-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.52 / 1;
  object-fit: cover;
}

.project-case-source-image figcaption {
  padding-top: 10px;
  color: #666d75;
  font-size: 12px;
  line-height: 1.5;
}

.single-case-info ul li {
  display: flex;
  gap: 4px;
  line-height: 30px;
}

.single-case-info ul li span {
  flex: 0 0 auto;
}

.case-key-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 27px;
}

.case-key-metrics div {
  min-width: 0;
  padding: 14px 12px 12px;
  border: 1px solid var(--project-case-line);
  border-radius: 5px;
  background: #fff;
}

.case-key-metrics strong,
.case-key-metrics span {
  display: block;
}

.case-key-metrics strong {
  color: #222;
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.case-key-metrics span {
  margin-top: 5px;
  color: #666d75;
  font-size: 12px;
  line-height: 1.3;
}

.case-description-content p + p {
  margin-top: 16px;
}

.case-section-title {
  margin-bottom: 26px;
}

.case-section-title h3 {
  color: #222;
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 14px;
}

.case-section-title p {
  margin: 0;
}

.case-station-area,
.case-narrative-area,
.case-related-equipment-area {
  position: relative;
  display: block;
  padding: 0 0 53px;
}

.case-station-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.case-station-tabs button {
  position: relative;
  display: inline-block;
  border: 1px solid var(--project-case-line);
  border-radius: 5px;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  line-height: 22px;
  padding: 12px 18px;
  transition: all 300ms ease;
}

.case-station-tabs button:hover,
.case-station-tabs button[aria-selected="true"] {
  border-color: #6fb8ff;
  background: #6fb8ff;
  color: #fff;
}

.case-station-panel {
  border: 1px solid var(--project-case-line);
  border-radius: 5px;
  padding: 28px 32px;
}

.case-station-panel h4 {
  color: #222;
  font-size: 22px;
  line-height: 30px;
  margin: 0 0 20px;
}

.case-station-panel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.case-station-panel dt,
.case-station-panel dd {
  margin: 0;
}

.case-station-panel dt {
  color: #222;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  line-height: 1.4;
}

.case-station-panel dd {
  margin-top: 7px;
  line-height: 1.55;
}

.project-case-tabs-ready .case-station-panel[hidden] {
  display: none;
}

.case-narrative-block {
  position: relative;
  display: block;
  padding: 31px 0 28px;
  border-top: 1px solid var(--project-case-line);
}

.case-narrative-block:last-child {
  border-bottom: 1px solid var(--project-case-line);
}

.case-narrative-block h3 {
  color: #222;
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 14px;
}

.case-narrative-block p {
  margin: 0;
  line-height: 1.82;
}

.case-narrative-block p + p {
  margin-top: 14px;
}

.case-related-equipment {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  border: 2px solid var(--project-case-line);
  border-radius: 5px;
  overflow: hidden;
}

.case-related-equipment-image {
  min-height: 100%;
  background: #f7f9fb;
}

.case-related-equipment-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.case-related-equipment-content {
  padding: 34px 34px 32px 0;
}

.case-related-equipment-content > span {
  display: block;
  margin-bottom: 10px;
  color: #6fb8ff;
  font-family: "Rubik", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}

.case-related-equipment-content h4 {
  color: #222;
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 13px;
}

.case-related-equipment-content p {
  margin: 0 0 22px;
  line-height: 1.75;
}

.project-case-page .challenge-solution-area .single-box {
  border-color: var(--project-case-line);
}

@media only screen and (max-width: 767px) {
  .project-case-breadcrumb-area .title h1 {
    font-size: 34px;
    line-height: 42px;
  }

  .single-case-info ul li {
    display: block;
    line-height: 28px;
    margin-bottom: 8px;
  }

  .case-key-metrics,
  .case-station-panel dl,
  .case-related-equipment {
    grid-template-columns: 1fr;
  }

  .case-station-tabs {
    flex-direction: column;
  }

  .case-station-tabs button {
    width: 100%;
    text-align: left;
  }

  .case-related-equipment-content {
    padding: 25px 22px 28px;
  }

  .case-related-equipment-image img {
    min-height: 220px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .case-related-equipment {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .case-related-equipment-content {
    padding: 28px 26px 28px 0;
  }
}

@media only screen and (max-width: 991px) {
  .chat-widget,
  #chat-widget,
  .chat-button,
  .chat-container {
    display: none !important;
  }
}
