/* 지역별 홈페이지 제작 페이지 (/website-design/) · 서비스 페이지 (/services/) 공용
   홈 레이아웃(index.html)을 그대로 쓰고 지역 내용만 홈 섹션에 넣음.
   초록 소개 섹션은 홈의 .service-areas-section/.area-card/.area-cities 스타일을 그대로 쓰고,
   여기서는 링크로 바뀐 부분과 진행 단계 수만 맞춤 */

/* 도시 칩을 링크로 */
.area-cities a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.area-cities li:not(.home):hover {
  background: rgba(255, 255, 255, 0.14);
}

/* 허브의 지역 카드 */
.area-card h3 a {
  color: inherit;
  text-decoration: none;
}

.area-card h3 a:hover {
  color: #1e7a4f;
}

.area-card-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1e7a4f;
  text-decoration: none;
}

/* 진행 흐름: 홈은 5단계, 지역 페이지는 4단계라 4칸으로 */
@media (min-width: 1025px) {
  .flow-steps:has(> .flow-step:nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1000px;
  }
}

/* 서비스 허브: 브라우저 카드 안 서비스 5개 (홈은 4칸) + 링크 */
@media (min-width: 769px) {
  .browser-stats-row:has(> .browser-stat:nth-child(5):last-child) {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .browser-stats-row > .browser-stat:nth-child(5):last-child {
    grid-column: 1 / -1;
  }
}

.browser-stat h4 a {
  color: inherit;
  text-decoration: none;
}

.browser-stat h4 a:hover {
  color: #2ebb77;
}

/* 서비스 페이지 초록 카드 안 링크 */
.area-card-desc a {
  color: #1e7a4f;
  font-weight: 700;
  text-decoration: none;
}

/* 지역 모음(허브): 왼쪽 시드니 방문 카드 + 오른쪽 온라인 지역 목록 */
.hub-areas {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.hub-sydney {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border-radius: 24px;
  background: #fff;
  color: #1c211e;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.hub-sydney img {
  width: 150px;
  height: auto;
  margin-bottom: 18px;
}

.hub-sydney-where {
  color: #1e7a4f;
  font-size: 14px;
  font-weight: 700;
}

.hub-sydney strong {
  margin: 6px 0 10px;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.hub-sydney-desc {
  color: #59625c;
  font-size: 16px;
  line-height: 1.7;
}

.hub-sydney-more {
  margin-top: auto;
  padding-top: 22px;
  color: #1e7a4f;
  font-weight: 700;
}

.hub-sydney:hover strong {
  color: #1e7a4f;
}

.hub-online {
  padding: 26px 28px 10px;
  border-radius: 24px;
  background: #fff;
  color: #1c211e;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.hub-online-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1c211e;
}

.hub-online-head img {
  width: 64px;
  height: auto;
}

.hub-online-head strong {
  display: block;
  font-size: 20px;
}

.hub-online-head span {
  color: #59625c;
  font-size: 14px;
}

.hub-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-list li + li {
  border-top: 1px solid #e3e9e5;
}

.hub-list a {
  display: grid;
  grid-template-columns: 130px auto minmax(0, 1fr) 16px;
  gap: 4px 16px;
  align-items: center;
  padding: 16px 4px;
  color: inherit;
  text-decoration: none;
}

.hub-city strong {
  font-size: 18px;
}

.hub-city small {
  margin-left: 6px;
  color: #8a938d;
  font-size: 12px;
}

.hub-tz {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f7ee;
  color: #1e7a4f;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hub-desc {
  color: #59625c;
  font-size: 14px;
  line-height: 1.55;
}

.hub-go {
  color: #2ebb77;
  font-size: 22px;
}

.hub-list a:hover .hub-city strong {
  color: #1e7a4f;
}

@media (max-width: 900px) {
  .hub-areas {
    grid-template-columns: 1fr;
  }

  .hub-sydney img {
    width: 110px;
  }

  .hub-list a {
    grid-template-columns: minmax(0, 1fr) 16px;
  }

  .hub-tz {
    grid-column: 1;
  }

  .hub-desc {
    grid-column: 1;
  }

  .hub-go {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

/* 시드니: 자주 찾아가는 한인 상권 (위 카드 두 장과 같은 폭의 흰 카드, 5칸 격자) */
.syd-suburbs {
  box-sizing: border-box;
  width: 100%;
  margin: 20px 0 32px;
  padding: 24px 28px;
  border-radius: 20px;
  background: #fff;
  color: #1c211e;
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.syd-suburbs-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e3e9e5;
}

.syd-suburbs-label {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.syd-suburbs-note {
  margin: 0;
  color: #59625c;
  font-size: 14px;
}

.syd-suburbs ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.syd-suburbs li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.syd-suburbs li svg {
  flex: none;
  color: #2ebb77;
}

@media (max-width: 760px) {
  .syd-suburbs-head {
    flex-direction: column;
    gap: 4px;
  }

  .syd-suburbs ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 지역 이동 줄: 카드와 같은 폭의 흰 바 하나에 지역을 고르게 (홈의 .area-cities 칩과 구분) */
.area-cities.area-nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  list-style: none;
}

.area-cities.area-nav li {
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.area-cities.area-nav li:not(.home):hover {
  background: rgba(255, 255, 255, 0.16);
}

.area-cities.area-nav a {
  justify-content: center;
  width: 100%;
  padding: 11px 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.area-cities.area-nav svg {
  display: none;
}

.area-cities.area-nav li.home {
  background: #fff;
}

.area-cities.area-nav li.home a {
  color: #157a4c;
}

@media (max-width: 760px) {
  .area-cities.area-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 4px;
    border-radius: 22px;
  }

  .area-cities.area-nav a {
    font-size: 14px;
    padding: 10px 4px;
  }
}
