/* Unknown Macc CIC — DJ dropdown, course dates and image height refinements */

/* Header dropdown under DJ Courses */
.site-header .navbar .dropdown-menu {
  background: rgba(7,20,26,.96);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  padding: .45rem;
  margin-top: .65rem;
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
}

.site-header .navbar .dropdown-item {
  color: rgba(255,255,255,.82);
  font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .62rem .85rem;
}

.site-header .navbar .dropdown-item:hover,
.site-header .navbar .dropdown-item:focus {
  background: var(--mustard);
  color: var(--black);
}

.site-header .navbar .dropdown-toggle::after {
  margin-left: .4rem;
  color: var(--warm-yellow);
  vertical-align: .12em;
}

.site-header .navbar .dropdown-toggle.active,
.site-header .navbar .dropdown-toggle[aria-current="page"] {
  color: var(--warm-yellow) !important;
}

/* Keep active underline closer on dropdown parent too */
.site-header .navbar .dropdown-toggle.active::after,
.site-header .navbar .dropdown-toggle[aria-current="page"]::after {
  content: none;
}

/* Smaller, less tall images in the DJ practice room section */
.practice-room-section .practice-room-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.practice-room-section .practice-room-large {
  grid-column: auto;
}

.practice-room-section .practice-room-card img,
.practice-room-section .practice-room-large img {
  aspect-ratio: 16 / 10;
  height: auto !important;
  max-height: 255px;
  object-fit: cover;
  width: 100%;
}

/* Slightly reduce other large course images */
.course-feature-photo img {
  aspect-ratio: 16 / 10;
  max-height: 360px;
  object-fit: cover;
}

/* Course dates anchor section */
#course-dates {
  scroll-margin-top: 120px;
}

.course-dates-section {
  background: var(--soft-white);
}

.course-dates-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.course-dates-card {
  background: var(--white);
  border-left: 6px solid var(--mustard);
  border-radius: 0 22px 22px 0;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}

.course-dates-status {
  display: inline-flex;
  width: fit-content;
  background: var(--petrol);
  color: var(--warm-yellow);
  padding: .48rem .72rem;
  margin-bottom: 1rem;
  font-size: .74rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.course-dates-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
  margin-bottom: .85rem;
}

.course-dates-card p {
  color: var(--muted);
}

@media (max-width: 991.98px) {
  .site-header .navbar .dropdown-menu {
    margin-top: .35rem;
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.08);
  }

  .practice-room-section .practice-room-grid {
    grid-template-columns: 1fr;
  }

  .practice-room-section .practice-room-card img,
  .practice-room-section .practice-room-large img,
  .course-feature-photo img {
    max-height: none;
    aspect-ratio: 16 / 10;
  }
}


/* Fix student feedback image layout */
.student-feedback-card-with-image {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr);
  align-items: stretch;
  padding: 0 !important;
  overflow: hidden;
}

.student-feedback-card-with-image .student-feedback-image {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
}

.student-feedback-card-with-image .student-feedback-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 470px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.student-feedback-card-with-image .student-feedback-content {
  padding: clamp(1.8rem, 3.2vw, 3rem);
}

@media (max-width: 991.98px) {
  .student-feedback-card-with-image {
    grid-template-columns: 1fr;
  }

  .student-feedback-card-with-image .student-feedback-image img {
    min-height: 0;
    max-height: 320px;
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

@media (max-width: 575.98px) {
  .student-feedback-card-with-image .student-feedback-image img {
    max-height: 240px;
  }
}


/* Site-wide consistency polish */
.impact-icon,
.feature-icon,
.contact-route-icon,
.support-option-icon {
  color: var(--warm-yellow) !important;
  font-weight: 900;
  text-shadow:
    .45px 0 currentColor,
    -.45px 0 currentColor,
    0 .45px currentColor,
    0 -.45px currentColor;
}

.site-footer .social-links {
  gap: .6rem;
}

.site-footer .social-links a[href^="mailto:"] {
  color: var(--mustard);
}

.impact-card .counter[data-target="10"] {
  color: var(--warm-yellow);
}

.contact-form-card .form-control:required,
.contact-form-card textarea:required {
  border-left: 3px solid rgba(217,164,65,.75);
}

.project-funded-dj-image {
  background-position: center 22%;
}

.course-dates-section,
.contact-main-section,
.support-breakdown-section,
.about-focus-section {
  scroll-margin-top: 120px;
}


/* People-first brief refinement */
.purpose-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.impact-card .status {
  color: var(--warm-yellow);
}

.project-principles-card,
.purpose-card {
  background: var(--white);
  border-left: 6px solid var(--mustard);
  border-radius: 0 22px 22px 0;
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.project-principles-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.project-principles-card li + li {
  margin-top: .55rem;
}

.hero-title {
  max-width: 920px;
}

.content-card h3,
.dj-card h3,
.project-card h3 {
  text-wrap: balance;
}


/* Homepage layout fix v2: stronger overrides */
.projects-preview {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 5.5rem) !important;
  background: linear-gradient(180deg, var(--soft-white), var(--off-white)) !important;
  overflow: hidden !important;
}

.projects-preview .row.align-items-end {
  margin-bottom: 2.6rem !important;
}

.homepage-project-card-row {
  align-items: stretch !important;
}

.homepage-project-card,
.projects-preview .project-card {
  position: relative !important;
  min-height: 320px !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  background-size: cover !important;
  background-position: center !important;
  color: var(--white) !important;
  box-shadow: var(--shadow) !important;
  border: 1px solid rgba(7,20,26,.08) !important;
  padding: 0 !important;
}

.projects-preview .project-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(7,20,26,.08) 0%, rgba(7,20,26,.42) 44%, rgba(7,20,26,.94) 100%),
    linear-gradient(90deg, rgba(27,68,86,.32), rgba(0,0,0,.02)) !important;
}

.projects-preview .project-card .badge-status {
  position: absolute !important;
  z-index: 3 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: var(--mustard) !important;
  color: var(--black) !important;
  padding: .7rem 1rem !important;
  font-weight: 800 !important;
  font-size: .8rem !important;
  letter-spacing: .05em !important;
  text-decoration: none !important;
}

.projects-preview .project-card .project-body {
  position: relative !important;
  z-index: 2 !important;
  padding: 1.6rem 1.7rem !important;
  width: 100% !important;
}

.projects-preview .project-card h3,
.projects-preview .project-card p,
.projects-preview .project-card span {
  text-decoration: none !important;
}

.projects-preview .project-card h3 {
  color: var(--white) !important;
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: clamp(1.75rem, 2.2vw, 2.25rem) !important;
  line-height: 1.02 !important;
  margin-bottom: .7rem !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.48) !important;
}

.projects-preview .project-card p {
  color: rgba(255,255,255,.88) !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  margin-bottom: 0 !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.45) !important;
}

.projects-preview .project-card:hover,
.projects-preview .project-card:focus {
  transform: translateY(-3px) !important;
}

.projects-preview .project-card:hover::before,
.projects-preview .project-card:focus::before {
  background:
    linear-gradient(180deg, rgba(7,20,26,.04) 0%, rgba(7,20,26,.34) 44%, rgba(7,20,26,.90) 100%),
    linear-gradient(90deg, rgba(217,164,65,.20), rgba(0,0,0,.02)) !important;
}

/* Homepage DJ strip: remove awkward spacing and match gold buttons */
.dj-section {
  margin: 0 !important;
  padding: clamp(3rem, 5vw, 4.8rem) 0 !important;
  background: linear-gradient(90deg, #05080a 0%, #0d1419 48%, #003643 100%) !important;
}

.dj-section .btn-primary-custom {
  background: var(--mustard) !important;
  border-color: var(--mustard) !important;
  color: var(--black) !important;
}

.dj-section .btn-primary-custom:hover,
.dj-section .btn-primary-custom:focus {
  background: var(--warm-yellow) !important;
  border-color: var(--warm-yellow) !important;
  color: var(--black) !important;
}

.session-media-section {
  padding-top: clamp(4rem, 6vw, 5.5rem) !important;
}

.cta-section {
  overflow: hidden !important;
}

@media (max-width: 991.98px) {
  .projects-preview .project-card {
    min-height: 280px !important;
  }

  .dj-section {
    padding: 3rem 0 !important;
  }
}

@media (max-width: 575.98px) {
  .projects-preview .project-card {
    min-height: 250px !important;
  }

  .projects-preview .project-card .project-body {
    padding: 1.4rem !important;
  }
}


/* Impact page layout fix v2 */
.impact-dashboard-section .impact-stat-grid,
.impact-dashboard-section .impact-dashboard-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  align-items: stretch !important;
}

.impact-dashboard-section .impact-stat-card {
  min-height: 230px !important;
  height: auto !important;
  padding: 1.5rem !important;
  background: var(--white) !important;
  border: 1px solid rgba(7,20,26,.08) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow) !important;
}

.impact-dashboard-section .impact-stat-icon {
  display: block !important;
  color: var(--mustard) !important;
  font-size: 1.45rem !important;
  line-height: 1 !important;
  margin-bottom: .85rem !important;
  font-weight: 900 !important;
}

.impact-dashboard-section .impact-stat-number {
  display: block !important;
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: clamp(3rem, 4.3vw, 4rem) !important;
  line-height: .9 !important;
  color: var(--petrol) !important;
  margin-bottom: .85rem !important;
}

.impact-dashboard-section .impact-stat-label {
  display: inline-flex !important;
  width: fit-content !important;
  align-items: center !important;
  padding: .5rem .72rem !important;
  background: var(--muted-red) !important;
  color: var(--white) !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  margin-bottom: 1rem !important;
}

.impact-dashboard-section .impact-stat-card h3 {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  margin: .75rem 0 .7rem !important;
  color: var(--text) !important;
}

.impact-dashboard-section .impact-stat-card p {
  color: var(--muted) !important;
  margin-bottom: 0 !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

@media (max-width: 1199.98px) {
  .impact-dashboard-section .impact-stat-grid,
  .impact-dashboard-section .impact-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575.98px) {
  .impact-dashboard-section .impact-stat-grid,
  .impact-dashboard-section .impact-dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  .impact-dashboard-section .impact-stat-card {
    min-height: 0 !important;
  }
}


/* Projects page layout fix v2 */
.projects-detail-section .project-detail-card,
.projects-detail-section .project-feature-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr) !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  background: var(--white) !important;
  border: 1px solid rgba(7,20,26,.07) !important;
  box-shadow: var(--shadow) !important;
}

.projects-detail-section .project-detail-image,
.projects-detail-section .project-feature-image {
  min-height: 430px !important;
  background-size: cover !important;
  background-position: center 22% !important;
}

.projects-detail-section .project-detail-content,
.projects-detail-section .project-feature-content {
  padding: clamp(2rem, 4vw, 3.6rem) !important;
}

.projects-detail-section .project-mini-row {
  align-items: stretch !important;
}

.projects-detail-section .project-mini-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: var(--white) !important;
  border: 1px solid rgba(7,20,26,.07) !important;
  box-shadow: var(--shadow) !important;
}

.projects-detail-section .project-mini-image {
  min-height: 250px !important;
  height: 250px !important;
  background-size: cover !important;
  background-position: center !important;
  filter: grayscale(.35) saturate(.85) contrast(1.04) !important;
  flex: 0 0 auto !important;
}

.projects-detail-section .project-mini-content {
  padding: 1.6rem !important;
  flex: 1 1 auto !important;
  background: var(--white) !important;
}

.projects-detail-section .status-pill,
.projects-detail-section .project-status {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  padding: .48rem .72rem !important;
  margin-bottom: 1.1rem !important;
  font-size: .74rem !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  text-decoration: none !important;
}

.projects-detail-section .status-active {
  background: var(--blue) !important;
}

.projects-detail-section .status-development {
  background: var(--muted-red) !important;
}

.projects-detail-section .project-mini-content h3 {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: clamp(1.7rem, 2.4vw, 2.25rem) !important;
  line-height: 1.05 !important;
  margin-bottom: .9rem !important;
  color: var(--text) !important;
}

.projects-detail-section .project-mini-content p,
.projects-detail-section .project-detail-content p {
  color: var(--muted) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
}

@media (max-width: 991.98px) {
  .projects-detail-section .project-detail-card,
  .projects-detail-section .project-feature-card {
    grid-template-columns: 1fr !important;
  }

  .projects-detail-section .project-detail-image,
  .projects-detail-section .project-feature-image {
    min-height: 320px !important;
  }
}


/* Homepage simpler update */
.hero-home-slim {
  min-height: auto !important;
  padding: clamp(8rem, 16vw, 11rem) 0 clamp(4rem, 8vw, 6rem) !important;
}

.hero-home-slim .hero-title {
  font-size: clamp(3.2rem, 7vw, 6.4rem) !important;
  line-height: .95 !important;
  max-width: 940px;
}

.hero-home-slim .hero-buttons {
  display: none !important;
}

.home-projects-section {
  background: linear-gradient(180deg, var(--soft-white), var(--off-white));
}

.home-project-card {
  background: var(--white);
  border: 1px solid rgba(7,20,26,.08);
  box-shadow: var(--shadow);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-project-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: grayscale(.15) saturate(.95) contrast(1.04);
}

.home-project-content {
  padding: clamp(1.45rem, 2.5vw, 2rem);
  flex: 1;
}

.home-project-content h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  margin-bottom: .5rem;
  color: var(--text);
}

.home-project-content h4 {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--petrol);
  margin-bottom: 1rem;
}

.home-project-content p {
  color: var(--muted);
  line-height: 1.65;
}

.simple-home-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.05;
  text-transform: none;
  letter-spacing: 0;
}

.home-support-section {
  scroll-margin-top: 120px;
}

.home-support-section .eyebrow {
  color: var(--warm-yellow) !important;
}

.impact-card .status {
  display: block;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--warm-yellow);
  font-size: .9rem;
  margin: .6rem 0 .8rem;
}

.site-footer .row {
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  .hero-home-slim {
    padding-top: 7.5rem !important;
  }
  .home-project-image {
    height: 230px;
  }
}


/* Compact homepage hero height update */
.hero-home-slim,
.hero-section.hero-home.hero-home-slim {
  min-height: 0 !important;
  height: auto !important;
  padding-top: clamp(7.2rem, 10vw, 8.8rem) !important;
  padding-bottom: clamp(3rem, 5vw, 4rem) !important;
}

.hero-home-slim .hero-content {
  max-width: 760px !important;
}

.hero-home-slim .hero-title {
  font-size: clamp(2.8rem, 5.6vw, 5rem) !important;
  line-height: .96 !important;
  max-width: 760px !important;
  margin-bottom: 1.15rem !important;
}

.hero-home-slim .lead {
  max-width: 680px !important;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem) !important;
  line-height: 1.62 !important;
  margin-bottom: 1rem !important;
}

.hero-home-slim .location-line {
  margin-top: 1.3rem !important;
}

@media (min-width: 1200px) {
  .hero-home-slim,
  .hero-section.hero-home.hero-home-slim {
    padding-top: 8.2rem !important;
    padding-bottom: 3.7rem !important;
  }
}

@media (max-width: 767.98px) {
  .hero-home-slim,
  .hero-section.hero-home.hero-home-slim {
    padding-top: 6.7rem !important;
    padding-bottom: 3rem !important;
  }

  .hero-home-slim .hero-title {
    font-size: clamp(2.6rem, 12vw, 3.8rem) !important;
  }
}


/* Next homepage refinements */
.hero-home-slim,
.hero-section.hero-home.hero-home-slim {
  padding-top: clamp(7.8rem, 11vw, 9.6rem) !important;
  padding-bottom: clamp(4.2rem, 6vw, 5.4rem) !important;
}

.hero-home-slim .hero-title {
  font-size: clamp(3rem, 6vw, 5.35rem) !important;
  max-width: 820px !important;
}

.home-intro-image-card {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7,20,26,.08);
}

.home-intro-image-card img {
  width: 100%;
  min-height: 390px;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.2) saturate(.92) contrast(1.04);
}

.home-projects-section {
  scroll-margin-top: 120px;
}

.impact-section .row-cols-lg-3 .impact-card {
  min-height: 100%;
}

@media (max-width: 991.98px) {
  .home-intro-image-card img {
    min-height: 300px;
  }
}

@media (max-width: 575.98px) {
  .hero-home-slim,
  .hero-section.hero-home.hero-home-slim {
    padding-top: 7.2rem !important;
    padding-bottom: 4rem !important;
  }
}


/* DJ course options update */
.dj-course-options-section {
  background: linear-gradient(180deg, var(--off-white), var(--silver-soft));
}

.dj-offer-card {
  background: var(--white);
  border: 1px solid rgba(7,20,26,.08);
  border-left: 5px solid var(--mustard);
  border-radius: 0 18px 18px 0;
  box-shadow: var(--shadow);
  padding: clamp(1.45rem, 2.4vw, 2rem);
}

.dj-offer-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1rem;
}

.dj-offer-card p {
  color: var(--muted);
  line-height: 1.65;
}

.dj-course-income-note {
  background: var(--petrol);
  color: var(--white);
  border-radius: 18px;
  padding: clamp(1.2rem, 2.2vw, 1.7rem);
  box-shadow: var(--shadow);
}

.dj-course-income-note p {
  color: rgba(255,255,255,.88);
  font-size: 1.08rem;
  line-height: 1.6;
}

.course-feature-photo figcaption {
  font-weight: 700;
}


/* DJ page flow fix: stronger hero image and clearer course cards */
.course-page-hero {
  background:
    linear-gradient(90deg, rgba(7,20,26,.86) 0%, rgba(7,20,26,.62) 43%, rgba(7,20,26,.32) 100%),
    url('../img/dj-course-student-group.jpg') center 35% / cover no-repeat !important;
}

.course-page-hero h1 {
  max-width: 820px;
}

.dj-course-options-section .section-title {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.dj-course-options-section .section-title h2 {
  font-size: clamp(2.35rem, 4vw, 3.7rem);
}

.dj-course-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.dj-offer-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-left: 0 !important;
  border-top: 5px solid var(--mustard);
  border-radius: 18px !important;
  padding: clamp(1.35rem, 2.2vw, 1.85rem) !important;
}

.dj-offer-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
  gap: 1.5rem;
  align-items: center;
  background:
    linear-gradient(135deg, var(--white) 0%, var(--soft-white) 100%);
}

.dj-offer-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: .9rem;
  padding: .42rem .65rem;
  background: rgba(217,164,65,.16);
  color: var(--petrol);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.dj-offer-card h3 {
  margin-bottom: .75rem !important;
}

.dj-offer-card p {
  margin-bottom: .85rem;
}

.dj-offer-note {
  margin-top: auto;
  color: var(--petrol) !important;
  font-weight: 700;
}

.dj-offer-side {
  background: var(--petrol);
  color: var(--white);
  border-radius: 15px;
  padding: 1.25rem;
}

.dj-offer-side strong {
  display: block;
  color: var(--warm-yellow);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .76rem;
  margin-bottom: .55rem;
}

.dj-offer-side p {
  color: rgba(255,255,255,.86);
  margin-bottom: 0;
}

.dj-course-income-note {
  margin-top: 1.5rem !important;
}

@media (max-width: 991.98px) {
  .dj-course-list {
    grid-template-columns: 1fr;
  }

  .dj-offer-feature {
    grid-template-columns: 1fr;
  }

  .course-page-hero {
    background:
      linear-gradient(90deg, rgba(7,20,26,.86) 0%, rgba(7,20,26,.68) 60%, rgba(7,20,26,.46) 100%),
      url('../img/dj-course-student-group.jpg') center center / cover no-repeat !important;
  }
}


/* DJ page simplification: hero image and cleaner course information */
.course-page-hero {
  background:
    linear-gradient(90deg, rgba(7,20,26,.86) 0%, rgba(7,20,26,.64) 46%, rgba(7,20,26,.34) 100%),
    url('../img/dj-feedback-student.jpg') center 32% / cover no-repeat !important;
}

.dj-course-options-section {
  background: linear-gradient(180deg, var(--soft-white), var(--off-white)) !important;
}

.dj-course-options-section .section-title h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.dj-course-list,
.dj-course-list-simple {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.dj-course-simple-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.05rem;
  align-items: start;
  background: var(--white);
  border: 1px solid rgba(7,20,26,.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 2.1vw, 1.7rem);
}

.dj-course-simple-card:first-child {
  grid-column: 1 / -1;
}

.dj-course-symbol {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(217,164,65,.16);
  color: var(--petrol);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .82rem;
}

.dj-course-simple-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: .65rem;
}

.dj-course-simple-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: .65rem;
}

.dj-course-simple-card .dj-offer-note {
  color: var(--petrol) !important;
  font-weight: 700;
  margin-bottom: 0;
}

.dj-offer-card,
.dj-offer-feature {
  border-top: 0 !important;
  border-left: 0 !important;
}

@media (max-width: 991.98px) {
  .course-page-hero {
    background:
      linear-gradient(90deg, rgba(7,20,26,.88) 0%, rgba(7,20,26,.72) 60%, rgba(7,20,26,.48) 100%),
      url('../img/dj-feedback-student.jpg') center center / cover no-repeat !important;
  }

  .dj-course-list,
  .dj-course-list-simple {
    grid-template-columns: 1fr !important;
  }

  .dj-course-simple-card:first-child {
    grid-column: auto;
  }
}

@media (max-width: 575.98px) {
  .dj-course-simple-card {
    grid-template-columns: 1fr;
  }
}


/* DJ page simplified flow */
.course-page-hero {
  background:
    linear-gradient(90deg, rgba(7,20,26,.86) 0%, rgba(7,20,26,.64) 46%, rgba(7,20,26,.34) 100%),
    url('../img/dj-feedback-student.jpg') center 32% / cover no-repeat !important;
}

.dj-course-options-section {
  background: linear-gradient(180deg, var(--soft-white), var(--off-white)) !important;
}

.dj-course-clean-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: .9rem;
}

.dj-course-clean-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  background: var(--white);
  border: 1px solid rgba(7,20,26,.08);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(7,20,26,.07);
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.dj-course-clean-item span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(217,164,65,.16);
  color: var(--petrol);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .78rem;
}

.dj-course-clean-item h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: .45rem;
}

.dj-course-clean-item p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.course-purpose-section {
  background: linear-gradient(180deg, var(--off-white), var(--silver-soft));
}

.course-purpose-card {
  background: var(--white);
  border-left: 5px solid var(--mustard);
  border-radius: 0 18px 18px 0;
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 2.4vw, 2rem);
}

.course-purpose-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.course-purpose-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.course-purpose-card li + li {
  margin-top: .45rem;
}

.course-cta-section .eyebrow {
  color: var(--warm-yellow) !important;
}

/* Hide older DJ option card styling if cached CSS still applies */
.dj-course-list,
.dj-course-list-simple {
  display: none !important;
}

@media (max-width: 575.98px) {
  .dj-course-clean-item {
    grid-template-columns: 1fr;
  }
}


/* DJ page image flip update */
.course-page-hero {
  min-height: 640px !important;
  background:
    linear-gradient(90deg, rgba(7,20,26,.86) 0%, rgba(7,20,26,.64) 46%, rgba(7,20,26,.34) 100%),
    url('../img/dj-course-student-group.jpg') center 35% / cover no-repeat !important;
}

@media (max-width: 991.98px) {
  .course-page-hero {
    min-height: 560px !important;
    background:
      linear-gradient(90deg, rgba(7,20,26,.88) 0%, rgba(7,20,26,.72) 60%, rgba(7,20,26,.48) 100%),
      url('../img/dj-course-student-group.jpg') center center / cover no-repeat !important;
  }
}


/* Light blue accent trial - replacing mustard/yellow feel */
:root {
  --mustard: #A8E3F0;
  --warm-yellow: #A8E3F0;
}

/* Keep light-blue buttons readable */
.btn-primary-custom,
.site-header .btn-primary-custom,
.dj-section .btn-primary-custom,
.home-support-section .btn-primary-custom,
.cta-section .btn-primary-custom {
  background: #A8E3F0 !important;
  border-color: #A8E3F0 !important;
  color: #07141A !important;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus,
.site-header .btn-primary-custom:hover,
.site-header .btn-primary-custom:focus {
  background: #C8F0F7 !important;
  border-color: #C8F0F7 !important;
  color: #07141A !important;
}

/* Make accent text readable on light backgrounds */
.light-section .eyebrow,
.content-section:not(.cta-section) .eyebrow,
.projects-preview .eyebrow,
.contact-main-section .eyebrow,
.dj-course-options-section .eyebrow {
  color: #1B4456 !important;
}

/* Use the light blue as a soft highlight instead of pale text on white */
.home-project-content h4,
.footer-arrow,
.footer-email,
.text-link,
.contact-email-link {
  color: #0E8EAC !important;
}

/* Accent markers and lines */
.navbar .nav-link.active::after,
.navbar .nav-link[aria-current="page"]::after,
.underline,
.project-facts div,
.simple-home-card,
.course-purpose-card,
.contact-form-card .form-control:required,
.contact-form-card textarea:required {
  border-color: #A8E3F0 !important;
}

.course-hero-note,
.contact-hero-note {
  border-left-color: #A8E3F0 !important;
}

.impact-icon,
.feature-icon,
.contact-route-icon,
.support-option-icon,
.simple-card-number {
  color: #A8E3F0 !important;
}

.simple-card-number {
  background: #1B4456 !important;
}


/* Blue + darker copper accent trial */
:root {
  --copper: #B96A45;
  --copper-soft: #C47A55;
}

/* Keep light blue as the main CTA/button accent */
.btn-primary-custom,
.site-header .btn-primary-custom,
.dj-section .btn-primary-custom,
.home-support-section .btn-primary-custom,
.cta-section .btn-primary-custom {
  background: #A8E3F0 !important;
  border-color: #A8E3F0 !important;
  color: #07141A !important;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus,
.site-header .btn-primary-custom:hover,
.site-header .btn-primary-custom:focus {
  background: #C8F0F7 !important;
  border-color: #C8F0F7 !important;
  color: #07141A !important;
}

/* Use copper as the warmer secondary accent */
.eyebrow,
.light-section .eyebrow,
.content-section:not(.cta-section) .eyebrow,
.projects-preview .eyebrow,
.contact-main-section .eyebrow,
.dj-course-options-section .eyebrow,
.home-support-section .eyebrow,
.course-cta-section .eyebrow {
  color: #B96A45 !important;
}

/* Active nav uses blue, keeping the new main accent */
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  color: #A8E3F0 !important;
}

.navbar .nav-link.active::after,
.navbar .nav-link[aria-current="page"]::after {
  background: #A8E3F0 !important;
  border-color: #A8E3F0 !important;
}

/* Copper for subtle heritage/warm detail lines */
.simple-home-card,
.course-purpose-card,
.purpose-card,
.project-principles-card,
.dj-offer-card,
.contact-route-card:hover,
.contact-method-card:hover {
  border-color: #B96A45 !important;
}

/* Copper for small labels / status accents where warmth helps */
.dj-course-symbol,
.simple-card-number,
.dj-offer-label {
  background: rgba(185,106,69,.14) !important;
  color: #B96A45 !important;
}

.course-hero-note,
.contact-hero-note {
  border-left-color: #B96A45 !important;
}

/* Keep functional links blue */
.text-link,
.contact-email-link,
.footer-arrow,
.footer-email,
.home-project-content h4 {
  color: #0E8EAC !important;
}

/* Small icons can use copper, while main buttons stay blue */
.impact-icon,
.feature-icon,
.contact-route-icon,
.support-option-icon {
  color: #B96A45 !important;
}


/* Blue + copper readability adjustment */
.hero-section .eyebrow,
.page-hero .eyebrow,
.hero-home .eyebrow,
.course-page-hero .eyebrow,
.contact-page-hero .eyebrow {
  color: #A8E3F0 !important;
}

/* Dark petrol / CTA sections need the lighter blue, not copper */
.cta-section .eyebrow,
.home-support-section .eyebrow,
.course-cta-section .eyebrow,
.site-footer .eyebrow,
.dj-section .eyebrow {
  color: #A8E3F0 !important;
}

/* Keep copper mainly for light background section labels */
.light-section .eyebrow,
.content-section:not(.cta-section):not(.dj-section) .eyebrow,
.projects-preview .eyebrow,
.contact-main-section .eyebrow,
.dj-course-options-section .eyebrow {
  color: #B96A45 !important;
}

/* Extra safety for dark cards/panels */
.dj-card .eyebrow,
.contact-hero-note .eyebrow,
.course-hero-note .eyebrow {
  color: #A8E3F0 !important;
}


/* Homepage impact section accent tweak */
.impact-section .eyebrow,
.impact-section .impact-card .status {
  color: #A8E3F0 !important;
}

.impact-section .underline,
.impact-section .impact-card .underline {
  background: #A8E3F0 !important;
  border-color: #A8E3F0 !important;
}


/* DJ room hire section */
.room-hire-section {
  scroll-margin-top: 120px;
  background: linear-gradient(180deg, var(--soft-white), var(--off-white));
}

.room-hire-copy-card {
  background: var(--white);
  border: 1px solid rgba(7,20,26,.08);
  border-left: 5px solid #A8E3F0;
  border-radius: 0 20px 20px 0;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
}

.room-hire-copy-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.9rem, 2.6vw, 2.45rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--text);
}

.room-hire-copy-card p {
  color: var(--muted);
  line-height: 1.65;
}

.room-hire-gallery {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 1rem;
  height: 100%;
}

.room-hire-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin: 0;
  min-height: 220px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.room-hire-photo-large {
  grid-row: span 2;
  min-height: 460px;
}

.room-hire-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  filter: grayscale(.12) saturate(.92) contrast(1.04);
}

.room-hire-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .85rem 1rem;
  background: linear-gradient(180deg, rgba(7,20,26,0), rgba(7,20,26,.82));
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
}

.room-hire-cta {
  background: var(--petrol);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  color: var(--white);
}

.room-hire-cta a {
  color: #A8E3F0;
  font-weight: 800;
  text-decoration: none;
}

.room-hire-cta a:hover,
.room-hire-cta a:focus {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .room-hire-gallery {
    grid-template-columns: 1fr;
  }

  .room-hire-photo-large,
  .room-hire-photo {
    min-height: 280px;
  }
}


/* DJ room hire layout refinement */
.room-hire-copy-wide {
  background: var(--white);
  border: 1px solid rgba(7,20,26,.08);
  border-left: 5px solid #A8E3F0;
  border-radius: 0 18px 18px 0;
  box-shadow: var(--shadow);
  padding: clamp(1.35rem, 2.3vw, 1.85rem);
  max-width: 980px;
}

.room-hire-copy-wide p {
  color: var(--muted);
  line-height: 1.65;
}

.room-hire-gallery.room-hire-gallery-equal {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  height: auto !important;
}

.room-hire-gallery-equal .room-hire-photo,
.room-hire-gallery-equal .room-hire-photo-large {
  grid-row: auto !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
}

.room-hire-gallery-equal .room-hire-photo img {
  min-height: 0 !important;
  height: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.room-hire-gallery-equal .room-hire-photo figcaption {
  font-size: .86rem;
}

.course-dates-section strong {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .room-hire-gallery.room-hire-gallery-equal {
    grid-template-columns: 1fr !important;
  }

  .room-hire-gallery-equal .room-hire-photo {
    aspect-ratio: 16 / 10;
  }

  .room-hire-gallery-equal .room-hire-photo img {
    aspect-ratio: 16 / 10;
  }
}


/* DJ Courses hero image update - under 14 session */
.course-page-hero {
  background:
    linear-gradient(90deg, rgba(7,20,26,.86) 0%, rgba(7,20,26,.64) 46%, rgba(7,20,26,.34) 100%),
    url('../img/DJ-Session-Under-14.jpeg') center 42% / cover no-repeat !important;
}

@media (max-width: 991.98px) {
  .course-page-hero {
    background:
      linear-gradient(90deg, rgba(7,20,26,.88) 0%, rgba(7,20,26,.72) 60%, rgba(7,20,26,.48) 100%),
      url('../img/DJ-Session-Under-14.jpeg') center center / cover no-repeat !important;
  }
}


/* DJ Course Dates layout refinement */
.course-dates-top-row {
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.course-dates-image {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7,20,26,.10);
  background: var(--black);
}

.course-dates-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 46%;
}

.course-dates-card-row {
  align-items: stretch;
}

.course-dates-card-row .course-dates-card {
  border-left-color: #A8E3F0;
}

@media (max-width: 991.98px) {
  .course-dates-image img {
    aspect-ratio: 16 / 9;
  }
}


/* Restore DJ Courses dropdown arrow */
.site-header .navbar .dropdown-toggle::after,
.navbar .dropdown-toggle::after {
  display: inline-block !important;
  margin-left: .45rem !important;
  vertical-align: .15em !important;
  content: "" !important;
  border-top: .32em solid #A8E3F0 !important;
  border-right: .32em solid transparent !important;
  border-bottom: 0 !important;
  border-left: .32em solid transparent !important;
}

.site-header .navbar .dropdown-toggle.active::after,
.site-header .navbar .dropdown-toggle[aria-current="page"]::after {
  display: inline-block !important;
  content: "" !important;
  border-top-color: #A8E3F0 !important;
}
/* Mobile video resize fix */
.fundraising-video-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 22px;
}

.fundraising-video-card video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #07141A;
}

@media (max-width: 767.98px) {
  .fundraising-video-card {
    border-radius: 14px;
    margin-left: 0;
    margin-right: 0;
  }

  .fundraising-video-card video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
  }
}
/* Mobile overflow fixes */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Stop wide content creating a white strip on mobile */
.site-wrapper,
main,
section,
.site-footer,
.container,
.container-fluid {
  max-width: 100%;
}

/* Footer email wrapping fix */
.site-footer a[href^="mailto:"],
.site-footer .footer-email,
.site-footer .contact-link {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
/* Mobile overflow fixes */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Stop wide content creating a white strip on mobile */
.site-wrapper,
main,
section,
.site-footer,
.container,
.container-fluid {
  max-width: 100%;
}

/* Footer email wrapping fix */
.site-footer a[href^="mailto:"],
.site-footer .footer-email,
.site-footer .contact-link {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

/* Footer columns behave better on small iPhones */
@media (max-width: 575.98px) {
  .site-footer {
    overflow-x: hidden;
  }

  .site-footer .row,
  .site-footer [class*="col-"] {
    max-width: 100%;
  }

  .site-footer a[href^="mailto:"] {
    display: inline-block;
    max-width: 100%;
    font-size: clamp(1rem, 5vw, 1.35rem);
    line-height: 1.3;
  }

  /* Makes large full-width buttons stay inside the screen */
  .button-row,
  .cta-buttons,
  .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .button-row .btn,
  .cta-buttons .btn,
  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
}
/* Restore safe page spacing after recent updates */
main {
  width: 100%;
  overflow-x: hidden;
}

.content-section,
.light-section,
.alt-section,
.page-hero,
.cta-section {
  width: 100%;
}

.content-section > .container,
.light-section > .container,
.alt-section > .container,
.page-hero > .container,
.cta-section > .container,
.site-footer > .container {
  width: min(100% - 2rem, 1320px);
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* Keep rows from creating edge-to-edge overflow */
.content-section .row,
.light-section .row,
.alt-section .row,
.page-hero .row,
.cta-section .row {
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
}

/* Small mobile breathing room */
@media (max-width: 575.98px) {
  .content-section > .container,
  .light-section > .container,
  .alt-section > .container,
  .page-hero > .container,
  .cta-section > .container,
  .site-footer > .container {
    width: calc(100% - 1.5rem);
  }
}
/* Homepage hero width / overflow fix */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-home,
.home-hero,
.hero-section,
.homepage-hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-home > .container,
.home-hero > .container,
.hero-section > .container,
.homepage-hero > .container {
  width: min(100% - 2rem, 1320px);
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* Make sure hero background/image does not push the page wider */
.hero-home *,
.home-hero *,
.hero-section *,
.homepage-hero * {
  max-width: 100%;
}

/* Mobile hero breathing room */
@media (max-width: 767.98px) {
  .hero-home > .container,
  .home-hero > .container,
  .hero-section > .container,
  .homepage-hero > .container {
    width: calc(100% - 1.5rem);
  }

  .hero-home h1,
  .home-hero h1,
  .hero-section h1,
  .homepage-hero h1 {
    font-size: clamp(3rem, 16vw, 5.2rem);
    line-height: .95;
  }
}
/* Portrait / TikTok-style DJ video player */
.dj-portrait-video-card {
  width: min(100%, 360px);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 22px;
  background: #07141A;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7,20,26,.10);
}

.dj-portrait-video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  background: #07141A;
}

@media (max-width: 991.98px) {
  .dj-portrait-video-card {
    width: min(100%, 320px);
  }
}

@media (max-width: 575.98px) {
  .dj-portrait-video-card {
    width: min(100%, 290px);
    border-radius: 16px;
  }
}