.nl-form {
  position: relative;
  margin: 30px auto 0;
  font-family: var(--description-font);
}
.nl-form .form-controls {
  transition: opacity 0.5s;
  opacity: 0;
}
.nl-form.active .form-controls {
  opacity: 1;
}
.nl-form.loading .loading-overlay {
  display: flex;
}
.nl-form .nl-form-message {
  opacity: 0;
}
.nl-form.show-confirmation .form-controls {
  position: relative;
  z-index: -10;
}
.nl-form.show-confirmation .nl-form-message,
.nl-form.error .nl-form-message {
  opacity: 1;
}
.nl-form.show-confirmation .nl-form-message {
  transform: translateY(-90px);
}
.nl-form.error .nl-form-message {
  transform: translateY(-40px);
}
.nl-form .nl-validate {
  position: relative;
  background: var(--cta-button-background);
  border: 0;
  padding: 9px;
  font-family: var(--cta-font);
  text-transform: uppercase;
  width: 100px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0 !important;
  height: var(--size-40);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  color: var(--color-accent-inverse-themed);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-14);
}
.nl-form .nl-validate:hover {
  background: #4d4d4d;
}
.nl-form .nl-validate:active {
  background: #808080;
}
.nl-form .nl-form-message {
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  font-size: 15px;
  line-height: 23px;
}
.nl-terms {
  max-width: 380px;
}
.inputs {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  max-width: 380px;
  margin: 0 auto;
}
.inputs .nl-email {
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  border-right: 0;
}
.loading-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  justify-content: center;
  align-items: center;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top: 4px solid var(--accent-yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.nl-name {
  font-family: var(--cta-font);
  margin-top: 0;
}
.nl-firstname {
  display: none;
}
.nl-terms {
  width: 100%;
  margin: 0 auto;
  font-size: 11px;
  line-height: 16px;
  opacity: 0;
  margin-top: 12px;
  text-align: center;
}
.nl-form.active:not(.error):focus-within .nl-terms {
  opacity: 1;
}
.nl-signup {
  position: relative;
  background: linear-gradient(to bottom, #febb74, #fc210b 50%, #fe06a5 95%);
  padding: 15px;
  line-height: 19px;
  font-size: 15px;
  margin-bottom: 40px;
  margin-top: 50px;
  clear: both;
  max-width: 600px;
}
.nl-signup .nl-wrap {
  background: #fff;
  height: 100%;
  position: relative;
  padding: 15px;
  font-family: var(--description-font);
}
.nl-signup .nl-heading {
  color: #000;
  left: 0;
  right: 0;
  display: inline-block;
  margin: 0 auto;
  margin-top: -27px;
  width: 100%;
}
.nl-signup .nl-heading .nl-name {
  font-size: 25px;
  margin-bottom: 4px;
  display: inline;
  background: #fff;
}
.nl-signup .nl-description {
  background: #fff;
  margin-top: 15px;
}
.nl-email {
  border-radius: 2px;
  height: 40px;
  font-size: 15px;
  box-sizing: border-box;
  padding-left: 10px;
  flex: 1;
  min-width: 0;
}
.nl-email:focus {
  outline: none;
  box-shadow: none;
}
.nl-email:focus-visible {
  outline: none;
  box-shadow: none;
}
@media screen and (max-width: 767px) {
  .single-post .nl-signup {
    margin: 80px -15px 40px;
  }
  .nl-wrap {
    position: relative;
    overflow: visible;
    top: 30%;
  }
  .nl-name {
    position: relative;
    padding: 0 10px 0 10px;
  }
  .nl-form {
    clear: both;
  }
  .nl-form input {
    width: 100%;
  }
  .nl-email {
    font-size: 16px;
  }
}
@media screen and (min-width: 481px) {
  .nl-signup .nl-heading {
    margin-top: -45px;
  }
  .nl-signup .nl-heading .nl-name {
    font-size: 32px;
  }
}
@media screen and (min-width: 768px) {
  .nl-validate {
    max-width: 100px;
  }
  .nl-signup .nl-heading {
    text-align: center;
  }
  .nl-signup .nl-name {
    display: inline-block;
    line-height: 40px;
    background: #fff;
    padding: 0 30px;
  }
  .nl-signup .nl-form {
    width: 560px;
  }
  .nl-signup .nl-form .form-controls {
    height: 40px;
  }
  .nl-signup .nl-wrap {
    padding-bottom: 0;
  }
}
/* Newsletter Recommendations Styles */
.nl-recommendations-container {
  background: #fff;
  padding: 20px;
  font-family: var(--description-font);
}
.nl-recommendations-header {
  margin-bottom: 24px;
  text-align: center;
}
.nl-recommendations-success-message {
  font-size: 18px;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 16px;
  padding: 12px;
  background: #e8f5e9;
  border-radius: 4px;
  font-family: var(--cta-font);
}
.nl-recommendations-title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #000;
  font-family: var(--cta-font);
}
.nl-recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.nl-recommendation-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  transition: box-shadow 0.2s;
}
.nl-recommendation-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.nl-recommendation-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}
.nl-recommendation-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nl-recommendation-info {
  flex: 1;
  min-width: 0;
}
.nl-recommendation-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #000;
}
.nl-recommendation-description {
  font-size: 15px;
  line-height: 1.4;
  color: #333;
}
.nl-recommendation-description p {
  margin-bottom: 0;
}
.nl-recommendation-checkbox {
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  width: 24px;
  height: 24px;
}
.nl-recommendation-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
}
.nl-recommendation-checkbox .checkbox-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #666;
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s;
}
.nl-recommendation-checkbox input[type="checkbox"]:checked + .checkbox-visual {
  background: var(--accent-yellow, #febb74);
  border-color: var(--accent-yellow, #febb74);
}
.nl-recommendation-checkbox input[type="checkbox"]:checked + .checkbox-visual::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 16px;
  font-weight: bold;
}
.nl-recommendations-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.nl-recommendations-submit,
.nl-recommendations-skip {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--cta-font);
  text-transform: uppercase;
  border: none;
  min-width: 200px;
}
.nl-recommendations-submit {
  background: var(--cta-button-background, #000);
  color: var(--color-accent-inverse-themed, #fff);
}
.nl-recommendations-submit:hover:not(:disabled) {
  background: #4d4d4d;
}
.nl-recommendations-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.nl-recommendations-skip {
  background: transparent;
  color: #666;
}
.nl-recommendations-skip:hover {
  color: #000;
}
.nl-recommendations-success {
  text-align: center;
  padding: 40px 20px;
}
.nl-recommendations-success h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #000;
}
.nl-recommendations-success p {
  font-size: 16px;
  color: #666;
}
@media screen and (max-width: 767px) {
  .nl-recommendation-item {
    flex-direction: column;
    gap: 12px;
  }
  .nl-recommendation-icon {
    align-self: center;
  }
  .nl-recommendation-checkbox {
    align-self: center;
  }
}
@media screen and (min-width: 768px) {
  .nl-recommendations-actions {
    flex-direction: row;
    justify-content: center;
  }
}
@-moz-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-o-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
