/* =============================================
   Compare pages
   ============================================= */

/* --- Page-level --- */

/* Page bg image offset by 658px from top — reduce height to avoid bottom overflow */
.page-bg .section-bg {
    height: calc(100% - 658px) !important;
    object-position: top !important;
}


.compare-header .bg-image-picture {
    width: calc(100% - 2 * var(--menu_margin));
    border-radius: var(--radius);
    left: 50%;
    transform: translateX(-50%);
}

/* --- Why Us section (animated floating icons) --- */
.section-wrap.compare-why-us {
    padding-top: 38px;
    overflow: visible;
}

@media screen and (max-width: 1024px) {
    .section-wrap.compare-why-us {
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 768px) {
    .section-wrap.compare-why-us {
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 576px) {
    .section-wrap.compare-why-us {
        padding-bottom: 0;
    }
}

.compare-why-us .container {
    position: relative;
}

.compare-why-us .stage {
    position: relative;
    width: 100%;
    min-height: 640px;
    margin: 0 auto;
}

.compare-why-us .content-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 148px 20px 0;
    text-align: center;
    color: #383700;
}

.compare-why-us .content-container .title {
    font-size: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.1em;
    margin: 0;
}

.compare-why-us .content-container .sub-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.4em !important;
    margin-top: 30px;
}

.compare-why-us .content-container .content {
    font-size: 20px;
    line-height: 1.4em;
    margin-top: 22px;
}

/* Floating icons layer */

.compare-why-us .floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.compare-why-us .floating-icon {
    position: absolute;
    /* Centering via xPercent/yPercent in GSAP init; scale is applied via JS.
       We intentionally do NOT set transform here so GSAP has full control. */
    will-change: transform, opacity, filter;
}

.compare-why-us .floating-icon img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Responsive: tighten icon sizes so they don't overlap the text --- */

@media screen and (max-width: 1250px) {
    .compare-why-us .stage {
        min-height: 620px;
    }

    .compare-why-us .content-container {
        padding-top: 128px;
    }

    .compare-why-us .content-container .title {
        font-size: 42px !important;
    }

    .compare-why-us .content-container .sub-title {
        font-size: 22px !important;
    }
}

@media screen and (max-width: 1140px) {
    .compare-why-us .stage {
        min-height: 670px;
    }
}

@media screen and (max-width: 1024px) {
    .compare-why-us .content-container {
        padding: 108px 24px 0;
    }

    .compare-why-us .content-container .title {
        font-size: 34px !important;
    }

    .compare-why-us .content-container .sub-title {
        font-size: 19px !important;
        margin-top: 22px;
    }

    .compare-why-us .content-container .content {
        font-size: 17px;
    }

    .compare-why-us .stage {
        min-height: 496px;
    }
}

@media screen and (max-width: 960px) {
    .compare-why-us .stage {
        min-height: 543px;
    }
}

@media screen and (max-width: 800px) {
    .compare-why-us .stage {
        min-height: 559px;
    }
}

@media screen and (max-width: 768px) {
    .compare-why-us .content-container {
        padding: 140px 16px 0;
        max-width: 100%;
    }

    .compare-why-us .content-container .title {
        font-size: 28px !important;
    }

    .compare-why-us .content-container .sub-title {
        font-size: 14px !important;
        letter-spacing: 0;
        margin-top: 8px;
    }

    .compare-why-us .content-container .content {
        font-size: 14px;
    }

    .compare-why-us .stage {
        min-height: 566px;
    }
}

@media screen and (max-width: 768px) {
    .compare-why-us .floating-icons {
        top: 20px;
    }
}

@media screen and (max-width: 700px) {
    .compare-why-us .stage {
        min-height: 589px;
    }
    .compare-why-us .floating-icons {
        top: 4px;
    }
}

@media screen and (max-width: 575px) {
    .compare-why-us .stage {
        min-height: 619px;
    }
    .compare-why-us .floating-icons {
        top: -6px;
    }
}

@media screen and (max-width: 556px) {
    .compare-why-us .floating-icons {
        top: -42px;
    }
}

@media screen and (max-width: 480px) {
    .compare-why-us .content-container {
        padding-top: 120px;
    }

    .compare-why-us .content-container .title {
        font-size: 24px !important;
    }
}

@media screen and (max-width: 477px) {
    .compare-why-us .stage {
        min-height: 699px;
    }
    .compare-why-us .floating-icons {
        top: -48px;
    }
}

@media screen and (max-width: 415px) {
    .compare-why-us .stage {
        min-height: 721px;
    }
    .compare-why-us .floating-icons {
        top: -33px;
        left: -15%;
        right: -15%;
    }
    .compare-why-us .content-container {
        padding: 140px calc(var(--content-padding) - 8px) 0;
    }
}

@media screen and (max-width: 360px) {
    .compare-why-us .stage {
        min-height: 742px;
    }
    .compare-why-us .floating-icons {
        top: -20px;
    }
}

@media screen and (max-width: 330px) {
    .compare-why-us .stage {
        min-height: 771px;
        margin-bottom: -14px;
    }
    .compare-why-us .floating-icons {
        top: -24px;
    }
}

@media screen and (max-width: 306px) {
    .compare-why-us .stage {
        min-height: 950px;
    }
}

/* Mobile icon positions for compare-why-us — overrides the inline
   left/top from the PHP template. Indices match the order in the PHP
   $icons array (0=settings, 1=stack, 2=cart, 3=search, 4=graph,
   5=stars, 6=arrow-exes, 7=box).
   Top row y% values kept below the content-container's top padding
   (~140px / ~21% of 650px stage) so icons sit ABOVE the title. */
@media screen and (max-width: 768px) {
    .compare-why-us .floating-icon-0 { left: 18% !important;  top: 13% !important; }
    .compare-why-us .floating-icon-1 { left: 36% !important;  top: 6% !important; }
    .compare-why-us .floating-icon-2 { left: 55% !important;  top: 8% !important; }
    .compare-why-us .floating-icon-3 { left: 69% !important;  top: 13% !important; }
    .compare-why-us .floating-icon-4 { left: 83% !important;  top: 14% !important; }
    .compare-why-us .floating-icon-5 { left: 40% !important;  top: 87% !important; }
    .compare-why-us .floating-icon-6 { left: 28% !important;  top: 81% !important; }
    .compare-why-us .floating-icon-7 { left: 67% !important;  top: 83% !important; }
}
/* --- Why Us  - End --- */

/* --- Compare Table (rich) section - start --- */
.compare-compare-table .container {
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.compare-compare-table .title {
    font-size: 50px !important;
    font-weight: 700 !important;
    line-height: 1.1em !important;
    letter-spacing: 0 !important;
    margin: 0 0 32px 0 !important;
    width: auto !important;
}

.compare-compare-table .sub-title {
    text-align: center;
    margin: 0 0 28px 0 !important;
    width: auto !important;
}

.compare-compare-table .table-wrapper {
    background-color: #ffffff;
    border-radius: var(--radius);
    padding: 45px 49px 28px;
    margin-top: 50px;
    overflow-x: auto;
}

.compare-compare-table table {
    width: 100%;
    border-collapse: collapse;
}

.compare-compare-table thead th,
.compare-compare-table tbody td {
    text-align: left;
    vertical-align: top;
    color: #383700;
    padding: 30px 18px;
    box-sizing: border-box;
}

.compare-compare-table thead th:first-child,
.compare-compare-table tbody td:first-child {
    padding-left: 0;
}

.compare-compare-table thead th:last-child,
.compare-compare-table tbody td:last-child {
    padding-right: 0;
}

.compare-compare-table thead th {
    font-weight: 800;
    font-size: 22px;
    line-height: 1.2;
    padding-top: 0;
    padding-bottom: 36px;
    vertical-align: middle;
}

.compare-compare-table thead th {
    overflow: visible;
}

.compare-compare-table thead th .col-logo {
    display: block;
    width: auto;
    min-width: max-content;
    height: auto;
    object-fit: contain;
    object-position: left center;
    --base-scale: 1;
    transform:
        translateX(var(--logo-x, 0%))
        translateY(var(--logo-y, 0%))
        scale(calc(var(--base-scale) * var(--logo-scale, 1)));
    transform-origin: left center;
}

.compare-compare-table thead th:first-child .col-logo {
    height: 18px;
    width: auto;
    max-width: none;
}

.compare-compare-table tbody td {
    font-size: 20px;
    line-height: 1.4;
    max-width: 548px;
    position: relative;
    padding-bottom: 47px;
}

/* Extended row divider — each td gets a ::before pseudo that extends
   15px past its edges; adjacent cells overlap producing one line. */
.compare-compare-table tbody td::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15px;
    right: -15px;
    height: 1px;
    background-color: rgba(56, 55, 0, 0.15);
    pointer-events: none;
}

.compare-compare-table .container,
.compare-compare-table .table-wrapper,
.compare-compare-table table,
.compare-compare-table thead,
.compare-compare-table thead tr,
.compare-compare-table thead th,
.compare-compare-table tbody tr:first-child,
.compare-compare-table tbody tr:first-child td {
    border: none !important;
}

.compare-compare-table tbody td:not(:first-child) .cell-content {
    margin-top: 74px;
}

.compare-compare-table tbody td:not(:first-child) .cell-content > ul:first-child,
.compare-compare-table tbody td:not(:first-child) .cell-content > ol:first-child {
    margin-top: -2px;
}


/* Row heading, populated from the first ACF data column. */
.compare-compare-table .row-heading {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin: 9px 0 28px 0;
    color: #383700;
}

/* Cell content wrapper — rich content styling */
.compare-compare-table .cell-content {
    max-width: 548px;
}
.compare-compare-table .cell-content > *:first-child {
    margin-top: 0;
}
.compare-compare-table .cell-content > *:last-child {
    margin-bottom: 0;
}

.compare-compare-table .cell-content p {
    margin: 0 0 14px 0;
    font-size: 20px;
    line-height: 1.4;
}

.compare-compare-table .cell-content p:empty {
    display: none;
}

.compare-compare-table .cell-content strong,
.compare-compare-table .cell-content b {
    font-weight: 800;
}

/* First bold line in a cell acts as a section heading inside the cell */
.compare-compare-table .cell-content p:first-child strong,
.compare-compare-table .cell-content > strong:first-child {
    display: inline-block;
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.compare-compare-table .cell-content ul,
.compare-compare-table .cell-content ol {
    margin: 0 0 14px 16px;
    padding-left: 0;
    list-style: none;
}

.compare-compare-table .cell-content li {
    font-size: 20px;
    line-height: 1.2em;
    margin-bottom: 1px;
    position: relative;
    padding-left: 17px;
}

.compare-compare-table .cell-content ul > li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0.5em;           /* vertically aligns with the first text line */
    width: 5px;
    height: 5px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    box-sizing: border-box;
    background-color: currentColor;
    transform: translateZ(0);
}

.compare-compare-table .cell-content ol {
    list-style: decimal outside;
    padding-left: 30px;
}
.compare-compare-table .cell-content ol > li {
    padding-left: 0;
}

.compare-compare-table .cell-content a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 1250px) {
    .compare-compare-table .title {
        font-size: 42px !important;
    }

    .compare-compare-table .table-wrapper {
        padding: 38px 36px 40px;
    }

    .compare-compare-table thead th {
        padding-bottom: 28px;
    }

    .compare-compare-table thead th .col-logo {
        --base-scale: 0.78;
    }

    .compare-compare-table tbody td {
        font-size: 18px;
    }

    .compare-compare-table .cell-content p,
    .compare-compare-table .cell-content li {
        font-size: 18px;
    }

    .compare-compare-table .cell-content p:first-child strong,
    .compare-compare-table .cell-content > strong:first-child,
    .compare-compare-table .row-heading {
        font-size: 26px;
    }

    .compare-compare-table tbody td:not(:first-child) .cell-content {
        margin-top: 69px;
    }
}

@media (max-width: 1024px) {
    .compare-compare-table .title {
        font-size: 34px !important;
        margin-bottom: 24px !important;
    }

    .compare-compare-table .table-wrapper {
        padding: 30px 28px 32px;
    }

    .compare-compare-table thead th .col-logo {
        --base-scale: 0.75;
    }

    .compare-compare-table tbody td {
        font-size: 17px;
        padding: 24px 14px;
    }

    .compare-compare-table .cell-content p,
    .compare-compare-table .cell-content li {
        font-size: 17px;
    }

    .compare-compare-table .cell-content p:first-child strong,
    .compare-compare-table .cell-content > strong:first-child,
    .compare-compare-table .row-heading {
        font-size: 22px;
    }

    .compare-compare-table tbody td:not(:first-child) .cell-content {
        margin-top: 65px;
    }
}

@media (max-width: 800px) {
    .compare-compare-table .title {
        font-size: 24px !important;
        font-weight: 800 !important;
        line-height: 1.1em !important;
        margin: 0 0 30px 0 !important;
        text-align: center;
    }

    .compare-compare-table .table-wrapper {
        padding: 12px var(--content-padding) 0;
        margin-top: 0;
    }

    .compare-compare-table table {
        margin-bottom: 15px;
    }

    /* Header row — two logos side-by-side */
    .compare-compare-table thead {
        display: revert;
    }
    .compare-compare-table thead tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
        padding: 0;
        align-items: center;
        border-bottom: 1px solid rgba(56, 55, 0, 0.15) !important;
    }
    .compare-compare-table thead th {
        padding: 0;
        border: none;
        vertical-align: middle;
        overflow: visible;
        min-width: 0;
    }
    .compare-compare-table thead th .col-logo {
        --base-scale: 0.7;
        position: relative;
    }

    /* Fast Simon (col-0) — smaller like on Fast Facts */
    .compare-compare-table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
        row-gap: 15px;
        padding: 15px 0;
        border-top: 1px solid rgba(56, 55, 0, 0.15);
    }
    .compare-compare-table tbody tr:first-child {
        border-top: none;
    }

    .compare-compare-table tbody td {
        padding: 0;
        border: none;
    }
    .compare-compare-table tbody td.col-0 {
        display: contents;
    }

    .compare-compare-table tbody td::before {
        display: none;
    }

    .compare-compare-table tbody td:not(:first-child) .cell-content {
        margin-top: 1px;
    }

    .compare-compare-table .row-heading {
        grid-column: 1 / -1;
        font-size: 14px !important;
        font-weight: 700;
        line-height: 1.2em;
        margin: 0;
    }

    .compare-compare-table .cell-content p,
    .compare-compare-table .cell-content li {
        font-size: 12px;
        line-height: 1.2em;
    }
    .compare-compare-table .cell-content p {
        margin: 0 0 17px 0;
    }
    .compare-compare-table .cell-content p:last-child {
        margin-bottom: 0;
    }

    .compare-compare-table .cell-content ul {
        list-style: disc outside;
        margin: 0;
        padding-left: 18px;
    }
    .compare-compare-table .cell-content li {
        margin-bottom: 0;
        padding-left: 0;
        position: static;
    }
    .compare-compare-table .cell-content ul > li::before {
        display: none;
    }

    .compare-compare-table .cell-content p:first-child strong,
    .compare-compare-table .cell-content > strong:first-child {
        font-size: inherit;
        display: inline;
        margin: 0;
    }
}
@media (max-width: 420px) {
    .compare-compare-table thead th .col-logo {
        --base-scale: 0.65;
    }
}

@media (max-width: 370px) {
    .compare-compare-table thead th .col-logo {
        --base-scale: 0.55;
    }
}
/* --- Compare Table (rich) section - end --- */

/* --- Logos carousel section - start --- */
.logos-carousel .title {
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.logos-carousel.section-wrap {
    padding-top: 76px;
}

@media screen and (max-width: 1024px) {
    .logos-carousel.section-wrap {
        padding-top: 51px !important;
    }
}

@media screen and (max-width: 768px) {
    .logos-carousel .title {
        font-size: 14px !important;
        line-height: 1.1em !important;
    }
}

.posts-archive.success_story.section-wrap {
    padding-top: 15px;
}

.table-flat.section-wrap {
    padding-top: 44px;
}

@media screen and (max-width: 1250px) {
    .table-flat.section-wrap {
        padding-top: 38px;
    }
}

@media screen and (max-width: 1024px) {
    .table-flat.section-wrap {
        padding-top: 30px;
    }
}

@media screen and (max-width: 768px) {
    .table-flat.section-wrap {
        padding-top: 19px;
    }
}

.compare-compare-table.section-wrap {
    padding-top: 92px;
}

@media screen and (max-width: 1250px) {
    .compare-compare-table.section-wrap {
        padding-top: 76px;
    }
}

@media screen and (max-width: 1024px) {
    .compare-compare-table.section-wrap {
        padding-top: 60px;
    }
}

@media screen and (max-width: 800px) {
    .compare-compare-table.section-wrap {
        padding-top: 44px;
    }
}

@media screen and (min-width: 1351px) {
    .posts-archive.success_story.section-wrap {
        padding-bottom: 61px;
    }
}

@media screen and (max-width: 1350px) {
    .posts-archive.success_story.section-wrap {
        padding-bottom: 55px;
    }
}

@media screen and (max-width: 1250px) {
    .posts-archive.success_story.section-wrap {
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 1024px) {
    .posts-archive.success_story.section-wrap {
        padding-top: 25px;
        padding-bottom: 45px;
    }
}

@media screen and (max-width: 768px) {
    .posts-archive.success_story.section-wrap {
        padding-bottom: 40px;
    }

    .posts-archive.success_story .content {
        padding-top: 23px;
    }
}
/* --- Logos carousel section - end --- */

/* --- Header section - start --- */
.section-wrap.compare-header {
    padding-top: 18px;
    padding-bottom: 18px;
    background-color: transparent !important;
    position: relative;
    z-index: 10;
}

.compare-header .container {
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 42px 0 54px;
}

.compare-header .content-side {
    flex: 1 1 45%;
    padding-right: 30px;
}

.compare-header .vs-label {
    font-weight: 800;
    margin: 0;
}

.compare-header .title {
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.1em;
}

.compare-header .sub-title {
    line-height: 1.4em !important;
}

@media screen and (min-width: 769px) {
    .compare-header .vs-label {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .compare-header .title {
        font-size: 50px !important;
        margin-top: 34px;
    }

    .compare-header .sub-title {
        font-size: 20px !important;
        font-weight: 400 !important;
        margin-top: 27px;
    }

    .compare-header .btn-solid {
        margin-top: 17px;
    }
}

.compare-header .logos-side {
    flex: 1 1 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
}

.compare-header .logos-box {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 50px 40px;
    width: 100%;
    aspect-ratio: 660 / 474;
}

.compare-header .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-header .logo-item img {
    max-width: 260px;
    height: auto;
}

.compare-header .logo-item:first-child {
    height: 81px;
    margin-top: -8px;
}

.compare-header .logo-item:first-child img {
    width: 260px;
}

.compare-header .logo-item.competitor-logo img {
    margin-top: -6px;
    margin-bottom: -10px;
    transform:
        translateX(var(--logo-x, 0%))
        translateY(var(--logo-y, 0%))
        scale(var(--logo-scale, 1));
    transform-origin: center;
}

.compare-header .vs-text {
    font-size: 22px;
    font-weight: 800;
}
@media screen and (max-width: 1250px) {
    .compare-header .container {
        padding: 42px 0 54px;
    }

    .compare-header .content-side {
        padding-right: 20px;
    }

    .compare-header .logos-side {
        padding-left: 20px;
    }

    .compare-header .vs-label {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .compare-header .title {
        font-size: 42px !important;
        margin-top: 28px;
    }

    .compare-header .sub-title {
        font-size: 18px !important;
        margin-top: 22px;
    }

    .compare-header .btn-solid {
        margin-top: 15px;
    }

    .compare-header .vs-text {
        font-size: 20px;
    }

    .compare-header .logos-box {
        padding: 45px 35px;
    }

    .compare-header .logo-item img {
        max-width: 230px;
    }
}

@media screen and (max-width: 1024px) {
    .section-wrap.compare-header {
        padding-top: calc(var(--menu_margin) / 2 + 2px) !important;
        padding-bottom: calc(var(--menu_margin) / 2 + 2px);
    }

    .compare-header .container {
        padding: 35px 0 47px;
    }

    .compare-header .vs-label {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .compare-header .title {
        font-size: 36px !important;
        margin-top: 18px;
    }

    .compare-header .sub-title {
        font-size: 16px !important;
        margin-top: 16px;
    }

    .compare-header .btn-solid {
        margin-top: 12px;
    }

    .compare-header .vs-text {
        font-size: 18px;
    }

    .compare-header .logos-box {
        padding: 40px 30px;
    }

    .compare-header .logo-item img {
        max-width: 200px;
    }
}

@media screen and (max-width: 950px) {
    .compare-header .title,
    .compare-header .sub-title {
        width: 100% !important;
    }

    .compare-header .vs-label {
        font-size: 14px;
    }

    .compare-header .title {
        font-size: 30px !important;
    }

    .compare-header .sub-title {
        font-size: 15px !important;
    }

    .compare-header .vs-text {
        font-size: 16px;
    }

    .compare-header .logos-box {
        padding: 32px 22px;
    }

    .compare-header .logo-item img {
        max-width: 180px;
    }
}

@media screen and (max-width: 768px) {
    .section-wrap.compare-header {
        padding-bottom: 0;
    }

    .compare-header .container {
        flex-direction: column;
        padding-bottom: 27px;
    }

    .compare-header .content-side {
        text-align: left;
        padding-right: 0;
    }

    .compare-header .logos-side {
        margin-top: 41px;
        width: 100%;
        max-width: 300px;
        padding-left: 0;
        align-self: center;
    }

    .compare-header .vs-label {
        font-size: 12px;
        margin-bottom: 7px;
    }

    .compare-header .title {
        font-size: 30px !important;
        margin-top: -7px;
        width: 100% !important;
    }

    .compare-header .sub-title {
        font-size: 14px !important;
        font-weight: 500 !important;
        margin-top: 7px;
        width: 100% !important;
    }

    .compare-header .btn-solid {
        font-size: 12px;
        padding: 1px 24px;
        margin-top: 7px;
    }

    .compare-header .vs-text {
        font-size: 16px;
        margin-top: -30px;
        margin-bottom: -5px;
    }

    .compare-header .logos-box {
        padding: 28px 24px 37px;
        aspect-ratio: 308 / 208;
        border-radius: 8px;
    }

    .compare-header .logo-item img {
        max-width: 180px;
    }
}

@media screen and (max-width: 600px) {
    .section-wrap.compare-header {
        padding-top: 7px !important;
    }

    .compare-header .container {
        padding-top: 36px;
    }

    .compare-header .content-side,
    .compare-header .logos-side {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .compare-header .logo-item img {
        max-width: 160px;
    }
}

@media screen and (max-width: 455px) {
    .compare-header .logos-side {
        max-width: none;
    }
}
/* --- Header section - end --- */

/* --- Features Carousel section - start --- */

.section-wrap.features-carousel {
    padding-top: 92px;
    padding-bottom: 60px;
}

@media screen and (max-width: 1250px) {
    .section-wrap.features-carousel {
        padding-top: 76px;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 1024px) {
    .section-wrap.features-carousel {
        padding-top: 60px;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 800px) {
    .section-wrap.features-carousel {
        padding-top: 44px;
        padding-bottom: 30px;
    }
}

.features-carousel .title {
    font-family: 'Figtree', sans-serif;
    font-size: 50px !important;
    font-weight: 700 !important;
    line-height: 1.1em !important;
    letter-spacing: 0 !important;
    color: #383700;
    text-align: center;
    margin: 0 0 60px 0 !important;
    width: auto !important;
}

@media screen and (max-width: 1250px) {
    .features-carousel .title {
        font-size: 42px !important;
    }
}

@media screen and (max-width: 1024px) {
    .features-carousel .title {
        font-size: 34px !important;
        margin-bottom: 40px !important;
    }
}

@media screen and (max-width: 800px) {
    .features-carousel .title,
    .features-carousel .title.center,
    .features-carousel .title.right {
        font-size: 24px !important;
        text-align: left !important;
        margin-bottom: 24px !important;
    }
}

/* Desktop: centered, showing exactly 4 slides (4×392 + 3×20 = 1628px).
   Bottom padding reserves 105px for nav buttons (60px gap + 45px btn height). */
.features-carousel .features-swiper-wrap {
    position: relative;
    max-width: 1628px;
    margin: 0 auto;
    padding: 0 0 100px;
}

@media screen and (max-width: 800px) {
    .features-carousel .features-swiper-wrap {
        max-width: none;
        margin: 0;
        padding: 0 0 60px;
    }
}

/* Desktop: clip slides outside the 4-slide viewport. Mobile: let them peek. */
.features-carousel .features-swiper {
    overflow: hidden;
    height: auto;
}

.features-carousel .features-swiper .swiper-wrapper {
    height: auto;
}

@media screen and (max-width: 800px) {
    .features-carousel .features-swiper {
        overflow: visible;
    }
}

/* Slide card */
.features-carousel .swiper-slide {
    width: 392px;
    height: auto;
    background-color: #e3e1fc;
    border-radius: var(--radius);
    box-sizing: border-box;
}

@media screen and (max-width: 800px) {
    .features-carousel .swiper-slide {
        width: 260px;
    }
}

.features-carousel .slide-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 521px;
    padding: var(--content-padding);
    box-sizing: border-box;
    color: #383700;
    text-align: left;
}

@media screen and (max-width: 800px) {
    .features-carousel .slide-inner {
        min-height: 368px;
        padding: 53px 29px 37px;
    }
}

.features-carousel .content-area {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media screen and (max-width: 800px) {
    .features-carousel .content-area {
        gap: 20px;
    }
}

.features-carousel .slide-title {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.4;
    color: #383700;
    margin: 0;
    text-align: left;
}

@media screen and (max-width: 1024px) {
    .features-carousel .slide-title {
        font-size: 17px;
    }
}

@media screen and (max-width: 800px) {
    .features-carousel .slide-title {
        font-weight: 800;
        font-size: 16px;
        line-height: 1.2;
    }
}

.features-carousel .slide-desc {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: #383700;
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .features-carousel .slide-desc {
        font-size: 17px;
    }
}

@media screen and (max-width: 800px) {
    .features-carousel .slide-desc {
        font-size: 14px;
        line-height: 1.2;
    }
}

.features-carousel .features-carousel-prev,
.features-carousel .features-carousel-next {
    position: absolute;
    bottom: 0;
    width: 45px;
    height: 45px;
    background-color: white;
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 2;
    padding: 0;
}

.features-carousel .features-carousel-next {
    left: calc(3 * 392px + 2 * 20px - 45px); /* = 1171px */
    background-image: url(/wp-content/uploads/test_slider_next_arrow.svg);
}

.features-carousel .features-carousel-prev {
    left: calc(3 * 392px + 2 * 20px - 45px - 13px - 45px); /* = 1113px, 13px gap before next */
    background-image: url(/wp-content/uploads/test_slider_back_arrow.svg);
}

.features-carousel .features-carousel-prev:hover,
.features-carousel .features-carousel-next:hover {
    opacity: 0.5;
}

.features-carousel .features-carousel-prev.swiper-button-disabled,
.features-carousel .features-carousel-next.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

@media screen and (min-width: 801px) and (max-width: 1335px) {
    .features-carousel .features-swiper-wrap {
        max-width: none;
        margin: 0;
        padding: 0 0 105px;
    }

    .features-carousel .features-swiper {
        overflow: visible;
    }

    .features-carousel .swiper-slide {
        width: 320px;
    }

    .features-carousel .slide-inner {
        min-height: 460px;
        padding: 40px;
    }

    .features-carousel .content-area {
        gap: 22px;
    }

    .features-carousel .slide-title {
        font-size: 20px;
    }

    .features-carousel .slide-desc {
        font-size: 18px;
    }

    .features-carousel .features-carousel-next {
        right: auto;
        left: calc(3 * 320px + 2 * 20px - 45px);
    }

    .features-carousel .features-carousel-prev {
        right: auto;
        left: calc(3 * 320px + 2 * 20px - 45px - 13px - 45px);
    }
}

@media screen and (max-width: 1100px) {
    .features-carousel .features-carousel-next {
        left: auto;
        right: calc(var(--menu_margin) - 23px);
    }
    .features-carousel .features-carousel-prev {
        left: auto;
        right: calc(var(--menu_margin) + 35px);
    }
}

@media screen and (max-width: 450px) {
    .features-carousel .features-carousel-next {
        right: calc(var(--menu_margin) - 18px);
    }
    .features-carousel .features-carousel-prev {
        right: calc(var(--menu_margin) + 40px);
    }
}

@media screen and (max-width: 350px) {
    .features-carousel .features-carousel-next {
        right: calc(var(--menu_margin) - 11px);
    }
    .features-carousel .features-carousel-prev {
        right: calc(var(--menu_margin) + 47px);
    }
}

@media screen and (max-width: 1024px) {
    .features-carousel .features-swiper-wrap {
        padding-bottom: 80px;
    }
}
/* --- Features Carousel section - end --- */