/* ==========================================================================
/* ==========================================================================
   CHAIRMAN'S STATEMENT — EDITORIAL FLOW
   The portrait floats inside the article, so copy fills the right side first
   and continues below the image across the full article width.
   ========================================================================== */

.chairman-message {
  padding: 64px clamp(20px, 6vw, 240px) 80px;
  background: #fff;
  color: var(--kpn-green-grey-grey-900);
  font-family: "FC Minimal", sans-serif;
}

.chairman-message,
.chairman-message * {
  box-sizing: border-box;
}

.chairman-message__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.chairman-letter {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  column-gap: 56px;
  row-gap: 24px;
  align-items: start;
  min-width: 0;
}

.chairman-profile {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.chairman-letter > .chairman-letter__body:not(.chairman-letter__body--continued) {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.chairman-profile__visual {
  position: relative;
  overflow: hidden;
  /* สูงลงมามากกว่าเดิม เพื่อให้รูปเสมอกับเนื้อหาช่วงต้นได้มากขึ้น */
  aspect-ratio: 3 / 4.5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(20, 53, 35, .07);
}

.chairman-profile__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.chairman-letter__body p {
  margin: 0;
  color: var(--kpn-green-grey-grey-500);
  font-size: var(--fc-minimal-paragraph-detail-regular);
  font-weight: 400;
  line-height: 1.65;
}

.chairman-letter__body p + p {
  margin-top: 24px;
}

/* ย่อหน้าสามส่วนท้ายเต็มความกว้างใต้รูป */
.chairman-letter__body--continued {
  grid-column: 1 / -1;
  grid-row: 2;
  width: auto;
  margin-left: 0;
}

.chairman-letter__body strong {
  color: inherit;
  font-weight: 500;
}

.chairman-letter__signoff {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  width: fit-content;
  min-width: 280px;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 56px;
  margin-left: auto;
  padding-top: 32px;
}

.chairman-letter__signoff strong {
  color: var(--kpn-green-grey-grey-900);
  font-size: var(--fc-minimal-paragraph-regular-medium);
  font-weight: 500;
  line-height: 1.35;
}

.chairman-letter__signoff span {
  margin-top: 4px;
  color: var(--kpn-green-grey-grey-500);
  font-size: var(--fc-minimal-paragraph-detail-regular);
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 1199.98px) {
  .chairman-letter {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    column-gap: 40px;
  }

  .chairman-profile {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
}

@media (max-width: 991.98px) {
  .chairman-message {
    padding-right: 24px;
    padding-left: 24px;
  }

  .chairman-letter {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    column-gap: 32px;
  }

  .chairman-profile {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
}

@media (max-width: 767.98px) {
  .chairman-message {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .chairman-letter {
    display: block;
  }

  .chairman-profile {
    width: min(100%, 360px);
    min-width: 0;
    margin: 0 auto 32px;
  }

  .chairman-profile__visual {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
  }

  .chairman-letter__signoff {
    width: 100%;
    min-width: 0;
    align-items: flex-end;
    margin-top: 48px;
    padding-top: 24px;
    text-align: right;
  }
}

@media (max-width: 575.98px) {
  .chairman-message {
    padding-right: 16px;
    padding-left: 16px;
  }

  .chairman-profile {
    width: 100%;
  }
}

/* KPN typography audit --------------------------------------------------- */
.chairman-letter__body p {
  color: var(--kpn-green-grey-grey-500);
  font-size: var(--fc-minimal-paragraph-regular-regular);
  font-weight: 400;
}
