@import url('/assets/about.css');

/* 지역 상세 페이지의 제목·대표 연락 패널·지점 전화 목록에 적용합니다.
   지역 연결 영역은 about.css의 기존 디자인을 그대로 사용합니다. */
.region-hero {
  padding-block: 64px 72px;
  background: #24272b;
  color: #f6f3ed;
  border-bottom: 1px solid #6d604c;
}

.region-hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c9b99c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}

.region-hero .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  flex: 0 0 28px;
  background: #c9b99c;
}

.region-hero h1.region-hero-title {
  color: #f6f3ed;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.045em;
}

.region-hero .region-hero-title > span {
  color: #c9b99c;
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.6;
}

.region-hero h1.region-hero-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 22px;
  background: #bba988;
}

.region-hero .region-subtitle {
  color: #d5c8b2;
  white-space: normal;
}

.region-hero .region-intro {
  color: #c3c0ba;
  line-height: 1.85;
}

.region-hero .region-contact-panel {
  min-width: 0;
  background: #303236;
  color: #f6f3ed;
  border: 1px solid #666055;
  border-radius: 4px;
}

.region-hero .region-contact-panel .label {
  color: #d5c8b2;
}

.region-hero .region-contact-caption,
.region-hero .region-contact-panel .panel-note {
  color: #c3c0ba;
}

.region-hero .region-main-phone {
  max-width: 100%;
  color: #fff;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.region-hero .button.yellow {
  background: #ddd3c1;
  color: #24272b;
}

.region-hero .button.yellow:hover {
  background: #e9e1d3;
  color: #24272b;
}

.region-hero .button.outline {
  background: transparent;
  color: #f6f3ed;
  border-color: #8b8172;
}

.region-hero .button.outline:hover {
  background: #303236;
  color: #f6f3ed;
  border-color: #c9b99c;
}

.region-hero .button.text {
  color: #d5c8b2;
}

.region-hero .button.text:hover {
  color: #f6f3ed;
}

@media (max-width: 768px) {
  .region-hero {
    padding-block: 44px 48px;
  }

  .region-hero h1.region-hero-title {
    font-size: 34px;
  }

  .region-hero .region-intro {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .region-hero h1.region-hero-title {
    font-size: 30px;
  }

  .region-hero .region-contact-panel {
    padding-inline: 20px;
  }
}

/* 지역별 지점 전화연결: 한 줄에 3개, 다른 페이지에는 적용하지 않습니다. */
.branch-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  border-top: 0;
}
.branch-row {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  padding: 22px 16px;
  background: #f8f6f1;
  border: 1px solid #d4ccbd;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
}
.branch-name {
  justify-content: center;
  gap: 6px;
  color: #26282b;
  font-size: 19px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.branch-name .icon { width: 16px; height: 16px; flex: 0 0 16px; color: #917a59; }
.branch-row > a {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 0;
}
.branch-row > a > strong { color: #26282b; font-size: 22px; white-space: nowrap; line-height: 1.5; }
.branch-row > a > span { justify-content: center; color: #786244; font-size: 11px; }
.branch-row > a:hover > strong { color: #786244; }
.branch-row > a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 4px; }
.branch-row > a:focus-visible { outline: none; }
.branch-row > a:focus-visible::after { outline: 2px solid #917a59; outline-offset: 3px; }
@media (max-width: 768px) {
  .branch-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
  .branch-row { min-height: 0; padding: 14px 8px; gap: 8px; }
  .branch-name { display: block; font-size: clamp(10px, 3.1vw, 13px); min-height: 0; }
  .branch-name .icon { display: none; }
  .branch-row > a { align-items: center; gap: 5px; }
  .branch-row > a > strong { font-size: clamp(10px, 3vw, 14px); letter-spacing: -.04em; }
  .branch-row > a > span { font-size: 10px; }
  .branch-row > a > span .icon { display: none; }
}
