/* Layout for the home page */
.dc-home {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* Hero section */
.dc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

.dc-hero-text h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #123044 !important;
}

.dc-eyebrow {
  color: #f18b25;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.dc-hero-subtitle {
  color: #4b5563;
  font-size: 0.98rem;
  max-width: 34rem;
  margin-bottom: 24px;
}

/* Buttons */
.dc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.dc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, transform 0.08s ease;
}

.dc-btn-primary {
  background: #f18b25;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(241, 139, 37, 0.35);
}

.dc-btn-primary:hover {
  background: #e27813;
  transform: translateY(-1px);
}

.dc-btn-ghost {
  background: #ffffff;
  color: #4b5563;
  border-color: #d1d5db;
}

.dc-btn-ghost:hover {
  background: #f3f4f6;
}

/* Tiny badges under hero text */
.dc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.dc-hero-meta span {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4ff;
  color: #4b5563;
}

/* === Collapsible media cards (two identical cards on the right) === */

/* The column wrapper you already have */
.dc-hero-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

/* Card container */
.dc-media-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(230, 235, 245, 0.8);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06),
              0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 12px 16px;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.dc-media-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.20);
  border-color: #cbd5f0;
}

/* Text area */
.dc-media-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.dc-media-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Video area – hidden by default */
.dc-media-video {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.dc-media-card:hover .dc-media-video,
.dc-media-card.is-open .dc-media-video,
.dc-media-card.is-playing .dc-media-video {
  max-height: 260px;
  opacity: 1;
  margin-top: 10px;
}

.dc-media-video video {
  display: block;
  width: 100%;
  height: 220px;
  background: #ffffff;
}


/* Quick links */
.dc-quicklinks {
  margin-top: 60px;
}

.dc-quicklinks h2 {
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: #1f2933;
}

.dc-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dc-quickcard {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(148, 163, 184, 0.18);
  transition: transform 0.1s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  color: #111827;
}

.dc-quickcard h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.dc-quickcard p {
  font-size: 0.82rem;
  color: #6b7280;
}

.dc-quickcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.28);
  border-color: #cbd5f0;
}

.dc-hero {
  display: grid; /* or flex, whatever you already use */
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: flex-start; /* important */
}

/* Right column: stack videos with spacing and slight top offset */
.dc-hero-media {
  display: flex;
  flex-direction: column;
  gap: 16px;         /* space between the two movies */
  margin-top: 24px;  /* push both movies down a bit */
}

@media (max-width: 900px) {
  .dc-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .dc-hero-video {
    order: -1;
  }
  .dc-quicklinks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dc-home {
    padding-top: 24px;
  }
  .dc-quicklinks-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
