/*
Theme Name: Blues Piano School
Theme URI: https://www.bluespianoschool.com
Description: Custom theme for bluespianoschool.com. Works together with the bp-custom plugin.
Version: 0.1.0
Author: Frank Montis
Text Domain: bp-theme
*/

/* Colours come from bp-custom/assets/tokens.css, enqueued before this file. */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bp-page);
}

body {
  font-family: var(--bp-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bp-ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--bp-display);
  /* Zilla Slab stops at 700; asking for 800 makes the browser fake it. */
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--bp-ink);
  margin: 0;
  text-wrap: balance;
}

a { color: inherit; }

/* WordPress and page builders add spacing this theme does not want. */
#page, #content, #main { margin: 0; padding: 0; }

.entry-content, .entry-header, .entry-footer,
.site-main article, .site-main .hentry {
  margin: 0;
  padding: 0;
  max-width: none;
}

.bp-container {
  max-width: var(--bp-container);
  margin: 0 auto;
  padding: 0 var(--bp-gutter);
}

.bp-section { padding-top: var(--bp-section-y); padding-bottom: var(--bp-section-y); }
.bp-section--band { background: var(--bp-band); }

.bp-btn {
  display: inline-block;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: var(--bp-radius-btn);
  background: var(--bp-gold);
  color: var(--bp-dark);
  text-decoration: none;
}

.bp-card {
  background: var(--bp-page);
  border: 1px solid var(--bp-hair);
  border-radius: var(--bp-radius);
  padding: 36px 28px;
}

:focus-visible {
  outline: 2px solid var(--bp-gold-deep);
  outline-offset: 2px;
}
