/**
 * haeso sub pages — title, contact cards, history, CTA
 */

.content_wrap .sub_title {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--haeso-border);
}

.content_wrap .sub_title h1 {
  margin: 0 0 8px;
  color: var(--haeso-text);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.content_wrap .sub_title h1 span {
  color: var(--haeso-primary);
}

.content_wrap .sub_title > p.sub_title,
.content_wrap .sub_title p.sub_title {
  margin: 0;
  color: var(--haeso-text-muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.sub_visual .title_warp .sub_title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sub_visual .title_warp h3 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Sub page CTA band */
.haeso-sub-cta {
  margin: 48px 0 0;
  padding: 36px 20px;
  background: var(--haeso-bg);
  border-top: 1px solid var(--haeso-border);
  text-align: center;
}

.haeso-sub-cta h2 {
  margin: 0 0 8px;
  color: var(--haeso-text);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
}

.haeso-sub-cta p {
  margin: 0 0 18px;
  color: var(--haeso-text-muted);
  font-size: 14px;
}

.haeso-sub-cta .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Contact cards (location) */
.haeso-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.haeso-contact-grid li {
  background: var(--haeso-white);
  border: 1px solid var(--haeso-border);
  border-radius: var(--haeso-radius);
  padding: 22px 18px;
}

.haeso-contact-grid .label {
  display: block;
  margin-bottom: 8px;
  color: var(--haeso-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.haeso-contact-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--haeso-text);
  font-size: 16px;
}

.haeso-contact-grid p,
.haeso-contact-grid a {
  margin: 0;
  color: var(--haeso-text-muted);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.haeso-contact-grid a:hover {
  color: var(--haeso-primary);
  text-decoration: underline;
}

@media (max-width: 800px) {
  .haeso-contact-grid {
    grid-template-columns: 1fr;
  }
}

.location_area .contact_address,
.location_area .contact_traffic {
  background: var(--haeso-bg);
  border-radius: var(--haeso-radius);
  padding: 20px;
  margin-bottom: 16px;
}

.location_area .contact_address ul,
.location_area .contact_traffic ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.location_area .contact_traffic h3 {
  margin: 0 0 10px;
  color: var(--haeso-primary);
  font-size: 16px;
  font-weight: 800;
}

/* History timeline polish */
.history_area {
  position: relative;
}

.history_area dl dt {
  color: var(--haeso-primary) !important;
  font-weight: 800;
}

.history_area dl dd strong {
  color: var(--haeso-text);
}

.history_area .img_box img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Company ideology icons fallback */
.Ideology .web_icon {
  color: var(--haeso-primary);
}

.Ideology .web_icon .fa {
  font-size: 2.2em;
}

.tbl-stat td {
  color: var(--haeso-text);
}

.tbl-stat tr.point td {
  background: rgba(27, 79, 156, 0.06);
}

/* Content half-round title accent */
.half-round-tit span {
  background: var(--haeso-primary) !important;
}

/* Mobile sub readability */
@media (max-width: 768px) {
  .content_wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content_wrap .sub_title h1 {
    font-size: 22px;
  }

  .haeso-sub-cta {
    margin-top: 32px;
    padding: 28px 16px 36px;
  }

  .haeso-sub-cta .haeso-btn {
    width: 100%;
    max-width: 360px;
  }

  .sub_visual .title_warp h3 {
    font-size: 26px !important;
  }
}
