/* About Page Styles */

/* Stile specifico per sezioni band--white nella pagina about */
.about section.band--white,
section.band--white.about-section {
  background: #F2F2F2 !important;
}

.about-section {
  background: #F2F2F2;
}

.about-section .container-frame {
  padding: 0;
}

.about-content {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  padding: 120px 20px 96px 20px;
}

.about-content h2 {
  margin-bottom: 24px;
  color: var(--CG-colors-Grey-Black, #000);
  text-align: center;
  font-family: var(--Typography-font-family-title, "Space Grotesk");
  font-size: 60px;
  font-style: normal;
  font-weight: 500;
  line-height: 60px;
}

.about-content p {
  color: var(--CG-colors-Shadows-Black-80, rgba(0, 0, 0, 0.80));
  text-align: center;
  font-family: var(--Typography-font-family-body, Montserrat);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 24px;
}

/* Values section container-frame specific styling - SOLO per la sezione values */
.values-section .container-frame {
  max-width: 754px;
  margin: 0 auto;
      padding: 120px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 754px;
  margin: 0 auto;
  padding-top: 60px;
}

.values-item {
  padding: 80px 24px;
  display: flex;
  align-items: flex-start;
  gap: 36px;
  border-top: 1px solid var(--CG-colors-Highlights-White-30, rgba(255, 255, 255, 0.30));
}

.values-item:last-child {
  border-bottom: 1px solid var(--CG-colors-Highlights-White-30, rgba(255, 255, 255, 0.30));
}

.values-icon {
  max-width: 58px;
max-height: 54px;
  flex-shrink: 0;
}

.values-icon svg {
  max-width: 58px;
max-height: 54px;
width: 100%;
aspect-ratio: 29/27;
  color: #00ff88;
}

.values-content {
  flex: 1;
}

.values-content h3 {
    margin-bottom: 24px;
    color: var(--CG-colors-Grey-White, #FFF);
    font-family: var(--Typography-font-family-title, "Space Grotesk");
    font-size: 60px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

.values-content p {
  margin-bottom: 0;
  color: var(--CG-colors-Highlights-White-80, rgba(255, 255, 255, 0.80));
  font-family: var(--Typography-font-family-body, Montserrat);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.accordion-container {
  margin-top: 0;
}

.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}


.accordion-title {
  color: var(--CG-colors-Grey-White, #FFF);
    font-family: var(--Typography-font-family-body, Montserrat);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    margin-bottom: 24px;
}

.accordion-toggle {
        width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 24px;
}

.accordion-toggle svg {
  width: 12px;
  height: 12px;
  color: #000;
}

.accordion-toggle svg {
  width: 12px;
  height: 12px;
  color: #000;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.accordion-toggle.active svg {
  transform: rotate(-45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 200px;
}

.accordion-content p {
  padding: 0 0 24px 0;
    margin: 0;
    color: var(--CG-colors-Highlights-White-80, rgba(255, 255, 255, 0.80));
    font-family: var(--Typography-font-family-body, Montserrat);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/* Open accordion on hover for devices with a pointer and on keyboard focus */
@media (hover: hover) and (pointer: fine) {
  .accordion-item:hover .accordion-content {
    max-height: 200px;
  }
  .accordion-item:hover .accordion-toggle svg {
    transform: rotate(-45deg);
  }
}

/* Also open when the item receives keyboard focus */
.accordion-item:focus-within .accordion-content {
  max-height: 200px;
}
.accordion-item:focus-within .accordion-toggle svg {
  transform: rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content h2 {
    font-size: 2rem;
  }
  
  .values-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 20px;
  }
  
  .values-content h3 {
    font-size: 1.5rem;
  }
}

/* --- responsive overrides added by agent: about view --- */
@media (max-width: 768px) {
  .about-hero { padding: 16px; }
  .about-columns { display: block; }
}
@media (min-width: 350px) and (max-width: 550px) {
  .about-title { font-size: 18px; }
}
