/* MedPrep – sekcia Fakulty. Nadväzuje na tokeny a komponenty zo styles.css. */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.na { color: #8a93b2; font-style: italic; font-weight: 500; }

/* ---------- Dropdown fakúlt (navbar landingu aj podstránok) ---------- */
.dropdown__menu.fdd { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.2rem; width: 46rem; padding: 1.4rem; left: -14rem; }
.fdd__group { display: flex; flex-direction: column; gap: .2rem; }
.fdd__label { display: flex; align-items: center; gap: .8rem; padding: .4rem 1.2rem .8rem; font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.dropdown__menu.fdd a { justify-content: space-between; padding: .9rem 1.2rem; }
.fdd a b { font-weight: 700; }
.fdd a small { font-size: 1.15rem; font-weight: 500; color: var(--muted); }
.fdd a[aria-current="page"] { background: #eef3ff; color: var(--blue-d); }
.fdd__foot { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.2rem; margin-top: .6rem; padding-top: .8rem; border-top: 1px solid #edf1fb; }
.dropdown__menu.fdd .fdd__foot a { color: var(--blue-d); font-size: 1.2rem; }
.fdd__foot svg { width: 1.3rem; height: 1.3rem; transition: transform .25s var(--ease); }
.fdd__foot a:hover svg { transform: translateX(.3rem); }

/* ---------- Úpravy landing page (odkazy na fakulty) ---------- */
a.fc:hover { border-color: #c8d6fb; color: var(--blue-d); }
.fac-list a { color: inherit; }
.fac-list a:hover b { color: var(--blue); }
.tile__link { color: var(--blue); font-weight: 700; white-space: nowrap; }
.tile__link:hover { text-decoration: underline; }
.acc__body a { color: var(--blue); font-weight: 600; }
.field--select select {
  width: 100%; height: 4.6rem; padding: 0 4rem 0 1.4rem; border-radius: 1.1rem; border: 1px solid #dfe5f3;
  background: #fbfcff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235a6486' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 1.4rem center / 1.6rem no-repeat;
  font: inherit; font-size: 1.4rem; color: var(--navy); appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.field--select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 .4rem rgba(31,95,240,.12); }

/* ---------- Omrvinky ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; padding: 0; list-style: none; font-size: 1.2rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: .6rem; }
.crumbs li + li::before { content: ""; width: .5rem; height: .5rem; border-top: 1.5px solid #9aa4c4; border-right: 1.5px solid #9aa4c4; transform: rotate(45deg); }
.crumbs a { font-weight: 600; color: var(--ink); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { font-weight: 600; color: var(--navy); }

/* ---------- Hero sekcie ---------- */
.fhero { padding-top: 2.4rem; }
.fhero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5.6rem; align-items: center; margin-top: 3.2rem; }
.fhero h1, .dhero h1 { margin-top: 1.6rem; font-size: 4.4rem; line-height: 1.02; font-weight: 800; letter-spacing: -.045em; color: var(--navy); }
.fhero .lead { max-width: 52rem; }
.fhero__meta { display: flex; gap: 3.2rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.fhero__meta li { display: flex; flex-direction: column; gap: .3rem; }
.fhero__meta b { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.fhero__meta span { font-size: 1.15rem; color: var(--muted); }
.fhero__actions { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.8rem; }
.fhero__actions svg, .dhero__actions svg { width: 1.6rem; height: 1.6rem; }

.next-card {
  padding: 2.4rem 2.6rem 2.2rem; border-radius: 2.4rem;
  background: rgba(255,255,255,.82); border: 1px solid #fff; box-shadow: var(--sh-md);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.next-card__head { display: flex; align-items: center; gap: 1rem; font-size: 1.4rem; color: var(--navy); }
.next-card__head svg { width: 2.2rem; height: 2.2rem; color: var(--blue); }
.next-card__list { display: grid; gap: 0; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.next-card__list li { display: grid; grid-template-columns: 11.6rem 1fr; gap: 1.2rem; padding: 1.15rem 0; border-top: 1px solid #edf1fb; font-size: 1.25rem; line-height: 1.45; }
.next-card__list li:first-child { border-top: 0; }
.next-card__list time { font-weight: 700; color: var(--blue-d); white-space: nowrap; }
.next-card__list a { font-weight: 700; color: var(--navy); }
.next-card__list a:hover { color: var(--blue); }
.next-card__empty { grid-template-columns: 1fr !important; color: var(--muted); }
.next-card__all { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem; font-size: 1.25rem; font-weight: 700; color: var(--blue); }
.next-card__all svg, .morelink svg { width: 1.4rem; height: 1.4rem; transition: transform .25s var(--ease); }
.next-card__all:hover svg, .morelink:hover svg { transform: translateX(.3rem); }

.sec--tight { padding-top: 6.4rem; }
.sec-head--left { text-align: left; margin-bottom: 3.2rem; }

/* ---------- Filter ---------- */
.fbar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.fbar__title { font-size: 2.6rem; letter-spacing: -.035em; }
.seg-mini--3 { grid-template-columns: repeat(3, auto); }
.seg-mini--4 { grid-template-columns: repeat(4, auto); }
.seg-mini--3 button, .seg-mini--4 button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: 3.6rem; padding: 0 1.8rem; font-size: 1.25rem; }
.seg-mini button span { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .5rem; border-radius: 99rem; background: #eef2fb; font-size: 1.05rem; color: var(--muted); }
.seg-mini button.is-on span { background: #e3ebff; color: var(--blue-d); }

/* ---------- Čipy ---------- */
.fchip { display: inline-flex; align-items: center; gap: .6rem; height: 2.6rem; padding: 0 1.1rem; border-radius: 99rem; font-size: 1.1rem; font-weight: 700; white-space: nowrap; }
.fchip::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: currentColor; }
.fchip--b { background: #e5edff; color: var(--blue-d); }
.fchip--g { background: #ddf5ea; color: #13774a; }
.fchip--s { background: #ece7ff; color: #5a3fd0; }
a.fchip:hover { filter: brightness(.97); }

/* ---------- Karty fakúlt ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
.fcard {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 2.2rem;
  background: rgba(255,255,255,.86); border: 1px solid #fff; box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fcard:hover { transform: translateY(-.3rem); box-shadow: var(--sh-md); }
.fcard__img { display: block; aspect-ratio: 16 / 9.4; overflow: hidden; background: #dfe7fb; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.035); }
.fcard__body { display: flex; flex: 1; flex-direction: column; padding: 2rem 2.2rem 2.2rem; }
.fcard__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.fcard__city { display: inline-flex; align-items: center; gap: .4rem; font-size: 1.15rem; font-weight: 600; color: var(--muted); }
.fcard__city svg { width: 1.4rem; height: 1.4rem; }
.fcard h3 { margin-top: 1.4rem; font-size: 2.1rem; font-weight: 800; letter-spacing: -.035em; color: var(--navy); }
.fcard h3 a:hover { color: var(--blue); }
.fcard__name { margin-top: .4rem; font-size: 1.2rem; line-height: 1.45; color: var(--muted); }
.fcard__facts { display: grid; grid-template-columns: .7fr .9fr 1.4fr; gap: 1rem; margin: 1.8rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid #edf1fb; }
.fcard__facts dt { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.fcard__facts dd { margin: .3rem 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--navy); }
.fstatus { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; font-size: 1.15rem; font-weight: 600; color: #13774a; }
.fstatus svg { width: 1.5rem; height: 1.5rem; }
.fstatus--wait { color: #95600a; }
.fcard__go { display: inline-flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: 1.8rem; font-size: 1.3rem; font-weight: 700; color: var(--blue); }
.fcard__go svg { width: 1.4rem; height: 1.4rem; transition: transform .25s var(--ease); }
.fcard:hover .fcard__go svg { transform: translateX(.3rem); }

/* ---------- Porovnávacia tabuľka ---------- */
.cmp-wrap {
  overflow-x: auto; border-radius: 2.2rem; background: rgba(255,255,255,.86); border: 1px solid #fff; box-shadow: var(--sh-md);
  -webkit-overflow-scrolling: touch;
}
.cmp { width: 100%; min-width: 96rem; border-collapse: separate; border-spacing: 0; font-size: 1.22rem; line-height: 1.45; }
.cmp th, .cmp td { padding: 1.3rem 1.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid #edf1fb; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { position: sticky; top: 0; background: #f6f8ff; font-weight: 700; color: var(--navy); }
.cmp thead th a { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; font-size: 1.4rem; }
.cmp thead th a:hover { color: var(--blue); }
.cmp thead th small { font-size: 1.1rem; font-weight: 500; color: var(--muted); }
.cmp th[scope="row"], .cmp thead th:first-child { position: sticky; left: 0; z-index: 1; width: 16rem; background: #f6f8ff; font-weight: 700; color: var(--navy); }
.cmp thead th:first-child { z-index: 2; }
.cmp td { color: var(--ink); }
.cmp td b { color: var(--navy); }
.cmp td small { display: block; margin-top: .3rem; font-size: 1.05rem; color: var(--muted); }
.cmp .yes { color: #13774a; }
.hist-s { display: inline-block !important; margin: 0 0 .4rem !important; padding: .15rem .7rem; border-radius: 99rem; background: #fff2dc; color: #95600a !important; font-weight: 700; }
.cmp-note { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; font-size: 1.2rem; color: var(--muted); }
.cmp-note svg { width: 1.6rem; height: 1.6rem; color: var(--blue); flex: none; }

/* ---------- Detail: hero ---------- */
.dhero { display: grid; grid-template-columns: 1fr 1.02fr; gap: 5.6rem; align-items: center; margin-top: 3.2rem; }
.dhero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.dhero h1 em { display: block; }
.dhero__name { margin-top: 1.2rem; font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.dhero .lead { margin-top: 1.2rem; }
.dhero__actions { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.6rem; }
.dhero__photo { position: relative; margin: 0; padding-bottom: 2.4rem; }
.dhero__photo img { width: 100%; height: auto; aspect-ratio: 1200 / 760; object-fit: cover; border-radius: 2.6rem; box-shadow: var(--sh-md); }
.dhero__photo figcaption { margin-top: 1rem; padding-left: 21rem; font-size: 1.05rem; color: var(--muted); text-align: right; }
.dhero__photo figcaption a:hover { color: var(--blue); text-decoration: underline; }

.cd {
  position: absolute; left: -2.4rem; bottom: 0; display: flex; flex-direction: column; gap: .4rem; min-width: 22rem; max-width: 26rem; padding: 1.8rem 2rem;
  border-radius: 2rem; background: rgba(255,255,255,.92); border: 1px solid #fff; box-shadow: var(--sh-md);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.cd__label { font-size: 1.15rem; font-weight: 600; line-height: 1.35; color: var(--muted); }
.cd__num { display: flex; align-items: baseline; gap: .6rem; font-size: 4.2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--blue); }
.cd__num small { font-size: 1.5rem; font-weight: 700; letter-spacing: 0; color: var(--navy); }
.cd__num--wait { font-size: 2.8rem; color: #95600a; }
.cd__date { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.cd--inline { position: static; flex-direction: row; align-items: center; gap: 2rem; max-width: none; margin-top: 1.6rem; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.cd--inline .cd__num { font-size: 6rem; }
.cd--inline > div { display: flex; flex-direction: column; gap: .4rem; }
.cd--inline .cd__label { font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.cd--inline .cd__date { font-weight: 600; color: var(--muted); }

.kfacts {
  display: grid; grid-template-columns: repeat(6, 1fr); margin: 4rem 0 0; padding: 2rem .4rem; border-radius: 2.2rem;
  background: var(--glass); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--sh-md);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.kfacts > div { padding: .2rem 2rem; }
.kfacts > div + div { border-left: 1px solid rgba(31,72,180,.12); }
.kfacts dt { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.kfacts dd { margin: .5rem 0 0; font-size: 1.6rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: var(--navy); }
.kfacts dd .na { font-size: 1.3rem; }

.notice { display: flex; align-items: flex-start; gap: 1.2rem; margin-top: 2.4rem; padding: 1.8rem 2.2rem; border-radius: 1.8rem; background: #fff6e6; border: 1px solid #fde4b8; color: #6b4708; font-size: 1.35rem; line-height: 1.55; }
.notice svg { flex: none; width: 2.2rem; height: 2.2rem; margin-top: .1rem; color: #c27c0e; }
.notice b { color: #5a3a05; }
.notice a { font-weight: 700; color: var(--blue-d); text-decoration: underline; }
.notice--soft { margin-top: 3.2rem; }

/* ---------- Detail: telo ---------- */
.dbody { display: grid; grid-template-columns: 23rem 1fr; gap: 4.4rem; align-items: start; margin-top: 6.4rem; }
.toc { position: sticky; top: 7.6rem; display: flex; flex-direction: column; gap: 1.2rem; padding: 2rem; border-radius: 2rem; background: rgba(255,255,255,.7); border: 1px solid #fff; box-shadow: var(--sh-sm); }
.toc > b { font-size: 1.2rem; font-weight: 700; color: var(--muted); }
.toc ol { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: .65rem 1rem; border-radius: .9rem; font-size: 1.25rem; font-weight: 600; color: var(--ink); transition: background-color .2s, color .2s; }
.toc a:hover { background: #f1f5ff; color: var(--blue-d); }
.toc a.is-on { background: #e8efff; color: var(--blue-d); }
.toc .btn { margin-top: .4rem; height: 4rem; }
.dcontent { display: grid; gap: 2.2rem; min-width: 0; }
.dcontent > *, .nps > *, .cal__m > *, .fhero__grid > * { min-width: 0; }
.dsec {
  scroll-margin-top: 8rem; padding: 3.2rem 3.4rem; border-radius: 2.4rem;
  background: rgba(255,255,255,.86); border: 1px solid #fff; box-shadow: var(--sh-sm);
}
.dsec h2 { font-size: 2.5rem; letter-spacing: -.035em; }
.dsec h3 { display: flex; align-items: center; gap: 1rem; margin: 2.8rem 0 1.2rem; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.dsec > p, .dsec__lead { margin-top: 1.4rem; max-width: 70rem; font-size: 1.45rem; line-height: 1.65; color: var(--ink); }
.dsec__lead { font-weight: 500; color: var(--navy); }
.dsec__head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.muted { margin-top: 1.4rem; font-size: 1.3rem; line-height: 1.6; color: var(--muted); }
.pill { display: inline-flex; align-items: center; height: 2.6rem; padding: 0 1.1rem; border-radius: 99rem; background: #e5edff; font-size: 1.15rem; font-weight: 700; letter-spacing: 0; color: var(--blue-d); }
.hist { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.4rem; padding: .7rem 1.2rem; border-radius: 1rem; background: #fff2dc; font-size: 1.2rem; font-weight: 700; color: #8a5806; }
.hist svg { width: 1.6rem; height: 1.6rem; flex: none; }
.src { display: flex; align-items: flex-start; gap: .8rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px dashed #dfe5f3; font-size: 1.15rem; line-height: 1.55; color: var(--muted); }
.src svg { flex: none; width: 1.5rem; height: 1.5rem; margin-top: .15rem; }
.src a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: #c7d1ec; text-underline-offset: .2em; }
.src a:hover { color: var(--blue); text-decoration-color: currentColor; }
.morelink { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; font-size: 1.3rem; font-weight: 700; color: var(--blue); }

.dl { display: grid; margin: 2.4rem 0 0; border-top: 1px solid #edf1fb; }
.dl > div { display: grid; grid-template-columns: 22rem 1fr; gap: 2rem; padding: 1.3rem 0; border-bottom: 1px solid #edf1fb; }
.dl dt { font-size: 1.3rem; font-weight: 600; color: var(--muted); }
.dl dd { margin: 0; font-size: 1.35rem; line-height: 1.55; color: var(--navy); }
.dl dd small { color: var(--muted); font-size: 1.2rem; }
.dl--compact { margin-top: 2rem; }

/* Časová os */
.tl { display: grid; gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; }
.tl__i { position: relative; display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; padding: 1.6rem 0 1.6rem; border-top: 1px solid #edf1fb; }
.tl__i:first-child { border-top: 0; }
.tl__i time { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.tl__i b { display: block; margin-top: .6rem; font-size: 1.45rem; color: var(--navy); }
.tl__i p { margin-top: .4rem; font-size: 1.3rem; line-height: 1.55; color: var(--muted); }
.tl__i.is-past { opacity: .55; }
.tl__i.is-past time { text-decoration: line-through; text-decoration-color: #9aa4c4; }
.tl__i.is-past time::after { content: "prebehlo"; display: block; margin-top: .3rem; font-size: 1.05rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.tl--hist .tl__i { opacity: .8; }
.ttag { display: inline-flex; align-items: center; height: 2.2rem; padding: 0 .9rem; border-radius: .7rem; font-size: 1.05rem; font-weight: 700; }
.ttag--deadline { background: #e5edff; color: var(--blue-d); }
.ttag--exam { background: var(--navy); color: #fff; }
.ttag--scio { background: #ece7ff; color: #5a3fd0; }
.ttag--result { background: #ddf5ea; color: #13774a; }
.ttag--other { background: #eef1f8; color: var(--ink); }
.ics { display: inline-flex; align-items: center; gap: .6rem; height: 3.6rem; padding: 0 1.4rem; border-radius: 99rem; background: #eef3ff; font-size: 1.2rem; font-weight: 700; color: var(--blue-d); transition: background-color .2s; white-space: nowrap; }
.ics:hover { background: #e2eaff; }
.ics svg { width: 1.5rem; height: 1.5rem; }

/* Skúška */
.xparts { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.2rem; margin-top: 2.2rem; }
.xpart { display: flex; flex-direction: column; gap: 1rem; padding: 1.8rem; border-radius: 1.6rem; background: #f6f8ff; border: 1px solid #e8edfb; }
.xpart > b { font-size: 1.45rem; color: var(--navy); }
.xpart dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 0; }
.xpart dt { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.xpart dd { margin: .2rem 0 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--blue-d); }
.xpart small { font-size: 1.15rem; line-height: 1.45; color: var(--muted); }
.xpart--wide { gap: .5rem; }

.checks { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 3rem; font-size: 1.4rem; line-height: 1.6; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .25rem; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: #e3ebff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%231f5ff0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
}
.verdict { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; margin-top: 2rem; padding: 1.8rem 2rem; border-radius: 1.6rem; }
.verdict b { display: grid; place-items: center; min-width: 5.6rem; height: 4rem; padding: 0 1.4rem; border-radius: 1.1rem; font-size: 1.35rem; font-weight: 800; }
.verdict p { font-size: 1.4rem; line-height: 1.55; color: var(--navy); }
.verdict--yes { background: #ecfaf3; } .verdict--yes b { background: #22b573; color: #fff; }
.verdict--no { background: #f4f6fc; } .verdict--no b { background: #fff; color: var(--navy); box-shadow: var(--sh-sm); }

.practical { margin-top: 2rem; padding: 2.2rem 2.4rem; border-radius: 1.8rem; background: linear-gradient(180deg, #eef3ff, #e5edff); }
.practical__meta { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; margin-bottom: 1.2rem; font-size: 1.35rem; font-weight: 700; color: var(--blue-d); }
.practical__meta span { display: inline-flex; align-items: center; gap: .7rem; }
.practical__meta svg { width: 1.8rem; height: 1.8rem; }
.practical p { margin-top: .8rem; font-size: 1.4rem; line-height: 1.6; color: var(--navy); }

.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; margin-top: 2.2rem; }
.topics b { font-size: 1.5rem; color: var(--navy); }
.topics ol { display: grid; gap: .5rem; margin: 1.2rem 0 0; padding-left: 2.2rem; font-size: 1.35rem; line-height: 1.5; color: var(--ink); }
.topics li::marker { font-weight: 700; color: var(--blue); }

/* Tabuľky */
.tbl-wrap { overflow-x: auto; margin-top: 2rem; border-radius: 1.6rem; border: 1px solid #e8edfb; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 1.3rem; line-height: 1.45; background: #fff; }
.tbl th, .tbl td { padding: 1.2rem 1.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid #edf1fb; }
.tbl thead th { background: #f6f8ff; font-size: 1.15rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { font-weight: 700; color: var(--navy); }
.tbl td { color: var(--ink); }
.tbl td small { display: block; margin-top: .3rem; font-size: 1.1rem; color: var(--muted); }
.tbl--2 td { width: 12rem; font-weight: 800; color: var(--blue-d); text-align: right; white-space: nowrap; }
.tbl--terms { min-width: 82rem; }
.tbl--terms th a { display: inline-flex; align-items: center; gap: .8rem; }
.tbl--terms th a:hover { color: var(--blue); }
.tbl tr.is-past { opacity: .5; }

.empty { display: flex; align-items: flex-start; gap: 1.2rem; margin-top: 2rem; padding: 1.8rem 2rem; border-radius: 1.6rem; background: #f6f8ff; font-size: 1.35rem; line-height: 1.55; color: var(--ink); }
.empty svg { flex: none; width: 2rem; height: 2rem; color: var(--blue); }

/* Prihláška a dokumenty */
.steps { display: grid; gap: 1.2rem; margin: 2.2rem 0 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { position: relative; padding: .5rem 0 0 5rem; min-height: 3.6rem; font-size: 1.4rem; line-height: 1.6; color: var(--ink); counter-increment: st; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 1.1rem; background: var(--blue); color: #fff; font-size: 1.4rem; font-weight: 800; box-shadow: 0 .4rem 1.2rem rgba(31,95,240,.25); }
.pay { margin-top: 2.2rem; padding: 1.8rem 2rem; border-radius: 1.6rem; background: #f6f8ff; border: 1px solid #e8edfb; }
.pay b { font-size: 1.3rem; color: var(--navy); }
.pay p { margin-top: .6rem; font-size: 1.35rem; line-height: 1.6; color: var(--ink); }
.linkrow { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.lbtn { display: inline-flex; align-items: center; gap: .7rem; height: 3.8rem; padding: 0 1.6rem; border-radius: 99rem; background: #fff; border: 1px solid #dfe6f7; font-size: 1.25rem; font-weight: 700; color: var(--navy); transition: border-color .2s, color .2s, transform .25s var(--ease); }
.lbtn:hover { border-color: var(--blue); color: var(--blue-d); transform: translateY(-1px); }
.lbtn svg { width: 1.4rem; height: 1.4rem; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.docs li { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.4rem 1.6rem; border-radius: 1.4rem; background: #f6f8ff; font-size: 1.3rem; line-height: 1.5; color: var(--navy); }
.docs svg { flex: none; width: 2rem; height: 2rem; color: var(--blue); }

/* Materiály */
.mats { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; margin-top: 2.2rem; }
.mats h3 { margin: 0; font-size: 1.6rem; }
.mats__official ul { display: grid; gap: 0; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.mats__official li { display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem 0; border-top: 1px solid #edf1fb; }
.mats__official li:first-child { border-top: 0; }
.mats__official b { font-size: 1.35rem; color: var(--navy); }
.mats__official small { font-size: 1.2rem; line-height: 1.45; color: var(--muted); }
.mats__ours { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 2.4rem; border-radius: 2rem; background: linear-gradient(160deg, #eef3ff 0%, #dfe8ff 100%); }
.mats__ours h3 { font-size: 2rem; letter-spacing: -.03em; }
.mats__ours p { font-size: 1.35rem; line-height: 1.6; color: var(--ink); }
.mats__ours .btn { margin-top: auto; }

/* FAQ v detaile */
.dsec .acc { margin-top: 2rem; }
.dsec .acc details { background: #f8faff; border-color: #eef2fb; box-shadow: none; }
.dsec .acc details[open] { background: #fff; box-shadow: var(--sh-sm); }
.dsec .acc summary { min-height: 5.8rem; font-size: 1.4rem; }

/* Kontakty */
.contacts { display: grid; grid-template-columns: .9fr 1.4fr; gap: 2.4rem; margin-top: 2.2rem; }
.contacts__addr { display: flex; gap: 1.2rem; padding: 2rem; border-radius: 1.8rem; background: #f6f8ff; align-self: start; }
.contacts__addr > svg { flex: none; width: 2.2rem; height: 2.2rem; color: var(--blue); }
.contacts__addr b { font-size: 1.3rem; color: var(--navy); }
.contacts__addr p { margin: .5rem 0 .8rem; font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.contacts__addr a { display: block; margin-top: .3rem; font-size: 1.25rem; font-weight: 600; color: var(--blue); word-break: break-word; }
.contacts__people { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contacts__people li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem; padding: 1.4rem 1.6rem; border-radius: 1.4rem; border: 1px solid #edf1fb; }
.contacts__people b { width: 100%; font-size: 1.35rem; color: var(--navy); }
.contacts__people small { width: 100%; margin-top: -.2rem; font-size: 1.15rem; color: var(--muted); }
.contacts__people a { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 600; color: var(--blue-d); }
.contacts__people a:hover { text-decoration: underline; }
.contacts__people svg { width: 1.5rem; height: 1.5rem; }

.srclist { display: grid; gap: .8rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.srclist li { display: flex; flex-direction: column; gap: .2rem; padding: 1.2rem 1.4rem; border-radius: 1.2rem; background: #f6f8ff; }
.srclist a { font-size: 1.3rem; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: #c7d1ec; text-underline-offset: .2em; }
.srclist a:hover { color: var(--blue); }
.srclist small { font-size: 1.15rem; color: var(--muted); }

/* Ďalšie fakulty */
.minis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; }
.mini { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1rem 1rem 1.6rem; border-radius: 2rem; background: rgba(255,255,255,.86); border: 1px solid #fff; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mini:hover { transform: translateY(-.3rem); box-shadow: var(--sh-md); }
.mini img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 1.4rem; margin-bottom: .4rem; }
.mini .fchip { margin-left: .6rem; }
.mini b { padding: 0 .6rem; font-size: 1.5rem; letter-spacing: -.02em; color: var(--navy); }
.mini small { padding: 0 .6rem; font-size: 1.15rem; color: var(--muted); }

/* ---------- Kalendár ---------- */
.cal { display: grid; gap: 2.4rem; }
.cal__m { display: grid; grid-template-columns: 18rem 1fr; gap: 2.4rem; }
.cal__m > h3 { position: sticky; top: 8rem; align-self: start; font-size: 2.2rem; font-weight: 800; letter-spacing: -.035em; color: var(--navy); }
.cal__m ol { display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.cal__i { display: grid; grid-template-columns: 7.6rem 1fr; gap: 2rem; padding: 1.8rem 2rem; border-radius: 2rem; background: rgba(255,255,255,.86); border: 1px solid #fff; box-shadow: var(--sh-sm); }
.cal__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 7.6rem; border-radius: 1.6rem; background: #eef3ff; color: var(--blue-d); }
.cal__date b { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.cal__date small { margin-top: .3rem; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; }
.cal__i[data-odbor="farmacia"] .cal__date { background: #e4f6ed; color: #13774a; }
.cal__i[data-odbor="scio"] .cal__date { background: #f0ecff; color: #5a3fd0; }
.cal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.cal__range { font-size: 1.15rem; font-weight: 700; color: var(--muted); }
.cal__body > b { display: block; margin-top: .8rem; font-size: 1.5rem; color: var(--navy); }
.cal__body p { margin-top: .4rem; font-size: 1.3rem; line-height: 1.55; color: var(--muted); }
.cal__i.is-past { opacity: .5; box-shadow: none; }
.cal__i.is-past .cal__date { background: #eef1f8; color: var(--muted); }

.nps { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5.6rem; align-items: start; }
.nps__tests { display: grid; gap: 1.2rem; }
.nps__tests .tbl-wrap { margin-top: .8rem; }

/* ---------- Detail na stránke s menšou šírkou ---------- */
@media (max-width: 1100px) and (min-width: 901px) {
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .minis { grid-template-columns: repeat(3, 1fr); }
  .kfacts { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .kfacts > div:nth-child(4) { border-left: 0; }
  .dbody { grid-template-columns: 20rem 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .dropdown__menu.fdd { position: static; }
  .fhero { padding-top: 1.6rem; }
  .fhero__grid, .dhero { grid-template-columns: 1fr; gap: 3.2rem; margin-top: 2.4rem; }
  .fhero h1, .dhero h1 { font-size: clamp(3.4rem, 9vw, 4.8rem); }
  .fhero__meta { flex-wrap: wrap; gap: 2rem 3rem; }
  .fhero__actions .btn, .dhero__actions .btn { flex: 1 1 100%; height: 5rem; }
  .next-card__list li { grid-template-columns: 10rem 1fr; font-size: 1.4rem; }
  .fbar { flex-direction: column; align-items: stretch; }
  .fbar__title { font-size: 2.4rem; }
  .seg-mini--3, .seg-mini--4 { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .seg-mini--3 button, .seg-mini--4 button { padding: 0 .6rem; height: 4.2rem; font-size: 1.3rem; }
  .seg-mini--4 button { font-size: 1.25rem; }
  .fgrid { grid-template-columns: 1fr; gap: 1.6rem; }
  .fcard h3 { font-size: 2.3rem; }
  .fcard__name, .fcard__city, .fstatus { font-size: 1.3rem; }
  .fcard__facts { grid-template-columns: 1fr 1fr; }
  .fcard__facts > div:last-child { grid-column: 1 / -1; }
  .fcard__facts dt { font-size: 1.2rem; }
  .fcard__facts dd { font-size: 1.4rem; }
  .cmp { font-size: 1.3rem; min-width: 88rem; }
  .cmp th[scope="row"], .cmp thead th:first-child { width: 12rem; }

  .dhero__photo { padding-bottom: 0; }
  .dhero__photo img { border-radius: 2rem; }
  .dhero__photo figcaption { padding-left: 0; text-align: left; }
  .cd { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 1.6rem; }
  .kfacts { grid-template-columns: 1fr 1fr; row-gap: 1.8rem; padding: 2rem .4rem; }
  .kfacts > div { padding: 0 1.6rem; }
  .kfacts > div:nth-child(odd) { border-left: 0; }
  .kfacts dt { font-size: 1.25rem; }
  .kfacts dd { font-size: 1.7rem; }
  .notice { font-size: 1.45rem; }

  .dbody { grid-template-columns: 1fr; gap: 0; margin-top: 4rem; }
  .toc { display: none; }
  .dsec { padding: 2.4rem 2rem; border-radius: 2rem; }
  .dsec h2 { font-size: 2.4rem; }
  .dsec__head { flex-wrap: wrap; gap: 1.2rem; }
  .dsec > p, .dsec__lead, .checks li, .steps li, .practical p, .verdict p { font-size: 1.5rem; }
  .muted, .src { font-size: 1.3rem; }
  .dl > div { grid-template-columns: 1fr; gap: .4rem; }
  .dl dt { font-size: 1.25rem; }
  .dl dd { font-size: 1.45rem; }
  .tl__i { grid-template-columns: 1fr; gap: .6rem; }
  .tl__i b { font-size: 1.5rem; }
  .tl__i p { font-size: 1.4rem; }
  .verdict { grid-template-columns: 1fr; }
  .verdict b { justify-self: start; }
  .topics, .docs, .mats, .contacts, .nps { grid-template-columns: 1fr; gap: 1.6rem; }
  .docs li, .tbl, .pay p, .mats__official b, .contacts__addr p, .contacts__people b { font-size: 1.4rem; }
  .xpart dd { font-size: 1.9rem; }
  .xpart small, .mats__official small { font-size: 1.3rem; }
  .minis { grid-template-columns: repeat(5, 72%); overflow-x: auto; gap: 1.2rem; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
  .mini { scroll-snap-align: start; }
  .cal__m { grid-template-columns: 1fr; gap: 1.2rem; }
  .cal__m > h3 { position: static; font-size: 2rem; }
  .cal__i { grid-template-columns: 6.4rem 1fr; gap: 1.4rem; padding: 1.4rem; }
  .cal__date { height: 6.4rem; }
  .cal__date b { font-size: 2.2rem; }
  .cal__body p { font-size: 1.4rem; }
  .cd--inline .cd__num { font-size: 5rem; }
  .nps { gap: 3.2rem; }
}
