.fss-editions {
  width: 100%;
  max-width: 1400px;
  margin: 1rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fss-editions-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--black-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}


/* ==== Dropdown selector modern ==== */
.edition-selector {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.edition-selector select {
  background-color: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1f1f1f;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.edition-selector select:hover,
.edition-selector select:focus {
  border-color: #c71313;
  outline: none;
  box-shadow: 0 0 0 3px rgba(199, 19, 19, 0.2);
}


/* ESPAI ENTRE SECCIONS */
.fss-edition-page > section {
  margin-bottom: 2rem;
}


/* === HERO SECTION === */
.fss-hero-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.fss-hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.fss-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
}

.fss-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.fss-hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--black-color);
  line-height: 1.1;
  margin: 0;
}

.edition-number {
  font-size: 1.3rem;
  color: #374151;
  font-weight: 700;
  background: linear-gradient(135deg, #c71313, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  display: inline-block;
}

.fss-hero-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: #4b5563;
  margin: 0;
}

.fss-hero-divider {
  height: 3px;
  background: linear-gradient(90deg, #c71313, transparent);
  width: 120px;
  border-radius: 2px;
  margin: 1.5rem 0;
}

.fss-hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #374151;
}

/* Cas general: foto gran de la classe */
.hero-image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cas logo fallback: NO hereta height:100% */
.hero-image-fallback.fss-logo-fallback {
  width: auto !important;
  height: auto !important;              /* ← Anula height:100% */
  max-height: 70% !important;           /* ← O 200–250px si vols fixar */
  max-width: 70% !important;            /* ← Que no s’escapi horitzontalment */
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  display: block !important;
}

@media (max-width: 1024px) {
  .fss-hero-section {
    grid-template-columns: 1fr;  /* ← 1 COLumna EN TABLET/MÒBIL */
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }
}


/* === DOCUMENTS SECTION === */
.fss-documents-section {
  padding: 3rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.fss-documents-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.doc-group {
  margin-bottom: 1.5rem;
}

.doc-group h4 {
  font-size: 1.1rem;
  color: #f8fafc;
  margin-bottom: 1rem;
  font-weight: 700;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.8rem;
}

.no-documents {
  text-align: center;
  padding: 3rem;
  color: #94a3b8;
}

.no-documents i {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-documents p {
  font-size: 1.1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .doc-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem;
  }
  
  .fss-documents-section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .doc-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
  }
  
  .doc-group h4 {
    font-size: 1rem;
  }
}