/*Telega button custom*/
.gh-telegram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    background-color: #229ED9;
    color: #fff;
    transition: background-color 0.2s ease;
    padding-inline: 24px;
    height: 44px;
    border-radius: 40px;
}
.gh-telegram-button:hover {
    background-color: #168ac0;
    color: #fff;
}
.gh-telegram-button >p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600; 
    gap: 10px;
}
.gh-telegram-button svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/*Image card scale*/
.gh-card-image {
    overflow: hidden;
}
.gh-card-image img {
    transition: transform 0.5s ease;
}
.gh-card-image img:hover {
    transform: scale(1.05);
}

#idala-middle-ad:not(:has(#yandex_rtb_R-A-20305811-14 iframe)) {
    display: none !important;
}

.facts {
    margin-top: 6rem;
    margin-bottom: -6rem;
}

.random-text {
    font-style: italic;
    font-size: 20px;
    text-align: center;
    padding: 20px;
    margin: auto;
    width: 40%
}

.vignet img {
    margin: auto;
    width: 25%;
    opacity: 0.1;
}

@media (max-width: 1200px) {
    .random-text {
        width: 75%; 
    }
    .vignet img {
        width: 40%; 
    }  
}

@media (max-width: 768px) {
    .vignet img {
        width: 75%; 
    }
}

.gpref {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}

.gh-navigation {
    position: sticky;
    top: 0;
    z-index: 9999;
}  

/* Белая волна */
.gh-cta-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, .15) 25%,
        rgba(255, 255, 255, .75) 50%,
        rgba(255, 255, 255, .15) 75%,
        transparent 100%
    );
    transform: skewX(-20deg);
    pointer-events: none;
}

.gh-cta-inner:hover::before {
    animation: cta-wave 1.7s ease-in-out infinite;
}

@keyframes cta-wave {
    from {
        left: -120%;
    }
    to {
        left: 150%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gh-cta-inner:hover::before {
        animation: none;
    }
}
