@media (min-width: 991px) {
	.container.body-content {
   		 margin-top: 0;
	}
}

/* --- newsletter ------------------------------------------- */

.newsletter-form { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 32px; }
.newsletter-form.d-none, .newsletter-form.hide { display: none !important; }
.newsletter-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; }
.newsletter-field { position: relative; flex: 1 1 280px; max-width: 380px; }
.newsletter-container .newsletter-input,
.newsletter-container input#txtEmail {
  display: block;
  width: 100%;
  height: 52px;
  background: transparent;
  border: 1px solid #4A4238;
  border-radius: 0;
  color: var(--paper);
  padding: 0 44px 0 18px;
  font-size: 14px;
  box-shadow: none;
}
.newsletter-container .newsletter-input::placeholder { color: var(--faint); }
.newsletter-container .newsletter-input:focus {
  outline: none;
  background: transparent;
  color: var(--paper);
  border-color: var(--gold-light);
  box-shadow: none;
}
.newsletter-container .newsletter-input.input-value-incorrect {
  border-color: #C0562F !important;
  background-color: rgba(192, 86, 47, .14) !important;
}
.newsletter-container .btn-subscribe {
  height: 52px;
  padding: 0 34px;
  width: auto;
  max-width: none;
  border: none;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
}
.newsletter-container .btn-subscribe:hover { background: var(--gold); color: #fff; }

/* validation icons inside the field */
.newsletter-field .input-icon,
.newsletter-field .success-icon { display: none; }
.newsletter-field .input-icon.show,
.newsletter-field .success-icon.show {
  position: absolute;
  display: inline-flex;
  align-items: center;
  top: 0;
  right: 16px;
  height: 52px;
  pointer-events: none;
}
.newsletter-field .input-icon { color: #C0562F; }
.newsletter-field .success-icon { color: #8FA37C; }

/* inline error messages */
.text-value-incorrect,
.textCheckbox-value-incorrect { display: none; }
.newsletter-container .text-value-incorrect.show,
.newsletter-container .textCheckbox-value-incorrect.show {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  max-width: 420px;
  text-align: left;
  color: #D97A52;
}
.newsletter-container .text-value-incorrect svg,
.newsletter-container .textCheckbox-value-incorrect svg { flex: 0 0 auto; margin-top: 2px; }
.newsletter-container .text-value-incorrect p,
.newsletter-container .textCheckbox-value-incorrect p { font-size: 12px; line-height: 1.5; color: inherit; }

/* privacy checkbox (bootstrap custom-control pattern) */
.newsletter-consent { display: flex; flex-direction: column; align-items: flex-start; max-width: 460px; margin-top: 22px; }
.newsletter-container .custom-control {
  position: relative;
  display: block;
  min-height: 20px;
  padding-left: 30px;
  margin: 0;
  text-align: left;
}
.newsletter-container .custom-control-input {
  position: absolute;
  left: 0;
  top: 2px;
  z-index: -1;
  width: 18px;
  height: 18px;
  opacity: 0;
}
.newsletter-container .custom-control-label {
  position: static;
  display: block;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--faint);
  cursor: pointer;
  margin: 0;
}
.newsletter-container .custom-control-label::before,
.newsletter-container .custom-control-label::after {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.newsletter-container .custom-control-label::before {
  background: transparent;
  border: 1px solid #4A4238;
  border-radius: 0;
  transition: background-color .15s, border-color .15s;
}
.newsletter-container .custom-control-label::after {
  background: no-repeat center / 12px 12px;
}
.newsletter-container .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--gold) !important;
  border-color: var(--gold);
}
.newsletter-container .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23F6F3ED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
}
.newsletter-container .custom-control-input:focus ~ .custom-control-label::before {
  border-color: var(--gold-light);
  box-shadow: none;
}
.newsletter-container .custom-control-label a { color: var(--paper); text-decoration: underline; }
.newsletter-container .custom-control-label a:hover { color: var(--gold-light); }
.newsletter-container .custom-control-label.checkbox-value-incorrect { color: #D97A52; }
.newsletter-container .custom-control-label.checkbox-value-incorrect::before,
.newsletter-container .checkbox-value-incorrect::before {
  border-color: #C0562F !important;
  background-color: rgba(192, 86, 47, .14) !important;
}

/* loading overlay */
.newsletter-form-loading { display: none; }
.newsletter-form-loading.show {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  background: rgba(26, 24, 21, .82);
}
.newsletter-spinner {
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 2px solid #4A4238;
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: nl-spin .8s linear infinite;
}
.spin { animation: nl-spin 1s linear infinite; }
@keyframes nl-spin { to { transform: rotate(360deg); } }

/* success / already-subscribed */
.validate-form { display: none; }
.newsletter-container .validate-form.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.validate-form-icon { display: inline-flex; color: #8FA37C; }
.newsletter-container #success,
.newsletter-container #alert { display: none; font-size: 15px; line-height: 1.7; color: var(--paper); }
.newsletter-container #success.show,
.newsletter-container #alert.show { display: block; }
.newsletter-container #alert.show { color: var(--faint); }

@media (max-width: 575px) {
  .newsletter-container .btn-subscribe { width: 100%; }
}