/* Shared by the three Czech pages. Other pages keep their existing style.css. */
:root {
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: var(--font-body);
  --paper: #fcfbf8;
  --paper-warm: #f3f1eb;
  --ink: #252b29;
  --ink-soft: #4c5550;
  --ink-muted: #606960;
  --accent: #385d4e;
  --rule: #b9c0b9;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.0625rem/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
p { margin: 0 0 1.2rem; max-width: 68ch; }
h1, h2, h3 { margin: 0 0 1.1rem; font-weight: 500; line-height: 1.22; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.3vw, 3.7rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.3rem); letter-spacing: -.025em; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
strong { font-weight: 600; }
figure, blockquote { margin: 0; }
figcaption { margin-top: .8rem; color: var(--ink-muted); font-size: .85rem; }
section { padding: clamp(3rem, 6.5vw, 5.5rem) 0; }
.container, .container-narrow { width: min(100% - 3rem, 1120px); margin-inline: auto; }
.container-narrow { max-width: 800px; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .6rem 1rem; background: var(--paper); z-index: 10000; }
.skip-link:focus { top: 1rem; }
.site-header { width: min(100% - 3rem, 1280px); margin-inline: auto; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-bottom: 1px solid #dedfd7; }
.site-mark { color: var(--ink); font-size: 1.15rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.site-header-right, .site-nav, .lang-switch { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1.2rem; }
.site-header-right { justify-content: flex-end; gap: .7rem 1.7rem; }
.site-nav { font-size: .9rem; }
.site-nav a, .lang-switch a { color: var(--ink-soft); text-decoration: none; padding-block: .4rem; }
.site-nav a:hover, .lang-switch a:hover { text-decoration: underline; }
.site-nav .is-active, .lang-switch .is-active { color: var(--ink); font-weight: 600; }
.lang-switch { gap: .7rem; font-size: .8rem; }
.hero { padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: 2.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eyebrow { display: block; font-size: .95rem; color: var(--ink-muted); margin-bottom: 1.5rem; }
.hero-lede { font-size: 1.08rem; margin: 1.8rem 0 0; color: var(--ink-soft); }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.hero-portrait-caption { color: var(--ink-muted); font-size: .85rem; margin-top: .65rem; }
.hero-meta { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1.7rem; margin-top: 3.5rem; font-size: .85rem; color: var(--ink-soft); }
.hero-meta strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .3rem; }
.chooser { padding-block: 2rem 3.5rem; }
.chooser .container-narrow { max-width: 1120px; }
.chooser-intro { display: block; color: var(--ink-muted); font-size: .9rem; margin-bottom: .5rem; }
.chooser-paths { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
.chooser-path { font-size: 1.15rem; }
.chooser-sep { display: none; }
.about-grid { display: block; }
.about-side { margin-bottom: clamp(2rem,4vw,3rem); }
.about-side h2 { margin-bottom: .9rem; }
.big-quote { color: var(--ink-soft); max-width: 62ch; font-size: 1.08rem; }
.about-grid .about-text { columns: 2; column-gap: clamp(2rem,5vw,4rem); }
.about-grid .about-text p { max-width: none; }
.about-text p:last-child { margin-bottom: 0; }
.about-side-photo { margin-top: 2rem; }
.page-hero { padding-bottom: 3rem; }
.page-hero h1 { max-width: 20ch; }
.page-hero-lede { max-width: 62ch; color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 0; }
.course-bar { display: block; max-width: 1120px; margin: 1.4rem auto 0; padding-inline: 1.5rem; font-size: .9rem; text-decoration: none; }
.course-bar-label { color: var(--ink-muted); margin-right: .5rem; }
.course-bar-text { text-decoration: underline; text-underline-offset: .2em; }
.course-bar-arrow { display: none; }
.test-cta-section { padding-block: 3rem; }
.test-cta-meta { color: var(--ink-muted); font-size: .85rem; margin: 1rem 0; }
.test-cta-meta span { margin-inline: .3rem; }
.test-cta-meta span:first-child { margin-left: 0; }
.clients-grid, .themes-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2.5rem 4rem; margin-top: 2.5rem; }
.clients-section .lede, .themes-scope, .lede { color: var(--ink-soft); }
.client-type p, .theme-desc { color: var(--ink-soft); margin-bottom: .7rem; }
.modes { display: grid; gap: 2.5rem; margin-top: 2.5rem; max-width: 800px; }
.mode-format { color: var(--ink-muted); font-size: .95rem; }
.themes-scope { font-size: .95rem; }
.theme { margin-top: .8rem; }
.theme summary { cursor: pointer; color: var(--accent); font-size: .95rem; padding-block: .4rem; }
.theme summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.theme-body ul { padding-left: 1.2rem; margin: .8rem 0 0; }
.theme-body li { padding-left: .15rem; margin-bottom: .55rem; font-size: .95rem; }
.work-banner { width: min(100% - 3rem,1120px); margin-inline: auto; padding-block: 2rem; }
.work-banner img { width: 100%; max-height: 520px; object-fit: cover; object-position: center; }
.projects-list, .media-list { display: grid; gap: 2.5rem; margin-top: 3rem; }
.project, .media-item { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,3fr); gap: 2rem; }
.project-meta, .media-meta { font-size: .9rem; color: var(--ink-muted); }
.project-year, .media-kind, .media-source, .media-date { display: block; }
.project-year, .media-kind { color: var(--ink); font-weight: 600; }
.course-card { max-width: 800px; }
.course-meta { display: flex; gap: 1rem 3rem; flex-wrap: wrap; margin: 1.5rem 0; font-size: .9rem; color: var(--ink-muted); }
.course-meta strong { display: block; color: var(--ink); }
.insights-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem; margin-top: 2.5rem; }
.insight-quote { font-size: 1rem; color: var(--ink-soft); }
.insight-cite { font-style: normal; font-size: .85rem; color: var(--ink-muted); }
.media-content h3 a { text-decoration: none; }
.media-content h3 a:hover { text-decoration: underline; }
.media-note { color: var(--ink-muted); font-size: .95rem; margin-top: 2rem; }
.therapy-intro, .therapy-first { max-width: 800px; }
.therapy-cards, .therapy-format { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem; margin-top: 3rem; }
.therapy-card p { color: var(--ink-soft); }
.therapy-first { margin-top: 4rem; }
.therapy-first h3 { font-size: 1.65rem; font-weight: 500; }
.therapy-format { margin-top: 4rem; }
.format-label, .format-value, .format-detail { display: block; }
.format-label { color: var(--ink-muted); font-size: .9rem; }
.format-value { font-size: 1.3rem; margin-block: .3rem; }
.format-detail { color: var(--ink-soft); font-size: .95rem; }
.refs-carousel { max-width: 800px; margin-top: 2.5rem; }
.ref { margin-bottom: 2.5rem; }
.ref blockquote { font-size: 1.1rem; line-height: 1.75; margin-bottom: 1.5rem; max-width: 65ch; }
.ref-author { font-size: .9rem; color: var(--ink-muted); }
.ref-author strong { display: block; color: var(--ink); }
.refs-controls { display: flex; align-items: center; gap: 1.2rem; }
.refs-arrow { width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule); background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.refs-status { color: var(--ink-muted); font-size: .9rem; }
.section-head { margin-bottom: 2.5rem; }
.section-head .lede, .section-head p { max-width: 62ch; margin-bottom: 0; }
.contact-section .section-head { margin-bottom: 1.5rem; }
.contact-info { display: flex; flex-wrap: wrap; gap: .9rem 3.5rem; margin-bottom: 2.5rem; }
.contact-info p { margin: 0; }
.contact-form { max-width: 820px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(1.5rem,3vw,2.5rem); }
.contact-form > * { grid-column: 1 / -1; }
.contact-form .form-group--half { grid-column: span 1; }
.contact-form button { justify-self: start; }
.path-line span { display: block; color: var(--ink-muted); font-size: .9rem; }
.path-line a { overflow-wrap: anywhere; }
.form-group { margin: 0 0 1.4rem; border: 0; padding: 0; min-width: 0; }
.contact-form label, .contact-form legend { display: block; font-size: .95rem; margin-bottom: .4rem; padding: 0; }
.contact-form input:not([type=radio]), .contact-form textarea { width: 100%; border: 1px solid var(--rule); border-radius: 0; background: transparent; color: var(--ink); font: inherit; padding: .6rem .75rem; }
.contact-form textarea { resize: vertical; min-height: 8rem; }
.form-radios { display: flex; gap: .4rem 1rem; flex-wrap: wrap; }
.form-radios label { display: flex; align-items: center; gap: .4rem; min-height: 32px; }
.form-radios input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.contact-form button { border: 1px solid var(--accent); background: var(--accent); color: var(--paper); padding: .8rem 1.4rem; font: inherit; cursor: pointer; }
.contact-form button:hover { background: var(--ink); }
.contact-form > p { font-size: .9rem; color: var(--ink-muted); margin-top: 1rem; }
.form-success { color: var(--accent); margin-bottom: 1.5rem; }
.page-cta { padding-bottom: 5rem; }
.cta-button, .first-cta { display: inline-block; padding-block: .5rem; }
footer { border-top: 1px solid #dedfd7; padding: 3rem max(1.5rem,calc((100% - 1120px)/2)); color: var(--ink-muted); font-size: .85rem; }
.footer-mark { color: var(--ink); font-size: 1.1rem; }
.mark-italic { font-style: normal; }
.footer-tagline { margin-top: .3rem; }
.footer-cap img { width: 70px; margin-top: 1.5rem; }
/* Consent controls remain functional, with the same quiet visual treatment. */
body #cookie-bar { border-radius: 0; box-shadow: none; font-family: var(--font-body); }
body #cookie-bar button { border-radius: 0; }
@media (max-width: 1050px) {
  .site-header { align-items: flex-start; }
  .site-header-right { max-width: 75%; }
  .site-nav { justify-content: flex-end; }
  .hero-meta { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .site-header { display: block; padding-block: 1rem; }
  .site-header-right { max-width: none; justify-content: space-between; margin-top: .65rem; }
  .site-nav { justify-content: flex-start; gap: .2rem 1rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-portrait { width: min(100%,340px); }
  .hero-portrait img { aspect-ratio: 4/4.5; }
  .hero-meta { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
  .project, .media-item { grid-template-columns: 1fr; gap: .6rem; }
  .project-year { display: inline; margin-right: .7rem; }
  .media-kind, .media-source, .media-date { display: inline; margin-right: .6rem; }
  .course-bar-label { display: block; }
  .work-banner img { max-height: 380px; }
  .about-side-photo { max-width: 380px; }
  .ref blockquote { font-size: 1rem; }
  /* Prevent the original consent script's flex-basis from becoming a 280px height. */
  body #cookie-bar p { flex: 1 1 auto; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .skip-link, .refs-controls, .contact-form, #cookie-bar { display: none !important; }
  section { padding-block: 1.5rem; }
  .ref[hidden] { display: block !important; }
  .ref, .theme-item { break-inside: avoid; }
}

/* Show the entire therapy room photograph at its original aspect ratio. */
.work-banner img[src^="pracovna."] { height: auto; max-height: none; object-fit: contain; }

/* Psychotherapy pages: compact photographs and a shared reading grid. */
.therapy-page .therapy-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.therapy-page .page-hero { padding-bottom: 2rem; }
.therapy-page .therapy-room img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.therapy-page .therapy-intro, .therapy-page .therapy-first { max-width: none; }
.therapy-page .therapy-copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.therapy-page .therapy-copy-grid p { max-width: none; }
.therapy-page .therapy-copy-grid > p:last-child, .therapy-page .therapy-copy-grid > div > p:last-child { margin-bottom: 0; }
.therapy-page .therapy-topics-intro { margin-top: 2.5rem; }
.therapy-page .therapy-topics-intro p { max-width: 72ch; margin-bottom: 0; }
.therapy-page .therapy-cards { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.therapy-page .therapy-card p { margin-bottom: 0; }
.therapy-page .therapy-format { padding-top: 2rem; border-top: 1px solid var(--rule); }
.therapy-page .therapy-insurance { max-width: 72ch; margin-top: 1.5rem; margin-bottom: 0; }
.therapy-page .therapy-training { background: var(--paper-warm); }
.therapy-page .therapy-training-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.therapy-page .therapy-training h2 { margin-bottom: 1.75rem; }
.therapy-page .therapy-training .about-text p { max-width: none; }
.therapy-page .therapy-training-lede { color: var(--ink-soft); }
.therapy-page .therapy-training-photo img { width: 100%; height: auto; }
.therapy-page .page-cta .container-narrow { max-width: 1120px; }
@media (max-width: 800px) {
  .therapy-page .therapy-hero-grid, .therapy-page .therapy-copy-grid, .therapy-page .therapy-training-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .therapy-page .therapy-room { width: min(100%, 440px); }
  .therapy-page .therapy-training-photo { width: min(100%, 320px); }
}

/* Security pages: a quiet personal reading layout. */
.security-page { --paper: #faf9f5; --paper-warm: #f0f1e9; }
.security-page main > section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.security-page h1, .security-page h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.025em; }
.security-page h1 { font-size: clamp(2.3rem, 4.3vw, 3.6rem); line-height: 1.18; max-width: 23ch; }
.security-page h2 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); }
.security-page h3 { font-weight: 500; line-height: 1.4; }
.security-page .page-hero .container-narrow { max-width: 1120px; }
.security-page main > .page-hero { padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 5vw, 4.5rem); }
.security-page .page-hero-lede { max-width: 64ch; margin-top: 2rem; }
.security-page .how .container { border-top: 1px solid var(--rule); padding-top: 2rem; }
.security-page .modes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem 3.5rem; margin-top: 0; max-width: none; }
.security-page .mode + .mode { margin-top: 0; }
.security-page .mode h3 { margin-bottom: .8rem; }
.security-page .mode p:last-child { margin-bottom: 0; }
.security-page .clients-section .container { max-width: none; }
.security-page .clients-grid { gap: 1.8rem 4rem; }
.security-page .client-type p { font-size: 1rem; }
.security-page .themes-section { background: var(--paper-warm); }
.security-page .themes-section .container { max-width: none; }
.security-page .themes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2.5rem 4rem; align-items: start; }
.security-page .theme-item h3 { margin-bottom: .6rem; }
.security-page .theme-desc { font-size: 1rem; }
.security-page .theme summary { font-size: .85rem; }
.security-page .projects-list { max-width: none; margin-left: 0; gap: 2.5rem; }
.security-page .project { grid-template-columns: minmax(0,1fr) minmax(0,3fr); gap: 2rem; }
.security-page .project-content p { margin-bottom: 0; }
.security-page .refs-section .container { max-width: none; border-top: 1px solid var(--rule); padding-top: 2rem; }
.security-page .refs-section h2 { font-size: 1.6rem; }
.security-page .refs-carousel { margin-top: 2rem; }
.security-page .ref blockquote { font-size: 1rem; max-width: 72ch; }
.security-page .refs-arrow { border: 0; }
.security-page .insights-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem 3.5rem; margin-top: 0; }
.security-page .insight + .insight { margin-top: 0; }
.security-page .insight h3 { margin-bottom: .7rem; }
.security-page .insight-quote { max-width: 62ch; margin-bottom: .6rem; }
.security-page .security-course-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: clamp(2rem,5vw,4rem); align-items: center; border-top: 1px solid var(--rule); padding-top: 2.5rem; }
.security-page .course-card { max-width: none; }
.security-page .security-course-photo img { width: 100%; height: auto; }
.security-page .course-meta { gap: 1rem 2rem; }
.security-page .test-cta-section .container-narrow { max-width: 1120px; }
.security-page main > .test-cta-section { padding-block: 2.5rem; }
.security-page .test-cta-section h2 { font-size: 1.65rem; }
.security-page .test-cta-meta { display: flex; flex-wrap: wrap; gap: .25rem; font-size: .8rem; }
.security-page .game-cta-section .container-narrow { border-top: 1px solid #dedfd7; padding-top: 2rem; }
.security-page .media-section .container { max-width: none; }
.security-page .media-list { gap: 1.8rem; }
.security-page .media-item { grid-template-columns: minmax(0,1fr) minmax(0,3fr); gap: 2rem; }
.security-page .media-content h3 { font-size: 1.08rem; }
.security-page .media-content p { font-size: .95rem; margin-bottom: 0; }
.security-page .page-cta .container-narrow { max-width: 1120px; border-top: 1px solid var(--rule); padding-top: 2.5rem; }
@media(max-width:1050px) {
  .security-page .site-header { display:block; }
  .security-page .site-header-right { max-width:none; justify-content:space-between; margin-top:.8rem; }
  .security-page .site-nav { justify-content:flex-start; }
}
@media(max-width:720px) {
.security-page .themes-grid, .security-page .security-course-grid { grid-template-columns:1fr; gap:2rem; }
  .security-page .project, .security-page .media-item { grid-template-columns:1fr; gap:.6rem; }
  .security-page .clients-grid { gap:1.8rem; }
  .security-page .security-course-photo { width:min(100%,400px); }
  .security-page .page-hero-lede { font-size:1.08rem; }
  .security-page .projects-list { margin-left:0; }
}
@media print {
  .security-page main > section { padding-block:1.5rem; }
  .security-page .themes-section { background:transparent; }
}

/* Tablets: collapse the reading grids before the columns get too narrow to read. */
@media (max-width: 900px) {
  .about-grid .about-text { columns: 1; }
  .contact-form { grid-template-columns: 1fr; }
  .clients-grid, .themes-grid, .therapy-cards, .therapy-format, .insights-grid,
  .security-page .themes-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid .about-text p { max-width: 68ch; }
  .therapy-page .therapy-copy-grid, .therapy-page .therapy-training-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .therapy-page .therapy-training-photo { width: min(100%, 320px); }
}

@media (max-width: 760px) {
  .security-page .modes, .security-page .insights-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
