/* === Widget principal === */
.campina-video-widget {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 0 16px;
}

.campina-video-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e4e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 20px;
  max-width: 420px;
  text-align: center;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.campina-video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.campina-video-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.campina-video-text h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
}
.campina-video-text p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: #555;
}

/* === Modal === */
.campina-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.campina-modal-content {
  position: relative;
  background-color: #000;
  border-radius: 12px;
  padding: 0;
  width: 90%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.campina-modal-content video {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.campina-close {
  position: absolute;
  top: -32px;
  right: 0;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease;
}
.campina-close:hover {
  color: #ddd;
}

/* === Mobile === */
@media (max-width: 480px) {
  .campina-video-card {
    max-width: 100%;
  }
  .campina-modal-content {
    width: 92%;
  }
}