/* visual-banner */

@import url("//fonts.googleapis.com/earlyaccess/nanummyeongjo.css");
@font-face {
  font-family: "NanumMyeongjo";
  src: url("../fonts/NanumMyeongjo.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "NanumMyeongjo";
  src: url("../fonts/NanumMyeongjoExtraBold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
.sub_visual.absd {
  padding-bottom: 2.5rem;
}
.sub_visual_title.absd_tit {
  color: #ea3483;
  font-family: KVHi;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -1px;
}
.absd_desc {
  font-size: 1.25rem;
}
.bg-absd {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 19vw;
  background: url(../images/ambassador/bg_absd.jpg) center/cover no-repeat;
}
.sub_visual-banner .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: calc(1440px + 2rem);
  padding: 3.5rem 1rem;
}
.intro-content {
  h2 {
    margin-bottom: 0.5rem;
    color: #007fc1;
    font-family: KVHi;
    font-size: clamp(1.25rem, 1.667vw, 2rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -1px;
  }
  p {
    color: #000;

    font-family: Pretendard;
    font-size: clamp(0.875rem, 0.938vw, 1.125rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -1px;
  }
}

/* cert */
.cert-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
  aspect-ratio: 1440 / 388;
  height: auto;
  background: url(../images/ambassador/bg_cert.png) center / 100% 100% no-repeat;

  box-sizing: border-box;
  border: 3px solid #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.cert-section.m-b-50 {
  margin-bottom: 3.125rem;
}
.cert-inner {
  width: 100%;
  padding-top: 4.25rem;
  text-align: center;
}

.cert-title {
  position: relative;
  margin-bottom: 1rem;
  text-align: center;
  font-family: NanumMyeongjo;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 15.12px;
}
.cert-title::before {
  position: absolute;
  top: -110%;
  left: 50%;
  transform: translate(-80%, -25%);
  width: 2.1875rem;
  height: 3.5625rem;
  background: url(../images/ambassador/logo.png) center/contain no-repeat;
  content: "";
}
.cert-body {
  padding-bottom: 1rem;
  text-align: center;
  font-family: NanumMyeongjo;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.5px;
}
.cert-body.mo {
  display: none;
}
.cert-date {
  text-align: center;
  font-family: NanumMyeongjo;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.45px;
}
.cert-issuer {
  text-align: center;
  font-family: NanumMyeongjo;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.45px;
}

/* 26ambassador */
.board {
}
.board-inner {
  margin: 0 auto;
  width: 100%;
  max-width: 90rem;
}
.sr-only {
  position: abrgb(71, 49, 49) te;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.absd-note {
  padding-bottom: 1.5rem;
  font-size: 1rem;
}

.ambassador-inner {
  max-width: calc(1440px + 2rem);
  margin: 0 auto;
}

.ambassador-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.person-card {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #ddd;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.person-photo-wrap {
  position: relative;
  aspect-ratio: 3/3.6;
  overflow: hidden;
  background: #dde6f2;
}

.person-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.person-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #c8d8ef, #a8bfe0);
}

.signature-overlay {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  font-family: "Noto Serif KR", serif;
  font-size: 1.125rem;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
  line-height: 1;
  font-style: italic;
}

.person-info {
  text-align: center;
  padding: 1.125rem 3.75rem;
}

.person-name {
  font-family: Pretendard;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -1px;
}

.person-role {
  color: #727272;
  font-family: Pretendard;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -1px;
  word-break: keep-all;
}

/* ── RESPONSIVE ── */
@media (max-width: 1600px) {
  .sub_visual_title.absd_tit {
    font-size: clamp(1rem, 2.083vw, 2.5rem);
  }
  .absd_desc {
    font-size: clamp(0.75rem, 1.042vw, 1.25rem);
  }
  .cert-section {
    width: calc(100% - 2rem); /* ← 양쪽 1rem씩 여백 */
    margin: 0 auto;
    aspect-ratio: 1440 / 388; /* ← 비율 유지 */
    height: auto;
    background-size: 100% 100%; /* ← 이미지 비율 맞게 */
  }

  .board {
    margin: 0 1rem;
  }
}

@media (min-width: 800px) and (max-width: 1600px) {
  .cert-title {
    margin-bottom: 0.5rem;
    font-size: clamp(1.25rem, 2.25vw, 2.25rem);
  }
  .cert-body {
    padding-bottom: 1rem;
    font-size: clamp(0.875rem, 1.25vw, 1.25rem);
  }
  .cert-date {
    font-size: clamp(0.75rem, 1.125vw, 1.125rem);
  }
  .cert-issuer {
    font-size: clamp(0.75rem, 1.125vw, 1.125rem);
  }
  .cert-inner {
    padding-top: 2.25rem;
  }
  .cert-title::before {
    position: absolute;
    top: -110%;
    left: 49%;
    transform: translate(-47%, -25%);
    width: 2.5%; /* ← 부모 너비 기준 % */
    aspect-ratio: 35/57; /* ← 비율 유지 */
    height: auto;
    background: url(../images/ambassador/logo.png) center/contain no-repeat;
    content: "";
  }
}

@media (max-width: 1440px) {
  .cert-section {
    width: calc(100% - 2rem);
  }
}

@media (max-width: 1200px) {
  .sub_visual.absd {
    padding: 2.5rem 0;
  }
}

@media (max-width: 1080px) {
  .ambassador-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .ambassador-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .sub_visual_title.absd_tit {
    font-size: clamp(1.5rem, 11.733vw, 2.75rem);
    word-break: keep-all;
    overflow-wrap: break-word;
    color: #000;
  }
  .sub_visual_desc.absd_desc {
    padding-bottom: 2.5rem;
    font-size: clamp(0.75rem, 4.8vw, 1.125rem);
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .intro-content h2 {
    font-size: 7vw;
  }

  .intro-content p {
    font-size: 4vw;
  }

  .bg-absd {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 150vw;
    background: url(../images/ambassador/bg_absd_m.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
  }
  .sub_visual-banner .inner {
    padding-top: 2.5rem;
  }
  .sub_visual-banner {
    margin-bottom: 2rem;
  }
  .cert-section.m-b-50 {
    margin-bottom: 2rem;
  }

  /* .cert-section {
    aspect-ratio: 375 / 518;
    background: url(../images/ambassador/bg_cert_m.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  } */
  /* .cert-title {
    font-size: clamp(1.25rem, 4.5vw, 2.25rem);
  }
  .cert-body {
    font-size: clamp(0.875rem, 2.5vw, 1.25rem);
  }
  .cert-date {
    font-size: clamp(0.75rem, 2.25vw, 1.125rem);
  }
  .cert-issuer {
    font-size: clamp(0.75rem, 2.25vw, 1.125rem);
  } */
  .cert-body.pc {
    display: none;
  }
  .cert-body.mo {
    display: block;
  }
  .cert-title::before {
    position: absolute;
    top: -110%;
    left: 50%;
    transform: translate(-80%, -25%);
    width: 6%; /* ← 부모 너비 기준 % */
    aspect-ratio: 35/57; /* ← 비율 유지 */
    height: auto;
    background: url(../images/ambassador/logo.png) center/contain no-repeat;
    content: "";
  }
  .person-info {
    padding: 1.125rem 1rem;
    word-break: keep-all;
  }
  .intro-content p br {
    display: none;
  }
  .person-name {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }
  .person-role {
    font-size: clamp(0.75rem, 2.25vw, 1.125rem);
  }
  .absd .breadcrumb .d1-list {
    flex-wrap: wrap;
  }

  .absd .breadcrumb .d1:last-child {
    margin-top: 0.25rem;
  }
}

@media (min-width: 480px) and (max-width: 800px) {
  .cert-section {
    width: calc(100% - 2rem);
    height: 89.333vw;
    aspect-ratio: auto;
    background: url(../images/ambassador/bg_cert_m.png) center/100% 100%
      no-repeat;
  }
  .cert-title {
    font-size: clamp(1.8rem, 4.5vw, 2.25rem);
  }

  .cert-body {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  }

  .cert-date,
  .cert-issuer {
    font-size: clamp(1rem, 2.25vw, 1.125rem);
  }
}

@media (max-width: 480px) {
  .ambassador-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
  .sub_visual_title.absd_tit {
    font-size: 44px;
  }
  .sub_visual_desc.absd_desc {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -1px;
  }
  .bg-absd {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: auto;
    aspect-ratio: 375 / 600;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
  }
  .cert-section {
    aspect-ratio: 375 / 518;
    background: url(../images/ambassador/bg_cert_m.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .cert-title::before {
    position: absolute;
    top: -110%;
    left: 50%;
    transform: translate(-80%, -25%);
    width: 8%;
    aspect-ratio: 35 / 57;
    height: auto;
    background: url(../images/ambassador/logo.png) center / contain no-repeat;
    content: "";
  }
  .cert-title {
    font-size: 36px;
  }
  .cert-body {
    font-size: 20px;
  }
  .cert-date {
    font-size: 18px;
  }
  .cert-issuer {
    font-size: 18px;
  }
  .intro-content h2 {
    font-size: 24px;
  }
  .intro-content p {
    font-size: 16px;
  }
  .person-info {
    padding: 1.5rem 3.75rem;
  }
  .person-name {
    font-size: 24px;
    line-height: 1.5;
  }
  .person-role {
    font-size: 18px;
    line-height: 1.5;
  }
}
