/* ==========================================================================
   DDS Kursus Single Page Shortcode Styles
   ========================================================================== */

/* ── Product Content / Course Dates ───────────────────────────────────── */
.dds-product-content { margin: 20px 0; }
.dds-course-dates h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 16px; }
.dds-dates-grid { display: flex; flex-direction: column; gap: 12px; }
.dds-date-card {
  display: flex; justify-content: space-between; align-items: center;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px 20px;
}
.dds-date-info { display: flex; flex-direction: column; gap: 4px; }
.dds-date-info strong { font-size: 0.95rem; color: #1F262E; }
.dds-date-price { font-size: 0.9rem; color: #70808F; }
.dds-date-btn {
  background: #c0392b; color: #fff; padding: 10px 24px; border-radius: 6px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  transition: background 0.2s;
}
.dds-date-btn:hover { background: #a93226; color: #fff; }
.dds-no-product { color: #94a3b8; font-style: italic; }

/* ── Fakta Grid ───────────────────────────────────────────────────────── */
.dds-fakta-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin: 20px 0;
}
.dds-fakta-item {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 20px; text-align: center;
}
.dds-fakta-image { margin-bottom: 12px; }
.dds-fakta-image img { max-width: 100%; height: auto; border-radius: 6px; }
.dds-fakta-titel { font-size: 1.05rem; font-weight: 700; color: #1F262E; margin: 0 0 8px; }
.dds-fakta-tekst { font-size: 0.9rem; color: #70808F; line-height: 1.6; }

/* ── Destinations ─────────────────────────────────────────────────────── */
.dds-destinations { margin: 20px 0; }
.dds-destination-card {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
  overflow: hidden; margin-bottom: 20px;
}
.dds-destination-image img { width: 100%; height: auto; display: block; }
.dds-destination-info { padding: 24px; }
.dds-destination-info h3 { font-size: 1.3rem; font-weight: 700; color: #1F262E; margin: 0 0 12px; }
.dds-destination-content { font-size: 0.95rem; color: #70808F; line-height: 1.7; }
.dds-destination-content p { margin: 0 0 12px; }

/* ── Spørgsmål Accordion ──────────────────────────────────────────────── */
.dds-sporgsmal-accordion { margin: 20px 0; }
.dds-accordion-item {
  border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 8px; overflow: hidden;
}
.dds-accordion-header {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 16px 20px; background: #fff; border: none;
  cursor: pointer; font-size: 1rem; font-weight: 600; color: #1F262E;
  font-family: inherit; text-align: left; transition: background 0.2s;
}
.dds-accordion-header:hover { background: #f8fafc; }
.dds-accordion-chevron { transition: transform 0.3s; flex-shrink: 0; color: #94a3b8; }
.dds-accordion-item.open .dds-accordion-chevron { transform: rotate(180deg); }
.dds-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.dds-accordion-item.open .dds-accordion-body { max-height: 1000px; }
.dds-accordion-content {
  padding: 0 20px 16px; font-size: 0.9rem; color: #70808F; line-height: 1.7;
}
.dds-accordion-content p { margin: 0 0 12px; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .dds-date-card { flex-direction: column; gap: 12px; align-items: flex-start; }
  .dds-fakta-grid { grid-template-columns: 1fr; }
}
