@charset "utf-8";

/* =========================================
   Inspection page
========================================= */
.page-inspection .inspection-intro__grid{
  grid-template-columns: 1fr;
}

.inspection-page__panel{
  overflow: hidden;
}

.inspection-lead__heading{
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
  color: #0a3f73;
}

.inspection-patchflow{
  margin-top: 14px;
}

.inspection-patchflow__timeline{
  display: grid;
  gap: 0;
}

.inspection-patchflow__row{
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 0;
  align-items: start;
}

.inspection-patchflow__row:not(:last-child){
  margin-bottom: 12px;
}

.inspection-patchflow__marker{
  position: relative;
  min-height: 100%;
  display: flex;
  justify-content: center;
}

.inspection-patchflow__row:not(:last-child) .inspection-patchflow__marker::after{
  content: "";
  position: absolute;
  top: 76px;
  bottom: -18px;
  left: 50%;
  width: 1px;
  background: #9fc7ea;
  transform: translateX(-50%);
}

.inspection-patchflow__num{
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1.5px solid #9fc7ea;
  background: #fff;
  color: #0062b2;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.inspection-patchflow__content{
  padding: 6px 0 44px;
  border-bottom: 1px dashed #cfd8e3;
}

.inspection-patchflow__row:last-child .inspection-patchflow__content{
  padding-bottom: 0;
  border-bottom: none;
}

.inspection-patchflow__content h2{
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 700;
  color: #0a3f73;
}

.inspection-patchflow__content p{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 2.05;
  color: #334155;
}

.inspection-patchflow__content p:last-child{
  margin-bottom: 0;
}

.inspection-subflow{
  margin-top: 34px;
}

.inspection-subflow__title{
  margin: 0 0 26px;
  text-align: center;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  color: #0a3f73;
}

.inspection-subflow__title::after{
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  margin: 12px auto 0;
  background: #b9d7dd;
}

.inspection-subflow__list{
  display: grid;
  gap: 0;
}

.inspection-subflow__item{
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: stretch;
}

.inspection-subflow__step{
  display: flex;
  align-items: center;
  padding: 24px 18px;
  background: #0062b2;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.inspection-subflow__body{
  display: flex;
  align-items: center;
  padding: 24px 24px;
  background: #edf1f3;
  color: #334155;
  font-size: 16px;
  line-height: 1.9;
}

.inspection-subflow__arrow{
  position: relative;
  width: 100%;
  height: 32px;
}

.inspection-subflow__arrow::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 16px solid #8fbfe7;
}

.inspection-note{
  margin-top: 46px;
  padding: 24px 28px;
  border-radius: 18px;
  background: #f8fbfe;
  border: 1px solid #dce9f5;
}

.inspection-note__label{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: #0a3f73;
}

.inspection-note__text{
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #334155;
}

@media (max-width: 1100px){
  .inspection-patchflow__row{
    grid-template-columns: 92px 1fr;
    gap: 24px;
  }

  .inspection-patchflow__content h2{
    font-size: 28px;
  }

  .inspection-subflow__item{
    grid-template-columns: 220px 1fr;
  }

  .inspection-subflow__step{
    font-size: 16px;
  }
}

@media (max-width: 767px){
  .inspection-lead__heading{
    margin-bottom: 10px;
    font-size: 20px;
  }

  .inspection-patchflow__row{
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }

  .inspection-patchflow__row:not(:last-child){
    margin-bottom: 8px;
  }

  .inspection-patchflow__row:not(:last-child) .inspection-patchflow__marker::after{
    top: 56px;
    bottom: -12px;
  }

  .inspection-patchflow__num{
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .inspection-patchflow__content{
    padding: 2px 0 28px;
  }

  .inspection-patchflow__content h2{
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.5;
  }

  .inspection-patchflow__content p,
  .inspection-note__text{
    font-size: 15px;
    line-height: 1.9;
  }

  .inspection-subflow{
    margin-top: 26px;
  }

  .inspection-subflow__title{
    margin-bottom: 18px;
    font-size: 22px;
  }

  .inspection-subflow__item{
    grid-template-columns: 1fr;
  }

  .inspection-subflow__step{
    padding: 16px 16px 14px;
    font-size: 16px;
  }

  .inspection-subflow__body{
    padding: 16px;
    font-size: 15px;
    line-height: 1.85;
  }

  .inspection-subflow__arrow{
    height: 24px;
  }

  .inspection-subflow__arrow::before{
    top: 3px;
    border-left-width: 12px;
    border-right-width: 12px;
    border-top-width: 14px;
  }

  .inspection-note{
    margin-top: 32px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .inspection-note__label{
    margin-bottom: 8px;
    font-size: 16px;
  }
}

.page-inspection .derma-anchor{
  grid-template-columns: repeat(3, max-content);
  justify-content: flex-start;
}

.page-inspection .derma-anchor a{
  gap: 8px;
  padding: 0 20px;
}

.page-inspection .derma-anchor a::before{
  position: static;
  flex: 0 0 auto;
  transform: none;
}

@media (max-width: 767px){
  .page-inspection .derma-anchor{
    grid-template-columns: 1fr;
  }

  .page-inspection .derma-anchor a{
    white-space: normal;
  }
}
.inspection-status-note{
  display: inline-block;
  margin-left: 14px;
  color: #c0392b;
  font-size: .58em;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;
}

@media (max-width: 767px){
  .inspection-status-note{
    display: block;
    margin: 6px 0 0;
    font-size: .68em;
  }
}