/*
 * 02-typography.css
 * Font stacks, heading sizes, body text, links, and text utilities.
 * -----------------------------------------------------------------
 */

/* Body & default elements */
body,
button,
input,
select,
optgroup,
textarea {
  color: #808587;
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: 'Arapey', serif;
}

/* Headings */
h1, h2 {
  color: #000;
  clear: both;
  font-family: 'Arapey', serif;
  font-weight: 300;
}

h3, h4, h5, h6 {
  color: #000;
  clear: both;
  font-family: 'Arapey', serif;
  font-weight: 300;
}

h1 { font-size: 2em; margin: 0.67em 0; line-height: 1.4; }
h2 { font-size: 1.75em; line-height: 1.4; }
h3 { font-size: 1.46em; line-height: 1.4; }
h4 { font-size: 1.25em; line-height: 1.5; }
h5 { font-size: 1em; }
h6 { font-size: 0.8em; }

/* Paragraph */
p { font-size: 1.1em; }

/* Inline code */
@media screen and (min-width: 600px) {
  code, kbd, tt, var { font-size: 0.8125rem; }
}

p > code {
  padding: 2px;
  border-radius: 2px;
  background: #f3f4f5;
  font-size: inherit;
}

/* Misc text */
abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

dfn, cite, em, i { font-style: italic; }

address { margin: 0 0 1.5em; }

/* Site branding */
.site-title {
  margin: .4375em 0 0;
  font-size: 38px;
  font-weight: bold;
  line-height: 1.2;
  color: #333332;
}

.site-title a {
  text-decoration: none;
  color: inherit;
}

.site-branding {
  margin-bottom: 1.75em;
  text-align: center;
  margin: 20px 0px 20px 0px;
}

.site-description {
  margin: .4375em 0 0;
  font-size: 17px;
  font-weight: inherit;
  line-height: 1.4;
  word-wrap: break-word;
  color: #6c7781;
}

/* Entry heading */
.entry-header .entry-title {
  font-size: 2.44em;
  line-height: 1.4;
  margin: 1em 0 1rem;
}

/* Blockquote */
blockquote, q {
  quotes: "" "";
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
}

blockquote.wp-block-quote {
  background: #eeeeee;
  padding: 20px;
  text-align: center;
}

/* Lists */
ul, ol { margin: 0 0 1.5em 3em; }
ul     { list-style: disc; }
ol     { list-style: decimal; }

li > ul,
li > ol { margin-bottom: 0; margin-left: 1.5em; }

dt { font-weight: bold; }
dd { margin: 0 1.5em 1.5em; }

ul.ul1 {
  margin: 0px !important;
  padding-left: 30px !important;
  margin-top: -20px !important;
}

/*
 * ── Customiser overrides ──────────────────────────────────────────────
 * These rules come from Appearance → Customise → Additional CSS and
 * override the base values above.
 */

h1, h2 {
  color: #495037!important;
  clear: both;
  font-family: 'Arapey', serif;
  font-weight: 300;
}

h3, h4, h5, h6 {
  color: #857e6c !important;
  clear: both;
  font-family: 'Arapey', serif;
  font-weight: 300;
}

/* Mobile portrait heading size cap */
@media only screen
  and (min-device-width: 0px)
  and (max-device-width: 768px)
  and (orientation: portrait) {

  h1, h2 {
    color: #857e6c;
    font-family: 'Arapey', serif;
    font-weight: 300;
    font-size: 1.2em !important;
  }

  .col-1-1.about h1 { font-size: 1.3em !important; }
}
