.site-header img {
  max-height: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-header,
.site-footer {
  background-color: #1C2238 !important;
}

body, html {
  background-color: #FDFBF7 !important;
  min-height: 100vh;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.site-content, 
.site-main, 
.entry-content, 
.single-post .entry-content, 
.page .entry-content {
  background-color: #F8F8F8 !important;
  color: #202020 !important;
  padding: 20px;
}

.entry-content a {
  color: #BCA979;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.entry-content a:hover,
.entry-content a:focus {
  color: #8E7C56;
  text-decoration: none;
}

.mailpoet_subscribe_form .close-button {
  display: none !important;
}

.wpforms-submit {
  background-color: #BCA979 !important;
  color: #1C2238 !important;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.wpforms-submit:hover {
  background-color: #a4946a !important;
}

/* WPForms Label Fix */
div.wpforms-container-full .wpforms-field-label {
  color: #202020 !important;
  font-family: 'Lora', serif !important;
}

/* Final footer cleanup */
.site-footer .site-column-4 * {
  background-color: transparent !important;
  color: #cccccc !important;
}

/* MailPoet Static Widget Styling */
.mailpoet_form {
  font-family: 'Lora', serif;
  background-color: #F8F8F8;
  color: #202020;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mailpoet_column_with_background {
  padding: 10px;
}

.mailpoet_form_column:not(:first-child) {
  margin-left: 20px;
}

@media screen and (max-width: 600px) {
  .mailpoet_form_column:not(:first-child) {
    margin-left: 0;
    margin-top: 10px;
  }
}

.mailpoet_segment_label,
.mailpoet_text_label,
.mailpoet_textarea_label,
.mailpoet_select_label,
.mailpoet_radio_label,
.mailpoet_checkbox_label,
.mailpoet_list_label,
.mailpoet_date_label {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: #202020;
  margin-bottom: 4px;
}

.mailpoet_text,
.mailpoet_textarea,
.mailpoet_select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: #202020;
}

.mailpoet_form input[type="submit"],
.mailpoet_submit {
  background-color: #BCA979 !important;
  color: #1C2238 !important;
  border: none !important;
  padding: 10px 18px;
  font-weight: bold;
  font-family: inherit;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mailpoet_form input[type="submit"]:hover,
.mailpoet_submit:hover {
  background-color: #a58b5c !important;
}

.mailpoet_message {
  color: #BCA979;
  font-size: 14px;
  margin-top: 10px;
}

.mailpoet_form_loading > span {
  width: 6px;
  height: 6px;
  background-color: #BCA979;
}

/* Footer widget title background control */
.widget-title,
.widget-title::before,
.widget-title::after,
.widget .widget-title span,
.widget.widget-non-line .widget-title span,
.widget.widget-ver.widget-non-line .widget-title span {
  background-color: transparent !important;
  color: #FDFBF7 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
}
