/* Medical theme (practice.json "theme": "medical"), loaded after style.css. 2026-11-19
   White, shades of medical blue (as on k-med.cz and most clinic sites), photos, Inter, square buttons.
   --jade / --jade-deep / --cinnabar come from practice.json colors (inline style in base.html). */
.theme-medical {
  --jade-soft: #eaf3fc;
  --gold: #1aa0d8; --gold-soft: #e4f4fb;
  --ink: #0c1e3a; --ink-2: #0a2c5c;
  --paper-2: #f3f7fb;
  --text: #1f2a3a; --muted: #5a6a80; --line: #e1e8f0;
  --serif: "Inter", -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --radius: 10px; --btn-radius: 4px;
  --shadow: 0 1px 2px rgba(12, 30, 58, .05), 0 10px 30px rgba(12, 30, 58, .08);
  font-size: 16.5px;
}
.theme-medical h1, .theme-medical h2, .theme-medical h3 { font-weight: 700; letter-spacing: -.02em; }
.theme-medical .eyebrow { color: var(--jade); letter-spacing: .14em; font-weight: 700; }
.theme-medical a:focus-visible, .theme-medical button:focus-visible { outline-color: var(--gold); }
.theme-medical .brand b { font-family: var(--sans); font-weight: 800; letter-spacing: -.01em; }
.theme-medical .btn { font-weight: 600; letter-spacing: .01em; }
.theme-medical .btn:hover { transform: none; }
.theme-medical .btn.cta { box-shadow: 0 6px 16px rgba(11, 107, 203, .22); }
.theme-medical .btn.cta:hover { background: var(--jade-deep); }
.theme-medical .btn.outline { background: #fff; color: var(--jade-deep); border-color: #c9d8ea; }
.theme-medical .btn.outline:hover { border-color: var(--jade); color: var(--jade); }
.theme-medical .btn.line { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); min-height: 42px; padding: 9px 18px; font-size: .88rem; }
.theme-medical .btn.line:hover { background: #fff; color: var(--jade-deep); }
.theme-medical .btn.line svg { width: 15px; height: 15px; }
.theme-medical .btn.white { background: #fff; color: var(--jade-deep); }
.theme-medical .btn.white:hover { background: var(--jade-soft); }
.theme-medical .mins { background: var(--jade-soft); color: var(--jade-deep); border-radius: 4px; }
.theme-medical .demo-bar .tag { background: var(--jade); border-radius: 4px; }
.theme-medical .lang-menu, .theme-medical .lang-menu a { border-radius: 6px; }

/* hero: photo on the right, white fade on the left for the text */
.mhero { position: relative; background: #eef2f6 var(--hero-img) no-repeat right center / cover; }
.mhero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f3f6f9 0%, rgba(243, 246, 249, .96) 34%, rgba(243, 246, 249, .55) 56%, rgba(243, 246, 249, 0) 72%); }
.mhero .wrap { position: relative; }
.mhero-text { max-width: 600px; padding: 96px 0 104px; }
.mhero h1 { margin: 0 0 22px; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; color: var(--ink); }
.mhero h1 b { display: block; font-weight: 800; }
.mhero h1 span { display: block; font-weight: 300; letter-spacing: -.03em; }
.mhero .lead { font-size: 1.1rem; color: #3d4b5e; margin: 0 0 30px; max-width: 520px; }
.mhero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mhero-contact { display: flex; gap: 24px; flex-wrap: wrap; margin: 26px 0 0; }
.mhero-contact a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mhero-contact a:hover { color: var(--jade); }
.mhero-contact svg { width: 16px; height: 16px; color: var(--jade); }

/* band of three blues under the hero */
.mband { display: grid; grid-template-columns: 1fr 1.15fr 1fr; color: #fff; }
.mband-col { padding: 44px max(28px, calc((100vw - 1160px) / 6)) 46px; background: #0a5fb8; display: flex; flex-direction: column; gap: 10px; }
.mband-col.mid { background: var(--jade); }
.mband-col:last-child { background: #0d4f99; }
.mband h3 { color: #fff; font-size: 1.35rem; margin: 6px 0 0; }
.mband p { margin: 0 0 8px; color: #dbe9f8; font-size: .95rem; }
.mband .row { margin-top: auto; }
.mband .btn.line { align-self: flex-start; margin-top: auto; }
.mband .hours li { border-color: rgba(255, 255, 255, .18); font-size: .92rem; color: #eaf2fb; }
.mi { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* sections */
.mhead { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.mhead h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0; }
.mservices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.msvc { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.msvc .mi { color: var(--jade); width: 38px; height: 38px; }
.msvc h3 { margin: 4px 0 0; font-size: 1.22rem; }
.msvc p { margin: 0; color: var(--muted); flex: 1; font-size: .95rem; }
.msvc .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-weight: 600; color: var(--jade); font-size: .9rem; }
a.msvc:hover { border-color: var(--jade); box-shadow: var(--shadow); }
.msvc.ask { background: var(--paper-2); border-style: dashed; }
.msvc.ask .row { margin-top: 6px; }

.mphoto { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.mphoto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mabout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.mabout .mphoto { aspect-ratio: 4 / 5; position: sticky; top: 100px; }
.mabout h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0 0 12px; }
.mabout .doc { color: var(--jade-deep); margin: 0 0 18px; }
.mabout .lead { font-size: 1.05rem; line-height: 1.75; margin: 0; }
.mfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.mfacts div { background: var(--jade-soft); border-radius: var(--radius); padding: 16px 16px 14px; display: flex; flex-direction: column; }
.mfacts b { font-size: 1.9rem; font-weight: 800; color: var(--jade); line-height: 1; }
.mfacts span { font-size: .8rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.mtimeline { list-style: none; margin: 0; padding: 0; }
.mtimeline li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.mtimeline .y { font-weight: 700; color: var(--jade); }

.mplace { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: stretch; }
.mplace .mphoto { min-height: 380px; }
.mplace .card { display: flex; flex-direction: column; box-shadow: none; }
.mplace .card h3 { font-size: 1.4rem; margin: 0 0 6px; }
.mplace .place { color: var(--muted); margin: 0 0 14px; }
.mplace .row { margin-top: auto; padding-top: 20px; }

.mcta { margin: 96px 0 0; display: grid; grid-template-columns: 1fr 1.2fr; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--jade), #0a3f80); color: #fff; }
.mcta img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }
.mcta-text { padding: 54px 52px; display: flex; flex-direction: column; justify-content: center; }
.mcta h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0 0 10px; }
.mcta p { color: #d6e6f8; margin: 0 0 26px; }
.mcta .or { color: #d6e6f8; font-size: .92rem; }
.mcta .or a { color: #fff; font-weight: 700; }

.theme-medical footer { background: #0b1d36; color: #9fb0c6; }
.theme-medical footer b { font-family: var(--sans); font-weight: 800; }

/* assistant panel and booking in blue */
.theme-medical .va { background: rgba(10, 25, 50, .55); }
.theme-medical .va-orb { background: radial-gradient(circle at 35% 30%, #ffffff80, transparent 40%), conic-gradient(from 0deg, var(--jade), #5fc3f0, var(--jade-deep), var(--jade)); box-shadow: 0 0 0 10px rgba(11, 107, 203, .08), 0 20px 40px rgba(11, 107, 203, .25); }
.theme-medical .va-box { border-radius: 14px 14px 0 0; }
@media (min-width: 700px) { .theme-medical .va-box { border-radius: 14px; } }
.theme-medical .days > button, .theme-medical .days > a { border-radius: 8px; }
.theme-medical .wiz-chips .chip { border-radius: 4px; }
.theme-medical input[type=text], .theme-medical input[type=tel], .theme-medical input[type=email], .theme-medical select, .theme-medical textarea { border-radius: 6px; border-color: #cfdae6; }

@media (max-width: 960px) {
  .mband, .mservices, .mabout, .mplace, .mcta { grid-template-columns: 1fr; }
  .mband-col { padding: 34px 20px; }
  .mabout { gap: 28px; }
  .mabout .mphoto { position: static; aspect-ratio: 4 / 3; }
  .mplace .mphoto { min-height: 240px; aspect-ratio: 16 / 10; }
  .mcta img { max-height: 280px; }
  .mcta-text { padding: 34px 24px; }
}
@media (max-width: 760px) {
  /* phone: photo on top, text below on white (a fade over a face looks bad on a narrow screen) */
  .mhero { background: #fff; display: flex; flex-direction: column; }
  .mhero::before { position: static; display: block; height: 260px; background: var(--hero-img) no-repeat 80% 20% / cover; }
  .mhero-text { padding: 26px 0 40px; }
  .mfacts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .mfacts div { padding: 12px 10px; }
  .mfacts b { font-size: 1.5rem; }
  .mtimeline li { grid-template-columns: 78px 1fr; }
}

/* demo login page and other places where style.css had hard-coded green (Jean-Luc 2026-11-19: "blue on dark green") */
body.gate-page.theme-medical { background: radial-gradient(900px 520px at 85% -10%, rgba(11, 107, 203, .16), transparent 60%), linear-gradient(180deg, #f3f7fb, #e6eef7); }
.theme-medical .gate .card { box-shadow: 0 1px 2px rgba(12, 30, 58, .06), 0 18px 48px rgba(12, 30, 58, .12); border-color: #dbe5f0; }
.theme-medical .gate .card h1 { display: flex; align-items: center; gap: 12px; }
.theme-medical .gate .card h1::before { content: ""; flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--jade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M16.5 9h7v7.5H31v7h-7.5V31h-7v-7.5H9v-7h7.5z' fill='%23fff'/%3E%3C/svg%3E") center / 100% no-repeat; }
.theme-medical input:focus, .theme-medical select:focus, .theme-medical textarea:focus { box-shadow: 0 0 0 3px rgba(11, 107, 203, .15); }
.theme-medical .flash.ok { background: #e8f2fd; color: #0a4f96; }
.theme-medical .flash { border-radius: 6px; }
