  /* Contenedor de scroll horizontal */
  .scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 0 16px;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    scroll-snap-type: x mandatory;
  }

  .scroll-container::-webkit-scrollbar {
    height: 8px;
  }

  .scroll-container::-webkit-scrollbar-thumb {
    background: #C19A6B;
    border-radius: 4px;
  }

  /* Tarjetas de video */
  .video-card {
    min-width: 280px;
    max-width: 280px;
    scroll-snap-align: start;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
  }

  .video-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
  }

  .video-card .title {
    font-weight: bold;
    margin: 8px 0;
    font-size: 1em;
  }

  .video-card .meta {
    color: #888;
    font-size: 0.8em;
    margin-bottom: 8px;
  }

    .image-card {
    min-width: 280px;
    max-width: 280px;
    scroll-snap-align: start;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
  }

  .image-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
  }

  .image-card .title {
    font-weight: bold;
    margin: 8px 0;
    font-size: 1em;
  }

  .image-card .meta {
    color: #888;
    font-size: 0.8em;
    margin-bottom: 8px;
  }

  /* Modal */
  .modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
  }

  .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
  }

  @keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 12px 12px 0 0;
  }

  .modal-title {
    font-size: 1.2em;
    color: #4A6B3D;
    margin: 0;
  }

  .close-modal {
    background: #d32f2f;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-body h3 {
    color: #4A6B3D;
    margin-top: 0;
  }

  .modal-body p {
    line-height: 1.6;
  }

  .modal-video,
  .modal-image {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    margin: 15px 0;
  }

  .meta-info {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
  }

  /* Botón ver más */
  .btn-ver {
    background: #4A6B3D;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    margin-top: 5px;
  }
