/*!
Theme Name: hismiab
Theme URI: https://github.com/norbybo
Author: Hanna Mellin
Author URI: https://github.com/norbybo
Description: Description
Version: 1.0.23
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hismiab
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.

hismiab is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> 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

--------------------------------------------------------------*/
:root {
  --color-background-body: #fff;
  --color-background-secondary: #f2f5f7;
  --color-background-screen: #f1f1f1;
  --color-background-hr: #ccc;
  --color-background-button: #e6e6e6;
  --color-background-pre: #eee;
  --color-background-ins: #fff9c0;
  --color-text-screen: #21759b;
  --color-text-input: #666;
  --color-text-input-focus: #111;
  --color-link: #f06584;
  --color-link-visited: #800080;
  --color-link-hover: #c8546d;
  --color-text-main: #000000;
  --color-border-button: #ccc #ccc #bbb;
  --color-border-button-hover: #ccc #bbb #aaa;
  --color-border-button-focus: #aaa #bbb #bbb;
  --color-border-input: #ccc;
  --color-border-abbr: #666;
  --color-primary: #00255d;
  --color-primary-contrast: #fff;
  --color-primary-light: #d8e0e7;
  --color-secondary: #f06584;
  --color-secondary-contrast: #fff;
  --color-secondary-light: #fee9ed;
}

:root {
  --font-main: LabGrotesqueRegular, sans-serif;
  --font-code: monaco, consolas, Andale Mono, DejaVu Sans Mono, monospace;
  --font-pre: Courier 10 Pitch, courier, monospace;
  --font-line-height-body: 1.5;
  --font-line-height-pre: 1.6;
}

/*--------------------------------------------------------------
# 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;
  font-size: 16px;
}

/**
 * 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
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
/* Import fonts
--------------------------------------------- */
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 20, 2023 */
@font-face {
  font-family: "LabGrotesqueRegular";
  src: url("assets/fonts/LabGrotesque-Regular.woff2") format("woff2"), url("assets/fonts/LabGrotesque-Regular.woff") format("woff"), url("assets/fonts/LabGrotesque-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "LabGrotesqueItalic";
  src: url("assets/fonts/LabGrotesque-Italic.woff2") format("woff2"), url("assets/fonts/LabGrotesque-Italic.woff") format("woff"), url("assets/fonts/LabGrotesque-Italic.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
/* Font styles
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: var(--color-text-main);
  font-family: var(--font-main), sans-serif;
  font-size: 1rem;
  line-height: var(--font-line-height-body);
}

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

p {
  margin-bottom: 1.5em;
}

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

blockquote {
  margin: 1rem 0;
  padding: 0.5rem 1.5rem 0.5rem 5.5rem;
  background-color: var(--color-primary-light);
  position: relative;
}
blockquote > p:first-child::before {
  content: '"';
  position: absolute;
  font-style: italic;
  top: 1.5rem;
  left: 1rem;
  line-height: 1;
  font-size: 6rem;
}
blockquote.has-primary-background-color {
  background-color: var(--color-primary);
}
blockquote.has-soft-primary-background-color {
  background-color: var(--color-primary-light);
}
blockquote.has-secondary-background-color {
  background-color: var(--color-secondary);
}
blockquote.has-soft-secondary-background-color {
  background-color: var(--color-secondary-light);
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: var(--color-background-pre);
  font-family: var(--font-pre);
  line-height: var(--font-line-height-pre);
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: var(--font-code);
}

abbr,
acronym {
  border-bottom: 1px dotted var(--color-border-abbr);
  cursor: help;
}

mark,
ins {
  background: var(--color-background-ins);
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
html,
body {
  background: var(--color-background-body);
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

hr {
  background-color: var(--color-background-hr);
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5rem 0rem;
  padding-inline-start: 3rem;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5rem;
  padding-inline-start: 2rem;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5rem 1.5rem;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: var(--color-link);
}
a:visited {
  color: var(--color-link);
}
a:hover, a:focus, a:active {
  color: var(--color-link-hover);
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: var(--color-border-button);
  border-radius: 3px;
  background: var(--color-background-button);
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: var(--color-border-button-hover);
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: var(--color-border-button-focus);
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: var(--color-text-input);
  border: 1px solid var(--color-border-input);
  border-radius: 3px;
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: var(--color-text-input-focus);
}

select {
  border: 1px solid var(--color-border-input);
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site {
  flex: 1;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto 1fr auto auto;
  grid-template-areas: "header header" "main main" "sidebar sidebar" "footer footer";
}

.hismiab-container {
  max-width: 1632px;
  margin: auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .hismiab-container {
    padding: 0 32px;
  }
}

.hismiab-narrow-container {
  max-width: 800px;
  margin: auto;
  padding: 0 16px 2rem;
}
@media (min-width: 768px) {
  .hismiab-narrow-container {
    padding: 0 32px 3rem;
  }
}

.site-header {
  grid-area: header;
}

.site-main {
  grid-area: main;
  overflow: hidden; /* Resolves issue with <pre> elements forcing full width. */
}

.widget-area {
  grid-area: sidebar;
}

.site-footer {
  grid-area: footer;
}

.no-sidebar .site {
  display: grid;
  grid-template-columns: auto;
  grid-template-areas: "header" "main" "footer";
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Header
--------------------------------------------- */
.site-header {
  padding: 1rem 0;
  z-index: 3;
  align-self: start;
  position: sticky;
}
@media (min-width: 768px) {
  .site-header {
    padding: 1.5rem 0 0;
  }
}
.site-header .header-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  .site-header .header-content {
    flex-direction: column;
  }
}
.site-header .header-content .site-branding {
  margin: 0;
}
@media (min-width: 768px) {
  .site-header .header-content .site-branding {
    margin-bottom: 2rem;
  }
}
.site-header .header-content .site-branding a {
  line-height: 0;
  display: block;
}
.site-header .header-content .site-branding a img {
  max-height: 50px;
  width: auto;
}
@media (min-width: 768px) {
  .site-header .header-content .site-branding a img {
    max-height: 80px;
  }
}
@media (min-width: 1024px) {
  .site-header .header-content .site-branding a img {
    max-height: 100px;
  }
}
.site-header .header-content .navigation-wrapper {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: end;
  gap: 1rem;
  width: 100%;
}
@media (max-width: 768px) {
  .site-header .header-content .navigation-wrapper .hismiab-container {
    margin: 0;
  }
}
@media (min-width: 768px) {
  .site-header .header-content .navigation-wrapper {
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    border-top: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
  }
  .site-header .header-content .navigation-wrapper li {
    padding: 1rem 0;
  }
}
@media (min-width: 1024px) {
  .site-header .header-content .navigation-wrapper {
    gap: 3rem;
  }
}
.site-header .header-content .navigation-wrapper .cta-button {
  padding: 8px 16px;
  background-color: var(--color-secondary);
  text-decoration: none;
  border-radius: 5px;
  color: black;
  white-space: nowrap;
}
.site-header .header-content .navigation-wrapper .cta-button:hover {
  filter: brightness(0.95);
}

/* Navigation
--------------------------------------------- */
/* Small menu toggle btn */
.menu-toggle {
  display: block;
  background-color: transparent;
  padding: 0.5rem;
  border: none;
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.main-navigation {
  display: block;
  position: relative;
}
.main-navigation .primary-menu-container {
  position: absolute;
  width: 0px;
  top: 59px;
  right: -16px;
  transition: width 0.5s;
  overflow: hidden;
  background-color: var(--color-primary-light);
  height: calc(100vh - 82px);
}
@media (min-width: 768px) {
  .main-navigation .primary-menu-container {
    position: static;
    width: auto;
    transform: none;
    transition: none;
    background-color: transparent;
    height: auto;
  }
}
.main-navigation.toggled .primary-menu-container {
  display: block;
  width: 100vw;
}
.main-navigation ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 2rem 0 0;
  list-style: none;
}
@media (min-width: 768px) {
  .main-navigation ul {
    flex-direction: row;
    width: max-content;
    margin: 0;
    padding-left: 0;
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .main-navigation ul {
    gap: 2rem;
  }
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li.hismiab-highlighted-menu-item a {
  font-weight: bold;
  color: var(--color-secondary);
}
.main-navigation li.hismiab-highlighted-menu-item a:hover, .main-navigation li.hismiab-highlighted-menu-item a.focus {
  color: var(--color-link-hover);
}
.main-navigation li {
  text-transform: uppercase;
  min-height: 2rem;
}
@media (min-width: 768px) {
  .main-navigation li {
    min-height: min-content;
    height: min-content;
  }
}
.main-navigation li:hover > a, .main-navigation li.focus > a {
  color: var(--color-link);
}
.main-navigation li.lang-item a {
  line-height: 0;
}
.main-navigation a {
  display: block;
  text-decoration: none;
  color: black;
}
/* Other navigation */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Front page
--------------------------------------------- */
.front-page h2,
.front-page h3 {
  font-size: 1.5rem;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0;
}

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

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

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

.entry-meta a,
.entry-footer a,
.post-navigation a {
  text-decoration: none;
  color: var(--color-link);
}

.post-edit-link {
  margin-left: 1rem;
}

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

.bypostauthor {
  display: block;
}

.comments-area a {
  color: var(--color-link);
  text-decoration: none;
}
.comments-area .comment-list {
  padding-inline-start: 0;
}
.comments-area .comment-list article {
  margin: 1rem 0;
}
.comments-area .comment-respond .comment-form-author,
.comments-area .comment-respond .comment-form-email,
.comments-area .comment-respond .comment-form-url {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.comments-area .comment-respond .comment-form-author input,
.comments-area .comment-respond .comment-form-email input,
.comments-area .comment-respond .comment-form-url input {
  flex: 1;
}

/* Sidebar/Upper footer
--------------------------------------------- */
.widget-area {
  background: var(--color-secondary-light);
  border-top: 2px solid var(--color-secondary);
  padding: 3rem 0;
}
.widget-area .sidebar-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
}
@media (min-width: 768px) {
  .widget-area .sidebar-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .widget-area .sidebar-content {
    grid-template-columns: 1fr 1fr 1fr max-content;
    grid-template-rows: 1fr;
  }
}
.widget-area .sidebar-content section .menu {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.widget-area .sidebar-content section li {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.widget-area .sidebar-content section li:hover > a, .widget-area .sidebar-content section li.focus > a {
  text-decoration: underline;
}
.widget-area .sidebar-content section a {
  display: block;
  text-decoration: none;
  color: black;
}

/* Footer
--------------------------------------------- */
.site-info {
  padding: 2rem 0;
  background: var(--color-primary);
}
.site-info .hismiab-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.site-info .hismiab-container img {
  max-height: 100px;
  width: auto;
}
.site-info .hismiab-container #scrollToTop {
  font-size: 60px;
}
.site-info .hismiab-container #scrollToTop a {
  color: var(--color-secondary);
}

/* 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;
}

/* Partials
--------------------------------------------- */
.hero-post {
  background: var(--color-primary-light);
}
.hero-post .hero-post-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0;
}
@media (min-width: 1024px) {
  .hero-post .hero-post-content {
    flex-direction: row;
  }
}
.hero-post .hero-post-content a {
  display: inherit;
  color: var(--color-text-main);
  text-decoration: none;
}
.hero-post .hero-post-content .image,
.hero-post .hero-post-content .text-content {
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-post .hero-post-content .image,
  .hero-post .hero-post-content .text-content {
    flex-direction: 50%;
  }
}
.hero-post .hero-post-content .text-content {
  padding-top: 2rem;
}
@media (min-width: 1024px) {
  .hero-post .hero-post-content .text-content {
    padding-left: 2rem;
  }
}
.hero-post .hero-post-content .text-content h2 {
  margin-top: 0;
}

.hero-carousel {
  background: var(--color-primary-light);
}
.hero-carousel .hismiab-container {
  overflow: hidden;
  position: relative;
}
.hero-carousel .hismiab-container .carousel-viewport {
  margin-left: -32px;
  margin-right: -32px;
  overflow: hidden;
  padding: 3rem 0 1rem;
}
@media (min-width: 1024px) {
  .hero-carousel .hismiab-container .carousel-viewport {
    margin-left: -32px;
    margin-right: -32px;
  }
}
.hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track {
  display: flex;
  flex-direction: row;
  transition: transform 0.8s ease;
  will-change: transform;
}
.hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem 0 2rem;
}
@media (min-width: 1024px) {
  .hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content {
    flex-direction: row;
  }
}
.hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content a {
  display: inherit;
  color: var(--color-text-main);
  text-decoration: none;
}
.hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content .hero-image-link {
  height: 100%;
  width: 100%;
}
.hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content .image,
.hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content .text-content {
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content .image,
  .hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content .text-content {
    flex-direction: 50%;
  }
}
.hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content .text-content {
  padding-top: 2rem;
}
@media (min-width: 1024px) {
  .hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content .text-content {
    padding-left: 2rem;
  }
}
.hero-carousel .hismiab-container .carousel-viewport .hero-carousel-track .hero-carousel-content .text-content h2 {
  margin-top: 0;
}
.hero-carousel .carousel-nav {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
  min-height: 3rem;
}
.hero-carousel .carousel-nav .carousel-prev,
.hero-carousel .carousel-nav .carousel-next {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--color-text-main);
}
.hero-carousel .carousel-nav .carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.hero-carousel .carousel-nav .carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-abbr);
  cursor: pointer;
}
.hero-carousel .carousel-nav .carousel-dots .dot.active {
  background: var(--color-text-main);
}

.highlight-bar {
  background-color: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: 2rem 0;
  min-height: 160px;
  max-height: 300px;
}
@media (min-width: 1280px) {
  .highlight-bar {
    max-height: 200px;
  }
}
.highlight-bar .content {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.highlight-bar .content .text-content {
  flex: 1;
}
.highlight-bar .content .text-content h2 {
  margin-top: 0;
}
.highlight-bar .content .text-content .read-more {
  justify-content: flex-start;
  color: var(--color-primary-contrast);
  text-decoration: none;
}
.highlight-bar .content .text-content .read-more:hover {
  text-decoration: underline;
}
.highlight-bar .content .text-content .read-more svg {
  margin-left: 1.5rem;
}
.highlight-bar .content .image-content {
  display: none;
}
@media (min-width: 1280px) {
  .highlight-bar .content .image-content {
    display: block;
    flex: 1.5;
    overflow: hidden;
    max-height: calc(300px - 4rem);
    width: 100%;
  }
}
@media (min-width: 1280px) {
  .highlight-bar .content .image-content {
    max-height: calc(200px - 4rem);
  }
}
.highlight-bar .content .image-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.highlight-box {
  margin: 2rem 0;
}
.highlight-box a {
  text-decoration: none;
}
.highlight-box a:hover h2 {
  text-decoration: underline;
}
.highlight-box a .slide {
  background: var(--color-secondary);
  display: flex;
  flex-direction: column-reverse;
}
@media (min-width: 768px) {
  .highlight-box a .slide {
    flex-direction: row;
  }
}
.highlight-box a .slide div {
  width: 100%;
}
@media (min-width: 768px) {
  .highlight-box a .slide div {
    width: 50%;
  }
}
.highlight-box a .slide img {
  display: block;
  width: 784px;
  height: 441px;
  object-fit: cover;
}
.highlight-box a .slide .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--color-secondary-contrast);
}
@media (min-width: 768px) {
  .highlight-box a .slide .text {
    padding: 3rem;
  }
}
.highlight-box a .slide .text h2 {
  margin-top: 0;
}

.read-more {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.read-more:hover {
  text-decoration: underline;
}

.breadcrumbs {
  background: var(--color-background-secondary);
  padding: 1.5rem 1rem;
  margin: 3rem 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.breadcrumbs a {
  color: var(--color-text-main);
  text-decoration: none;
}
.breadcrumbs a:hover, .breadcrumbs a:focus {
  text-decoration: underline;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}
@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.news-grid a {
  text-decoration: none;
  color: var(--color-text-main);
}
.news-grid a:hover img {
  filter: brightness(110%);
}
.news-grid a:hover .read-more {
  text-decoration: underline;
}
.news-grid a .news-grid-box {
  background-color: var(--color-primary-contrast);
}
.news-grid a .news-grid-box .text-content {
  padding: 1rem 1.5rem;
}
.news-grid a .news-grid-box .text-content h2 {
  margin: 0;
}
.news-grid a .news-grid-box.last {
  padding: 1rem 1.5rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.image-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  margin: 3rem 0;
  gap: 3rem;
}
@media (min-width: 768px) {
  .image-column-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
  }
}
.image-column-grid .image-column {
  background-color: var(--color-primary-light);
  aspect-ratio: 4/3;
  position: relative;
}
@media (min-width: 768px) {
  .image-column-grid .image-column {
    aspect-ratio: 6/7;
  }
}
.image-column-grid .image-column a {
  display: flex;
  width: 100%;
  height: 100%;
}
.image-column-grid .image-column a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5);
}
.image-column-grid .image-column a img:hover {
  filter: brightness(0.6);
}
.image-column-grid .image-column a .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.image-column-grid .image-column a .text h3 {
  color: var(--color-primary-contrast);
  font-weight: 700;
}
.image-column-grid .image-column a .text span {
  color: var(--color-primary-contrast);
  text-transform: uppercase;
  justify-content: center;
}

/*--------------------------------------------------------------
# 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: var(--color-background-screen);
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--color-text-screen);
  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;
}

/*# sourceMappingURL=style.css.map */
