.contents-container h2 > span {
  border-bottom: 0;
}

/* =========================
   GLOBAL SECTION SPACING
========================= */
section {
  margin-bottom: 44px;
}

section h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  color: #101c66;
}

section > p {
  margin-bottom: 10px;
  line-height: 1.8;
  color: #444;
  font-size: 15px;
}

section > div.row {
  margin-top: 18px;
}

/* =========================
   BUTTON
========================= */
.btn-primary {
  background: transparent;
  border: none;
  color: #0b1f66;
  font-size: 14px;
  padding: 0;
  border-radius: 0;
  font-weight: 600;
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background: transparent;
  color: #09184f;
  text-decoration: none;
  box-shadow: none;
}

/* =========================
   LIST ITEM SPACING
========================= */
.col-md-6.d-flex,
.col-md-4.d-flex {
  border-bottom: none;
  align-items: flex-start;
}

.col-md-6.d-flex {
  margin-bottom: 30px !important;
}

.col-md-4.d-flex {
  margin-bottom: 20px !important;
}

/* =========================
   TITLE
========================= */
.content-topic {
  color: #0b1f66;
  text-decoration: none;
  background: transparent;
}

.content-topic:hover,
.content-topic:focus {
  color: #09184f;
  text-decoration: none;
  background: transparent;
}

.content-topic > h3 {
  color: #0b1f66;
  text-shadow: none;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  margin-top: 0 !important;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

/* ลิสต์หมวด 3 คอลัมน์ให้เบากว่า recommended */
.col-md-4.d-flex .content-topic > h3 {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 0;
  min-height: auto;
}

.content-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================
   IMAGE
========================= */
.mr-2 {
  margin-right: 12px !important;
}

.au-recommended-contents img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.col-md-4.d-flex img {
  width: 68px !important;
  height: 68px !important;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

/* =========================
   TEXT / DESC
========================= */
.col-md-6.d-flex > div:last-child,
.col-md-4.d-flex > div:last-child {
  line-height: 1.7;
  font-size: 14px;
  color: #777;
  margin-top: 2px;
  padding-bottom: 0;
  min-width: 0;
}

/* recommended description */
.au-recommended-contents .col-md-6.d-flex > div:last-child {
  font-size: 13px;
  line-height: 1.8;
  color: #777;
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 14px;
}

/* clamp description ให้อยู่ 3 บรรทัด */
.au-recommended-contents .col-md-6.d-flex > div:last-child > div:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================
   HERO
========================= */
.au-hero {
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 32px;
}

.au-hero-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.au-hero-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.au-hero .row > div {
  margin-bottom: 14px;
}

/* =========================
   HERO BUTTON
========================= */
.au-hero-btn {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
}

.au-hero-btn:hover,
.au-hero-btn:focus {
  background: #fafafa;
  border-color: #ddd;
  color: #111;
  text-decoration: none;
}

.au-hero-btn-primary {
  border-color: #ddd;
  background: #f8f8f8;
  font-weight: 600;
}

.au-hero-btn-primary:hover,
.au-hero-btn-primary:focus {
  background: #f1f1f1;
}

/* =========================
   INTERNAL LINKS
========================= */
.au-links-box {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.au-links-list {
  margin: 0;
  padding-left: 16px;
}

.au-links-list li {
  margin-bottom: 6px;
}

.au-links-list a {
  color: #444;
  text-decoration: none;
}

.au-links-list a:hover {
  text-decoration: none;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px) {
  section {
    margin-bottom: 28px;
  }

  section h2 {
    font-size: 26px;
    margin-bottom: 8px;
  }

  section > p {
    font-size: 14px;
    line-height: 1.75;
  }

  section > div.row {
    margin-top: 14px;
  }

  .au-hero {
    padding: 18px;
  }

  .au-hero-title {
    font-size: 1.5rem;
  }

  .au-hero-btn {
    min-height: 56px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .col-md-6.d-flex,
  .col-md-4.d-flex {
    margin-bottom: 18px !important;
  }

  .content-topic > h3 {
    font-size: 15px;
    line-height: 1.45;
    min-height: auto;
    margin-bottom: 4px;
  }

  .au-recommended-contents img,
  .col-md-4.d-flex img {
    width: 64px !important;
    height: 64px !important;
  }

  .mr-2 {
    margin-right: 10px !important;
  }

  .col-md-6.d-flex > div:last-child,
  .col-md-4.d-flex > div:last-child {
    font-size: 13px;
    line-height: 1.7;
  }

  .au-recommended-contents .col-md-6.d-flex > div:last-child {
    padding-bottom: 12px;
  }
}