html,
*,
*::after,
*::before {
    box-sizing: border-box;
}

* {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --ib-font: 'Jost', sans-serif;

    --ib-accent-color: #EB8D2B;
    
    --ib-main-text-color: #333333;
    --ib-light-text-color: #FFFFFF;

    --ib-small-font-size: 14px;
    --ib-main-font-size: 18px;
    --ib-big-font-size: 24px;

    --ib-main-line-heigth: 1.6;

    --ib-main-font-weight: 300;
    --ib-bold-font-weight: 900;

    --ib-letter-spacing: 4px;
}

#page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.main {
    flex-grow: 1;
}

body {
    font-family: var(--ib-font);
    font-size: var(--ib-main-font-size);
    line-height: var(--ib-main-line-heigth);
    font-weight: var(--ib-main-font-weight);
    color: var(--ib-main-text-color);
}

.container {
    max-width: min(1200px, 100% - 30px);
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
  }

.main-headline {
    font-size: var(--ib-big-font-size);
    letter-spacing: var(--ib-letter-spacing);
    font-weight: var(--ib-bold-font-weight);
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 4px 20px;
    border: 5px solid #000;
}

.main-button {
    background-color: var(--ib-accent-color);
    border-radius: 3px;
    padding: 10px 40px;
    border: none;
    color: var(--ib-light-text-color);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: var(--ib-letter-spacing);
    transition: background-color .3s, color .3s;

    background: #5495df;
}
.main-button:hover,
.main-button:focus-visible {
    background-color: #000;
    color: #FFF;
   
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all .3s;
}

.home .header {
    color: var(--ib-light-text-color);
}

.home .header .logo {
    color: #FFF;
    /* background: #0575E6;  /* fallback for old browsers */
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.home .header__mobile-menu-btn span {
    background-color: #FFF;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo {
    font-size: var(--ib-big-font-size);
    font-weight: var(--ib-bold-font-weight);
    letter-spacing: var(--ib-letter-spacing);
    background: -webkit-linear-gradient(to right, #021B79, #0575E6);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #021B79, #0575E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav .menu {
    display: flex;
    text-transform: uppercase;
    letter-spacing: var(--ib-letter-spacing);
}

.nav .menu .menu-item a {
    display: inline-block;
    padding: 4px 20px;
    transition: color .3s;
}

.nav .menu .menu-item a:hover,
.nav .menu .menu-item a:focus-visible {
    color: var(--ib-accent-color);
}

.header__mobile-menu-btn {
    height: 30px;
    width: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 0;
}
.home .header__mobile-menu-btn:hover span,
.home .header__mobile-menu-btn:focus-visible span {
    background-color: var(--ib-accent-color);
}

.header__mobile-menu-btn span {
    height: 2px;
    width: 100%;
    background-color: #000;
    transition: background-color .3s;
}

.header.header--scrolled {
    background-color: #FFF;
    color: var(--ib-main-text-color);
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.header.header--scrolled .header__mobile-menu-btn span {
    background-color: #000;
}
.header.header--scrolled .logo {
    background: -webkit-linear-gradient(to right, #021B79, #0575E6);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #021B79, #0575E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.calculator {
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    margin-top: -105px;
    text-align: center;
}

.calculator::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0,0,0,0.5); */
    pointer-events: none;

    background: #0575E6;  /* fallback for old browsers */
    background: -webkit-linear-gradient(135deg, rgb(2 15 61 / 90%), rgb(0 0 0 / 50%));  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(135deg, rgb(2 15 61 / 90%), rgb(0 0 0 / 50%))
}

.calculator__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    color: var(--ib-light-text-color);
    padding: 200px 0 100px;
}

.calculator__headline {
    border-color: #FFF;
   
}

.calculator__text {
    max-width: 600px;
    margin: 10px 0 30px;
}
.calculator__text a {
    text-decoration: underline;
}

.calculator__form {
    max-width: 600px;
    width: 100%;
    margin-bottom: 60px;
}

.calculator__input {
    width: 100%;
    height: 50px;
    font-size: 20px;
    outline: none;
    margin-bottom: 16px;
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #FFF;
    color: #FFF;
    font-weight: 300;
    letter-spacing: var(--ib-letter-spacing);
    color-scheme: dark;
}
select.calculator__input {
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    position: relative;
} 
.calculator__input::placeholder {
    color: #FFF;
}

.calculator__label {
    font-size: var(--ib-small-font-size);
    letter-spacing: var(--ib-letter-spacing);
    opacity: 0.8;
}
.calculator__button {
    margin-top: 10px;
    background-color: #FFF;
    color: #000;
}
.calculator__result,
.calculator__error {
    border: 3px solid #0575E6;
    padding: 20px;
    margin-top: 20px;
    font-weight: var(--ib-bold-font-weight);
    background-color: rgba(0, 0, 0, 0.3);
}
.calculator__error {
    border-color: #ff2d2d;
    color: #ff9393;
}

.calculator .ads {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
    gap: 16px;
    flex-wrap: wrap;
}
.calculator .ads img {
    max-width: 100%;
}

.main-content {
    padding: 50px 0;
}

.main-content__text h1,
.main-content__text h3,
.main-content__text h2 {
    margin: 24px 0 8px;
    background: -webkit-linear-gradient(to right, #021B79, #0575E6);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #021B79, #0575E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.main-content__text ul {
    list-style: disc;
    padding-left: 30px;
}
.main-content__text p + p {
    margin-top: 16px;
}
.main-content__text a {
    text-decoration: underline;
}
.main-content__text .wpcf7 {
    max-width: 600px;
    margin: 24px 0;
}
.main-content__text .main-input {
    height: 40px;
    border-radius: 3px;
    background-color: #EEE;
    border: none;
    width: 100%;
}
.main-content__text textarea.main-input {
    height: 150px;
    resize: none;
}

.footer {
    background: #000;  /* fallback for old browsers */
    color: var(--ib-light-text-color);
    text-align: center;
}
.footer .nav {
    justify-content: center;
}

.footer .nav .menu .menu-item a:hover,
.footer .nav .menu .menu-item a:focus-visible {
    color: #000;
}

@media (max-width: 850px) {
    .footer .nav {
        display: block;
    }
    .footer__text {
        text-align: center; 
        margin-bottom: 40px;
    }
    .footer .nav .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .header .nav .menu {
        display: none;
    }
    .header__mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }
    .main-content {
        padding: 40px 0;
    }
}

.mobile-menu {
    display: none;
}

.faq {
    padding: 40px 0;
    background: linear-gradient(135deg, #021045, #0052a4);
    color: #FFF;
    text-align: center;
}
.faq__headline {
    display: inline-block;
   text-align: center;
    border-color: #FFF;
    margin-bottom: 40px;
}
.faq__list {
    text-align: left;
}
.faq__accordion-header {
    padding: 20px;
    border: 1px solid #FFF;
    position: relative;
    cursor: pointer;
    letter-spacing: var(--ib-letter-spacing);
    font-weight: normal;
    padding-right: 80px;
}

.faq__accordion-content {
    border: 1px solid #FFF;
    border-top: none;
    transition: all .4s ease ;
    max-height: 0;
    overflow: hidden;
    border-bottom-width: 0;
}
.faq__accordion-content-inner {
    padding: 20px;
}
.faq__accordion-header::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 41px;
    height: 41px;
    background-image: url('../img/icons/plus.svg');
    background-size: cover;
    transition: transform .3s ease;
}
.faq__accordion.faq__accordion--opened .faq__accordion-content {
    border-bottom-width: 1px;
}
.faq__item + .faq__item .faq__accordion-header {
    border-top: none;
}

.faq__accordion.faq__accordion--opened .faq__accordion-header::after {
    transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 600px) {
    .faq__accordion-header {
        letter-spacing: 0;
        padding: 20px 10px;
        padding-right: 80px;
    }
}

.results {
    padding: 40px 0;
}

.results__headline {
    text-align: center;
}
.results__headline .main-headline {
    display: inline-block;
    background: -webkit-linear-gradient(to right, #021B79, #0575E6);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #021B79, #0575E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.results td,
.results th {
    border: 1px solid #000;
    padding: 10px;
}

.results table {
    width: 100%;
}
.results .table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}
.results tr:has(th) {
    background: linear-gradient(to right, #021B79, #0575E6);
    color: #FFF;
}
.results tr:nth-child(even) {
    background-color: #edf8ff;
}
.results h3 {
    margin: 40px 0 10px;
    background: -webkit-linear-gradient(to right, #021B79, #0575E6);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #021B79, #0575E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.results td:has(.copy-btn) {
    padding: 0;
}
.results .copy-btn {
    width: 100%;
    height: 100%;
    display: block;
    height: 49px;
    color: #000;
    text-decoration: underline;
    background-color: transparent;
    border: none;
}
.results .vertical-table tr:has(th)  {
    background: none;
    color: #000;
}
.results .vertical-table th {
    background: -webkit-linear-gradient(to right, #021B79, #0575E6);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #021B79, #0575E6);
    color: #FFF;
}

@media (max-width: 600px) {
    .main-headline {
        font-size: 18px;
        letter-spacing: 2px;
        border-width: 3px;
    }
}

.results + .main-content {
    padding-top: 0;
}

.main-content .wp-post-image {
	max-width: 100%;
}

.articles-page__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 40px 16px;
}
.articles-page__list .post {
	display: flex;
	flex-direction: column;
}
.articles-page__list .post .wp-post-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	contain-intrinsic-size: revert;
}
.articles-page__list .post h2 {
	font-size: 22px;
	line-height: 1.5;
	margin-bottom: 16px;
	min-height: 98px;
}
.articles-page__list .post .main-button {
	display: inline-block;
	margin-top: 24px;
	display: block;
	margin-top: auto;
}
.articles-page__list .post p {
	margin-bottom: 24px;
}

@media (max-width: 900px) {
	.articles-page__list {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.articles-page__list {
		display: block;
	}
	.articles-page__list .post + .post {
		margin-top: 40px;
	}
}

.menu-item-has-children {
	position: relative;
}
.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 250px;
	background-color: #FFF;
	color: #000;
	box-shadow: 0 0 20px rgba(0,0,0,0.3);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}
.sub-menu a {
	display: block;
	padding: 10px;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-visible > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.page-404 {
    text-align: center;
}
.page-404 a {
    margin-top: 40px; 
    display: inline-block;
    padding: 10px 50px;
    width: auto;
}

.page-404__number {
    font-size: 200px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 600px) {
    .page-404__number {
        font-size: 100px;
    }
}

.air-datepicker {
    font-family: inherit;
    max-width: calc(100vw - 30px);
    width: 600px;
    background-color: rgba(0,0,0, 0.95);
    color: #FFF;
    border-color: #575757;
}
.air-datepicker-nav--title {
    font-weight: 700;
    /* background: -webkit-linear-gradient(to right, #021B79, #0575E6);
    background: linear-gradient(to right, #021B79, #0575E6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
}
.air-datepicker-cell {
    font-weight: 700;
}
.air-datepicker-body--day-name {
    color: #CCC;
}
.air-datepicker-body--cells.-days- {
    grid-auto-rows: 50px;
}
.air-datepicker-nav--title i {
    color: #FFF;
}
.air-datepicker-cell.-day-.-other-month-:hover,
.air-datepicker-cell.-day-:hover {
    color: #000;
}