/* Archetix — design tokens measured on the WP/Astra site (Oct 2026). Keep 1:1 until the redesign. */
/* PT Sans self-hosted like on the WP site (no Google Fonts request, GDPR). */
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/pt-sans-v12-latin-ext_latin-regular.woff2) format("woff2"); }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/pt-sans-v12-latin-ext_latin-700.woff2) format("woff2"); }

:root {
  --font: "PT Sans", sans-serif;
  --text: #222;
  --text-muted: #555;
  --blue: #3485d6;
  --green: #49be55;
  --dark: #353535;
  --border: #ddd;
  --bg-soft: #f9f9f9;
  --bg-softer: #eee;
  --container: 1240px;
  --gutter: 20px;
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--font); color: var(--text); background: #fff; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus-visible { color: var(--green); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* Heading scale from the Astra settings on digitalniarchitekti.cz (the reference look). */
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; line-height: 1.3; font-weight: 700; color: var(--text); }
h1 { font-size: 40px; line-height: 1.4; }
h2 { font-size: 36px; }
h3 { font-size: 26px; }
h4 { font-size: 24px; line-height: 1.2; }
h5 { font-size: 20px; line-height: 1.2; }
h6 { font-size: 16px; line-height: 1.25; }
@media (max-width: 921px) {
  html { font-size: 91.2%; }
  h1 { font-size: 30px; } h2 { font-size: 25px; } h3 { font-size: 20px; }
}
p { margin: 0 0 1.6em; }
ul, ol { margin: 0 0 1.5em 3em; padding: 0; }
figure { margin: 0 0 1.6em; }
table { border-collapse: collapse; width: 100%; margin-bottom: 1.6em; }
th, td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 8px 16px; background: #fff; z-index: 100; }
.container { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-block; font-size: 16px; line-height: 1; padding: 10px 14px; border-radius: 2px; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn--white { background: #fff; color: var(--text); border-color: #fff; }
.btn--blue { background: var(--blue); color: #fff; padding: 10px 40px; border-radius: 3px; }
.btn--outline-green { background: #fff; color: var(--green); border-color: var(--green); padding: 10px 40px; border-radius: 3px; }
.btn:hover, .btn:focus-visible { background: var(--green); border-color: var(--green); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header-row { display: flex; justify-content: space-between; align-items: center; min-height: var(--header-h); }
/* Logo sizes as on the WP site (Astra: 150px, 120px up to 921px, 100px up to 544px). */
.site-logo { display: block; flex: 0 0 auto; margin-right: 24px; }
.site-logo img { display: block; width: 150px; height: auto; }
@media (max-width: 921px) { .site-logo img { width: 120px; } }
@media (max-width: 544px) { .site-logo img { width: 100px; } }
.site-nav { display: flex; align-items: center; }
.menu { display: flex; list-style: none; margin: 0; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li > a { display: block; line-height: var(--header-h); padding: 0 16px; color: var(--text); }
.menu > li.has-sub > a { padding-right: 4px; }
.menu a[aria-current="page"], .menu > li > a:hover, .menu > li > a:focus-visible { color: var(--green); }
.sub-toggle { background: none; border: 0; padding: 0 12px 0 2px; height: var(--header-h); color: var(--text); cursor: pointer; display: flex; align-items: center; }
.sub-menu { position: absolute; top: 100%; left: 0; width: 240px; margin: 0; list-style: none; background: #fff; border-top: 2px solid var(--blue); box-shadow: 0 4px 10px -2px rgba(0,0,0,.1); visibility: hidden; opacity: 0; transition: opacity .15s; z-index: 60; }
.sub-menu a { display: block; padding: 14px 16px; line-height: 1.45; color: var(--text); border-bottom: 1px solid #eaeaea; }
.sub-menu a:hover, .sub-menu a:focus-visible, .sub-menu a[aria-current="page"] { color: var(--green); }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .sub-toggle[aria-expanded="true"] + .sub-menu { visibility: visible; opacity: 1; }
.header-buttons { display: flex; align-items: center; gap: 18px; margin-left: 24px; }
.hbtn { font-size: 15px; line-height: 15px; padding: 12px 20px; border-radius: 3px; color: #fff; }
.hbtn--dark { background: var(--dark); }
.hbtn--green { background: var(--green); padding: 12px 40px; }
.hbtn:hover, .hbtn:focus-visible { color: #fff; filter: brightness(1.1); }
.lang-switch { display: flex; padding: 4px; }
.menu-toggle { display: none; }

@media (max-width: 1100px) {
  .header-row { justify-content: space-between; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--text); position: relative; transition: transform .2s; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .burger { background: transparent; }
  .menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; box-shadow: 0 8px 16px rgba(0,0,0,.1); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .menu { flex-direction: column; }
  .menu > li { flex-wrap: wrap; border-bottom: 1px solid #eaeaea; }
  .menu > li > a { flex: 1; line-height: 50px; padding: 0 20px; }
  .sub-toggle { height: 50px; padding: 0 20px; }
  .sub-menu { position: static; width: 100%; display: none; visibility: visible; opacity: 1; box-shadow: none; border-top: 0; }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: none; }
  .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
  .sub-menu a { padding-left: 36px; }
  .sub-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
  .header-buttons { margin: 0; padding: 16px 20px; flex-wrap: wrap; flex-direction: row-reverse; justify-content: space-between; } /* mobile menu: flag left, Contact right */
}

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: 0; }
/* Look of the footer on digitalniarchitekti.cz (Astra footer builder + child theme). */
.footer-above { background: url(/assets/img/bg_footer_top.png) 0 0 / cover; min-height: 208px; padding: 20px 0; display: flex; align-items: center; }
.footer-above__row { width: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.footer-above__text p { margin: 0 0 10px; }
.cta-title { font-size: 40px; font-weight: 700; line-height: 1.3; }
.footer-above__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.footer-cta { display: inline-block; background: var(--green); color: #fff; padding: 10px 40px; border-radius: 3px; line-height: 1.25; margin-right: 20px; }
.footer-cta:hover, .footer-cta:focus-visible { background: var(--green); color: #fff; filter: brightness(1.1); }
.footer-contact { color: var(--text); text-decoration: underline; padding: 0 5px; white-space: nowrap; }
.footer-contact:hover { color: var(--text); text-decoration: none; }
.footer-above__image { background: url(/assets/img/image-footer.svg) no-repeat center / contain; height: 170px; }
@media (max-width: 640px) {
  .footer-above__row { grid-template-columns: 1fr; text-align: center; }
  .cta-title { line-height: 44px; }
  .footer-above__links { flex-direction: column; }
  .footer-cta { margin: 0 0 10px; }
  .footer-above__image { height: 110px; }
}
.footer-primary { background: #fff; padding: 45px 0 90px; } /* bottom room for the overlapping wave */
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-grid h2 { font-size: 18px; font-weight: 400; line-height: 1.5; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; }
.footer-grid li { line-height: 1.65; padding-bottom: 10px; color: #777; }
.footer-grid li a, .footer-grid .plain li { font-size: 14px; color: #777; }
.footer-grid li a:hover, .footer-grid li a:focus-visible { color: var(--green); }
/* The bottom bar overlaps the white block like on the CZ site; texts sit in the blue part of the wave. */
.footer-below { position: relative; background: url(/assets/img/bg-footer-bottom.svg) 0 0 / cover; margin-top: -70px; padding: 20px 0 40px; min-height: 283px; display: flex; flex-direction: column; justify-content: flex-end; text-align: center; color: #3a3a3a; }
@media (max-width: 640px) { .footer-below { min-height: 200px; margin-top: -60px; padding-bottom: 30px; background-position: top right; } }
.footer-below p { margin: 0; }
.social { display: flex; justify-content: center; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.social a { display: inline-flex; padding: 4px; }
.social a:hover, .social a:focus-visible { opacity: .8; }
.social svg { display: block; width: 18px; height: 18px; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------------------------------------------------------------- homepage */
.home-hero { position: relative; display: flex; align-items: center; min-height: 382px; padding: 20px 0; overflow: hidden; color: #fff; }
.home-hero picture, .home-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.home-hero__inner { position: relative; width: 100%; }
.home-hero__text { max-width: 50%; }
.home-hero h1 { color: #fff; font-size: 46px; margin-bottom: 20px; }
.home-hero p { font-size: 20px; line-height: 1.32; margin-bottom: 32px; }
.home-services { padding: 40px 0 20px; background: #f6f8fa; }
.home-services h2, .home-clients h2, .home-team h2, .home-blog h2 { text-align: center; margin-bottom: 15px; }
.lead { font-size: 20px; color: var(--text-muted); text-align: center; margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; padding-bottom: 40px; }
.service img { margin: 0 auto 15px; display: block; }
.service h3 { font-size: 24px; font-weight: 400; margin-bottom: 10px; }
.service p { color: var(--text-muted); margin-bottom: 10px; }
.more { color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.more:hover { color: var(--blue); }
.home-clients { padding: 60px 0; }
.home-clients h2 { margin-bottom: 40px; }
.home-clients .partners-block { gap: 20px 40px; margin-bottom: 40px; }
.home-stack { background: url(/wp-content/uploads/2021/03/bg-stack-1.png) center/cover; padding: 50px 0 40px; color: #fff; text-align: center; }
.home-stack h2 { color: #fff; margin-bottom: 10px; }
.home-stack p { margin: 0; font-size: 20px; }
.home-team { padding: 60px 0 20px; }
.partner-row { list-style: none; margin: 0 0 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; align-items: center; }
.partner-row img { display: block; margin: 0 auto; max-height: 90px; width: auto; }
.home-blog { padding: 20px 0 60px; }
.home-blog h2 { font-size: 42px; margin-bottom: 40px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card__img img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; margin-bottom: 15px; }
.post-card h3 { font-size: 24px; font-weight: 400; margin-bottom: 10px; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--green); }
.post-card__date { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.post-card__excerpt { margin-bottom: 20px; }
@media (max-width: 921px) {
  .service-grid, .partner-row { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .home-hero__text { max-width: 100%; text-align: center; }
  .home-hero .btn-row { justify-content: center; }
}
@media (max-width: 767px) {
  .home-hero { min-height: 520px; align-items: flex-end; padding: 100px 0 50px; }
  .home-hero h1 { font-size: 34px; }
  .service-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- posts, pages, archives */
.container--content { padding-top: 64px; padding-bottom: 64px; }
.single-post .post-thumb img { display: block; max-width: 1024px; width: 100%; margin-bottom: 24px; }
.single-post .entry-title { font-size: 24px; font-weight: 400; line-height: 1.2; margin-bottom: 10px; }
.entry-meta { color: var(--blue); line-height: 1.45; margin-bottom: 32px; }
.archive-post .entry-meta { margin-bottom: 16px; font-size: 14px; }
.entry-content h2 { margin-bottom: 20px; }
.entry-content img { height: auto; }
.single-page .entry-title { font-size: 40px; text-align: center; }

.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 372px; padding-top: 64px; padding-bottom: 40px; }
.archive-main { padding-right: 60px; }
.archive-title { font-size: 40px; font-weight: 700; margin: 0 20px 40px; text-transform: none; }
.archive-post { padding: 20px; margin-bottom: 40px; } /* card look in the rounded cards section below */
.archive-post .entry-title { font-size: 24px; font-weight: 700; line-height: 1.23; margin-bottom: 5px; }
.archive-post .entry-title a { color: var(--text); }
.archive-post .entry-title a:hover { color: var(--green); }
.archive-post .excerpt { margin-bottom: 16px; }
.archive-post .read-more { margin: 0; }
.sidebar { border-left: 1px solid var(--border); padding-left: 60px; }
.sidebar section { margin-bottom: 40px; }
.sidebar h2 { font-size: 22px; font-weight: 400; margin-bottom: 22px; }
.sidebar ul { list-style: none; margin: 0; }
.sidebar li { line-height: 2; }
.search-form { position: relative; display: flex; margin-bottom: 40px; }
.search-form input { flex: 1; font: inherit; border: 1px solid var(--border); background: #fafafa; border-radius: 2px; padding: 12px 45px 12px 15px; }
.search-form button { position: absolute; right: 0; top: 0; bottom: 0; width: 45px; background: none; border: 0; cursor: pointer; color: var(--text); }
.search-form--wide button { position: static; width: auto; padding: 0 24px; margin-left: 8px; background: var(--blue); color: #fff; border-radius: 3px; font: inherit; }
.search-list { list-style: none; margin: 0; }
.search-list li { margin-bottom: 24px; }
.search-list p { margin: 4px 0 0; }
.pagination { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 20px; font-size: 17px; font-weight: 500; }
.pagination a, .pagination span { padding: 4px 8px; color: var(--text); }
.pagination [aria-current] { color: var(--blue); }
@media (max-width: 921px) {
  .archive-layout { grid-template-columns: 1fr; }
  .archive-main { padding-right: 0; }
  .sidebar { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 40px; }
}

/* ---------------------------------------------------------------- content blocks (pages) */
/* Pages are full-width stacks of .band sections; anything else is kept in the container. */
.blocks > :not(.band):not(.alignfull) { max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.band { position: relative; padding: 20px; background-size: cover; background-position: center; }
.band__inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; }
.overlay { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; }
.col > :not(.overlay) { position: relative; z-index: 1; }
.cols { position: relative; display: flex; gap: var(--gap, 10px); max-width: 1140px; margin: 0 auto; }
.cols > .col { position: relative; z-index: 1; flex: 1 1 var(--w, 0); max-width: var(--w, none); min-width: 0; padding: 10px; }
.cols--middle { align-items: center; }
.heading-block { margin-bottom: 15px; text-align: center; } /* Spectra default alignment */
.heading-block > :first-child { margin-bottom: 0; } /* spacing comes from the heading CSS of each block */
.heading-block__sep { border: 0; border-top: 2px solid var(--blue); width: 12%; margin: 0 auto 15px; }
.heading-block[style*="left"] .heading-block__sep { margin-left: 0; }
.lead { margin-bottom: 15px; }
.infobox { text-align: center; }
.infobox__img { margin-bottom: 15px; }
.infobox__img img { display: inline-block; height: auto; }
.infobox__img svg { width: 40px; height: 40px; fill: currentColor; }
.infobox h3, .infobox h4 { font-weight: 400; font-size: 24px; color: #222; margin-bottom: 10px; }
.infobox p { color: #555; margin-bottom: 10px; }
.infobox__link a { color: var(--green); }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; }
.person__photo { border-radius: 50%; height: auto; margin-bottom: 15px; }
.person h3 { margin-bottom: 5px; }
.person__role { margin-bottom: 10px; }
.person__social { display: flex; justify-content: center; gap: 12px; list-style: none; margin: 0 0 15px; padding: 0; }
.person__social svg { width: 16px; height: 16px; fill: currentColor; }
.checklist { list-style: none; margin: 0 0 1.5em; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.checklist svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 5px; fill: var(--green); }
.icon { text-align: center; }
.icon svg { width: var(--size, 40px); height: var(--size, 40px); fill: currentColor; }
/* Spectra FAQ: per-block look comes in as CSS variables from tools/simplify_pages.py. */
.faq details { background: var(--faq-bg, transparent); border: var(--faq-border-w, 1px) solid var(--faq-border-c, var(--border));
  border-radius: var(--faq-radius, 0); margin-bottom: 10px; color: var(--faq-color, inherit); }
.faq summary { padding: var(--faq-q-pad, 10px); line-height: normal; cursor: pointer; }
.faq__answer { padding: var(--faq-a-pad, 10px); }
.faq__answer > :last-child { margin-bottom: 0; }
.faq--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.faq--grid details { margin: 0; }
@media (max-width: 767px) { .faq--grid { grid-template-columns: 1fr; } }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.buttons--center { justify-content: center; }
.buttons .btn, .blocks a.btn { background: var(--blue); color: #fff; padding: 12px 30px; border-radius: 3px; }
.buttons .btn:hover, .blocks a.btn:hover { background: var(--green); color: #fff; }
.toc { border: 1px solid var(--border); padding: 20px 24px; margin-bottom: 1.5em; }
.toc__title { font-weight: 700; margin-bottom: 8px; }
.toc ol { margin: 0 0 0 1.2em; }
.notice { border-left: 4px solid var(--blue); background: #f5f9fd; padding: 16px 20px; margin-bottom: 1.5em; }
.notice > :last-child { margin-bottom: 0; }
.image img { height: auto; }
.image--center { text-align: center; }
/* Spectra breakpoints: mobile up to 767px, tablet up to 1024px */
@media (min-width: 768px) and (max-width: 1024px) { .hide-tablet { display: none !important; } }
@media (min-width: 1025px) { .hide-desktop { display: none !important; } }
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .cols { flex-direction: column; }
  .cols > .col { max-width: none; flex-basis: auto; }
}

/* WordPress core blocks left in the content */
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-white-color, .has-ast-global-color-5-color { color: #fff !important; }
.has-ast-global-color-0-color { color: #0170b9 !important; }
.has-ast-global-color-3-color { color: #4b4f58 !important; }
.has-ast-global-color-4-color { color: #f5f5f5 !important; }
.has-medium-font-size { font-size: 20px; }
.has-large-font-size { font-size: 28px; }
.has-huge-font-size { font-size: 42px; }
.wp-block-spacer { clear: both; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button__link { display: inline-block; background: var(--blue); color: #fff; padding: 10px 40px; border-radius: 3px; line-height: 1; }
.wp-block-button__link:hover { background: var(--green); color: #fff; }
.wp-block-columns { display: flex; gap: 2em; flex-wrap: wrap; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-image img { height: auto; }
.entry-content { overflow-wrap: break-word; }
.wp-block-table { overflow-x: auto; }
.wp-block-image.aligncenter, .aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .wp-block-columns { flex-direction: column; } }

/* ---------------------------------------------------------------- forms */
/* Matches the original CF7 styling: single column, 10px radius, Astra blue submit. */
.lead-form { max-width: 560px; margin: 0 auto 2em; text-align: left; color: inherit; }
.lead-form .fields { display: grid; grid-template-columns: 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field--wide { grid-column: 1 / -1; }
.field--consent { flex-direction: row; align-items: center; gap: 8px; margin: 16px 0; }
/* Field look: Spectra CF7 styler values arrive as --f-* / --s-* variables on .form-box. */
.lead-form input:not([type="checkbox"]):not([type="submit"]), .lead-form select, .lead-form textarea { font-family: inherit; width: 100%;
  font-size: var(--f-fs, 16px); line-height: 30px; padding: var(--f-pad, 5px 10px); color: var(--f-color, #333); background: var(--f-bg, #fafafa);
  border: var(--f-bw, 1px) solid var(--f-bc, #fff); border-radius: var(--f-radius, 10px); }
.lead-form select { line-height: normal; }
.lead-form input:user-invalid, .lead-form select:user-invalid { border-color: #d93025; background: #fce8e6; }
.field-error { display: none; color: #fff; background: #d93025; padding: 2px 8px; border-radius: 4px; font-size: 14px; margin: 0; }
.lead-form input:user-invalid ~ .field-error { display: block; }
.lead-form .btn { background: #0170b9; color: #f5f5f5; padding: 10px 25px; border-radius: 10px; border: 0; }
.lead-form[aria-busy="true"] .btn { opacity: .6; cursor: progress; }
.form-error { color: #fff; background: #d93025; padding: 8px 12px; border-radius: 6px; margin: 12px 0 0; }
/* Contact Form 7 response box: hidden while empty, colour by the form state class (set in main.js). */
.wpcf7-response-output { border: 2px solid #00a0d2; padding: .2em 1em; margin: 2em .5em 1em; }
.wpcf7-response-output:empty { display: none; }
.lead-form.sent .wpcf7-response-output { border-color: #46b450; }
.lead-form.failed .wpcf7-response-output { border-color: #dc3232; }
.lead-form.invalid .wpcf7-response-output { border-color: #ffb900; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.not-found { text-align: center; min-height: 40vh; }

/* Back-to-top button: green square like Astra's #ast-scroll-top on digitalniarchitekti.cz. */
.scroll-top { position: fixed; right: 30px; bottom: 30px; z-index: 99; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 2px; background: var(--green); color: #fff; }
.scroll-top[hidden] { display: none; }
.scroll-top:hover, .scroll-top:focus-visible { color: #fff; filter: brightness(1.1); }
@media (max-width: 767px) { .scroll-top { right: 16px; bottom: 16px; } }

/* ---------------------------------------------------------------- rounded cards
   From the WP child theme (as on digitalniarchitekti.cz). The archetix markup kept the classes,
   the CSS got lost in the WP update. */
.info-box-white, .info-box-white_2, .post-card, .archive-post {
  background: #fff; border: 1px solid #e6ebf0; border-radius: 10px; box-shadow: 0 10px 30px #9993;
  padding: 20px; transition: transform 300ms ease-in-out;
}
.info-box-white:hover, .info-box-white_2:hover, .post-card:hover { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .info-box-white, .info-box-white_2, .post-card { transition: none; } }
.post-card { overflow: hidden; }
.post-card__img img { width: calc(100% + 40px); max-width: none; margin: -20px -20px 15px; }

/* ---------------------------------------------------------------- ACF blocks (restored from the Wayback Machine)
   Styles from the WP child theme as it still runs on digitalniarchitekti.cz. */
.partners-block { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.partners-block img { max-width: 160px; }
.product-block { display: block; background: #fff; box-shadow: 0 10px 30px #9993; border: 1px solid #e6ebf0; border-radius: 10px; transition: all 300ms ease-in-out; padding: 20px; text-align: left; }
.product-block:hover { transform: scale(1.02); }
.product-block .title { font-weight: 400; }
.product-block .link { color: var(--green); padding: 6px 0; text-decoration: underline; font-weight: 700; }
.product-block:hover .link { text-decoration: none; }
.product-block .content-wrap { border-top: 1px solid #ebebeb; padding-top: 15px; color: #555; line-height: 27px; }
.produktlist-item { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 770px; height: 50px; line-height: 50px; margin: 0 auto 20px; padding: 0 40px; background: #f1f8ff; border: 1px solid #e1f0ff; border-radius: 10px; }
.produktlist-item h3 { font-size: 20px; line-height: 50px; margin: 0; }
.produktlist-item a { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.produktlist-item .button-secondary { display: block; height: 30px; padding: 5px 12px; line-height: 21px; background: var(--blue); color: #fff; border-radius: 4px; }
.produktlist-item .button-secondary:hover { background: var(--green); }
.devstack-block { position: relative; min-height: 340px; }
.devstack-block img { width: 40px; max-width: 40px; max-height: 40px; height: auto; }
.devstack-item { position: absolute; display: flex; justify-content: center; align-items: center; width: 63px; height: 60px; padding: 8px; background: #fff; border-radius: 15px; transition: all 300ms ease-in-out; }
a.devstack-item:hover { transform: scale(1.05); box-shadow: 0 0 30px #6eb3fd; }
.marketingmeter-block { position: relative; width: 100%; min-height: 200px; margin: 100px 0 20px; /* room for the illustration sticking out */ padding: 20px; color: #fff; background: linear-gradient(345deg, #021b79 0%, #0575e6 100%); border-radius: 8px; }
.marketingmeter-block .title { font-size: 42px; line-height: 42px; font-weight: 700; margin: 15px 0 5px; color: #fff; }
.marketingmeter-block .subtitle { font-size: 20px; color: #fff; }
.marketingmeter--image { position: absolute; bottom: 0; right: 25px; width: min(40%, 300px); height: auto; } /* CZ articles are ~750px wide, so 40% stays near 300px */
.marketingmeter-block a.btn.btn-white { display: block; width: max-content; min-width: 158px; height: 44px; margin-top: 10px; padding: 0 20px; line-height: 44px; text-align: center; white-space: nowrap; background: #fff; color: var(--blue); border-radius: 6px; } /* English label is longer than the Czech one */
.marketingmeter--image img { display: block; width: 100%; height: auto; }
.marketingmeter-block a.btn.btn-white:hover { background: var(--green); color: #fff; }
@media (max-width: 640px) {
  .produktlist-item { height: auto; flex-direction: column; text-align: center; padding-top: 5px; padding-bottom: 5px; }
  .produktlist-item h3 { font-size: 18px; line-height: 25px; }
  .devstack-block { display: flex; justify-content: space-evenly; align-items: center; flex-wrap: wrap; }
  .devstack-item { position: relative; left: auto !important; bottom: auto !important; }
  .devstack-block, .partners-block { padding-left: 10px; padding-right: 10px; }
  .marketingmeter-block { display: flex; flex-direction: column-reverse; text-align: center; margin-top: 45px; }
  .marketingmeter--image { position: relative; right: auto; width: 80%; margin: -55px auto 0; }
  .marketingmeter-block a.btn.btn-white { margin: 15px auto; }
}

/* ---------------------------------------------------------------- digitalniarchitekti.cz additions */
.footer-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 921px) { .footer-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .footer-grid--4 { grid-template-columns: 1fr; } }
.post-grid { grid-template-columns: repeat(var(--cols, 3), 1fr); }
.post-card__date { font-size: 14px; color: #777; margin-bottom: 8px; }
.post-navigation { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0; padding-top: 20px; border-top: 1px solid #eee; }

/* Contact Form 7 markup as on the WP site: two columns (#left/#right), labels above fields. */
.lead-form { max-width: none; }
.lead-form .clearfix { display: grid; grid-template-columns: 47% 47%; gap: 0 6%; } /* #left/#right as on the WP site */
@media (max-width: 767px) { .lead-form .clearfix { grid-template-columns: 1fr; } }
.lead-form label { display: block; }
.lead-form .wpcf7-form-control-wrap { display: block; } /* spacing comes from the <br>s in the CF7 markup */
.lead-form .wpcf7-list-item label { display: inline; }
.lead-form input[type="checkbox"] { width: auto; margin-right: 6px; }
.lead-form .wpcf7-submit { font-family: inherit; font-size: var(--s-fs, 16px); font-weight: var(--s-fw, 400); line-height: 1; width: auto; background: var(--s-bg, #0170b9); color: var(--s-color, #f5f5f5);
  padding: var(--s-pad, 10px 25px); border-radius: var(--s-radius, 10px); border: var(--s-bw, 0) solid var(--s-bc, transparent); cursor: pointer; margin-top: 12px; }
.lead-form .wpcf7-submit:hover, .lead-form .wpcf7-submit:focus-visible { background: var(--s-hbg, var(--green)); color: var(--s-hcolor, var(--s-color, #f5f5f5)); }
.lead-form[aria-busy="true"] .wpcf7-submit { opacity: .6; cursor: progress; }

/* Spectra blocks used in posts */
.btn--marketing { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 32px; border-radius: 10px;
  background: linear-gradient(0deg, #06558a 0%, #0063a1 100%); color: #fff; text-align: center; }
.btn--marketing span { font-size: 20px; font-weight: 700; }
.btn--marketing small { font-size: 14px; line-height: 2; }
.btn--marketing:hover, .btn--marketing:focus-visible { color: #fff; filter: brightness(1.15); }
hr.sep { border: 0; border-top: 3px solid #0170b9; width: 12%; margin: 30px auto; }
.cta-box { background: #f5f5f5; border-radius: 10px; padding: 30px; margin: 30px 0; text-align: center; }
.quote { border-left: 4px solid #0170b9; margin: 30px 0; padding: 10px 0 10px 24px; font-size: 1.1em; }
.quote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: #777; }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* Measured against the WP mirror at 1280 px (5. 10. 2026): header 93 px, post column 760 px, post title 40 px. */
:root { --header-h: 93px; }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.single-post .entry-title { font-size: 40px; font-weight: 400; line-height: 1.4; }
@media (max-width: 921px) { .single-post .entry-title { font-size: 30px; } }
.form-box h1, .form-box h2, .form-box h3, .form-box p { color: inherit; }
/* Astra sets line-height in em on body, so children inherit the 26.4 px value, not the factor. */
body { line-height: 1.65em; }
.heading-block > h1, .heading-block > h2, .heading-block > h3, .heading-block > h4 { margin-bottom: 0; }
.image { margin: 0; }
.image img { display: block; margin: 0 auto; }
.image:not(.image--center) img { margin: 0; }

/* Core WP blocks kept in content: gallery (columns-default = 3, or fewer images per row) and responsive embeds. */
.wp-block-gallery.has-nested-images { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 1.6em; }
.wp-block-gallery.has-nested-images > figure { flex: 0 0 calc(33.333% - 32px / 3); margin: 0; position: relative; }
.wp-block-gallery.has-nested-images > figure:first-child:nth-last-child(2),
.wp-block-gallery.has-nested-images > figure:first-child:nth-last-child(2) ~ figure { flex-basis: calc(50% - 8px); }
.wp-block-gallery.has-nested-images > figure:only-child { flex-basis: 100%; }
.wp-block-gallery.has-nested-images.is-cropped > figure img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.wp-block-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; color: #fff; font-size: 13px; text-align: center; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); }
@media (max-width: 600px) { .wp-block-gallery.has-nested-images > figure { flex-basis: calc(50% - 8px); } }
.wp-block-embed.wp-has-aspect-ratio iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
.wp-block-embed { margin: 0 0 1.6em; }

/* Astra author box and related posts under a post. */
.author-box { display: flex; gap: 1.33em; padding-top: 2em; margin-top: 2em; }
.author-box__avatar { flex: 0 0 100px; width: 100px; height: 100px; margin-top: 20px; border-radius: 0; }
.author-box__name { color: #3485d6; margin: 0 0 .5em; }
.author-box p { margin: 0; }
.related-posts { border-top: 1px solid #eee; margin-top: 20px; }
.related-posts__title { font-size: 30px; line-height: 1.6em; margin: 20px 0; text-align: left; }
.related-posts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
@media (max-width: 767px) { .related-posts__grid { grid-template-columns: 1fr; } }
.related-post__img img { display: block; width: 100%; height: auto; }
.related-post h3 { font-size: 20px; line-height: 1em; font-weight: 700; margin: 1em 0 0; }
.related-post h3 a { color: var(--text); }
.related-post .entry-meta, .related-post .entry-meta * { font-size: 14px; line-height: 1.6em; }
.related-post .entry-meta { margin: .5em 0 1em; }

/* ACF "kariera-block" (link rows, e.g. Onboarding proces) from the astra-child theme. */
.kariera-block { margin-bottom: 50px; }
.kariera-block .item { background: #f1f8ff; height: 80px; max-width: 770px; width: 100%; display: flex; justify-content: space-between; align-items: center;
  margin: 0 auto 20px; box-shadow: 0 10px 30px #9993; border-radius: 10px; padding: 0 40px; color: #222; }
.kariera-block .item .icon svg { width: 47px; height: auto; }
.kariera-block .item .nazev { font-size: 20px; font-weight: 700; line-height: 80px; color: #222; }
.kariera-block .button-secondary { padding: 5px 12px; background: #3485d6; color: #fff; border-radius: 4px; }
.kariera-block .item:hover .button-secondary { background: #49be55; }
@media (max-width: 640px) {
  .kariera-block .item { flex-direction: column; height: auto; padding-top: 15px; padding-bottom: 15px; }
  .kariera-block .item .nazev { line-height: 28px; padding-bottom: 10px; }
}

/* astra-child: white info boxes keep equal text blocks (title 67 px, description 150 px at 25 px lines). */
.info-box-white .infobox__desc { line-height: 25px; min-height: 150px; }
.info-box-white > h2, .info-box-white > h3, .info-box-white > h4, .info-box-white > h5 { min-height: 67px; }
@media (max-width: 767px) { .info-box-white > h2, .info-box-white > h3, .info-box-white > h4, .info-box-white > h5 { min-height: 70px; } }

/* WP "Additional CSS" (wp-custom-css) rules that apply to the CF7 markup. */
.lead-form textarea { height: 70px; margin-top: 30px; line-height: 1.65em; }
@media (max-width: 767px) { .lead-form textarea { margin-top: 70px; } .lead-form .clearfix { grid-template-columns: 1fr; } }
.lead-form [hidden] { display: none !important; }

/* Mobile values measured on the WP mirror at 375 px: 70 px header, sections without side padding (Spectra mobile CSS). */
@media (max-width: 921px) { :root { --header-h: 70px; } }
@media (max-width: 767px) { .band__inner { padding-left: 15px; padding-right: 15px; } } /* Spectra section inner wrap on mobile */
@media (max-width: 767px) { .blocks .band { padding-left: 0 !important; padding-right: 0 !important; } } /* Spectra sections on mobile; per-block overrides (.blocks .r-*) come later in the page */

/* WP Additional CSS of the live site: classes from the blocks' "Additional CSS class" field
   (kept by tools/simplify_pages.py, CUSTOM_CLASSES). */
.ga4 { box-shadow: 0 0 20px 2px #88888863; }
.flourish_column { box-shadow: 5px 10px 10px #d4d4d4; border-radius: 10px; }
.prices { box-shadow: 0 0 20px #dbdbdb; }
.prices:hover { box-shadow: 0 0 10px #dbdbdb; }
.products_hp { box-shadow: 0 0 10px #d1d1d1; transition: transform .5s, box-shadow .5s; }
.products_hp:hover { box-shadow: 0 0 20px #d1d1d1; transform: scale(1.02); }
.et_ekosystem_image { overflow: hidden; }
.et_ekosystem_image img { transition: transform .8s ease-in-out; }
.et_ekosystem_image:hover img { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) { .products_hp, .et_ekosystem_image img { transition: none; } }
.wpcf7-not-valid-tip { color: #f35f5f; }
