/*!
Theme Name: jankossack
Theme URI: http://underscores.me/
Author: Morning Coffee Studio
Author URI: http://underscores.me/
Description: Custom wordpress theme for Jan Kossack\'s website
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: jankossack
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

jankossack 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

--------------------------------------------------------------*/

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

@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
}

/* Sections
	 ========================================================================== */

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

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


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

.jk {
  color: #525252;
}

.jk h1,
.jk h2,
.jk h3,
.jk h4,
.jk h5,
.jk h6 {
  color: #29373E;
}

.sta {
  color: #282828;
}

.sta h1,
.sta h2,
.sta h3,
.sta h4,
.sta h5,
.sta h6 {
  color: var(---scarlet);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;

  overflow-wrap: break-word; /* estándar moderno */
  word-wrap: break-word;     /* soporte legacy */
}

h1 {
  font-weight: 400;
  font-size: 3.125rem;
  margin: 4rem 0 var(--title-margin-bottom);
}

h2 {
  font-weight: 400;
  font-size: 2.25rem;
  margin: 3rem 0 1rem;
}

h3 {
  margin: 2rem 0 1rem;
  font-weight: 500;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;

  overflow-wrap: break-word; /* estándar moderno */
  word-wrap: break-word;     /* soporte legacy */
}

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

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%;
}

@media screen and (max-width: 768px) {
  p {
    font-size: 1.2rem;
  } 
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em;
  padding-inline-start: 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

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

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* 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(---petrolblue);
  text-decoration: none;
}

.sta a {
  color: var(---orange);
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

.sta a:hover,
.sta a:focus,
.sta a:active {
  color: var(---orange_strong);
}

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: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  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: #ccc #bbb #aaa;
}

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: #aaa #bbb #bbb;
}

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: #666;
  border: 1px solid #ccc;
  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: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
## Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Vars
--------------------------------------------------------------*/

:root {
  --full-width: 100%;
  --wide-width: clamp(0px, 920px, 80%);
  --wide-width-no-limit: 80%;
  --normal-width: clamp(0px, 684px, 80%);
  --border-radius: 16px;
  --gap: 1.5rem;
  --card-columns: 3;
  --card-width: calc(100% / var(--card-columns) - (var(--gap) * (var(--card-columns) - 1)) / var(--card-columns));
  --card-shadow: 0px 2px 16px 0px #00000014;
  --navigation-height: 72px;
  --title-margin-bottom: 3rem;

  ---petrolblue: rgb(0, 129, 147);
  ---petrolblue_strong: rgb(0, 94, 107);
  ---darkblue: hsl(200, 20%, 20%);
  ---turquoise: rgb(182, 214, 209);
  ---orange: rgb(255, 102, 34);
  ---orange_strong: rgb(205, 82, 28);
  ---light: rgb(236, 240, 241);
  ---scarlet: rgb(79, 2, 2);
  ---light-orange: rgb(255, 249, 245);

}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 17px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navigation-height);
  z-index: 99;
  background-color: white;
  box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.08);
}

.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height);
}

body {
  padding-top: var(--navigation-height);
}

.admin-bar body {
  padding-top: calc(var(--navigation-height) + var(--wp-admin--admin-bar--height));
}

.site-branding,
.site-branding a {
  display: flex;
}

.sta .site-branding {
  max-height: 22px;
}

/* Navigation
--------------------------------------------- */
.main-navigation .menu-container {
  opacity: 0;
  position: fixed;
  top: 100%;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(22, 30, 34, .9);
  transition: opacity .5s ease-in-out;
}

.toggled .main-navigation .menu-container {
  opacity: 1;
  top: 0;
}

.admin-bar .toggled .main-navigation .menu-container {
  top: var(--wp-admin--admin-bar--height);
}

.main-navigation .menu-container > a {
  width: var(--wide-width-no-limit);
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
  padding-right: 100px;
}

.main-navigation ul {
  list-style: none;
  padding-top: 100%;
  margin: 0;
  padding-left: 0;
  transition: all .5s ease-in-out;
}
.toggled .main-navigation ul {
  padding-top: 5rem;
}

.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 {
  position: relative;
}

.main-navigation ul.nav-menu>li {
  width: var(--wide-width-no-limit);
  margin-left: auto;
  margin-right: auto;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  color: white;
  font-size: 3rem;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 2rem;
}

.main-navigation a:hover {
  color: var(---petrolblue);
}
.sta .main-navigation a:hover {
  color: var(---orange);
}

/* Small menu. */
.menu-toggle {
  display: flex;
  padding: 0;
  border: none;
  background: none;
  gap: 1rem;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  z-index: 1;
  position: relative;
}

.toggled .menu-toggle {
  background: url('assets/x.svg');
  background-repeat: no-repeat;
  background-position: right;
  color: white;
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  width: var(--wide-width-no-limit);
  margin-left: auto;
  margin-right: auto;
  justify-content: flex-end;
}

.menu-toggle icon {
  background: url('assets/menu.svg');
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  height: 40px;
  aspect-ratio: 1;
}
.toggled .menu-toggle icon {
  opacity: 0;
}

.main-navigation.toggled ul {
  display: block;
}

.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%;
}

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

.post,
.page {
  margin: 0;
}

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

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

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

.entry-title {
  font-weight: normal;
  width: var(--normal-width);
  margin-left: auto;
  margin-right: auto;
}

.sta .entry-title {
  color: var(---scarlet);
}

/* therapy types
--------------------------------------------- */
.archive-hero img {
  width: 100%;
  max-height: 40vh;
  max-height: 40dvh;
  object-fit: cover;
}

.archive-list {
  width: var(--wide-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin-bottom: 7rem;
}

.archive-list article {
  width: var(--card-width);
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.archive-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
  justify-content: space-between;
  background-color: white;
}

.archive-card-content .btn {
  max-width: 100%;
}

.archive-card-thumbnail img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2;
  object-fit: cover;
}

.archive-card-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

@media screen and (max-width: 768px) {
  .archive-list article {
    width: calc(100% / 2 - (var(--gap) / 2));
  }
}

@media screen and (max-width: 500px) {
  .archive-list article {
    width: 100%;
  }
}


/* training
--------------------------------------------- */

.post-type-archive .sta.site {
  background: #FFD0AA1F;
}

.post-type-archive .sta.site .entry-content {
  background: #fff;
}

.post-type-archive .sta.site .archive-list {
  padding-top: 5rem;
}

.sta .border {
  border: 1px solid var(---orange, #FF6622);
  color: var(---orange, #FF6622);
}

.sta .border:hover {
  background: var(---orange, #FF6622);
  color: white;
}

/* About Jan
--------------------------------------------- */
.about-jan {
  display: flex;
  align-items: flex-start;
  width: var(--wide-width-no-limit);
  margin-left: auto;
  margin-right: auto;
  gap: 4rem;
}

.about-jan .contact-info {
  width: 44%;
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  position: sticky;
  top: calc(4rem + var(--navigation-height) + var(--wp-admin--admin-bar--height));
  gap: 2rem;
}

.about-jan .contact-info img {
  border-radius: var(--border-radius);
  width: 100%;
}

.about-jan .contact-info p {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
}

.about-jan .contact-info p a {
  text-decoration: none;
}

.about-jan .history {
  width: 56%;
}

.about-jan ul {
  margin-left: 0;
}

.about-jan article {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 2rem;
}

.about-jan article:before {
  content: '';
  border-left: 1px solid var(---turquoise, #B6D6D1);
  position: absolute;
  height: calc(100% - 3rem);
  left: 2.5rem;
  bottom: 0.25rem;
}

.about-jan article:last-child:before {
  display: none;
}

.about-jan article h3 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 37.9px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(---turquoise, #B6D6D1);
}

@media screen and (max-width: 768px) {
  .about-jan {
    flex-direction: column;
  }

  .about-jan .contact-info {
    width: 100%;
    position: static;
  }

  .about-jan .history {
    width: 100%;
  }

  .about-jan article {
    flex-direction: column;
  }

  .about-jan article:before {
    left: 0;
    height: auto;
    width: calc(100% - 2.5rem);
  }
  
}

/* questionaires
--------------------------------------------- */

.download-cards-section .card {
  width: calc(50% - (var(--gap) / 2));
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  padding: 2rem;
  gap: 1.5rem;
}

.download-cards-section .card h3 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.75rem;
  color: var(---petrolblue);
  line-height: 1;
}
.sta .download-cards-section .card h3 {
  color: var(---orange);
}

.download-cards-section .cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin-bottom: 7rem;
  width: var(--wide-width);
  margin-left: auto;
  margin-right: auto;
}

.download-cards-section .card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  flex-grow: 1;
}

.download-cards-section .card-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.download-cards-section p {
  margin: 0;
  font-size: 1.125rem;
}

.download-cards-section .file-info {
  color: #9B9B9B;
  font-size: .875rem;
}

.sta .download-cards-section svg path {
  stroke: var(---orange);
}

@media screen and (max-width: 768px) {
  .download-cards-section .card {
    width: 100%;
  }

  .download-cards-section .card-content {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

/* Contact
--------------------------------------------- */
.contact-columns {
  justify-content: space-between;
}

.contact-columns .wp-block-column {
  max-width: 23rem;
}

@media screen and (max-width: 768px) {
  .contact-columns {
    flex-direction: column;
  }

  .contact-columns .wp-block-column {
    max-width: 100%;
  }  
}

/*
contact form
--------------------------------------------- */
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 {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.wpcf7-list-item {
  margin-bottom: 1rem;
  margin-left: 30px;
  font-size: 14px;
  color: #9B9B9B;
  position: relative;
}

.wp-block-contact-form-7-contact-form-selector h3 {
  font-weight: 400;
}

input[type="checkbox"] {
  position: absolute;
  left: -30px;
  top: 3px
}

.wpcf7-submit[type="submit"]{
  background: var(---petrolblue);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 32px;
  cursor: pointer;
  min-width: 8.75rem;
}

/* Header
--------------------------------------------- */
.page-header .featured-image img {
  width: 100%;
}

.page-header {
  text-align: center;
}

/* Breadcrumbs
--------------------------------------------- */
breadcrumb {
  position: absolute;
  left: 1.5rem;
  transform: translateY(-100%);
  width: calc(100% - 3rem);
  max-width: 300px;
}

breadcrumb p {
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(---petrolblue);
}

breadcrumb a {
  color: var(---darkblue);
  text-decoration: none;
}

.sta breadcrumb p {
  color: var(---orange);
}

.sta breadcrumb a {
  color: var(---scarlet);
}

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

/* wp-block-post-featured-image
--------------------------------------------- */
.wp-block-post-featured-image:not(.alignfull) {
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* wp-image
--------------------------------------------- */
:root :where(.wp-block-image:not(.alignfull) img) {
  border-radius: var(--border-radius);
  overflow: hidden;
}

:root :where(.wp-block-image.is-style-rounded img,
  .wp-block-image .is-style-rounded img) {
  border-radius: 50%;
  overflow: hidden;
}

figure {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-image .wp-element-caption {
  text-align: center;
  color: var(---petrolblue_strong);
  font-size: 1.125rem;
  font-weight: 500;
  margin: 1rem 0 0
}

.sta .wp-block-image .wp-element-caption {
  color: var(---scarlet);
}


/* blockquote 
--------------------------------------------- */
.wp-block-quote {
  color: var(---petrolblue);
  font-size: 1.5rem;
  font-style: italic;
  margin: 0 0 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.wp-block-quote cite {
  font-weight: 300;
  font-style: Italic;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #525252;
}

/* wp-block-buttons & buttons
--------------------------------------------- */
.button {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.123rem;
  display: inline-flex;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  min-height: 64px;
  border-radius: 32px;
  padding: 1rem 1.5rem;
}

.wp-block-button a,
.wp-block-button a:hover {
  color: white;
}
.wp-block-button__link:hover {
  opacity: .9;
}


.primary {
  background: var(---petrolblue);
  color: white;
}

.primary:hover {
  background: var(---petrolblue_strong);
  color: white;
}

.border {
  background: transparent;
  color: var(---petrolblue);
  border: 1px solid var(---petrolblue);
}

.border:hover {
  border: 1px solid transparent;
  background: var(---petrolblue);
  color: white;
}

.size_s {
  min-height: 48px;
}

.outlined-primary-button {
  border: solid 1px var(---petrolblue);
  color: var(---petrolblue);
  padding: 1rem 2rem;
  font-size: .85rem;
  line-height: 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.outlined-primary-button:hover {
  background-color: var(---petrolblue);
  color: white;
}

.sta .outlined-primary-button {
  border: solid 1px var(---orange);
  color: var(---orange);
}
.sta .outlined-primary-button:hover {
  background-color: var(---orange);
  color: white;
}

:root :where(.wp-block-button.is-style-outline) .wp-block-button__link {
  border-width: 1px;
}

/* wp-block-group */

.wp-block-group {
  width: var(--normal-width);
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid transparent;
  margin-top: -1px;
}

.wp-block-group:not(.alignfull) {
  border-radius: var(--border-radius);
}

/* row */

:where(.is-layout-flex) {
  gap: 1rem;
}

.is-layout-flex > .wp-block-image.is-resized,
.is-layout-flex > .wp-block-spacer {
  flex-shrink: 0;
}

/* columns */
:where(.wp-block-columns) {
  margin-bottom: 0;
}

/* file */
.aligncenter[data-wp-interactive="core/file"] {
    width: clamp(0px, 322px, 100%);
}

/* youtube embed */
.wp-block-embed-youtube iframe {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius);
}

.wp-block-embed-youtube.no-border-radius iframe {
  border-radius: 0;
}

/* Footer
--------------------------------------------- */
.site-footer .footer-container {
  width: var(--wide-width);
  margin-left: auto;
  margin-right: auto;
  margin-top: 6.25rem;
  padding: 3rem 0;
}

.site-footer h3 {
  margin: 1rem 0;
}

.site-footer h4 {
  margin: 1rem 0 0;
}

.site-footer.footer-jk {
  background: var(---darkblue);
  color: white;
}
.site-footer.footer-sta {
  background: var(---scarlet);
  color: white;
}

/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/

.subtitle {
    margin-top: calc(-1 * var(--title-margin-bottom));
    margin-bottom: var(--title-margin-bottom);
}

.jk-card {
  padding: 3rem;
  gap: 3rem;
}

.jk-card p:first-child {
  color: var(---petrolblue);
  font-size: 1.25rem;
}
.jk-card p:last-child {
  color: var(---petrolblue)
}

.journal-article {
  gap: 1.3rem;
  align-items: stretch;  
}

.jk-card figure,
.journal-article figure {
  flex-shrink: 0;
}

.mt-auto {
  margin-top: auto;
}

.file-card {
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.fa-chevron-left,
.fa-chevron-right {
  margin-left: 4px;
  transition: all .2s;
}

.wp-block-button:hover .fa-chevron-left,
*:hover > .fa-chevron-left,
.wp-block-button:hover .fa-chevron-right,
*:hover > .fa-chevron-right {
  margin-left: 8px;
  transition: all .2s;
}

.mb-0 {
  margin-bottom: 0!important;
}

@media screen and (max-width: 600px) {
  .journal-article,
  .jk-card {
    flex-direction: column;
  }

  .wrap-on-mobile {
    flex-wrap: wrap!important;
  }
  
}

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

.entry-content>* {
  width: var(--normal-width);
  margin-left: auto;
  margin-right: auto;
}

.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;
}

.alignwide {
  width: var(--wide-width);
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: var(--full-width);
  margin-left: 0;
  margin-right: 0;
}

/* colors */
.has-petrolblue-color {
  color: var(---petrolblue)!important;
}
.has-petrolblue-background-color {
  background-color: var(---petrolblue);
}
.wp-block-button__link.has-petrolblue-background-color:hover {
  background-color: var(---petrolblue_strong);
  opacity: 1;
}
.wp-block-button__link.has-petrolblue-color:hover {
  color: var(---petrolblue_strong)!important;
}
.has-petrolblue-strong-color {
  color: var(---petrolblue_strong)!important;
}
.has-petrolblue-strong-background-color {
  background-color: var(---petrolblue_strong);
}
.wp-block-button__link.has-petrolblue-strong-background-color:hover {
  background-color: var(---petrolblue);
  opacity: 1;
}
.wp-block-button__link.has-petrolblue-strong-color:hover {
  color: var(---petrolblue)!important;
}
.has-darkblue-color {
  color: var(---darkblue)!important;
}
.has-darkblue-background-color {
  background-color: var(---darkblue);
}
.wp-block-button__link.has-darkblue-background-color:hover {
  background-color: var(---darkblue);
  opacity: 1;
}
.wp-block-button__link.has-darkblue-color:hover {
  color: var(---darkblue)!important;
}
.has-turquoise-color {
  color: var(---turquoise)!important;
}
.has-turquoise-background-color {
  background-color: var(---turquoise);
}
.wp-block-button__link.has-turquoise-background-color:hover {
  background-color: var(---turquoise);
  opacity: 1;
}
.wp-block-button__link.has-turquoise-color:hover {
  color: var(---turquoise)!important;
}
.has-orange-color {
  color: var(---orange)!important;
}
.has-orange-background-color {
  background-color: var(---orange);
}
.wp-block-button__link.has-orange-background-color:hover {
  background-color: var(---orange_strong);
  opacity: 1;
}
.wp-block-button__link.has-orange-color:hover {
  color: var(---orange_strong)!important;
}
.has-light-color {
  color: var(---light)!important;
}
.has-light-background-color {
  background-color: var(---light);
}
.wp-block-button__link.has-light-background-color:hover {
  background-color: var(---light);
  opacity: 1;
}
.wp-block-button__link.has-light-color:hover {
  color: var(---light)!important;
}
.has-jkwhite-color {
  color: white!important;
}
.has-jkwhite-background-color {
  background-color: white;
}
.wp-block-button__link.has-jkwhite-background-color:hover {
  background-color: #F5F5F5;
  opacity: 1;
}
.wp-block-button__link.has-jkwhite-color:hover {
  color: white!important;
}
.has-black-color {
  color: black!important;
}
.has-black-background-color {
  background-color: black;
}
.wp-block-button__link.has-black-background-color:hover {
  background-color: black;
  opacity: 1;
}
.wp-block-button__link.has-black-color:hover {
  color: black!important;
}
.has-scarlet-color {
  color: var(---scarlet)!important;
}
.has-scarlet-background-color {
  background-color: var(---scarlet);
}
.wp-block-button__link.has-scarlet-background-color:hover {
  background-color: var(---orange);
  opacity: 1;
}
.wp-block-button__link.has-scarlet-color:hover {
  color: var(---scarlet)!important;
}
.has-light-orange-color {
  color: var(---light-orange)!important;
}
.has-light-orange-background-color {
  background-color: var(---light-orange);
}
.wp-block-button__link.has-light-orange-background-color:hover {
  background-color: var(---light-orange);
  opacity: 1;
}
.wp-block-button__link.has-light-orange-color:hover {
  color: var(---light-orange)!important;
}

/* outlined */
.is-style-outline .has-petrolblue-background-color {
  border-color: var(---petrolblue);
  color: var(---petrolblue)!important;
}
.is-style-outline .wp-block-button__link.has-petrolblue-background-color:hover {
  border-color: var(---petrolblue);
  background-color: var(---petrolblue);
}
.is-style-outline .wp-block-button__link.has-petrolblue-color:hover {
  color: var(---petrolblue)!important;
}
.is-style-outline .has-petrolblue-strong-background-color {
  border-color: var(---petrolblue_strong);
  color: var(---petrolblue_strong)!important;
}
.is-style-outline .wp-block-button__link.has-petrolblue-strong-background-color:hover {
  border-color: var(---petrolblue_strong);
  background-color: var(---petrolblue_strong);
}
.is-style-outline .wp-block-button__link.has-petrolblue-strong-color:hover {
  color: var(---petrolblue_strong)!important;
}
.is-style-outline .has-darkblue-background-color {
  border-color: var(---darkblue);
  color: var(---darkblue)!important;
}
.is-style-outline .wp-block-button__link.has-darkblue-background-color:hover {
  border-color: var(---darkblue);
  background-color: var(---darkblue);
}
.is-style-outline .has-turquoise-background-color {
  border-color: var(---turquoise);
  color: var(---turquoise)!important;
}
.is-style-outline .wp-block-button__link.has-turquoise-background-color:hover {
  border-color: var(---turquoise);
  background-color: var(---turquoise);
}
.is-style-outline .has-orange-background-color {
  border-color: var(---orange);
  color: var(---orange)!important;
}
.is-style-outline .wp-block-button__link.has-orange-background-color:hover {
  border-color: var(---orange);
  background-color: var(---orange);
}
.is-style-outline .wp-block-button__link.has-orange-color:hover {
  color: var(---orange)!important;
}
.is-style-outline .has-light-background-color {
  border-color: var(---light);
  color: var(---light);
}
.is-style-outline .wp-block-button__link.has-light-background-color:hover {
  border-color: var(---light);
  background-color: var(---light);
}
.is-style-outline .has-jkwhite-background-color {
  border-color: white;
  color: white!important;
}
.is-style-outline .wp-block-button__link.has-jkwhite-background-color:hover {
  border-color: white;
  background-color: white;
}
.is-style-outline .has-black-background-color {
  border-color: black;
  color: black!important;
}
.is-style-outline .wp-block-button__link.has-black-background-color:hover {
  border-color: black;
  background-color: black;
}
.is-style-outline .has-scarlet-background-color {
  border-color: var(---scarlet);
  color: var(---scarlet)!important;
}
.is-style-outline .wp-block-button__link.has-scarlet-background-color:hover {
  border-color: var(---scarlet);
  background-color: var(---scarlet);
}
.is-style-outline .wp-block-button__link.has-scarlet-color:hover {
  color: var(---scarlet)!important;
}
.is-style-outline .has-light-orange-background-color {
  border-color: var(---light-orange);
  color: var(---light-orange)!important;
}
.is-style-outline .wp-block-button__link.has-light-orange-background-color:hover {
  border-color: var(---light-orange);
  background-color: var(---light-orange);
}
.is-style-outline .wp-block-button__link.has-light-orange-color:hover {
  color: var(---light-orange)!important;
}