/* 해외 대리점 갤러리 — contact 02 */

.msl-overseas-branch {
  scroll-margin-top: 100px;
}

.msl-overseas-branch--canada {
  margin-top: 0;
}

.msl-overseas-branch__content {
  padding-top: 50px;
  padding-bottom: 60px;
}

.msl-overseas-branch__content + .msl-overseas-branch {
  margin-top: 0;
}

.msl-overseas-branch--canada + .msl-overseas-branch__content {
  padding-top: 40px;
  padding-bottom: 90px;
}

.contact-section--agents {
  padding-bottom: 90px;
}

.contact-section--agents .sec-title--agents {
  margin-bottom: 28px;
}

.contact-section--agents .sec-title--agents h2 {
  margin-bottom: 12px;
}

.contact-section--agents .sec-title--agents .separator {
  display: none;
}

.sec-title--agents__info {
  max-width: 820px;
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.75;
}

.msl-agents {
  padding: 0;
}

/* 3열 균등 그리드 — 6장 = 2행 × 3열 */
.msl-agents__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.msl-agents__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow: 0 4px 24px rgba(2, 6, 23, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.msl-agents__card.is-featured {
  border-top: 3px solid #f55b14;
}

.msl-agents__card.is-hidden {
  display: none;
}

.msl-agents__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.1);
}

.msl-agents__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8edf3;
}

.msl-agents__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.msl-agents__card:hover .msl-agents__media img {
  transform: scale(1.05);
}

.msl-agents__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(2, 14, 40, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.msl-agents__tag--resort {
  background: rgba(10, 42, 102, 0.88);
}

.msl-agents__tag--station {
  background: rgba(245, 91, 20, 0.92);
}

.msl-agents__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.msl-agents__body h3 {
  margin: 0 0 10px;
  color: #020e28;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.msl-agents__body p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
}

.msl-agents__meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eef2f6;
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 991px) {
  .msl-agents__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 575px) {
  .msl-agents__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (min-width: 1400px) {
  .msl-agents__grid {
    gap: 32px;
  }
}

.msl-agents__notice {
  max-width: 820px;
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.msl-agents__tag--canada {
  background: rgba(185, 28, 28, 0.9);
}

.msl-agents__grid--compact .msl-agents__card.is-featured {
  border-top: 3px solid #f55b14;
}
