/*
Theme Name: Specialis
Theme URI: https://www.specialis.cz/
Author: Specialis s.r.o.
Description: Vlastní šablona advokátní kanceláře Specialis. Zadání je v docs/SABLONA-ZADANI.md.
Version: 1.0.17
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: specialis
*/

/* ---------- Písmo: jen použité řezy, na vlastním webu ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/poppins-500.woff2") format("woff2"); }

:root {
  --primary: #0f1431;
  --primary-80: rgba(15,20,49,.78);
  --secondary: #b1976b;
  --gold-hover: #998055;
  --gold-text: #8a6e42;   /* zlatý text na světlém pozadí, #b1976b by neměl kontrast */
  --overlay: #10122c;
  --footer: #0b0d22;
  --tint: #f3f4f8;
  --tint-2: #f9fafc;
  --line: rgba(15,20,49,.12);
  --line-dark: rgba(255,255,255,.18);
  --glass: rgba(255,255,255,.16);
  --glass-hover: rgba(255,255,255,.26);
  --wrap: 1240px;
  --gutter: 24px;
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  --masthead: 129px;
  --books: url("/wp-content/uploads/2021/06/books1.jpg");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Poppins", system-ui, sans-serif; font-weight: 300; font-size: 16px; line-height: 1.7;
  color: var(--primary); background: #fff; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }

.spec-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 20px; background: #fff; color: var(--primary); }
.spec-skip:focus { left: 8px; top: 8px; }
.spec-wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.spec-section { padding-block: 130px; }
.spec-section--tint { background: var(--tint); }
.spec-section--dark { color: #fff; }
section[id] { scroll-margin-top: 84px; }

/* Stránky bez tmavého úvodu (profil, e-shop, Elementor): obsah začíná pod hlavičkou */
body:not(.spec-ma-hero) .spec-main { padding-top: var(--masthead); }

/* ---------- Nadpisy a texty ---------- */
.spec-eyebrow {
  display: flex; align-items: center; gap: 20px; margin-bottom: 15px;
  font-size: 24px; font-weight: 300; line-height: 1.3; color: var(--gold-text);
}
.spec-eyebrow::before { content: ""; flex: none; width: 63px; height: 1px; background: linear-gradient(90deg, rgba(177,151,107,0), var(--secondary)); }
.spec-section--dark .spec-eyebrow, .spec-hero .spec-eyebrow, .spec-pas .spec-eyebrow { color: var(--secondary); }
h1, .spec-h1 { font-size: 57px; font-weight: 400; line-height: 1.2; letter-spacing: -2px; }
h2 { font-size: 40px; font-weight: 400; line-height: 1.2; letter-spacing: -1px; }
.spec-text { color: var(--primary-80); max-width: 520px; }
.spec-section--dark .spec-text { color: rgba(255,255,255,.8); }
.spec-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.spec-split__side { display: grid; justify-items: end; }

/* ---------- Tlačítka a odkazy ---------- */
.spec-btn, .wpcf7-submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; gap: 15px; padding: 18px 30px; border: 0; border-radius: 0;
  font: 400 17px/1.2 "Poppins", system-ui, sans-serif; letter-spacing: -.4px; text-decoration: none; cursor: pointer;
  background-color: var(--secondary); color: #fff; transition: background-color .2s ease, color .2s ease;
}
.spec-btn:hover, .spec-btn:focus-visible { background-color: var(--gold-hover); color: #fff; }
.spec-btn svg { width: 11px; height: 11px; flex: none; }
.spec-btn--dark, .wpcf7-submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { background-color: var(--primary); color: #fff; }
.spec-btn--dark:hover, .wpcf7-submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background-color: var(--secondary); color: #fff; }
.spec-btn--glass { background-color: var(--glass); backdrop-filter: blur(8px); }
.spec-btn--glass:hover, .spec-btn--glass:focus-visible { background-color: var(--glass-hover); }
.spec-link { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 400; color: var(--primary); text-decoration: none; }
.spec-link svg { width: 10px; height: 10px; color: var(--secondary); transition: transform .2s ease; }
.spec-link:hover { color: var(--gold-text); }
.spec-link:hover svg { transform: translate(2px, -2px); }

/* ---------- Hlavička ---------- */
.spec-masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.admin-bar .spec-masthead { top: 32px; }
.spec-topbar {
  background: var(--footer); color: rgba(255,255,255,.72); font-size: 13px; max-height: 45px; overflow: hidden;
  border-bottom: 1px solid transparent; transition: max-height .3s ease, background-color .3s ease, border-color .3s ease;
}
.spec-topbar .spec-wrap, .spec-topbar__group { display: flex; align-items: center; }
.spec-topbar .spec-wrap { justify-content: space-between; gap: 24px; min-height: 44px; }
.spec-topbar__group { gap: 0 28px; }
.spec-topbar a, .spec-topbar span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.spec-topbar a:hover { color: #fff; }
.spec-topbar svg { width: 14px; height: 14px; color: var(--secondary); flex: none; }
.spec-jazyky { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; text-transform: uppercase; }
.spec-jazyky .current-lang a { color: #fff; font-weight: 500; }

.spec-header {
  background: var(--primary); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background-color .3s ease, border-color .3s ease;
}
.spec-header .spec-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 84px; }
.spec-logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.spec-logo img { height: 52px; width: auto; max-width: none; filter: brightness(0) invert(1); }
.spec-nav { display: flex; align-items: center; gap: 28px; }
.spec-menu, .spec-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.spec-menu { display: flex; align-items: center; }
.spec-menu > li { position: relative; }
.spec-menu > li > a {
  display: flex; align-items: center; gap: 8px; min-height: 84px; padding: 0 16px; white-space: nowrap;
  font-size: 15px; font-weight: 400; color: rgba(255,255,255,.88); text-decoration: none;
  box-shadow: inset 0 -2px 0 transparent; transition: color .2s, box-shadow .2s;
}
.spec-menu > li > a:hover, .spec-menu > li:focus-within > a, .spec-menu > .current-menu-item > a { color: #fff; box-shadow: inset 0 -2px 0 var(--secondary); }
.spec-menu > .menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--secondary); border-bottom: 1.5px solid var(--secondary);
  transform: rotate(45deg) translateY(-2px);
}
/* Ikona podle adresy, aby platila i pro menu přiřazené v administraci */
.spec-menu > li > a[href*="/muj-ucet"]::before {
  content: ""; flex: none; width: 16px; height: 16px; background: var(--secondary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.3'%3E%3Ccircle cx='8' cy='5' r='3.2'/%3E%3Cpath d='M1.8 14.5c.5-3.2 3-5 6.2-5s5.7 1.8 6.2 5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.3'%3E%3Ccircle cx='8' cy='5' r='3.2'/%3E%3Cpath d='M1.8 14.5c.5-3.2 3-5 6.2-5s5.7 1.8 6.2 5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.spec-menu .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 300px; padding: 10px 0; background: #fff; color: var(--primary);
  border-top: 2px solid var(--secondary); box-shadow: 0 30px 60px -20px rgba(11,13,34,.45);
}
.spec-menu li:hover > .sub-menu, .spec-menu li:focus-within > .sub-menu { display: block; }
.spec-menu .sub-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 24px; font-size: 15px; font-weight: 400; text-decoration: none; }
.spec-menu .sub-menu a:hover { background: var(--tint); color: var(--gold-text); }
.spec-header__cta.spec-btn { padding: 14px 22px; font-size: 15px; white-space: nowrap; }
.spec-burger-stav { position: absolute; opacity: 0; width: 1px; height: 1px; }
.spec-burger { display: none; }

/* Nad tmavým úvodem je hlavička průhledná; bez skriptu zůstává plná a čitelná */
.spec-js .spec-ma-hero .spec-masthead:not(.is-scrolled) .spec-topbar { background: transparent; border-bottom-color: rgba(255,255,255,.12); }
.spec-js .spec-ma-hero .spec-masthead:not(.is-scrolled) .spec-header { background: transparent; border-bottom-color: transparent; }
.spec-masthead::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(11,13,34,.6), rgba(11,13,34,0)); opacity: 0; transition: opacity .3s ease;
}
.spec-js .spec-ma-hero .spec-masthead:not(.is-scrolled)::before { opacity: 1; }
.spec-js .spec-masthead.is-scrolled .spec-topbar { max-height: 0; border-bottom-width: 0; }
.spec-masthead:has(.spec-burger-stav:checked) .spec-header { background: var(--primary) !important; }

/* ---------- Úvodní stránka: hero ---------- */
.spec-hero {
  position: relative; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 230px 0 90px; color: #fff; background: var(--overlay);
}
.spec-hero__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; }
.spec-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(16,18,44,.85) 0%, rgba(16,18,44,0) 45%), linear-gradient(90deg, rgba(16,18,44,.55) 0%, rgba(16,18,44,0) 60%);
}
.spec-hero > .spec-wrap { width: 100%; }
.spec-hero__lead { font-size: 18px; color: rgba(255,255,255,.85); max-width: 600px; margin-top: 24px; }
.spec-hero__lead a { color: var(--secondary); text-decoration: none; }
.spec-hero__lead a:hover { text-decoration: underline; }
.spec-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Fakta: čísla jsou v HTML jako text */
.spec-facts-section { padding-block: 90px; background: var(--tint); }
.spec-facts { display: flex; justify-content: space-between; gap: 32px; margin: 0; }
.spec-facts div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.spec-facts dd { margin: 0; order: -1; }
.spec-fact__num { font-size: 48px; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.spec-fact__label { margin-top: 8px; font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--primary-80); }

/* Služby */
.spec-services-section { background: linear-gradient(rgba(16,18,44,.86), rgba(16,18,44,.86)), var(--books) center / cover no-repeat, var(--overlay); }
.spec-services { display: grid; grid-template-columns: 5fr 6fr; column-gap: 80px; align-items: start; }
.spec-services__side { position: sticky; top: 124px; }
.spec-services__head h2 { margin-bottom: 40px; }
.spec-also { border-top: 1px solid var(--line-dark); }
.spec-also__label { display: block; font-size: 14px; color: rgba(255,255,255,.6); padding: 22px 0 8px; }
.spec-also a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line-dark); font-weight: 400; text-decoration: none; transition: color .2s;
}
.spec-also a svg { width: 10px; height: 10px; flex: none; color: var(--secondary); }
.spec-also a:hover { color: var(--secondary); }
.spec-cards { display: grid; gap: 20px; }
.spec-card { background: var(--tint-2); color: var(--primary); padding: 44px; }
.spec-card h3 { font-size: 30px; font-weight: 400; line-height: 1.2; letter-spacing: -1px; margin-bottom: 14px; }
.spec-card__lead { font-size: 17px; font-weight: 400; line-height: 1.6; }
.spec-card__text { font-size: 15px; color: var(--primary-80); margin-top: 12px; }
.spec-card .spec-link { margin-top: 26px; }

/* Časté dotazy: <details> přímo v bloku .spec-faq, plugin z nich skládá FAQPage */
.spec-faq details { background: #fff; }
.spec-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 28px; font-size: 17px; font-weight: 400; line-height: 1.45;
}
.spec-faq summary::-webkit-details-marker { display: none; }
.spec-faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; transition: background-color .2s;
  background: linear-gradient(var(--primary), var(--primary)) center / 12px 1.5px no-repeat, linear-gradient(var(--primary), var(--primary)) center / 1.5px 12px no-repeat, var(--tint);
}
.spec-faq details[open] summary::after { background: linear-gradient(#fff, #fff) center / 12px 1.5px no-repeat, var(--secondary); }
.spec-faq details > :not(summary) { margin: 0 28px 14px; font-size: 15px; color: var(--primary-80); }
.spec-faq details > :last-child { margin-bottom: 26px; }
.spec-faq--uvod {
  display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: repeat(4, auto) 1fr; gap: 12px 80px; align-items: start;
  padding: 130px var(--edge); background: var(--tint);
}
.spec-faq--uvod details { grid-column: 2; }
.spec-faq__aside { grid-column: 1; grid-row: 1 / span 5; }
.spec-faq__aside .spec-text { margin: 20px 0 32px; }

/* Videokurz */
.spec-course-section { background: linear-gradient(90deg, rgba(16,18,44,.95) 0%, rgba(16,18,44,.8) 55%, rgba(16,18,44,.6) 100%), var(--books) center / cover no-repeat, var(--overlay); }
.spec-course { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.spec-course h2 { max-width: 640px; margin-bottom: 40px; }
.spec-course__list { list-style: none; margin: 0; padding: 12px 44px; flex: none; min-width: 400px; background: var(--glass); backdrop-filter: blur(10px); }
.spec-course__list li { display: flex; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 400; color: #fff; }
.spec-course__list li + li { border-top: 1px solid var(--line-dark); }
.spec-course__list li::before {
  content: ""; flex: none; width: 14px; height: 8px; margin-top: -4px;
  border-left: 2px solid var(--secondary); border-bottom: 2px solid var(--secondary); transform: rotate(-45deg);
}

/* Knihy: odkaz roztažený přes celou kartu */
.spec-books, .spec-posts { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.spec-books { grid-template-columns: repeat(4, 1fr); }
.spec-book { position: relative; display: flex; flex-direction: column; background: var(--tint); transition: background-color .2s ease; }
.spec-book:hover { background: #e9ebf2; }
.spec-book__cover { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.spec-book__cover img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.spec-book__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.spec-book__meta { font-size: 13px; font-weight: 400; color: var(--gold-text); margin-bottom: 6px; }
.spec-book h3 { font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.spec-book__authors { font-size: 14px; color: var(--primary-80); margin-top: 6px; }
.spec-book .spec-link { margin-top: auto; padding-top: 20px; }
.spec-book .spec-link::after, .spec-post .spec-link::after { content: ""; position: absolute; inset: 0; }
.spec-book:hover .spec-link, .spec-post:hover .spec-link { color: var(--gold-text); }

/* Články */
.spec-posts { grid-template-columns: repeat(3, 1fr); }
.spec-post { position: relative; display: flex; flex-direction: column; background: #fff; padding: 36px 32px; transition: background-color .2s ease; }
.spec-section:not(.spec-section--tint) .spec-post { background: var(--tint); }
.spec-post:hover { background: var(--tint-2); }
.spec-post time { font-size: 14px; color: var(--gold-text); }
.spec-post h2, .spec-post h3 { font-size: 22px; font-weight: 400; line-height: 1.3; letter-spacing: -.5px; margin: 10px 0 12px; }
.spec-post p { font-size: 15px; color: var(--primary-80); }
.spec-post .spec-link { margin-top: auto; padding-top: 22px; }

/* LinkedIn: načítá se až po souhlasu s cookies a po dorolování */
.spec-li__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.spec-li__slot {
  min-height: 500px; overflow: hidden; background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 44px; text-align: center; font-size: 15px; color: var(--primary-80);
}
.spec-li__slot iframe { width: 100%; height: 100%; min-height: 500px; border: 0; }
.spec-li__slot.is-loaded { padding: 0; }
.spec-li__icon { width: 30px; height: 30px; fill: var(--gold-text); }
.spec-li__slot time { font-size: 14px; color: var(--gold-text); }
.spec-li__slot p { margin: 0; max-width: 280px; }
.spec-li__slot.is-souhlas .spec-li__souhlas, .spec-li__slot.is-souhlas .spec-li__nastaveni { display: none; }
.spec-li__nastaveni.spec-btn { padding: 14px 22px; font-size: 15px; }
#linkedin .spec-split:last-child { margin-bottom: 0; }

/* Kontakt */
.spec-contact-section { background: var(--primary); }
.spec-contact { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; }
.spec-contact__info .spec-text { margin: 20px 0 40px; }
.spec-contact dl { margin: 0; border-top: 1px solid rgba(255,255,255,.15); }
.spec-contact dl div { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.spec-contact dt { color: rgba(255,255,255,.6); font-size: 15px; }
.spec-contact dd { margin: 0; font-weight: 400; text-align: right; }
.spec-contact dd a { text-decoration: none; }
.spec-contact dd a:hover { color: var(--secondary); }
.spec-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.spec-offices h3 { font-size: 17px; font-weight: 400; margin-bottom: 6px; }
.spec-offices h3 span { color: rgba(255,255,255,.6); font-weight: 300; }
.spec-offices p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.8); }

/* Formulář: vzhled pro Contact Form 7 (Turnstile doplňuje plugin) */
.spec-form { background: #fff; color: var(--primary); padding: 44px; }
.spec-form h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 20px; }
.spec-form .wpcf7-form > p { margin: 0 0 18px; }
.spec-form .hidden-fields-container { display: none; }
.spec-form label { display: block; font-size: 14px; font-weight: 400; }
.spec-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.spec-form input[type="text"], .spec-form input[type="email"], .spec-form input[type="tel"], .spec-form textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 15px; color: var(--primary); background: var(--tint); border: 1px solid transparent; border-radius: 0;
}
.spec-form textarea { min-height: 130px; height: 130px; resize: vertical; }
.spec-form input:focus, .spec-form textarea:focus { outline: none; border-color: var(--secondary); background: #fff; }
.spec-form .wpcf7-acceptance .wpcf7-list-item { display: block; margin: 0; }
.spec-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.spec-form .wpcf7-acceptance input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 1px 0 0; border-radius: 0; accent-color: var(--primary); }
.spec-form .wpcf7-acceptance a { text-decoration: underline; text-decoration-color: var(--secondary); text-underline-offset: 3px; }
.spec-form .wpcf7-acceptance a:hover { color: var(--gold-text); }
.spec-form .wpcf7-acceptance u { text-decoration: none; }
.wpcf7-not-valid-tip { font-size: 13px; color: #a12a2a; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 10px 14px; font-size: 14px; }

/* ---------- Podstránky ---------- */
.spec-pas {
  padding: 220px 0 80px; color: #fff;
  background: linear-gradient(rgba(16,18,44,.9), rgba(16,18,44,.9)), var(--books) center / cover no-repeat, var(--overlay);
}
.spec-pas h1 { max-width: 1000px; }
.spec-pas__lead { margin-top: 20px; max-width: 760px; font-size: 18px; color: rgba(255,255,255,.85); }

.spec-obsah { padding-block: 80px 110px; }
.spec-obsah__text, .spec-obsah__text > .spec-faq { max-width: 860px; }
.spec-obsah__text > * { margin-top: 0; }
.spec-obsah__text p, .spec-obsah__text ul, .spec-obsah__text ol, .spec-obsah__text table, .spec-obsah__text blockquote { margin: 0 0 1.25em; font-size: 17px; line-height: 1.8; }
.spec-obsah__text h2 { margin: 1.6em 0 .6em; }
.spec-obsah__text h3 { margin: 1.5em 0 .5em; font-size: 24px; font-weight: 400; line-height: 1.3; letter-spacing: -.5px; }
.spec-obsah__text > :first-child { margin-top: 0; }
.spec-obsah__text li { margin-bottom: .4em; }
.spec-obsah__text strong { font-weight: 500; }
.spec-obsah__text a:not(.spec-btn):not(.spec-link):not(.spec-video):not(.spec-kontakt__odkaz) { text-decoration: underline; text-decoration-color: var(--secondary); text-underline-offset: 3px; }
.spec-obsah__text a:not(.spec-btn):not(.spec-link):not(.spec-video):not(.spec-kontakt__odkaz):hover { color: var(--gold-text); }
.spec-obsah__text blockquote { padding-left: 24px; border-left: 2px solid var(--secondary); }
.spec-obsah__text table { width: 100%; border-collapse: collapse; }
.spec-obsah__text th, .spec-obsah__text td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-obsah__text .spec-faq { margin-block: 48px; display: grid; gap: 12px; }
.spec-obsah__text .spec-faq h2 { margin: 0 0 12px; }
.spec-obsah__text .spec-faq details { background: var(--tint); }
.spec-obsah__text .spec-faq summary::after { background-color: #fff; }
.spec-obsah__text .spec-faq details[open] summary::after { background-color: var(--secondary); }
.spec-obsah__text .spec-faq details > :not(summary) { margin: 0 28px 14px; font-size: 15px; }
.spec-obsah__text .spec-faq details > :last-child { margin-bottom: 26px; }

.spec-byline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; max-width: 860px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--primary-80);
}
.spec-byline a { color: var(--primary); font-weight: 400; text-decoration: underline; text-decoration-color: var(--secondary); text-underline-offset: 4px; }
.spec-byline a:hover { color: var(--gold-text); }

.spec-related { padding-block: 90px; background: var(--tint); }
.spec-related ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; list-style: none; margin: 32px 0 0; padding: 0; }
.spec-related li { border-bottom: 1px solid var(--line); }
.spec-related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-weight: 400; text-decoration: none; }
.spec-related a:hover { color: var(--gold-text); }
.spec-related svg { width: 10px; height: 10px; flex: none; color: var(--secondary); }

/* Článek: kapitola 5.8 auditu. Bloky Shrnutí, Zdroje a časté dotazy vkládá autor do obsahu */
.clanek__hlava h1 { max-width: 1000px; }
.clanek__drobecky { margin-bottom: 24px; font-size: 14px; color: rgba(255,255,255,.65); }
.clanek__drobecky a { text-decoration: none; }
.clanek__drobecky a:hover { color: var(--secondary); }
.clanek__autor { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; margin-top: 32px; max-width: 760px; }
.clanek__autor:not(:has(img)) { display: block; }
.clanek__autor-foto { grid-row: 1 / span 2; width: 64px; height: 64px; object-fit: cover; }
.clanek__autor-jmeno { font-weight: 400; }
.clanek__autor-jmeno a { text-decoration: underline; text-decoration-color: var(--secondary); text-underline-offset: 4px; }
.clanek__autor-jmeno a:hover { color: var(--secondary); }
.clanek__autor-popis { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
.clanek__data { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.65); }
/* :first-child místo :first-of-type: odstavec musí být opravdu na začátku, jinak by se zvýraznil třeba rámeček s cenou uprostřed článku */
.spec-obsah__text.clanek__obsah > p:first-child { padding-left: 24px; border-left: 2px solid var(--secondary); font-size: 20px; font-weight: 400; line-height: 1.65; }
.clanek__obsah h1 { margin: 1.6em 0 .6em; font-size: 40px; letter-spacing: -1px; }
.spec-obsah__text .clanek__shrnuti, .spec-obsah__text .clanek__zdroje { margin-block: 48px; padding: 32px; background: var(--tint); }
.spec-obsah__text .clanek__shrnuti h2, .spec-obsah__text .clanek__zdroje h2 { margin: 0 0 16px; font-size: 24px; letter-spacing: -.5px; }
.spec-obsah__text .clanek__shrnuti ul, .spec-obsah__text .clanek__zdroje ul { margin: 0; padding-left: 20px; }
.spec-obsah__text .clanek__shrnuti li { font-size: 16px; }
.spec-obsah__text .clanek__zdroje { background: none; padding: 28px 0 0; border-top: 1px solid var(--line); }
.spec-obsah__text .clanek__zdroje li { font-size: 15px; overflow-wrap: anywhere; }
.clanek__tabulka { margin: 0 0 1.25em; overflow-x: auto; }
.spec-obsah__text .clanek__tabulka table { margin: 0; min-width: 480px; }
.spec-obsah__text .clanek__tabulka th { font-weight: 500; background: var(--tint); }

/* Bloky obsahu stránky: pruh přes celou šířku, ikony, postup, kontaktní karta */
.spec-main:has(.spec-pres) { overflow-x: clip; }
.spec-obsah__text { --ikona-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11 11 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11 11 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); --ikona-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 8.2L4.4 7H4v1.1l8 6.5 8-6.5V7h-.4z'/%3E%3C/svg%3E"); }
.spec-obsah__text .spec-pres {
  width: 100vw; margin-block: 72px; margin-left: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2)); padding-block: 80px;
  color: #fff; text-align: center;
}
.spec-pres--justice { background: linear-gradient(rgba(15,20,49,.15), rgba(15,20,49,.15)), url(assets/img/justice.jpg) center / cover no-repeat var(--primary); }
.spec-obsah__text .spec-pres--tmavy { background: var(--primary); text-align: left; }
.spec-obsah__text .spec-pres__veta { margin: 0 0 20px; font-size: 32px; font-weight: 400; line-height: 1.25; letter-spacing: -.5px; }
.spec-obsah__text .spec-pres__nadpis { margin: 0 0 24px; color: var(--secondary); font-size: 24px; font-weight: 300; line-height: 1.3; }
.spec-obsah__text .spec-pres__kontakty { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 0; padding: 0; list-style: none; font-size: 20px; font-weight: 300; }
.spec-obsah__text .spec-pres__kontakty li { margin: 0; }
.spec-obsah__text .spec-pres > .spec-wrap > :last-child { margin-bottom: 0; }
.spec-ikona { display: inline-block; position: relative; padding-left: 32px; }
.spec-ikona::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--secondary); -webkit-mask: var(--ikona) center / contain no-repeat; mask: var(--ikona) center / contain no-repeat; }
.spec-ikona--tel { --ikona: var(--ikona-tel); }
.spec-ikona--mail { --ikona: var(--ikona-mail); }
.spec-pres .spec-kontakt__odkaz { color: #fff; text-decoration: none; }
.spec-pres .spec-kontakt__odkaz:hover { color: var(--secondary); }

.spec-obsah__text .spec-body { padding: 0; list-style: none; }
.spec-obsah__text .spec-body li { position: relative; margin-bottom: .75em; padding-left: 28px; }
.spec-body li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border: 1px solid var(--secondary); background: radial-gradient(circle, var(--secondary) 0 3px, transparent 3.5px); border-radius: 0; }

.spec-obsah__text .spec-ikony { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; margin: 32px 0 0; padding: 0; list-style: none; text-align: center; }
.spec-obsah__text .spec-ikony li { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.35; }
.spec-ikony img { display: block; width: 64px; height: 64px; margin: 0 auto 16px; }

.spec-obsah__text .spec-postup { counter-reset: krok; margin: 40px 0 0; padding: 0; list-style: none; }
.spec-obsah__text .spec-postup > li { counter-increment: krok; position: relative; margin: 0; padding: 0 0 44px 104px; }
.spec-obsah__text .spec-postup > li:last-child { padding-bottom: 0; }
.spec-postup > li::before { content: counter(krok) "."; position: absolute; left: 0; top: 0; width: 44px; color: var(--gold-text); font-size: 24px; font-weight: 300; line-height: 1.3; }
.spec-postup > li::after { content: ""; position: absolute; left: 60px; top: 10px; bottom: -10px; width: 1px; background: var(--line); }
.spec-postup > li:last-child::after { bottom: 0; }
.spec-obsah__text .spec-postup h3 { position: relative; margin: 0 0 10px; }
.spec-postup h3::before { content: ""; position: absolute; left: -48px; top: 10px; z-index: 1; width: 9px; height: 9px; background: var(--secondary); }
.spec-obsah__text .spec-postup p { margin: 0; }

.spec-kontakt { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.spec-obsah__text .spec-kontakt__radek { position: relative; margin: 0 0 28px; padding-left: 44px; font-size: 16px; font-weight: 300; }
.spec-obsah__text .spec-kontakt__radek:last-child { margin-bottom: 0; }
.spec-kontakt__radek::before { content: ""; position: absolute; left: 0; top: 4px; width: 28px; height: 28px; background: var(--secondary); -webkit-mask: var(--ikona) center / contain no-repeat; mask: var(--ikona) center / contain no-repeat; }
.spec-kontakt__radek--tel { --ikona: var(--ikona-tel); }
.spec-kontakt__radek--mail { --ikona: var(--ikona-mail); }
.spec-kontakt__radek .spec-kontakt__odkaz { display: block; margin-bottom: 4px; font-size: 32px; font-weight: 400; letter-spacing: -.5px; overflow-wrap: anywhere; }
.spec-kontakt__foto { flex: none; width: 240px; margin: 0; }
.spec-kontakt__foto img { display: block; width: 100%; height: auto; }
.spec-kontakt__foto figcaption { margin-top: 12px; font-size: 15px; font-weight: 300; }
.spec-kontakt__foto strong { display: block; color: #fff; font-size: 17px; }

/* Stránka Kontakt */
.spec-pas:has(+ .spec-wrap > .spec-spojeni) { padding-bottom: 124px; }
.spec-spojeni { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin: -56px 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--secondary); }
.spec-spojeni li { display: flex; flex-direction: column; padding: 32px 28px; border-left: 1px solid var(--line); }
.spec-spojeni li:first-child { border-left: 0; }
.spec-spojeni svg { width: 24px; height: 24px; margin-bottom: 20px; color: var(--secondary); }
.spec-spojeni span { margin-bottom: 6px; font-size: 14px; color: var(--primary-80); }
.spec-spojeni a, .spec-spojeni strong { font-size: 18px; font-weight: 400; overflow-wrap: anywhere; }
.spec-spojeni a { text-decoration: none; }
.spec-spojeni a:hover { color: var(--gold-text); }
.spec-kancelare-sekce { padding-block: 110px 130px; }
.spec-kancelare { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.spec-kancelar { display: flex; flex-direction: column; background: var(--tint); }
.spec-mapa, .spec-mapa-ram { width: 100%; aspect-ratio: 16 / 9; }
.spec-mapa {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; text-decoration: none;
  background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 44px 44px, var(--primary);
}
.spec-mapa svg { width: 36px; height: 36px; color: var(--secondary); }
.spec-mapa span { font-size: 15px; border-bottom: 1px solid var(--secondary); padding-bottom: 2px; }
.spec-mapa:hover span { color: var(--secondary); }
.spec-mapa-ram iframe { display: block; width: 100%; height: 100%; border: 0; }
.spec-kancelar__telo { display: flex; flex-direction: column; flex: 1; padding: 36px 40px 40px; }
.spec-kancelar__stitek { margin: 0 0 6px; font-size: 14px; color: var(--gold-text); }
.spec-kancelar h3 { margin: 0 0 24px; font-size: 32px; font-weight: 400; letter-spacing: -.5px; line-height: 1.2; }
.spec-kancelar ul { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; }
.spec-kancelar li { display: flex; gap: 14px; }
.spec-kancelar li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--secondary); }
.spec-kancelar li a { text-decoration: none; }
.spec-kancelar li a:hover { color: var(--gold-text); }
.spec-kancelar__pozn { margin: auto 0 0; padding: 14px 0 14px 18px; border-left: 2px solid var(--secondary); font-size: 15px; }

/* Tým: výpis se skládá z profilů */
.spec-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; list-style: none; margin: 0; padding: 0; }
.spec-team__card { position: relative; display: flex; flex-direction: column; }
.spec-team__foto { aspect-ratio: 3 / 4; overflow: hidden; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.spec-team__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.spec-team__card:hover .spec-team__foto img { transform: scale(1.03); }
.spec-team__inicialy { font-size: 40px; font-weight: 300; color: var(--gold-text); }
.spec-team__card h2 { margin-top: 18px; font-size: 19px; font-weight: 400; line-height: 1.35; letter-spacing: -.3px; }
.spec-team__card h2 a { text-decoration: none; }
.spec-team__card h2 a::after { content: ""; position: absolute; inset: 0; }
.spec-team__card:hover h2 a { color: var(--gold-text); }
.spec-team__pozice { margin-top: 4px; font-size: 14px; color: var(--primary-80); }

/* Video: do kliknutí jen náhled, přehrávač YouTube se načte až potom */
.spec-video {
  position: relative; display: block; aspect-ratio: 16 / 9; margin: 0 0 2em; overflow: hidden; background: var(--primary); text-decoration: none;
}
.spec-video img { width: 100%; height: 100%; object-fit: cover; }
.spec-video::after { content: ""; position: absolute; inset: 0; background: rgba(16,18,44,.25); transition: background-color .2s; pointer-events: none; }
.spec-video:hover::after { background: rgba(16,18,44,.1); }
.spec-video.is-playing::after { display: none; }
.spec-video__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center; background: var(--secondary); transition: background-color .2s;
}
.spec-video:hover .spec-video__play { background: var(--gold-hover); }
.spec-video__play svg { width: 28px; height: 28px; margin-left: 5px; fill: #fff; }
.spec-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Stránka ukázkové lekce */
.spec-pas:has(+ .spec-lekce-video) { padding-bottom: 170px; }
.spec-lekce-video { position: relative; z-index: 1; margin-top: -110px; }
.spec-lekce-video .spec-video { margin: 0; box-shadow: 0 40px 80px -40px rgba(11,13,34,.6); }
.spec-lekce-video__pozn { margin: 18px 0 0; font-size: 15px; color: var(--primary-80); }
.spec-lekce-video__pozn a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--secondary); text-underline-offset: 4px; }
.spec-lekce-video__pozn a:hover { color: var(--gold-text); }
.spec-lekce { display: grid; grid-template-columns: 4fr 8fr; gap: 80px; align-items: start; }
.spec-lekce__hlava { position: sticky; top: 124px; }
.spec-lekce__text p, .spec-lekce__text blockquote { font-size: 18px; line-height: 1.85; color: var(--primary-80); }
.spec-lekce__text--prepis p:first-child { font-size: 21px; line-height: 1.7; color: var(--primary); }
.spec-lekce__text--prepis p:last-child { margin-bottom: 0; color: var(--primary); font-weight: 400; }

/* Hledání, 404, stránkování */
.spec-hledani { display: flex; gap: 12px; max-width: 560px; }
.spec-hledani input[type="search"] { flex: 1; min-width: 0; padding: 16px 18px; font: inherit; color: var(--primary); background: var(--tint); border: 1px solid transparent; border-radius: 0; }
.spec-hledani input[type="search"]:focus { outline: none; border-color: var(--secondary); background: #fff; }
.spec-prazdno { max-width: 640px; }
.spec-prazdno p { margin-bottom: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; background: var(--tint); text-decoration: none; }
.nav-links .current { background: var(--primary); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Profil: HTML vypisuje zkrácený kód [specialis_profil], sekce bez obsahu se nevypíší */
.spec-profil { padding-bottom: 110px; }
.spec-profil__hlava {
  display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: end;
  padding: 64px var(--edge); background: var(--primary); color: #fff;
}
.spec-profil__hlava:not(:has(.spec-profil__foto)) { grid-template-columns: 1fr; }
.spec-profil__foto { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.spec-profil__jmeno { font-size: 57px; }
.spec-profil__pozice { margin-top: 12px; font-size: 20px; color: var(--secondary); }
.spec-profil__praxe, .spec-profil__specializace { margin-top: 8px; color: rgba(255,255,255,.8); }
.spec-profil__text, .spec-profil > section { padding-inline: var(--edge); }
.spec-profil__text { padding-top: 64px; }
.spec-profil__text p { max-width: 860px; margin-bottom: 1.25em; font-size: 17px; line-height: 1.8; }
.spec-profil > section { padding-top: 48px; }
.spec-profil__nadpis { font-size: 30px; line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px; }
.spec-profil__seznam { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.spec-profil__seznam li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-profil__seznam a { font-weight: 400; text-decoration: underline; text-decoration-color: var(--secondary); text-underline-offset: 3px; }
.spec-profil__seznam a:hover { color: var(--gold-text); }
.spec-profil__kniha { font-style: normal; font-weight: 400; }
.spec-profil__vydani, .spec-profil__stitek { font-size: 14px; color: var(--primary-80); }
.spec-profil__stitek { min-width: 90px; }

/* WooCommerce a Elementor: jen základ, zbytek si nesou samy */
.spec-el-nadpis { padding-block: 56px 32px; }
.spec-woo { padding-block: 64px 110px; }

/* Odkaz na košík v hlavičce, jen když v košíku něco je */
.spec-kosik { display: none; position: relative; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; color: #fff; }
.spec-ma-kosik .spec-kosik--menu { display: flex; }
.spec-kosik svg { width: 24px; height: 24px; }
.spec-kosik:hover { color: var(--secondary); }
.spec-kosik__bod { position: absolute; top: 7px; right: 5px; width: 9px; height: 9px; background: var(--secondary); border: 1px solid var(--primary); }
.spec-nav .spec-kosik { margin: 0 -8px 0 -12px; }

/* Košík, pokladna, účet: WooCommerce má vlastní vzhled, tady se přebíjí */
.spec-obchod { padding-block: 72px 110px; }
.spec-obchod h2 { margin: 0 0 24px; font-size: 32px; letter-spacing: -.5px; }
.spec-obchod h3 { margin: 0 0 24px; font-size: 24px; font-weight: 400; letter-spacing: -.5px; line-height: 1.3; }
.spec-obchod a:not(.button) { text-decoration: underline; text-decoration-color: var(--secondary); text-underline-offset: 3px; }
.spec-obchod a:not(.button):hover { color: var(--gold-text); }

.woocommerce .spec-obchod a.button, .woocommerce .spec-obchod button.button, .spec-obchod .woocommerce a.button, .spec-obchod .woocommerce button.button {
  border-radius: 0; font-weight: 400; line-height: 1.3;
}
.spec-obchod .woocommerce a.button.alt, .spec-obchod .woocommerce button.button.alt, .spec-obchod .woocommerce a.checkout-button {
  display: block; width: 100%; padding: 18px 24px; background: var(--secondary); color: #fff; font-size: 16px; text-align: center;
}
.spec-obchod .woocommerce a.button.alt:hover, .spec-obchod .woocommerce button.button.alt:hover { background: var(--gold-hover); color: #fff; }

.spec-obchod .woocommerce-message, .spec-obchod .woocommerce-info, .spec-obchod .woocommerce-error {
  margin: 0 0 16px; padding: 18px 24px 18px 52px; background: var(--tint); border: 0; border-left: 2px solid var(--secondary); color: var(--primary); font-size: 15px; list-style: none;
}
.spec-obchod .woocommerce-error { border-left-color: #a12a2a; }
.spec-obchod .woocommerce-message::before, .spec-obchod .woocommerce-info::before { top: 18px; left: 22px; color: var(--secondary); }
.spec-obchod .woocommerce-error::before { top: 18px; left: 22px; color: #a12a2a; }
.spec-obchod .woocommerce-message .button { float: right; margin: -6px 0 -6px 16px; padding: 10px 18px; background: var(--primary); color: #fff; font-size: 14px; }

.spec-obchod .woocommerce table.shop_table { margin: 0 0 24px; border: 0; border-collapse: collapse; border-radius: 0; font-size: 16px; }
.spec-obchod .woocommerce table.shop_table th, .spec-obchod .woocommerce table.shop_table td { padding: 16px 0; border: 0; border-top: 1px solid var(--line); background: none; font-weight: 400; text-align: left; }
.spec-obchod .woocommerce table.shop_table thead th { border-top: 0; color: var(--primary-80); font-size: 14px; }
.spec-obchod .woocommerce table.shop_table strong { font-weight: 500; }
.spec-obchod .woocommerce input.input-text, .spec-obchod .woocommerce textarea, .spec-obchod .woocommerce select, .spec-obchod .woocommerce form .form-row select, .spec-obchod .woocommerce form .form-row input.input-text, .spec-obchod .woocommerce form .form-row textarea, .spec-obchod .select2-container--default .select2-selection--single {
  width: 100%; height: auto; min-height: 48px; padding: 12px 16px; background: var(--tint); border: 1px solid transparent; border-radius: 0; color: var(--primary); font: inherit; font-size: 15px;
}
.spec-obchod .woocommerce input.input-text:focus, .spec-obchod .woocommerce textarea:focus, .spec-obchod .woocommerce select:focus { outline: none; background: #fff; border-color: var(--secondary); }
.spec-obchod .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; color: var(--primary); line-height: 22px; }
.spec-obchod .select2-container--default .select2-selection--single .select2-selection__arrow { top: 11px; right: 10px; }
.spec-obchod .woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.spec-obchod .woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 14px; line-height: 1.4; }
.spec-obchod .woocommerce form .form-row label.checkbox, .spec-obchod .woocommerce form .form-row .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.spec-obchod .woocommerce form .form-row .required { color: var(--gold-text); text-decoration: none; }
.spec-obchod .woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #a12a2a; }
.spec-obchod .woocommerce form.login, .spec-obchod .woocommerce form.register, .spec-obchod .woocommerce form.checkout_coupon { margin: 0 0 24px; padding: 28px; background: var(--tint); border: 0; border-radius: 0; }
.spec-obchod .woocommerce form.login input.input-text, .spec-obchod .woocommerce form.checkout_coupon input.input-text { background: #fff; }

/* Košík */
.spec-obchod .woocommerce:has(.cart-collaterals) { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
.spec-obchod .woocommerce:has(.cart-collaterals) > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.spec-obchod .woocommerce-notices-wrapper:empty { display: none; }
.spec-obchod .woocommerce table.cart .product-remove { width: 36px; }
.spec-obchod .woocommerce table.shop_table_responsive tr:nth-child(2n) td { background: none; }
.spec-obchod .woocommerce table.cart a.remove { text-decoration: none; width: 24px; height: 24px; color: var(--gold-text) !important; font-weight: 300; line-height: 22px; border-radius: 0; }
.spec-obchod .woocommerce table.cart a.remove:hover { background: var(--primary); color: #fff !important; }
.spec-obchod .woocommerce table.cart .product-thumbnail { width: 112px; }
.spec-obchod .woocommerce table.cart img { display: block; width: 88px; height: 88px; object-fit: cover; }
.spec-obchod .woocommerce table.cart .product-name a { font-size: 17px; text-decoration: none; }
.spec-obchod .woocommerce table.cart .product-price, .spec-obchod .woocommerce table.cart .product-subtotal { text-align: right; white-space: nowrap; }
/* Kurz se kupuje po jednom kuse: bez množství nemá sloupec ani přepočet smysl. */
.spec-obchod table.cart:not(:has(.quantity input:not([type="hidden"]))) .product-quantity, .spec-obchod table.cart:not(:has(.quantity input:not([type="hidden"]))) .product-subtotal, .spec-obchod table.cart:not(:has(.quantity input:not([type="hidden"]))) button[name="update_cart"] { display: none; }
.spec-obchod .woocommerce button.button:disabled, .spec-obchod .woocommerce button.button:disabled[disabled] { padding: 12px 20px; background: var(--tint); color: var(--primary-80); font-size: 14px; opacity: 1; }
.spec-obchod .woocommerce table.cart td.actions { padding-top: 20px; }
.spec-obchod .woocommerce table.cart .coupon { display: flex; gap: 8px; float: none; max-width: 400px; }
.spec-obchod .woocommerce table.cart .coupon input.input-text { flex: 1; width: auto; min-width: 0; margin: 0; }
.spec-obchod .woocommerce table.cart .coupon .button { flex: none; padding: 12px 20px; background: var(--primary); color: #fff; font-size: 14px; }
.spec-obchod .woocommerce .cart-collaterals { width: 100%; padding: 36px; background: var(--tint); }
.spec-obchod .woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; }
.spec-obchod .woocommerce .cart_totals h2 { font-size: 24px; }
.spec-obchod .woocommerce .cart_totals table.shop_table { margin-bottom: 24px; }
.spec-obchod .woocommerce .cart_totals td { text-align: right; }
.spec-obchod .woocommerce .cart_totals .order-total td, .spec-obchod .woocommerce .cart_totals .order-total th { font-size: 20px; }
.spec-obchod .woocommerce .wc-proceed-to-checkout { padding: 0; }
.spec-obchod .woocommerce .wc-proceed-to-checkout a.checkout-button { margin: 0; }
.spec-obchod .cart-empty.woocommerce-info { max-width: 720px; }
.spec-obchod .return-to-shop .button { padding: 14px 24px; background: var(--primary); color: #fff; }

/* Pokladna */
.spec-obchod form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 460px; grid-template-rows: auto 1fr; column-gap: 64px; align-items: start; margin-top: 32px; }
.spec-obchod form.checkout #customer_details { grid-row: 1 / span 2; width: auto; }
.spec-obchod .woocommerce form.checkout .col2-set .col-1, .spec-obchod .woocommerce form.checkout .col2-set .col-2 { float: none; width: 100%; }
.spec-obchod form.checkout .col-2 { margin-top: 32px; }
.spec-obchod form.checkout #order_review_heading { grid-column: 2; }
.spec-obchod form.checkout #order_review { grid-column: 2; position: sticky; top: 108px; width: auto; padding: 32px; background: var(--tint); }
.spec-obchod form.checkout .woocommerce-account-fields { margin-top: 16px; }
.spec-obchod form.checkout #order_review table.shop_table { margin-bottom: 20px; }
.spec-obchod form.checkout #order_review td:last-child, .spec-obchod form.checkout #order_review th.product-total { text-align: right; white-space: nowrap; }
.spec-obchod form.checkout #order_review .order-total th, .spec-obchod form.checkout #order_review .order-total td { font-size: 20px; }
.spec-obchod form.checkout .product-quantity { font-weight: 400; }
.spec-obchod .woocommerce #payment { background: none; border-radius: 0; }
.spec-obchod .woocommerce #payment ul.payment_methods { margin: 0 0 20px; padding: 0; border: 0; }
.spec-obchod .woocommerce #payment ul.payment_methods li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; font-size: 16px; }
.spec-obchod .woocommerce #payment ul.payment_methods li label { margin: 0; }
.spec-obchod .woocommerce #payment div.payment_box { width: 100%; margin: 6px 0 0; padding: 12px 16px; background: #fff; border-radius: 0; color: var(--primary); font-size: 14px; }
.spec-obchod .woocommerce #payment div.payment_box::before { display: none; }
.spec-obchod .woocommerce #payment div.form-row { margin: 0; padding: 0; }
.spec-obchod .woocommerce-privacy-policy-text p { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: var(--primary-80); }
.spec-obchod .woocommerce-terms-and-conditions-wrapper { margin-bottom: 20px; }
.spec-obchod .woocommerce-terms-and-conditions { padding: 16px; background: #fff; border: 1px solid var(--line); font-size: 13px; }

/* Můj účet */
.spec-obchod .woocommerce > h2 { margin-bottom: 20px; }
.spec-obchod .woocommerce:has(> form.login) { max-width: 560px; }
.spec-obchod .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.spec-obchod .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.spec-obchod .woocommerce-account .woocommerce-MyAccount-navigation, .spec-obchod .woocommerce-MyAccount-navigation, .spec-obchod .woocommerce-MyAccount-content { float: none; width: auto; }
.spec-obchod .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.spec-obchod .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.spec-obchod .woocommerce-MyAccount-navigation a:not(.button) { display: block; padding: 14px 0 14px 14px; border-left: 2px solid transparent; font-size: 15px; text-decoration: none; }
.spec-obchod .woocommerce-MyAccount-navigation .is-active a:not(.button) { border-left-color: var(--secondary); font-weight: 500; }

/* Potvrzení objednávky */
.spec-obchod .woocommerce ul.order_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 24px 0 40px; padding: 24px; background: var(--tint); list-style: none; }
.spec-obchod .woocommerce ul.order_details li { float: none; margin: 0; padding: 0; border: 0; font-size: 13px; text-transform: none; }
.spec-obchod .woocommerce ul.order_details strong { margin-top: 4px; font-size: 16px; font-weight: 400; }
.spec-obchod .woocommerce-customer-details address { padding: 20px; border: 1px solid var(--line); border-radius: 0; font-style: normal; }
.woocommerce p, .elementor p { margin: 0 0 1em; }

/* ---------- Patička ---------- */
.spec-footer { background: var(--footer); color: rgba(255,255,255,.72); font-size: 15px; }
.spec-footer a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; text-decoration: none; transition: color .2s; }
.spec-footer a:hover { color: var(--secondary); }
.spec-footer ul { list-style: none; margin: 0; padding: 0; }
.spec-footer__top { display: grid; grid-template-columns: 4fr 9fr 3fr; gap: 40px; padding-block: 90px 70px; }
.spec-footer__logo { height: 38px; width: auto; max-width: none; filter: brightness(0) invert(1); }
.spec-footer__brand p { margin: 22px 0 26px; max-width: 280px; line-height: 1.6; }
.spec-footer__social.spec-footer__social { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-dark); }
.spec-footer__social:hover { border-color: var(--secondary); }
.spec-footer__social svg { width: 16px; height: 16px; color: var(--secondary); }
.spec-footer-menu { display: grid; grid-template-columns: 4fr 3fr 4fr; gap: 40px; }
.spec-footer-menu > li > a, .spec-footer-menu > li > span, .spec-footer__nadpis { display: block; min-height: 0; margin-bottom: 14px; font-size: 15px; font-weight: 500; line-height: 1.7; color: #fff; }
.spec-footer-menu li { line-height: 1.5; }
.spec-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.spec-footer__contact svg { width: 14px; height: 14px; color: var(--secondary); flex: none; margin-top: 11px; }
.spec-footer__contact span { padding: 7px 0; }
.spec-footer__offices { border-top: 1px solid rgba(255,255,255,.1); }
.spec-footer__offices .spec-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-block: 32px; }
.spec-footer__offices .spec-wrap > div { display: flex; gap: 14px; align-items: flex-start; }
.spec-footer__offices svg { width: 16px; height: 16px; color: var(--secondary); flex: none; margin-top: 4px; }
.spec-footer__offices p { line-height: 1.6; }
.spec-footer__offices strong { display: block; color: #fff; font-weight: 500; }
.spec-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.spec-footer__bottom .spec-wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; font-size: 13px; color: rgba(255,255,255,.55); }
.spec-footer__up svg { width: 10px; height: 10px; color: var(--secondary); transform: rotate(-45deg); }

/* ---------- Širší rozložení ---------- */
@media (min-width: 1025px) {
  .spec-h1-line { display: block; white-space: nowrap; }
}
@media (min-width: 1280px) {
  .spec-course > div:first-child { flex: 1; }
  .spec-course h2 { max-width: none; }
  .spec-course h2 .spec-line { display: block; white-space: nowrap; }
}
@media (max-width: 1180px) {
  .spec-menu > li > a { padding: 0 10px; font-size: 14px; }
  .spec-header__cta.spec-btn { padding: 12px 16px; font-size: 14px; }
  .spec-nav { gap: 14px; }
}

/* Úzký počítač: menu se ještě nesbalí, u účtu zůstane jen ikona, aby se vešlo tlačítko */
@media (min-width: 1025px) and (max-width: 1140px) {
  .spec-menu > li > a { padding: 0 6px; }
  .spec-menu > li > a[href*="/muj-ucet"] { gap: 0; font-size: 0; }
  .spec-spojeni { grid-template-columns: 1fr 1fr; }
  .spec-spojeni li:nth-child(3) { border-left: 0; }
  .spec-spojeni li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 30px; --masthead: 117px; }
  .spec-section { padding-block: 100px; }
  h1, .spec-h1, .spec-profil__jmeno { font-size: 40px; letter-spacing: -1.5px; }
  .spec-hero { min-height: 0; padding: 220px 0 80px; }
  .spec-pas { padding: 190px 0 64px; }
  .spec-pas:has(+ .spec-lekce-video) { padding-bottom: 150px; }
  .spec-lekce { grid-template-columns: 1fr; gap: 24px; }
  .spec-lekce__hlava { position: static; }
  .spec-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .spec-split, .spec-services, .spec-contact { grid-template-columns: 1fr; gap: 40px; }
  .spec-ma-kosik .spec-kosik--menu { display: none; }
  .spec-ma-kosik .spec-kosik--mobil { display: flex; margin-left: auto; margin-right: -24px; }
  .spec-obchod .woocommerce:has(.cart-collaterals) { grid-template-columns: 1fr; gap: 32px; }
  .spec-obchod form.checkout { grid-template-columns: 1fr; grid-template-rows: none; }
  .spec-obchod form.checkout #customer_details, .spec-obchod form.checkout #order_review_heading, .spec-obchod form.checkout #order_review { grid-column: 1; grid-row: auto; }
  .spec-obchod form.checkout #order_review_heading { margin-top: 32px; }
  .spec-obchod form.checkout #order_review { position: static; }
  .spec-obchod .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; gap: 32px; }
  .spec-spojeni { grid-template-columns: 1fr 1fr; }
  .spec-spojeni li:nth-child(3) { border-left: 0; }
  .spec-spojeni li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .spec-split { align-items: start; }
  .spec-split__side { justify-items: start; }
  .spec-services__side { display: contents; }
  .spec-services__head { order: 1; }
  .spec-cards { order: 2; }
  .spec-also { order: 3; }
  .spec-services__head h2 { margin-bottom: 0; }
  .spec-faq--uvod { display: block; padding-block: 100px; }
  .spec-faq--uvod details { margin-top: 12px; }
  .spec-faq__aside { margin-bottom: 40px; }
  .spec-course { flex-direction: column; align-items: flex-start; gap: 40px; }
  .spec-course__list { align-self: stretch; min-width: 0; }
  .spec-books, .spec-posts, .spec-li__grid { grid-template-columns: 1fr 1fr; }
  .spec-li__grid > :nth-child(3) { display: none; }
  .spec-team { grid-template-columns: repeat(3, 1fr); }
  .spec-related ul { grid-template-columns: 1fr 1fr; }
  .spec-profil__hlava { grid-template-columns: 220px 1fr; gap: 32px; }

  .spec-topbar__hours, .spec-topbar__mail { display: none !important; }
  .spec-header .spec-wrap { min-height: 72px; position: static; }
  .spec-logo img { height: 46px; }
  .spec-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
  .spec-burger-stav:focus-visible + .spec-burger { outline: 2px solid var(--secondary); outline-offset: 2px; }
  .spec-burger span, .spec-burger span::before, .spec-burger span::after { display: block; width: 24px; height: 1.5px; background: #fff; transition: transform .2s; }
  .spec-burger span { position: relative; }
  .spec-burger span::before, .spec-burger span::after { content: ""; position: absolute; left: 0; }
  .spec-burger span::before { top: -7px; }
  .spec-burger span::after { top: 7px; }
  .spec-burger-stav:checked + .spec-burger span { background: transparent; }
  .spec-burger-stav:checked + .spec-burger span::before { transform: translateY(7px) rotate(45deg); }
  .spec-burger-stav:checked + .spec-burger span::after { transform: translateY(-7px) rotate(-45deg); }
  .spec-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 24px;
    background: var(--primary); border-top: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .spec-burger-stav:checked ~ .spec-nav { display: flex; }
  .spec-menu { flex-direction: column; align-items: stretch; }
  .spec-menu > li > a { min-height: 52px; padding: 0 var(--gutter); font-size: 15px; box-shadow: none !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .spec-menu > .menu-item-has-children > a::after { display: none; }
  .spec-menu .sub-menu { display: block; position: static; min-width: 0; padding: 4px 0 8px; background: transparent; color: rgba(255,255,255,.85); border: 0; box-shadow: none; }
  .spec-menu .sub-menu a { padding: 0 var(--gutter) 0 calc(var(--gutter) + 16px); }
  .spec-menu .sub-menu a:hover { background: transparent; color: var(--secondary); }
  .spec-header__cta.spec-btn { margin: 20px var(--gutter) 0; padding: 18px 30px; font-size: 17px; justify-content: center; }
  .spec-footer__top { grid-template-columns: 1fr; padding-block: 64px 48px; }
}

/* ---------- Mobil ---------- */
@media (max-width: 782px) {
  .admin-bar .spec-masthead { top: 46px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  .spec-section { padding-block: 80px; }
  h1, .spec-h1, .spec-profil__jmeno { font-size: 30px; letter-spacing: -1px; }
  h2 { font-size: 30px; }
  .spec-eyebrow { font-size: 18px; gap: 14px; }
  .spec-eyebrow::before { width: 40px; }
  .spec-hero { min-height: 100vh; min-height: 100svh; padding: 180px 0 56px; }
  .spec-hero__foto { object-position: 72% center; }
  .spec-hero__lead { font-size: 16px; }
  .spec-hero__cta .spec-btn { flex: 1 1 100%; justify-content: center; }
  .spec-pas { padding: 160px 0 48px; }
  .spec-pas__lead { font-size: 16px; }
  .spec-obsah__text.clanek__obsah > p:first-child { padding-left: 16px; font-size: 17px; }
  .clanek__obsah h1 { font-size: 30px; }
  .spec-obsah__text .clanek__shrnuti { padding: 24px 20px; }
  .spec-obsah { padding-block: 48px 72px; }
  .spec-obsah__text p, .spec-obsah__text ul, .spec-obsah__text ol { font-size: 16px; }
  .spec-pas:has(+ .spec-wrap > .spec-spojeni) { padding-bottom: 80px; }
  .spec-pas:has(+ .spec-lekce-video) { padding-bottom: 110px; }
  .spec-lekce-video { margin-top: -70px; }
  .spec-lekce__text p, .spec-lekce__text blockquote { font-size: 16px; }
  .spec-lekce__text--prepis p:first-child { font-size: 18px; }
  .spec-obchod { padding-block: 48px 72px; }
  .spec-obchod .woocommerce .cart-collaterals { padding: 24px 20px; }
  .spec-obchod form.checkout #order_review { padding: 24px 20px; }
  .spec-obchod .woocommerce table.cart .product-thumbnail { display: none; }
  .spec-obchod .woocommerce table.shop_table_responsive tr td { padding: 10px 0; }
  .spec-obchod .woocommerce table.cart td.product-remove { border-top: 0; text-align: left !important; }
  .spec-obchod .woocommerce table.cart .coupon { max-width: none; }
  .spec-obchod .woocommerce-message .button { float: none; display: block; margin: 12px 0 0; text-align: center; }
  .woocommerce .spec-obchod form .form-row-first, .woocommerce .spec-obchod form .form-row-last, .spec-obchod .woocommerce form .form-row-first, .spec-obchod .woocommerce form .form-row-last { float: none; width: 100%; }
  .spec-spojeni { grid-template-columns: 1fr; margin-top: -32px; }
  .spec-spojeni li { display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; padding: 20px; border-left: 0; border-top: 1px solid var(--line); }
  .spec-spojeni li:first-child { border-top: 0; }
  .spec-spojeni svg { grid-row: span 2; margin: 0; }
  .spec-spojeni span { margin-bottom: 2px; }
  .spec-kancelare-sekce { padding-block: 72px 80px; }
  .spec-kancelare { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .spec-mapa, .spec-mapa-ram { aspect-ratio: 4 / 3; }
  .spec-kancelar__telo { padding: 28px 22px 32px; }
  .spec-kancelar h3 { font-size: 26px; }
  .spec-obsah__text .spec-pres { margin-block: 48px; padding-block: 56px; }
  .spec-obsah__text .spec-pres__veta { font-size: 24px; }
  .spec-obsah__text .spec-pres__nadpis { font-size: 18px; }
  .spec-obsah__text .spec-pres__kontakty { flex-direction: column; align-items: center; font-size: 17px; }
  .spec-obsah__text .spec-ikony { grid-template-columns: repeat(2, 1fr); }
  .spec-obsah__text .spec-postup > li { padding-left: 64px; }
  .spec-postup > li::before { font-size: 18px; line-height: 1.6; }
  .spec-postup > li::after { left: 36px; }
  .spec-postup h3::before { left: -32px; }
  .spec-kontakt { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .spec-kontakt__foto { width: 200px; }
  .spec-kontakt__radek .spec-kontakt__odkaz { font-size: 22px; }

  .spec-facts-section { padding-block: 40px; }
  .spec-facts { display: block; }
  .spec-facts div { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 16px; text-align: left; padding: 20px 0; border-top: 1px solid var(--line); }
  .spec-facts div:first-child { border-top: 0; }
  .spec-facts dd { order: 0; }
  .spec-facts dt { order: 1; }
  .spec-fact__num { font-size: 30px; }
  .spec-fact__label { font-size: 15px; margin-top: 0; }
  .spec-fact__label br { display: none; }

  .spec-card { padding: 30px 24px; }
  .spec-card h3 { font-size: 22px; letter-spacing: -.5px; }
  .spec-faq--uvod { padding-block: 80px; }
  .spec-faq summary { padding: 20px; font-size: 16px; }
  .spec-faq details > :not(summary), .spec-obsah__text .spec-faq details > :not(summary) { margin-inline: 20px; }
  .spec-course__list { padding: 6px 24px; }
  .spec-course__list li { font-size: 16px; padding: 16px 0; }
  .spec-books, .spec-posts, .spec-li__grid, .spec-related ul { grid-template-columns: 1fr; }
  .spec-li__grid > :nth-child(n+2) { display: none; }
  .spec-book__cover { aspect-ratio: auto; height: 200px; padding: 20px; }
  .spec-team { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .spec-team__card h2 { font-size: 16px; }
  .spec-form { padding: 28px 22px; }
  .spec-contact dl div { flex-direction: column; gap: 2px; }
  .spec-contact dd { text-align: left; }
  .spec-offices, .spec-footer__offices .spec-wrap { grid-template-columns: 1fr; gap: 20px; }
  .spec-video__play { width: 68px; height: 68px; }
  .spec-video__play svg { width: 22px; height: 22px; }
  .spec-profil__hlava { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
  .spec-profil__foto { max-width: 220px; }
  .spec-profil__text { padding-top: 40px; }

  .spec-topbar .spec-wrap { gap: 12px; }
  .spec-topbar__group { gap: 0 14px; }
  .spec-logo img { height: 40px; filter: none; }
  .spec-footer-menu { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .spec-footer-menu > li:last-child { grid-column: 1 / -1; }
  .spec-footer__bottom .spec-wrap { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding-block: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
