/*
Theme Name: MegaSun
Description: MegaSun WordPress Theme
Version: 4.11
*/

/*---Normalize--------------------------------------------------------------------------- */

body, html {
    height: 100%;
}

body {
    margin: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

article, footer, header, main, nav, section, div, input, textarea {
    display: block;
}

a, a:active, a:focus, button, button:focus, button:active, .btn, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn.active.focus {
    outline: none !important;
    outline: 0 !important;
}

input::-moz-focus-inner {
    border: 0 !important;
}

*, *:after, *:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

a:hover, a:active, button:focus, button:hover, button:active, input:focus, input:hover, input:active {
    outline: 0 !important;
}

a:focus {
    outline: 0 !important;
}

b, strong {
    font-weight: bold;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button, input {
    line-height: normal;
}

button, select {
    text-transform: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
	height: auto;
	border: 0;
    display: block;
}

.logo img, .loop-post img {
    width: 100%;
}

/*---Basic-Structure--------------------------------------------------------------------- */

body {
    font-size: 16px;
    line-height: 1.3;
    background: #fff;
    color: #212121;
}

main {
	max-width: 1920px;
	min-height: 100vh;
	overflow: hidden;
	margin: 0 auto;
}

body:not(.home) main::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: url('/wp-content/uploads/bg-page.svg') no-repeat;
    background-size: contain !important;
	height: 1920px;
	opacity: .05;
	z-index: -1;
}

section, .section, .wrapper, .awesome {
    position: relative;
}

.wrapper {
    width: 100%;
    height: 100%;
    max-width: 1480px !important;
    padding: 0 20px;
    margin: 0 auto;
    z-index: 2;
}

header .wrapper {
    max-width: 1920px !important;
}

.awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
	content: '';
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	top: 0;
	height: 100%;
	font-weight: 900;
    color: currentColor;
}

.awesome:before {
    left: 0;
}

.main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
	right: 0;
}

.scrolltop {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: #FFCC00;
    font-size: 28px;
    z-index: 9;
    transition: color .5s;
    cursor: pointer;
    display: none;
}

/*---Flexbox----------------------------------------------------------------------------- */

.flex-around, .flex-between, .main-nav > ul, .flex-center, .btn, .fab, .main-nav ul a, .awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before, .main-nav > ul li ul.sub-menu, .flex-start, .flex-end, .header-flex, .catalog-nav ul a {
    display: flex;
    align-items: center;
}

.flex-around {
    justify-content: space-around;
}

.flex-between, .main-nav > ul {
    justify-content: space-between;
}

.flex-center, .btn, .fab, .main-nav ul a, .awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before, .main-nav > ul li ul.sub-menu, .catalog-nav ul a {
    justify-content: center;
}

.flex-start, .main-nav > ul li ul.sub-menu {
    justify-content: flex-start;
}

.flex-end, .header-flex {
    justify-content: flex-end;
}

.wrap {
    flex-wrap: wrap;
}

.stretch {
	align-items: stretch;
}

.gap-10 {
    gap: 10px;
}

.gap-20, .header-flex {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.x2 {
    width: 50%;
}

.x3 {
    width: calc(100% / 3);
}

.x4 {
    width: 25%;
}

.gap-10 .x2 {
    width: calc(50% - 5px);
}

.gap-10 .x3 {
    width: calc((100% - 20px) / 3);
}

.gap-10 .x4 {
    width: calc((100% - 30px) / 4);
}

.gap-20 .x2 {
    width: calc(50% - 10px);
}

.gap-20 .x3 {
    width: calc((100% - 40px) / 3);
}

.gap-20 .x4 {
    width: calc((100% - 60px) / 4);
}

.gap-30 .x2 {
    width: calc(50% - 15px);
}

.gap-30 .x3 {
    width: calc((100% - 60px) / 3);
}

.gap-30 .x4 {
    width: calc((100% - 90px) / 4);
}

/*---Kadence-Blocks---------------------------------------------------------------------- */

.wp-block-kadence-accordion .kt-accordion-header-wrap .kt-blocks-accordion-header {
	cursor: pointer;
}

.kb-splide .splide__arrow {
	border-radius: 100% !important;
	height: 2em !important;
}

.kb-splide .splide__arrow:focus, .kb-splide .splide__arrow:hover {
	background: #FFCC00 !important;
	color: #171717 !important;
}

/*---Basic-Typography-------------------------------------------------------------------- */

h1, h2, h3, h4, .popup-title {
    margin: 0;
    line-height: 1.3;
}

.page-title {
    margin: 60px 0;
}

.popup-title {
    width: 100%;
    text-align: left;
    margin: 0 0 10px;
    font-size: 36px;
    font-weight: 300;
}

.popup-subtitle {
	max-width: 460px;
	margin: 0 auto 40px 0;
}

a {
    position: relative;
    transition: all .3s;
}

p, label {
    margin: 0;
}

/*---Header------------------------------------------------------------------------------ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 30px 0;
    background: transparent;
    transition: all .3s;
    z-index: 5;
    font-size: 14px;
}

header.animate {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    background: #fff;
    padding: 15px 0;
}

body.admin-bar .header {
    top: 32px;
}

.logo {
    width: 200px; height: 100%;
}

.header-flex {
    width: calc(100% - 200px);
    padding-left: 60px;
}

.header-address {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.2;
}

/*---Main-Nav---------------------------------------------------------------------------- */

header .main-nav {
	max-width: 1280px;
	background: #F5F5F5;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
    overflow: hidden;
    margin-right: auto;
}

footer .main-nav {
	max-width: 1280px;
	background: #fff;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
    overflow: hidden;
    margin-right: auto;
}

.main-nav ul, .main-nav > ul li ul.sub-menu, .catalog-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    flex-grow: 1;
    position: relative;
}

.main-nav ul a {
    color: currentColor;
    padding: 25px;
    line-height: 22px;
    font-size: 14px;
}

footer .main-nav ul a {
    color: #171717;
}

.main-nav ul:not(.sub-menu) > li > a:hover, .main-nav ul li.current-menu-item > a, .main-nav ul li.current-post-parent > a {
    background: rgba(0,0,0,.03) !important;
}

.main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span {
    position: relative;
    padding-right: 15px;
}

.main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
 	content: '\f078';
    font-size: 12px;
    padding-top: 2px;
}

.catalog-nav {
	margin: 0 -20px 0 auto;
	border-right: 1px solid #ededed;
}

.catalog-nav .menu-item {
	color: currentColor;
	padding: 0 0 0 25px;
	line-height: 22px;
	font-size: 14px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	background: #F5F5F5;
	display: flex;
	align-items: center;
}

footer .catalog-nav .menu-item {
	background: #fff;
}

.catalog-nav .menu-item::before {
    content: "\f0c9";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-flex !important;
    font-size: 16px;
    color: #171717 !important;
}

.catalog-nav > ul li ul.sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	width: auto;
	flex-direction: column;
	transition: all .3s;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    background: #fff;
    border: 1px solid #ececec;
}

footer .catalog-nav > ul li ul.sub-menu {
    display: none !important;
}

.catalog-nav ul a {
    color: currentColor;
    padding: 25px 25px 25px 15px;
    line-height: 22px;
    font-size: 14px;
}

footer .catalog-nav ul a {
    color: #171717;
}

.main-nav > ul li:hover ul.sub-menu {
    opacity: 1;
    pointer-events: auto;
}

.main-nav > ul li ul.sub-menu li {
    width: 100%;
    border-bottom: 1px solid #ececec;
}

.main-nav > ul li ul.sub-menu li:last-of-type {
    border-bottom: 0;
}

.main-nav > ul li ul.sub-menu li a {
	width: 100%;
	justify-content: flex-start;
	text-align: left;
	padding: 10px 20px;
    color: #404756;
    border-left: 3px solid transparent;
}

.main-nav > ul li ul.sub-menu li a:hover {
    background: #fafafa;
}

.mobile-menu-toggle, .menu-close {
    display: none !important;
}

/*---Custom-CSS-------------------------------------------------------------------------- */

.custom-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 60px;
    padding: 0 74px 0 24px;
    border: 1px solid #171717;
    border-radius: 10px;
    background: #fff;
    color: #171717;
    text-decoration: none;
    cursor: pointer;
    overflow: visible;
    transition: color 0.25s ease,
                background-color 0.25s ease;
}

.custom-btn.yellow {
	border: 0 !important;
	padding: 0 24px;
    background: #FFCC00;
}

.custom-btn.white {
    border: 1px solid #fff;
    background: transparent;
    color: #fff !important;
}

.custom-btn.centered {
    display: flex;
	margin-left: auto;
    margin-right: auto;
}

.custom-btn.wide {
    width: 100%;
}

.custom-btn.simple {
	border: 0 !important;
	padding: 0 24px 0 0;
	background: transparent;
	height: 20px !important;
	color: currentColor !important;
}

.custom-btn .btn-text {
    display: block;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    color: inherit;
    transition: color 0.25s ease;
}

.custom-btn .btn-circle {
    position: absolute;
    top: -1px;
    right: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #171717;
    color: #fff;
    z-index: 1;
    transition: background-color 0.25s ease,
                color 0.25s ease;
}

.custom-btn.white .btn-circle {
    background: #fff;
    color: #171717;
}

.custom-btn.simple .btn-circle {
    background: transparent;
	color: currentColor !important;
    width: 20px;
    height: 20px !important;
    transform: translatey(3px);
}

.custom-btn.yellow  .btn-circle {
	display: none !important;
}

.custom-btn .btn-circle i {
    font-size: 16px;
    line-height: 1;
    transform-origin: center center;
    transform: rotate(-45deg);
    transition: transform 0.25s ease;
}

.custom-btn:hover .btn-circle i {
    transform: rotate(0deg);
}

.custom-btn:hover {
    color: #171717;
    text-decoration: none;
}

button.custom-btn {
    font: inherit;
    line-height: normal;
    appearance: none;
    -webkit-appearance: none;
}

.custom-btn.btn-height-60 {
    height: 60px;
}

.weight-300 {
    font-weight: 300 !important;
}

.weight-600 {
    font-weight: 600 !important;
}

p.callback-toggle {
    width: fit-content;
    cursor: pointer;
}

.related-slider {
    width: 100%;
}

.related-slider .slick-list {
    margin: 0 -10px;
}

.related-slider .related-slider__slide {
    box-sizing: border-box;
    width: 100%;
    padding: 0 10px;
    height: auto;
}

.related-slider .slick-track {
    display: flex;
}

.related-slider .slick-slide {
    height: auto;
}

.related-slider .slick-slide > div {
    width: 100%;
    height: 100%;
}

.related-slider .catalog-item {
    width: 100%;
}

.sec-related h2 {
	text-transform: uppercase;
	margin-bottom: 40px;
	font-size: 40px;
}

.catalog-filter-price__error {
    margin-top: 8px;
    color: #D93025;
    font-size: 13px;
    line-height: 1.4;
}

.catalog-filter-price__fields input.is-invalid {
    border-color: #D93025;
}

.catalog-filter-price__fields input.is-invalid:focus {
    border-color: #D93025;
}

/*---------------------------------------
  Мобильное меню
---------------------------------------*/

.mobile-menu {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    left: auto;
    display: flex;
    flex-direction: column;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
    transform: translateX(100%);
    visibility: hidden;
    transition:
        transform .3s ease,
        visibility .3s ease;
}

.mobile-menu.animate {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu .logo {
	height: 60px;
	margin: 15px 0 0 15px;
}

.mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 40px 0 0 30px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mobile-menu ul a {
	color: #171717;
    font-size: 1.2em;
}

.mobile-menu ul a:hover {
	text-decoration: underline !important;
}

.related-slick-arrows {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	justify-content: flex-end;
}

.kadence-slick-arrows button, .related-slick-arrows button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid #171717;
	border-radius: 10px;
	background: transparent;
	color: #171717;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

/*---Footer------------------------------------------------------------------------------ */

footer {
    position: relative;
    padding: 90px 0 40px;
    background: #171717 url('/wp-content/uploads/omega-footer-bg.webp');
    color: #fff;
}

footer a {
    color: #fff;
}

.footer-main, .footer-bottom {
    width: 100%;
}

.footer-main {
    padding-bottom: 40px;
}

/*---Pages------------------------------------------------------------------------------- */

.breadcrumbs, .yoast-breadcrumbs {
    margin: 0 auto;
}

.breadcrumbs a, .yoast-breadcrumbs a {
    color: currentColor;
}

.sec-page {
    height: 100%;
    padding-top: 0;
    padding-bottom: 90px;
}

.sec-related {
	padding: 0 0 90px;
}

.sec-404 {
    min-height: calc(100vh - 70px);
    text-align: center;
}

/*---Loop-------------------------------------------------------------------------------- */

.sec-intro {
    padding: 162px 0 40px;
}

.sec-intro h1 {
    font-size: 40px;
    text-transform: uppercase;
    margin-top: 60px;
}

.sec-intro .title-wrapper {
    margin-top: 60px;
}

.sec-intro .title-wrapper h1 {
    margin-top: 0 !important;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 60px;
}

.blog-card--featured {
    grid-column: span 3;
}

.blog-card--regular {
    grid-column: span 2;
}

.blog-card__image-link {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
}

.blog-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform .3s ease;
    transform-origin: center center;
    will-change: transform;
}

.blog-card__image-link:hover .blog-card__image {
    transform: scale(1.03);
}

.blog-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: calc(100% - 0px);
    padding-top: 24px;
}

.blog-card__title {
    margin: 0 0 16px;
    padding: 0;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.blog-card--featured .blog-card__title {
    font-size: 32px;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none !important;
}

.blog-card__title a:hover {
    color: inherit;
}

.blog-card__excerpt {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.5;
}

.blog-card__button {
    text-decoration: none !important;
}

.blog-pagination {
    margin-top: 90px;
}

.blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 70px;
    height: 70px;
    padding: 0;
    border: 1px solid #DFDFDF;
    border-radius: 50%;
    background: #fff;
    color: #171717;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: border-color .2s, background-color .2s;
}

.blog-pagination .page-numbers.current, 
.blog-pagination a.page-numbers:hover {
    border-color: #FFCC00;
    background-color: #FFCC00; 
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    font-size: 16px;
}

.blog-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 40px;
    }

    .blog-card--featured,
    .blog-card--regular {
        grid-column: span 1;
    }

    .blog-card--featured .blog-card__title {
        font-size: 28px;
    }

    .blog-card--regular .blog-card__title {
        font-size: 22px;
    }

    .blog-pagination {
        margin-top: 60px;
    }

    .blog-pagination .nav-links {
        gap: 16px;
    }

    .blog-pagination .page-numbers {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 36px;
    }

    .blog-card--featured,
    .blog-card--regular {
        grid-column: 1 / -1;
    }

    .blog-card--featured .blog-card__title {
        font-size: 24px;
    }

    .blog-card--regular .blog-card__title {
        font-size: 20px;
    }

    .blog-card__content {
        padding-top: 20px;
    }

    .blog-card__title {
        margin-bottom: 12px;
    }

    .blog-card__excerpt {
        margin-bottom: 20px;
    }

    .blog-pagination {
        margin-top: 40px;
    }

    .blog-pagination .nav-links {
        gap: 10px;
    }

    .blog-pagination .page-numbers {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }
}

/*---Editor-Styles----------------------------------------------------------------------- */

article a {
    text-decoration: underline !important;
}

article :is(a.btn, a.kb-gallery-item-link, .kt-tabs-title-list li a) {
    text-decoration: none !important;
}

article .kt-tabs-title-list li a {
    text-decoration: none !important;
}

article .wp-block-separator {
	border: 0;
	border-top: 1px solid #ececec;
}

article :is(p, h2, h3, h4, .wp-block-image, .wp-block-table, .wp-block-kadence-iconlist, .wp-block-kadence-tabs, .wp-block-kadence-accordion) {
    margin: 0 0 20px !important;
}

article > ul, article > ol {
    margin: 0 0 20px !important;
}

.wp-block-table tr {
    transition: all .3s;
}

.wp-block-table tr th, .wp-block-table tr td {
    border: 1px solid #ececec;
    padding: 10px;
}

article > *:last-child, .wp-block-image, article .wp-block-separator, article .btn p {
    margin: 0 !important;
}

h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
	padding: 10px 20px !important;
}

.wp-block-embed {
    width: 100%;
}

/*---Popup------------------------------------------------------------------------------- */

.btn {
    width: 100%;
    max-width: 220px;
    height: 42px;
    border: 1px solid #ececec;
    cursor: pointer;
    transition: all .3s;
    margin: 0 auto;
    border-radius: 2px;
}

.btn:hover {
    border: 1px solid #d9d9d9;
}

.btn.align-left {
    margin-left: 0;
}

.btn.align-right {
    margin-right: 0;
}

.btn.wide {
    max-width: 100%;
}

.backdrop {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(0,0,0,.75);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: opacity .3s;
}

.backdrop.animate {
    opacity: 1;
    pointer-events: auto;
}

.ims-popup {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translatex(-50%) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: 100%;
	max-width: 520px;
	background: #fff;
	z-index: 11;
	padding: 30px 20px;
	opacity: 0;
	transition: all .3s;
	flex-direction: column;
	border-radius: 20px;
	outline: 5px solid rgba(255,255,255,.5);
}

.ims-popup.animate {
	opacity: 1;
    pointer-events: auto;
 	transform: translatex(-50%) translatey(-50%) scale3d(1, 1, 1);
}

.ims-popup, .ims-popup * {
    pointer-events: none !important;
}

.ims-popup.animate, .ims-popup.animate * {
    pointer-events: auto !important;
}

.popup-close {
	position: absolute;
	right: 6px;
	top: 6px;
	height: 26px;
	width: 26px;
	cursor: pointer;
	z-index: 20;
}

.popup-close:before {
	display: flex;
	justify-content: center;
 	align-items: center;
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
	color: #171717;
    background: #ffcc00;
    border-radius: 100%;
    font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    font-size: 16px;
    content: '\f00d';
    transition: all .3s ease;
}

/*---Forminator-------------------------------------------------------------------------- */

.forminator-custom-form {
	max-width: 520px;
    margin: 0 auto !important;
}

.forminator-input {
	line-height: 20px !important;
	padding-top: 15px !important;
	padding-bottom: 15px !important;
	border-radius: 10px !important;
}

.iti__selected-country-primary {
	border-top-left-radius: 10px !important;
	border-bottom-left-radius: 10px !important;
}

.forminator-button.forminator-button-submit {
	padding: 0 !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
	height: 60px !important;
	width: 100% !important;
	box-shadow: none !important;
    font-size: 1rem !important;
    transition: all .3s !important;
    border-radius: 10px !important;
}

.forminator-response-message {
	border-radius: 0 !important;
	padding: 10px 16px !important;
}

.forminator-response-message .screen-reader-only, .forminator-edit-module {
    display: none !important;
}

.forminator-checkbox__label p {
	text-align: left;
	line-height: 1.2 !important;
}

.forminator-ui.forminator-custom-form[data-design="flat"] .forminator-checkbox__wrapper {
	align-items: center !important;
}

/*---Slick-Slider------------------------------------------------------------------------ */

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

.mega-quiz {
  width: 100%;
  color: #171717;
  font-family: inherit;
  box-sizing: border-box;
}

/*---Quiz--------------------------------------------------------------------------------- */

.mega-quiz *,
.mega-quiz *::before,
.mega-quiz *::after {
  box-sizing: border-box;
}

.mega-quiz__content {
    min-height: 365px;
}

.mega-quiz__progress {
  width: 100%;
  height: 10px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 10px;
  background: #F5F5F5;
}

.mega-quiz__progress-fill {
  width: 25%;
  height: 100%;
  border-radius: 10px;
  background: #FFCC00;
  transition: width .3s ease;
}

.mega-quiz__slide {
  display: none;
}

.mega-quiz__slide.is-active {
  display: block;
  animation: megaQuizFadeIn .2s ease;
}

@keyframes megaQuizFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mega-quiz__title {
  margin: 0 0 24px;
  padding: 0;
  color: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.mega-quiz__options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-quiz__option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1.3;
  text-align: left;
}

.mega-quiz__option input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1px solid #D3D3D3;
  border-radius: 50%;
  background: #FFFFFF;
  display: grid;
  place-content: center;
  cursor: pointer;
}

.mega-quiz__option input::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFCC00;
  transform: scale(0);
  transition: transform .15s ease;
}

.mega-quiz__option input:checked {
  border-color: #FFCC00;
  background: #FFFFFF;
}

.mega-quiz__option input:checked::before {
  transform: scale(1);
}

.mega-quiz__option input:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 3px;
}

.mega-quiz__option-text {
  flex: 1;
}

.mega-quiz__hint {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 30px;
	color: #8B8B8B;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.3;
	border: 1px solid #ececec;
	padding: 10px;
	border-radius: 10px;
}

.mega-quiz__hint-icon {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 15px;
  color: #8B8B8B;
}

.mega-quiz__hint-text {
  margin: 0;
}

.mega-quiz__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.mega-quiz__navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  min-width: 0;
}

.mega-quiz .mega-quiz__button {
  margin: 0;
}

.mega-quiz .mega-quiz__button[hidden] {
  display: none !important;
}

.mega-quiz__counter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
}

.mega-quiz__counter-current,
.mega-quiz__counter-total {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid #8B8B8B;
  border-radius: 10px;
  background: #FFFFFF;
  color: #8B8B8B;
  font-size: 16px;
  font-weight: 500;
}

.mega-quiz__counter-current {
  border-color: #FFCC00;
  background: #FFCC00;
  color: #171717;
}

.mega-quiz__counter-separator {
  color: #8B8B8B;
}

.mega-quiz__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 24px;
}

.mega-quiz__hint-icon {
  align-self: center;
  margin-top: 0;
}

.mega-quiz__option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: grid;
  place-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #D3D3D3;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
}

.mega-quiz__option input[type="checkbox"]::before {
  content: "";
  width: 6px;
  height: 10px;
  border: solid #171717;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}

.mega-quiz__option input[type="checkbox"]:checked {
  border-color: #FFCC00;
  background: #FFCC00;
}

.mega-quiz__option input[type="checkbox"]:checked::before {
  transform: rotate(45deg) scale(1);
}

.mega-quiz__final {
  width: 100%;
  text-align: center;
}

.mega-quiz__final-icon {
  font-size: 50px;
  line-height: 1;
  color: #FFCC00;
  margin-bottom: 30px;
}

.mega-quiz__final-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: #171717;
}

.mega-quiz__final-description {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #171717;
}

.mega-quiz__final-benefits {
    margin: 0 auto 30px;
    text-align: left;
    width: fit-content;
    padding: 20px;
    border: 1px solid #dfdfdf;
    border-radius: 20px;
}

.mega-quiz__final-benefits-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #171717;
}

.mega-quiz__final-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-quiz__final-benefits li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.5;
  color: #171717;
}

.mega-quiz__final-benefits li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #FFCC00;
}

.mega-quiz__final-form {
  width: 100%;
}

.mega-quiz .forminator-row:has(.is-inactive) {
    display: none !important;
}

.mega-quiz__question-title {
	margin-bottom: 30px;
	font-weight: 600;
}

.mega-quiz__error {
	color: red;
	margin-top: 20px;
	font-size: 14px;
}

@media (max-width: 1024px) {
  .mega-quiz__title {
    font-size: 22px;
  }

  .mega-quiz__final-title {
    font-size: 22px;
  }

  .mega-quiz__final-description {
    font-size: 15px;
  }

  .mega-quiz__final-benefits li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .mega-quiz__title {
    font-size: 20px;
  }

  .mega-quiz__footer {
    gap: 12px;
  }

  .mega-quiz__navigation {
    gap: 12px;
  }

  .mega-quiz__counter {
    gap: 5px;
  }

  .mega-quiz__counter-current,
  .mega-quiz__counter-total {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .mega-quiz__options {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

/*---Catalog----------------------------------------------------------------------------- */

.wrapper.has-sidebar {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

.wrapper.has-sidebar aside {
    box-sizing: border-box;
    border: 1px solid #ededed;
    padding: 30px 20px;
    border-radius: 20px;
    width: 360px;
    flex: 0 0 360px;
    margin-top: 75px;
}

.sidebar-title {
	font-size: 32px;
}

.catalog-wrapper {
    max-width: calc(100% - 380px);
    width: 100%;
    min-width: 0;
}

.catalog-toolbar {
    display: none;
}

.catalog-filters-toggle,
.catalog-filters-close {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.catalog-filters-close {
    display: none;
}


@media (max-width: 1170px) {

    .wrapper.has-sidebar {
        position: relative;
    }

    .catalog-backdrop {
        position: fixed;
        inset: 0;
        z-index: 10;
        opacity: 0;
        pointer-events: none;
    }

    .catalog-backdrop.animate {
        opacity: 1;
        pointer-events: auto;
    }

    .wrapper.has-sidebar aside {
        position: fixed;
        left: -30px;
        top: 130px;
        bottom: 0;
        z-index: 11;
        width: 360px;
        max-width: calc(100vw - 30px);
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        border-radius: 0;
        opacity: 0;
        pointer-events: none;
        transition: left .3s ease, opacity .3s ease;
        background: #fff;
        margin-top: 0;
    }

    .wrapper.has-sidebar aside.animate {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .catalog-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .catalog-toolbar {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .catalog-filters-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 20px;
        border-radius: 10px;
        background: #171717;
        color: #fff;
        margin-left: 20px;
    }

    .catalog-filters-close, .menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: #f4f4f4;
        color: #171717;
        font-size: 18px;
        cursor: pointer;
    }

    .wrapper.has-sidebar aside {
        padding-top: 65px;
    }
}

@media (max-width: 480px) {

    .wrapper.has-sidebar aside {
        min-width: 320px;
        width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
    }

}

.equipment-variant-select {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.equipment-variant-select__label {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.equipment-variant-select__field {
    min-width: 220px;
    min-height: 48px;
    padding: 10px 40px 10px 16px;
    border: 1px solid #DFDFDF;
    border-radius: 10px;
    background-color: #fff;
    color: #171717;
    font: inherit;
    cursor: pointer;
}

.equipment-variant-select__field:focus {
    outline: none;
    border-color: #FFCC00;
}

.equipment-variant-content {
    min-width: 0;
}

.catalog-sort {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 30px;
}

.catalog-sort__label {
    font-size: 14px;
    color: #797C80;
}

.catalog-sort__select {
    min-height: 45px;
    padding: 8px 35px 8px 14px;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    background-color: #fff;
    font: inherit;
    cursor: pointer;
}

.catalog-item {
    box-sizing: border-box;
    padding: 30px;
    border-radius: 20px;
    background: #F9F9F9;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.popular-slider__slide {
    padding: 0 10px;
}

.popular-slider__slide .catalog-item {
    width: 100% !important;
}

.catalog-item a {
    text-decoration: none !important;
}

.catalog-item__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 20px;
}

.catalog-item__image::before {
	content: '';
	width: 60px;
	height: 60px;
	position: absolute;
	left: 20px;
	top: 20px;
	background: url('/wp-content/uploads/badge.png');
	background-size: contain !important;
}

.catalog-item__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-item__title {
    margin: 20px 0;
    padding: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.catalog-item__title a {
    color: #171717;
    transition: color .2s ease;
}

.catalog-item__title a:hover {
    color: #797C80;
}

.catalog-item__features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.catalog-item__features li {
    position: relative;
    padding: 15px 0 15px 30px;
    border-bottom: 1px solid #E6E6E6;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 300;
    color: #171717;
}

.catalog-item__features li:first-child {
    border-top: 1px solid #E6E6E6;
}

.catalog-item__features li::before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translatey(-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    color: #171717;
}

.catalog-item__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
}

.catalog-item__price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.catalog-item__price-label {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
    color: #797C80;
}

.catalog-item__price-value {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #171717;
}

.catalog-item__link {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #171717;
    color: #fff;
}

.catalog-item__link i {
    font-size: 14px;
    transform: rotate(-45deg);
    transition: transform .25s ease;
}

.catalog-item__link:hover,
.catalog-item__link:focus {
    background: #171717;
    color: #fff;
}

.catalog-item__link:hover i,
.catalog-item__link:focus i {
    transform: rotate(0);
}

.catalog-filters-form {
    width: 100%;
}

.catalog-filter-group,
.catalog-filter-selected {
    padding: 20px 0;
    border-bottom: 1px solid #DEDEDE;
}

.catalog-filter-group__title,
.catalog-filter-selected__title {
    margin: 0 0 20px;
    padding: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 400;
    color: #171717;
}

.catalog-filter-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-filter-list ul {
    list-style: none;
    padding: 12px 0 0 20px;
    margin: 0;
}

.catalog-filter-list li {
    margin: 0;
    padding: 0;
}

.catalog-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 300;
    color: #171717;
}

.catalog-filter-checkbox input {
    position: absolute;
    width: 16px;
    height: 16px;
    opacity: 0;
    cursor: pointer;
}

.catalog-filter-checkbox__custom {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid #C4C4C4;
    border-radius: 4px;
    background: #fff;
    transition: background .2s ease, border-color .2s ease;
}

.catalog-filter-checkbox__custom::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 9px;
    color: #fff;
    opacity: 0;
    transition: opacity .2s ease;
}

.catalog-filter-checkbox input:checked + .catalog-filter-checkbox__custom {
    background: #FFCC00;
    border-color: #FFCC00;
}

.catalog-filter-checkbox input:checked + .catalog-filter-checkbox__custom::after {
    opacity: 1;
}

.catalog-filter-checkbox input:focus-visible + .catalog-filter-checkbox__custom {
    outline: 2px solid #171717;
    outline-offset: 2px;
}

.catalog-filter-selected__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-filter-selected__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #DEDEDE;
    border-radius: 6px;
    background: #F9F9F9;
    color: #171717;
    font: inherit;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.catalog-filter-selected__item:hover {
    background: #F0F0F0;
    border-color: #C4C4C4;
}

.catalog-filter-selected__item i {
    font-size: 11px;
}

.catalog-filters-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    margin-top: 20px;
    padding: 0 15px;
    border: none;
    border-radius: 10px;
    background: #171717;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background .2s ease;
}

.catalog-filters-reset:hover {
    background: #333;
}

.catalog-filter-price {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.catalog-filter-price__fields {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    width: 100%;
}

.catalog-filter-price__fields label {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 8px;
    color: #797C80;
    font-size: 14px;
    font-weight: 400;
}

.catalog-filter-price__fields label span {
    display: block;
}

.catalog-filter-price__fields input {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #C4C4C4;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #171717;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease;
}

.catalog-filter-price__fields input:focus {
    border-color: #555;
}

.catalog-filter-price__fields input::placeholder {
    color: #A5A5A5;
    opacity: 1;
}

.catalog-filter-price__fields input::-webkit-inner-spin-button,
.catalog-filter-price__fields input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.catalog-filter-price__fields input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.catalog-filter-price__apply {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    margin-top: 12px;
    padding: 0 15px;
    border: none;
    border-radius: 6px;
    background: #f4f4f4;
    color: #171717;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease;
}

.catalog-filter-price__apply:hover {
    background: #f1f1f1;
}

.catalog-filter-price__apply:active {
    background: #f1f1f1;
}

.catalog-filter-price__apply:focus-visible {
    outline: 2px solid #16B048;
    outline-offset: 3px;
}

.nav-links {
	margin-top: 40px;
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
}

.page-numbers {
	background: #F9F9F9;
	color: #171717;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 100%;
}

.page-numbers.current, .page-numbers:hover {
	background: #171717;
	color: #fff;
}

/*---Adaptive-Design--------------------------------------------------------------------- */

@media only screen and (max-width: 1280px) {
header nav, footer nav {
    display: none;
}

.mobile-menu-toggle, .menu-close {
    display: flex !important;
    cursor: pointer;
}
}

@media only screen and (max-width: 1170px) {
header .custom-btn, footer .custom-btn {
	padding: 0 24px;
}

header .custom-btn .btn-circle, footer .custom-btn .btn-circle {
    display: none;
}

.logo {
	width: 180px;
	height: 100%;
}

.header-flex {
	width: calc(100% - 180px);
	padding-left: 40px;
}
}

@media only screen and (max-width: 1024px) {
.logo {
	width: 160px;
	height: 100%;
}

.header-flex {
	width: calc(100% - 160px);
}

.sec-intro h1 {
    font-size: 32px;
    margin-top: 40px;
}

.sec-intro .title-wrapper {
    margin-top: 40px;
}

.popup-title {
    font-size: 28px;
}

.sec-page, .sec-related {
    padding-bottom: 60px;
}

.catalog-item {
    padding: 20px;
}

.catalog-item__title {
    font-size: 22px;
}

.sec-related h2 {
	font-size: 36px;
}

.sidebar-title {
	font-size: 28px;
}
}

@media only screen and (max-width: 768px) {
.ims-popup {
	left: 2%; right: 2%;
	transform: translatex(0) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: auto;
}

.ims-popup.animate {
	transform: translatex(0) translatey(-50%) scale3d(1, 1, 1);
}

body.admin-bar .header {
	top: 46px;
}

header .custom-btn, footer .custom-btn {
	padding: 0 12px;
    height: 50px !important;
    font-size: 13px;
}

.logo {
	width: 140px;
	height: 100%;
}

.header-flex {
	width: calc(100% - 140px);
	padding-left: 20px;
}

.sec-intro {
    padding: 132px 0 40px;
}

.sec-intro h1 {
    font-size: 28px;
    margin-top: 10px;
}

.sec-intro .title-wrapper {
    margin-top: 10px;
}

.popup-title {
    font-size: 24px;
}

.title-wrapper {
    flex-wrap: wrap;
}

.equipment-variant-select {
    width: 100%;
    flex-wrap: wrap;
}

.equipment-variant-select__field {
    width: 100%;
}

.catalog-item {
    width: 100%;
        padding: 20px;
}

.catalog-item__title {
    font-size: 20px;
}

.catalog-item__price-value {
    font-size: 18px;
}

.catalog-sort {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.catalog-sort__select {
    max-width: 100%;
}

.catalog-item__image::before {
	width: 50px;
	height: 50px;
	left: 10px;
	top: 10px;
}

.catalog-item.x2 {
	width: 100%;
}

.sec-related h2 {
	font-size: 32px;
}

.sidebar-title {
	font-size: 24px;
}
}

@media only screen and (max-width: 640px) {
.logo {
	width: 120px;
	height: 100%;
}

.header-flex {
	width: calc(100% - 120px);
}
}

@media only screen and (max-width: 480px) {

}

@media only screen and (max-width: 360px) {
.logo {
	width: 100px;
	height: 100%;
}

.header-flex {
	width: calc(100% - 100px);
}
}

/* OmegaSun editorial layout */
.omega-editorial, .omega-journal {
  --omega-ink: #211f1b;
  --omega-dim: #615c53;
  --omega-rule: #ded8cc;
  --omega-paper: #f7f4ed;
  --omega-gold: #f5c34b;
  color: var(--omega-ink);
  font-family: Inter, Arial, sans-serif;
  padding-block: clamp(118px, 10.5vw, 162px) clamp(58px, 8vw, 110px);
}

body.single-post main::after,
body.blog main::after,
body.page-id-622 main::after,
body.tax-equipment_category main::after { display: none; }
body.single-post main { overflow: clip; }

.omega-editorial__shell {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.omega-editorial > .omega-editorial__shell { margin-inline: auto !important; }

.omega-editorial__hero, .omega-journal__hero {
  position: relative;
  inset: auto;
  z-index: auto;
  height: auto;
  width: min(1440px, calc(100% - 36px));
  margin-inline: auto;
  padding: clamp(27px, 5vw, 68px) 0 clamp(35px, 5vw, 70px);
  border-radius: 24px;
  background: radial-gradient(ellipse at 98% 95%, #524329, #26231d 46%, #211f1b 75%);
  color: #fffdf8;
}

.omega-editorial__hero--cover {
  padding-bottom: clamp(58px, 7vw, 102px);
}

.omega-editorial__trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 clamp(22px, 3vw, 38px);
  font-size: 14px;
  line-height: 1.4;
  color: #e4dbcb;
}

.omega-editorial__trail a { color: inherit; text-decoration: underline !important; text-underline-offset: 4px; }
.omega-editorial__trail a:hover { color: var(--omega-gold); }
.omega-editorial__trail span[aria-hidden] { opacity: .65; }

.omega-editorial__hero h1, .omega-journal__hero h1 {
  max-width: 1050px;
  margin: 0;
  color: inherit;
  font-size: clamp(35px, 4.5vw, 62px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.047em;
  text-transform: none;
  text-wrap: balance;
}

.omega-editorial__dek, .omega-journal__hero p {
  max-width: 61ch;
  margin: 19px 0 0;
  color: #eee7d9;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.56;
}

.omega-editorial__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 24px;
  color: #f1e8d7;
  font-size: 14px;
  line-height: 1.4;
}

.omega-editorial__meta time {
  padding: 6px 11px;
  border-radius: 6px;
  background: var(--omega-gold);
  color: var(--omega-ink);
  font-weight: 680;
}

.omega-editorial__cover {
  position: relative;
  z-index: 1;
  width: min(100%, 940px);
  margin: clamp(-56px, -4vw, -30px) 0 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: #e7e0d1;
}

.omega-editorial__cover img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.omega-editorial__reading {
  display: grid;
  grid-template-columns: minmax(0, 710px);
  justify-content: center;
  gap: 28px;
  margin-top: clamp(36px, 5vw, 78px);
}

.omega-editorial__reading--toc {
  grid-template-columns: minmax(0, 710px) minmax(218px, 250px);
  grid-template-areas: "prose toc";
  justify-content: space-between;
  column-gap: clamp(38px, 7vw, 104px);
}

.omega-editorial__reading--toc .omega-editorial__prose { grid-area: prose; }

.omega-editorial__toc {
  grid-area: toc;
  position: sticky;
  top: 120px;
  align-self: start;
  min-width: 0;
  border-top: 3px solid var(--omega-gold);
  border-radius: 0 0 12px 12px;
  padding: 18px 20px;
  background: var(--omega-paper);
  color: var(--omega-ink);
}

.omega-editorial__toc summary { cursor: pointer; font-size: 15px; font-weight: 730; }
.omega-editorial__toc ol {
  display: grid;
  gap: 11px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.omega-editorial__toc a {
  display: block;
  color: var(--omega-dim);
  font-size: 14px;
  line-height: 1.43;
  text-decoration-line: underline !important;
  text-decoration-color: #a49b87;
  text-underline-offset: 3px;
}

.omega-editorial__toc a:hover { color: var(--omega-ink); text-decoration-color: var(--omega-ink); }

.omega-editorial__prose {
  min-width: 0;
  color: var(--omega-ink);
  overflow-wrap: break-word;
  font-size: clamp(16px, 1.34vw, 19px);
  line-height: 1.7;
}

.omega-editorial__prose p, .omega-editorial__prose ul, .omega-editorial__prose ol {
  margin: 0 0 1.05em;
}

.omega-editorial__prose > p:first-child {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--omega-rule);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.58;
}

.omega-editorial__prose h2, .omega-editorial__prose h3, .omega-editorial__related h2 {
  margin: 1.45em 0 .5em;
  color: var(--omega-ink);
  font-size: clamp(25px, 3vw, 37px);
  font-weight: 730;
  line-height: 1.15;
  letter-spacing: -.032em;
  text-transform: none;
  scroll-margin-top: 124px;
}

.omega-editorial__prose h3 { font-size: clamp(21px, 2.2vw, 27px); }
.omega-editorial__prose ul, .omega-editorial__prose ol { padding-inline-start: 1.45em; margin-inline-start: 0; }
.omega-editorial__prose li { padding-inline-start: .18em; margin-bottom: .35em; }
.omega-editorial__prose a { color: #623f00; text-decoration: underline !important; text-underline-offset: 3px; }
.omega-editorial__prose a:hover { color: #211f1b; }
.omega-editorial__prose img { max-width: 100%; height: auto; }
.omega-editorial__prose blockquote {
  margin: 1.4em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--omega-gold);
  background: var(--omega-paper);
}
.omega-editorial__prose blockquote > :last-child { margin-bottom: 0; }

.omega-editorial__prose .wp-block-table { margin: 1.4em 0; overflow-x: auto; }
.omega-editorial__prose > table {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  margin: 1.35em 0;
}
.omega-editorial__prose table { border-collapse: collapse; font-size: .92em; line-height: 1.48; }
.omega-editorial__prose th, .omega-editorial__prose td {
  padding: .7em .85em;
  border: 1px solid var(--omega-rule);
  vertical-align: top;
  text-align: left;
}
.omega-editorial__prose th { background: #eee7d6; font-weight: 720; }
.omega-editorial__prose tr:nth-child(even) td { background: var(--omega-paper); }

.omega-editorial__related {
  margin-top: clamp(42px, 6vw, 85px);
  padding-top: 26px;
  border-top: 1px solid var(--omega-rule);
}
.omega-editorial__related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 22px;
  margin-bottom: 19px;
}
.omega-editorial__related h2 { margin: 0; }
.omega-editorial__related-head > a { color: #623f00; text-decoration: underline !important; text-underline-offset: 4px; }
.omega-editorial__related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.omega-editorial__related-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--omega-rule);
  border-radius: 11px;
  background: var(--omega-paper);
  color: var(--omega-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.omega-editorial__related-list > a:hover { border-color: #9c7a26; }
.omega-editorial__related-list span { flex: 0 0 auto; }

.omega-journal__articles { margin-top: clamp(30px, 4.4vw, 62px); }
.omega-journal .blog-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2.25vw, 29px);
}
.omega-journal .blog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--omega-rule);
  border-radius: 16px;
  background: #fffefa;
}
.omega-journal .blog-card--featured { grid-column: span 6; }
.omega-journal .blog-card--regular { grid-column: span 4; }
.omega-journal .blog-card__image-link {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: var(--omega-paper);
}
.omega-journal .blog-card__image { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.omega-journal .blog-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  padding: clamp(18px, 2.3vw, 30px);
}
.omega-journal .blog-card__title, .omega-journal .blog-card--featured .blog-card__title {
  margin: 0 0 10px;
  color: var(--omega-ink);
  font-size: clamp(21px, 2.3vw, 32px);
  font-weight: 730;
  line-height: 1.16;
  letter-spacing: -.031em;
  text-transform: none;
  text-wrap: balance;
}
.omega-journal .blog-card__title a { color: inherit; }
.omega-journal .blog-card__title a:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.omega-journal .blog-card__excerpt {
  margin-bottom: 18px;
  color: var(--omega-dim);
  font-size: 16px;
  line-height: 1.54;
}
.omega-journal .blog-card__button {
  width: auto;
  min-width: 132px;
  min-height: 45px;
  height: auto;
  margin-top: auto;
  padding: 7px 10px 7px 15px;
  border: 1px solid #c69a2a;
  border-radius: 8px;
  background: var(--omega-gold);
  color: var(--omega-ink);
}
.omega-journal .blog-card__button:hover { background: #ffe29a; }
.omega-journal .blog-card__button .btn-circle {
  width: 30px;
  height: 30px;
  background: transparent;
  color: inherit;
}
.omega-journal .blog-card__button .btn-text { padding: 0; color: inherit; }

.omega-editorial a:focus-visible,
.omega-editorial summary:focus-visible,
.omega-journal a:focus-visible {
  outline: 2px solid #a37200 !important;
  outline-offset: 4px;
}
.omega-editorial__hero a:focus-visible, .omega-journal__hero a:focus-visible {
  outline-color: var(--omega-gold) !important;
}

@media (max-width: 900px) {
  .omega-editorial__reading--toc { grid-template-columns: minmax(0, 1fr) 214px; column-gap: 31px; }
  .omega-journal .blog-card--regular { grid-column: span 6; }
}

@media (max-width: 700px) {
  .omega-editorial__shell { width: calc(100% - 32px); }
  .omega-editorial__hero, .omega-journal__hero { width: calc(100% - 16px); border-radius: 15px; }
  .omega-editorial__hero > .omega-editorial__shell,
  .omega-journal__hero > .omega-editorial__shell { width: calc(100% - 30px); }
  .omega-editorial__hero h1, .omega-journal__hero h1 { font-size: clamp(32px, 8.3vw, 49px); }
  .omega-editorial__meta { margin-top: 18px; }
  .omega-editorial__cover { border-radius: 11px; }
  .omega-editorial__reading--toc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "toc" "prose"; }
  .omega-editorial__toc { position: static; padding: 14px 16px; }
  .omega-editorial__related-list { grid-template-columns: minmax(0, 1fr); }
  .omega-journal .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .omega-journal .blog-card--featured, .omega-journal .blog-card--regular { grid-column: 1; }
  .omega-journal .blog-card__title, .omega-journal .blog-card--featured .blog-card__title {
    font-size: clamp(22px, 5.9vw, 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .omega-journal .blog-card__image, .omega-journal .blog-card__button { transition: none; }
}
