/*!
Theme Name: Niwa
Theme URI: https://underscores.me/
Author: Jackpine
Author URI: http://jackpine.co/
Description: Jackpine theme for Niwa.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: niwa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%; }

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0; }

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em; }

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted; }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em; }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none; }

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0; }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none; }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal; }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0; }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px; }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit; }

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none; }

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none; }

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit; }

html {
  box-sizing: border-box; }

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box; }

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
  display: block; }

body {
  line-height: 1; }

ol,
ul {
  list-style: none; }

blockquote,
q {
  quotes: none; }

blockquote:before, blockquote:after {
  content: '';
  content: none; }

q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/* Typography
--------------------------------------------- */
@font-face {
    font-family: 'pigiarniq';
    src: url('./assets/pigiarniq_bold-webfont.woff2') format('woff2'),
         url('./assets/pigiarniq_bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'pigiarniq';
    src: url('./assets/pigiarniq_heavy-webfont.woff2') format('woff2'),
         url('./assets/pigiarniq_heavy-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'pigiarniq';
    src: url('./assets/pigiarniq_italic-webfont.woff2') format('woff2'),
         url('./assets/pigiarniq_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'pigiarniq';
    src: url('./assets/pigiarniq_light-webfont.woff2') format('woff2'),
         url('./assets/pigiarniq_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body.translatepress-ik,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: "pigiarniq", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.75; }

body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: "Boreal", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.75; }

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both; }

.heading-1 {
  font-size: 34px;
  font-weight: 600;
  line-height: 111.11111%; }
  @media only screen and (min-width: 990px) {
    .heading-1 {
      font-size: 54px; } }

.heading-2, .entry-content h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 135.29412%;
  margin-bottom: 10px; }

.heading-3, .entry-content h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 144.44444%;
  text-transform: uppercase;
  margin-bottom: 10px; }

.text-dark-blue, .entry-content h2, .entry-content h3 {
  color: #170E4F; }

.pri-link, .pagination a, .entry-content a:not(.wp-block-button__link) {
  cursor: pointer;
  text-decoration: underline;
  color: #0086FA;
  font-weight: 500; }
  .pri-link--white, .pagination.stories__pagination a {
    color: white; }

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

blockquote {
  margin: 0 1.5em; }

address {
  margin: 0 0 1.5em; }

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em; }

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }

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

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

big {
  font-size: 125%; }

.btn {
  cursor: pointer;
  background-color: #0086FA;
  border: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  padding: 6px 12px; }

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  max-width: 1240px;
  padding: 45px 20px 20px;
  margin: 0 auto; }
  @media only screen and (min-width: 990px) {
    .site-header {
      flex-direction: row; } }

.main-navigation {
  margin-top: 20px; }
  @media only screen and (min-width: 990px) {
    .main-navigation {
      margin-top: 0; } }

.menu {
  text-align: right; }
  .menu-item {
    text-transform: uppercase;
    display: inline-block;
    padding: 0 .25em;
    color: #170E4F; }
    @media only screen and (min-width: 990px) {
      .menu-item {
        padding: 0;
        display: block; } }
    .menu-item a {
      text-decoration: none;
      font-weight: 500;
      color: inherit; }

.search-col--blue .current-menu-item {
  color: #0086FA; }

.search-col--red .current-menu-item {
  color: #EB4754; }

.search-col--purple .current-menu-item {
  color: #AE3CC3; }

.search-col--dark-blue .current-menu-item {
  color: #170E4F; }

.invert-color {
  background-color: #0086FA; }
  .invert-color .site-title svg * {
    fill: #fff; }
  .invert-color .menu-item a {
    color: #fff;
    font-size: 10px; }
    @media only screen and (min-width: 680px) {
      .invert-color .menu-item a {
        font-size: inherit; } }

.menu-item a {
  font-size: 10px; }
  @media only screen and (min-width: 680px) {
    .menu-item a {
      font-size: inherit; } }

.site-title a {
  display: block; }

.site-title svg {
  max-width: 100%; }

.page-numbers:not(.next):not(.prev) {
  display: none; }

.pagination {
  text-align: center; }
  .pagination .prev, .pagination .next {
    padding: 0 10px; }

.search-col--blue .search-bar {
  background-color: #0086FA; }

.search-col--red .search-bar {
  background-color: #EB4754; }

.search-col--purple .search-bar {
  background-color: #AE3CC3; }

.search-col--dark-blue .search-bar {
  background-color: #170E4F; }

.search-bar {
  text-align: center;
  padding: 10px 0; }
  .search-bar__wrapper {
    position: relative; }

.search-form {
  text-align: left; }
  @media only screen and (min-width: 990px) {
    .search-form {
      text-align: center; } }

.search-submit {
  background: none;
  border: none; }

.search-field {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 14px; }
  @media only screen and (min-width: 990px) {
    .search-field {
      font-size: 16px; } }
  .search-field::placeholder {
    color: white; }

.search-results__article {
  margin-bottom: 40px; }

.search-results__link {
  text-decoration: none; }

.trp-language-switcher {
  border: none;
  background: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%); }

.trp-ls-shortcode-current-language {
  display: none !important; }

.trp-ls-shortcode-language {
  width: auto !important;
  height: auto !important;
  border: none !important;
  background: none !important;
  visibility: visible !important;
  position: relative !important;
  display: inline-block !important;
  color: #fff;
  font-family: "Boreal", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
  .trp-ls-shortcode-language a {
    color: #fff !important;
    text-decoration: none;
    font-size: 14px; }
    @media only screen and (min-width: 990px) {
      .trp-ls-shortcode-language a {
        font-size: 16px; } }
    .trp-ls-shortcode-language a:hover {
      background: none !important;
      text-decoration: underline; }
    .trp-ls-shortcode-language a:first-child {
      display: none; }

.site-footer {
  background-color: #170E4F;
  color: #fff;
  padding: 45px 0;
  font-size: 14px; }
  .site-footer__logo {
    margin-bottom: 20px; }
    @media only screen and (min-width: 990px) {
      .site-footer__logo {
        margin-bottom: 0;
        margin-right: 80px; } }
  .site-footer__content {
    text-align: center; }
    @media only screen and (min-width: 990px) {
      .site-footer__content {
        display: flex;
        justify-content: space-between;
        text-align: left; } }

.footer-widgets {
  text-align: center; }
  @media only screen and (min-width: 990px) {
    .footer-widgets {
      display: flex;
      justify-content: space-between;
      flex-grow: 1;
      text-align: left; } }

.footer-widget:first-child {
  margin-bottom: 40px; }
  @media only screen and (min-width: 990px) {
    .footer-widget:first-child {
      margin-bottom: 0; } }

.footer-widget--socials {
  align-self: center; }
  @media only screen and (min-width: 990px) {
    .footer-widget--socials {
      margin-left: auto;
      margin-right: 60px; } }

.footer-socials__wrap {
  display: inline-block; }
  .footer-socials__wrap:first-child {
    margin-right: 16px; }

.footer-socials__link {
  display: block; }

.footer-newsletter__label {
  display: none; }
  @media only screen and (min-width: 990px) {
    .footer-newsletter__label {
      display: inline; } }

.footer-newsletter__form {
  margin-top: 20px; }

.footer-newsletter__input {
  background: none;
  border: none;
  border-bottom: 1px solid;
  color: #fff;
  margin: 0 10px; }
  .footer-newsletter__input::placeholder {
    color: white; }

/* Posts and pages
--------------------------------------------- */
.page-wrapper {
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto; }

.sticky {
  display: block; }

.updated:not(.published) {
  display: none; }

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
  color: #4D4D4D; }

.page-links {
  clear: both;
  margin: 0 0 1.5em; }

.wrapper {
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto; }
  .wrapper--wide {
    max-width: 1240px; }

.page-title {
  text-align: center;
  margin-bottom: 52px; }

#site-content, #primary {
  margin-bottom: 40px; }
  @media only screen and (min-width: 990px) {
    #site-content, #primary {
      padding-top: 80px; } }

.entry-content > *,
.news-post__content > *,
.story-post__content > * {
  margin: 1em 0; }

.entry-content figcaption,
.news-post__content figcaption,
.story-post__content figcaption {
  text-align: right;
  font-style: italic; }

.entry-content .wp-block-quote,
.news-post__content .wp-block-quote,
.story-post__content .wp-block-quote {
  font-size: 36px;
  background: #0086FA;
  color: #fff;
  padding: 50px 50px 30px;
  line-height: calc(46/34);
  font-size: 24px;
  font-weight: 600;
  background-image: url("./assets/tails.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; }
  @media only screen and (min-width: 990px) {
    .entry-content .wp-block-quote,
    .news-post__content .wp-block-quote,
    .story-post__content .wp-block-quote {
      font-size: 36px; } }
  .entry-content .wp-block-quote cite,
  .news-post__content .wp-block-quote cite,
  .story-post__content .wp-block-quote cite {
    font-size: 16px;
    text-transform: uppercase;
    font-style: normal; }
    .entry-content .wp-block-quote cite::before,
    .news-post__content .wp-block-quote cite::before,
    .story-post__content .wp-block-quote cite::before {
      content: "-";
      margin-right: 10px; }

.entry-content h3 {
  text-transform: none; }

.entry-content .wp-block-image {
  margin-bottom: 24px; }

.entry-content .wp-block-group {
  margin-bottom: 30px; }

.entry-content .wp-block-button__link {
  text-decoration: none;
  text-transform: uppercase; }

.entry-content li::before {
  content: "";
  display: inline-block;
  background-color: #4D4D4D;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 40px; }

.entry-content .wp-block-file {
  position: relative;
  max-width: 85%;
  margin: 0 !important; }
  @media only screen and (min-width: 990px) {
    .entry-content .wp-block-file {
      max-width: 90%; } }

.entry-content .wp-block-file__button {
  background: none !important;
  color: #0086FA !important;
  text-decoration: underline !important;
  padding: 0 !important;
  font-size: 16px !important;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(120%); }
  @media only screen and (min-width: 990px) {
    .entry-content .wp-block-file__button {
      transform: translateX(100%); } }

.has-dl {
  position: relative;
  max-width: 90%; }
  .has-dl::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 16px;
    transform: translateX(100%);
    background-image: url("./assets/Download.png"); }

.member-list-cols {
  margin-bottom: 0; }
  .member-list-cols .wp-block-column {
    margin-bottom: 20px; }

.margin-top-20 {
  margin-top: 20px !important; }

.margin-top-40 {
  margin-top: 40px !important; }

.small-margin-bottom-40 {
  margin-bottom: 40px; }
  @media only screen and (min-width: 680px) {
    .small-margin-bottom-40 {
      margin-bottom: 0; } }

@media only screen and (min-width: 782px) {
  .big-columns .wp-block-column:nth-child(2) {
    margin-left: 80px; } }

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word; }

.bypostauthor {
  display: block; }

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em; }
  .widget select {
    max-width: 100%; }

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0; }

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block; }

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%; }
  .wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto; }
  .wp-caption .wp-caption-text {
    margin: 0.8075em 0; }

.wp-caption-text {
  text-align: center; }

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em; }

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%; }

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr); }

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr); }

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr); }

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr); }

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr); }

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr); }

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr); }

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr); }

.gallery-caption {
  display: block; }

/* Pages
--------------------------------------------- */
.home__title {
  text-align: center; }

.news-item, .news-post {
  margin-bottom: 48px; }
  .news-item__title, .news-item__meta, .news-post__title, .news-post__meta {
    color: #170E4F; }
  .news-item__meta, .news-post__meta {
    margin: .5em 0; }

.news-item__link {
  display: block;
  text-decoration: none; }

.news__title {
  text-align: left;
  color: #170E4F; }

.news__feed {
  margin-bottom: 40px; }
  @media only screen and (min-width: 990px) {
    .news__feed {
      margin-bottom: 0; } }

.news__feed, .news-post__article {
  display: inline-block;
  vertical-align: top; }
  @media only screen and (min-width: 990px) {
    .news__feed, .news-post__article {
      max-width: 60%; } }

.news__archive {
  display: inline-block;
  vertical-align: top; }
  @media only screen and (min-width: 990px) {
    .news__archive {
      margin-left: 80px;
      max-width: 30%; } }
  .news__archive-item {
    display: block; }

.stories {
  color: #fff;
  padding-bottom: 66px; }

.story-block {
  display: inline-block;
  width: calc(calc(100% - 8%)/2);
  margin-right: 3%;
  margin-bottom: 45px;
  vertical-align: top;
  text-align: center; }
  .story-block:nth-child(2n) {
    margin-right: 0; }
  @media only screen and (min-width: 990px) {
    .story-block {
      width: calc(calc(100% - 12%)/4); }
      .story-block:nth-child(2n) {
        margin-right: 3%; }
      .story-block:nth-child(4n) {
        margin-right: 0; } }
  .story-block__image {
    margin: 0 auto 20px;
    position: relative;
    width: 120px;
    height: 120px; }
    .story-block__image .post-thumbnail {
      width: 100%;
      height: 100%;
      margin: 0 auto;
      border-radius: 50%;
      overflow: hidden; }
      .story-block__image .post-thumbnail img {
        width: 100%;
        height: 100%; }
  .story-block__frame {
    position: absolute;
    top: 0;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translateX(-50%); }
  .story-block__link {
    text-decoration: none;
    display: block;
    color: inherit; }
  .story-block__head {
    text-transform: none; }
  .story-block__title, .story-block__location {
    display: inline-block;
    color: #fff; }

.story-post__article {
  display: inline-block;
  vertical-align: top; }
  @media only screen and (min-width: 990px) {
    .story-post__article {
      max-width: 60%; } }

.story-post__bio {
  display: inline-block;
  vertical-align: top; }
  @media only screen and (min-width: 990px) {
    .story-post__bio {
      margin-left: 80px;
      max-width: 30%; } }
  .story-post__bio-image {
    margin: 0 auto 20px;
    position: relative;
    width: 240px;
    height: 240px; }
    .story-post__bio-image .post-thumbnail {
      width: 100%;
      height: 100%;
      margin: 0 auto;
      border-radius: 50%;
      overflow: hidden; }
      .story-post__bio-image .post-thumbnail img {
        width: 100%;
        height: 100%; }

.story-post__frame {
  position: absolute;
  top: 0;
  left: 50%;
  width: 240px;
  height: 240px;
  transform: translateX(-50%); }

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none; }

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block; }

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; }
  .screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; }

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0; }

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em; }

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em; }

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em; }
