.cp-container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.cp-page-header {
  margin: 40px 0 32px;
}

.cp-page-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.cp-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.cp-program-card {
  display: flex;
  padding:0px !important;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #dfe6ee;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cp-program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  border-color: #cdd8e5;
}

.cp-program-card__image-wrap,
.cp-program-card__title a,
.cp-button {
  text-decoration: none;
}

.cp-program-card__image,
.cp-program-card__image--placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf2f7;
}

.cp-program-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.cp-program-card__title {
  margin: 0 0 10px;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.cp-program-card__title a {
  color: inherit;
}

.cp-program-card__subtitle {
  margin: 0 0 18px;
  color: #5b6678;
  line-height: 1.65;
  font-size: 1rem;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cp-program-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 20px;
}

.cp-program-card__meta-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f6fa;
  border: 1px solid #e6edf5;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

.cp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  background: #0067FF;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cp-button:hover {
  background: #155a97;
  color: #fff;
  transform: translateY(-1px);
}

.cp-button--secondary {
  background: #0f172a;
}

.cp-button--secondary:hover {
  background: #1e293b;
}

/* SINGLE */
.cp-single-program {
  margin-top: 36px;
  margin-bottom: 64px;
}

.cp-single-program__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.cp-single-program__main {
  min-width: 0;
}

.cp-single-program__title {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 1.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #0f172a;
  word-break: break-word;
  overflow-wrap: break-word;
}

.cp-single-program__subtitle {
  margin: 0 0 24px;
  max-width: 820px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #5b6678;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cp-single-program__description {
  color: #475569;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cp-single-program__sidebar {
  min-width: 0;
}

.cp-single-program__thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0px;
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.cp-summary-card {
  padding: 22px;
  border: 1px solid #dfe6ee;
  border-radius: 0px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.cp-summary-card__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}

.cp-summary-card__row:last-of-type {
  border-bottom: 0;
}

.cp-summary-card__row strong {
  color: #0f172a;
  font-weight: 700;
}

.cp-summary-card__row span,
.cp-summary-card__row div,
.cp-summary-card__row p {
  text-align: right;
  color: #334155;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cp-summary-card__actions {
  margin-top: 18px;
}

.cp-summary-card__actions .cp-button {
  width: 100%;
}

/* CONTENT SECTIONS */
.cp-section {
  margin: 0 0 40px;
}

.cp-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 1.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.cp-section h3,
.cp-section h4 {
  color: #0f172a;
  line-height: 1.2;
}

.cp-section p,
.cp-section li,
.cp-section div,
.cp-section span {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.cp-section p,
.cp-section ul,
.cp-section ol {
  margin-bottom: 16px;
}

.cp-section ul,
.cp-section ol {
  padding-left: 24px;
}

.cp-section li {
  margin-bottom: 8px;
  line-height: 1.75;
  color: #334155;
}

/* WYSIWYG CONTENT FIX */
.cp-single-program__content,
.cp-single-program__content * {
  max-width: 100%;
  box-sizing: border-box;
}

.cp-single-program__content {
  min-width: 0;
  color: #334155;
  font-size: 1.06rem;
  line-height: 1.8;
}

.cp-single-program__content p,
.cp-single-program__content li,
.cp-single-program__content div,
.cp-single-program__content span,
.cp-single-program__content a,
.cp-single-program__content strong,
.cp-single-program__content em {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.cp-single-program__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.cp-single-program__content table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

.cp-single-program__content iframe,
.cp-single-program__content embed,
.cp-single-program__content object {
  max-width: 100%;
}

/* MODULES */
.cp-modules {
  display: grid;
  gap: 16px;
}

.cp-module {
  padding: 22px;
  border: 1px solid #e3eaf2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.cp-module__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #0f172a;
}

.cp-module__content,
.cp-module__content p,
.cp-module__content li {
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.75;
  color: #334155;
}

/* INQUIRY */
.cp-inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.cp-inquiry-grid > * {
  min-width: 0;
}

.cp-contact-box,
.cp-form-box {
  padding: 24px;
  border: 1px solid #dfe6ee;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.cp-contact-box p,
.cp-contact-box li,
.cp-form-box p,
.cp-form-box li {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* PAGINATION */
.cp-pagination {
  margin: 32px 0 8px;
}

.cp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin-right: 8px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #dfe6ee;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
}

.cp-pagination .page-numbers.current,
.cp-pagination .page-numbers:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

/* SMALL ENHANCEMENTS */
.cp-program-card__title,
.cp-program-card__subtitle,
.cp-single-program__title,
.cp-single-program__subtitle,
.cp-section,
.cp-module,
.cp-summary-card {
  min-width: 0;
}

.cp-program-card__body,
.cp-single-program__main,
.cp-single-program__sidebar {
  min-width: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cp-programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .cp-single-program__hero,
  .cp-inquiry-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cp-single-program__title {
    font-size: clamp(2.2rem, 7vw, 1.5rem);
  }
}
.cp-inquiry-grid {
    display: inline-block !important;
}
@media (max-width: 767px) {
  .cp-container {
    width: min(100% - 24px, 1280px);
  }

  .cp-page-header {
    margin: 28px 0 24px;
  }

  .cp-page-title {
    font-size: clamp(2rem, 10vw, 2.2rem);
  }

  .cp-programs-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cp-program-card {
    border-radius: 18px;
  }

  .cp-program-card__body {
    padding: 18px;
  }

  .cp-program-card__title {
    font-size: 1.22rem;
  }

  .cp-program-card__subtitle {
    -webkit-line-clamp: 5;
    font-size: 0.98rem;
  }

  .cp-single-program {
    margin-top: 24px;
    margin-bottom: 44px;
  }

  .cp-single-program__hero {
    gap: 24px;
    margin-bottom: 32px;
  }

  .cp-single-program__title {
    font-size: clamp(1rem, 12vw, 1.5rem);
    line-height: 0.98;
  }

  .cp-single-program__subtitle {
    font-size: 1.02rem;
    margin-bottom: 18px;
  }

  .cp-summary-card,
  .cp-module,
  .cp-contact-box,
  .cp-form-box {
    padding: 18px;
    border-radius: 16px;
  }

  .cp-summary-card__row {
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
  }

  .cp-summary-card__row span,
  .cp-summary-card__row div,
  .cp-summary-card__row p {
    text-align: left;
  }

  .cp-section {
    margin-bottom: 30px;
  }

  .cp-section h2 {
    font-size: clamp(1.6rem, 8vw, 1.3rem);
  }

  .cp-single-program__content {
    font-size: 1rem;
    line-height: 1.75;
  }
}





.cp-accordion {
  display: grid;
  gap: 14px;
}

.cp-accordion__item {
  border: 1px solid #e3eaf2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.cp-accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 0;
  background-color: #fff !important;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.cp-accordion__header:hover {
  background: #f8fafc;
}

.cp-accordion__title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

.cp-accordion__icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.cp-accordion__icon::before,
.cp-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cp-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cp-accordion__item.open .cp-accordion__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.6);
}

.cp-accordion__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.cp-accordion__item.open .cp-accordion__content {
  grid-template-rows: 1fr;
}

.cp-accordion__content-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 22px 0;
}

.cp-accordion__item.open .cp-accordion__content-inner {
  padding: 0 22px 22px;
}

.cp-accordion__content-inner p,
.cp-accordion__content-inner li,
.cp-accordion__content-inner div,
.cp-accordion__content-inner span {
  overflow-wrap: break-word;
  word-break: break-word;
}

.cp-accordion__content-inner ul,
.cp-accordion__content-inner ol {
  padding-left: 22px;
}

.cp-accordion__content-inner table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

@media (max-width: 767px) {
  .cp-accordion__header {
    padding: 16px 18px;
  }

  .cp-accordion__content-inner {
    padding: 0 18px 0;
  }

  .cp-accordion__item.open .cp-accordion__content-inner {
    padding: 0 18px 18px;
  }

  .cp-accordion__title {
    font-size: 1rem;
  }
}