/*
Theme Name: Lasrespuestas
Text Domain: https://lasrespuestas.artech.kiev.ua
Author: Lasrespuestas
Author URI: Lasrespuestas
*/

:root {
    --c-white: #fff;
    --c-accent: #fd7c47;
    --c-brown: #231f20;
    --c-ligh-gray: #F5F5F5;
    --c-dark-grey: #333;
    --c-black: #000;
    font-size: .75em;
}

* {
    box-sizing: border-box;
}
html {
    height: 100%;
}
html.scrollLock {
    overflow-y: scroll;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
}
html, body {
    min-height: 100%;
}
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.3;
    padding-top: 84px;
    color: var(--c-dark-grey);
}
.body {
    padding-top: 74px;
}
body.scroll-lock {
    overflow: hidden;
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

input:focus,
textarea:focus {
    outline: unset;
}
input::placeholder {
    color: #444;
    font-weight: 400;
}
p {
    margin: 0;
}
p:not([class]):not(:last-child) {
    margin-bottom: .6rem;
}
h1,h2,h3,h4,h5,h6 {
    margin: 0;
    line-height: 1;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h5 {
    font-weight: bold;
}
img {
    max-width: 100%;
    height: auto;
}
::placeholder {
    font-size: 16px;
}
a {
    color: #777;
    text-decoration: none;
}
a:active {
    color: #ccc;
}
ul, ol {
    padding: 0;
    margin: 0;
}
li {
    padding: 0;
    margin: 0;
    list-style: none;
}
/* Classes */
.order-minus-1 {
    order: -1;
}
.c-accent {
    color: var(--c-accent);
}
.t-center {
    text-align: center;
}
.d-flex {
    display: flex;
    flex-wrap: wrap;
}
.d-block {
    display: block;
}
.jc-c {
    justify-content: center;
}
.jc-sb {
    justify-content: space-between;
}
.pointer {
    cursor: pointer;
}
.ai-c {
    align-items: center;
}
.ai-fs {
    align-items: flex-start;
}
.ai-fe {
    align-items: flex-end;
}
.lh-1 {
    line-height: 1;
}
.lh-16 {
    line-height: 1.6;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-16 {
    margin-bottom: 1rem;
}
.mb-24 {
    margin-bottom: 1.5rem;
}
.mb-40 {
    margin-bottom: 2.5rem;
}
.mb-56 {
    margin-bottom: 3.5rem;
}
.mt-16 {
    margin-top: 1rem;
}
.mt-10 {
    margin-top: 100px;
}
.mt-24 {
	margin-top: 24px;
}
.mt-40 {
    margin-top: 2.5rem;
}
.mt-56 {
    margin-top: 3.5rem;
}
.gap-20 {
    gap: 1.25rem;
}
.ws-pl {
    white-space: pre-line;
}
/* Classes */
.section,
section {
    padding: 30px 0;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    transition: all .4s ease-in;
    background: var(--c-white);
    background-color: #f8f8f8;
}
.header-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.burger-menu {
    display: block;
    cursor: pointer;
    user-select: none;
    width: 40px;
    position: relative;
    z-index: 5;
    padding: 8px;
}
.burger-menu span {
    display: block;
    height: 2px;
    background: var(--c-white);
    margin-bottom: 5px;
    transition: all .35s;
}
.burger-menu.--active .mobile-btn-top {
    transform: translateY(9px) translateX(0) rotate(45deg);
}
.burger-menu.--active .mobile-btn-middle {
    opacity: 0;
}
.burger-menu.--active .mobile-btn-bottom {
    transform: translateY(-5px) translateX(0) rotate(-45deg);
}
.page-php {
    margin: 60px 0 40px;
}
.content :where(p, h1, h2, h3, h4, ul, ol, a),
.page-text  :where(p, h1, h2, h3, h4, ul, ol, a) {
    margin: revert;
    padding: revert;
    font-size: revert;
    line-height: revert;
}
.content figure {
    margin: 0;
    padding: 0;
}
.content a {
    color: var(--c-accent);
}
.content .aligncenter {
    clear: both;
    display: block;
    float: none;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.polylang-switcher {
    position: relative;
    margin-left: 30px;
    cursor: pointer;
}
.polylang-current-language {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    padding: 20px;
}
.polylang-current-language::after {
    content: "";
    display: inline-block;
    margin-left: 4px;
    border-top: 6px solid #333;
    border-right: 4px solid transparent;
    border-bottom: 0;
    border-left: 4px solid transparent;
}
.polylang__sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    height: 0;
    box-shadow: 0 0 4px rgba(0,0,0,.2);
    border-radius: 0 0 2px 2px;
}
.polylang__sub-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--c-white);
}
.polylang-switcher:hover .polylang__sub-menu {
    visibility: visible;
    opacity: 1;
    z-index: 1;
    height: auto;
    overflow: auto;
}
.polylang-switcher-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: .3s ease-in-out background-color;
    padding: 12px 0;
}
.polylang-switcher-link:hover {
    background-color: #fa9e7c4a;
}
.container {
    width: 100%;
	margin-left: auto;
	margin-right: auto;
    max-width: 100%;
    padding: 0 18px;
}
div.container--right {
    padding-right: 0;
}
.header-menu .buttons {
    display: flex;
    align-items: center;
}
header .logo {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 0;
    color: var(--c-white);
}
.logo-text {
    font-size: 14px;
    font-weight: 300;
    margin-top: 6px;
}
header .logo img {
    display: inline-block;
    max-width: 58px;
    height: auto;
    transition: max-width .3s ease-in-out;
}
header.active .logo img {
    max-width: 50px;
}
.menu-item-has-children > a:after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 4px;
    height: 6px;
    width: 10px;
    background: url('/wp-content/uploads/2023/06/arrow-down-icon.svg') no-repeat center / cover;
    filter: brightness(0) invert(1);
}
.menu-item-has-children:hover > a:after {
    transform: rotate(180deg) translateY(4px);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--c-accent);
    color: var(--c-white);
    padding: 1.2rem 3.8125rem;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.button:hover {
    background-color: #f36429;
}
.button--sm {
    padding: 7px 50px;
    text-transform: lowercase;
}
.button-text {
    padding: 12px 46px;
}
.button-arrow {
    display: flex;
    align-self: stretch;
    background-color: var(--c-white);
    padding: 14px 20px;
    line-height: 1;
    border-radius: 0 12px 12px 0;
}
.page-404-php {
    text-align: center;
    padding-top: 50px;
}
/*Pagination*/
.nav-links {
    display: flex;
    align-items: center;
}
.navigation.pagination {
    text-align: center;
    padding: 20px 0;
}
.page-numbers {
    font-size: 20px;
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #ececec;
    margin: 1px;
}
.page-numbers:hover {
    color: var(--c-white);
    background-color: #fa9e7c;
}
.page-numbers.current {
    color: var(--c-white);
    background-color: #fa9e7c;
}
.prev.page-numbers:hover,
.next.page-numbers:hover {
    background-color: #fa9e7c;
}
.prev.page-numbers:hover path,
.next.page-numbers:hover path {
    fill: var(--c-white);
}
.page-404-php {
    width: 100%;
    padding-top: 0;
    padding-bottom: 50px;
    margin-top: 50px;
}
.page-404-php .content {
    text-align: left;
}
.page-404-php .title {
    font-size: 80px;
    margin-bottom: 0;
}
.page-404-php .text {
    font-size: 28px;
}
.page-404-php .button {
    padding: 20px 40px;
    display: inline-block;
    text-align: center;
    margin: 36px 0;
    /*background: #259bd4;*/
    color: #fff;
}
.page-404-php .inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.page-404-php img {
    max-width: 350px;
}

.hero__container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.hero-text-content {
    max-width: calc(45% - 20px);
    width: 100%;
}
.hero__image {
    max-width: calc(55% - 20px);
    width: 100%;
}
.hero__text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}
.hero__text h1 em {
    font-style: normal;
    color: var(--c-accent);
}
.hero__text p {
    font-size: 16px;
    line-height: 1.6;
}
.archive-search__input {
    flex: 1;
    padding: 13px 20px;
    border: 1px solid #fa9e7c;
}
.archive-search__input::placeholder {
    color: #fa9e7c;
}
.archive-search__button {
    border: unset;
    padding: 12px 20px;
    background-color: #fa9e7c;
}
.archive-search {
    display: flex;
    flex: 1;
    width: 100%;
    margin: 0 120px;
}
.section-depth-level__page {
    display: block;
    padding: 40px 25px;
    border: 1px solid #3636360a;
    box-shadow: 0 0 13px rgba(0,0,0,0.1);
}
.menu-header-menu-container {
    flex-shrink: 0;
}
.depth-level-items {
    display: grid;
    gap: 50px 30px;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}
.section-depth-level__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--c-accent);
    margin: 20px 0 26px;
}
.section-depth-level__description {
    font-size: 12px;
    line-height: 1.6;
}
.anniversary-event-hub__first-screen-image {
    height: 140px;
    width: auto;
}

.page-depth-level-1,
.page-depth-level-2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}
.section-depth-level-folder {
    display: inline-flex;
    position: relative;
}
.section-depth-level-folder__image {
    max-width: 60px;
}
.section-depth-level-folder__count {
    position: absolute;
    top: calc(50% + 6px);
    left: calc(50% + 2px);
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 600;
    color: var(--c-white);
}

.page-item-1,
.page-item-2 {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #fff2ed;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}
.page-item-2 {
    justify-content: space-between;
}
.page-item-1:nth-of-type(even),
.page-item-2:nth-of-type(even) {
    background-color: #fffaf8;
}
.page-item-1:nth-of-type(6n),
.page-item-2:nth-of-type(6n),
.depth-level-pages__item:nth-of-type(6n) {
    margin-top: 3rem;
}

.section-with-sidebar {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}
.banner-sidebar {
    margin-left: auto;
    max-width: 320px;
}

.depth-level-pages,
.page-depth-level-3 {
    width: 100%;
    display: block;
}
.depth-level-pages__item {
    display: block;
    padding: 12px 20px;
    background-color: var(--c-accent);
    color: var(--c-white);
    font-size: 1.25rem;
    font-weight: 500;
    transition: .3s ease-in-out background-color;
}
.depth-level-pages__item:hover {
    background-color: #fa9e7c;
}
.depth-level-pages__item:nth-of-type(5n),
.depth-level-pages__item:not(:last-child) {
    border-bottom: 1px solid var(--c-white);
}

.post-answer__subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
}
.post-answer__title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}
.post-answers {
    width: 100%;
}
.post-answer-section__container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.post-answer {
    border-bottom: 1px solid #5353533b;
    padding: 10px 0;
    margin-bottom: 16px;
}
.post-answer:not(:last-child) {
    border-top: 1px solid #5353533b;
}

.post-answer-word-wrap {
    margin: 16px 0 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.post-answer-word {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 55px;
    width: 100%;
    aspect-ratio: 1 / 1;
    font-weight: 600;
    font-size: 175%;
    text-transform: uppercase;
    border-radius: 4px;
    color: var(--c-accent);
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 12px;
}
.post-answer-word--with-powerup {
    background: #fa9e7c;
    color: var(--c-white);
    text-shadow: 1px 1px 1px #ffffff82;
}
.post-answer-word-hover {
    position: relative;
    cursor: pointer;
}
.post-answer-word__image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: .3s ease-in-out opacity;
}
.post-answer-word-hover.--active .post-answer-word__image,
.post-answer-word-hover:hover .post-answer-word__image {
    opacity: 1;
}

.breadcrumbs__inner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 15px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    gap: 4px 0;
}
.breadcrumbs__link,
.breadcrumbs__text {
    position: relative;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--c-black);
}
.breadcrumbs__link {
    color: var(--c-accent);
}
.breadcrumbs__link::after {
    content: '/';
    padding-left: 15px;
    margin-right: 15px;
}

.page-results__content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.page-results-title {
    font-size: 2rem;
    font-weight: 600;
    border-bottom: 1px solid #00000026;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.page-results__link {
    display: block;
    padding: .75rem 1rem;
    box-shadow: 0 0 4px rgba(0,0,0,.2);
}
.page-results__link:not(:first-child) {
    margin-top: 1.5rem;
}
.page-results__text {
    color: var(--c-black);
}
.page-results__subtitle {
    font-size: 1.2rem;
}
.page-results__text:not(:empty) {
    margin-top: .5rem;
}

@media (max-width: 1023px) {
    .header-menu .header-mobile-menu {
        position: fixed;
        height: 0;
        right: 0;
        top: 0;
        visibility: hidden;
        opacity: 0;
        z-index: -1;
        background-color: var(--c-brown);
    }
    .header-menu li {
        margin-top: 18px;
    }
    .header-menu ul a {
        color: #fff;
        font-size: 20px;
    }
    .header-menu ul a:hover,
    .header-menu ul a[aria-current=page] {
        color: #cce5ef;
    }
    .mobile_menu_close {
        padding: 5px 10px;
        outline: none;
        user-select: none;
        position: fixed;
        top: 20px;
        right: 10px;
        cursor: pointer;
        z-index: -1;
        opacity: 0;
    }
    .header-menu.--open .mobile_menu_close {
        width: 46px;
        height: 46px;
        z-index: 3;
        opacity: 1;
        color: #666;
        transition: opacity 0.3s;
    }
    .header-menu.--open .header-mobile-menu {
        visibility: visible;
        opacity: 1;
        z-index: 2;
        height: 100%;
        min-width: 50%;
        padding: 20px 20px;
        transition: opacity 0.3s;
    }
    .header-menu.--open .header-mobile-menu .menu-header-menu-container {
        margin-top: 40px;
    }
    .mobile_menu_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        opacity: 0;
        visibility: hidden;
        background-color: #87acd0;
    }
    .header-menu.--open .mobile_menu_overlay {
        z-index: 1;
        opacity: 0.8;
        visibility: visible;
        transition: opacity 0.3s;
    }
    .header__button {
        margin-top: 30px;
    }
}
@media (max-width: 767px) {
    .page-404-php .inner {
        flex-direction: column;
    }
}
@media (max-width: 540px) {
    .page-404-php {
        padding-bottom: 25px;
    }
    .page-404-php .content {
        text-align: center;
    }
    .page-404-php .title {
        font-size: 60px;
    }
    .page-404-php img {
        display: none;
    }
}
@media (min-width: 541px) {
    .body {
        padding-top: 132px;
    }
    header .logo img {
        max-width: 60px;
    }
    header.active .logo img {
        max-width: 64px;
    }
    header .logo {
        padding: 12px 0;
    }
}
@media (min-width: 768px) {
    :root {
        font-size: .875em;
    }
}
@media (min-width: 1024px) {
    .section,
    section {
        padding: 60px 0;
    }
    .header-mobile-menu{
        display: flex;
        align-items: center;
        margin-left: auto;
    }
    .menu-header-menu {
        display: flex;
    }
    .header-menu .container {
        display: flex;
        justify-content: space-between;
    }
    .menu-header-menu > li {
        position: relative;
        /*width: 100%;*/
        text-align: center;
    }
    .menu-header-menu > li > a {
        font-size: 14px;
        text-transform: capitalize;
        display: block;
        border-bottom: 2px solid transparent;
        transition: .3s all ease-in;
        line-height: 1.3;
        color: var(--c-dark-grey);
        padding: 1.75rem .9rem;
        font-weight: 700;
    }
    .menu-header-menu > li.menu-item-has-children > a {
        padding-right: 1.2rem;
    }
    header.active .menu-header-menu > li > a {
        color: var(--c-white);
    }
    .header.active .button {
        border: 2px solid var(--c-accent);
    }
    .header.active .button:hover {
        box-shadow: 0 4px 10px rgba(0,174,239,.3);
    }
    .menu-header-menu > li > a:hover,
    .menu-header-menu > li > a[aria-current=page] {
        color: var(--c-accent);
        border-bottom: 2px solid var(--c-accent);
    }
    .menu-header-menu > li > a:hover,
    .menu-header-menu > li > a[aria-current=page] {
        color: var(--c-accent);
    }
    .burger-menu {
        display: none;
    }
}
@media (min-width: 1368px) {
    :root {
        font-size: 1em;
    }
    .container {
        padding: 0 8.375rem;
    }
}

@media only screen and (min-width: 482px) {

    .entry-content > .wp-block-image > .alignleft,
    .entry-content > .wp-block-image > .alignright {
        max-width: 50%;
    }
}
@media only screen and (max-width: 481px) {

    .entry-content > .wp-block-image > .alignleft,
    .entry-content > .wp-block-image > .alignright {
        margin-left: 0;
        margin-right: 0;
    }
}
