/* Blunt Force Yoga -- static site stylesheet */
:root {
  --bg:      #fafaf8;
  --text:    #1a1a1a;
  --muted:   #555;
  --accent:  #8b1a1a;
  --border:  #ddd;
  --max:     780px;
  --font:    Georgia, 'Times New Roman', serif;
  --sans:    system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.75;
}

.site-header {
  border-bottom: 2px solid var(--accent);
  padding: 1.5rem 1rem 1rem;
  max-width: var(--max);
  margin: 0 auto;
}
.site-header a { text-decoration: none; color: inherit; }
.site-header .site-title {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: .02em;
}
.site-header .site-tagline {
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .2rem;
}
.site-header .logo {
  float: right;
  width: 54px;
  margin-left: 1rem;
}

.site-nav {
  font-family: var(--sans);
  font-size: .88rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .8rem;
}
.site-nav a {
  display: inline-block;
  margin-right: 1.4rem;
  color: var(--accent);
  text-decoration: none;
}
.site-nav a.active { color: var(--text); border-bottom: 1px solid var(--text); }
.site-nav a:hover { text-decoration: underline; }

main {
  max-width: var(--max);
  margin: 2.5rem auto 4rem;
  padding: 0 1rem;
}

h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 1.2rem; }
h2 { font-size: 1.45rem; margin: 2rem 0 .7rem; }
h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
h4, h5, h6 { font-size: 1rem; margin: 1.4rem 0 .4rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

p { margin-bottom: 1.1rem; }

a { color: var(--accent); }
a:hover { text-decoration: none; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
li { margin-bottom: .35rem; }

blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.5rem 0;
  padding: .5rem 1rem;
  color: var(--muted);
  font-style: italic;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.2rem auto;
}
figure { margin: 1.5rem 0; }
figcaption {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  margin-top: .4rem;
}
.alignright { float: right; margin: 0 0 1rem 1.5rem; max-width: 45%; }
.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; max-width: 45%; }
.aligncenter { text-align: center; float: none; }
.alignfull, .alignwide { width: 100%; }
.clearfix::after { content: ''; display: table; clear: both; }

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
}
.video-responsive iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  display: block; margin: 0;
}
.video-embed {
  margin: 1.2rem 0;
  font-family: var(--sans);
  font-size: .95rem;
}
.video-embed a { color: var(--accent); }

.local-video {
  margin: 1.5rem 0;
}
.local-video video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  background: #000;
}
.local-video figcaption {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--muted);
  text-align: left;
  margin-top: .5rem;
}

.post-meta {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.post-meta .categories a { color: var(--muted); }

.index-section { margin-bottom: 2.5rem; }
.index-section h5 {
  font-family: var(--sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: .3rem;
  margin-bottom: .8rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.9;
}
.site-footer a { color: var(--muted); }
.site-footer .copyright { margin-top: .8rem; }

@media (max-width: 600px) {
  html { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  .alignright, .alignleft { float: none; max-width: 100%; margin: 1rem auto; }
  .site-header .logo { width: 42px; }
}
