/**
 * Estilos para la página de Actividades Grupales - Tamaños corregidos
 */

.actividades-grupales {
  margin: 0;
  padding: 0;
}

/* Featured Workshop - 100% ancho de pantalla */
.featured-workshop {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 3rem;
  box-shadow: none;
}

.workshop-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  height: 70vh;
  min-height: 500px;
}

.workshop-image {
  height: 100%;
  overflow: hidden;
}

.workshop-image img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.workshop-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #F3F3F3;
  padding: 3rem;
  justify-content: center;
}

/* Meta: Junta Provincial | Tipo */
.workshop-meta {
  font-size: 16px;
  color: #666;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.meta-junta {
  font-weight: 600;
}

.meta-separator {
  color: #666;
}

.meta-type {
  color: #666;
  font-weight: 600;
}

.workshop-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

.workshop-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #2c3e50;
  line-height: 1.2;
}

.workshop-title a {
  color: inherit;
  text-decoration: none;
}

.workshop-title a:hover {
  color: #00a651;
  text-decoration: underline;
}

/* Tags */
.workshop-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.workshop-tag {
  background: #007bff;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.workshop-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  margin-bottom: 0.5rem;
}

.type-label {
  font-weight: 600;
  color: #6c757d;
}

.type-value {
  background: #007bff;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.workshop-description {
  font-size: 16px;
  line-height: 1.4;
  color: #555;
  margin-bottom: 1rem;
}

/* Schedule */
.workshop-schedule {
  margin-bottom: 1rem;
}

.schedule-date {
  font-size: 14px;
  color: #333;
}

.schedule-day {
  font-weight: 600;
}

.schedule-time {
  color: #555;
}

/* Availability */
.workshop-availability {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Contact */
.workshop-contact {
  font-size: 14px;
  color: #555;
  margin-bottom: 1rem;
}

.workshop-contact p {
  margin: 0;
}

/* Details with icons */
.workshop-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border-left: none;
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: #555;
}

.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: inline-block;
}

.icon--medium {
  width: 20px;
  height: 20px;
}

.icon-green {
  color: #00a651;
  fill: #00a651;
}

.detail-icon {
  font-size: 16px;
}

/* Actions */
.workshop-actions {
  text-align: left;
  margin-bottom: 1.5rem;
}

.link-calendar {
  margin-left: 1rem;
  color: #00a651;
  text-decoration: underline;
  font-size: 14px;
}

.link-calendar:hover {
  color: #008f45;
}

/* Share - usando clases del tema Bootstrap */
.share {
  padding-top: 1rem;
}

.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pl-2 {
  padding-left: 0.5rem !important;
}

.mx-1 {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.icon-black {
  color: #333;
}

.icon-share {
  width: 24px;
  height: 24px;
}

.icon-facebook {
  color: #1877f2;
}

.icon-twitter {
  color: #1da1f2;
}

.icon-linkedin {
  color: #0077b5;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
}

.btn-primary {
  background: #00a651;
  color: white;
}

.btn-primary:hover {
  background: #008f45;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.3);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
}

/* Workshops List - Ancho fijo 1107px */
.workshops-list {
  max-width: 1107px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem 2rem;
}

.workshops-list h2 {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: left;
  text-transform: none;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.workshop-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.workshop-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.card-title a {
  color: #2c3e50;
  text-decoration: none;
}

.card-title a:hover {
  color: #00a651;
}

.card-type {
  background: #f8f9fa;
  color: #6c757d;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  align-self: flex-start;
}

.card-summary {
  color: #6c757d;
  line-height: 1.4;
  font-size: 14px;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 13px;
  color: #6c757d;
}

.card-dates,
.card-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-actions {
  margin-top: auto;
}

/* Past Workshops Section */
.past-workshops-section {
  margin-top: 4rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #f5f5f5;
  padding: 3rem 0;
}

.ver-mas-container {
  text-align: center;
  margin-bottom: 2rem;
}

.btn-ver-mas {
  background: #00a651;
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-ver-mas:hover {
  background: #008f45;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.3);
}

.past-workshops-wrapper {
  max-width: 1107px;
  margin: 0 auto;
  padding: 0 2rem;
}

.past-workshops-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.past-workshops-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.filtros-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #00a651;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.filtros-link:hover {
  color: #008f45;
}

.icon--small {
  width: 16px;
  height: 16px;
}

.past-workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.past-workshop-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.past-workshop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.past-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.past-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.past-workshop-card:hover .past-card-image img {
  transform: scale(1.05);
}

.past-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 166, 81, 0.8) 0%, rgba(0, 166, 81, 0.6) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.past-workshop-card:hover .past-overlay {
  opacity: 1;
}

.past-categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.past-category {
  background: rgba(255, 255, 255, 0.9);
  color: #00a651;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.past-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.past-card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.past-card-title a {
  color: #2c3e50;
  text-decoration: none;
}

.past-card-title a:hover {
  color: #00a651;
}

.past-card-summary {
  color: #6c757d;
  line-height: 1.4;
  font-size: 14px;
}

.past-card-link {
  margin-top: auto;
}

.past-card-link a {
  color: #00a651;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.past-card-link a:hover {
  color: #008f45;
  text-decoration: underline;
}

.ver-mas-bottom {
  text-align: center;
}

/* No workshops message */
.no-workshops {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
}

.no-workshops h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 24px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .workshops-list {
    max-width: 100%;
    padding: 0 2rem;
  }
  
  .workshops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .past-workshops-wrapper {
    max-width: 100%;
    margin: 0 1rem;
  }
  
  .past-workshops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .workshop-content {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .workshop-image {
    height: 300px;
  }
  
  .workshop-info {
    padding: 2rem;
  }
  
  .workshop-title {
    font-size: 20px;
  }
  
  .workshops-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .workshop-details > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .workshop-details strong {
    min-width: auto;
  }
  
  .past-workshops-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .past-workshops-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .past-workshops-wrapper {
    padding: 1rem;
    margin: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .workshop-info {
    padding: 1.5rem;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .workshop-title {
    font-size: 18px;
  }
  
  .workshops-list h2 {
    font-size: 24px;
  }
}