/*
Theme Name: WaveCode
Text Domain: WaveCode
Description: Theme for wave customers
Tags: responsive, fancy
Author: Noli Alickaj
Author URI: https://wavecode.no
*/

html {
    scroll-behavior: smooth;
}

:root {
    --blue: #3A94B0;
    --blueLight: #CEE4EB;
    --orange: #FAD35C;
    --orangeLight: #FDF2D3;
    --yellow: #FFDE59;
    --black: #000;
    --white: #fff;
}


@font-face {
    font-family: 'inter';
    src: url('/wp-content/themes/wavecode/assets/fonts/inter/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'inter';
    src: url('/wp-content/themes/wavecode/assets/fonts/inter/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'inter';
    src: url('/wp-content/themes/wavecode/assets/fonts/inter/Inter-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}



h1, h2, h3, h4, h5 {
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
}

p {
    margin: 0;
    line-height: 1.6;
}

.editor p {
    margin-bottom: 20px;
}
.editor {
    margin-top: 40px;
}
.editor img {
    margin-top: 40px;
    border-radius: 50px;
}
.editor a {
    color: var(--black);
    text-decoration: underline;
}
.editor ul {
    margin-top: -10px;
    margin-bottom: 30px;
}
.editor li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.editor h2, .editor h3 {
    font-size: 26px;
    margin-top: 50px;
    margin-bottom: 20px;
}
.editor h2:nth-of-type(1) {
    margin-top: 0;
}

a {
    text-decoration: none;
    vertical-align: bottom;
}
footer a {
    text-decoration: underline;
}

img {
    vertical-align: bottom;
    width: 100%;
    height: auto;
}

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

body {
    font-family: 'inter';
    font-weight: 300;
    color: var(--black);
    margin: 0;
    padding: 0;
    font-size: 18px;
}

header {
    position: relative;
    z-index: 9999;
    padding-top: 50px;
    padding-bottom: 50px;
}

footer {
    padding-top: 70px;
    padding-bottom: 60px;
}

strong {
    font-weight: 500;
}
/* ----------------------------------------------------- */

.logo {
    width: 212px;
}

.menu--header {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.menu--header li a {
    color: var(--black);
    padding: 12px 10px;
    border: 1px solid var(--black);
    border-radius: 14px;
    font-weight: 400;
}
.menu--header li a:hover {
    border-color: var(--blue);
}
.menu--footer {
    list-style: none;
    padding: 0;
    border-bottom: 1px solid var(--black);
}
.menu--footer a {
    display: block;
    width: 100%;
    font-size: 22px;
    font-weight: 400;
    color: var(--dark);
    border-top: 1px solid var(--black);
    padding-top: 10px;
    padding-bottom: 10px;
}


/* ----------------- GRID ----------------- */
.grid--3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
}
.grid--2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
}
.grid--hero {
    display: grid;
    grid-template-columns: 40% 1fr;
}
.grid--auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.col-gap--l {
    column-gap: 90px;
}
.col-gap--m {
    column-gap: 60px;
}
.col-gap--s {
    column-gap: 40px;
}
.row-gap--l {
    row-gap: 90px;
}
.row-gap--m {
    row-gap: 60px;
}
.row-gap--s {
    row-gap: 40px;
}


/* ----------------------------------------------------- */
.wrapper {
    width: 100%;
    max-width: 1512px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 60px;
}
.wrapper--narrow {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 60px;
}


/* ----------------- WIDTH ----------------- */
.width--m {
    width: 100%;
    max-width: 680px;
}

.width--s {
    width: 100%;
    max-width: 440px;
}

/* ----------------- PADDING ----------------- */
.pad-t--l {
    padding-top: 120px;
}
.pad-t--m {
    padding-top: 80px;
}
.pad-t--s {
    padding-top: 50px;
}
.pad-b--l {
    padding-bottom: 120px;
}
.pad-b--m {
    padding-bottom: 80px;
}
.pad-b--s {
    padding-bottom: 50px;
}


/* ----------------- FONT SIZES ----------------- */
.font--xl {
    font-size: 70px;
}
.font--l {
    font-size: 54px;
}
.font--m {
    font-size: 40px;
}
.font--sm {
    font-size: 30px;
}
.font--s {
    font-size: 22px;
}
.font--body {
    font-size: 18px;
}


/* ----------------- FONT WEIGHT ----------------- */
.font--500 {
    font-weight: 500;
}
.font--400 {
    font-weight: 400;
}
.font--300 {
    font-weight: 300;
}

/* ----------------- GAP ----------------- */
.gap--xl {
    gap: 80px;
}
.gap--l {
    gap: 60px;
}
.gap--m {
    gap: 40px;
}
.gap--s {
    gap: 20px;
}

/* ----------------- BACKGROUND ----------------- */
.bg--white {
    background: var(--white);
}
/* ----------------- COLOR ----------------- */
.color--white {
    color: var(--white);
}
.color--black {
    color: var(--black);
}
.color--blue {
    color: var(--blue);
}


/* ----------------- BUTTON ----------------- */
.btn {
    width: fit-content;
    background: var(--yellow);
    color: var(--black);
    padding: 10px 12px;
    font-weight: 400;
    border-radius: 14px;
    margin-top: 15px;
}
.btn--outline {
    width: fit-content;
    background: transparent;
    padding: 10px 12px;
    font-weight: 400;
    border-radius: 14px;
    margin-top: 15px;
}
.black {
    color: var(--black);
    border: 1px solid var(--black);
}
.black:hover {
    color: var(--white);
    border-color: var(--black);
    background: var(--black)
}
.white {
    color: var(--white);
    border: 1px solid var(--white);
}
.white:hover {
    color: var(--black);
    border-color: var(--white);
    background: var(--white)
}

/* ----------------- ACCORDION ----------------- */
.qa-item {
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--black);
}
.qa-toggle {
    all: unset;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
}
.qa-item dd {
    margin: 10px 0;
    line-height: 1.6;
}
.qa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    background-color: var(--yellow);
}
.qa-icon svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}
.qa-icon .icon-minus {
    display: none;
}


/* ----------------- OTHER ----------------- */
.offset {
    margin-top: -124px;
}
#post a {
    padding-top: 90px;
    padding-bottom: 90px;
}
#post a:nth-of-type(even) {
    background: var(--blueLight);
}
.logos {
    height: 108px;
    width: auto;
    object-fit: contain;
}
.wave {
    display: block;
    width: 100%;
    height: auto;
}
.radius {
    border-radius: 50px;
}
.posts {
    background: var(--blue);
    margin-top: -10px;
    margin-bottom: -10px;
}
.wave--top {
    display: block;
    width: 100%;
    height: auto;
}
.wave--bottom {
    display: block;
    width: 100%;
    height: auto;
}


/* ----------------- BANNER ----------------- */
.banner-slider {
    position: relative;
    overflow: hidden;
    filter: brightness(96%);
}
.banner-slide {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}
.banner-slide.active {
    opacity: 1;
    position: relative;
}


/* ----------------- CUSTOM SIZE ----------------- */
@media (max-width: 1226px) {
    .menu--header {
        display: none;
    }
    .offset {
        margin-top: -100px;
    }
    .grid--hero {
        grid-template-columns: repeat(1, minmax(0%, 1fr));
    }
}

/* ----------------- TABLET ----------------- */
@media (max-width: 992px) {
    .wrapper, .wrapper--narrow {
        padding-left: 40px;
        padding-right: 40px;
    }
    .grid--3 {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
    .grid--2 {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
    }
    .offset {
        margin-top: 0;
    }
    .radius {
        border-radius: 34px;
    }
}


/* ----------------- MOBILE ----------------- */
@media (max-width: 768px) {
    header {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    footer {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .wrapper, .wrapper--narrow {
        padding-left: 30px;
        padding-right: 30px;
    }

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

    .font--xl {
        font-size: 54px;
    }
    .font--l {
        font-size: 36px;
    }
    .font--m {
        font-size: 28px;
    }
    .font--s {
        font-size: 20px;
    }
    #post a {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .radius {
        border-radius: 24px;
    }

    .col-gap--l {
    column-gap: 60px;
    }
    .col-gap--m {
        column-gap: 40px;
    }
    .col-gap--s {
        column-gap: 26px;
    }
    .row-gap--l {
        row-gap: 60px;
    }
    .row-gap--m {
        row-gap: 40px;
    }
    .row-gap--s {
        row-gap: 26px;
    }

    .gap--xl {
        gap: 55px;
    }
    .gap--l {
        gap: 40px;
    }
    .gap--m {
        gap: 30px;
    }
    .gap--s {
        gap: 14px;
    }

    .pad-t--l {
        padding-top: 80px;
    }
    .pad-t--m {
        padding-top: 60px;
    }
    .pad-t--s {
        padding-top: 30px;
    }
    .pad-b--l {
        padding-bottom: 80px;
    }
    .pad-b--m {
        padding-bottom: 60px;
    }
    .pad-b--s {
        padding-bottom: 30px;
    }

    .page-id-28 .font--xl {
        font-size: 44px;
    }

    .home .flex--wrap {
        flex-direction: column;
    }

}