/* Base layout and typography to replace removed Google styles */
:root {
  --atl-font-heading: "Merriweather", "Arial", sans-serif;
  --atl-font-body: "Merriweather", "Arial", sans-serif;

  /* Text */
  --atl-text-color: #0f172a;
  --atl-muted: #4b5563;
  --atl-max-width: 1200px;

  /* Brand green chính (giữ nguyên họ màu hiện có) */
  --atl-color-primary: #1f6b47;
  --atl-color-primary-strong: #145034;
  --atl-color-accent: #28a067;

  /* Nền xanh nhạt */
  --atl-color-primary-soft: #e6f2ea;
  --atl-color-primary-soft-alt: #f7fbf8;

  /* Nền tổng thể & surface */
  --atl-color-page-bg-top: #eef8f2;
  --atl-color-page-bg-bottom: #ffffff;

  --atl-color-surface: #ffffff;
  --atl-color-surface-alt: #f9fbf9;

  /* Viền & shadow */
  --atl-color-border-subtle: #e1ece5;
  --atl-color-border-strong: #d8ead6;
}

* {box-sizing: border-box;}
body {
  margin: 0;
  padding: 0;
  font-family: var(--atl-font-body);
  color: var(--atl-text-color);
  line-height: 1.7;
  background: linear-gradient(
    180deg,
    var(--atl-color-page-bg-top) 0%,
    var(--atl-color-page-bg-bottom) 40%
  );
}

/* Center all top-level sections (except shared nav/footer) */
body > :not(.atl-nav-wrap):not(.atl-footer) {
  max-width: var(--atl-max-width);
  margin: 0 auto;
  padding: 32px 16px 28px;
}

main.atl-container {
  background: var(--atl-color-surface);
  border: 1px solid var(--atl-color-border-strong);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(31, 107, 71, 0.12);
  padding: 28px 18px 32px;
}

/* Anchor list at top of some pages */
main > a[href*="#"] {
  display: inline-block;
  margin: 6px 8px 10px 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--atl-color-primary-soft);
  color: var(--atl-text-color);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--atl-color-border-strong);
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
main > a[href*="#"]:hover {
  background: #dceee3;
  color: var(--atl-text-color);
  transform: translateY(-1px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--atl-font-heading);
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
  line-height: 1.25;
  scroll-margin-top: 96px;
}

h1 {font-size: clamp(28px, 3.2vw, 38px);} 
h2 {font-size: clamp(22px, 2.6vw, 26px); border-left: 4px solid var(--atl-color-primary); padding-left: 10px; margin: 32px 0 12px;}
h3 {font-size: clamp(18px, 2.1vw, 20px);} 

p {margin: 0 0 14px; font-size: 16px;}
ul, ol {margin: 0 0 16px 20px; padding: 0; font-size: 16px;}
li {margin: 4px 0;}

.atl-lead {
  font-size: 17px;
  color: var(--atl-text-color);
  margin: 4px 0 14px;
  max-width: 780px;
}

.atl-kicker {
  display: inline-block;
  padding: 6px 12px;
  background: var(--atl-color-primary-soft);
  color: var(--atl-color-primary);
  font-weight: 800;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 6px;
}

img {max-width: 100%; height: auto; display: block; margin: 0 0 24px; border-radius: 14px; box-shadow: 0 10px 30px rgba(15,23,42,0.12);} 
figure {margin: 0 0 16px;}
figure img {margin-left: auto; margin-right: auto;}
figure figcaption {text-align: center;}
iframe {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin: 12px 0;
  border: 0;
}

hr {border: 0; border-top: 1px solid var(--atl-color-border-subtle); margin: 20px 0;}

a {color: var(--atl-text-color);}
a:hover {text-decoration: underline;}

/* Cards/sections from Google Sites often use these wrappers; give them breathing room */
.yaqOZd, .VICjCf, .jXK9ad, .tyJCtd, .baZpAe, .mGzaTb, .t3iYD, .CobnVe {
  max-width: var(--atl-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Tables */
table {width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px;}
th, td {border: 1px solid var(--atl-color-border-subtle); padding: 8px; text-align: left;}

/* Buttons that may remain from inline styles */
button, .btn, .U26fgb {
  font-family: var(--atl-font-body);
}

@media (max-width: 768px) {
  body > :not(.atl-nav-wrap):not(.atl-footer) {padding: 16px 14px;}
  h1 {font-size: 28px;}
  h2 {font-size: 24px;}
  h3 {font-size: 20px;}
}


/* Suggestion grid for related links (with thumbnail) */
.atl-suggest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 18px 0 18px;
  padding: 0;
  max-width: 100%;
}
.atl-suggest-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px;
  background: #f7fbf8;
  color: var(--atl-text-color);
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid var(--atl-color-border-subtle);
  box-shadow: none;
  transition: background 0.18s ease, transform 0.12s ease, border-color 0.18s ease;
}
.atl-suggest-card:hover {
  background: #eef4ef;
  border-color: var(--atl-color-border-strong);
  transform: translateY(-2px);
  color: var(--atl-text-color);
}
.atl-suggest-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  border: 1px solid var(--atl-color-border-subtle);
  background-color: #eef4ef;
  background-size: cover;
  background-position: center;
  flex: 0 0 60px;
}
.atl-suggest-title {
  display: block;
  line-height: 1.45;
  font-weight: 700;
}


.atl-fee-table {
  background: var(--atl-color-surface-alt);
  border: 1px solid var(--atl-color-border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.atl-fee-table th,
.atl-fee-table td {
  border: 1px solid var(--atl-color-border-subtle);
  padding: 10px;
  vertical-align: top;
}

.atl-fee-table th {
  background: var(--atl-color-primary-soft-alt);
  font-weight: 700;
}


.atl-cta-btn {
  display: inline-block;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--atl-color-accent), var(--atl-color-primary));
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(31, 107, 71, 0.26);
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.atl-cta-btn:hover {
  background: linear-gradient(135deg, #2eb776, var(--atl-color-primary-strong));
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(31, 107, 71, 0.32);
}


/* Homepage layout */
.atl-section {margin: 32px 0;}
.atl-section-alt {
  background: var(--atl-color-primary-soft-alt);
  border: 1px solid var(--atl-color-border-strong);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 10px 26px rgba(31, 107, 71, 0.06);
}
.atl-grid {display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));}
.atl-card {
  background: var(--atl-color-surface);
  border: 1px solid var(--atl-color-border-subtle);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(31,107,71,0.06);
  transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.atl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31,107,71,0.08);
  border-color: var(--atl-color-border-strong);
}
.atl-card h3 {margin-bottom: 10px;}
.atl-card p:last-child {margin-bottom: 0;}

.atl-cta-group {display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 14px 0 10px;}
.atl-ghost-btn {display: inline-block; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--atl-color-primary); color: var(--atl-color-primary); text-decoration: none; font-weight: 700; background: rgba(230, 242, 234, 0.4); transition: background 0.18s ease, color 0.12s ease, box-shadow 0.18s ease;}
.atl-ghost-btn:hover {background: var(--atl-color-primary-soft); box-shadow: 0 4px 14px rgba(31,107,71,0.12);}
.atl-cta-link {display: inline-block; margin-top: 6px; font-weight: 700; color: var(--atl-color-primary); text-decoration: none;}
.atl-cta-link:hover {text-decoration: underline;}
.atl-note {font-size: 14px; color: #475467; margin-top: 6px;}

.atl-hero {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  padding: 32px 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 52%),
    linear-gradient(135deg, #f4fbf7 0%, #e0f2e6 45%, #d2ebdd 100%);
  border: 1px solid rgba(31, 107, 71, 0.16);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}
.atl-hero-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}
.atl-hero h1 {margin: 0;}
.atl-hero .atl-kicker {margin: 0;}
.atl-hero .atl-lead {margin: 0;}
.atl-hero-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--atl-text-color);
}
.atl-hero-list li {font-weight: 600; margin: 6px 0;}
.atl-hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.atl-hero-media iframe {
  width: 100%;
  max-width: 680px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15,23,42,0.10);
  border: 1px solid var(--atl-color-border-subtle);
}

.atl-hero .atl-cta-group {margin: 4px 0 0;}
.atl-hero .atl-cta-btn {
  padding: 15px 24px;
  font-size: 16px;
  box-shadow: 0 10px 22px rgba(31, 107, 71, 0.18);
}
.atl-hero .atl-ghost-btn {
  padding: 11px 15px;
  font-size: 15px;
  background: var(--atl-color-surface-alt);
  box-shadow: none;
}

.atl-gallery {align-items: stretch;}
.atl-gallery figure {
  margin: 0;
  background: var(--atl-color-surface);
  border: 1px solid var(--atl-color-border-subtle);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(31,107,71,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.atl-gallery img {margin: 0; border-radius: 10px; box-shadow: none;}
.atl-gallery figcaption {margin-top: auto;}

@media (max-width: 768px) {
  .atl-hero {grid-template-columns: 1fr;}
  .atl-cta-group {flex-direction: column; align-items: stretch;}
  .atl-cta-group a {text-align: center;}
}


/* Accordion list for blog index */
.atl-accordion {
  border-top: 1px solid var(--atl-color-border-subtle);
  padding: 14px 0;
}
.atl-accordion:last-of-type {
  border-bottom: 1px solid var(--atl-color-border-subtle);
}
.atl-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}
.atl-accordion summary::-webkit-details-marker {
  display: none;
}
.atl-acc-title {
  font-size: 17px;
}
.atl-acc-chevron {
  font-size: 14px;
  color: #6b7280;
  margin-left: 12px;
  transition: transform 0.15s ease;
}
.atl-accordion[open] .atl-acc-chevron {
  transform: rotate(180deg);
}
.atl-acc-body {
  margin-top: 8px;
}
.atl-acc-body p {
  margin-bottom: 8px;
}
.atl-acc-body ul {
  margin-top: 0;
}

/* Home: section headers */
.atl-section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.atl-section-header h2 {
  margin: 0;
}
.atl-section-header .atl-lead {
  margin: 0;
  color: #2f3c45;
}

/* Home: hero */
.atl-container .atl-hero {
  gap: 32px;
  padding: 32px 30px;
}
.atl-hero-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.atl-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}
.atl-hero-highlights {
  margin-top: 20px;
}
.atl-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  background: rgba(11, 98, 65, 0.08);
  color: #0c5c3c;
}
.atl-stat-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.atl-stat-list li {
  background: var(--atl-color-surface);
  border: 1px solid var(--atl-color-border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--atl-text-color);
  box-shadow: 0 10px 20px rgba(31,107,71,0.06);
}
.atl-stat-list strong {
  display: block;
  color: var(--atl-color-primary);
  font-size: 18px;
  margin-bottom: 6px;
}
.atl-video-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 18px auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border-radius: 16px;
  border: 1px solid var(--atl-color-border-subtle);
  box-shadow: 0 14px 32px rgba(15,23,42,0.18);
}
.atl-video-frame iframe {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  box-shadow: none;
}
.atl-hero-media {
  gap: 12px;
}
.atl-hero .atl-note {
  margin: 0;
}
@media (min-width: 960px) {
  .atl-container .atl-hero {
    grid-template-columns: minmax(340px, 1.05fr) minmax(320px, 0.95fr);
  }
}

/* Embedded video defaults */
iframe[src*="youtube.com"],
iframe[src*="youtu.be"] {
  width: 100%;
  display: block;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border: 0;
}

/* Home: value props */
.atl-feature-grid {
  gap: 16px;
}
.atl-feature-card {
  position: relative;
  overflow: hidden;
}
.atl-feature-card::after {
  content: "";
  position: absolute;
  inset: 14px auto auto 14px;
  width: 62px;
  height: 62px;
  background: radial-gradient(circle at 30% 30%, rgba(31,107,71,0.14), rgba(255,255,255,0));
  border-radius: 18px;
  opacity: 0.6;
  pointer-events: none;
}

/* Home: program cards */
.atl-program-grid {
  gap: 16px;
}
.atl-program-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--atl-color-surface);
}
.atl-program-card h3 {
  margin-bottom: 6px;
}
.atl-program-card ul {
  margin-bottom: 6px;
}
.atl-program-card .atl-cta-link {
  margin-top: auto;
}
.atl-step-card {
  position: relative;
  padding-top: 18px;
  padding-left: 12px;
}
.atl-step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--atl-color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(20, 80, 52, 0.25);
}
.atl-step-card h3,
.atl-step-card p {
  padding-left: 44px;
}

/* Home: schedule */
.atl-schedule-grid {
  gap: 16px;
}
.atl-schedule-card p {
  margin-top: 8px;
}
.atl-schedule-card strong {
  color: var(--atl-color-primary);
}
.atl-schedule-cta {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 18px;
}

.atl-schedule-section,
.atl-contact-section {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.88) 0, rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #f5fbf8 0%, #e5f3ea 40%, #d5ebdf 100%);
  border-radius: 16px;
  padding: 26px 20px;
  border: 1px solid rgba(31, 107, 71, 0.14);
}

.atl-value-section,
.atl-testimonial-section {
  background: var(--atl-color-surface-alt);
  border-radius: 14px;
  padding: 22px 18px;
  border: 1px solid var(--atl-color-border-subtle);
}

/* Home: FAQ */
.atl-faq-grid {
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.atl-faq-card {
  position: relative;
  background: var(--atl-color-surface-alt);
  border: 1px dashed var(--atl-color-border-subtle);
}
.atl-faq-card::before {
  content: "?";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--atl-color-primary-soft);
  color: var(--atl-color-primary);
  font-weight: 800;
  font-size: 14px;
  opacity: 0.9;
}

/* Home: testimonials */
.atl-testimonial-grid {
  gap: 16px;
}
.atl-testimonial-card {
  position: relative;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, var(--atl-color-surface) 0%, var(--atl-color-surface-alt) 100%);
}
.atl-testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 38px;
  color: rgba(31,107,71,0.18);
  line-height: 1;
}
.atl-testimonial-card p {
  position: relative;
  z-index: 1;
}
.atl-testimonial-card .atl-note {
  font-weight: 700;
  color: var(--atl-text-color);
}

/* Home: blog list */
.atl-blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.atl-blog-grid .atl-blog-item {
  min-height: 120px;
  border-radius: 12px;
  border: 1px solid var(--atl-color-border-subtle);
  background: var(--atl-color-surface);
  box-shadow: 0 10px 22px rgba(31,107,71,0.08);
  padding: 14px 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-decoration: none;
  color: var(--atl-text-color);
}
.atl-blog-grid .atl-blog-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(15,23,42,0.1);
}
.atl-blog-grid .atl-blog-item::after {
  content: "→";
  color: var(--atl-color-primary);
  font-size: 16px;
  transition: transform 0.12s ease;
}
.atl-blog-grid .atl-blog-item:hover {
  background: var(--atl-color-primary-soft-alt);
  border-color: var(--atl-color-border-strong);
  box-shadow: 0 12px 24px rgba(31,107,71,0.12);
}
.atl-blog-grid .atl-blog-item::after { display: none; }

/* Home: contact & gallery */
.atl-contact-grid {
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.atl-contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.atl-contact-card .atl-cta-group {
  margin-top: 4px;
}
.atl-gallery-section .atl-gallery {
  gap: 16px;
}
.atl-gallery figure {
  min-height: 100%;
}

@media (max-width: 768px) {
  .atl-container .atl-hero {
    padding: 24px 18px;
  }
  .atl-stat-list {
    grid-template-columns: 1fr;
  }
  .atl-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Đăng ký học thử – tinh chỉnh nhẹ cho landing */

.atl-signup-hero {
  margin-bottom: 28px;
}

/* Card chứa form học thử */
.atl-form-section {
  margin-top: 24px;
}

.atl-form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--atl-color-surface);
  border: 1px solid var(--atl-color-border-subtle);
  box-shadow: 0 6px 16px rgba(31, 107, 71, 0.05);
  padding: 14px;
  border-radius: 10px;
}

.atl-form-note {
  font-size: 14px;
  color: var(--atl-muted);
  margin: 8px 0 10px;
}

.atl-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.atl-form-grid-2col {
  display: grid;
  gap: 10px 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .atl-form-grid-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.atl-fieldset {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atl-fieldset label {
  display: block;
  font-weight: 400;
  color: var(--atl-text);
  font-size: 14.5px;
  line-height: 1.35;
}

.atl-strong-label {
  font-weight: 700 !important;
}

.atl-fieldset input,
.atl-fieldset select,
.atl-fieldset textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 6px;
  font-size: 15px;
  border: 1px solid #d5dde7;
  border-radius: 10px;
  padding: 10px 12px;
}

/* Dropdown styling */
.atl-fieldset select {
  appearance: none;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23344e41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat right 12px center;
  padding-right: 38px;
  color: #1f2937;
}

.atl-fieldset select:focus {
  border-color: #2e734f;
  box-shadow: 0 0 0 3px rgba(46, 115, 79, 0.15);
  outline: none;
}

.atl-select {
  color: #111827;
}

.atl-select.atl-select-placeholder {
  color: #9ca3af;
}

.atl-fieldset select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.atl-label {
  font-weight: 700;
  color: var(--atl-text);
  font-size: 15px;
}

.atl-form-grid {
  display: grid;
  gap: 10px 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.atl-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  color: var(--atl-text);
  font-size: 15px;
}

.atl-form-grid input,
.atl-form-grid select,
.atl-form-grid textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--atl-color-border-strong);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.atl-radio-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atl-radio-option {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
  color: var(--atl-text);
  font-size: 14px;
  line-height: 1.3;
}

.atl-form input[type="radio"] {
  margin: 0;
}

.atl-form-grid textarea {
  resize: vertical;
}

.atl-form-wide {
  grid-column: 1 / -1;
}

.atl-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.atl-form-status {
  min-height: 18px;
  font-size: 14px;
  color: var(--atl-muted);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #f7f7f7;
}

.atl-form-status[data-state="success"] {
  color: #0f5c2f;
  background: #e7f5ec;
  border-color: #b5dec6;
}

.atl-form-status[data-state="error"] {
  color: #8b0b1a;
  background: #fdecee;
  border-color: #f2c3cc;
}

.atl-form-status[data-state="info"] {
  color: #1b4965;
  background: #e8f2fb;
  border-color: #c3dcf5;
}

/* Form container: flatten outer frame, keep single clean card */
.atl-form-section.atl-section-alt {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.atl-form-section .atl-form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--atl-color-surface);
  border: 1px solid var(--atl-color-border-subtle);
  box-shadow: 0 6px 16px rgba(31, 107, 71, 0.05);
  padding: 14px;
  border-radius: 10px;
}

/* Iframe form n8n – override default iframe 16:9 */
.atl-signup-iframe {
  width: 100%;
  max-width: 640px;
  height: 900px;
  margin: 0 auto 8px;
  display: block;
  border: 0;
  box-shadow: none;
}

@media (max-width: 600px) {
  .atl-signup-iframe {
    height: 1000px; /* form cao hơn trên mobile */
  }
}

/* FAQ & link strip on signup page */
.atl-faq-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #f2faf5;
  margin-bottom: 6px;
  font-size: 16px;
}
.atl-faq-more,
.atl-more-links-note {
  margin-top: 12px;
}
.atl-link-strip {
  gap: 14px;
}
.atl-link-card p {
  margin-bottom: 10px;
}
.atl-link-card h3 {
  margin-bottom: 6px;
}

/* FAQ page layout refinements */
.atl-faq-page .atl-faq-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .atl-faq-page .atl-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .atl-faq-page .atl-faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1120px;
    margin-inline: auto;
  }
}
.atl-faq-page .atl-faq-card {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
}
@media (min-width: 1100px) {
  .atl-faq-page .atl-faq-card {
    min-height: 220px;
  }
}
.atl-card-tight {
  padding: 12px 14px;
}
.atl-faq-page .atl-faq-section-inner {
  background: #f8fbf7;
  border-radius: 16px;
  padding: 20px 18px 24px;
}
.atl-faq-page .atl-faq-cta-main {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #e4f4ea;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  text-align: center;
}
.atl-note--subtle {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Blog layout & sidebar */
.atl-blog-layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 2rem;
}
.atl-blog-main > .atl-section,
.atl-blog-main > .atl-section-alt {
  margin-bottom: 2rem;
}
.atl-blog-sidebar {
  position: relative;
}
@media (min-width: 992px) {
  .atl-blog-sidebar {
    position: sticky;
    top: 6rem;
    align-self: flex-start;
  }
}
@media (max-width: 900px) {
  .atl-blog-layout {
    display: block;
  }
  .atl-blog-sidebar {
    margin-top: 2rem;
  }
}

/* Blog hero */
.atl-blog-hero .atl-grid {
  align-items: center;
  gap: 2rem;
}
.atl-hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
}
.atl-hero-meta {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}
.atl-hero-img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}
.atl-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Blog TOC */
.atl-blog-toc {
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.atl-blog-toc h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.atl-blog-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.95rem;
}
.atl-blog-toc a {
  text-decoration: none;
}

/* Center cards */
.atl-center-card {
  padding: 1.5rem 1.75rem;
}
.atl-center-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.atl-center-rank {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: rgba(38, 166, 91, 0.12);
  color: #26a65b;
}
.atl-center-tagline {
  font-size: 0.95rem;
  opacity: 0.85;
}
.atl-center-emoji {
  margin-left: auto;
  font-size: 1.4rem;
}
.atl-center-grid {
  gap: 1.5rem;
}
.atl-center-bullets {
  padding-left: 1.25rem;
  margin: 0 0 0.75rem;
}
.atl-center-summary p {
  margin-top: 0;
}
