:root {
  /* Brand colors - fallback nếu chưa có trong style.css */
  --brand-navy: #131743;
  --brand-orange: #ea9a22;
  --header-h: 120px;

  /* About page specific variables */
  --ab1-img-pct: 50%;
  --ab1-pad-x: clamp(40px, 8vw, 120px);
  --ab1-pad-y: clamp(28px, 6vh, 72px);
  --ab1-title-size: clamp(28px, 4.2vw, 48px);
  --ab1-text-size: clamp(16px, 1.25vw, 20px);
  --ab1-mid-max: 980px;
  --ab1-mid-pad-y: clamp(32px, 7vh, 88px);
  --ab1-mid-fs: clamp(18px, 2.2vw, 28px);
}

.ab1 {
  position: relative;
  z-index: 30;
  background: var(--brand-orange);
  padding: 0;
  margin: 0;
}

.ab1 .wrap {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-wrap: nowrap;
}

.ab1-left {
  flex: 0 0 calc(100% - var(--ab1-img-pct));
  display: grid;
  align-content: center;
  padding: var(--ab1-pad-y) var(--ab1-pad-x);
}
.ab1-stack {
  display: grid;
  gap: clamp(12px, 2vh, 18px);
  max-width: 760px;
}
.ab1-title {
  margin: 0;
  color: #fff;
  font: 800 var(--ab1-title-size) / 1.15 system-ui, -apple-system, Segoe UI,
    Roboto, sans-serif;
}
.ab1-text {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 19px;
  font-weight: 400;
  line-height: 32px;
  color: #fff;
}
.ab1-text p {
  margin: 0 0 1em 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}
.ab1-text p:last-child {
  margin-bottom: 0;
}

.ab1-figure {
  flex: 0 0 var(--ab1-img-pct);
  margin: 0;
  overflow: hidden;
}
.ab1-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab1-mid {
  background: #fff;
  padding: var(--ab1-mid-pad-y) var(--ab1-pad-x);
  display: flex;
  justify-content: center;
}
.ab1-mid-inner {
  max-width: var(--ab1-mid-max);
}
.ab1-mid p {
  margin: 0 0 1em 0 !important;
  font-size: 20px !important;
  line-height: 34px !important;
  color: var(--brand-navy) !important;
  letter-spacing: 0.1px;
  text-wrap: balance;
}
.ab1-mid p:last-child {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  :root {
    --ab1-mid-max: 92ch;
  }
}
@media (max-width: 991.98px) {
  .ab1 .wrap {
    flex-direction: column;
  }
  .ab1-figure {
    order: 1;
    height: 52svh;
  }
  .ab1-left {
    order: 2;
    padding: clamp(20px, 6vw, 28px) clamp(16px, 5vw, 24px);
  }
}

/* Section 2 */
:root {
  --ab2-pad-y: clamp(40px, 8vh, 100px);
  --ab2-side-pad: clamp(16px, 3vw, 36px);
  --ab2-gap: clamp(18px, 2.5vw, 36px);
  --ab2-title-size: clamp(18px, 2vw, 28px);
  --ab2-text-size: clamp(14px, 1.2vw, 18px);
}

.ab2 {
  background: #fff;
  position: relative;
  z-index: 30;
  padding: var(--ab2-pad-y) 0;
}
.ab2 .container-xxl {
  padding-inline: var(--ab2-side-pad);
}
.ab2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ab2-gap);
}
@media (max-width: 991.98px) {
  .ab2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .ab2-grid {
    grid-template-columns: 1fr;
  }
}

.ab2-item {
  display: grid;
  align-content: start;
  row-gap: clamp(10px, 1.6vh, 14px);
}

.ab2-title {
  margin: 0;
  color: var(--brand-navy);
  font: 800 var(--ab2-title-size) / 1.15 system-ui, -apple-system, Segoe UI,
    Roboto, sans-serif;
}

.ab2-thumb {
  background: var(--brand-navy);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.ab2-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab2-excerpt {
  margin: 0;
  font-size: var(--ab2-text-size);
  line-height: 1.65;
  color: #222;
}

.ab2-more {
  justify-self: start;
  margin-top: 6px;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-orange);
}
.ab2-more:hover {
  text-decoration: underline;
}

/* Section 3 */
:root {
  --ab3-bg: #f9f7f4;
  --ab3-pad-y: clamp(40px, 8vh, 100px);
  --ab3-side-pad: clamp(16px, 3vw, 36px);
  --ab3-gap: clamp(18px, 2.5vw, 36px);
  --ab3-title-size: clamp(18px, 2vw, 28px);
  --ab3-text-size: clamp(14px, 1.2vw, 18px);
}

.ab3 {
  background: var(--ab3-bg);
  position: relative;
  z-index: 30;
  padding: var(--ab3-pad-y) 0;
}
.ab3 .container-xxl {
  padding-inline: var(--ab3-side-pad);
}

.ab3-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ab3-gap);
}

@media (max-width: 767.98px) {
  .ab3-grid {
    grid-template-columns: 1fr;
  }
}

.ab3-item {
  display: grid;
  align-content: start;
  row-gap: clamp(10px, 1.6vh, 14px);
}

.ab3-title {
  margin: 0;
  color: #0f1438;
  font: 800 var(--ab3-title-size) / 1.15 system-ui, -apple-system, Segoe UI,
    Roboto, sans-serif;
}

.ab3-thumb {
  background: var(--brand-navy);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.ab3-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab3-excerpt {
  margin: 0;
  font-size: var(--ab3-text-size);
  line-height: 1.65;
  color: #222;
}

.ab3-more {
  justify-self: start;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-orange);
}
.ab3-more:hover {
  text-decoration: underline;
}

.ab3-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ab3-cta .ab3-more {
  margin-top: 0;
}

/* Section 4 */
:root {
  --ab4-pad-y: clamp(40px, 8vh, 100px);
  --ab4-side-pad: clamp(16px, 3vw, 36px);
  --ab4-gap: clamp(18px, 2.5vw, 36px);

  --ab4a-title-size: clamp(22px, 2.6vw, 36px);
  --ab4a-text-size: clamp(15px, 1.2vw, 18px);

  --ab4b-title-size: clamp(18px, 2vw, 28px);
  --ab4b-text-size: clamp(14px, 1.2vw, 18px);
}

.ab4 {
  background: #fff;
  position: relative;
  z-index: 30;
  padding: var(--ab4-pad-y) 0;
}
.ab4 .container-xxl {
  padding-inline: var(--ab4-side-pad);
}

.ab4a {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ab4-gap);
  align-items: center;
}
@media (max-width: 991.98px) {
  .ab4a {
    grid-template-columns: 1fr;
  }
}

.ab4a-left {
  display: grid;
  row-gap: clamp(10px, 2vh, 16px);
  align-content: start;
  max-width: 720px;
}
.ab4a-title {
  margin: 0;
  color: #0f1438;
  font: 800 var(--ab4a-title-size) / 1.15 system-ui, -apple-system, Segoe UI,
    Roboto, sans-serif;
}
.ab4a-text {
  margin: 0;
  font-size: var(--ab4a-text-size);
  line-height: 1.7;
}

.ab4a-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.ab4a-more {
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-orange);
}
.ab4a-more:hover {
  text-decoration: underline;
}

.ab4a-figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--brand-navy);
}
.ab4a-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab4-sep {
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin-block: clamp(28px, 6vh, 56px);
}

.ab4b {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ab4-gap);
}
@media (max-width: 767.98px) {
  .ab4b {
    grid-template-columns: 1fr;
  }
}

.ab4b-item {
  display: grid;
  align-content: start;
  row-gap: clamp(10px, 1.6vh, 14px);
}
.ab4b-title {
  margin: 0;
  color: var(--brand-navy);
  font: 800 var(--ab4b-title-size) / 1.15 system-ui, -apple-system, Segoe UI,
    Roboto, sans-serif;
}
.ab4b-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--brand-navy);
}
.ab4b-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ab4b-excerpt {
  margin: 0;
  font-size: var(--ab4b-text-size);
  line-height: 1.65;
  color: #222;
}
.ab4b-more {
  justify-self: start;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-orange);
}
.ab4b-more:hover {
  text-decoration: underline;
}
