/*
 * custom.css — Legacy overrides
 * Visual styles are in modern.css. This file only neutralises
 * older Materialize / custom rules that would conflict.
 */

/* Remove old nav background set by element selector */
nav {
  background-color: transparent !important;
}

/* Remove old master-container padding that was blocking full-width sections */
.master-container {
  margin: 0 auto !important;
  padding: 0 !important;
  max-width: none !important;
}

/* Remove float from .title so flexbox nav works */
.title {
  float: none !important;
}

/* Reset old #navbar sizing (modern.css uses var(--nav-height) instead) */
#navbar {
  height: var(--nav-height, 70px) !important;
  padding: 0 !important;
  background-color: transparent !important;
}

/* Iframe inside video-container must not have its own margin */
.video-container iframe {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
