/* Aldente: valmisteltu 22.11.2026. Julkaisu edellyttää hyväksyntää. */
#nav-button {
  appearance: none; border: 0; padding: 0; background-color: transparent;
  width: 44px; height: 44px; flex: 0 0 44px;
  background-size: 35px 35px; background-position: center;
}
.visible-nav #nav-button { width: 44px; height: 44px; background-size: 35px 35px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #32291e; outline-offset: 4px; box-shadow: 0 0 0 6px #fff;
}
/* Vaaleille bränditaustoille tumma teksti, tummalle ruskealle valkoinen. */
html body .button, html body .button.color-2, html body .button.color-3,
html body .text-box.color-1 .button, html body .text-box.color-2 .button,
html body .text-box.color-3 .button, html body .text-box .buttons a.index-2,
html body .section.color-1 .button, html body .section.color-2 .button { color: #32291e; }
html body .button.color-4, html body .button.color-5,
html body .text-box.color-4 .button, html body .text-box.color-5 .button,
html body .wpcf7-submit { color: #fff; }
html body .text-box .buttons a.index-2 { color: #32291e; }
html body #counters .counter-count, html body #counters .counter-label,
html body .section.color-1 h2,
html body .text-box.color-2, html body .text-box.color-3, html body .text-box.color-5,
html body .text-box.color-2 h2, html body .text-box.color-3 h2, html body .text-box.color-5 h2,
html body .text-box.color-2 p, html body .text-box.color-3 p, html body .text-box.color-5 p { color: #32291e; }
.wpcf7-form input, .wpcf7-form textarea { font-size: 16px; }
.wpcf7-form .aldente-form-help { font-size: 1rem; line-height: 1.5; }
.aldente-form-error { color: #8a1919; font-weight: 600; }
@media (max-width: 359px) {
  #front-page-carousel .slide-content h2 {
    font-size: 1.8rem; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto;
  }
  [data-trustmary-widget="AANTimEB7"] .tm-testimonial-item-card {
    width: calc(100vw - 30px) !important; max-width: calc(100vw - 30px) !important;
    margin-left: auto !important; margin-right: auto !important;
  }
  [data-trustmary-widget="AANTimEB7"] .tm-testimonial-item-comment {
    padding-left: 20px !important; padding-right: 20px !important;
  }
  [data-trustmary-widget="AANTimEB7"] .tm-testimonial-item-person {
    padding-left: 15px !important; padding-right: 15px !important;
  }
  [data-trustmary-widget="AANTimEB7"] .tm-testimonial-item-person-info {
    min-width: 0 !important; overflow-wrap: anywhere;
  }
  [data-trustmary-widget="AANTimEB7"] .tm-testimonial-item-person-info a {
    white-space: normal !important; max-width: 100%;
  }
}
