/* =========================================================
   About Us — scoped to .about-page (supports light + dark)
   ========================================================= */
.about-page {
  /* light tokens */
  --ab-bg: #fff;
  --ab-surface: #fff;
  --ab-surface-2: #f6f8fb;
  --ab-text: #1f2937;
  --ab-muted: #6b7280;
  --ab-border: #e5e7eb;
  --ab-accent: #a51c36;
  --ab-blue: #1976d2;
  --ab-gold: #ffd700;
  --ab-shadow: 0 10px 30px rgba(16, 24, 40, .06);

  color: var(--ab-text);
}

/* dark tokens */
.theme-dark .about-page {
  --ab-bg: #0b1220;
  --ab-surface: #0f172a;
  --ab-surface-2: #111a2f;
  --ab-text: #e5e7eb;
  --ab-muted: #94a3b8;
  --ab-border: #1f2a44;
  --ab-blue: #60a5fa;
  --ab-gold: #facc15;
  --ab-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

/* Layout */

.about-page .atp-main-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 160px);
}

/* Surfaces */
.about-page .atp-left-content,
.about-page .atp-right-sidebar,
.about-page .atp-technical-section,
.about-page .atp-platform-comparison,
.about-page .atp-platform-achievement,
.about-page .atp-graph-reference {
  background: var(--ab-surface) !important;
  color: var(--ab-text) !important;
  border: 1px solid var(--ab-border) !important;
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
}

/* Left / Right columns */
.about-page .atp-left-content {
  flex: 2;
  padding: 20px 15px 30px;
  border: none;
  box-shadow: none;
  background: var(--ab-bg) !important;
}

.about-page .atp-right-sidebar {
  width: 360px;
  max-width: 100%;
  padding: 20px 15px;
  border-left: 1px solid var(--ab-border) !important;
  background: var(--ab-bg) !important;
}

/* Full-width wrapper + technical section (force against global section overrides) */
.about-page .full-width-container {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--ab-bg) !important;
}

.about-page .atp-technical-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 15px;
  background: var(--ab-surface) !important;
  color: var(--ab-text) !important;
  border: none;
}

/* Headings */
.about-page .atp-main-title,
.about-page .atp-project-title,
.about-page .atp-subtitle,
.about-page .atp-section-title,
.about-page .atp-sale-let-title,
.about-page .atp-foreword-title,
.about-page .atp-appraisal-title,
.about-page .atp-platform-title {
  color: var(--ab-accent);
  margin: 0 0;
  line-height: 1.25;
  font-weight: 800;
}

.about-page .atp-main-title {
  font-size: 36px;
}

.about-page .atp-main-title.history {
  margin-top: 30px;
}

.about-page .atp-project-title {
  font-size: 28px;
  margin: 15px 0;
}

.about-page .atp-subtitle {
  font-size: 24px;
  margin: 15px 0;
}

.about-page .atp-foreword-title {
  font-size: 20px;
  margin: 25px 0 15px;
}

.about-page .atp-platform-title {
  font-size: 16px;
  margin: 25px 0 15px;
  font-weight: 700;
}

.about-page .atp-sale-let-title.enhanced {
  font-size: 22px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ab-accent);
  margin: 35px 0 20px;
}

.about-page .atp-section-title {
  color: black !important;
  text-align: left;
  font-size: 22px;
}

.about-page .atp-description,
.about-page .atp-about-text {
  color: var(--ab-text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 16px;
}

.about-page .atp-description.justified,
.about-page .atp-about-text {
  text-align: justify;
}

/* Badges / callouts */
.about-page .atp-revolutionary {
  display: block;
  margin: 25px auto;
  text-align: center;
  font-weight: 800;
  letter-spacing: .5px;
  max-width: 240px;
  color: #fff;
  background: var(--ab-accent);
  padding: 10px 24px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(176, 30, 66, .3);
}

.about-page .atp-red-banner {
  background: var(--ab-accent);
  color: #fff;
  text-align: center;
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
}

.about-page .atp-red-banner.enhanced {
  margin: 35px 0;
  box-shadow: var(--ab-shadow);
}

.about-page .atp-home-search-box {
  background: var(--ab-blue);
  color: #fff;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.about-page .atp-yellow-box {
  background: var(--ab-gold);
  color: #333;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  border-radius: 8px;
}

.about-page .atp-sydney-box {
  background: #333;
  color: var(--ab-gold);
  padding: 15px;
  text-align: center;
  border-radius: 8px;
}

.theme-dark .about-page .atp-sydney-box {
  background: #0f172a;
  color: var(--ab-gold);
}

/* Media */
.about-page .atp-property-icons-container {
  text-align: center;
  margin: 30px 0;
}

.about-page .atp-property-icons-container img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.about-page .sidebar-image-container {
  text-align: center;
  margin-bottom: 25px;
}

.about-page .sidebar-image {
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.about-page .atp-banner-image-container {
  margin: 35px 0;
  text-align: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
  transition: transform .3s, box-shadow .3s;
}

.about-page .atp-banner-image-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .2);
}

.about-page .atp-banner-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s;
}

.about-page .atp-banner-image:hover {
  transform: scale(1.03);
}

/* Graph / platform */
.about-page .atp-graph-reference,
.about-page .atp-platform-comparison,
.about-page .atp-platform-achievement {
  padding: 20px;
  border-left: 4px solid var(--ab-accent);
}

.about-page .atp-platform-achievement {
  border-right: 4px solid var(--ab-accent);
}

.about-page .atp-graph-image,
.about-page .atp-platform-image,
.about-page .atp-model-image {
  max-width: auto;
  height: 400px;
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
  display: block;
  margin: 10px auto;
}

.about-page .graph-source,
.about-page .image-caption {
  color: var(--ab-muted);
  font-size: 14px;
  text-align: center;
}

.about-page .graph-source {
  font-size: 12px;
  font-style: italic;
  text-align: right;
}

/* Lists */
.about-page .atp-market-list {
  margin: 15px 0 25px 20px;
  padding-left: 15px;
  color: var(--ab-text);
}

.about-page .atp-market-list li {
  margin-bottom: 8px;
}

.about-page .atp-market-list li::before {
  content: "•";
  color: var(--ab-accent);
  font-weight: 700;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Sidebar widget box */
.about-page .free-property-selling-widget {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 10px;
}

/* Links */
.about-page a.atp-graph-link {
  color: var(--ab-accent);
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding-right: 22px;
}

.about-page a.atp-graph-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width:992px) {
  .about-page .atp-main-container {
    grid-template-columns: 1fr;
  }

  .about-page .atp-right-sidebar {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--ab-border) !important;
  }

  .about-page .atp-graph-image,
  .about-page .atp-platform-image,
  .about-page .atp-model-image {
    max-width: 100%;
  }
}