/* Klidná vrstva – pouze články Tipy (hlavní web neměnit) */

.bg-overlay-v2 {
    opacity: 0.06;
    --hi: 0.2;
}

@media (prefers-reduced-motion: reduce) {
    .bg-overlay-v2 {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes _k2 {
    0% {
        opacity: 0.06;
        transform: scale(1);
    }

    50% {
        opacity: var(--hi);
        transform: scale(1.05);
    }

    100% {
        opacity: 0.06;
        transform: scale(1);
    }
}

@keyframes _k3 {
    0% {
        opacity: 0.065;
        filter: blur(2px);
    }

    50% {
        opacity: 0.09;
        filter: blur(0px);
    }

    100% {
        opacity: 0.065;
        filter: blur(2px);
    }
}

.tipy-figure {
    margin: 1.5rem 0 2rem;
    padding: 0;
}

.tipy-figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.tipy-figure--hero {
    margin-top: 0.75rem;
}

/* Rezervační CTA v článcích Tipy */
.tipy-cta {
    margin: 2rem 0;
    padding: 1.4rem 1.5rem;
    border-radius: 12px;
    background: #f1f7f3;
    border: 1px solid #cfe3d6;
    text-align: center;
}

.tipy-cta__title {
    margin: 0 0 0.4rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #1f4d36;
}

.tipy-cta__text {
    margin: 0 0 1rem;
}

.tipy-cta__btn,
.tipy-cta-sticky {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    background: #2d6a4f;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.28);
    transition: background-color 0.2s ease;
}

.tipy-cta__btn:hover,
.tipy-cta__btn:focus-visible,
.tipy-cta-sticky:hover,
.tipy-cta-sticky:focus-visible {
    background: #1f4d36;
}

.tipy-cta__btn {
    animation: tipyCtaPulse 1.6s ease-in-out 0.8s 2;
}

.tipy-cta__alt {
    margin: 0.9rem 0 0;
    font-size: 0.95rem;
}

@keyframes tipyCtaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.tipy-cta-sticky {
    display: none;
}

@media (max-width: 768px) {
    .tipy-cta {
        padding: 1.2rem 1rem;
    }

    .tipy-cta__btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .tipy-cta-sticky {
        display: block;
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
        z-index: 1000;
        text-align: center;
        padding: 0.8rem 1rem;
    }

    body {
        padding-bottom: 4.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tipy-cta__btn {
        animation: none;
    }
}
