/* banner */
.about-banner {
  width: 100%;
  min-height: 609px;
  position: relative;
  background: #683f19;
  padding-top: 240px;
}
.about-banner-deco-nguoi {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 570px;
  height: 400px;
  z-index: 10;
}
.about-banner-deco-elice {
  position: absolute;
  top: 46px;
  left: 0;
  z-index: 10;
  mix-blend-mode: luminosity;
}
.about-banner-deco-phu {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.9;
  mix-blend-mode: multiply;
}
.about-banner-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
}
.about-banner-content {
  background: #fffde5;
  border: 2px solid #683f19;
  border-radius: 30px;
  padding: 40px;
  width: max-content;
  position: relative;
  z-index: 11;
  margin-bottom: 33px;
}
.about-banner-content-heading {
  color: var(--pri, #fbae17);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px; /* 90% */
  text-transform: uppercase;
  margin-bottom: 18px;
}
.about-banner-content-desc {
  width: 582px;
  color: var(--color-text, #2f1b08);
  font-family: "Baloo 2";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}
.about-banner-content-decosvg {
  position: absolute;
  bottom: -40px;
  right: -90px;
}

/*  core */
.core {
  padding-top: 6px;
  min-height: 900px;
  position: relative;
}
.core-bg-content {
  position: absolute;
  height: 100%;
  width: 890px;
  top: 0;
  left: 0;
}
.core .container {
  padding-top: 115px;
  display: flex;
  gap: 38px;
}
.core-content {
  width: 592px;
  position: relative;
  z-index: 10;
}
.core-content-heading {
  color: #fafafa;
  font-family: "Baloo 2";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px; /* 120% */
  text-transform: uppercase;
  margin-bottom: 13px;
}
/* ---------- Post content (entry-content) ---------- */
.single-article__content {
  font-size: 16px;
  font-weight: 400;
}

/* Headings */
.single-article__content h1,
.single-article__content h2,
.single-article__content h3,
.single-article__content h4,
.single-article__content h5,
.single-article__content h6 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: #2f1b08;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.single-article__content h1 {
  font-size: 2rem;
}
.single-article__content h2 {
  font-size: 1.5rem;
  line-height: 2.25rem;
} /* 24px / 36px */
.single-article__content h3 {
  font-size: 1.25rem;
}
.single-article__content h4 {
  font-size: 1.125rem;
}
.single-article__content h5 {
  font-size: 1rem;
}
.single-article__content h6 {
  font-size: 0.875rem;
}

/* Links */
.single-article__content a {
  color: var(--Second, #683f19);
  text-decoration: underline;
  display: inline;
}

.single-article__content a:hover {
  color: var(--pri, #fbae17);
}

/* Unordered lists */
.single-article__content ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.single-article__content ul li::marker {
  color: #fff;
}

/* Ordered lists */
.single-article__content ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.single-article__content ol li::marker {
  color: #fff;
  font-weight: 600;
}

/* Blockquote */
.single-article__content blockquote {
  border-left: 4px solid #fff;
  background: rgba(251, 174, 23, 0.08);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #2f1b08;
}

.single-article__content blockquote p {
  margin-bottom: 0;
}

/* Images */
.single-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 1.25rem; /* 20px */
  display: block;
}

.single-article__content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(47, 27, 8, 0.6);
}

/* Tables */
.single-article__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.single-article__content th,
.single-article__content td {
  border: 1px solid rgba(47, 27, 8, 0.15);
  padding: 0.625rem 0.875rem;
  text-align: left;
  vertical-align: top;
}

.single-article__content th {
  background: var(--Second, #683f19);
  color: #fff;
  font-weight: 600;
}

.single-article__content tr:nth-child(even) td {
  background: rgba(251, 174, 23, 0.06);
}
.core-content-detail {
  font-family: "Baloo 2";
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  margin-top: 25px;
}
.core-list {
  position: relative;
  z-index: 10;
  flex: 1 0 0;
  margin-top: -10px;
}
.core-list-img {
  width: 100%;
  height: 360px;
  border-radius: 40px;
  border: 4px solid #fff;
  margin-bottom: 46px;
  object-fit: cover;
}
.core-list-wapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.core-list-item {
  margin-left: calc(var(--i) * -16px);
  position: relative;
  width: 100%;
  height: 64px;
  border-radius: 34px;
  background: #fffde5;
  border: 2px solid #683f19;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
  padding-left: 86px;
  display: flex;
  align-items: center;
}
.core-list-item-icon {
  position: absolute;
  top: 50%;
  left: -2px;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  border-radius: 100%;
  background: #683f19;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.core-list-item-icon-img {
  width: 40px;
  height: 40px;
}
.core-list-item-content {
  color: rgba(47, 27, 8, 0.8);
  font-family: "Baloo 2";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 162.5% */
}
.core-list-item-content strong {
  color: var(--color-text, #2f1b08);
  font-family: "Baloo 2";
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 28px; /* 116.667% */
}
.core-deco-muctieu {
  position: absolute;
  bottom: 26px;
  left: 27px;
}
/* privilege */
.privilege-headding {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 15px;
  margin-bottom: 12px;
}

.privilege-headding h2 {
  color: var(--color-text, #3a2a1a);
  text-align: center;
  font-family: "Baloo 2";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  white-space: nowrap;
}

.privilege-headding img {
  width: 229.904px;
  height: 118.059px;
}
.privilege-desc {
  color: var(--color-text, #2f1b08);
  text-align: center;
  font-family: "Baloo 2";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 133.333% */
  margin-bottom: 64px;
}

/* privilege list */
.privilege-list {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 60px;
}

.privilege-item {
  position: relative;
  flex: 1 1 0;
  min-width: 240px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: #fffde5;
  border: 2px solid #683f19;
  border-radius: 20px;
  padding: 26px;
  padding-top: 40px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.privilege-item:hover {
  border-color: #fbae17;
  box-shadow: 0 4px 16px rgba(251, 174, 23, 0.25);
}

.privilege-item-icon {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #683f19;
  background: #fbae17;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbae17;
  flex-shrink: 0;
}
.privilege-item-icon img {
  width: 24px;
  height: 24px;
  aspect-ratio: 1/1;
}
.privilege-item:hover .privilege-item-icon {
  background: #fbae17;
  color: #fff;
  border-color: #fbae17;
}

.privilege-item-title {
  color: var(--color-text, #2f1b08);
  text-align: center;
  font-family: "Baloo 2";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 120% */
  text-transform: uppercase;
}

.privilege-item:hover .privilege-item-title {
  color: #683f19;
}

.privilege-item-desc {
  color: var(--color-text, #2f1b08);
  text-align: center;
  font-family: "Baloo 2";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 125% */
}

/* privilege — tablet (641px – 1024px) */
@media (max-width: 1024px) and (min-width: 640px) {
  .privilege-list {
    gap: 12px;
  }

  .privilege-item {
    min-width: 0;
    max-width: unset;
    flex: 1 1 calc(33.333% - 12px);
    padding: 20px 14px 18px;
    padding-top: 36px;
    gap: 8px;
  }

  .privilege-item-icon {
    width: 44px;
    height: 44px;
    top: -22px;
  }

  .privilege-item-icon img {
    width: 20px;
    height: 20px;
  }

  .privilege-item-title {
    font-size: 15px;
    line-height: 20px;
  }

  .privilege-item-desc {
    font-size: 13px;
    line-height: 18px;
  }

  .privilege-headding h2 {
    font-size: 28px;
  }

  .privilege-headding img {
    width: 160px;
    height: auto;
  }

  .privilege-desc {
    font-size: 16px;
  }
}

/* privilege — mobile (≤ 639px) */
@media (max-width: 639px) {
  .privilege {
    padding-top: 32px;
  }
  .privilege .container {
    padding: 0 16px;
  }

  .privilege-headding {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .privilege-headding h2 {
    font-size: 20px;
    line-height: 26px;
    white-space: normal;
    text-align: center;
  }

  .privilege-headding img {
    width: 110px;
    height: auto;
  }

  .privilege-desc {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 32px;
  }

  .privilege-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    flex-wrap: unset;
    padding-bottom: 40px;
  }

  /* card thứ 5 (lẻ ở hàng cuối) căn giữa */
  .privilege-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 180px;
    margin: 0 auto;
  }

  .privilege-item {
    min-width: unset;
    max-width: unset;
    padding: 16px 10px 14px;
    padding-top: 34px;
    gap: 6px;
    border-radius: 16px;
  }

  .privilege-item-icon {
    width: 42px;
    height: 42px;
    top: -21px;
  }

  .privilege-item-icon img {
    width: 18px;
    height: 18px;
  }

  .privilege-item-title {
    font-size: 12px;
    line-height: 16px;
  }

  .privilege-item-desc {
    font-size: 12px;
    line-height: 16px;
  }
}

/* ============================================
   RESPONSIVE — TABLET (640px – 1024px)
   ============================================ */
@media (max-width: 1024px) and (min-width: 640px) {
  /* --- banner --- */
  .about-banner {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 40px;
  }
  .about-banner-deco-nguoi {
    width: 340px;
    height: 240px;
  }
  .about-banner-content {
    padding: 28px;
    width: auto;
    max-width: 560px;
  }
  .about-banner-content-heading {
    font-size: 28px;
    line-height: 32px;
  }
  .about-banner-content-desc {
    width: 100%;
    font-size: 15px;
  }
  .about-banner-content-decosvg {
    display: none;
  }

  /* --- core --- */
  .core {
    min-height: auto;
  }
  .core-bg-content {
    width: 100%;
  }
  .core .container {
    padding-top: 60px;
    flex-direction: column;
    gap: 32px;
  }
  .core-content {
    width: 100%;
  }
  .core-content-heading {
    font-size: 28px;
    line-height: 36px;
  }
  .core-list {
    margin-top: 0;
  }
  .core-list-img {
    height: 260px;
    border-radius: 24px;
  }
  .core-list-item {
    margin-left: 0 !important;
    height: auto;
    min-height: 64px;
    padding: 12px 16px 12px 86px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 639px)
   ============================================ */
@media (max-width: 639px) {
  /* --- banner --- */
  .about-banner {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 200px;
  }
  .about-banner-deco-nguoi {
    width: 260px;
    height: 180px;
  }
  .about-banner .container {
    padding: 0 16px;
  }
  .about-banner-content {
    padding: 20px 16px;
    width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
  }
  .about-banner-content-heading {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 12px;
  }
  .about-banner-content-desc {
    width: 100%;
    font-size: 14px;
    line-height: 22px;
  }
  .about-banner-content-decosvg {
    display: none;
  }
  .about-banner-deco-elice {
    overflow: hidden;
    width: 100px;
    top: unset;
  }

  /* --- core --- */
  .core {
    min-height: auto;
  }
  .core-bg-content {
    width: 100%;
    object-fit: cover;
  }
  .core .container {
    padding-top: 150px;
    padding-left: 16px;
    padding-right: 16px;
    flex-direction: column;
    gap: 24px;
  }
  .core-content {
    width: 100%;
  }
  .core-content-heading {
    font-size: 22px;
    line-height: 30px;
  }
  .core-content-detail {
    font-size: 14px;
    line-height: 22px;
    margin-top: 16px;
  }
  .core-list {
    margin-top: 0;
  }
  .core-list-img {
    height: 200px;
    border-radius: 20px;
    border-width: 3px;
    margin-bottom: 28px;
  }
  .core-list-wapper {
    gap: 20px;
  }
  .core-list-item {
    /* huỷ offset cascade trên mobile */
    margin-left: 0 !important;
    height: auto;
    min-height: 60px;
    border-radius: 24px;
    padding: 10px 14px 10px 76px;
  }
  .core-list-item-icon {
    width: 60px;
    height: 60px;
    left: -2px;
  }
  .core-list-item-icon-img {
    width: 32px;
    height: 32px;
  }
  .core-list-item-content {
    font-size: 14px;
    line-height: 22px;
  }
  .core-list-item-content strong {
    font-size: 18px;
    line-height: 24px;
  }
  .core-deco-muctieu {
    display: none;
  }
}
