:root {
    --heart-size: 20px;
}

.paginations-area .pagination {
    gap: 20px;
}

.pagination {
    flex-wrap: wrap;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}

.paginations-area .pagination .page-item.active .page-link {
    background: var(--theme-color);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color3);
    color: var(--white) !important;
}

.paginations-area .pagination .page-item .page-link {
    padding: 0;
    height: 40px;
    width: 40px;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid;
    border-color: rgba(0, 29, 35, 0.3);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(41, 43, 49, 0.7);
    background: #fff;
}

.paginations-area .pagination .page-item:not(.active) .page-link:hover{
    background: var(--theme-color);
    border-color: #fff;
    color: #fff;
    border-style: dashed;
}


.pagination-wrap{
    margin: 0 auto;
    width: 100%;
    padding: 50px 0 0 0;
}

.paginations-area{
    width: fit-content;
}



#cookie-notice {
    position: fixed;
    min-width: 100%;
    height: auto;
    z-index: 100000;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 20px;
    left: 0;
    bottom: 0;
    text-align: center;
    font-weight: 400;
    font-family: -apple-system,BlinkMacSystemFont,Arial,Roboto,"Helvetica Neue",sans-serif
}

#cookie-notice,#cookie-notice * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

#cookie-notice.cn-animated {
    -webkit-animation-duration: .5s!important;
    animation-duration: .5s!important;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

#cookie-notice.cn-animated.cn-effect-none {
    -webkit-animation-duration: 1ms!important;
    animation-duration: 1ms!important
}

#cookie-notice .cookie-notice-container {
    display: block;
    padding: 20px;
}

#cookie-notice.cookie-notice-hidden .cookie-notice-container {
    display: none
}

#cookie-notice .cookie-revoke-container {
    display: block
}

#cookie-notice.cookie-revoke-hidden .cookie-revoke-container {
    display: none
}

.active a{
    color: var(--theme-color) !important;
}

.kg-card.kg-callout-card.kg-callout-card-green{
    box-sizing: border-box;
    padding-left: 4rem;
    position: relative;
}

.kg-card.kg-callout-card.kg-callout-card-green:before{
    content: '👋';
    position: absolute;
    left: 27px;
    top: 20px;
}

/*********************************************************************/

#search-form{
    width: 460px;
    max-width: 90%;
    z-index: 999;
    position: absolute;
    left: 50%;
    top: 0;
    margin: 0 auto;
    transition: 350ms;
    transition-delay: 150ms;
    transform: translateY(250px) translateX(-50%);
    opacity: 0;
    visibility: hidden;
}

#search-form form{
    display: block;
    width: 100%;
}

.active#search-form{
    transform: translateY(100px) translateX(-50%);
    opacity: 1 !important;
    visibility: visible !important;
}

.search-form-wrapper{
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    padding: 20px;
    position: relative;
    border-radius: var(--radius-999);
}

.search-form-wrapper > input{
    border: none;
    outline: none;
    padding: 9px;
    width: 100%;
    margin-left: 1px;
}

.search-form-wrapper > button{
    display: none;
}

.search-form-wrapper svg{
    width: 16px;
    height: 16px;
}

#back-fade{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 998;
    background: #000;
}

.bolg-tag{
    padding: 0;
    margin: 0;
}

.bolg-tag ul{
    list-style: none;
    display: flex;
    padding: 0;
}

.bolg-tag ul >li{
    margin-right: 20px;
}

.bolg-tag ul > li > a{
    text-decoration: none !important;
}


@media (max-width: 640px){
    .prev-next-wrap{
        flex-direction: column-reverse;
    }

    .prev-next-wrap > div{
        margin-bottom: 30px;
    }

    .related-post-wrap{
        margin-top: 0;
    }
}


/************************************************/

.heart-box-wrapper{
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.heart-box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.heart {
    width: var(--heart-size);
    height: var(--heart-size);
    background: #f00;
    transform: rotateZ(45deg);
    position: relative;
    filter: drop-shadow(2px 2px 2px #000);
    opacity: 0.7;
}

.heart.active{
    animation: 1.2s ease-in 0s infinite alternate throb;
    opacity: 1;
}

.heart::before, .heart::after {
    content: "";
    width: var(--heart-size);
    height: var(--heart-size);
    background: #f00;
    position: absolute;
    border-radius: 50%;
}
.heart::before {
    top: 0;
    left: -50%;
}
.heart::after {
    top: -50%;
    right: 0;
}

.heart_count{
    border-radius: 50%;
    position: absolute;
    z-index: 99;
    line-height: 13px;
    height: 20px;
    width: 20px;
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}



/************************************************/



@media (max-width: 640px){
    .widget.widget-newsletter{
        margin-top: 0 !important;
    }
}

@media (max-width: 1150px){
    .header-logo .logo-image img{
        width: 64px;
    }
}

.header-logo-wrapper{
    position: absolute;
    left: 0;
    top: 0;
}

.alternate-signup-box svg{
    width: 72px;
    height: 72px;
}

.single-post-content img.size-full{
    border-radius: var(--radius-16);
    cursor: zoom-in;
    transition: transform 200ms ease;
    pointer-events: auto;
    margin: 25px 0;
}

.single-post-content img.size-full.active {
    top: 50%;
    max-width: 98%;
    position: fixed;
    color: #fff;
    overflow: hidden;
    /* transform: translate3d(10%, -213px, 0px); */
    z-index: 1001;
    align-items: center;
    align-self: center;
    width: auto;
    transform: translate(-50%, -50%);
    right: 50%;
    left: 50%;
}


.languages-list > ul{
    display: flex;
    padding-left: 0;
}

.languages-list > ul > li{
    display: block;
    margin-right: 5px;
}

.languages-list > ul > li > a > img{
    width: 35px;
}


.home-box > * {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.home-box header {
    background: linear-gradient(113deg, #036cd0 37.25%, #469cf7 63.35%, #0374d0 79%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.home-box header a{
    text-decoration: none !important;
}

.home-box header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.home-box header p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.home-box .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: #4676f7;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
    margin-bottom: 3px;
}

.home-box .btn-primary:hover {
    background-color: #eaeaff;
}

.home-box .section {
    padding: 60px 20px;
    margin: 0 auto;
}

.home-box .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.home-box .feature-box {
    background:linear-gradient(112.45deg, #e1565f 37.25%, #464ff7 63.35%, yellowgreen  79%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: 0.3s;
    color: #872a2a;
    transition: all 0.2s ease;
}

.home-box .feature-box:hover {
    border-radius: 32px;
}

.home-box .feature-box h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #4676f7;
}

.home-box .feature-box h3 p{
    margin: 0;
}

.home-box .feature-box h3 img {
    display: inline-block;
    width: 30px;
    margin: 0 7px 7px 0;
    vertical-align: middle;
}

.home-box footer {
    padding: 40px 20px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.home-box .feature-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 0 20px 60px 20px;
    margin: 0 auto;
}

.home-box .feature-row.reverse {
    flex-direction: row-reverse;
}

.home-box .feature-text {
    flex: 1;
    min-width: 300px;
}

.home-box .feature-text h2 {
    font-size: 28px;
    color: #715bdd;
    margin-bottom: 15px;
}

html[data-theme="dark"] .home-box .feature-text h2 {
    color: #d2cbf3;
}

.home-box .feature-text p {
    font-size: 18px;
    color: var(--text-color-main);
}

.home-box .feature-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.home-box .feature-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.yt-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.yt-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* делает как будто это фон */
}

video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

.video-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.video-wrapper video{
    max-width: 100%;
}

.single-post-card-home.single-post-card-home{
    padding: 0;
    overflow: hidden;
}

.single-post-card-home.single-post-card-home .single-post-content{
    max-width: 100% !important;
    margin-top: -53px;
}

.telegram-sidebar-button {
    display: block;
    padding: 12px 20px;
    margin: 8px 0;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    background-color: rgba(34, 158, 217, 0.1);
    color: #1A7EA8;
    transition: background-color 0.3s, color 0.3s;
}

.telegram-sidebar-button-selected,
.telegram-sidebar-button:hover{
    background-color: rgba(34, 158, 217, 0.2);
    color: darkblue;
}


#service_code_table th{
    text-align: center;
}

@-webkit-keyframes throb {
    from {
        transform: rotateZ(45deg) scale(1, 1);
    }
    to {
        transform: rotateZ(45deg) scale(1.3, 1.3);
    }
}

@keyframes throb {
    from {
        transform: rotateZ(45deg) scale(1, 1);
    }
    to {
        transform: rotateZ(45deg) scale(1.3, 1.3);
    }
}

.botoscope-comparison-wrapper br {
    display: none !important;
}

/********************************************************/

/* ─── SECTION WRAPPER ─── */
.bts-why {
    background: #f8f9ff;
    padding: 70px 20px 80px;
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    border-top: 1px solid rgba(70, 118, 247, 0.1);
    border-bottom: 1px solid rgba(70, 118, 247, 0.1);
}

.bts-why::before {
    display: none;
}

.bts-why::after {
    display: none;
}

.bts-why__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ─── HEADER ─── */
.bts-why__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #4676f7;
    background: rgba(70, 118, 247, 0.08);
    border: 1px solid rgba(70, 118, 247, 0.18);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 0;
}

.bts-why__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.bts-why__title span {
    background: linear-gradient(113deg, #036cd0 37%, #469cf7 63%, #0374d0 79%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bts-why__sub {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* ─── GRID ─── */
.bts-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 880px) {
    .bts-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .bts-why__grid {
        grid-template-columns: 1fr !important;
    }
    .bts-card--featured {
        grid-column: span 1 !important;
    }
}

/* ─── CARD ─── */
.bts-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 26px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: border-radius 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: default;
    font-family: 'Inter', sans-serif;

    /* stagger animation */
    opacity: 0;
    transform: translateY(20px);
    animation: cardReveal 0.5s ease forwards;
}

.bts-card:hover {
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(70, 118, 247, 0.12);
    border-color: rgba(70, 118, 247, 0.25);
    transform: translateY(0);
}

/* remove the old accent line */
.bts-card::before {
    display: none;
}

/* featured card */
.bts-card--featured {
    grid-column: span 2;
    background: linear-gradient(113deg, #036cd0 37%, #469cf7 63%, #0374d0 79%);
    border-color: transparent;
    box-shadow: 0 6px 28px rgba(3, 108, 208, 0.25);
}

.bts-card--featured:hover {
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(3, 108, 208, 0.4);
}

@media (max-width: 880px) {
    .bts-card{
        grid-column: span 3;
    }
}

.bts-card__icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 14px;
    display: block;
}

.bts-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #715bdd;
    margin-bottom: 8px;
    line-height: 1.3;
}

.bts-card--featured .bts-card__title {
    color: #fff;
    font-size: 19px;
}

.bts-card__body {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
}

.bts-card--featured .bts-card__body {
    color: rgba(255, 255, 255, 0.82);
}

.bts-card__body strong {
    color: #1a1a2e;
    font-weight: 600;
}

.bts-card--featured .bts-card__body strong {
    color: #fff;
}

/* ─── CTA ─── */
.bts-why__cta {
    margin-top: 48px;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(113deg, #036cd0 37%, #469cf7 63%, #0374d0 79%);
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 36px;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(3, 108, 208, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(3, 108, 208, 0.45);
}

/* ─── STAGGER ANIMATION ─── */
.bts-card:nth-child(1) {
    animation-delay: 0.05s;
}
.bts-card:nth-child(2) {
    animation-delay: 0.12s;
}
.bts-card:nth-child(3) {
    animation-delay: 0.19s;
}
.bts-card:nth-child(4) {
    animation-delay: 0.26s;
}
.bts-card:nth-child(5) {
    animation-delay: 0.33s;
}
.bts-card:nth-child(6) {
    animation-delay: 0.40s;
}
.bts-card:nth-child(7) {
    animation-delay: 0.47s;
}
.bts-card:nth-child(8) {
    animation-delay: 0.54s;
}
.bts-card:nth-child(9) {
    animation-delay: 0.61s;
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ════════════════════════════════════════
   DARK THEME  [data-theme="dark"]
════════════════════════════════════════ */

[data-theme="dark"] .bts-why {
    background: #0d1117;
    border-top-color: rgba(70, 118, 247, 0.15);
    border-bottom-color: rgba(70, 118, 247, 0.15);
}

[data-theme="dark"] .bts-why__label {
    color: #5b8fff;
    background: rgba(70, 118, 247, 0.12);
    border-color: rgba(70, 118, 247, 0.25);
}

[data-theme="dark"] .bts-why__title {
    color: #f0f4ff;
}

[data-theme="dark"] .bts-why__sub {
    color: rgba(255, 255, 255, 0.5);
}

/* regular cards */
[data-theme="dark"] .bts-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .bts-card:hover {
    background: rgba(70, 118, 247, 0.08);
    border-color: rgba(70, 118, 247, 0.3);
    box-shadow: 0 8px 30px rgba(70, 118, 247, 0.15);
}

/* featured card stays gradient — no change needed */
[data-theme="dark"] .bts-card--featured {
    background: linear-gradient(113deg, #036cd0 37%, #469cf7 63%, #0374d0 79%);
    border-color: transparent;
}

[data-theme="dark"] .bts-card__title {
    color: #d2cbf3;
}

[data-theme="dark"] .bts-card--featured .bts-card__title {
    color: #fff;
}

[data-theme="dark"] .bts-card__body {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .bts-card--featured .bts-card__body {
    color: rgba(255, 255, 255, 0.82);
}

[data-theme="dark"] .bts-card__body strong {
    color: rgba(255, 255, 255, 0.88);
}

[data-theme="dark"] .bts-card--featured .bts-card__body strong {
    color: #fff;
}

.btn.btn-primary{
    border: solid 1px #000;
}
