/* Targeted override to remove dashed borders from headings only */

/* Remove dashed borders specifically from headings */
.reveal h1,
.reveal h2, 
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6,
.reveal .slides section h1,
.reveal .slides section h2,
.reveal .slides section h3,
.reveal .slides section h4,
.reveal .slides section h5,
.reveal .slides section h6 {
  border: none !important;
  border-style: none !important;
}

/* Remove any possible pseudo-elements creating dashed lines on headings */
.reveal h1::before,
.reveal h1::after,
.reveal h2::before,
.reveal h2::after,
.reveal h3::before,
.reveal h3::after,
.reveal .slides section h1::before,
.reveal .slides section h1::after,
.reveal .slides section h2::before,
.reveal .slides section h2::after,
.reveal .slides section h3::before,
.reveal .slides section h3::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

/* Remove box-shadow that might look like borders on headings */
.reveal h1,
.reveal h2,
.reveal h3,
.reveal .slides section h1,
.reveal .slides section h2,
.reveal .slides section h3 {
  box-shadow: none !important;
}

/* Override any text-decoration that might look like borders on headings */
.reveal h1,
.reveal h2,
.reveal h3,
.reveal .slides section h1,
.reveal .slides section h2,
.reveal .slides section h3 {
  text-decoration: none !important;
}

/* Ensure mermaid diagrams don't have unwanted borders */
.mermaid,
.mermaid svg {
  border: none !important;
}

/* Ensure links don't have unwanted borders */
.reveal a,
.reveal a:hover,
.reveal a:focus {
  border: none !important;
  outline: none !important;
}