/* Color scheme */

:root,
.wa-light,
.wa-dark .wa-invert {
    --wa-color-brand-fill-quiet: var(--wa-color-orange-95);
    --wa-color-brand-fill-normal: var(--wa-color-orange-90);
    --wa-color-brand-fill-loud: var(--wa-color-orange-50);
    --wa-color-brand-border-quiet: var(--wa-color-orange-90);
    --wa-color-brand-border-normal: var(--wa-color-orange-80);
    --wa-color-brand-border-loud: var(--wa-color-orange-60);
    --wa-color-brand-on-quiet: var(--wa-color-orange-40);
    --wa-color-brand-on-normal: var(--wa-color-orange-30);
    --wa-color-brand-on-loud: white;
}

:root {
    --wa-color-text-link: var(--wa-color-indigo-20);
}

/* Typography */

:root {
    font-feature-settings: 'liga' 1, 'calt' 1;
    /* fix for Chrome */
}

@supports (font-variation-settings: normal) {
    :root {
        font-family: InterVariable, sans-serif;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Bebas Neue", var(--wa-font-family-heading);
}

/* Sticky footer */
html,
body {
    height: 100%;
}

body>footer {
    position: sticky;
    top: 100vh;
}

/* Site header */
#site-header {
    margin-top: 1rem;
    margin-bottom: 4rem;
    margin-left: 1rem;
    margin-right: 1rem;
    border-bottom: 1px solid var(--wa-color-neutral-border-quiet);
    font-family: Inter, var(--wa-font-family-heading);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}

#header-branding {
    width: 50%
}

#header-nav {
    margin-left: auto;
        padding-bottom: 1rem;
        padding-top: 1rem;

}

#site-logo img {
    height: 4rem;
    width: 4rem;
}

.site-title {
    font-family: "Bebas Neue", var(--wa-font-family-heading);
    font-size: 2rem;
}

.site-tagline {
    font-family: Inter, var(--wa-font-family-body);
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
}

@media screen and (max-width: 1275px) {

    .site-title-divider,
    .site-tagline {
        display: none;
    }
}

/* Site main content */
#site-main {
    font-family: Inter, var(--wa-font-family-body);
}

.content-section {
    max-width: 45rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.content-section-wide {
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.content-post {
    max-width: 45rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.content-quiet {
    color: var(--wa-color-text-quiet);
}

.content-centered {
    text-align: center;
}

.content-border {
    border-top: 1px solid var(--wa-color-neutral-border-quiet);
    padding-top: 1rem;
}

.content-comment {
    font-style: italic;
}

.content-meta {
    font-style: italic;
    font-size: var(--wa-font-size-s);
}

.post-header {
    margin-bottom: 1rem;
}

.post-more-link {
    font-style: italic;
}


.pagination {
    display: inline-block;
}

ul.pagination {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    float: left;
    padding: 0 5px;
}


.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    background-color: var(--wa-color-brand-fill-quiet);
}

.pagination a:hover {
    background-color: var(--wa-color-brand-fill-normal);
    color: var(--wa-color-brand-on-normal);
}

.pagination span {
    color: black;
    float: left;
    padding: 8px 16px;
    background-color: var(--wa-color-brand-fill-quiet);
}

.pagination-item--current span {
    background-color: var(--wa-color-brand-fill-loud);
    color: var(--wa-color-brand-on-loud);
}

figure.featured-image {
    margin-block-end: 0;
    background-color: var(--wa-color-brand-fill-normal);
}

.featured-image a:hover img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}

/* Card styles */
.card-basic,
.card-media,
.card-header {
    max-width: 325px;
}



/* Site footer */
#site-footer {
    margin-top: 2rem;
    border-top: 1px solid var(--wa-color-brand-border-normal);
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--wa-color-brand-fill-quiet);
    text-align: center;
    color: var(--wa-color-text-quiet);

}

#footer-nav {
    margin-left: auto;
    margin-right: auto;
}

#social-nav {
    margin-left: auto;
    margin-right: auto;
}

/* Site header navigation */
ul.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    padding: 0;
    margin: 0;
}
ul.nav-list li {
    list-style: none;
    margin: 0 1rem;
}
ul.nav-list li a[data-state="active"] {
    font-weight: bold;
    text-decoration: underline;
}
#icon-navigation {
 font-size: var(--wa-font-size-xl);
}
#icon-navigation a:hover {
    color: var(--wa-color-text-quiet);
}

#content-excerpt {
    font-size: var(--wa-font-size-l);
    color: var(--wa-color-text-quiet);
}
#content-header {
    margin-bottom: 1rem;
}

/* Images */
.image-container {
  position: relative;
  text-align: left;
  color: white;
}
.image-attribution {
  position: absolute;
  bottom: 0px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 0.25rem;
  font-size: var(--wa-font-size-xs);
}
.image-caption {
  text-align: left;
  font-size: var(--wa-font-size-s);
  color: var(--wa-color-text-quiet);
  margin-top: 1rem;
  border-left: 2px solid var(--wa-color-neutral-border-quiet);
  padding-left: 0.5rem;
}

/* Footnotes */
.footnotes {
    font-size: var(--wa-font-size-s);
    padding-bottom: 1rem;
}
.footnote-item {
    margin-bottom: 0.5rem;
}
.footnote-backref {
    font-size: var(--wa-font-size-xs);
    color: var(--wa-color-text-quiet);
}

/* References */
.reference-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.reference-list li {
    margin-bottom: 0.5rem;
}
.reference-title {
    font-weight: bold;
    display: block;
}


/* Temporary fix for WordPress posts */
.entry__more-link {
    display: none;
}

.home-intro-text {
    font-family: "Bebas Neue", var(--wa-font-family-heading);
    font-size: var(--wa-font-size-3xl);
    margin-block-end: 1rem;
}

#home-site-introduction {
    padding-bottom: 2rem;
}

#home-site-introduction p {
    max-width: 45rem;
}

#home-featured-content {
    padding-bottom: 2rem;
}

#home-recent-posts {
    padding-bottom: 2rem;
}

.section-space {
    padding-bottom: 2rem;
}