.hover {
    transition: transform 0.3s ease;
}

.hover:hover {
    transform: scale(1.1);
}

.wp-block-button__link {
  transition: transform 0.2s ease;
}

.wp-block-button__link:hover {
  transform: scale(1.1);
}

.wp-block-button__link {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.wp-block-button__link:hover {
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7); /* červené svícení */
}

.fluentform_wrapper {
    margin-top: 0 !important;
}

.mapa-mala iframe {
    height: 220px !important;
}

.mapa-mala {
    height: 220px !important;
}

@media (max-width: 1024px) {
  .hide-on-mobile {
    display: none !important;
  }
}

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 100px;
}

/* Forminator fix */
.forminator-ui input,
.forminator-ui textarea,
.forminator-ui select {
    background-color: #fff !important;
    color: #222 !important;
    border: 1px solid #ccc !important;
}

/* placeholder */
.forminator-ui input::placeholder,
.forminator-ui textarea::placeholder {
    color: #777 !important;
    opacity: 1;
}

/* labely */
.forminator-ui label {
    color: #222 !important;
}

/* tlačítko */
.forminator-ui .forminator-button {
    background: #e74c3c !important;
    color: #fff !important;
    border-radius: 6px;
}

/* Fluent Forms – oprava neviditelného textu */
.fluentform .ff-el-input--label label,
.fluentform .ff-el-form-control,
.fluentform .ff-el-form-control::placeholder,
.fluentform .ff_t_c,
.fluentform p,
.fluentform span,
.fluentform div {
    color: #222 !important;
    -webkit-text-fill-color: #222 !important;
    opacity: 1 !important;
}

/* inputy a textarea */
.fluentform input,
.fluentform textarea,
.fluentform select {
    color: #222 !important;
    background-color: #fff !important;
    border: 1px solid #dcdfe6 !important;
    -webkit-text-fill-color: #222 !important;
    opacity: 1 !important;
}

/* placeholder */
.fluentform input::placeholder,
.fluentform textarea::placeholder {
    color: #888 !important;
    -webkit-text-fill-color: #888 !important;
    opacity: 1 !important;
}

/* nadpis a popis formuláře */
.fluentform .ff-form-title,
.fluentform .ff-form-description,
.fluentform h3,
.fluentform h4 {
    color: #222 !important;
    -webkit-text-fill-color: #222 !important;
    opacity: 1 !important;
}

/* button */
.fluentform button,
.fluentform .ff-btn,
.fluentform .ff-btn-submit {
    opacity: 1 !important;
}

.ff-el-group {
    position: relative;
}

.ff-message-error {
    position: absolute;
    bottom: -18px;
    left: 0;
    font-size: 12px;
}

/* ===== ODKAZY – animované podtržení ===== */
a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #1e40af;
  transition: width 0.3s ease;
}

a:hover {
  color: #1e40af;
}

a:hover::after {
  width: 100%;
}


/* ===== TLAČÍTKA – výjimka ===== */
a.button,
a.wp-block-button__link,
.elementor-button {
  color: #ffffff !important;
}

a.button:hover,
a.wp-block-button__link:hover,
.elementor-button:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

a.button::after,
a.wp-block-button__link::after,
.elementor-button::after {
  display: none !important;
}

/* Skryje na desktopu */
@media (min-width: 769px) {
  .hide-on-pc {
    display: none !important;
  }
html {
  scroll-padding-top: 13px;
}

section[id],
div[id] {
  scroll-margin-top: 13px;
}