/* Andílek × Aplikace: neutral defaults. Colors and fonts follow Elementor global colors when they exist. */
:root {
	--andilek-accent: #0000c5;
	--andilek-ink: #191a2e;
	--andilek-muted: #5d5f74;
	--andilek-soft: #e8eaff;
	--andilek-line: #ece4d6;
	--andilek-card: #ffffff;
	--andilek-radius: 0px;
	--andilek-gap: 18px;
}
:root .andilek-events{ display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--andilek-gap); }
:root .andilek-event{ display: flex; flex-direction: column; background: var(--andilek-card); border-radius: var(--andilek-radius); box-shadow: inset 0 0 0 1px var(--andilek-line); overflow: hidden; color: var(--andilek-ink); min-width: 0; }
.andilek-event__head { position: relative; min-height: 76px; }
.andilek-event__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.andilek-event__date { position: absolute; left: 14px; top: 14px; width: 58px; text-align: center; background: var(--andilek-accent); color: #fff; padding: 8px 4px; border-radius: var(--andilek-radius); }
.andilek-event__date b { display: block; font-size: 1.5rem; line-height: 1; }
.andilek-event__date span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.andilek-event__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.andilek-event__title { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.andilek-event__meta, .andilek-event__text { margin: 0; font-size: .88rem; color: var(--andilek-muted); }
.andilek-event__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; align-items: flex-start; }
:root .andilek-events--list{ grid-template-columns: 1fr; }
:root .andilek-events--list .andilek-event{ flex-direction: row; }
:root .andilek-events--list .andilek-event__head{ width: 92px; flex: none; }
:root .andilek-events--list .andilek-event__img{ display: none; }
.andilek-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.andilek-chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; background: var(--andilek-soft); color: var(--andilek-accent); border-radius: 999px; }
.andilek-chip--warn { background: #fde8ec; color: #b0233f; }
:root .andilek-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--andilek-accent); color: #fff !important; border: 0; border-radius: 0; padding: 14px 22px; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1.2; box-shadow: none; }
:root .andilek-btn:hover, :root .andilek-btn:focus-visible { background: #00008f; color: #fff !important; }
:root .andilek-btn--ghost { background: transparent; color: var(--andilek-ink) !important; box-shadow: inset 0 0 0 2px var(--andilek-ink); }
:root .andilek-btn--ghost:hover, :root .andilek-btn--ghost:focus-visible { background: var(--andilek-ink); color: #fff !important; }
:root .andilek-btn:disabled { opacity: .6; cursor: default; }
:root .andilek-link{ font-weight: 700; color: var(--andilek-accent); }
.andilek-reg { width: 100%; }
.andilek-reg > summary { list-style: none; display: inline-flex; }
.andilek-reg > summary::-webkit-details-marker { display: none; }
.andilek-reg[open] > summary { margin-bottom: 12px; }
.andilek-form { display: grid; gap: 12px; }
.andilek-form p { margin: 0; }
.andilek-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.andilek-field { display: grid; gap: 5px; min-width: 0; }
.andilek-field label { font-size: .85rem; font-weight: 600; }
.andilek-form input[type=text], .andilek-form input:not([type]), .andilek-form input[type=email], .andilek-form input[type=tel], .andilek-form input[type=number], .andilek-form textarea { width: 100%; box-sizing: border-box; font: inherit; color: var(--andilek-ink); background: #fff; border: 1.5px solid var(--andilek-line); border-radius: var(--andilek-radius); padding: 10px 12px; }
.andilek-form input:focus, .andilek-form textarea:focus { outline: 2px solid var(--andilek-accent); outline-offset: 1px; }
.andilek-fieldset { border: 0; padding: 0; margin: 0; }
.andilek-fieldset legend { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.andilek-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.andilek-choice { position: relative; }
.andilek-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.andilek-choice span { display: inline-block; padding: 7px 13px; border: 1.5px solid var(--andilek-line); border-radius: 999px; font-weight: 600; font-size: .86rem; background: #fff; }
.andilek-choice input:checked + span { background: var(--andilek-accent); border-color: var(--andilek-accent); color: #fff; }
.andilek-choice input:focus-visible + span { outline: 2px solid var(--andilek-accent); outline-offset: 2px; }
.andilek-consent { display: grid; grid-template-columns: auto 1fr; gap: 8px; font-size: .8rem; color: var(--andilek-muted); align-items: start; }
.andilek-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.andilek-form__msg:empty { display: none; }
.andilek-form__msg { padding: 10px 12px; border-radius: var(--andilek-radius); font-weight: 600; font-size: .9rem; }
.andilek-form__msg.is-ok { background: var(--andilek-soft); color: var(--andilek-accent); }
.andilek-form__msg.is-error { background: #fde8ec; color: #b0233f; }
.andilek-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.andilek-inline input { flex: 1 1 180px; min-width: 0; }
.andilek-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; background: var(--andilek-soft); color: var(--andilek-ink); border-radius: var(--andilek-radius); }
.andilek-notice p { margin: 0; flex: 1 1 280px; }
.andilek-notice--bar { border-radius: 0; background: var(--andilek-accent); color: #fff; justify-content: center; }
:root .andilek-notice--bar .andilek-notice__link{ color: #fff; font-weight: 700; }
.andilek-notice__close { background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 4px; }
:root .andilek-courses{ display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
:root .andilek-course{ display: grid; gap: 6px; background: var(--andilek-card); border-radius: var(--andilek-radius); box-shadow: inset 0 0 0 1px var(--andilek-line); padding: 16px 18px; text-decoration: none; color: var(--andilek-ink); }
:root .andilek-course img{ width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--andilek-radius); margin-bottom: 4px; }
:root .andilek-course span{ font-size: .88rem; color: var(--andilek-muted); }
.andilek-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.andilek-docs li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--andilek-line); }
.andilek-docs span { color: var(--andilek-muted); font-size: .84rem; }
.andilek-demo { font-size: .8rem; padding: 6px 10px; background: #f0edff; color: #5b4bd1; border: 1px dashed #5b4bd1; border-radius: 6px; margin: 0 0 10px; }
.andilek-empty { color: var(--andilek-muted); }
@media (max-width: 560px) { .andilek-row2 { grid-template-columns: 1fr; } }

/* Odkaz z karty akce na detail */
:root .andilek-event__title a{ color: inherit; text-decoration: none; }
:root .andilek-event__title a:hover{ color: var(--andilek-accent); }

/* Detail akce */
.andilek-detail { display: flex; flex-direction: column; gap: 28px; color: var(--andilek-ink); }
.andilek-detail__crumbs { margin: 0; font-size: .85rem; }
:root .andilek-detail__crumbs a{ color: var(--andilek-accent); text-decoration: none; }
:root .andilek-detail__crumbs a::before{ content: "← "; }
.andilek-detail__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.andilek-detail__grid--nophoto { grid-template-columns: minmax(0, 1fr); }
.andilek-detail__main { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.andilek-detail__date { width: 72px; text-align: center; background: var(--andilek-accent); color: #fff; padding: 10px 4px; border-radius: var(--andilek-radius); }
.andilek-detail__date b { display: block; font-size: 2rem; line-height: 1; }
.andilek-detail__date span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.andilek-detail__title { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.andilek-detail__facts { margin: 0; display: grid; gap: 0; width: 100%; background: var(--andilek-card); box-shadow: inset 0 0 0 1px var(--andilek-line); }
.andilek-detail__facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--andilek-line); }
.andilek-detail__facts > div:first-child { border-top: 0; }
.andilek-detail__facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--andilek-muted); padding-top: 2px; }
.andilek-detail__facts dd { margin: 0; }
.andilek-detail__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--andilek-radius); }
.andilek-detail__text { max-width: 760px; font-size: 1.05rem; line-height: 1.7; }
.andilek-detail__text p { margin: 0 0 1em; }
.andilek-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; max-width: 760px; }
.andilek-detail__actions .andilek-reg { width: 100%; }
@media (max-width: 767px) { .andilek-detail__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .andilek-detail__facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* Přihlášení do aplikace */
.andilek-login { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; font-family: "Outfit", sans-serif; }
.andilek-login__card { display: flex; flex-direction: column; gap: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--andilek-line); padding: 28px 26px; }
.andilek-login__card--rodic { box-shadow: inset 0 0 0 2px var(--andilek-accent); }
.andilek-login__role { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--andilek-ink); }
.andilek-login__text { margin: 0; font-size: 16px; line-height: 1.55; color: #3a3c55; }
.andilek-login__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.andilek-login__note { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--andilek-muted); }
.andilek-demo { margin: 12px 0 0; padding: 8px 12px; background: #fff7d6; color: #6b5300; font-size: 13px; }
@media (max-width: 1024px) { .andilek-login { grid-template-columns: minmax(0, 1fr); } }
