.page-about-our-story {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

.page-about-our-story__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about-our-story__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Minimal top padding, body handles header offset */
  margin-bottom: 40px;
  background-color: #17191F;
}

.page-about-our-story__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-about-our-story__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/9; /* Default aspect ratio */
}

.page-about-our-story__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
}

.page-about-our-story__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FF8C1A;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.6);
}

.page-about-our-story__intro-description {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-about-our-story__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-about-our-story__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-about-our-story__section {
  padding: 40px 0;
  margin-bottom: 30px;
  background-color: #17191F;
  border-radius: 10px;
}

.page-about-our-story__section:nth-of-type(odd) {
  background-color: #0D0E12;
}

.page-about-our-story__section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.page-about-our-story__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFA53A;
  border-radius: 2px;
}

.page-about-our-story__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF3E6;
  padding: 0 15px;
}

.page-about-our-story__image-text-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 15px;
}

.page-about-our-story__image-wrapper {
  width: 100%;
}

.page-about-our-story__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about-our-story__text-content {
  width: 100%;
}

.page-about-our-story__sub-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about-our-story__list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-about-our-story__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-about-our-story__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FF8C1A;
  font-weight: bold;
}

.page-about-our-story__learn-more-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #FF8C1A;
  color: #FFF3E6;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-about-our-story__learn-more-button:hover {
  background-color: #FFA53A;
}

.page-about-our-story__mission-vision-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 15px;
}

.page-about-our-story__card {
  background-color: #17191F;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
}

.page-about-our-story__card-title {
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  color: #FF8C1A;
  margin-bottom: 15px;
  text-align: center;
}

.page-about-our-story__card-description {
  font-size: 0.95rem;
  color: #FFF3E6;
  text-align: justify;
}

.page-about-our-story__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
  padding: 0 15px;
}

.page-about-our-story__value-item {
  background-color: #17191F;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #A84F0C;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about-our-story__value-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  width: 200px; /* Set display size for consistency */
  height: 200px; /* Set display size for consistency */
}

.page-about-our-story__value-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-about-our-story__value-description {
  font-size: 0.9rem;
  color: #FFF3E6;
}

.page-about-our-story__responsible-gaming {
  text-align: center;
}

/* Responsive adjustments */
@media (min-width: 549px) {
  .page-about-our-story__paragraph {
    padding: 0 30px;
  }
  .page-about-our-story__image-text-grid {
    flex-direction: row;
    align-items: flex-start;
  }
  .page-about-our-story__image-wrapper,
  .page-about-our-story__text-content {
    flex: 1;
  }
  .page-about-our-story__image-wrapper {
    max-width: 45%;
  }
  .page-about-our-story__text-content {
    max-width: 50%;
  }
}

@media (min-width: 849px) {
  .page-about-our-story__hero-section {
    padding-top: 20px;
  }
  .page-about-our-story__hero-content {
    padding: 40px 20px;
  }
  .page-about-our-story__image-text-grid {
    flex-direction: row;
  }
  .page-about-our-story__mission-vision-grid {
    flex-direction: row;
  }
  .page-about-our-story__card {
    flex: 1;
  }
  .page-about-our-story__paragraph {
    padding: 0 60px;
  }
}

/* Mobile specific styles for images */
@media (max-width: 768px) {
  .page-about-our-story img {
    max-width: 100%;
    height: auto;
  }
  .page-about-our-story__value-icon {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
  }
  .page-about-our-story__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about-our-story__section-title::after {
    width: 60px;
  }
}