.announcement {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: "Kanit", "Open Sans", sans-serif;
}

.announcement a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.announcement span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
  line-height: 1;
}

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.identity {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 22px;
}

.identity__mark,
.footer-mark {
  flex: 0 0 auto;
}

.identity__mark img {
  width: 72px;
  height: 72px;
}

.identity__text h1 {
  margin: 0 0 6px;
  color: #111111;
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.identity__text h1 span {
  color: var(--color-primary);
}

.identity__text p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.schedule-page,
.faq-page,
.faq-contact {
  padding-block: 58px;
  background: var(--color-white);
}

.schedule-hero,
.faq-heading {
  text-align: center;
}

.schedule-hero h2,
.schedule-hero h1,
.faq-heading h1,
.faq-heading h2 {
  margin: 0;
  font-family: "Kanit", "Open Sans", sans-serif;
  font-weight: 500;
  line-height: 1.25;
}

.schedule-hero h2 {
  color: var(--color-primary-dark);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.schedule-hero h1 {
  margin-top: 8px;
  color: #222222;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
}

.schedule-hero p {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.schedule-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 46px;
}

.schedule-option {
  min-width: 0;
  text-align: center;
}

.schedule-option__icon {
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 2.5rem;
}

.schedule-option h3 {
  margin: 0 0 10px;
  color: var(--color-primary-dark);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
}

.schedule-option p {
  margin: 4px 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.schedule-option__button {
  display: inline-flex;
  max-width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 8px 18px;
  border: 1px solid var(--color-primary);
  border-radius: 3px;
  color: var(--color-primary);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: 0.98rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.schedule-option__button:hover,
.schedule-option__button:focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
}

.schedule-option__button--filled {
  background: var(--color-primary);
  color: var(--color-white);
}

.schedule-option__button--filled:hover,
.schedule-option__button--filled:focus-visible {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.faq-heading__icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: "Open Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.faq-heading h1,
.faq-heading h2 {
  color: var(--color-primary-dark);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  overflow-wrap: anywhere;
}

.faq-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 48px;
  margin-top: 38px;
}

.faq-column {
  display: grid;
  align-content: start;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(174, 0, 94, 0.24);
}

.faq-item:first-child {
  border-top: 1px solid rgba(174, 0, 94, 0.24);
}

.faq-item summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 10px;
  color: var(--color-primary);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--color-primary);
  font-family: "Open Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 34px 16px 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.faq-contact {
  padding-top: 26px;
}

.faq-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 48px;
  margin-top: 36px;
}

.faq-contact__item {
  min-width: 0;
  font-style: normal;
  text-align: center;
}

.faq-contact__item h3 {
  margin: 0 0 8px;
  color: var(--color-primary-dark);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.faq-contact__item p {
  margin: 5px 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.faq-contact__item a {
  color: var(--color-primary);
  text-underline-offset: 3px;
}

.media-section,
.promo-banners,
.embed-section,
.application-callout,
.contacts {
  padding-block: 28px;
}

.promo-banners img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000000;
  box-shadow: var(--shadow-soft);
}

.video-frame iframe,
.embed-wrap iframe {
  width: 100%;
  border: 0;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  height: 100%;
}

.promo-banners {
  --promo-gap: 18px;
}

.promo-banners .container {
  display: grid;
  gap: var(--promo-gap);
}

.promo-banners a {
  display: block;
  border-radius: var(--radius);
}

.embed-section h2,
.contacts h2,
.callout-copy h2 {
  margin: 0 0 18px;
  color: var(--color-primary-dark);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.embed-wrap {
  overflow: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  -webkit-overflow-scrolling: touch;
}

.embed-wrap iframe {
  display: block;
  min-width: 760px;
}

.embed-wrap--short iframe {
  height: 533px;
}

.embed-wrap--tall iframe {
  height: 2100px;
}

.embed-wrap--medium iframe {
  height: 800px;
}

.section-panel {
  --section-panel-pink: #f9dbdb;
  --section-panel-gray: #f4f4f4;
  --section-border-pink: #ce618e;
  --section-border-gray: #ce618e;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.section-panel--pink {
  border-color: var(--section-border-pink);
  background: var(--section-panel-pink);
}

.section-panel--gray {
  border-color: var(--section-border-gray);
  background: var(--section-panel-gray);
}

.application-callout .container {
  display: grid;
  gap: 24px;
}

.callout-copy {
  text-align: center;
}

.callout-copy p {
  margin: 0 0 8px;
}

.callout-copy .subheading {
  color: var(--color-primary-dark);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: 1.15rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  margin-top: 18px;
}

.section-kicker {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

.section-kicker i {
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  background: var(--color-white);
  font-style: normal;
}

.contact-card h3 {
  min-height: 3.2em;
  margin: 0 0 4px;
  color: var(--color-primary-dark);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.contact-card em {
  font-style: normal;
}

.contact-link {
  display: inline-flex;
  min-width: 0;
  min-height: 34px;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-primary-dark);
  line-height: 1.35;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.contact-link i {
  flex: 0 0 auto;
  width: 1em;
  margin-top: 0.2em;
  color: var(--color-primary);
  text-align: center;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--color-primary-dark);
  text-decoration-thickness: 2px;
}

.site-footer {
  padding-block: 34px;
  background: #2f2f2f;
  color: var(--color-white);
  text-align: center;
}

.footer-mark img {
  width: 64px;
  height: 64px;
  margin-inline: auto;
}

.site-footer h2 {
  margin: 14px 0 8px;
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.site-footer p {
  margin: 8px auto;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-block: 18px;
}

.social-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 5px;
  text-decoration: none;
}

.social-links i {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .identity {
    align-items: center;
    gap: 12px;
    padding-block: 16px;
  }

  .identity__mark img {
    width: 64px;
    height: 64px;
  }

  .identity__text {
    min-width: 0;
  }

  .identity__text p {
    display: block;
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
  }

  .identity__text h1 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .identity__text h1 span {
    display: block;
    font-size: 0.92rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card h3 {
    min-height: 0;
  }

  .schedule-page,
  .faq-page,
  .faq-contact {
    padding-block: 38px;
  }

  .schedule-options,
  .faq-columns,
  .faq-contact__grid {
    grid-template-columns: 1fr;
  }

  .schedule-options {
    gap: 34px;
    margin-top: 36px;
  }

  .faq-columns,
  .faq-contact__grid {
    gap: 0;
  }

  .faq-column + .faq-column .faq-item:first-child {
    border-top: 0;
  }
}
@media (max-width: 760px) {
  .embed-section .container,
  .application-callout .container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .embed-wrap iframe {
    min-width: 0;
    width: 100%;
  }
}

.programs-page,
.courses-page {
  padding-block: 62px 70px;
  background: var(--color-white);
}

.programs-page__header,
.courses-page__header {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.programs-page__header h1,
.courses-page__header h1 {
  margin: 0;
  color: var(--color-primary);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.programs-page__header p,
.courses-page__header p {
  margin: 16px auto 0;
  color: #111111;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}

.program-card,
.course-feature {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 44px;
  align-content: start;
  border: 1px solid #f9dbdb;
  border-radius: 8px;
  background: var(--color-white);
  color: #111111;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(159, 63, 104, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.program-card {
  gap: 18px;
  padding: 24px;
}

.program-card::before,
.course-feature::before {
  content: "";
  position: absolute;
  background: #ce618e;
}

.program-card::before {
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
}

.program-card:hover,
.program-card:focus-visible,
.course-feature:hover,
.course-feature:focus-visible {
  border-color: #ce618e;
  color: #111111;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(159, 63, 104, 0.14);
  transform: translateY(-3px);
}

.program-card:focus-visible,
.course-feature:focus-visible {
  outline: 3px solid #f9dbdb;
  outline-offset: 4px;
}

.program-code,
.course-feature__code {
  display: inline-grid;
  width: max-content;
  min-width: 48px;
  min-height: 44px;
  place-items: center;
  padding-inline: 12px;
  border: 1px solid #ce618e;
  border-radius: 8px;
  background: #f9dbdb;
  color: #9f3f68;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.program-card__title,
.course-feature__title {
  margin: 0;
  color: #111111;
  font-family: "Kanit", "Open Sans", sans-serif;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.program-card__title {
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
}

.program-card__cta,
.course-feature__cta {
  color: #9f3f68;
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}

.courses-page {
  border-top: 1px solid #ce618e;
  background: #f9dbdb;
}

.course-feature {
  max-width: 860px;
  gap: 20px;
  margin: 42px auto 0;
  padding: 34px 36px 32px;
  overflow: hidden;
}

.course-feature::before {
  inset: 0 0 auto;
  height: 5px;
}

.course-feature__title {
  max-width: 760px;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
}

@media (min-width: 700px) {
  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .programs-page,
  .courses-page {
    padding-block: 40px 48px;
  }

  .programs-page__header p,
  .courses-page__header p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .program-card {
    gap: 14px;
    padding: 20px 18px 20px 20px;
  }

  .program-code,
  .course-feature__code {
    min-width: 44px;
    padding-inline: 10px;
  }

  .program-card__title {
    font-size: 1rem;
    line-height: 1.5;
  }

  .course-feature {
    gap: 16px;
    margin-top: 30px;
    padding: 28px 20px 24px;
  }

  .course-feature__title {
    font-size: 1.1rem;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-card,
  .course-feature {
    transition: none;
  }

  .program-card:hover,
  .program-card:focus-visible,
  .course-feature:hover,
  .course-feature:focus-visible {
    transform: none;
  }
}


.program-detail {
  padding-block: 54px 64px;
  background: var(--color-white);
}

.program-detail__breadcrumb {
  margin-bottom: 26px;
  color: var(--color-muted);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: 0.92rem;
}

.program-detail__breadcrumb a {
  color: var(--color-primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.program-detail__header {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.program-detail__code {
  display: inline-grid;
  min-width: 56px;
  min-height: 48px;
  margin-bottom: 16px;
  place-items: center;
  padding-inline: 14px;
  border: 1px solid #ce618e;
  border-radius: 10px;
  background: #f9dbdb;
  color: #9f3f68;
  font-family: "Open Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.program-detail__header h1 {
  margin: 0;
  color: var(--color-primary-dark);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.program-detail__sub {
  margin: 12px 0 0;
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.65;
}

.program-detail__switcher {
  margin-top: 22px;
  text-align: center;
}

.program-detail__switcher a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--color-primary-dark);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.program-detail__section {
  max-width: 920px;
  margin: 42px auto 0;
}

.program-detail__section h2 {
  margin: 0 0 16px;
  color: var(--color-primary-dark);
  font-family: "Kanit", "Open Sans", sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
}

.program-detail__section h2 i {
  margin-right: 10px;
  color: var(--color-primary);
}

.program-detail__section--contact address {
  padding: 22px 24px;
  border: 1px solid #f9dbdb;
  border-left: 5px solid #ce618e;
  border-radius: 10px;
  background: #fffafb;
  font-style: normal;
}

.program-detail__contact p {
  margin: 6px 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.program-detail__contact a {
  color: var(--color-primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.program-detail__contact i {
  margin-right: 8px;
  color: var(--color-primary);
}

.program-detail__phones {
  color: #111111;
}

@media (max-width: 620px) {
  .program-detail {
    padding-block: 38px 48px;
  }

  .program-detail__breadcrumb {
    margin-bottom: 18px;
  }

  .program-detail__section {
    margin-top: 32px;
  }

  .program-detail__section--contact address {
    padding: 18px 16px;
  }
}
