/* SI Public Courses v6 */
*, *::before, *::after { box-sizing: border-box; }

.sic-wrap {
  font-family: 'IBM Plex Sans Thai', sans-serif;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  color: #111;
}

/* Header */
.sic-header { margin-bottom: 1.75rem; }
.sic-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  background: #002554;
  color: #FFC600;
  padding: 3px 12px;
  border-radius: 4px;
  letter-spacing: .07em;
  margin-bottom: 10px;
}
.sic-header h1 {
  font-size: 24px;
  font-weight: 600;
  color: #111;
  margin: 0 0 6px;
  line-height: 1.2;
}
.sic-header p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* List & dividers */
.sic-list { border-top: 1px solid #e5e5e5; }
.sic-div  { border: none; border-top: 1px solid #e5e5e5; margin: 0; }
.sic-empty { padding: 3rem 0; color: #94a3b8; text-align: center; font-size: 14px; }

/* Course item */
.sic-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  align-items: flex-start;
}

/* Image — fixed height, object-fit cover */
.sic-img {
  flex: 0 0 400px;
  width: 400px;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  background: #001a3d;
  flex-shrink: 0;
}
.sic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sic-img-fb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Body */
.sic-body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
  display: flex;
  flex-direction: column;
}

/* Hook */
.sic-hook {
  font-size: 12px;
  color: #64748b;
  font-style: italic;
  margin: 0 0 10px;
  line-height: 1.45;
  border-left: 2px solid #FFC600;
  padding-left: 10px;
}

/* Title row */
.sic-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.sic-title-row h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin: 0;
  line-height: 1.2;
}
.sic-dur {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Subtitle */
.sic-sub {
  font-size: 13px;
  color: #222;
  line-height: 1.5;
  margin: 0 0 12px;
}

/* Benefits */
.sic-bens {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sic-bens li {
  font-size: 13px;
  color: #111;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}
.sic-bens li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFC600;
}

/* Audience */
.sic-aud {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.4;
}

/* Detail link on each card */
.sic-btn {
  font-size: 13px;
  color: #002554;
  text-decoration: none;
}
.sic-btn:hover { text-decoration: underline; }

/* LINE footer button */
.sic-btn-line {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #06C755;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  text-decoration: none;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  transition: background .15s;
  white-space: nowrap;
}
.sic-btn-line:hover { background: #05a847; color: #fff; text-decoration: none; }

/* Secondary text link */
.sic-btn-detail {
  font-size: 12px;
  color: #64748b;
  text-decoration: none;
}
.sic-btn-detail:hover { color: #002554; text-decoration: underline; }

/* LINE strip */
.sic-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid #e5e5e5;
}
.sic-line-text { flex: 1; }
.sic-line-text strong {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  display: block;
  margin-bottom: 3px;
  line-height: 1.3;
}
.sic-line-text span {
  font-size: 13px;
  color: #64748b;
  line-height: 1;
}
.sic-line-btn {
  flex-shrink: 0;
  background: #06C755;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.sic-line-btn:hover { background: #05a847; color: #fff; text-decoration: none; }

/* Responsive */
@media (max-width: 780px) {
  .sic-item { flex-direction: column; gap: 1rem; }
  .sic-img  { flex: none; width: 100%; height: 200px; }
}
@media (max-width: 520px) {
  .sic-line { flex-wrap: wrap; }
  .sic-line-btn { width: 100%; text-align: center; }
}
