/* Medozons theme — стили, адаптированные из haensler-medical.de */

/* ===== Reset / base ===== */
*,
*::after,
*::before {
  box-sizing: border-box;
}

body,
html {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  color: #1a1a1a;
  background-color: #fff;
}

figure {
  margin: 0;
}

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

a {
  color: #090;
  text-decoration: none;
}

a:visited {
  color: #090;
}

a:active,
a:hover {
  color: #00bc4c;
}

/* ===== Typography ===== */
body,
html {
  font-family: Jost, Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 14px;
  line-height: 29px;
}

.p {
  font-size: 14px;
  line-height: 29px;
}

.has-big-font-size {
  font-weight: 600;
  font-size: 15px;
  line-height: 29px;
}

.h1, h1 {
  font-size: 25px;
  line-height: 35px;
  margin-top: 60px;
  margin-bottom: 20px;
}

.h2, h2 {
  font-size: 21px;
  line-height: 30px;
}

.h3, h3 {
  font-size: 18px;
  line-height: 26px;
}

.h4, h4 {
  font-size: 17px;
  line-height: 26px;
}

.h5, h5 {
  font-size: 16px;
  line-height: 24px;
}

.h6, h6 {
  font-size: 15px;
  line-height: 24px;
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

p {
  margin-bottom: 20px;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

p + ul {
  margin-top: -15px;
}

.h2, .h3, .h4, .h5, .h6,
h2, h3, h4, h5, h6 {
  margin: 60px 0 30px;
}

.h2:first-child, .h3:first-child, .h4:first-child, .h5:first-child, .h6:first-child,
h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}

.h2:last-child, .h3:last-child, .h4:last-child, .h5:last-child, .h6:last-child,
h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child {
  margin-bottom: 0;
}

.Site-content ul {
  padding-left: 19px;
  list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 2l4 4-4 4' fill='none' stroke='%23009900' stroke-width='2'/%3E%3Cpath d='M6 2l4 4-4 4' fill='none' stroke='%23009900' stroke-width='2'/%3E%3C/svg%3E");
}

/* ===== Color helpers ===== */
.has-green-color,
.has-green-color a {
  color: #090 !important;
}

.has-green-background-color {
  background-color: #090 !important;
  color: #fff;
}

.has-blue-color,
.has-blue-color a {
  color: #005468 !important;
}

.has-blue-background-color {
  background-color: #005468 !important;
  color: #fff;
}

.has-grey-color,
.has-grey-color a {
  color: #919191 !important;
}

.has-grey-background-color {
  background-color: #919191 !important;
  color: #1a1a1a;
}

.has-light-grey-color,
.has-light-grey-color a {
  color: #f5f5f5 !important;
}

.has-light-grey-background-color {
  background-color: #f5f5f5 !important;
  color: #1a1a1a;
}

.has-white-color,
.has-white-color a {
  color: #fff !important;
}

.has-white-background-color {
  background-color: #fff !important;
  color: #1a1a1a;
}

.has-black-color,
.has-black-color a {
  color: #1a1a1a !important;
}

.has-black-background-color {
  background-color: #1a1a1a !important;
  color: #fff;
}

.has-light-blue-to-light-green-gradient-background {
  background-image: linear-gradient(225deg, #00bc4c 0, #0776a3 100%) !important;
  color: #fff;
}

/* ===== Inputs ===== */
input[type=text],
input[type=tel],
input[type=email],
textarea,
select {
  border: 1px solid #a8a8a8;
  padding: 15px;
  border-radius: 0;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
}

/* ===== Buttons ===== */
.button,
.wp-block-button__link,
a.wp-block-button__link,
button,
input[type=button],
input[type=submit] {
  font-size: 15px;
  line-height: 15px;
  padding: 14px 40px 15px;
  background-color: #090;
  color: #fff;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  margin: 0;
  display: inline-block;
  text-align: center;
  transition: transform 0.25s ease-out;
}

.wp-block-button__link:hover,
a.wp-block-button__link:hover {
  transform: scale(1.1);
}

.wp-block-button__link.is-footer-button,
a.wp-block-button__link.is-footer-button {
  border: 1px solid #fff;
  border-radius: 24px;
  background: 0 0;
}

.wp-block-button__link.is-style-outline,
a.wp-block-button__link.is-style-outline {
  color: #090;
  background-color: transparent;
  border: 2px solid currentColor;
}

/* ===== Layout ===== */
.Content {
  width: calc(100% - 75px);
  margin: 0 auto;
}

.alignwide {
  margin-left: -38px;
  margin-right: -38px;
}

.alignwide--left,
.alignwide--right {
  width: auto;
}

.alignwide--left {
  margin-left: -38px;
  margin-right: 0;
}

.alignwide--right {
  margin-left: 0;
  margin-right: -38px;
}

/* ===== Banner ===== */
.Banner {
  background: transparent linear-gradient(250deg, #00bc4c 0, #0776a3 100%) 0 0 no-repeat padding-box;
  background-size: cover;
  height: 140px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  z-index: 30;
}

.Banner--home {
  height: auto;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.Banner--home:before {
  position: absolute;
  content: ' ';
  display: block;
  height: 100%;
  width: 100%;
  background: transparent linear-gradient(270deg, rgba(0, 84, 104, 0) 0, rgba(0, 84, 104, 0) 45%, #005468 100%) 0 0 no-repeat padding-box;
  background-size: cover;
  opacity: 1;
}

.Banner-header {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  width: 100%;
  height: 90px;
  z-index: 12;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.122);
}

.Banner-header .Brand-image,
.Banner-header .custom-logo {
  max-width: 300px;
}

.Banner-content {
  z-index: 5;
  align-self: center;
  position: relative;
  padding-top: 5.5vh;
}

.Banner-content .h4 {
  font-weight: 400;
}

.Banner-content .h6 {
  font-weight: 400;
}

.Banner-content h1 {
  margin: 0;
  font-size: 40px;
  line-height: 50px;
}

.Banner-content .wp-block-buttons {
  justify-content: flex-start;
}

.Banner-content .wp-block-columns {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.Banner-content .wp-block-column:first-child {
  max-width: 800px;
}

.Banner-content .wp-block-column:last-child {
  max-width: 800px;
  margin-bottom: 0;
  margin-left: 0 !important;
}

.Banner-content .wp-block-column:last-child .wp-block-buttons {
  margin-top: 10px;
}

.Banner-meta {
  z-index: 10;
  align-self: flex-end;
  margin-bottom: 0;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.Banner-meta .wp-block-column,
.Banner-meta .wp-block-columns {
  margin-bottom: 0 !important;
}

.Banner-meta-search {
  transform: translateY(50%);
}

.Banner-meta-search.has-white-background-color {
  padding: 0 2rem 0 0;
}

.Banner-meta-search form {
  position: relative;
  display: flex;
  align-items: center;
}

.Banner-meta-search form label {
  margin-right: 18px;
  padding-top: 4px;
  width: 24px;
  height: 24px;
  box-sizing: content-box;
}

.Banner-meta-search form input[type=text] {
  line-height: 3.556rem;
  font-size: 0.889rem;
  margin: 0 0 30px 0;
  padding: 4px 0 0 0;
  border: 0;
  border-bottom: 2px solid #090;
  width: 100%;
  border-radius: 0;
  margin: 0;
  padding-right: 3rem;
  background: transparent;
}

.Banner-meta-search form button {
  position: absolute;
  right: 0;
  border: none;
  background: 0 0;
  margin: 0;
  padding: 1rem 0 1rem 2rem;
  cursor: pointer;
}

.Banner-button.wp-block-button__link {
  border: solid 1px #fff !important;
  background-color: transparent !important;
}

/* ===== Brand ===== */
.Brand {
  display: block;
  margin-right: 2em;
  text-decoration: none;
}

.Brand-image,
.custom-logo {
  width: 100%;
  max-width: 300px;
  max-height: 60px;
  object-fit: contain;
  display: block;
  margin: 0;
}

.Brand-title {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== Fixed meta (phone/email) ===== */
.fixedMeta {
  position: fixed;
  top: 35%;
  right: 30px;
}

.fixedMeta-item {
  height: 50px;
  width: 50px;
  border-radius: 25px;
  background: #fff 0 0 no-repeat padding-box;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.071);
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fixedMeta-item-email {
  margin-left: 11px;
  margin-top: 14px;
}

.fixedMeta-item-phone {
  margin-top: 12px;
  margin-left: 12px;
}

/* ===== Meta row (contact button + mobile toggle) ===== */
.Meta {
  display: flex;
  align-items: center;
}

.Meta > .wp-block-buttons {
  margin-left: 17px;
}

.Meta svg {
  display: block;
}

.Meta .wp-block-buttons {
  margin-top: 0;
}

.Meta .wp-block-buttons .wp-block-button {
  margin-bottom: 0;
}

/* ===== Navigation ===== */
.Navigation-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.Navigation-list-item-link {
  display: block;
  text-decoration: none;
}

.Navigation-list-item.current-menu-item > a,
.Navigation-list-item.current-page-ancestor > a,
.Navigation-list-item:hover > a {
  color: #090 !important;
}

.Navigation--mobile-toggle {
  font-size: 18px;
  line-height: 74px;
  display: flex;
  align-items: center;
  color: #090;
}

.Navigation--mobile-toggle svg {
  margin-left: 10px;
}

.Navigation--primary {
  display: none;
}

.Navigation--primary a {
  font-weight: 500;
}

.Navigation--primary > ul {
  display: flex;
}

.Navigation--primary .Navigation-list-item {
  margin: 0 25px;
}

.Navigation--primary .Navigation-list-item-link,
.Navigation--primary .Navigation-list-item-link:visited {
  color: #1a1a1a;
}

.Navigation--primary .Navigation-list-item-link:hover,
.Navigation--primary .Navigation-list-item-link:visited:hover {
  color: #00bc4c;
}

.Navigation--primary .Navigation-list-item--level-0 {
  position: relative;
  padding: 15px 0;
}

.Navigation--primary .Navigation-list-item--level-0:hover .Navigation-list-item-submenu--level-0 {
  opacity: 1;
  visibility: visible;
}

.Navigation--primary .Navigation-list-item--level-0 * {
  list-style: none;
  line-height: 1.3;
  padding: 0;
}

.Navigation--primary .Navigation-list-item-submenu--level-0 {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), font-weight 0s;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  height: auto;
}

.Navigation--meta .Navigation-list {
  display: flex;
  flex-wrap: wrap;
  word-break: initial;
  overflow-wrap: initial;
}

.Navigation--meta .Navigation-list-item {
  margin-right: 30px;
}

.Navigation--meta .Navigation-list-item.current-menu-item > a,
.Navigation--meta .Navigation-list-item.current-page-ancestor > a,
.Navigation--meta .Navigation-list-item:hover > a {
  color: inherit !important;
}

.Navigation--meta .Navigation-list-item-link {
  font-size: 14px;
  line-height: 24px;
}

.Navigation--footer {
  margin-top: 10px;
}

.Navigation--footer .Navigation-list {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + 30px);
  margin-bottom: 20px;
}

.Navigation--footer .Navigation-list-item--level-0 {
  width: calc(33.33% - 30px);
  margin-right: 30px;
  margin-bottom: 30px;
}

.Navigation--footer .Navigation-list-item--level-0 > a {
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 30px;
}

.Navigation--footer .Navigation-list-item.current-menu-item > a,
.Navigation--footer .Navigation-list-item.current-page-ancestor > a,
.Navigation--footer .Navigation-list-item:hover > a {
  color: inherit !important;
}

.Navigation--footer .Navigation-list-item-submenu {
  list-style: none;
  padding-left: 0;
}

.Navigation--footer .Navigation-list-item-submenu .Navigation-list-item > a {
  font-size: 20px;
  line-height: 36px;
  font-weight: 500;
}

.Site-header {
  padding: 0 30px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.Site-content a {
  border-bottom: 1px solid currentColor;
}

/* ===== Footer ===== */
.Footer {
  padding-top: 90px;
}

.Footer-main.wp-block-columns {
  margin-bottom: 0;
}

.Footer-main.wp-block-columns > .wp-block-column {
  margin-bottom: 0;
}

.Footer-main .Footer-button--desktop a {
  font-weight: 300;
}

.Footer-main .Footer-button--desktop.wp-block-column .wp-block-buttons {
  min-width: 0;
  width: auto;
  margin-bottom: 60px;
}

.Footer-main .wp-block-column {
  display: flex;
  flex-wrap: wrap;
}

.Footer-main .wp-block-column > * {
  min-width: 100%;
}

.Footer-main .wp-block-column > :last-child {
  align-self: flex-start;
}

.Footer-title.h1 {
  font-size: 30px;
  line-height: 40px;
}

.Footer-excerpt {
  max-width: 620px;
  min-width: unset !important;
  margin-bottom: 30px;
  font-size: 25px;
  line-height: 40px;
}

.Footer-button--desktop {
  display: none;
  padding-left: 0 !important;
}

.Footer-footnail .wp-block-columns,
.Footer-footnail.wp-block-columns {
  flex-direction: row-reverse;
  margin-bottom: 0;
}

.Footer-footnail > * {
  margin-bottom: 0 !important;
}

.Footer-footnail .wp-block-buttons {
  margin-top: 0 !important;
}

.Footer-footnail-funded > * {
  margin-bottom: 5px;
}

.Footer-footnail-funded > :last-child {
  margin-bottom: 0;
}

.Footer-footnail .Footer-footnail-links {
  display: flex;
  align-items: flex-end;
}

.Footer-footnail .Footer-footnail-links .Navigation-list-item {
  margin-right: 30px;
}

.Footer-footnail .Footer-footnail-links .Navigation-list-item:last-child {
  margin-right: 0;
}

.Footer-footnail-company-text {
  font-size: 18px;
}

.Footer-footnail-company-text--500 {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.Site-footer {
  margin-top: 60px;
  margin-bottom: 0 !important;
  background-image: linear-gradient(225deg, #00bc4c 0, #0776a3 100%);
  background-size: cover;
}

/* ===== SEO heading ===== */
.seo-headline {
  color: #cbcbcb;
  font-size: 18px;
  margin-bottom: 0;
  text-transform: uppercase;
}

.SEOHeading h1,
.SEOHeading h2,
.SEOHeading h3,
.SEOHeading h4,
.SEOHeading h5,
.SEOHeading h6,
.SEOHeading-heading {
  margin: 10px 0;
  font-weight: 300;
  color: #919191 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.SEOHeading p,
.SEOHeading-fauxHeading {
  margin: 10px 0 !important;
}

/* ===== Gutenberg blocks ===== */
.wp-block-buttons {
  margin-top: 30px;
}

.wp-block-buttons .wp-block-button {
  margin-right: 30px;
}

.wp-block-button a {
  border-bottom: 0;
}

.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  width: 100%;
}

.wp-block-columns:last-child {
  margin-bottom: 0;
}

.wp-block-columns .wp-block-column {
  flex-basis: 100% !important;
  margin-bottom: 30px;
}

.wp-block-columns .wp-block-column:not(:first-child) {
  margin-left: 0;
}

.wp-block-cover {
  padding: 30px;
}

.wp-block-group {
  margin-top: 60px;
  margin-bottom: 60px;
}

.wp-block-group .wp-block-group {
  margin: 0 !important;
}

.wp-block-group__inner-container {
  margin: 0 auto;
  max-width: 100%;
}

.wp-block-group__inner-container > :first-child {
  margin-top: 0;
}

.wp-block-group__inner-container > :last-child {
  margin-bottom: 0;
}

.wp-block-group.has-background {
  padding: 30px;
}

.wp-block-heading h1,
.wp-block-heading h2,
.wp-block-heading h3,
.wp-block-heading h4,
.wp-block-heading h5,
.wp-block-heading h6 {
  padding: 0;
  margin: 0;
  margin-bottom: 1em;
  line-height: 0.9;
}

.wp-block-heading h1 {
  font-size: 4em !important;
}

.wp-block-heading h2 {
  font-size: 3.25em !important;
}

.wp-block-heading h3 {
  font-size: 2.5em !important;
}

.wp-block-heading h4 {
  font-size: 1.75em !important;
}

.wp-block-heading h5,
.wp-block-heading h6 {
  font-size: 1em !important;
}

.wp-block-image {
  margin-bottom: 2.5em;
}

.wp-block-media-text {
  margin-top: 60px;
  margin-bottom: 60px;
}

.wp-block-media-text img {
  height: auto;
}

.wp-block-quote {
  position: relative;
  margin: 0;
  padding-left: 0;
  border-left: 0;
}

.wp-block-quote p {
  font-size: 16px;
  line-height: 29px;
  margin: 30px 0 15px;
  font-weight: 500;
}

.wp-block-quote p:before {
  content: "“ ";
}

.wp-block-quote p:after {
  content: " ”";
}

.wp-block-quote cite,
.wp-block-quote footer,
.wp-block-quote__citation {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
  font-style: normal;
  color: inherit;
}

.wp-block-table {
  margin: 4rem 0;
}

.wp-block-table table {
  margin: 0;
}

.wp-block-table figcaption {
  margin-top: 1rem;
}

.wp-block-table.is-style-stripes {
  margin-bottom: 4rem;
  border-bottom: none;
}

.wp-block-table.is-style-stripes table {
  border-left: none;
  border-top: 1px solid #cbcbcb;
  border-bottom: 1px solid #cbcbcb;
  margin-bottom: 0;
}

.wp-block-table.is-style-stripes th {
  border-bottom: 2px solid #1a1a1a;
}

.wp-block-table.is-style-stripes tfoot td {
  border-top: 2px solid #1a1a1a;
}

table {
  border-spacing: 0;
  empty-cells: show;
  font-size: inherit;
  margin: 4rem 0;
  max-width: 100%;
  overflow: hidden;
  text-align: left;
  border: none;
  border-radius: 0;
  border-collapse: collapse;
  background: 0 0;
}

table tr {
  border: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}

table tr:nth-child(2n) td,
table tr:nth-child(2n) th {
  background: 0 0;
}

table thead {
  border-bottom: none;
}

table td,
table th {
  vertical-align: top;
  border: 1px solid #eee !important;
  padding: 15px 21px;
}

table th {
  line-height: 1.5;
  margin: 0;
  overflow: visible;
}

table td {
  line-height: 1.5;
  margin: 0;
  overflow: visible;
  font-size: 0.9em;
}

table tfoot td {
  border-top: 2px solid #1a1a1a;
}

table td p {
  padding: 0;
  font-style: normal;
}

/* ===== PostList (cards) ===== */
.PostList {
  display: block;
}

.PostList-no-results {
  display: none;
}

.PostList-posts {
  margin-bottom: 30px;
}

.PostList-item {
  width: calc(100% - 30px);
  height: auto;
  margin-right: 30px;
  position: relative;
}

.PostList--filter .PostList-item,
.PostList--static .PostList-item {
  margin-bottom: 60px;
}

.PostList--filter .PostList-item:last-child,
.PostList--static .PostList-item:last-child {
  margin-bottom: 0;
}

.PostList-item a {
  border-bottom: 0;
}

.PostList-item-image {
  background-image: linear-gradient(225deg, #00bc4c 0, #0776a3 100%);
  background-size: cover;
  position: relative;
  padding-bottom: calc(100% / 16 * 9);
}

.PostList-item-image > * {
  position: absolute;
}

.PostList-item-link {
  display: block;
  width: 100%;
}

.PostList-item-link:hover .PostList-item-content-title {
  color: #090 !important;
}

.PostList-item-overlay {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.PostList-item-category {
  text-transform: uppercase;
  padding-top: 10px;
  bottom: 0;
  left: 0;
  max-width: calc(100% - 30px);
  word-wrap: break-word;
  hyphens: auto;
  padding: 15px 20% 0 0;
  letter-spacing: 1px;
  font-size: 12px;
  line-height: 1.3;
  background-color: #fff;
}

.PostList-item-content {
  padding: 40px 0 0;
  font-size: 14px;
}

.PostList-item-content .h6,
.PostList-item-content-title {
  margin-bottom: 30px;
}

.PostList-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.PostList--static .PostList-posts {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + 30px);
}

.PostList--static .PostList-item,
.PostList--static .PostList-placeholder {
  flex-grow: inherit;
  flex-shrink: inherit;
  flex-basis: auto;
}

.PostList--slider {
  position: relative;
  margin-bottom: 2em;
}

.PostList--slider .PostList-posts {
  display: flex;
  width: auto;
}

.PostList--slider .PostList-item {
  width: auto;
  margin: 0.5em 0.5em 1.5em 0.5em;
}

.PostList--slider .PostList-item-link {
  text-decoration: none;
}

.PostList--slider .PostList-item-image {
  width: 100%;
  object-fit: cover;
}

.PostList--slider .PostList-item-content {
  padding: 0.5em 0.75em 0.5em;
}

.PostList--slider .PostList-item-content-title {
  margin-bottom: 0;
}

.PostList--page .PostList-item-image {
  background-size: cover;
  background-position: center;
  height: 360px;
}

.PostList--page .PostList-item--post {
  align-items: baseline;
  width: calc(100% - 30px);
}

.swiper-button {
  width: 30px;
  height: 30px;
  color: #090;
}

.swiper-button:after {
  font-size: 24px;
}

.swiper-button-next {
  right: -30px;
}

.swiper-button-prev {
  left: -30px;
}

.swiper-buttons {
  display: flex;
  align-items: center;
}

/* ===== Pagination ===== */
.nav-links {
  display: flex;
  gap: 10px;
}

.nav-links .page-numbers {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 99px;
  background: #090;
  color: #fff;
  font-size: 15px;
}

.nav-links .page-numbers.current {
  background: #005468;
}

.nav-links .page-numbers:hover {
  transform: scale(1.1);
}

/* ===== Popup ===== */
.Popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.Popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1200px;
  max-height: 90%;
  overflow: auto;
  background: #fff;
  padding: 0;
}

.Popup-content > div {
  margin: 20px;
}

.Popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* ===== Breadcrumb ===== */
.Breadcrumb {
  display: none;
  font-size: 14px;
}

.Breadcrumb-delimiter {
  margin: 0 3px;
  color: #919191;
}

.Breadcrumb-item,
a:visited.Breadcrumb-item {
  color: #919191;
  text-decoration: none;
}

.Breadcrumb-item--active,
a:visited.Breadcrumb-item--active {
  color: #1a1a1a;
}

/* ===== Mobile menu ===== */
.Navigation--primary.is-open {
  display: block;
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  height: calc(100vh - 90px);
  background: #fff;
  z-index: 11;
  overflow-y: auto;
  padding: 20px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.Navigation--primary.is-open > ul {
  display: block;
}

.Navigation--primary.is-open .Navigation-list-item {
  margin: 0;
  border-bottom: 1px solid #f5f5f5;
}

.Navigation--primary.is-open .Navigation-list-item-link {
  padding: 15px 0;
}

.Navigation--primary.is-open .Navigation-list-item-submenu {
  display: none;
  padding-left: 20px;
  opacity: 1;
  visibility: visible;
  position: static;
  transform: none;
  background: transparent;
  box-shadow: none;
}

.Navigation--primary.is-open .Navigation-list-item.has-children.open > .Navigation-list-item-submenu {
  display: block;
}

.Navigation--primary.is-open .Navigation-list-item-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.Navigation--primary.is-open .Navigation-list-item.has-children > .Navigation-list-item-link::after {
  content: '+';
  font-size: 20px;
  color: #090;
  transition: transform 0.2s ease-out;
}

.Navigation--primary.is-open .Navigation-list-item.has-children.open > .Navigation-list-item-link::after {
  transform: rotate(45deg);
}

body.menu-open {
  overflow: hidden;
}

/* ===== Responsive ===== */
@media only screen {
  .Banner-content h1 {
    font-size: 32px;
    line-height: 46px;
  }
}

@media only screen and (min-width: 480px) {
  .Banner-content h1 {
    font-size: 50px;
    line-height: 60px;
  }

  body,
  html {
    font-size: 16px;
    line-height: 32px;
  }

  .p {
    font-size: 16px;
    line-height: 32px;
  }

  .h1, h1 {
    font-size: 30px;
    line-height: 42px;
  }

  .h2, h2 {
    font-size: 28px;
    line-height: 42px;
  }

  .h3, h3 {
    font-size: 24px;
    line-height: 38px;
  }

  .h4, h4 {
    font-size: 21px;
    line-height: 34px;
  }

  .h5, h5 {
    font-size: 19px;
    line-height: 31px;
  }

  .h6, h6 {
    font-size: 17px;
    line-height: 29px;
  }
}

@media only screen and (min-width: 600px) {
  .Banner {
    height: 180px;
  }

  .Banner--home {
    height: 80vh;
  }

  .Footer-button--desktop {
    display: block;
  }
}

@media only screen and (min-width: 680px) {
  .h1, h1 {
    font-size: 50px;
    line-height: 60px;
  }
}

@media only screen and (min-width: 768px) {
  .Banner {
    margin-bottom: 90px;
  }

  .Content {
    width: 85vw;
  }

  .alignwide--left {
    margin-left: calc(0px - (100vw - 85vw) / 2);
  }

  .alignwide--right {
    margin-right: calc(0px - (100vw - 85vw) / 2);
  }
}

@media only screen and (min-width: 860px) and (max-width: 1140px) {
  .wp-block-columns .wp-block-column {
    flex-basis: calc(50% - 15px) !important;
  }

  .wp-block-columns .wp-block-column:nth-child(2n) {
    margin-left: 30px;
  }
}

@media only screen and (min-width: 860px) {
  .wp-block-columns {
    width: calc(100% + 30px);
    margin-left: -30px;
  }

  .wp-block-columns .wp-block-column:first-child,
  .wp-block-columns .wp-block-column:not(:first-child) {
    margin-left: 0;
    padding-left: 30px;
  }
}

@media only screen and (min-width: 960px) {
  .PostList-item {
    width: calc(100% / 2 - 30px);
  }

  .PostList--page .PostList-item--post {
    width: calc(100% / 2 - 30px);
  }
}

@media only screen and (min-width: 1024px) {
  .Banner--home {
    margin-bottom: 155px;
  }

  .Banner-meta-search form label {
    margin-right: 36px;
  }

  .Breadcrumb {
    display: block;
  }

  .Content {
    width: 85vw;
  }

  .Footer-excerpt,
  .Footer-title.h1 {
    padding-right: 30px;
  }

  .Site-footer {
    margin-top: 120px;
    margin-bottom: 120px;
  }

  body,
  html {
    font-size: 18px;
    line-height: 36px;
  }

  .p {
    font-size: 18px;
    line-height: 36px;
  }

  .has-big-font-size {
    font-size: 20px;
    line-height: 34px;
  }

  .h1, h1 {
    margin-top: 120px;
    margin-bottom: 120px;
    font-size: 56px;
    margin-bottom: 30px;
    line-height: 74px;
  }

  .h2, h2 {
    font-size: 43px;
    line-height: 52px;
  }

  .h3, h3 {
    font-size: 34px;
    line-height: 52px;
  }

  .h4, h4 {
    font-size: 28px;
    line-height: 42px;
  }

  .h5, h5 {
    font-size: 24px;
    line-height: 37px;
  }

  .h6, h6 {
    font-size: 21px;
    line-height: 33px;
  }

  p {
    margin-bottom: 40px;
  }

  p + ul {
    margin-top: -40px;
  }

  .h2, .h3, .h4, .h5, .h6,
  h2, h3, h4, h5, h6 {
    margin: 80px 0 60px;
  }

  .wp-block-group {
    margin-top: 120px;
    margin-bottom: 120px;
  }

  .wp-block-group.has-background {
    padding: 50px;
  }

  .wp-block-media-text {
    margin-top: 120px;
    margin-bottom: 120px;
  }

  .PostList-item-content {
    font-size: 16px;
    line-height: 32px;
  }
}

@media only screen and (min-width: 1141px) {
  .wp-block-columns {
    flex-wrap: nowrap;
  }

  .wp-block-columns:last-child .wp-block-column {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1280px) {
  .Content {
    width: 85vw;
  }

  .Meta > .wp-block-buttons {
    margin-left: 30px;
  }

  .Navigation--mobile-toggle {
    display: none;
  }

  .Navigation--primary {
    display: flex;
    justify-content: center;
  }

  .Navigation--primary .Navigation-list-item-submenu--level-0 {
    background: #fff;
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.1);
    padding: 20px 0 10px;
    min-width: 280px;
  }

  .Navigation--primary .Navigation-list-item-submenu--level-0::before {
    position: absolute;
    content: '';
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 2px 0 0;
    transform: translateX(-50%) rotate(45deg);
    background: #fff;
  }

  .Navigation--primary .Navigation-list-item-submenu--level-0 a,
  .Navigation--primary .Navigation-list-item-submenu--level-0 a:visited {
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 10px;
  }

  .Navigation--primary .Navigation-list-item-submenu--level-0 a:hover,
  .Navigation--primary .Navigation-list-item-submenu--level-0 a:visited:hover {
    color: #00bc4c;
  }

  .Navigation--primary .Navigation-list-item-submenu--level-1 a {
    font-size: 14px;
    padding-bottom: 3px;
    border-bottom: 1px solid #f5f5f5;
  }

  .PostList-item {
    width: calc(100% / 3 - 30px);
  }

  .PostList--page .PostList-item--post {
    width: calc(100% / 4 - 30px);
  }
}

@media only screen and (min-width: 1440px) {
  .Banner-content h1 {
    font-size: 52px;
    line-height: 60px;
  }

  .Content {
    width: 1270px;
  }

  .Footer-title.h1 {
    font-size: 52px;
    line-height: 60px;
  }

  .h1, h1 {
    margin-bottom: 40px;
  }
}

@media only screen and (min-width: 1680px) {
  .Content {
    width: 1530px;
  }
}

@media only screen and (max-width: 1679px) {
  .Banner-content .wp-block-columns {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 1280px) {
  .Banner-content .wp-block-column {
    flex-basis: 100% !important;
  }
}

@media only screen and (max-width: 1279px) {
  .Meta .wp-block-buttons {
    display: none;
  }

  .fixedMeta {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {
  .Footer {
    padding-top: 60px;
  }

  .Footer-title.h1 {
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 1023px) {
  .Banner-meta-search .Content {
    border-bottom: 1px solid #005468;
  }

  .Banner-meta-search form input[type=text] {
    border-bottom: 0;
  }

  .Footer-main.wp-block-columns {
    flex-wrap: wrap;
  }

  .Footer-main.wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
    margin: 0;
  }

  .Footer-excerpt {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 30px;
  }
}

@media only screen and (max-width: 860px) {
  .Footer-footnail .Footer-footnail-company {
    margin-top: 30px;
  }

  .wp-block-columns .wp-block-column:last-child {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 599px) {
  .Navigation--footer {
    display: none;
  }
}

@media only screen and (max-width: 479px) {
  .Banner--home:before {
    background: transparent linear-gradient(270deg, rgba(0, 84, 104, 0) 0, #005468 100%) 0 0 no-repeat padding-box;
  }

  .Banner-content .wp-block-columns {
    margin-top: 28vh;
    margin-bottom: 8vh;
  }

  .Banner-content .wp-block-column:last-child p {
    display: none;
  }
}
