.about-template {
  --about-primary: var(--color-main, var(--color-primary, #b07a2c));
  --about-text: #24272c;
  --about-muted: #687182;
  --about-border: rgba(17, 24, 39, 0.12);
  --about-soft: #f7f4ef;
  color: var(--about-text);
}

.about-template * {
  box-sizing: border-box;
}

.about-template img {
  display: block;
  max-width: 100%;
  height: auto;
}

.about-template-heading > h1,
.about-layout-main > h1,
.about-company-copy > h1,
.about-stats-hero h1,
.about-alternating-body > h2,
.about-section-title > h2,
.about-team-card h3,
.about-newsletter h2 {
  color: var(--about-text);
  letter-spacing: 0;
}

.about-template-heading > h1,
.about-layout-main > h1,
.about-company-copy > h1,
.about-stats-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.about-alternating-body > h2,
.about-section-title > h2,
.about-newsletter h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.28;
  font-weight: 800;
}

.about-team-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.about-template-heading {
  max-width: 940px;
  margin: 0 auto 32px;
  text-align: center;
}

.about-template-lead,
.about-template-content {
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.75;
}

.about-template-heading .about-template-lead {
  text-align: revert;
}

.about-template-content p,
.about-template-content li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.75;
}

.about-template-content table,
.about-template-content iframe,
.about-template-content video {
  max-width: 100%;
}

.about-template-content img {
  max-width: 100%;
  height: auto;
}

.about-share {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--about-border);
}

.about-main-photo,
.about-company-photo,
.about-alternating-photo,
.about-team-card figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f5f7;
}

.about-main-photo img,
.about-company-photo img,
.about-alternating-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-section-title {
  margin-bottom: 24px;
  text-align: center;
}

.about-section-title h2 {
  margin-bottom: 0;
  text-transform: uppercase;
}

.about-template-1 .about-template-intro {
  max-width: 980px;
  margin: 0 auto 34px;
}

.about-alternating {
  display: grid;
  gap: 28px;
}

.about-alternating-item {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  align-items: center;
  gap: 32px;
  padding: 24px;
  border: 1px solid var(--about-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.about-alternating-item:nth-child(even) .about-alternating-photo {
  order: 2;
}

.about-template-2 .about-layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.about-template-2 .about-layout-main {
  min-width: 0;
}

.about-template-2 .about-main-photo {
  margin-bottom: 22px;
}

.about-sidebar-card {
  padding: 20px;
  border: 1px solid var(--about-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.about-sidebar-title {
  margin-bottom: 14px;
  color: var(--about-text);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-page-menu {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-page-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--about-border);
  color: var(--about-muted);
  font-weight: 600;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.about-page-menu a:hover,
.about-page-menu a.active {
  padding-left: 8px;
  color: var(--about-primary);
}

.about-template-3 {
  max-width: 980px;
  margin: 0 auto;
}

.about-template-3-title {
  margin-bottom: 24px;
  text-align: center;
}

.about-template-3-title h1 {
  margin: 0;
  color: var(--about-text);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.about-template-3 .about-template-content p,
.about-template-3 .about-template-content li {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.about-template-3 .about-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 0;
  border-top: 0;
}

.about-template-3 .about-share b {
  margin: 0;
}

.about-template-4 {
  position: relative;
  isolation: isolate;
  padding: 20px 0 8px;
  overflow: hidden;
}

.about-template-4 .about4-shape {
  position: absolute;
  z-index: -1;
  top: -84px;
  left: -34%;
  width: 108%;
  height: 820px;
  border-radius: 0 52% 52% 0;
  background: #e7e4e3;
  pointer-events: none;
}

.about-template-4 .about4-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(38px, 5vw, 86px);
}

.about-template-4 .about4-hero-media,
.about-template-4 .about4-hero-copy {
  min-width: 0;
}

.about-template-4 .about4-cover {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #ddd8d5;
}

.about-template-4 .about4-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 900 / 680;
  object-fit: cover;
}

.about-template-4 .about4-cover-empty img {
  opacity: .55;
}

.about-template-4 .about4-hero-copy {
  padding-right: clamp(6px, 2vw, 24px);
}

.about-template-4 .about4-hero-copy > h1 {
  margin: 0 0 24px;
  color: #2d2a29;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: none;
}

.about-template-4 .about4-intro {
  position: relative;
  max-width: 650px;
  padding-left: 24px;
  border-left: 1px solid rgba(45, 42, 41, .75);
  color: #363231;
  font-size: 15px;
  line-height: 1.72;
}

.about-template-4 .about4-intro > :first-child {
  margin-top: 0;
}

.about-template-4 .about4-intro > :last-child {
  margin-bottom: 0;
}

.about-template-4 .about4-intro p,
.about-template-4 .about4-intro li {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.about-template-4 .about4-intro a,
.about-template-4 .about4-story-content a {
  color: var(--about-primary);
}

.about-template-4 .about4-story {
  position: relative;
  margin-top: clamp(58px, 7vw, 96px);
}

.about-template-4 .about4-story-content {
  color: #353130;
  column-count: 2;
  column-gap: clamp(34px, 5vw, 72px);
  column-fill: balance;
  font-size: 15px;
  line-height: 1.68;
}

.about-template-4 .about4-story-content > h2,
.about-template-4 .about4-story-content > h3 {
  column-span: all;
  margin: 0 0 24px;
  color: #2d2a29;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: none;
}

.about-template-4 .about4-story-content > h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.about-template-4 .about4-story-content p,
.about-template-4 .about4-story-content li {
  break-inside: avoid;
  margin-top: 0;
  margin-bottom: 14px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.about-template-4 .about4-story-content ul,
.about-template-4 .about4-story-content ol {
  margin-top: 0;
  padding-left: 20px;
}

.about-template-4 .about4-story-content img,
.about-template-4 .about4-story-content table,
.about-template-4 .about4-story-content iframe,
.about-template-4 .about4-story-content video {
  column-span: all;
  max-width: 100%;
}

.about-template-4 .about4-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(42px, 5vw, 70px);
}

.about-template-4 .about4-gallery-item {
  margin: 0;
  overflow: hidden;
  background: #ebe8e6;
}

.about-template-4 .about4-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .45s ease;
}

@media (hover: hover) {
  .about-template-4 .about4-gallery-item:hover img {
    transform: scale(1.025);
  }
}

.about-template-5 .about-stats-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, var(--about-soft) 100%);
}

.about-eyebrow {
  margin: 0 0 10px;
  color: var(--about-primary);
  font-weight: 800;
  text-transform: uppercase;
}

.about-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-counter-card {
  padding: 20px;
  border: 1px solid var(--about-border);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.about-counter-card strong {
  display: block;
  color: var(--about-primary);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.about-counter-card span {
  display: block;
  margin-top: 8px;
  color: var(--about-muted);
  font-weight: 700;
}

.about-testimonial-section,
.about-newsletter {
  margin-top: 42px;
}

.about-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-testimonial-card {
  padding: 22px;
  border: 1px solid var(--about-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.about-testimonial-card img {
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  border-radius: 50%;
  object-fit: cover;
}

.about-testimonial-card p {
  margin-bottom: 14px;
  color: var(--about-muted);
  font-size: 15px;
  line-height: 1.7;
}

.about-testimonial-card strong {
  color: var(--about-text);
}

.about-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: 22px;
  align-items: center;
  padding: 26px;
  border-radius: 16px;
  background: var(--about-text);
  color: #fff;
}

.about-newsletter h2,
.about-newsletter p {
  color: #fff;
}

.about-newsletter h2 {
  margin: 0;
}

.about-newsletter p {
  margin: 8px 0 0;
  opacity: 0.78;
}

.about-newsletter-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
}

.about-newsletter-form .form-control,
.about-newsletter-form .btn {
  min-height: 44px;
}


/* Minh Phat - nội dung Giới thiệu: tiêu đề không hòa vào nền shape sáng. */
.about-template-4 .about4-story-content > h2,
.about-template-4 .about4-story-content > h3,
.about-template-4 .about4-story-content > h2 a,
.about-template-4 .about4-story-content > h3 a {
  color: #003e74 !important;
}

.about-template-4 .about4-story-content > h2 a:hover,
.about-template-4 .about4-story-content > h3 a:hover {
  color: #002d56 !important;
}
