/*
Theme Name: Korsana
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A modern WordPress theme built with React and custom blocks
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: korsana
Tags: custom-blocks, react, modern
*/

/* This file is required by WordPress for theme recognition */
/* Your theme styles will be compiled from src/ */

body,
html {
    scroll-behavior: smooth;
}

body {
    padding: 0;
    font-family: "montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 36px;
}

main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-block-start: 0 !important;
    top: 60px;
    margin-bottom: 60px;
}

sup {
    vertical-align: 5px;
    font-size: 65%;
    line-height: 1;
}

p sup {
    vertical-align: 6px;
}

.container {
    width: 100%;
}

.inner {
    max-width: 1246px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    width: 100%;
    padding: 124px 0;
}

.inner {
    max-width: 1246px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.entry-content {
    max-width: 100%;
    margin-block-start: 0;
}

.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: unset;
}

.header-col {
    margin-bottom: 20px;
}

.fw-700 {
    font-weight: 700;
}

.font-montserrat {
	font-family: "montserrat", sans-serif !important;
}

.mt-32 {
    margin-top: 32px !important;
}

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

:where(.wp-site-blocks)>* {
    margin-block-start: 0;
}

header .is-layout-constrained,
footer .is-layout-constrained>div {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    border-radius: 0 0 24px 24px;
    background: #FFF;
    background-blend-mode: hard-light;
    margin-bottom: -19px;
    z-index: 3;
    position: relative;
    position: fixed;
    width: 100%;
}

header>div {
    padding-top: 20.5px !important;
    padding-bottom: 20.5px !important;
}

header ul li a span {
    text-transform: uppercase;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
}

header nav {
    padding-bottom: 5px;
}

.wp-block-navigation li.current-menu-item,
.wp-block-navigation li.current_page_item {
    position: relative;
}

.wp-block-navigation li.current-menu-item::after,
.wp-block-navigation li.current_page_item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background-color: #45C5AF;
    width: 120%;
}

footer .wp-block-navigation li.current-menu-item::after,
footer .wp-block-navigation li.current_page_item::after {
    width: 100%;
}

footer .copyright .wp-block-navigation li.current-menu-item::after {
    content: none;
}

header .wp-block-navigation li:not(.current-menu-item):not(.current_page_item) {
    transition: all 0.2s ease;
}

header .wp-block-navigation .wp-block-navigation__submenu-container {
    padding-bottom: 16px;
}

header .wp-block-navigation .wp-block-navigation-submenu li a span:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background-color: #45C5AF;
    width: 85%;
}

header .wp-block-navigation>li:not(.current-menu-item):not(.current_page_item):hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background-color: #45C5AF;
    width: 120%;
}

header .wp-block-navigation li.current-menu-item a span,
header .wp-block-navigation li.current_page_item a span {
    color: #13678A;
    font-weight: 700;
}

.wp-block-navigation-submenu__toggle {
    display: none !important;
}

.wp-block-navigation__submenu-container {
    border-radius: 0 0 16px 16px;
    background: #FFF;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
    border: none !important;
}


.wp-block-navigation__submenu-container li:last-of-type {
    border-radius: 0 0 16px 16px;
    border: none;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item:last-of-type>.wp-block-navigation-item__content {
    padding: 0 16px 0;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content, .wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item:first-of-type>.wp-block-navigation-item__content {
    padding: 16px 16px 0;
    justify-content: end;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content span {
    color: #103140;
    text-align: right;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

footer {
    margin-block-start: 0;
}

footer .main {
    background: #13678A;
    padding-top: 50px;
    padding-bottom: 40px;
}

footer .main .wp-block-navigation__container {
    flex-direction: column;
  align-items: flex-start;
}

footer .main ul li:first-of-type a span,
footer .main>.wp-block-columns>.wp-block-column:last-of-type>.wp-block-columns>.wp-block-column:last-of-type ul li span {
    font-weight: 800;
    font-style: normal;
}

footer .main>.wp-block-columns>.wp-block-column:last-of-type {
    margin-top: -10px;
}

footer .main ul li a span {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

footer .copyright {
    background: #103140;
}

footer .copyright .wp-block-navigation__container {
    gap: 0;
}

footer .copyright ul li {
    padding: 0 24px;
}

footer .copyright ul li:first-of-type {
    padding-left: 0;
}

footer .copyright ul li:last-of-type {
    padding-right: 0;
}

footer .copyright ul li:not(:last-of-type) {
    border-right: 1px solid #13678A;
}

h1 {
    font-family: nexa, sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 950;
    line-height: normal;
    margin: 0 0 30px;
    color: #fff;
}

h2 {
    font-family: nexa, sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 950;
    line-height: 36px;
    color: #13678A;
    margin: 0 0 30px;
    margin-block-end: 30px !important;
}

p {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    margin-block-start: 0 !important;
    margin: 0;
}

p em {
    font-style: italic;
}

p:not(:last-of-type) {
    margin-bottom: 30px;
}

p small {
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.btn-full {
    display: block;
    width: 100%;
}

.btn-full a {
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.btn-full:hover a {
    transform: translateY(2px);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.wp-block-image.aligncenter {
    display: flex;
    justify-content: center;
}

section:not(:last-of-type) :where(.wp-block-columns) {
    margin-bottom: 90px;
}

.wp-block-buttons .wp-block-button__link {
    line-height: 1;
}

.wp-block-button:hover .has-blue-background-color {
    transition: all 0.2s ease;
}

.wp-block-button:hover .has-blue-background-color {
    background: #45C5AF !important;
}

.wp-social-link-linkedin svg {
    display: none;
}

.wp-social-link-linkedin .wp-block-social-link-anchor::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: url('/wp-content/uploads/2026/01/ico_linkedin.svg') no-repeat center / contain;
}

.wp-block-social-link {
    transition: all 0.2s ease;
}

.wp-block-social-link:hover {
    opacity: 0.8;
    transform: none;
}

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

.puzzle h3 {
    font-size: 32px;
    line-height: 36px;
    font-weight: bold;
    color: #103140;
    margin: 0 0 10px;
}

#KRSA-028 {
    scroll-margin-top: 100px;
}

@media(max-width:1281px) {
    footer .main>.wp-block-columns>.wp-block-column:first-of-type {
        flex-basis: 40%;
    }

    footer .main>.wp-block-columns>.wp-block-column:last-of-type {
        flex-basis: 60%;
    }
}

@media(max-width:1077px) {
    footer .main>.wp-block-columns>.wp-block-column:first-of-type {
        flex-basis: 35%;
    }

    footer .main>.wp-block-columns>.wp-block-column:last-of-type {
        flex-basis: 65%;
    }
}

@media(max-width:1003px) {
    footer .main>.wp-block-columns>.wp-block-column:first-of-type {
        flex-basis: 30%;
    }

    footer .main>.wp-block-columns>.wp-block-column:last-of-type {
        flex-basis: 70%;
    }
}

@media(max-width:965px) {
    .puzzle>.wp-block-columns {
        flex-direction: column;
    }

    .puzzle>.wp-block-columns:not(:first-of-type) {
        margin-top: 30px;
    }

    .puzzle>.wp-block-columns>.wp-block-column {
        flex-basis: 100%;
    }

    .puzzle>.wp-block-columns>.wp-block-column:first-of-type {
        display: flex;
        justify-content: center;
    }


}

@media(max-width:938px) {
    footer .main>.wp-block-columns>.wp-block-column:first-of-type {
        flex-basis: 25%;
    }

    footer .main>.wp-block-columns>.wp-block-column:last-of-type {
        flex-basis: 75%;
    }

    footer .main ul li a span {
        font-size: 12px;
    }

    footer .main>.wp-block-columns>.wp-block-column>.wp-block-columns>.wp-block-column:first-of-type {
        flex-basis: 30% !important;
    }

    footer .main>.wp-block-columns>.wp-block-column>.wp-block-columns>.wp-block-column {
        flex-basis: 23.3% !important;
    }

    footer .main>.wp-block-columns>.wp-block-column>.wp-block-columns>.wp-block-column .wp-block-navigation {
        flex-direction: column;
        align-items: flex-start;
    }

    footer .copyright ul li {
        padding: 0 12px;
    }
}

@media(max-width:868px) {
    header ul li a span {
        font-size: 14px;
    }
}

@media (max-width:807px) {
    header .wp-block-navigation__responsive-container-content {
        gap: 12px;
    }

    header .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }

    header .wp-block-navigation__responsive-container {
        display: none !important;
    }

    header .wp-block-navigation__responsive-container.is-menu-open {
        display: flex !important;
    }

    header .wp-block-navigation li.current-menu-item::after,
    header .wp-block-navigation li.current_page_item::after {
        width: 110%;
    }

    header .wp-block-navigation__container {
        padding: 0 20px;
    }

    header .wp-block-navigation__responsive-container-close {
        top: 26px;
        right: 20px;
    }
}

.mobile {
    display: none !important;
}

@media(max-width:781px) {

    .desktop {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .container {
        padding: 60px 0;
    }

    .wp-block-navigation__submenu-container {
        display: none !important;
    }

    h1 {
        font-size: 40px;
        margin: 0 0 20px;
    }

    .news h1 {
        margin: 0;
    }

    .wp-block-korsana-hero-inner .korsana-hero-inner__content {
        padding-bottom: 20px;
    }

    h2 {
        font-size: 28px;
        line-height: normal;
        margin: 0 0 20px;
    }

    .puzzle h3 {
        font-size: 24px;
    }

    .mt-32 {
        margin-top: 0 !important;
    }

    p {
        font-size: 18px;
        line-height: 1.6em;
    }

    main {
        top: 50px;
        margin-bottom: 50px;
    }

    footer .copyright>.wp-block-group {
        flex-direction: column;
        align-items: flex-start;
    }

    footer .copyright nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    footer .copyright nav ul li {
        padding: 0;
    }

    footer .copyright ul li:not(:last-of-type) {
        border-right: none;
    }

    .col-reverse-m {
        flex-direction: column-reverse;
    }

    .is-layout-flow>.alignright {
        margin-inline-start: 0;
    }
}