/* TVUJORIGINAL.CZ — lehká úprava stávajícího newsletteru V1.2.2 */
#to-newsletter-box.to-newsletter-premium {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 34px clamp(22px, 4vw, 54px);
  overflow: hidden;
  border-top: 1px solid rgba(182, 169, 154, .55);
  border-bottom: 1px solid rgba(182, 169, 154, .55);
  background:
    radial-gradient(circle at 92% 8%, rgba(182, 169, 154, .16), transparent 31%),
    linear-gradient(135deg, #fff 0%, #fbf8f4 58%, #f4ede6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
  color: #332d28;
}

#to-newsletter-box.to-newsletter-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(22px, 4vw, 54px);
  width: 80px;
  height: 3px;
  background: #84ab09;
}

/* Předchozí přidaná ikonka se již nezobrazuje */
#to-newsletter-box .to-newsletter-title-row,
#to-newsletter-box .to-newsletter-icon {
  display: contents;
}

#to-newsletter-box .to-newsletter-title-row > .to-newsletter-icon {
  display: none !important;
}

#to-newsletter-box h1,
#to-newsletter-box h2,
#to-newsletter-box h3,
#to-newsletter-box h4 {
  color: #2f2924 !important;
  line-height: 1.13 !important;
  letter-spacing: -.02em;
  text-transform: none !important;
}

#to-newsletter-box p {
  color: #71675e;
  line-height: 1.58;
}

/* Zachováme původní funkční rozložení formuláře */
#to-newsletter-box form {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

#to-newsletter-box form > * {
  min-width: 0 !important;
}

#to-newsletter-box input[type="email"],
#to-newsletter-box input[name*="email" i],
#to-newsletter-box input[type="text"] {
  box-sizing: border-box !important;
  min-width: 0 !important;
  height: 48px !important;
  border: 1px solid #cfc3b7 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: inset 0 1px 2px rgba(51, 42, 34, .04) !important;
  color: #332d28 !important;
  font-size: 14px !important;
  outline: none !important;
}

#to-newsletter-box input[type="email"]:focus,
#to-newsletter-box input[name*="email" i]:focus,
#to-newsletter-box input[type="text"]:focus {
  border-color: #8ca52c !important;
  box-shadow: 0 0 0 3px rgba(132, 171, 9, .13) !important;
}

#to-newsletter-box button,
#to-newsletter-box input[type="submit"] {
  box-sizing: border-box !important;
  min-width: 138px !important;
  height: 48px !important;
  border: 1px solid #789b08 !important;
  border-radius: 0 !important;
  background: #84ab09 !important;
  box-shadow: 0 7px 17px rgba(132, 171, 9, .16) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  cursor: pointer;
}

#to-newsletter-box button:hover,
#to-newsletter-box input[type="submit"]:hover {
  background: #759905 !important;
}

/* Souhlas se již netlačí do pole ani tlačítka */
#to-newsletter-box .form-appendix,
#to-newsletter-box .consents,
#to-newsletter-box form p,
#to-newsletter-box form small {
  position: static !important;
  display: block !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: 9px !important;
  line-height: 1.45 !important;
}

@media (max-width: 767px) {
  #to-newsletter-box.to-newsletter-premium {
    padding: 25px 16px 22px;
    overflow: visible;
  }

  #to-newsletter-box.to-newsletter-premium::before {
    left: 16px;
    width: 60px;
  }

  #to-newsletter-box h1,
  #to-newsletter-box h2,
  #to-newsletter-box h3,
  #to-newsletter-box h4 {
    font-size: 24px !important;
  }

  #to-newsletter-box form,
  #to-newsletter-box form > div,
  #to-newsletter-box .form-group,
  #to-newsletter-box .input-group {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  #to-newsletter-box input[type="email"],
  #to-newsletter-box input[name*="email" i],
  #to-newsletter-box input[type="text"],
  #to-newsletter-box button,
  #to-newsletter-box input[type="submit"] {
    position: static !important;
    float: none !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 49px !important;
    margin: 0 0 9px !important;
    transform: none !important;
  }

  #to-newsletter-box .form-appendix,
  #to-newsletter-box .consents,
  #to-newsletter-box form p,
  #to-newsletter-box form small {
    margin: 2px 0 0 !important;
  }
}


/* V1.2.2 EMAIL FIX — odstranění ikonky překrývající text v poli */
#to-newsletter-box input[type="email"],
#to-newsletter-box input[name*="email" i],
#to-newsletter-box input[type="text"] {
  padding-left: 14px !important;
  text-indent: 0 !important;
  background-image: none !important;
  background-position: initial !important;
  background-repeat: no-repeat !important;
}

/* Ikona vložená přímo před e-mailové pole */
#to-newsletter-box .to-email-icon-hidden {
  display: none !important;
}

/* Pseudoikona na obalu pole */
#to-newsletter-box .to-email-field-clean::before,
#to-newsletter-box .to-email-field-clean::after {
  display: none !important;
  content: none !important;
}
