/* ============================================================
   ODBROJAVANJE ZA WEBINAR — naslovna, odmah ispod hero-a (inc/webinar-baner.php) — 28. 9. 2026
   Dizajn klijenta uklopljen u sajt: Lora, tekst #584642, akcent #8B726C, zlatna tačka #D6A14B,
   zaobljena krem kartica iste širine kao hero (20px od ivica, radius 24), fotografija desno bledi ulevo.
   Računar: tekst | odbrojavanje + dugme | fotografija. Tablet: tekst pa odbrojavanje, fotografija desno.
   Telefon: fotografija gore (bledi nadole), sve centrirano. Traka sama nestaje kad webinar počne.
   ============================================================ */
.new-home-page .ivx-wbn {
    --ink: #584642; --brown: #8B726C; --line: #E3D2CA;
    position: relative; isolation: isolate; overflow: hidden;
    margin: 56px 20px 0; border-radius: 24px;
    background: linear-gradient(90deg, #FBF7F4 0%, #F7EFEA 55%, #F2E6DF 100%);
    box-shadow: 0 30px 60px -46px rgba(88, 70, 66, .5);
    color: var(--ink); font-family: 'Lora', Georgia, serif;
}
.new-home-page .ivx-wbn * { box-sizing: border-box; }
.new-home-page .ivx-wbn :is(p, h2, ul, li, a, span) { font-family: 'Lora', Georgia, serif !important; }

/* fotografija */
.new-home-page .ivx-wbn__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: -1; }
.new-home-page .ivx-wbn__media picture { display: block; width: 100%; height: 100%; }
.new-home-page .ivx-wbn__media img {
    display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 38%;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 22%, #000 48%);
            mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 22%, #000 48%);
}

/* raspored */
.new-home-page .ivx-wbn__inner {
    display: flex; align-items: center; gap: 48px;
    max-width: 1240px; min-height: 460px; margin: 0 auto; padding: 64px 20px;
}
.new-home-page .ivx-wbn__text { flex: 0 1 540px; min-width: 0; }
.new-home-page .ivx-wbn__cta { flex: 0 0 auto; }

/* tekst */
.new-home-page .ivx-wbn__eyebrow {
    display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 16px !important;
    font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .32em; text-transform: uppercase; color: var(--brown);
}
.new-home-page .ivx-wbn__open {
    display: inline-flex; align-items: center; gap: 9px; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line);
    font-size: 12px; letter-spacing: .2em; color: var(--ink);
}
.new-home-page .ivx-wbn__open::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: #D6A14B;
    animation: ivxWbnPulse 2.2s ease-out infinite;
}
@keyframes ivxWbnPulse {
    0% { box-shadow: 0 0 0 0 rgba(214, 161, 75, .55); }
    70% { box-shadow: 0 0 0 8px rgba(214, 161, 75, 0); }
    100% { box-shadow: 0 0 0 0 rgba(214, 161, 75, 0); }
}
.new-home-page .ivx-wbn__title {
    margin: 0 !important; font-size: clamp(36px, 3.4vw, 50px); font-weight: 400; line-height: 1.08;
    letter-spacing: -.01em; color: var(--ink); text-transform: none;
}
.new-home-page .ivx-wbn__title em { display: block; font-style: italic; color: var(--brown); }
.new-home-page .ivx-wbn__sub {
    margin: 16px 0 0 !important; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.3; color: var(--ink);
}
.new-home-page .ivx-wbn__meta {
    display: flex; flex-wrap: wrap; align-items: center; row-gap: 10px;
    margin: 30px 0 0 !important; padding: 0 !important; list-style: none;
}
.new-home-page .ivx-wbn__meta li {
    display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 18px;
    border-left: 1px solid var(--line); font-size: 18px; line-height: 1.2; color: var(--ink); list-style: none;
}
.new-home-page .ivx-wbn__meta li:first-child { padding-left: 0; border-left: 0; }
.new-home-page .ivx-wbn__meta svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--brown); }

/* odbrojavanje */
.new-home-page .ivx-wbn__label {
    margin: 0 0 16px !important; text-align: center;
    font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .3em; text-transform: uppercase; color: var(--ink);
}
.new-home-page .ivx-wbn__timer { display: grid; grid-template-columns: repeat(4, 96px); justify-content: center; gap: 12px; }
.new-home-page .ivx-wbn__unit {
    display: flex; flex-direction: column; align-items: center; justify-content: center; height: 108px;
    border-radius: 10px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(221, 203, 195, .85);
    box-shadow: 0 16px 32px -24px rgba(88, 70, 66, .55);
}
.new-home-page .ivx-wbn__num {
    font-size: 44px; font-weight: 400; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.new-home-page .ivx-wbn__lbl {
    margin-top: 10px; font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--brown);
}
.new-home-page .ivx-wbn__btn {
    display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; height: 58px; padding: 0 20px;
    border-radius: 8px; background: var(--brown); color: #FFFFFF !important;
    font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .18em; text-transform: uppercase; text-decoration: none !important;
    box-shadow: 0 16px 30px -18px rgba(88, 70, 66, .75); transition: background-color .2s ease, transform .2s ease;
}
.new-home-page .ivx-wbn__btn span { color: #FFFFFF !important; letter-spacing: 0; font-size: 18px; }
.new-home-page .ivx-wbn__btn:hover { background: #735E59; transform: translateY(-2px); }
.new-home-page .ivx-wbn__btn:focus-visible { outline: 2px solid #D6A14B; outline-offset: 3px; }

/* ── TABLET ── */
@media (max-width: 1100px) {
    .new-home-page .ivx-wbn__inner { flex-direction: column; align-items: flex-start; gap: 34px; min-height: 0; padding: 56px 40px; }
    .new-home-page .ivx-wbn__text { flex: none; max-width: 520px; }
    .new-home-page .ivx-wbn__media { width: 56%; }
    .new-home-page .ivx-wbn__media img {
        -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .45) 30%, #000 62%);
                mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .45) 30%, #000 62%);
    }
    .new-home-page .ivx-wbn__timer { grid-template-columns: repeat(4, 90px); justify-content: start; }
    .new-home-page .ivx-wbn__label { text-align: left; }
}

/* ── TELEFON ── */
@media (max-width: 767px) {
    .new-home-page .ivx-wbn { margin: 40px 16px 0; }
    .new-home-page .ivx-wbn__media { position: relative; width: 100%; height: 230px; z-index: 0; }
    .new-home-page .ivx-wbn__media img {
        object-position: 72% 30%;
        -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0) 100%);
                mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0) 100%);
    }
    .new-home-page .ivx-wbn__inner {
        position: relative; z-index: 1; align-items: stretch; gap: 26px; margin-top: -28px; padding: 0 18px 28px; text-align: center;
    }
    .new-home-page .ivx-wbn__text { max-width: none; }
    .new-home-page .ivx-wbn__eyebrow { justify-content: center; row-gap: 8px; font-size: 12px; letter-spacing: .2em; }
    .new-home-page .ivx-wbn__open { margin-left: 10px; padding-left: 10px; font-size: 11px; letter-spacing: .12em; }
    .new-home-page .ivx-wbn__title { font-size: clamp(28px, 8.2vw, 34px); }
    .new-home-page .ivx-wbn__sub { margin-top: 12px !important; font-size: 19px; }
    .new-home-page .ivx-wbn__meta { justify-content: center; margin-top: 20px !important; }
    .new-home-page .ivx-wbn__meta { column-gap: 18px; }
    .new-home-page .ivx-wbn__meta li { gap: 6px; padding: 0; border-left: 0; font-size: 14px; }   /* bez crta: u dva reda crta bi visila ispred „Online" */
    .new-home-page .ivx-wbn__meta svg { flex-basis: 20px; width: 20px; height: 20px; }
    .new-home-page .ivx-wbn__label { text-align: center; margin-bottom: 12px !important; font-size: 11px; letter-spacing: .22em; }
    .new-home-page .ivx-wbn__timer { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .new-home-page .ivx-wbn__unit { height: 84px; }
    .new-home-page .ivx-wbn__num { font-size: 32px; }
    .new-home-page .ivx-wbn__lbl { margin-top: 8px; font-size: 10px; letter-spacing: .12em; }
    .new-home-page .ivx-wbn__btn { height: 54px; margin-top: 18px; font-size: 13px; letter-spacing: .14em; }
}
@media (prefers-reduced-motion: reduce) {
    .new-home-page .ivx-wbn__open::before { animation: none; }
}
