/* About page — scoped under .about-page */

.about-page {
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
}

/* Hero block: image + breadcrumb + title (same pattern as testimonials/contacts) */
.about-page-links {
  background-size: cover;
  background-position: center;
}
.about-page-links .breadcrumbs-custom-title {
  font-size: 1.75rem;
}
@media (min-width: 768px) {
  .about-page-links {
    min-height: 280px;
  }
}

.about-page-main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.about-page .hero-section {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-page .hero-slider {
  position: relative;
  min-height: 320px;
}

.about-page .hero-slider-inner {
  position: relative;
  min-height: 320px;
}

.about-page .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.about-page .hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.about-page .hero-image {
  width: 40%;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.about-page .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  width: 60%;
}

.about-page .hero-text p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.about-page .hero-text p:last-child {
  margin-bottom: 0;
}

.about-page .hero-slider .pagination-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  background-color: #fff;
  border-radius: 0 0 8px 8px;
  position: relative;
  z-index: 2;
}

.about-page .pagination-controls button {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  font-size: 1rem;
}

.about-page .pagination-controls button:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.about-page .page-number {
  font-weight: bold;
  color: #333;
}

.about-page .history-section {
  margin-top: 4rem;
}

.about-page .history-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #222;
}

.about-page .timeline {
  position: relative;
}

.about-page .timeline-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-left: 3px solid #e6ebf2;
  margin-left: 1.5rem;
  padding-left: 1rem;
}

.about-page .date-marker {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-right: 0.5rem;
}

.about-page .timeline-date {
  font-weight: bold;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.about-page .timeline-item p {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .about-page .hero-slide {
    flex-direction: column;
  }

  .about-page .hero-image,
  .about-page .hero-content {
    width: 100%;
  }

  .about-page .hero-content {
    padding: 1.5rem;
  }

  .about-page .timeline-item {
    padding-left: 1.5rem;
    border-left: none;
    position: relative;
  }

  .about-page .date-marker {
    margin-right: 0;
    position: absolute;
    left: -30px;
    top: 1.5rem;
  }
}
