/* === HUB PAGE === */

.hub-header {
  background: linear-gradient(135deg, var(--accent), #0c7385);
  color: white;
  text-align: center;
  padding: 7rem 1rem 3rem;
}

.hub-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hub-container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

/* === ACCORDION === */

.hub-section {
  margin-bottom: 1.5rem;
}

.hub-toggle {
  width: 100%;
  text-align: left;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--bg-light);
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.hub-toggle:hover {
  background: #f1f5f6;
}

.hub-toggle::after {
  content: "+";
  float: right;
  font-size: 1.5rem;
  color: var(--accent);
}

.hub-toggle.active::after {
  content: "−";
}

/* CONTENT */
.hub-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 0.5rem;
}

/* INNER GRID SPACING */
.hub-content .grid {
  padding: 1rem 0.5rem;
}

/* VIDEO STYLE */
.card iframe {
  width: 500px;
  height: 300px;
  border-radius: 10px;
  margin-bottom: 10px;
  border: none;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .hub-header {
    padding-top: 6rem;
  }

  .hub-header h1 {
    font-size: 2rem;
  }

  .hub-toggle {
    font-size: 1rem;
    padding: 1rem;
  }

  .card iframe {
    height: 180px;
  }
}