/* Deposition Officer page uses the same isolated visual template as Subpoenas. */
@import url("subpoenas-page.css");

.deposition-page-shell .banner-head {
  min-height: 270px;
}

.deposition-page-shell .banner-head h1 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.65em 20px 0;
  font-size: 3em;
  line-height: 1.12;
}

/* Reverse the opening composition so this page does not mirror Subpoenas. */
.deposition-page .subpoena-intro {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.deposition-page .subpoena-intro__image {
  grid-column: 1;
  grid-row: 1;
}

.deposition-page .subpoena-intro__content {
  grid-column: 2;
  grid-row: 1;
}

.deposition-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.deposition-role-card {
  padding: 34px 36px;
  border: 1px solid #dce5ed;
  border-left: 5px solid #295f99;
  background: #fff;
  box-shadow: 0 10px 26px rgba(32, 52, 72, 0.06);
}

.deposition-role-label {
  display: block;
  margin-bottom: 8px;
  color: #295f99;
  font-family: 'Karla-Bold', Arial, sans-serif;
  font-size: 0.82em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deposition-role-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deposition-role-card li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid #e3eaf1;
  line-height: 1.55;
}

.deposition-role-card li:last-child {
  border-bottom: 0;
}

.deposition-role-card li::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 8px;
  height: 2px;
  background: #2789d8;
}

/* A vertical assignment timeline replaces the horizontal Subpoenas process. */
.deposition-page .subpoena-process {
  display: block;
  max-width: 820px;
  margin: 8px auto 0;
}

.deposition-page .subpoena-process__step {
  min-height: 116px;
  padding: 2px 0 34px 76px;
}

.deposition-page .subpoena-process__step::before {
  top: 0;
  left: 0;
}

.deposition-page .subpoena-process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 42px;
  bottom: 6px;
  left: 17px;
  width: 2px;
  background: #c9d9e6;
}

.deposition-page .subpoena-process__step h3 {
  font-size: 1.35em;
}

/* A dark mid-page service-area band gives this page a distinct visual rhythm. */
.deposition-page .subpoena-coverage {
  border: 0;
  background: #172a3d;
  color: #fff;
}

.deposition-page .subpoena-coverage h2 {
  color: #fff;
}

.deposition-page .subpoena-coverage p {
  color: #e1e9f0;
}

.deposition-page .subpoena-card:last-child {
  border-top-color: #43ad2b;
  background: #f7faf5;
}

@media (max-width: 767px) {
  .deposition-page-shell .banner-head {
    min-height: 205px;
  }

  .deposition-page-shell .banner-head h1 {
    padding-top: 2.15em;
    font-size: 2em;
  }

  .deposition-page .subpoena-intro,
  .deposition-role-grid {
    grid-template-columns: 1fr;
  }

  .deposition-page .subpoena-intro__content {
    grid-column: 1;
    grid-row: 1;
  }

  .deposition-page .subpoena-intro__image {
    grid-column: 1;
    grid-row: 2;
  }

  .deposition-role-card {
    padding: 28px 24px;
  }

  .deposition-page .subpoena-process__step {
    min-height: 0;
    padding: 2px 0 32px 62px;
  }
}
