/* ================================
   DESIGN TOKENS (màu lấy từ logo Wekid)
================================ */
:root {
  --wk-navy: #1b3a4b;
  --wk-navy-deep: #102a38;
  --wk-yellow: #f4bc2a;
  --wk-yellow-dark: #d99a0b;
  --wk-yellow-soft: #fff3cd;
  --wk-cream: #fffaf0;
  --wk-sky: #eaf6ff;
  --wk-ink: #2b3f4a;
  --wk-muted: #5f7480;
  --wk-section-y: 56px;
  --wk-radius: 20px;
  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (max-width: 768px) {
  :root { --wk-section-y: 36px; }
}

/*
Theme Name: Wekid New UI
Author: You
Version: 1.0
*/

/* ================================
   RESET & GLOBAL
================================ */
body {
  margin: 0;
  font-family: var(--font-body);
  background: #fff;
  color: var(--wk-ink);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}
html{
  scroll-behavior:smooth;
}
/* ================================
   HEADER (UPGRADE)
================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 999;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid #eee;
}

/* Flex */
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ================================
   LOGO
================================ */
.logo img {
  height: 48px;
}

/* ================================
   MENU
================================ */
.menu ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Link */
.menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: 0.3s;
}

/* Hover underline animation */
.menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--wk-navy);
  transition: 0.3s;
}

.menu ul li a:hover::after {
  width: 100%;
}

.menu ul li a:hover {
  color: var(--wk-navy);
}

/* Highlight 2 khóa học */
.menu ul li:nth-child(2) a,
.menu ul li:nth-child(3) a {
  color: var(--wk-navy);
  font-weight: 600;
}

/* ================================
   CTA BUTTON
================================ */
.btn-cta {
  background: var(--wk-yellow);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--wk-navy);
  font-family: var(--font-head);
  font-weight: 700;
  transition: 0.3s;
  box-shadow: 0 6px 18px rgba(244,188,42,0.45);
}

.btn-cta:hover {
  transform: translateY(-2px);
}
/* ================================
   Single-posst
================================ */
.section-single {
  padding: var(--wk-section-y) 0;
}

.section-single h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.single-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.single-content {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
/* ================================
   category.php
================================ */
.section-blog-archive {
  padding: var(--wk-section-y) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.blog-card a {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 18px;
}

.blog-card-content h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.blog-card-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.blog-card-content span {
  color: var(--wk-navy);
  font-weight: 600;
}

/* mobile */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   HERO SECTION
================================ */
.hero {
  padding: calc(var(--wk-section-y) + 8px) 0 70px;
  background: var(--wk-cream);
}

.hero-wrap {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* TEXT */
.hero-content {
  flex: 1;
  max-width: 520px;
}

.hero-content h1 {
  font-size: 44px;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.hero-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

/* IMAGE */
.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 14px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

  .header-wrap {
    height: auto;
    padding: 10px 20px; /* giữ lề hai bên, logo và nút không dính mép màn hình */
    gap: 10px;
  }

  .logo { margin-right: auto; }
  .logo img { height: 40px; }

  .btn-cta {
    padding: 9px 16px;
    font-size: 15px;
  }

  /* menu mobile: thả xuống ngay dưới header khi bấm nút ba gạch */
  nav.menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 14px 28px rgba(27, 58, 75, 0.14);
  }

  .header.is-menu-open nav.menu { display: block; }

  .menu ul {
    flex-direction: column;
    gap: 0;
    padding: 6px 20px 14px;
  }

  .menu ul li a {
    display: block;
    padding: 13px 0;
    font-size: 17px;
    border-bottom: 1px solid #f1f1f1;
  }

  .menu ul li:last-child > a { border-bottom: 0; }
  .menu ul li a::after { display: none; }

  /* mục con (nếu có) hiện thụt vào, không cần bấm để mở */
  .menu .sub-menu { padding: 0 0 0 16px; }

  .hero-wrap {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}
/* ================================
   HERO FORM - YELLOW VERSION
================================ */

.hero-form {
  margin-top: -64px;
  margin-bottom: 48px;
  position: relative;
  z-index: 10;
}

/* BOX */
.hero-form-box {
  background: linear-gradient(135deg, #ffd54f, var(--wk-yellow));

  padding: 20px 22px;
  border-radius: 22px;

  box-shadow: 0 18px 40px rgba(27,58,75,0.28);

  text-align: center;
  color: #333;
}

/* TITLE */
.hero-form-box h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}
/* ===== CF7 HERO ===== */

.hero-cf7 .wpcf7-form{
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) 180px;
  gap:14px;
  align-items:center;
}

.hero-cf7 p{
  margin:0;
}

.hero-cf7 .wpcf7-form-control-wrap{
  display:block;
}

.hero-cf7 input[type="text"],
.hero-cf7 input[type="tel"]{
  box-sizing:border-box;
  width:100%;
  height:58px;

  padding:0 18px;

  background:#fff;

  border:none;
  border-radius:12px;

  box-shadow: inset 0 2px 6px rgba(0,0,0,.05);

  font-size:15px;
}

.hero-cf7 .wpcf7-submit{
  width:100%;
  height:58px;

  background:var(--wk-navy);
  color:#fff;

  border:none;
  border-radius:30px;

  font-weight:600;
  cursor:pointer;
}

.hero-cf7 .wpcf7-spinner{
  display:none;
}

/* mobile */
@media(max-width:768px){

  .hero-cf7 .wpcf7-form{
    grid-template-columns:minmax(0,1fr);
  }

}

/* ================================
   MOBILE
================================ */

@media (max-width:768px){

  .hero-form{
    margin-top:-44px;
  }

  .hero-cf7 .wpcf7-form{
    flex-direction:column;
  }

  .hero-cf7 .wpcf7-form p{
    width:100%;
  }

  .hero-cf7 .wpcf7-form p:nth-child(3){
    flex:auto;
  }

  .hero-cf7 .wpcf7-submit{
    width:100%;
  }

}

/* ================================
   COURSE SECTION
================================ */

.section-course {
  padding: var(--wk-section-y) 0;
}

/* Title */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}
/* Title Đoạn trước khoá học */
.section-head {
  margin-bottom: 50px;
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* highlight brand */
.section-head h2 span {
  color: var(--wk-yellow);
}

/* subtext */
.section-head p {
  font-size: 18px;
  color: #666;
}
/* Grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.course-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}

/* Card chính */
.course-card:nth-child(1),
.course-card:nth-child(2) {
  transform: scale(1.02);
  border: 1.5px solid var(--wk-yellow);
}

/* Card phụ */
.course-card:nth-child(3) {
  opacity: 0.9;
  transform: scale(0.97);
}

/* Hover (NHẸ THÔI) */
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Image */
.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Content */
.course-content {
  padding: 20px;
}

.course-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.course-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

/* Button */
.btn-course {
  display: inline-block;
  padding: 12px 20px;
  background: linear-gradient(135deg, #ffd54f, var(--wk-yellow));
  color: #333;
  
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-course:hover {
  background: #ffa000;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================
   TRUST SECTION (MC NGỌC TRÂM)
================================ */

/* Section nền (mượt hơn) */
.section-trust {
  padding: var(--wk-section-y) 0;
  background: linear-gradient(180deg, var(--wk-cream) 0%, #ffffff 100%);
}

/* Layout */
.trust-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ================================
   IMAGE
================================ */

.trust-image {
  flex: 1;
  max-width: 480px; /* giảm nhẹ cho cân */
}

.trust-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12); /* shadow đẹp hơn */
  display: block;
}

/* ================================
   CONTENT
================================ */

.trust-content {
  flex: 1;
}

/* Title */
.trust-content h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Highlight tên */
.trust-content h2 span {
  color: var(--wk-navy);
}

/* Sub text */
.trust-sub {
  font-size: 16px;
  color: #888;
  margin-bottom: 22px;
}

/* ================================
   LIST (điểm mạnh)
================================ */

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.trust-list li {
  margin-bottom: 14px; /* thoáng hơn */
  font-size: 15px;
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
  color: #444;
}

/* Icon mic (brand đúng hơn) */
.trust-list li::before {
  content: "🎤";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
}

/* ================================
   QUOTE
================================ */

.trust-quote {
  font-style: italic;
  color: #666;
  margin-top: 18px;
  line-height: 1.6;
}

/* ================================
   BUTTON
================================ */

.trust-content .btn-main {
  display: inline-block; margin-top: 18px; padding: 14px 26px; background: linear-gradient(135deg, #ffd54f, var(--wk-yellow)); color: #333; border-radius: 30px; text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.25s ease; box-shadow: 0 10px 25px rgba(255,179,0,0.3);
}
.trust-content .btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255,179,0,0.4);
}
/* ================================
   RESPONSIVE (mobile)
================================ */

@media (max-width: 768px) {

  .trust-wrap {
    flex-direction: column;
    text-align: center;
  }

  .trust-image {
    max-width: 100%;
  }

  .trust-content h2 {
    font-size: 26px;
  }

}
/* ================================
   ABOUT SECTION (WEKID LÀ GÌ)
================================ */

.section-about {
  padding: var(--wk-section-y) 0;
  background: #fff;
}

/* ================================
   LAYOUT
================================ */

.about-wrap {
  display: flex;
  align-items: stretch; /* QUAN TRỌNG */
  justify-content: space-between;
  gap: 60px;
}

/* ================================
   TEXT
================================ */

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-content h2 {
  font-size: 34px;
  margin-bottom: 18px;
  line-height: 1.3;
}

.about-content h2 span {
  color: var(--wk-yellow);
}

.about-intro {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-content p {
  font-size: 15.8px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 16px;
}

/* ================================
   LIST
================================ */

.about-features {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.about-features li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: #555;
}

.about-features li::before {
  content: "🎤";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
}

/* ================================
   DESCRIPTION
================================ */

.about-desc {
  margin-top: 10px;
}

.about-highlight {
  margin-top: 15px;
  font-weight: 500;
  color: var(--wk-yellow);
}

/* ================================
   IMAGE (FIX BALANCE)
================================ */

.about-image {
  position: relative;
  flex: 1;
  max-width: 500px;

  display: flex;
  align-items: stretch;
}

/* ẢNH CHÍNH (nhỏ lại 1 chút) */
.about-img-main {
  width: 85%;
  height: 100%;
  margin-left: auto; /* đẩy sang phải */
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* ẢNH PHỤ (to hơn + nổi hơn) */
.about-img-sub {
  position: absolute;
  bottom: 30px;
  left: -40px;
  width: 220px; /* TO HƠN */
  z-index: 2;
}

.about-img-sub img {
  width: 100%;
  border-radius: 14px;
  border: 5px solid #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

  .about-wrap {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    max-width: 100%;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-content h2 {
    font-size: 26px;
  }

  .about-img-sub {
    display: none;
  }

  .about-img-main {
    width: 100%;
  }

  .about-img-main img {
    height: auto;
  }
}  /* END */

/* ================================
   ACTIVITY SECTION (MASONRY)
================================ */

.section-activity {
  padding: var(--wk-section-y) 0;
  background: var(--wk-cream);
}

/* Title */
.section-activity .section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-activity h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-activity h2 span {
  color: var(--wk-yellow);
}
.activity-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.7;
  color: #666;
}

/* ================================
   GRID (MASONRY)
================================ */

.activity-grid {
  column-count: 4;
  column-gap: 18px;
}

/* Item */
.activity-item {
  break-inside: avoid;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 14px;
}

/* Image */
.activity-item img {
  width: 100%;
  height: auto; /* giữ tỷ lệ thật */

  display: block;
  border-radius: 14px;

  transition: transform 0.35s ease;
}

/* Hover */
.activity-item:hover img {
  transform: scale(1.04);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .activity-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .activity-grid {
    column-count: 2;
  }

  .section-activity h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .activity-grid {
    column-count: 1;
  }
}
/* ================================
   QUOTE SECTION
================================ */

.section-quote {
  padding: var(--wk-section-y) 0 90px;
  text-align: center;
  background: #fff;
}

/* BOX */
.quote-box {
  position: relative;
  max-width: 880px;
  margin: 0 auto;

  padding: 40px 50px;

  border: 2px solid var(--wk-yellow);
  border-radius: 20px;
}

/* TEXT */
.quote-text {
  font-size: 20px;
  line-height: 1.7;
  color: #333;
  font-weight: 500;
  font-style: italic;
}

/* ICON */
.quote-icon {
  position: absolute;
  font-size: 60px;
  color: var(--wk-navy);
  font-weight: bold;
  background: #fff;
  padding: 0 10px;
}

.quote-icon.top {
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
}

.quote-icon.bottom {
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
}

/* LINE DECOR */
.quote-box::before,
.quote-box::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 60px;
  height: 2px;
  background: #ccc;
}

.quote-box::before {
  left: 20px;
}

.quote-box::after {
  right: 20px;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

  .quote-text {
    font-size: 16px;
  }

  .quote-box {
    padding: 30px 20px;
  }

}
/* ================================
   SECTION
================================ */

.section-review-soft {
  padding: var(--wk-section-y) 0;
  background: #f6f7fb;
}

/* ================================
   WRAP
================================ */

.review-slider-wrap {
  position: relative;
}

/* ================================
   SLIDER
================================ */

.review-soft-slider {
  display: flex;
  gap: 30px;
  padding-left: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  padding: 10px 10px 20px;
}

.review-soft-slider::-webkit-scrollbar {
  display: none;
}

.review-soft-slider .review-soft-item {
  flex: 0 0 auto;
  width: 360px;
  scroll-snap-align: start;
}

/* ================================
   IMAGE
================================ */

.review-soft-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

/* ================================
   CARD
================================ */

.review-soft-card {
  position: relative;
  margin-top: -80px;

  background: #fff;
  padding: 28px 24px 22px;

  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);

  transform: translateX(-15px); /* lệch nhẹ */
  transition: 0.3s;
}

/* quote */
.review-soft-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 18px;
  font-size: 42px;
  color: var(--wk-navy);
  opacity: 0.15;
}

/* TEXT */
.review-soft-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;

  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* USER */
.review-soft-user strong {
  display: block;
  font-size: 14px;
}

.review-soft-user span {
  font-size: 12px;
  color: #888;
}

/* ================================
   HOVER
================================ */

.review-soft-item:hover .review-soft-card {
  transform: translateX(-15px) translateY(-6px);
}

/* ================================
   ARROWS
================================ */

.review-prev,
.review-next {
  position: absolute;
  top: 40%;
  transform: translateY(-157%);

  width: 50px;
  height: 50px;

  border-radius: 50%;
  border: none;

  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);

  cursor: pointer;
  z-index: 10;

  font-size: 22px;
}

/* LEFT */
.review-prev {
  left: -10px;
}

/* RIGHT */
.review-next {
  right: -10px;
}

/* hover */
.review-prev:hover,
.review-next:hover {
  background: var(--wk-navy);
  color: #fff;
}

/* ================================
   MAIN FORM SECTION
================================ */

.section-form-main {
  padding: var(--wk-section-y) 0 120px;
  background: #fff;
}

/* LAYOUT */
.form-main-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* TITLE */
.form-main-left h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: var(--wk-navy);
  line-height: 1.4;
}

/* FORM */
.form-main input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 15px;

  border-radius: 12px;
  border: 1px solid #eee;

  font-size: 14px;
  transition: 0.2s;
}

.form-main input:focus {
  border-color: var(--wk-yellow);
  outline: none;
}

/* BUTTON */
.form-main .wpcf7-submit {
  width: 100%;
  padding: 14px;

  background: linear-gradient(135deg, #ffd54f, var(--wk-yellow));
  color: #333;

  border: none;
  border-radius: 30px;

  font-weight: 600;
  cursor: pointer;

  transition: 0.3s;
}

.form-main .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,193,7,0.3);
}
.form-main .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 15px;
}

.form-main .wpcf7-spinner {
  display: none;
}
/* NOTE */
.form-note {
  font-size: 12px;
  color: #777;
  margin-top: 10px;
}

/* TRUST */
.form-trust {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

/* IMAGE */
.form-main-right img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-main-wrap {
    grid-template-columns: 1fr;
  }

  .form-main-right {
    order: -1;
  }

  .form-main-left h2 {
    font-size: 24px;
  }
}


/* ================================
   BLOG SECTION
================================ */
.section-blog {
  padding: var(--wk-section-y) 0;
  background: #fff;
}

/* LAYOUT */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

/* ================================
   MAIN
================================ */

.blog-main {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.25s;
}

.blog-main:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-main a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-main img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.blog-main-content {
  padding: 20px;
}

.blog-main-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--wk-navy);
}

.blog-main-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

/* ================================
   READMORE (DÙNG CHUNG)
================================ */

.blog-readmore {
  font-size: 14px;
  color: var(--wk-navy);
  font-weight: 600;
}

/* ================================
   SIDE
================================ */

.blog-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blog-side-item {
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.25s;
}

.blog-side-item:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.blog-side-item a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.blog-side-item img {
  width: 95px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-side-item h4 {
  font-size: 14px;
  margin-bottom: 5px;
  line-height: 1.4;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-main img {
    height: 220px;
  }

  .blog-side-item img {
    width: 85px;
    height: 65px;
  }
}

/* ================================
   VIDEO SECTION
================================ */

.section-video {
  padding: var(--wk-section-y) 0;
  background: #fff;
}

/* ================================
   GRID
================================ */

.video-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 36px;
  margin-top: 50px;
}

/* ================================
   VIDEO MAIN
================================ */

.video-main {
  position: relative;
  cursor: pointer;
}

/* ảnh */
.video-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* overlay luôn hiện */
.video-main .video-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.25);
  border-radius: 20px;

  transition: 0.3s;
}

/* hover đẹp hơn */
.video-main:hover .video-overlay {
  background: rgba(0,0,0,0.45);
}

/* title */
.video-main h3 {
  margin-top: 14px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
}
/* caption nằm đè lên ảnh */
.video-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 18px 20px;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0)
  );

  border-radius: 0 0 20px 20px;
}

/* text */
.video-caption h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
/* ================================
   VIDEO Side small
================================ */


.video-side{
  display:flex;
  align-items:stretch;
}

.video-small{
  display:flex;
  flex-direction:column;
  width:100%;
  cursor:pointer;
}

.video-small .thumb{
  width:100%;
  height:260px;
}

.video-small img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:20px;
}

.video-small .video-overlay{
  position:absolute;
  inset:0;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(0,0,0,.3);
  border-radius:20px;

  transition:.3s;
}

.video-small:hover .video-overlay{
  background:rgba(0,0,0,.5);
}

.video-small p{
  margin-top:14px;

  font-size:18px;
  line-height:1.5;
  font-weight:600;

  color:#333;
}
.video-small .thumb{
  position:relative;
}
/* ================================
   PLAY BUTTON
================================ */

.video-play-btn {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* triangle */
.video-play-btn::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 26px;

  border-left: 20px solid var(--wk-navy);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

/* small */
.video-play-btn.small {
  width: 48px;
  height: 48px;
}

.video-play-btn.small::before {
  left: 20px;
  top: 16px;

  border-left: 12px solid var(--wk-navy);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* ================================
   CTA
================================ */

.video-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-video {
  display: inline-block;
  padding: 13px 30px;

  background: linear-gradient(135deg, #ffd54f, var(--wk-yellow));
  color: #333;

  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;

  transition: 0.3s;
}

.btn-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,193,7,0.35);
}
/* modal full màn hình */
#video-modal {
  position: fixed;
  inset: 0;
  display: none;

  align-items: center;
  justify-content: center;

  z-index: 9999;
}

/* active */
#video-modal.active {
  display: flex;
}

/* nền tối */
.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

/* khung video */
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px; /* 🔥 tăng size */
  z-index: 2;
}

/* iframe chuẩn 16:9 */
.video-modal-content iframe {
  width: 100%;
  height: 500px; /* 🔥 to lên */
  border-radius: 12px;
  display: block;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

  .section-video {
    padding: var(--wk-section-y) 0;
  }

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

  .video-main img {
    height: 240px;
  }

  .video-small {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-small .thumb {
    width: 100%;
    height: 180px;
  }

}


/* ================================
   Hết Header + Front_page
================================ */

/* =========================
FOOTER
========================= */

.site-footer {
  background: var(--wk-navy);
  color: #d7e3ea;
  padding-top: 56px;
}

/* top */
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;

  padding-bottom: 40px;
}

/* brand */
.site-footer .footer-brand img {
  height: 64px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 6px 10px;
}

.site-footer .footer-brand p {
  color: #c3d3dc;
  line-height: 1.8;
}

/* title */
.site-footer h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--wk-yellow);
  font-family: var(--font-head);
}

/* list */
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
  color: #c3d3dc;
}

.site-footer ul li a {
  color: #c3d3dc;
  transition: 0.25s;
}

.site-footer ul li a:hover {
  color: var(--wk-yellow);
}

/* bottom */
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);

  padding: 18px 0;

  color: #9fb4c0;
  font-size: 14px;

  text-align: center;
}

/* mobile */
@media (max-width: 991px) {

  .site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

}

@media (max-width: 767px) {

  .site-footer {
    padding-top: 40px;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr;
  }

}
/* ================================
   section 3 -css cho timeline 3page
================================ */

.about-timeline {
  padding: var(--wk-section-y) 0;
  background: #fff;
}

.timeline {
  margin-top: 50px;
  position: relative;
}

/* line giữa */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: #ffe082;
  transform: translateX(-50%);
}

/* item */
.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  position: relative;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

/* đảo chiều */
.timeline-item.reverse {
  flex-direction: row-reverse;
}

/* content */
.timeline-content {
  width: 45%;
}

.timeline-content .year {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--wk-navy);
  margin-bottom: 5px;
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* image */
.timeline-image {
  width: 45%;
}

.timeline-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.timeline-image img:hover {
  transform: scale(1.03);
}

/* dot */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  width: 14px;
  height: 14px;
  background: var(--wk-navy);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* responsive */
@media (max-width: 768px) {

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 30px;
  }

  .timeline-item.reverse {
    flex-direction: column;
  }

  .timeline-content,
  .timeline-image {
    width: 100%;
  }

  .timeline-item::before {
    left: 10px;
  }

}

/* ==========================================================
   KUTE LAYER — font tròn, nút pill, nét vẽ tay (theo logo)
========================================================== */
h1, h2, h3, h4,
.btn-cta, .btn-course, .btn-main, .btn-video,
.menu ul li a {
  font-family: var(--font-head);
}

h1, h2 { font-weight: 800; line-height: 1.2; }
h3, h4 { font-weight: 700; line-height: 1.3; }

.btn-course, .btn-main, .btn-video, .btn-cta,
.wpcf7-submit {
  border-radius: 999px;
}

.btn-course, .btn-main, .btn-video {
  background: var(--wk-yellow);
  color: var(--wk-navy);
  font-weight: 700;
  border: 0;
  box-shadow: 0 6px 16px rgba(244,188,42,0.40);
}

.btn-course:hover, .btn-main:hover, .btn-video:hover, .btn-cta:hover {
  background: #ffcd45;
  transform: translateY(-2px);
}

/* nét cong như nụ cười dưới logo, đặt dưới tiêu đề section */
.section-head.center h2::after {
  content: "";
  display: block;
  width: 96px;
  height: 12px;
  margin: 6px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 12'%3E%3Cpath d='M3 4 Q48 14 93 3' fill='none' stroke='%23f4bc2a' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ảnh và card: bo lớn, bóng mềm, thống nhất */
.course-card, .blog-card a {
  border-radius: var(--wk-radius);
}

/* tiêu đề đã có gạch chân ở chữ nổi bật thì không thêm nét cong nữa */
.section-head.center h2:has(.highlight)::after {
  display: none;
}

/* chữ tiêu đề gọn hơn trên điện thoại */
@media (max-width: 768px) {
  main section[class][class] h1 { font-size: 28px; line-height: 1.2; }
  main section[class][class] h2 { font-size: 24px; line-height: 1.25; }
  .section-head.center h2::after { width: 80px; }
}


/* ==========================================================
   HERO TRANG CHỦ — ảnh full-width, chữ đè lên (.hero-full)
   Ảnh lấy từ ACF: hero_image. Chữ nằm nửa trên, các bé nửa dưới,
   form đăng ký (.hero-form) đè lên mép dưới.
========================================================== */
.hero-full {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: clamp(540px, 78vh, 720px);
  padding: 48px 0 110px;
  background: linear-gradient(180deg, #fff3cd 0%, var(--wk-cream) 60%);
  color: var(--wk-navy);
  text-align: center;
  overflow: hidden;
}

.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(1.12) brightness(1.04); /* ảnh tươi hơn một chút */
}

/* lớp phủ kem sáng: đậm ở trên (cho chữ navy), trong ở giữa (cho mặt các bé) */
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 225, 0.96) 0%,
    rgba(255, 248, 225, 0.80) 26%,
    rgba(255, 248, 225, 0) 52%,
    rgba(255, 248, 225, 0) 100%
  );
}

.hero-full .hero-content {
  position: relative;
  z-index: 2;
  flex: none;
  box-sizing: border-box; /* width 100% đã gồm padding, không tràn khỏi màn hình mobile */
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-full .hero-content h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.15;
  color: var(--wk-navy);
}

.hero-full .hero-content p {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--wk-ink);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wk-navy);
  background: #fff;
  border: 1px solid var(--wk-yellow);
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-btn {
  display: inline-block;
  padding: 12px 26px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.25s;
}

.hero-btn--main {
  color: var(--wk-navy);
  background: var(--wk-yellow);
  box-shadow: 0 6px 16px rgba(244, 188, 42, 0.45);
}

.hero-btn--ghost {
  color: var(--wk-navy);
  border: 2px solid var(--wk-navy);
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn--ghost:hover {
  color: #fff;
  background: var(--wk-navy);
}

/* mobile: chữ trên nền navy, ảnh nằm ngay dưới (không cắt mất các bé) */
@media (max-width: 768px) {
  .hero-full {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 28px 0 0;
  }

  .hero-full::before {
    display: none;
  }

  .hero-full .hero-content {
    order: 1;
    padding-bottom: 6px;
  }

  .hero-full .hero-bg {
    position: relative;
    order: 2;
    inset: auto;
    height: 300px;
    margin-top: 6px;
    object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  }

  .hero-btn {
    padding: 11px 20px;
    font-size: 15px;
  }
}


/* ==========================================================
   CHỐNG TRÀN NGANG · ĐIỂM NEO FORM · TRẠNG THÁI GỬI FORM
========================================================== */

/* không cho trang kéo ngang trên điện thoại (clip không tạo thanh cuộn riêng) */
body { overflow-x: clip; }

/* nút ba gạch mở menu: chỉ hiện trên điện thoại */
.menu-toggle {
  display: none;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--wk-cream);
  color: var(--wk-navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.header.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
}

/* bấm "Đăng ký ngay" thì form dừng dưới header dính (cao 72px) */
#form-dang-ky { scroll-margin-top: 88px; }

/* nút gửi form: đang gửi → mờ nhẹ, con trỏ chờ, có vệt sáng chạy */
.wpcf7-form .wpcf7-submit { transition: opacity 0.2s, transform 0.2s; }

.wpcf7-form.is-sending .wpcf7-submit,
.wpcf7-form.is-sent .wpcf7-submit {
  pointer-events: none;
}

.wpcf7-form.is-sending .wpcf7-submit {
  cursor: wait;
  opacity: 0.88;
}

.hero-cf7 .wpcf7-form.is-sending .wpcf7-submit {
  background-image: linear-gradient(110deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 70%);
  background-size: 220% 100%;
  animation: wk-shimmer 1.1s linear infinite;
}

.form-main .wpcf7-form.is-sending .wpcf7-submit {
  background-image:
    linear-gradient(110deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 70%),
    linear-gradient(135deg, #ffd54f, var(--wk-yellow));
  background-size: 220% 100%, 100% 100%;
  animation: wk-shimmer 1.1s linear infinite;
}

/* gửi xong: nút xanh lá nhẹ báo thành công trước khi chuyển trang */
.wpcf7-form.is-sent .wpcf7-submit {
  background: #2e9e5b !important;
  color: #fff !important;
}

@keyframes wk-shimmer {
  from { background-position: 120% 0, 0 0; }
  to   { background-position: -120% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cf7 .wpcf7-form.is-sending .wpcf7-submit,
  .form-main .wpcf7-form.is-sending .wpcf7-submit { animation: none; }
}
