/*
Theme Name: hc
Description: Based on blankslate (https://opencollective.com/blankslate)
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2026.1
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

Based on the BlankSlate WordPress Theme (GPL):
https://opencollective.com/blankslate

CSS based on mvp.css (MIT):
https://andybrewer.github.io/mvp/
https://github.com/andybrewer/mvp/

*/

@font-face {
  font-family: "Roboto";
  src: url("/wp-content/themes/hc/roboto.woff2");
}

@font-face {
  font-family: "Roboto";
  src: url("/wp-content/themes/hc/roboto-bold.woff2");
  font-weight: bold;
}

@font-face {
  font-family: "Lato";
  src: url("/wp-content/themes/hc/lato.woff2");
  font-weight: bold;
}


:root {
  --active-brightness: 0.85;
  --border-radius: 3px;
  --box-shadow: 2px 2px 10px;
  --color-bg: #fff;
  --color-bg-secondary: #e9e9e9;
  --color-link: #0091ea;
  --color-link-hover: #00629e;
  --color-secondary: #920de9;
  --color-shadow: #f4f4f4;
  --color-table: #FFF;
  --color-text: #3a3a3a;
  --color-text-secondary: #999;
  --font-family: 'Roboto', sans-serif;
  --hover-brightness: 1.2;
  --justify-important: center;
  --line-height: 1.7;
  --width-content: 768px;
}

::selection {
  color: #FFF;
  background-color: #22bc66;
}

/* Layout */

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
  line-height: var(--line-height);
  margin: 0;
  overflow-x: hidden;
  padding: 0;
}

footer,
header,
main {
  margin: 0 auto;
  max-width: var(--width-content);
  padding: 1rem 1rem;
}

header {
  border-bottom: 1px solid #f1f1f1;
}

header a,
header img {
  display: block;
}


hr {
  background-color: var(--color-bg-secondary);
  border: none;
  height: 1px;
  margin: 4rem 0;
  width: 100%;
}

section {
  display: flex;
  flex-wrap: wrap;
  justify-content: var(--justify-important);
}

section img,
article img {
  max-width: 100%;
}

section pre {
  overflow: auto;
}

[hidden] {
  display: none;
}

/* Headers */
article header,
div header,
main header {
  padding-top: 0;
}

header {
  text-align: left;
}

header a b,
header a em,
header a i,
header a strong {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

header nav img {
  margin: 1rem 0;
}

section header {
  padding-top: 0;
  width: 100%;
}

/* Typography */
code,
samp {
  background-color: #eee;
  border-radius: var(--border-radius);
  color: var(--color-text);
  padding: 1px;
  font-size: 14px;
}

details {
  margin: 1.3rem 0;
}

details summary {
  font-weight: bold;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  text-wrap: balance;
  font-family: 'Lato', sans-serif;
}

mark {
  padding: 0.1rem;
}

ol li,
ul li {
  padding: 0;
}

p {
  margin: 0.75rem 0;
  padding: 0;
  width: 100%;
}

pre {
  margin: 0 0 1rem 0;
  padding: 0;
  line-height: normal;
}

pre code,
pre samp {
  display: block;
  padding: 22px;
  white-space: pre-wrap;
}

small {
  color: var(--color-text-secondary);
}

sup {
  background-color: var(--color-secondary);
  border-radius: var(--border-radius);
  color: var(--color-bg);
  font-size: xx-small;
  font-weight: bold;
  margin: 0.2rem;
  padding: 0.2rem 0.3rem;
  position: relative;
  top: -2px;
}

/* Links */
a {
  color: var(--color-link);
  display: inline-block;
  text-decoration: underline;
}

a:hover {
  color: var(--color-link-hover);
}

a:active {
  filter: brightness(var(--active-brightness));
}

a b,
a em,
a i,
a strong,
button,
input[type="submit"] {
  border-radius: var(--border-radius);
  display: inline-block;
  font-size: medium;
  font-weight: bold;
  line-height: var(--line-height);
  margin: 0.5rem 0;
  padding: 1rem 2rem;
}

button,
input[type="submit"] {
  font-family: var(--font-family);
}

button:hover,
input[type="submit"]:hover {
  cursor: pointer;
  filter: brightness(var(--hover-brightness));
}

button:active,
input[type="submit"]:active {
  filter: brightness(var(--active-brightness));
}

a b,
a strong,
button,
input[type="submit"] {
  background-color: var(--color-link);
  border: 2px solid var(--color-link);
  color: var(--color-bg);
}

a em,
a i {
  border: 2px solid var(--color-link);
  border-radius: var(--border-radius);
  color: var(--color-link);
  display: inline-block;
  padding: 1rem 2rem;
}

/* Images */
figure {
  margin: 0;
  padding: 0;
}

figure img {
  max-width: 100%;
}

figure figcaption {
  color: var(--color-text-secondary);
}

/* Tables */
table {
  border: 1px solid var(--color-bg-secondary);
  border-spacing: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 0;
  white-space: nowrap;
}

table td,
table th,
table tr {
  padding: 0.4rem 0.8rem;
  text-align: var(--justify-important);
  border-color: #ddd !important;
}

table thead {
  border-collapse: collapse;
  border-radius: var(--border-radius);
  color: var(--color-bg);
  margin: 0;
  padding: 0;
}

table thead th:first-child,
table tr td:first-child {
  text-align: left;
}

/* Quotes */
blockquote {
  display: block;
  font-size: 17px;
  font-style: italic;
  line-height: var(--line-height);
  margin: 1.5em 1em 1.5em 3em !important;
  padding: 1.5rem 1rem;
  border-left: 5px solid #ddd !important;
}

blockquote footer {
  color: var(--color-text-secondary);
  display: block;
  font-size: small;
  line-height: var(--line-height);
  padding: 1.5rem 0;
}

.entry-title {
  margin-bottom: 0;
  font-size: 30px;
}

.entry-title a {
  color: var(--color-text);
  text-decoration: none;
}

.entry-title a:hover {
  text-decoration: underline;
}

.entry-meta {
  color: #666;
  font-size: 15px;
  margin-top: 5px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}

figure {
  text-align: center;
}

p {
  padding: 0;
  margin-bottom: 1em;
}

pre,
.wp-block-code,
.wp-block-preformatted {
  padding: 22px;
  border: 0;
  overflow-x: auto;
  background-color: #eee;
}

.wp-block-code code {
  white-space: pre;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

#footer-pitch {
  background: #eeeeee;
  padding: 42px;
  margin-bottom: 2em;
}

#footer-pitch h2 {
  margin: 0 0 2rem 0;
}

#footer-pitch a {
  display: block;
  width: 100px;
  margin: 0 auto;
  font-weight: bold;
  background: #22bc66;
  color: #FFF;
  text-decoration: none;
  text-align: center;
  padding: 0.5em 1.3em;
  border-radius: var(--border-radius);
  text-shadow: 0 2px 2px rgba(0,0,0,0.2);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  transition: background-color 0.1s;
}

#footer-pitch a:hover {
  background-color: #1da258;
}

.footer-items {
  display: flex;
  justify-content: space-between;
}