#page-bodas {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative; 
  overflow-x: hidden;
  overflow-y: clip;
}

.bodas-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

.boda-card {
  background: #fff;
  margin-bottom: 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.boda-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.boda-header {
  cursor: pointer;
  position: relative;
}

.boda-cover-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.boda-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.boda-header:hover .boda-cover-image img {
  transform: scale(1.05);
}

.boda-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 2rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.boda-title {
  font-size: 2rem;
  margin: 0;
  font-weight: 300;
  letter-spacing: 1px;
  color: #fff;
}

.boda-cta {
  font-size: 0.9rem;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.3s;
  display: flex;
  gap: .5rem;
}

.boda-header:hover .boda-cta {
    background: white;
    color: black;
}

.boda-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out;
  background: #fafafa;
}

.boda-inner-content {
  padding: 2rem;
}

.boda-inner-content p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
  color: #444;
}

.boda-inner-content img, 
.boda-inner-content video, 
.boda-inner-content iframe {
  min-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 4px;
}

.mejs-container {
  overflow: hidden;
}

@media (max-width: 768px) {
  .bodas-container {
    padding: 2rem 1rem;
  }

  .boda-card {
    margin-bottom: 2rem;
    border-radius: 6px;
  }

  .boda-cover-image {
    height: 220px;
  }

  .boda-overlay {
    padding: 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent);
  }

  .boda-title {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .boda-cta {
    font-size: 0.8rem;
    padding: 6px 12px;
    align-self: flex-start;
  }

  .boda-inner-content {
    padding: 1.5rem 1.2rem;
  }

  .boda-inner-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }

  .boda-inner-content img, 
  .boda-inner-content video, 
  .boda-inner-content iframe {
    margin: 1rem 0;
    border-radius: 2px;
  }
}