/* Taevaskoja – fixes from the 2026-10-19 QA report (sandbox tvk-qa-fixes.php holds the PHP side). */

/* breadcrumbs wrap instead of forcing horizontal scroll on phones (majutus pages, EN pages) */
body .breadcrumb { white-space: normal; overflow-wrap: anywhere; }

/* plain text pages (Fallback template code block): long headings may hyphenate on phones */
@media (max-width: 600px) {
  body .bde-code-block h1, body .bde-code-block h2 { overflow-wrap: anywhere; hyphens: auto; }
}

/* side menu toggle never wider than the page */
body .side-bar__toggle { max-width: 100%; box-sizing: border-box; }

/* footer: phone + e-mail are links now */
body .info-block__text a:not(.info-block__link) { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
body .info-block__text a:not(.info-block__link):hover { opacity: .8; }

/* privacy note above the form submit buttons (inserted by tvk-qa-fixes.php) */
body .form-privacy { margin: 0 0 1.25rem; font-size: .875rem; line-height: 1.45; color: var(--g-text); opacity: .85; }
body .form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }

/* contact form: invalid field */
body .field.is-invalid .input { border-color: #b3261e; }

/* home: stat values on one line on tablets (the "30" sat lower because its label is one line) */
@media (max-width: 1150px) and (min-width: 768px) {
  body .stats-section .stats-section__container { align-items: flex-start; }
}

/* home: visitor stories – the head kept its desktop padding + grid gap on tablet/mobile */
@media (max-width: 1150px) {
  body .testimonials-section .testimonials-section__head { padding-bottom: 0; }
  body .testimonials-section .testimonials-section__container { gap: 2.5rem; }
}
@media (max-width: 1023px) {
  body .testimonials-section .testimonials-section__container { padding-top: 5rem; padding-bottom: 5rem; }
}
