/* Import Roboto Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

/* Main Module Container */
.persona-selector-module {
  /* Fallback for old browsers */
  background-color: #ffffff;
  /* The Gradient */
  background: #ffffff
  font-family: 'Roboto', sans-serif;
  padding: 60px 60px 110px;
  overflow: hidden;
}

/* Clickable Titles Container */
.persona-titles {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
  position: relative;
  z-index: 10;
}

/* Individual Title Styling */
.persona-title-item {
  color: #1a1288;
  font-size: 2rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.3s ease;
  padding: 10px 20px;
  border-bottom: 4px solid transparent;
}

.persona-title-item:hover {
  opacity: 0.8;
}

/* Active Title Styling */
.persona-title-item.active {
  color: #1a1288;
  opacity: 1;
  border-bottom-color: #2dcaf1;
}

/* MODIFIED Content Card Wrapper for 2-Column Layout */
.persona-content-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
}

/* Individual Content Card Styling */
.persona-card {
  background-color: #FFFFFF;
  color: #221F20;
  padding: 40px;
  border-radius: 15px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Active Card Styling */
.persona-card.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

/* Text styles within the card */
.persona-benefit-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1A1288;
  margin: 0 0 15px 0;
}

.persona-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 30px 0;
}

/* CTA Button Styling */
.persona-cta {
  display: inline-block;
  background-color: #E5B364;
  color: #221F20;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.persona-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* --- NEW STYLES FOR TWO-COLUMN LAYOUT --- */

/* This will hold the left icon/quote area */
.persona-context-area {
  flex: 1;
  position: relative;
  min-height: 350px;
}

/* This will hold the right card area */
.persona-card-area {
  flex: 2;
  position: relative;
  min-height: 350px;
}

/* Base style for the items in the left column */
.context-item {
  position: absolute;
  width: 110%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 0 20px;
}

.context-item.active {
  opacity: 1;
  visibility: visible;
}

/* Style for the Quote */
.context-quote {
  color: #FFFFFF;
  text-align: Center;
  max-width: 500px;
}

.context-quote p {
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 750;
  line-height: 1.4;
  margin: 0 0 20px 0;
  color: #2dcaf1;
}

.context-quote cite {
  font-size: 1.2rem;
  font-style: bold;
  font-weight: 500;
  opacity: 0.8;
  color: #221f20;
}

/* Style for the CSS ID Badge Icon */
.context-icon {
  width: 150px;
  height: 220px;
  background-color: #e0e0e0;
  border-radius: 12px;
  border: 3px solid #2dcaf1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.context-icon .icon-photo {
  width: 70px;
  height: 70px;
  background-color: #e0e0e0;
  border-radius: 50%;
  margin-bottom: 25px;
}
.context-icon .icon-line-1 {
  width: 80%;
  height: 12px;
  background-color: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 12px;
}
.context-icon .icon-line-2 {
  width: 60%;
  height: 12px;
  background-color: #e0e0e0;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .persona-titles {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
  }
  .persona-title-item {
    font-size: 1.8rem;
    padding-bottom: 10px;
  }
  .persona-card {
    padding: 25px;
    position: relative;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .persona-card.active {
    display: block;
  }
  .persona-content-wrapper {
    flex-direction: column; /* NEW: Stack columns on mobile */
    gap: 0;
  }
  .persona-context-area {
    display: none; /* NEW: Hide context area on mobile */
  }
}