body {
  margin: 0;
  font-family: "Bai Jamjuree", sans-serif;
  background: #fff;
  color: #333;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0b0b29, #1f2a56);
  color: #fff;
  text-align: center;
  padding: 160px 20px 180px;
}

.hero h1 {
  font-size: 48px;
  margin: 0;
  color: #f5f5f5;
}

.hero h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 20px 0 40px;
}

.hero .buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #c62828;
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  background-color: #fff;
  margin: -90px auto 60px;
  max-width: 1100px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transform: translateY(50px);
  transition: transform 0.3s ease-out;
}

.feature-card {
  flex: 1 1 300px;
  text-align: center;
  padding: 20px;
}

.feature-card h3 {
  color: #a51919;
  margin-bottom: 10px;
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Global container to center page content */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section h2 {
  color: #a51919;
  text-transform: uppercase;
  font-size: 26px;
  margin-bottom: 20px;
}

/* Section title/description spacing for course blocks */
.section-title {
  color: #a51919;
  text-transform: uppercase;
  font-size: 26px;
  margin: 0 0 8px 0;
}
.section-desc {
  color: #1bbf4a;
  font-size: 18px;
  margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px;
  }
  .hero h1 {
    font-size: 36px;
  }
}

/* List Khoa Hoc Grid */
.list-khoahoc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.khoahoc-item {
  box-sizing: border-box;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.3s;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.khoahoc-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.khoahoc-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.khoahoc-title {
  font-size: 18px;
  margin: 10px 0;
  flex-shrink: 0;
}

.khoahoc-title a {
  text-decoration: none;
  color: #333;
}

.khoahoc-excerpt {
  font-size: 14px;
  color: #666;
  flex-grow: 1;
}

.khoahoc-price-wrap {
  margin-top: 12px;
}
.khoahoc-price-wrap {
  flex-shrink: 0;
}
.khoahoc-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #0b72d9;
  margin-bottom: 6px;
}
.khoahoc-price--sale {
  color: #1b8a3e;
  font-size: 16px;
}
.khoahoc-price--old {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
}
.khoahoc-price--main {
  color: #0b72d9;
  font-size: 16px;
}
.khoahoc-price--student {
  color: #1b8a3e;
  font-size: 15px;
}
.khoahoc-price-label {
  font-weight: 600;
  color: #333;
  font-size: 13px;
}
.khoahoc-price-value {
  font-weight: 700;
  color: inherit;
}

/* Responsive for grid */
@media (max-width: 768px) {
  .list-khoahoc-grid {
    grid-template-columns: 1fr;
  }
}

/* Single post layout */
.single-header {
  padding: 40px 0 20px;
  border-bottom: 1px solid #eee;
}
.breadcrumb {
  font-size: 14px;
  color: #777;
  margin-bottom: 8px;
}
.breadcrumb a {
  color: #0b72d9;
  text-decoration: none;
}
.single-title {
  font-size: 32px;
  color: #0b72d9;
  margin: 0 0 18px 0;
}
.single-header .breadcrumb {
  margin-top: 8px;
  margin-bottom: 0;
}
.single-content .container {
  padding: 30px 0 60px;
}
.single-content img {
  max-width: 100%;
  height: auto;
}

/* Headings inside single post content */
.single-content h2 {
  font-size: 1.6em;
  line-height: 1.3;
  border-bottom: 1px solid #ddd;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  padding-bottom: 0.35rem;
}
