/*
Theme Name: Driving School Academy Cardiff
Theme URI: https://drivingschoolacademy.cardiff
Description: Custom theme for Driving School Academy Cardiff — one-page homepage with CMS-driven sections.
Version: 1.0.0
Author: Driving School Academy
Text Domain: dsa-cardiff
*/

/* Inner page content styles */
.dsa-content-wrap {
  padding-top: 6rem;
  padding-bottom: 4rem;
  min-height: 60vh;
}

.dsa-prose {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  color: #1a2a1c;
  line-height: 1.75;
}

.dsa-prose h1,
.dsa-prose h2,
.dsa-prose h3,
.dsa-prose h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: #1a2a1c;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.dsa-prose h1 { font-size: 2.5rem; }
.dsa-prose h2 { font-size: 2rem; color: #C62828; }
.dsa-prose h3 { font-size: 1.5rem; }
.dsa-prose p { margin-bottom: 1.25rem; color: #4b5563; }
.dsa-prose a { color: #1B5E20; text-decoration: underline; }
.dsa-prose a:hover { color: #C62828; }
.dsa-prose ul,
.dsa-prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; color: #4b5563; }
.dsa-prose li { margin-bottom: 0.5rem; }

.dsa-page-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
}

.dsa-page-header h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #1a2a1c;
  margin: 0;
}

.dsa-archive-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.dsa-archive-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.dsa-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.dsa-archive-card h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.dsa-archive-card h2 a {
  color: #1a2a1c;
  text-decoration: none;
}

.dsa-archive-card h2 a:hover {
  color: #C62828;
}

.dsa-archive-meta {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.dsa-404-wrap {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}

.dsa-404-wrap h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 6rem;
  font-weight: 700;
  color: #C62828;
  line-height: 1;
  margin-bottom: 1rem;
}
