/* Webinar page */
:root {
    --navy: #171d43;
    --coral: #d93659;
    --rose-text: #be2949;
    --ink: #171d43;
    --muted: #41475d;
    --line: #e8e5eb;
    --blush: #fff7f8;
    --pink: #fbe6ea;
    --gray: #f7f7fa;
    --lavender: #f1eef8;
    --purple: #875ce6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font: 16px/1.65 Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 {
    line-height: 1.13;
    letter-spacing: -.035em;
    text-wrap: balance;
}
h2 { font-size: clamp(1.8rem, 3.4vw, 2.65rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { color: var(--muted); }

.wb-wrap { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.wb-top {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
}
.wb-nav { border-bottom: 1px solid #eee; }
.wb-nav .wb-wrap, .brand, .wb-nav nav { display: flex; align-items: center; gap: 24px; }
.wb-nav .wb-wrap { justify-content: space-between; min-height: 65px; }
.brand { gap: 9px; font-weight: 600; letter-spacing: -.025em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.wb-nav nav { font-size: 13px; font-weight: 600; }
.wb-footer {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 0;
    font-size: 11px;
    color: var(--muted);
}
.wb-footer b { color: var(--ink); }

.nav-button, .wb-form button, .final-cta a, .wb-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 20px;
    background: var(--coral);
    border: 0;
    border-radius: 8px;
    color: #fff;
    font: inherit;
    font-weight: 700;
}
.nav-button:hover, .wb-form button:enabled:hover, .final-cta a:hover, .wb-hero-cta:hover { background: var(--rose-text); }
.wb-icon { flex: none; color: var(--coral); }
.wb-label {
    margin-bottom: 12px;
    color: var(--rose-text);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.wb-hero { background: var(--blush); padding: clamp(38px, 6vw, 80px) 0; }
.wb-hero-inner, .split {
    display: grid;
    gap: clamp(30px, 5vw, 76px);
    align-items: start;
}
.wb-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; }
h1 { font-size: clamp(2rem, 4.1vw, 3.4rem); font-weight: 800; }
.wb-hero-subtitle { margin-top: 10px; color: var(--rose-text); font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 750; }
.wb-lead { max-width: 60ch; margin-top: 15px; }
.wb-value {
    margin-top: 20px;
    border-left: 3px solid var(--coral);
    border-radius: 0 8px 8px 0;
    background: var(--pink);
    padding: 14px 17px;
    color: var(--navy);
}
.wb-hero-date { margin-top: 20px; color: var(--navy); font-weight: 700; }
.wb-hero-date time { white-space: nowrap; }
.wb-hero-cta { margin-top: 16px; }
.wb-hero-speakers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 1.3vw, 16px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.wb-hero-speaker {
    overflow: hidden;
    border: 1px solid var(--pink);
    border-radius: 14px;
    background: var(--blush);
    box-shadow: 0 8px 20px rgb(23 29 67 / 8%);
    text-align: center;
}
.wb-hero-speaker .wb-photo { aspect-ratio: 4 / 5; }
.wb-hero-speaker-name {
    padding: 12px 8px 4px;
    color: var(--navy);
    line-height: 1.3;
    font-weight: 750;
}
.wb-hero-speaker-role { padding: 0 8px 14px; font-size: .8125rem; line-height: 1.45; }
.wb-hero-registration { max-width: 540px; margin-top: clamp(36px, 6vw, 80px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .wb-hero-speaker { transition: transform 180ms ease, box-shadow 180ms ease; }
    .wb-hero-speaker:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgb(23 29 67 / 14%); }
}
@media (max-width: 820px) {
    .wb-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .wb-hero-speakers { width: min(100%, 560px); }
}
@media (max-width: 700px) {
    .wb-hero-speakers { grid-template-columns: minmax(0, 1fr); max-width: 320px; margin-inline: auto; gap: 16px; }
}

.wb-form {
    min-width: 0;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid var(--pink);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(23 29 67 / 7%);
    scroll-margin-top: 16px;
}
.wb-free { display: flex; align-items: center; gap: 7px; }
.wb-free svg { width: 18px; height: 18px; }
.wb-form h2 { font-size: clamp(1.4rem, 2.3vw, 1.75rem); text-wrap: pretty; }
.wb-form-intro { font-size: 14px; margin: 8px 0 18px; }
.wb-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.wb-fields .full { grid-column: 1 / -1; }
.wb-fields label { font-size: 13px; font-weight: 600; min-width: 0; }
.wb-fields label:has(> select) { display: grid; grid-template-rows: 1fr auto; }
.wb-fields input, .wb-fields select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin-top: 5px;
    border: 1px solid #ceccd6;
    border-radius: 6px;
    padding: 8px;
    background: var(--gray);
    color: var(--ink);
    font: 400 16px/1.35 Inter, Arial, sans-serif;
}
.wb-form button { width: 100%; margin: 16px 0 9px; cursor: pointer; }
.wb-form button:disabled { cursor: default; opacity: .85; }

.wb-section { padding: clamp(45px, 6.5vw, 80px) 0; }
.wb-questions h2, #wb-predavaci h2 { max-width: 26ch; }
.wb-question-grid, .wb-benefit-list { padding: 0; list-style: none; }
.wb-question-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 44px;
    margin: 28px 0 24px;
}
.wb-question-grid li, .wb-benefit-list li { display: flex; align-items: flex-start; gap: 14px; }
.wb-question-grid li { align-items: center; font-weight: 600; }
.wb-icon-tile {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 9px;
    background: var(--pink);
}
.wb-question-summary { border-top: 1px solid var(--line); padding-top: 20px; }
#wb-predavaci, .wb-benefits { background: var(--gray); }
#wb-predavaci { padding-bottom: 0; }
.wb-speakers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}
.wb-speaker {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.wb-photo { aspect-ratio: 1.18; overflow: hidden; background: var(--lavender); }
.wb-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.wb-speaker-body { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: 20px; }
.wb-speaker h3 { margin: 7px 0; font-size: 1.45rem; }
.wb-speaker small { color: var(--rose-text); font-size: 11px; font-weight: 700; letter-spacing: .055em; }
.wb-speaker-role { font-size: 14px; font-weight: 650; }
.wb-speaker p { margin: 10px 0; font-size: 14px; }
.wb-socials { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.wb-socials a { display: inline-flex; align-items: center; min-height: 40px; }
.wb-socials a:hover { text-decoration: underline; }
.split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.wb-benefits .split { padding-top: 25px; border-top: 1px solid var(--line); }
.wb-benefit-list { margin: 0; color: var(--muted); }
.wb-benefit-list li + li { margin-top: 14px; }
.wb-benefit-list svg { width: 21px; height: 21px; margin-top: 3px; }

.intro { max-width: 52ch; margin-top: 12px; }
.agenda-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding: 18px 0;
}
.agenda-row h3 { text-wrap: pretty; }
.agenda-row p { margin: 6px 0; font-size: 14px; }
.agenda-row small { font-size: 12px; color: var(--muted); }
.agenda-speaker { margin-top: 5px; font-size: 14px; font-weight: 650; }
.duration {
    padding: 4px 9px;
    border-radius: 6px;
    background: var(--pink);
    color: var(--navy);
    white-space: nowrap;
    font-size: 13px;
    font-weight: 750;
}
.wb-qa {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 8px;
    padding: clamp(16px, 3vw, 25px);
    border-radius: 12px;
    background: var(--lavender);
}
.wb-qa .wb-icon-tile { background: #fff; }
.wb-qa svg { color: var(--purple); }
.wb-qa .wb-label { color: var(--navy); margin-bottom: 5px; }
.wb-qa h3 { text-wrap: pretty; }
.wb-qa h3 + p { margin-top: 6px; font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq summary::marker { color: var(--coral); }
.faq p { margin-top: 7px; font-size: 15px; }

.final-wrap { background: var(--blush); text-align: center; }
.final-cta h2 { max-width: 24ch; margin-inline: auto; }
.final-cta p { margin-top: 12px; font-size: 14px; }
.final-cta .wb-final-lead { font-size: 17px; }
.final-cta a { margin-top: 20px; }

@media (max-width: 900px) {
    .wb-wrap { width: calc(100% - 40px); }
    .wb-speakers { gap: 12px; }
    .wb-speaker-body { padding: 16px; }
}
@media (max-width: 700px) {
    .wb-wrap { width: calc(100% - 32px); }
    .wb-nav .wb-wrap { min-height: 60px; gap: 10px; }
    .wb-nav nav { gap: 12px; font-size: 11px; }
    .wb-nav nav a:not(.nav-button) { display: none; }
    .split, .wb-question-grid, .wb-speakers { grid-template-columns: minmax(0, 1fr); }
    .wb-question-grid { gap: 15px; }
    .wb-speakers { max-width: 500px; margin-inline: auto; }
    .wb-footer { flex-wrap: wrap; }
}
@media (max-width: 360px) {
    .wb-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Speaker biography dialogs — webinar only. */
#webinarEkavica .wb-bio-link {
    align-self: flex-start;
    min-height: 44px;
    margin-top: auto;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    text-underline-offset: 4px;
}
#webinarEkavica .wb-bio-link span { color: var(--coral); margin-left: 5px; }
#webinarEkavica .wb-bio-link:hover { text-decoration: underline; }
#webinarEkavica .wb-bio-dialog {
    width: min(600px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    overflow: auto;
    overscroll-behavior: contain;
}
#webinarEkavica .wb-bio-dialog::backdrop { background: rgb(20 29 77 / 45%); }
#webinarEkavica .wb-bio-dialog[open] { animation: wb-bio-open 180ms ease-out; }
#webinarEkavica .wb-bio-content { position: relative; padding: 36px; }
#webinarEkavica .wb-bio-content h2 { font-size: 28px; line-height: 1.25; padding-right: 36px; margin-bottom: 24px; }
#webinarEkavica .wb-bio-content p { font-size: 16px; line-height: 1.75; color: var(--ink); }
#webinarEkavica .wb-bio-content p + p { margin-top: 18px; }
#webinarEkavica .wb-bio-content a,
#webinarEkavica .wb-speaker-body p a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--coral);
    text-underline-offset: 3px;
}
#webinarEkavica .wb-bio-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: 28px;
    cursor: pointer;
}
#webinarEkavica .wb-bio-close:hover { color: var(--coral); }
@keyframes wb-bio-open {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
    #webinarEkavica .wb-bio-content { padding: 28px 24px; }
    #webinarEkavica .wb-bio-content h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    #webinarEkavica .wb-bio-dialog[open] { animation: none; }
}
.wb-privacy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.wb-privacy a { text-decoration: underline; }

#wb-form-status {
  margin-top: 6px;
  font-size: 13px;
}

#wb-form-status.is-success {
  margin: 16px 0 6px;
  padding: clamp(16px, 4vw, 22px);
  border: 1px solid #f1dce2;
  border-radius: 12px;
  background: #fff4f6;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

#wb-form-status.is-success strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.3;
}
