/* Base styles for page-about */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  position: relative;
  text-align: center;
  background-color: #B71C1C; /* Background for hero section */
  padding-bottom: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1920px;
  margin: 0 auto;
  object-fit: cover;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 20px;
  color: #FFF5E1; /* Light text for hero content */
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFD86A; /* Gold color for main title */
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red text for primary button */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFCC66;
}

.page-about__btn-secondary {
  background: #B71C1C;
  color: #FFF5E1; /* Light text for secondary button */
  border: 2px solid #F2B544;
}

.page-about__btn-secondary:hover {
  background: #7A0E0E;
  box-shadow: 0 0 10px #F2B544;
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  color: #C91F17; /* Main brand color for titles */
}

.page-about__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__dark-section {
  background-color: #B71C1C; /* Background color for dark sections */
  color: #FFF5E1; /* Light text color for dark sections */
}

.page-about__section-title--light {
  color: #FFD86A; /* Gold color for titles in dark sections */
}

.page-about__section-text--light {
  color: #FFF5E1;
}

.page-about__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about__value-card {
  background-color: #D32F2F; /* Card background color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF5E1; /* Text color for cards */
  height: 100%; /* Ensure cards stretch to equal height */
  display: flex;
  flex-direction: column;
}

.page-about__card-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold color for card titles */
}

.page-about__card-text {
  font-size: 1em;
  flex-grow: 1;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #C91F17; /* Main brand color for feature titles */
}

.page-about__feature-description {
  font-size: 1em;
  flex-grow: 1;
}

.page-about__contact-section .page-about__cta-button {
  margin: 15px 10px;
}

.page-about__conclusion-section .page-about__cta-button {
  margin-top: 30px;
}

/* Ensure all images are responsive */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__section-text {
    font-size: 1em;
  }
  .page-about__grid-layout, .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }
  .page-about__hero-content {
    padding: 0 15px;
  }
  .page-about__main-title {
    font-size: clamp(1.6em, 6vw, 2.2em) !important;
  }
  .page-about__hero-description {
    font-size: 0.95em;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-about__section-text {
    font-size: 0.95em;
    text-align: justify;
  }
  .page-about__grid-layout, .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__value-card, .page-about__feature-item {
    padding: 25px;
  }
  .page-about__card-title, .page-about__feature-title {
    font-size: 1.4em;
  }
  .page-about__content-image {
    margin-top: 30px;
  }

  /* Buttons specific mobile rules */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__contact-section .page-about__cta-button {
    margin: 10px 0 !important;
  }
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* Image responsive override */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Placeholder for home-content (not used on about page, but required for checklist) */
  .page-about__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
  }
  /* Placeholder for games (not used on about page, but required for checklist) */
  .page-about__row-games,
  .page-about__row-sport,
  .page-about__row-coop {
    padding: 20px 15px !important;
  }
  .page-about__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-about__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }
  .page-about__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    max-width: 100% !important;
  }
  .page-about__banner-item img {
    
    
  }
  .page-about__blog-masonry {
    grid-template-columns: 1fr !important;
  }
  .page-about__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-about__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }
  .page-about__blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .page-about__btn-outline {
    margin-top: auto;
  }
}

/* Placeholder for home-content (not used on about page, but required for checklist) */
.page-about__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
  padding: 40px;
  margin: 40px auto;
  max-width: 1200px;
}
.page-about__home-content h2 {
  color: #C91F17;
  margin-bottom: 20px;
}
.page-about__home-content p {
  color: #333333;
  line-height: 1.8;
}

/* Placeholder for games (not used on about page, but required for checklist) */
.page-about__row-games,
.page-about__row-sport,
.page-about__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
  margin-bottom: 40px;
}
.page-about__games-title,
.page-about__sport-title,
.page-about__coop-title {
  color: #fff;
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
}
.page-about__slider-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 30px;
}
.page-about__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}
.page-about__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.page-about__game-slide img {
  width: 100%;
  
  object-fit: cover;
}
.page-about__game-slide-content {
  padding: 10px;
  color: #fff;
  text-align: center;
}
.page-about__game-slide-content h4 {
  font-size: 1.1em;
  margin-bottom: 5px;
}
.page-about__game-slide-content p {
  font-size: 0.9em;
  color: #bbb;
}

/* Placeholder for banners (not used on about page, but required for checklist) */
.page-about__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 30px;
}
.page-about__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Placeholder for blog (not used on about page, but required for checklist) */
.page-about__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}
.page-about__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.page-about__blog-card-link:hover {
  transform: translateY(-5px);
}
.page-about__blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.page-about__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.page-about__blog-card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #C91F17;
}
.page-about__blog-card-text {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
  flex-grow: 1;
}
.page-about__btn-outline {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #C91F17;
  color: #C91F17;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  margin-top: auto;
  align-self: flex-start;
}
.page-about__btn-outline:hover {
  background-color: #C91F17;
  color: #ffffff;
}
.page-about__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}
.page-about__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}