/* style/resources-88win-brand-story.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #2a2a2a;
  --border-color: #e0e0e0;
  --card-bg: #ffffff;
}

.page-resources-88win-brand-story {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-resources-88win-brand-story__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-88win-brand-story__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-resources-88win-brand-story__section:nth-of-type(odd) {
  background-color: #f0f0f0;
}

.page-resources-88win-brand-story h1,
.page-resources-88win-brand-story h2,
.page-resources-88win-brand-story h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-resources-88win-brand-story h1 {
  font-size: 2.8em;
  color: var(--text-light);
}

.page-resources-88win-brand-story h2 {
  font-size: 2.2em;
  color: var(--secondary-color);
}

.page-resources-88win-brand-story h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  text-align: left;
  margin-top: 30px;
}

.page-resources-88win-brand-story p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-88win-brand-story__hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #a00000 100%); /* Dark red gradient */
  color: var(--text-light);
  overflow: hidden;
}

.page-resources-88win-brand-story__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-88win-brand-story__hero-image {
  width: 100%;
  height: auto;
  max-width: 80%; /* Smaller image for less dominance */
  display: block;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  filter: brightness(0.9); /* Slightly dim the image to help text contrast */
}

.page-resources-88win-brand-story__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-88win-brand-story__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-resources-88win-brand-story__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-88win-brand-story__cta-button:hover {
  background: darken(var(--primary-color), 10%); /* Adjust for pure CSS */
  background: #e6c200; /* Darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-88win-brand-story__cta-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-resources-88win-brand-story__cta-small:hover {
  background: #a00000; /* Darker red */
  border-color: #a00000;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-resources-88win-brand-story__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-88win-brand-story__content-wrapper:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-resources-88win-brand-story__text-content {
  flex: 1;
}

.page-resources-88win-brand-story__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-resources-88win-brand-story__image--left {
  margin-right: 40px;
}

.page-resources-88win-brand-story__value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-88win-brand-story__card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-resources-88win-brand-story__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-88win-brand-story__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-resources-88win-brand-story__card h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
  text-align: center;
}

.page-resources-88win-brand-story__timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 50px;
}

.page-resources-88win-brand-story__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
}

.page-resources-88win-brand-story__timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 40px;
}

.page-resources-88win-brand-story__timeline-item::before {
  content: '';
  position: absolute;
  top: 5px;
  left: -8px;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  z-index: 1;
}

.page-resources-88win-brand-story__timeline-year {
  position: absolute;
  left: -100px;
  top: 0;
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  background: var(--secondary-color);
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
}

.page-resources-88win-brand-story__timeline-content {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--border-color);
}

.page-resources-88win-brand-story__timeline-content h3 {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  text-align: left;
}

.page-resources-88win-brand-story__faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-dark);
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-88win-brand-story__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-88win-brand-story__content-wrapper:nth-of-type(even) {
    flex-direction: column;
  }

  .page-resources-88win-brand-story__image {
    max-width: 80%;
    margin-bottom: 30px;
  }

  .page-resources-88win-brand-story__image--left {
    margin-right: 0;
  }

  .page-resources-88win-brand-story__hero-image {
    max-width: 90%;
  }

  .page-resources-88win-brand-story__timeline {
    padding-left: 0;
  }

  .page-resources-88win-brand-story__timeline::before {
    left: 15px;
  }

  .page-resources-88win-brand-story__timeline-item {
    padding-left: 60px;
  }

  .page-resources-88win-brand-story__timeline-item::before {
    left: 10px;
  }

  .page-resources-88win-brand-story__timeline-year {
    position: static;
    margin-bottom: 10px;
    display: block;
    text-align: left;
    font-size: 1.2em;
    padding: 3px 8px;
  }

  .page-resources-88win-brand-story h1 {
    font-size: 2.2em;
  }

  .page-resources-88win-brand-story h2 {
    font-size: 1.8em;
  }

  .page-resources-88win-brand-story h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-88win-brand-story__section {
    padding: 40px 0;
  }

  .page-resources-88win-brand-story h1 {
    font-size: 1.8em;
  }

  .page-resources-88win-brand-story h2 {
    font-size: 1.6em;
  }

  .page-resources-88win-brand-story h3 {
    font-size: 1.3em;
  }

  .page-resources-88win-brand-story p {
    font-size: 1em;
  }

  .page-resources-88win-brand-story__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-resources-88win-brand-story__card {
    padding: 20px;
  }

  .page-resources-88win-brand-story__card-image {
    max-width: 200px;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-88win-brand-story__container {
    padding: 15px;
  }

  .page-resources-88win-brand-story__hero {
    padding: 60px 15px;
  }

  .page-resources-88win-brand-story__hero-image {
    max-width: 100%;
  }

  .page-resources-88win-brand-story__hero-content p {
    font-size: 1em;
  }

  .page-resources-88win-brand-story__value-cards {
    grid-template-columns: 1fr;
  }

  .page-resources-88win-brand-story__timeline-item {
    padding-left: 40px;
  }

  .page-resources-88win-brand-story__timeline::before {
    left: 10px;
  }

  .page-resources-88win-brand-story__timeline-item::before {
    left: 5px;
  }
}