/* Doplňky k převzatým stylům z WP (to, co dřív dodávaly pluginy, které tu už nejsou) */

/* Complianz: skrytí lišty a tlačítka „Spravovat souhlas“ */
.cmplz-hidden { display: none !important; }

/* Hláška pod formulářem (dřív Contact Form 7) */
.wpcf7-response-output { margin: 2em 0.5em 1em; padding: 0.2em 1em; border: 2px solid transparent; }
.wpcf7-response-output:empty { display: none; }
.wpcf7-response-output.rs-ok { border-color: #46b450; }
.wpcf7-response-output.rs-chyba { border-color: #dc3232; }

/* Elementor: pozadí kontejnerů se načítají líně (třídu e-lazyloaded přidá assets/js/elementor-lazyload.js) — převzato z WP */

.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * {
background-image: none !important;
}
@media screen and (max-height: 1024px) {
.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * {
background-image: none !important;
}
}
@media screen and (max-height: 640px) {
.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * {
background-image: none !important;
}
}

/* Barva ikon v SVG (převzato z WP) */
.s0 { fill: #2d9cdb }

/* Detail článku: náhledový obrázek vpravo u textu + zvětšení po kliknutí (převzato z vlastního snippetu na WP) */
.blog-details .blog-thumb { display: none !important; }
#blog-featured-img { float: right; max-width: 320px; width: 35%; height: auto; margin: 5px 0 20px 25px; cursor: zoom-in; display: block; }
@media (max-width: 768px) {
    #blog-featured-img { float: none; width: 100%; max-width: 100%; margin: 0 0 20px 0; }
}
#blog-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 99999; align-items: center; justify-content: center; cursor: zoom-out; }
#blog-lightbox.je-otevreny { display: flex; }
#blog-lightbox img { max-width: 90vw; max-height: 90vh; box-shadow: 0 0 40px rgba(0,0,0,0.5); }

/* Místo pro „spinner“ za tlačítkem formuláře (dřív přidával Contact Form 7) — drží stejné rozložení */
.wpcf7-spinner { visibility: hidden; display: inline-block; width: 24px; height: 24px; margin: 0 24px; padding: 0; position: relative; }

/* tlačítka vždy v barvě webu #2D9CDB (šablona má jinak fialový gradient; hover řeší design.css) */
.single-button.style3 a { background: #2D9CDB; }

/* landing page akce (/akce/) */
.akce-hero { background: #061B24; padding: 80px 0; position: relative; overflow: hidden; }
.akce-hero::before, .akce-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; animation: akce-plyn 12s ease-in-out infinite alternate; }
.akce-hero::before { width: 420px; height: 420px; background: #2D9CDB; top: -160px; right: 10%; }
.akce-hero::after { width: 320px; height: 320px; background: #1678b1; bottom: -180px; left: -80px; animation-delay: -6s; }
.akce-hero .container { position: relative; z-index: 1; }
.akce-hero .section-title .title { color: #fff; font-size: 52px; }
.akce-hero .section-title .title span, .akce-modra { color: #2D9CDB; }
.akce-hero .col-lg-7 > * { animation: akce-vyjet .8s ease-out both; }
.akce-hero .col-lg-7 > :nth-child(2) { animation-delay: .15s; }
.akce-hero .col-lg-7 > :nth-child(3) { animation-delay: .3s; }
.akce-hero .col-lg-7 > :nth-child(4) { animation-delay: .45s; }
.akce-pruh { display: inline-block; background: rgba(229,72,77,.12); border: 2px solid #e5484d; color: #fff; padding: 10px 20px; border-radius: 30px; font-size: 16px; margin: 8px 0 0; }
.akce-pruh i { color: #2D9CDB; margin-right: 6px; }
.akce-pruh a { color: #fff; text-decoration: underline; }
.akce-konec { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.akce-tecka { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; margin-right: 8px; animation: akce-pulz 1.6s infinite; }
.akce-perex { color: #c9d6de; font-size: 18px; line-height: 1.7; margin: 24px 0 32px; }
.akce-perex strong { color: #fff; }
.akce-obr { position: relative; text-align: center; }
.akce-obr img { max-width: 100%; height: auto; animation: akce-vznaset 6s ease-in-out infinite; }
.akce-odznak { position: absolute; top: 4%; right: 4%; width: 130px; height: 130px; border-radius: 50%; background: #2D9CDB; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(45,156,219,.6); animation: akce-pulz 2.4s infinite; transform: rotate(-12deg); }
.akce-odznak strong { font-size: 34px; line-height: 1; }
.akce-odznak span { font-size: 13px; }

.akce-telo { padding: 80px 15px; }
.akce-stred { text-align: center; margin-bottom: 40px; }
.akce-karta { position: relative; overflow: hidden; background: #fff; border: 1px solid #e3edf3; border-radius: 16px; padding: 40px 32px 28px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(6,27,36,.06); transition: transform .3s, box-shadow .3s; height: calc(100% - 30px); }
.akce-karta:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(45,156,219,.18); }
.akce-karta h3 { margin-bottom: 12px; }
.akce-karta p { margin-bottom: 24px; }
.akce-karta .single-button { display: block; margin-bottom: 12px; }
.akce-karta .single-button a { display: block; text-align: center; }
.akce-karta .single-button a.akce-tl { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 28px; text-align: left; }
.akce-ceny { font-size: 14px; white-space: nowrap; }
.akce-ceny s { opacity: .75; margin-right: 6px; }
.akce-ceny strong { font-size: 18px; }
.akce-stuha { position: absolute; top: 18px; right: -36px; width: 140px; text-align: center; transform: rotate(45deg); background: #e5484d; color: #fff; font-weight: 700; padding: 4px 0; }

.akce-info { margin-top: 50px; }
.akce-info h2 { margin-bottom: 24px; }
.akce-podminky { background: #061B24; color: #c9d6de; border-radius: 16px; padding: 36px 32px; margin-bottom: 30px; }
.akce-podminky h2 { color: #fff; }
.akce-podminky ul { padding: 0; margin: 0; }
.akce-podminky li { display: flex; gap: 12px; margin-bottom: 14px; }
.akce-podminky li i { color: #2D9CDB; font-size: 18px; }
.akce-podminky li.akce-ne i { color: #e5484d; }
.akce-podminky strong { color: #fff; }
.akce-duvody > div { display: flex; gap: 18px; margin-bottom: 22px; }
.akce-duvody i { flex: 0 0 52px; height: 52px; border-radius: 12px; background: rgba(45,156,219,.12); color: #2D9CDB; font-size: 24px; display: flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.akce-duvody > div:hover i { background: #2D9CDB; color: #fff; }
.akce-duvody p { margin: 0; }

.akce-cta { margin-top: 50px; text-align: center; background: linear-gradient(135deg, #eaf5fc 0%, #f7fbfe 100%); border-radius: 16px; padding: 50px 24px; }
.akce-cta p { max-width: 640px; margin: 0 auto 24px; }
.akce-cta .single-button { display: inline-block; margin: 0 6px 12px; }

@keyframes akce-vyjet { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes akce-vznaset { 50% { transform: translateY(-16px); } }
@keyframes akce-plyn { to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes akce-pulz { 70% { box-shadow: 0 0 0 16px rgba(45,156,219,0); } 100% { box-shadow: 0 0 0 0 rgba(45,156,219,0); } }
.akce-tecka { box-shadow: 0 0 0 0 rgba(61,220,132,.6); }
@media (prefers-reduced-motion: reduce) { .akce *, .akce-hero::before, .akce-hero::after { animation: none !important; } }
@media (max-width: 991px) { .akce-obr { margin-top: 40px; } .akce-obr img { max-width: 380px; } }
@media (max-width: 767px) { .akce-hero { padding: 50px 0; } .akce-hero .section-title .title { font-size: 36px; } .akce-odznak { width: 96px; height: 96px; } .akce-odznak strong { font-size: 24px; } .akce-telo { padding: 50px 15px; } .akce-karta, .akce-podminky { padding: 32px 20px 20px; } }

/* ceník — tooltip u IT Security Add-on (dřív inline ve skriptu WPCode) */
.custom-tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 300px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
.custom-tooltip.show {
    opacity: 1;
}
.custom-tooltip::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #333;
}

/* horní lišta akce na celém CZ webu (index.php) */
.akce-lista { position: sticky; top: 0; z-index: 300; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 14px; height: 46px; padding: 0 16px; white-space: nowrap; background: linear-gradient(90deg, #061B24 0%, #0d3b55 50%, #061B24 100%); color: #fff; font-size: 15px; line-height: 1.3; text-decoration: none; }
.akce-lista:hover, .akce-lista:focus { color: #fff; }
.akce-lista::after { content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transform: skewX(-20deg); animation: akce-lesk 5s ease-in-out infinite; }
.akce-lista-sleva { background: #e5484d; color: #fff; font-weight: 700; padding: 3px 12px; border-radius: 30px; white-space: nowrap; animation: akce-poskok 2.5s ease-in-out infinite; }
.akce-lista-text strong { color: #fff; }
.akce-lista-dlouhy { color: #c9d6de; }
.akce-lista-btn { background: #2D9CDB; color: #fff; font-weight: 600; font-size: 14px; padding: 5px 16px; border-radius: 30px; white-space: nowrap; transition: background .3s; }
.akce-lista-btn i { display: inline-block; transition: transform .3s; }
.akce-lista:hover .akce-lista-btn { background: #288ec9; }
.akce-lista:hover .akce-lista-btn i { transform: translateX(4px); }
/* lišta drží nahoře i při rolování — fixní hlavička (úvod vždy, ostatní po odrolování) jde pod ni */
.akce-lista ~ .site-header1, .akce-lista ~ .site-header2.sticky-nav { top: 46px; }
@media (max-width: 1199px) { .akce-lista-dlouhy { display: none; } }
@keyframes akce-lesk { 0%, 60% { left: -40%; } 100% { left: 120%; } }
@keyframes akce-poskok { 0%, 80%, 100% { transform: scale(1); } 90% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .akce-lista::after, .akce-lista-sleva { animation: none; } }
@media (max-width: 767px) { .akce-lista { gap: 10px; font-size: 14px; height: 42px; padding: 0 12px; } .akce-lista-btn { padding: 4px 12px; } }
