/**
 * Theme Name: Poka Theme Child
 * Template:   pokatheme
 * ...other header fields
 */

@font-face {
    font-family: 'Onest';
    src: url('./assets/fonts/Onest-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: url('./assets/fonts/Onest-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: url('./assets/fonts/Onest-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: url('./assets/fonts/Onest-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --container-width: 1280px;
    --header-height: 72px;
    --mobile-header-height: 80px;
    --navigation-bar-height: 70px;
    --font-family-reserve: -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    --mail-bg: var(--colors-blue-100);
    --input-height: 56px;
}

* {
    margin: var(--spacing-0x);
    padding: var(--spacing-0x);
    font-family: var(--font-family-body), var(--font-family-reserve);
}

body {
    hyphens: manual;
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
    -moz-hyphens: manual;
}

.button-center {
    display: flex;
    justify-content: center;
}

.button {
    display: flex;
    min-width: var(--font-line-height-lg);
    min-height: var(--font-line-height-lg);
    padding: var(--spacing-15-x) var(--spacing-2x);
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--spacing-1x);
    font-size: var(--font-size-md);
    font-weight: 600;
    line-height: var(--font-line-height-sm);
    cursor: pointer;
    border: none;
    background: transparent;
    border-radius: var(--radius-1x);
    width: fit-content;
}

.button svg {
    width: 24px;
    height: 24px;
}

.button.full-width {
    width: 100%;
}

.button-filled {
    background: var(--action-primary);
    color: var(--colors-neutral---light-0);
}

.button-filled:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), var(--action-primary);
}

.button-outlined {
    outline: 2px solid var(--action-primary);
    outline-offset: -2px;
    color: var(--action-primary);
}

.button-outlined:hover {
    background: var(--action-secondary);
}

.button-outlined-white {
    outline: 2px solid var(--colors-neutral---light-200);
    outline-offset: -2px;
    outline-color: var(--colors-neutral---light-200);
    color: var(--text-primary);
}

.button-outlined-white:hover {
    background: var(--surface-2);
}

.no-scroll {
    overflow: hidden;
}

input:not(.button) {
    display: flex;
    padding: var(--spacing-05-x) var(--spacing-0x) var(--spacing-05-x) var(--spacing-2x);
    flex: 1 0 0;
    align-self: stretch;
    border-radius: var(--radius-1x);
    border-color: transparent;
    height: var(--input-height);
    width: 100%;
}

textarea {
    width: 100%;
    padding: var(--spacing-2x) var(--spacing-2x) var(--spacing-0x) var(--spacing-2x);
    border-radius: var(--radius-1x);
    border: 1px solid var(--surface-3);
    resize: none;
}

input:not(.button):focus-visible,
textarea:focus-visible {
    outline: none;
}

input:not(.button)::placeholder,
textarea::placeholder {
    color: var(--text-placeholder);
    font-family: var(--font-family-body), var(--font-family-reserve);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: var(--font-line-height-sm);
}

/*-------override-------*/

.wp-site-blocks {
    padding: var(--spacing-0x);
}

.site-content .container,
footer .container {
    padding: var(--spacing-0x) var(--spacing-5x);
}

.site-content .small-container {
    padding: var(--spacing-0x) 128px;
    max-width: var(--container-width);
}

body:has(.breadcrumbs-wrapper) .site-content .container {
    margin-top: var(--spacing-1x);
    margin-bottom: var(--spacing-1x);
}

body:not(:has(.breadcrumbs-wrapper)) .site-content .container {
    margin-top: var(--spacing-3x);
    margin-bottom: var(--spacing-3x);
}

.site-content .container h1 {
    margin-bottom: 0;
}

.site-content .container .last-updated-date {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: var(--font-line-height-2xs);
    padding: var(--spacing-3x) var(--spacing-0x);
    border-bottom: 2px solid var(--colors-neutral---light-200);
}

.container .main-info-color-box {
    padding: var(--spacing-4x) var(--spacing-5x);
}

.container .main-info-color-box h1 {
    margin-bottom: var(--spacing-3x);
}

.site-content .container>h1 {
    width: 70%;
}

.site-content .container:has(.author-info-container)>h1 {
    margin-bottom: var(--spacing-3x);
}

.site-content .container:not(:has(.author-info-container))>h1 {
    margin-bottom: var(--spacing-5x);
}

.container .content {
    position: relative;
}

.container .content:has(.sidebar-section) {
    display: grid;
    grid-template-columns: minmax(100px, 792px) 384px;
    gap: var(--spacing-3x);
    justify-content: space-between;
}

.container .main-content:has(.sidebar-section) {
    max-width: 792px;
    width: 100%;
}

.wysiwyg-part h1,
.wysiwyg-part h2,
.wysiwyg-part h3,
.wysiwyg-part h4,
.wysiwyg-part h5,
.wysiwyg-part h6,
.wysiwyg-part h3:not(.review-title, .post-tile-title, .review-box-name),
.wysiwyg-part h1>strong,
.wysiwyg-part h1>b,
.wysiwyg-part h2>strong,
.wysiwyg-part h2>b,
.wysiwyg-part h3>strong,
.wysiwyg-part h3>b,
.wysiwyg-part h4>strong,
.wysiwyg-part h4>b,
.wysiwyg-part h5>strong,
.wysiwyg-part h5>b,
.wysiwyg-part h6>strong,
.wysiwyg-part h6>b,
.wysiwyg-part h3:not(.review-title, .post-tile-title, .review-box-name)>strong {
    color: var(--text-primary);
    font-family: var(--font-family-title), var(--font-family-reserve);
    font-weight: 700;
}

.wysiwyg-part h1,
.wysiwyg-part h2,
.wysiwyg-part h3,
.wysiwyg-part h3:not(.review-title, .post-tile-title, .review-box-name),
.wysiwyg-part h4,
.wysiwyg-part h5,
.wysiwyg-part h6 {
    margin: var(--spacing-3x) var(--spacing-0x) var(--spacing-2x) var(--spacing-0x);
}

.wysiwyg-part p,
.wysiwyg-part p>strong,
.wysiwyg-part p>b {
    color: var(--text-primary);
    font-family: var(--font-family-body), var(--font-family-reserve);
    font-size: var(--font-size-md);
    line-height: var(--font-line-height-sm);
    margin: var(--spacing-2x) var(--spacing-0x);
}

.wysiwyg-part p {
    font-weight: 400;
}

.wysiwyg-part h1 {
    font-size: var(--font-size-4xl);
    line-height: var(--font-line-height-2xl);
}

.wysiwyg-part h2 {
    font-size: var(--font-size-3xl);
    line-height: var(--font-line-height-xl);
}

.wysiwyg-part h3,
.wysiwyg-part h3:not(.review-title, .post-tile-title, .review-box-name) {
    font-size: var(--font-size-2xl);
    line-height: var(--font-line-height-lg);
}

.wysiwyg-part h4 {
    font-size: var(--font-size-xl);
    line-height: var(--font-line-height-md);
}

.wysiwyg-part h5 {
    font-size: var(--font-size-lg);
    line-height: var(--font-line-height-sm);
}

.wysiwyg-part h6 {
    font-size: var(--font-size-md);
    line-height: var(--font-line-height-sm);
}

.wysiwyg-part p a:not(.button),
.wysiwyg-part li a:not(.button) {
    color: var(--action-primary);
}

.wysiwyg-part .su-list ul>li::before {
    content: none;
}

.wysiwyg-part ul>li.star-active::before {
    content: none;
}

img,
.single-post-wrapper img:not(.post-element-author img, .review-logo--rounded > img) {
    border-radius: var(--radius-15-x);
}

picture,
img {
    display: inline-block;
}

picture.aligncenter {
    text-align: center;
}

picture.alignleft,
picture.alignright,
picture.aligncenter {
    margin-bottom: var(--spacing-15-x);
}

.breadcrumbs-wrapper {
    padding: var(--spacing-0x);
    background-color: transparent;
}

.breadcrumbs-wrapper .container {
    padding: var(--spacing-15-x) var(--spacing-5x);
}

.breadcrumbs-wrapper .breadcrumbs {
    display: flex;
    align-items: center;
    column-gap: var(--spacing-05-x);
    height: 48px;
}

.breadcrumbs-wrapper .breadcrumbs a,
.breadcrumbs-wrapper .breadcrumbs .item {
    color: var(--text-secondary);
    font-family: var(--font-family-body), var(--font-family-reserve);
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: var(--font-size-xl);
}

.breadcrumbs-wrapper .breadcrumbs .breadcrumb-separator {
    padding: 0;
}

.breadcrumbs-wrapper .breadcrumbs .breadcrumb-separator i {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
}

.breadcrumbs-wrapper .breadcrumbs .breadcrumb-separator i::before {
    color: var(--text-secondary);
    font-size: var(--font-size-xl);
    border-right: 2px solid currentcolor;
    border-bottom: 2px solid currentcolor;
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    transform: rotate(315deg);
}

.breadcrumbs-wrapper .breadcrumbs .item-current span {
    display: block;
    color: var(--text-primary);
    font-family: var(--font-family-body), var(--font-family-reserve);
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: var(--font-size-xl);
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wysiwyg-part ol,
.wysiwyg-part ul:not(.toplist-poka-v2__offer-key-features ul) {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-15-x);
}

.wysiwyg-part ul:not(.toplist-poka-v2__offer-key-features ul) {
    --ellipse-list-width: 24px;
    padding-left: calc(var(--ellipse-list-width) + var(--spacing-1x));
}

.wysiwyg-part ol li,
.wysiwyg-part ul:not(.toplist-poka-v2__offer-key-features ul) li {
    margin-bottom: var(--spacing-0x);
    color: var(--text-primary);
    font-family: var(--font-family-body), var(--font-family-reserve);
    font-size: var(--font-size-sm);
    font-weight: 400;
    line-height: var(--font-size-xl);
}

.wysiwyg-part ul:not(.toplist-poka-v2__offer-key-features ul)>li::before {
    content: '';
    -webkit-mask: url('./assets/images/ellipse.svg');
    mask: url('./assets/images/ellipse.svg');
    background-color: var(--text-primary);
    -webkit-mask-size: cover;
    mask-size: cover;
    width: 8px;
    height: 8px;
    margin: 8px;
    top: 0;
    left: calc((var(--ellipse-list-width) + var(--spacing-1x)) * -1);
}

.wysiwyg-part .toplist-poka-v2__offer-key-features ul>li::before {
    content: none;
}

.wysiwyg-part ul:has(li ol),
.wysiwyg-part ul:has(li ul),
.wysiwyg-part ol:has(li ol),
.wysiwyg-part ol:has(li ul) {
    gap: var(--spacing-3x);
}

.wysiwyg-part ul li ol,
.wysiwyg-part ul li ul,
.wysiwyg-part ol>li>ol,
.wysiwyg-part ol>li ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-15-x);
    padding: var(--spacing-15-x) var(--spacing-0x);
    margin-top: var(--spacing-15-x);
}

.wysiwyg-part ul li ol li,
.wysiwyg-part ul li ul li,
.wysiwyg-part ol>li>ol>li,
.wysiwyg-part ol>li ul>li {
    margin-left: var(--spacing-0x);
}

.wysiwyg-part .su-note-inner *:first-child {
    margin-top: var(--spacing-0x);
}

.su-tabs {
    padding: var(--spacing-2x);
    border-radius: var(--radius-15-x);
    background: var(--surface-2);
}

.su-tabs-vertical .su-tabs-nav>span {
    display: flex;
    min-width: 48px;
    min-height: 48px;
    padding: var(--spacing-15-x) var(--spacing-3x);
    border-radius: var(--radius-1x) var(--radius-0x) var(--radius-0x) var(--radius-1x);
    color: var(--text-primary);
    font-family: var(--font-family-body), var(--font-family-reserve);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: var(--font-line-height-sm);
}

.su-tabs-nav span.su-tabs-current {
    background: var(--surface-1);
}

.su-tabs-pane {
    padding: var(--spacing-3x);
    background: var(--surface-1);
}

.su-tabs-vertical .su-tabs-panes .su-tabs-pane {
    border-radius: var(--radius-0x) var(--radius-15-x) var(--radius-15-x) var(--radius-0x);
}

.su-tabs-pane>p {
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: var(--font-line-height-sm);
}

.wysiwyg-part .su-tabs .su-tabs-pane>* {
    margin: var(--spacing-0x);
    margin-bottom: var(--spacing-15-x);
}

.wysiwyg-part .su-tabs .su-tabs-pane>*:last-child {
    margin-bottom: var(--spacing-0x);
}

@media (max-width: 768px) {

    .site-content .container,
    footer .container {
        padding: var(--spacing-0x) var(--spacing-2x);
    }

    .site-content .small-container {
        padding: var(--spacing-0x) 16px;
    }

    .site-content .container>h1 {
        width: 100%;
    }

    .container .content:has(.sidebar-section) {
        grid-template-columns: 1fr;
    }

    .container .main-content:has(.sidebar-section) {
        max-width: 100%;
        overflow: hidden;
    }

    .container .main-info-color-box {
        padding: var(--spacing-4x) var(--spacing-3x);
    }

    .container .main-info-color-box h1 {
        font-size: var(--font-size-xl);
        line-height: var(--font-line-height-md);
    }

    .breadcrumbs-wrapper .container {
        padding: var(--spacing-1x) var(--spacing-2x);
    }

    .breadcrumbs-wrapper span {
        font-size: 0;
    }

    .breadcrumbs-wrapper .breadcrumbs span {
        display: none;
    }

    .breadcrumbs-wrapper .breadcrumbs .item-home {
        display: block;
        order: 0;
    }

    .breadcrumbs-wrapper .breadcrumbs .item-home+.breadcrumb-separator {
        display: block;
        order: -1;
    }

    .breadcrumbs-wrapper .breadcrumbs .breadcrumb-separator i:before {
        transform: rotate(135deg);
    }

    .su-tabs-vertical .su-tabs-nav>span {
        border-radius: var(--radius-1x);
    }

    .su-tabs-vertical .su-tabs-nav,
    .su-tabs-vertical .su-tabs-panes {
        margin-top: var(--spacing-1x);
    }

    .su-tabs-vertical .su-tabs-panes .su-tabs-pane {
        border-radius: var(--radius-15-x);
    }
}