/* style/index-about-e88.css */
:root {
  --e88-primary-color: #F2C14E;
  --e88-secondary-color: #FFD36B;
  --e88-card-bg: #111111;
  --e88-background-color: #0A0A0A;
  --e88-text-main: #FFF6D6;
  --e88-border-color: #3A2A12;
  --e88-glow-color: #FFD36B;
  --e88-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-index-about-e88 {
  font-family: 'Arial', sans-serif;
  color: var(--e88-text-main);
  background-color: var(--e88-background-color);
  line-height: 1.6;
}

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

.page-index-about-e88__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-index-about-e88__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--e88-primary-color);
  line-height: 1.2;
}

.page-index-about-e88__text-block {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
}

/* Buttons */
.page-index-about-e88__btn-primary,
.page-index-about-e88__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-about-e88__btn-primary {
  background: var(--e88-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index-about-e88__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-index-about-e88__btn-secondary {
  background: transparent;
  color: var(--e88-primary-color);
  border: 2px solid var(--e88-primary-color);
}

.page-index-about-e88__btn-secondary:hover {
  background: var(--e88-primary-color);
  color: var(--e88-background-color);
  transform: translateY(-2px);
}

.page-index-about-e88__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-index-about-e88__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Aligned with fixed header rules */
  background-color: var(--e88-background-color);
  position: relative;
  overflow: hidden;
}

.page-index-about-e88__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-index-about-e88__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover to fill space */
}

.page-index-about-e88__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  z-index: 1;
  position: relative;
}

.page-index-about-e88__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  color: var(--e88-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-about-e88__hero-description {
  font-size: 1.2em;
  color: var(--e88-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Content with Image (History, Security, CSR, Future) */
.page-index-about-e88__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-index-about-e88__history-section .page-index-about-e88__image,
.page-index-about-e88__security-section .page-index-about-e88__image,
.page-index-about-e88__future-section .page-index-about-e88__image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-index-about-e88__text-content {
  flex: 1;
}

/* Vision & Mission Section */
.page-index-about-e88__vision-mission-section .page-index-about-e88__content-wrapper {
  flex-direction: column;
}

.page-index-about-e88__vision-mission-section .page-index-about-e88__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-about-e88__card {
  background-color: var(--e88-card-bg);
  border: 1px solid var(--e88-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--e88-text-main);
  margin-bottom: 20px;
}