html {
    background-color: #002270;
    font-family: Raleway;
}

#header, #header:hover {
    line-height: inherit !important;
    text-decoration: none !important;
}

header {
    text-align: center;
    background-color: #002270;
    margin: 0 auto;
    max-width: 740px;
    color: #fff;
    background-image: url('/educo-final-gold-landscape.png');
    background-repeat: no-repeat;
    background-position: top; 
}

header a {
    display: block;
}

header h1 {
    padding: 100px 20px 0;
}

header h2 {
    margin-bottom: 45px;
    padding: 0px 20px;
}

header h1, header h2 {
    color: #fff;
}

#home header:after, #press header:after, #articles header:after, #tv header:after, #search header:after {
  display: block;
  content: "";
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

#home header:after, #press header:after, #articles header:after, #tv header:after {
  background-position: center;
}

#search header:after {
  background-position: top;
}

#home header:after {
  background-image: url('/body-header.png');
  height: 414px;
}

#press header:after {
  background-image: url('/press/yoga_cult_broke_up_her_home_sunday_world_feb_24-ppzhlr/1.png');
  height: 380px;
}

#articles header:after {
  background-image: url('/articles/tony-quinn-genius.png');
  height: 205px;
}

#tv header:after {
  background-image: url('/tv/header.jpg');
  height: 417px;
}

#search header:after {
  background-image: url('/search-header.jpg');
  height: 416px;
}

@media all and (max-width: 660px) {
  #press header:after {
    height: 270px;
  }
  #articles header:after {
    height: 180px;
  }
  #tv header:after {
    height: 298px;
  }
  #search header:after {
    height: 300px;
  }
}

@media all and (max-width: 450px) {
  #press header:after {
    height: 180px;
  }
  #articles header:after {
    height: 100px;
  }
  #tv header:after {
    height: 189px;
  }
  #search header:after {
    height: 194px;
  }
  #body {
      padding-left: 15px !important;
      padding-right: 15px !important;
  }
  blockquote {
      margin-left: 1em;
      margin-right: 1em;
  }
}

#body {
    background-color: white;
	color: #222;
	font-size: 24px;
    max-width: 680px;
    margin: 0 auto;
	padding: 2px 30px 20px;
}

article h3, article h4 {
    line-height: 1.5em;
}


#home footer {
    display: none;
}

footer {
    position: sticky;
    bottom: 0;
    width: inherit;
    max-width: inherit;
    background-color: white;
    height: 1.5em;
    padding-top: 5px;
    margin-bottom: 3px;
    text-align: right;
    z-index:100;
}

footer > a {
    text-decoration: none;
}

footer img {
    height: 0.8em;
    aspect-ratio: 1 /1;
    vertical-align: baseline;
    display: inline;
}


p, blockquote {
	line-height: 1.5em;
}

a, a:visited {
    color: #002270;
    text-decoration-style: dotted;
    text-underline-offset: 6px;
}

a:hover {
    text-decoration: none;
}

ul {
    padding-left: 20px;
}

li {
    padding-top: 18px;
    line-height: 35px;
}

figure {
    margin: 40px 0;
}

figcaption {
    text-align: center;
    font-size: 0.8em;
    line-height: 1.3em;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: cover;
    margin: 0 auto;
}

video {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: contain;
    margin: 0 auto;
}

nav {
    border-bottom: 1px solid black;
}

nav ul {
    list-style-type: none;
    padding-left: 0;
}

nav li {
    display: inline-block;
}

nav li:not(:last-child) a::after {
    display: inline-block;
    color: #000;
    font-size: 80%;
    font-weight: bold;
    padding: 0 10px;
    content: '|';
}

body.home li.home, body.press li.press, body.articles li.articles, body.tv li.tv, body#search li.search {
  font-weight: bold;
}

body.home li.home a, body.press li.press a, body.articles li.articles a, body.tv li.tv a, body#search li.search a {
  text-decoration-style: solid;
}

.youtube-video {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.youtube-video-academy {
  aspect-ratio: 4 / 3;
  width: 100%;
}

#announcement a, #announcement a:hover, #announcement a:visited {
    color: #fff;
}
#announcement a {
    display: inline;
}
#announcement figcaption {
    margin-bottom: 15px;
}

