/* Landing page blocks — shared styles */

/* Landing titles — black by default; editor can color via WYSIWYG inline styles */
.section--hero.landing-block .inner > h1,
.section--hero.landing-block .inner > h1 strong {
  color: #000;
}
.section--gallery.landing-block .section__header h2,
.section--gallery.landing-block .section__header h2 strong {
  color: #000;
}
.services.landing-block .services__title,
.services.landing-block .services__title strong {
  color: #000;
}
.service-detail__hero.landing-block .service-detail__title,
.service-detail__hero.landing-block .service-detail__title strong {
  color: #000;
}
section.gt-block.formular.landing-block .formular__title,
section.gt-block.formular.landing-block .formular__title strong {
  color: #000;
}

/* Gallery — fix wide logos overflowing into neighbouring slides */
.section--gallery.landing-block .slick-slide {
  overflow: hidden;
}
.section--gallery.landing-block .gallery-item {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.section--gallery.landing-block .gallery-item img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
}
.section--gallery.landing-block {
  padding-bottom: 8rem;
}
.section--gallery.landing-block .section__header {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

section.gt-block.services.landing-block {
  padding-top: 8rem;
}

/* Content + image */
.service-detail__hero.landing-block {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
.service-detail__hero.landing-block .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.service-detail__hero.landing-block .service-detail__title {
  margin-bottom: 2.4rem;
}
.service-detail__hero.landing-block .service-detail__image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 0.9rem;
  display: block;
}

@media (max-width: 767px) {
  .service-detail__hero.landing-block {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .service-detail__hero.landing-block .container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .service-detail__hero.landing-block .col.right {
    order: -1;
  }
  .service-detail__hero.landing-block .service-detail__image {
    height: 480px;
  }
}

@media (max-width: 567px) {
  .service-detail__hero.landing-block .service-detail__image {
    height: 360px;
  }
}

/* Mailchimp form */
section.gt-block.formular.landing-block {
  padding-top: calc(8 * var(--zakladniSpacingREM, 0.8rem));
  padding-bottom: calc(10 * var(--zakladniSpacingREM, 0.8rem));
}
section.gt-block.formular.landing-block .wrapper {
  padding-top: 0;
  padding-bottom: 0;
}
section.gt-block.formular .container {
  display: flex;
  justify-content: center;
}
section.gt-block.formular .formular__inner {
  width: 100%;
  max-width: 88rem;
}
section.gt-block.formular .formular__card {
  background: #fff;
  border: 1px solid #E8E4E4;
  border-radius: 1.2rem;
  box-shadow: 0 0.4rem 2.4rem rgba(0, 0, 0, 0.06);
  padding: 4.8rem 5.6rem 5.6rem;
}
@media (max-width: 767px) {
  section.gt-block.formular .formular__card {
    padding: 3.2rem 2.4rem 4rem;
  }
}
section.gt-block.formular #mc_embed_signup,
section.gt-block.formular #mc-embedded-subscribe-form,
section.gt-block.formular form.validate,
section.gt-block.formular #mc_embed_signup_scroll {
  background: transparent;
  font: inherit;
  width: 100%;
  clear: none;
}
section.gt-block.formular .formular__header {
  text-align: center;
  margin-bottom: 4rem;
}
section.gt-block.formular .formular__title {
  margin: 0 0 1.6rem;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.25;
  font-weight: bold;
  color: #000;
}
section.gt-block.formular .formular__title-highlight {
  color: var(--sekundarniBarva, #d7420d);
}
section.gt-block.formular .formular__subtitle {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.5;
  color: #333;
}
section.gt-block.formular form .formular__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 2rem;
  margin-bottom: 2.4rem;
}
@media (max-width: 767px) {
  section.gt-block.formular form .formular__fields {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
section.gt-block.formular form .mc-field-group {
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
}
section.gt-block.formular form .mc-field-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
  font-weight: bold;
  color: #000;
}
section.gt-block.formular form .mc-field-group input[type="text"],
section.gt-block.formular form .mc-field-group input[type="email"] {
  width: 100%;
  height: 5.2rem;
  padding: 0 1.6rem;
  border: 1px solid #D3D0D0;
  border-radius: 0.6rem;
  color: #000;
  font-size: 1.6rem;
  font-weight: normal;
  background: #fff;
  transition: border-color 0.3s ease;
}
section.gt-block.formular form .mc-field-group input[type="text"]::placeholder,
section.gt-block.formular form .mc-field-group input[type="email"]::placeholder {
  color: #B0ADAD;
  opacity: 1;
}
section.gt-block.formular form .mc-field-group input[type="text"]:hover,
section.gt-block.formular form .mc-field-group input[type="text"]:focus,
section.gt-block.formular form .mc-field-group input[type="email"]:hover,
section.gt-block.formular form .mc-field-group input[type="email"]:focus {
  border-color: var(--sekundarniBarva, #d7420d);
  outline: none;
}
section.gt-block.formular form .mc-field-group input.mce_inline_error {
  border-color: #c0392b;
}
section.gt-block.formular form .formular__gdpr {
  margin: 0 0 3.2rem;
}
section.gt-block.formular form .formular__gdpr-label {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.2rem;
  align-items: start;
  margin: 0;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.5;
  color: #333;
}
section.gt-block.formular form .formular__gdpr input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 1.6rem;
  height: 1.6rem;
  margin: 0;
  padding: 0;
  accent-color: var(--sekundarniBarva, #d7420d);
  cursor: pointer;
}
section.gt-block.formular form .formular__gdpr.is-invalid input[type="checkbox"] {
  outline: 1px solid #c0392b;
  outline-offset: 2px;
}
section.gt-block.formular form .formular__gdpr-text {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
section.gt-block.formular form .formular__gdpr-text a {
  color: var(--sekundarniBarva, #d7420d);
  text-decoration: underline;
}
section.gt-block.formular form .formular__gdpr-text a:hover {
  text-decoration: none;
}
section.gt-block.formular form .formular__gdpr-error.mce_inline_error {
  grid-column: 2;
  grid-row: 2;
  margin: 0.6rem 0 0;
  justify-self: start;
}
section.gt-block.formular form .formular__gdpr-error[hidden] {
  display: none !important;
}
section.gt-block.formular form #mce-responses {
  margin-bottom: 2rem;
  overflow: visible;
  height: auto;
}
section.gt-block.formular form #mce-responses .response {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
}
section.gt-block.formular form #mce-responses #mce-error-response {
  color: #c0392b;
}
section.gt-block.formular form #mce-responses #mce-success-response {
  display: none !important;
}
section.gt-block.formular form .mce_inline_error {
  display: block;
  margin: 0.6rem 0 0;
  padding: 0;
  background: transparent !important;
  color: #c0392b !important;
  font-size: 1.3rem;
  font-weight: bold;
}
section.gt-block.formular form .formular__submit {
  text-align: center;
  padding-top: 0;
  overflow: visible;
}
section.gt-block.formular form .formular__submit input.button,
section.gt-block.formular form .formular__submit #mc-embedded-subscribe,
section.gt-block.formular form .formular__submit input[type="submit"] {
  display: block;
  width: 100%;
  margin: 0;
  cursor: pointer;
  text-transform: none;
  text-align: center;
  height: auto;
  line-height: 1.3;
  padding: 1.6rem 2.4rem;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 0.6rem;
  box-sizing: border-box;
  color: #fff;
  background: var(--sekundarniBarva, #d7420d) linear-gradient(106deg, var(--sekundarniBarva, #d7420d) 0%, #E66A06 100%) 0% 0% no-repeat padding-box;
  border: none;
  transition: all 0.3s ease;
}
section.gt-block.formular form .formular__submit input.button:hover,
section.gt-block.formular form .formular__submit input.button:focus,
section.gt-block.formular form .formular__submit input[type="submit"]:hover,
section.gt-block.formular form .formular__submit input[type="submit"]:focus {
  color: #fff;
  background: var(--primarniBtnBgHoverColor, #c0392b);
  filter: brightness(1.05);
}
section.gt-block.formular form.is-submitted .formular__fields,
section.gt-block.formular form.is-submitted .formular__gdpr,
section.gt-block.formular form.is-submitted .formular__submit {
  display: none;
}
section.gt-block.formular form.is-submitted .formular__success-message {
  margin-top: 0;
}
section.gt-block.formular form .formular__success-message:not([hidden]) {
  display: block;
}
section.gt-block.formular form .formular__success-message {
  margin-top: 2.4rem;
  text-align: center;
}
section.gt-block.formular form .formular__success-text,
section.gt-block.formular form .formular__success-message {
  font-size: 1.5rem;
  line-height: 1.6;
  font-style: italic;
  color: #666;
}
section.gt-block.formular form .formular__success-message p {
  margin: 0;
}
section.gt-block.formular form .formular__success-message a {
  color: var(--sekundarniBarva, #d7420d);
  text-decoration: underline;
}
section.gt-block.formular form .formular__success-message a:hover {
  text-decoration: none;
}
