.page-immigration-detail {
  overflow: hidden;
  background: #fff;
  color: #111;
}

.detail-hero {
  min-height: 357px;
  background: url("../assets/images/immigration/detail-hero-bg@2x.png") center / cover no-repeat;
  color: #fff;
}

.detail-hero__inner {
  min-height: 357px;
  display: flex;
  align-items: center;
}

.detail-hero__title {
  width: 430px;
  min-height: 95px;
  padding: 17px 24px 15px;
  border-left: 5px solid #d82f2f;
  background: linear-gradient(90deg, rgba(216, 47, 47, 0.37) 0%, rgba(114, 25, 25, 0) 100%);
}

.detail-hero__title h1 {
  margin: 0;
  font-size: 32px;
  line-height: 42px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.detail-hero__title p {
  margin: 1px 0 0;
  font-size: 14px;
  line-height: 22px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.detail-breadcrumb {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  line-height: 22px;
  color: #999;
}

.detail-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color var(--transition);
}

.detail-breadcrumb a:hover,
.detail-breadcrumb span:last-child {
  color: #000;
}

.detail-section-heading {
  text-align: center;
}

.detail-section-heading--left {
  text-align: left;
}

.detail-section-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 46px;
  font-weight: 500;
  color: #000;
}

.detail-section-heading p {
  margin: -5px 0 0;
  font-size: 16px;
  line-height: 36px;
  color: #000;
  text-transform: uppercase;
}

.detail-section-heading span {
  display: block;
  width: 67px;
  height: 3px;
  margin: 4px auto 0;
  background: #d82f2f;
}

.detail-section-heading--left span {
  margin-left: 0;
}

.detail-overview {
  padding: 51px 0 61px;
}

.detail-overview__inner {
  display: grid;
  grid-template-columns: minmax(0, 668px) 1fr;
  grid-template-rows: auto auto;
  column-gap: 74px;
  row-gap: 0;
  align-items: start;
}

.detail-overview__copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.detail-overview__desc {
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 26px;
  color: #333;
  text-align: justify;
}

.detail-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px 58px;
  margin-top: 35px;
}

.detail-fact {
  display: grid;
  grid-template-columns: 50px auto;
  grid-template-rows: repeat(2, 25px);
  column-gap: 14px;
  margin: 0;
}

.detail-fact dt,
.detail-fact dd {
  margin: 0;
}

.detail-fact dt {
  display: contents;
  font-size: 14px;
  line-height: 26px;
  color: #333;
}

.detail-fact dt img {
  grid-row: 1 / 3;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.detail-fact dd {
  grid-column: 2;
  margin-top: -2px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #d82f2f;
}

.detail-contact {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 135px;
  height: 45px;
  margin-top: 47px;
  border-radius: 25px;
  background: #d82f2f;
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.detail-contact img {
  width: 15px;
  height: 9px;
}

.detail-contact:hover {
  transform: translateY(-2px);
  background: #f23030;
  box-shadow: 0 10px 20px rgba(216, 47, 47, 0.24);
}

.detail-overview__figure {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  width: 589px;
  margin: 9px 0 0 auto;
  padding: 0 0 24px 24px;
}

.detail-overview__figure::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 175px;
  height: 126px;
  background: #d82f2f;
}

.detail-overview__figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 565px;
  height: 408px;
  object-fit: cover;
}

.detail-requirements {
  padding: 75px 0 111px;
  background: #fbfbfb;
}

.detail-requirements__inner {
  display: grid;
  grid-template-columns: 667px minmax(0, 668px);
  column-gap: 74px;
  align-items: center;
}

.detail-requirements__figure {
  position: relative;
  margin: 0;
  padding: 0 0 28px 28px;
}

.detail-requirements__figure::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 513px;
  height: 76px;
  background: #d82f2f;
}

.detail-requirements__figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 667px;
  height: 494px;
  object-fit: cover;
}

.detail-requirements__copy {
  min-width: 0;
}

.detail-requirements__list {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 35px 0 0;
  padding: 8px 0 0;
  list-style: none;
}

.detail-requirements__list li {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
  font-size: 18px;
  line-height: 27px;
  color: #333;
}

.detail-requirements__list li span {
  width: 9px;
  height: 9px;
  margin-top: 9px;
  background: #d82f2f;
}

.detail-process {
  padding: 61px 0 42px;
  background: #fff;
}

.detail-process__grid {
  --process-line-y: 60px;
  --process-row-gap: 206px;
  --process-dot-size: 30px;
  --process-line-color: #ff3b3b;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(178px, auto);
  column-gap: 0;
  max-width: 1436px;
  min-height: 352px;
  margin: 54px auto 0;
  padding: 0 76px;
  list-style: none;
}

.detail-process__grid li {
  position: relative;
  z-index: 1;
  min-height: 178px;
  padding-top: 0;
  padding-right: 66px;
  /* padding-bottom: 10px; */
}

.detail-process__grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--process-line-y) - var(--process-dot-size) / 2);
  z-index: 1;
  width: var(--process-dot-size);
  height: var(--process-dot-size);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #d82f2f 0 8px, rgba(216, 47, 47, 0.1) 8px 100%);
}

.detail-process__grid li::after {
  content: "";
  position: absolute;
  top: var(--process-line-y);
  z-index: 0;
  height: 1px;
  background: var(--process-line-color);
}

.detail-process__grid li:nth-child(-n + 3)::after {
  left: 0;
  width: 100%;
}

.detail-process__grid li:nth-child(4)::after {
  left: 0;
  right: -76px;
  height: var(--process-row-gap);
  border: 1px solid var(--process-line-color);
  border-left: 0;
  border-radius: 0 98px 98px 0;
  background: none;
}

.detail-process__grid li:nth-child(5)::after {
  left: 0;
  width: calc(100%);
}

.detail-process__grid li:nth-child(6)::after {
  left: -58px;
  width: 408px;
}

.detail-process__grid li:nth-child(6) strong {
  position: relative;
}

.detail-process__grid li:nth-child(6) strong::before {
  content: "";
  position: absolute;
  left: -63px;
  top: 55px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-right: 10px solid var(--process-line-color);
  border-bottom: 5px solid transparent;
}

.detail-process__grid strong {
  display: block;
  font-family: var(--font-family-oswald);
  font-size: 30px;
  line-height: 30px;
  font-weight: 500;
  color: #d82f2f;
}

.detail-process__grid h3 {
  margin: 52px 0 0;
  font-size: 22px;
  line-height: 40px;
  font-weight: 500;
  color: #000;
}

.detail-process__grid p {
  font-size: 14px;
  line-height: 23px;
  color: #666;
  text-align: justify;
}

.detail-process__grid b {
  color: #000;
  font-weight: 500;
}

.detail-process__grid em {
  display: block;
  margin-top: 12px;
  color: #d82f2f;
  font-size: 14px;
  line-height: 24px;
  font-style: normal;
}

.detail-process__grid li:nth-child(5),
.detail-process__grid li:nth-child(6) {
  min-height: 174px;
}

.detail-process__grid li:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
  width: 374px;
  transform: translateX(-89px);
}

.detail-process__grid li:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
  width: 374px;
  transform: translateX(-118px);
}
