/* =========================================================
   TERRA EDITORIAL
   FOOTER + NEWSLETTER MAILPOET
   Overrides carregados por ultimo
   ========================================================= */

/* =========================
   NEWSLETTER WRAPPER
   ========================= */
.wp-block-group.alignfull.te-home-newsletter,
.te-home-newsletter {
  width: min(1120px, calc(100% - 36px)) !important;
  max-width: 1120px !important;
  margin: 56px auto 0 !important;
  padding: 0 !important;
  background: none !important;
  box-sizing: border-box !important;
}

.wp-block-group.alignfull.te-home-newsletter > .wp-block-group__inner-container,
.te-home-newsletter > .wp-block-group__inner-container {
  position: relative;
  padding: 48px clamp(20px, 4vw, 40px) !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: linear-gradient(135deg, #2c2c2c 0%, #33402a 100%) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.14);
}

.wp-block-group.alignfull.te-home-newsletter > .wp-block-group__inner-container::before,
.te-home-newsletter > .wp-block-group__inner-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(212, 132, 94, 0.22), transparent 30%),
    radial-gradient(circle at bottom left, rgba(90, 110, 74, 0.18), transparent 28%);
  pointer-events: none;
}

.te-home-newsletter .wp-block-columns {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px !important;
  align-items: center !important;
  margin: 0 !important;
}

.te-home-newsletter .wp-block-column {
  margin: 0 !important;
  min-width: 0 !important;
}

.te-home-newsletter__eyebrow {
  margin: 0 0 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.te-home-newsletter__title,
.te-home-newsletter h2 {
  margin: 0 0 14px !important;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: clamp(32px, 4vw, 44px) !important;
  line-height: 1.08 !important;
  font-weight: 400 !important;
  color: #ffffff !important;
}

.te-home-newsletter__lead {
  margin: 0 0 18px !important;
  max-width: 56ch;
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.te-home-newsletter ul.te-home-newsletter__benefits {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 10px;
}

.te-home-newsletter ul.te-home-newsletter__benefits li {
  position: relative;
  margin: 0 !important;
  padding-left: 18px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.te-home-newsletter ul.te-home-newsletter__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4845e;
}

.te-home-newsletter__card {
  width: 100% !important;
  max-width: none !important;
  padding: 28px !important;
  background: rgba(250, 246, 241, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16) !important;
}

.te-home-newsletter__card h3 {
  margin: 0 0 10px !important;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  color: #1f2b44 !important;
}

.te-home-newsletter__card p {
  color: #24324d !important;
}

.te-home-newsletter__microcopy {
  margin: 12px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: rgba(44, 44, 44, 0.72) !important;
}

/* =========================
   JETPACK SUBSCRIPTIONS DENTRO DA NEWSLETTER
   ========================= */
.te-home-newsletter .jetpack_subscription_widget,
.te-home-newsletter .wp-block-jetpack-subscriptions__container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.te-home-newsletter .jetpack_subscription_widget .widgettitle {
  display: none !important;
}

.te-home-newsletter .wp-block-jetpack-subscriptions__container form,
.te-home-newsletter form[id^="subscribe-blog-"] {
  display: grid !important;
  gap: 14px !important;
  margin: 0 !important;
}

.te-home-newsletter #subscribe-email,
.te-home-newsletter #subscribe-submit {
  margin: 0 !important;
}

.te-home-newsletter #subscribe-email input[type="email"],
.te-home-newsletter form[id^="subscribe-blog-"] input[type="email"] {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 52px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(44, 44, 44, 0.12) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #24324d !important;
  font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.te-home-newsletter #subscribe-email input[type="email"]::placeholder,
.te-home-newsletter form[id^="subscribe-blog-"] input[type="email"]::placeholder {
  color: #7b8091 !important;
  opacity: 1 !important;
}

.te-home-newsletter #subscribe-email input[type="email"]:focus,
.te-home-newsletter form[id^="subscribe-blog-"] input[type="email"]:focus {
  outline: none !important;
  border-color: rgba(184, 87, 42, 0.45) !important;
  box-shadow: 0 0 0 4px rgba(184, 87, 42, 0.12) !important;
}

.te-home-newsletter #subscribe-submit .wp-block-button__link,
.te-home-newsletter form[id^="subscribe-blog-"] button.wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #b8572a !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(184, 87, 42, 0.18) !important;
}

.te-home-newsletter #subscribe-submit .wp-block-button__link:hover,
.te-home-newsletter form[id^="subscribe-blog-"] button.wp-block-button__link:hover {
  background: #a14c23 !important;
}

/* =========================
   MAILPOET DENTRO DA NEWSLETTER
   ========================= */
.te-home-newsletter .mailpoet_form,
.te-home-newsletter .mailpoet_form form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.te-home-newsletter .mailpoet_form h1,
.te-home-newsletter .mailpoet_form h2,
.te-home-newsletter .mailpoet_form h3,
.te-home-newsletter .mailpoet_form h4,
.te-home-newsletter .mailpoet_form h5,
.te-home-newsletter .mailpoet_form h6,
.te-home-newsletter .mailpoet_form > p:not(.mailpoet_form_paragraph):not(.mailpoet_message) {
  display: none !important;
}

.te-home-newsletter .mailpoet_form .mailpoet_message,
.te-home-newsletter .mailpoet_message {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: rgba(184, 87, 42, 0.08) !important;
  border: 1px solid rgba(184, 87, 42, 0.18) !important;
  color: #24324d !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.te-home-newsletter .mailpoet_paragraph,
.te-home-newsletter p.mailpoet_form_paragraph {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.te-home-newsletter .mailpoet_segment_label,
.te-home-newsletter .mailpoet_text_label,
.te-home-newsletter .mailpoet_textarea_label,
.te-home-newsletter .mailpoet_select_label,
.te-home-newsletter .mailpoet_radio_label,
.te-home-newsletter .mailpoet_checkbox_label,
.te-home-newsletter .mailpoet_list_label,
.te-home-newsletter .mailpoet_date_label {
  display: block !important;
  margin: 0 0 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  color: #2c2c2c !important;
}

.te-home-newsletter .mailpoet_text,
.te-home-newsletter .mailpoet_textarea,
.te-home-newsletter .mailpoet_select,
.te-home-newsletter .mailpoet_date_month,
.te-home-newsletter .mailpoet_date_day,
.te-home-newsletter .mailpoet_date_year,
.te-home-newsletter .mailpoet_date,
.te-home-newsletter .mailpoet_form input[type="text"],
.te-home-newsletter .mailpoet_form input[type="email"] {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 52px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(44, 44, 44, 0.12) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #24324d !important;
  font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.te-home-newsletter .mailpoet_text::placeholder,
.te-home-newsletter .mailpoet_form input[type="email"]::placeholder,
.te-home-newsletter .mailpoet_form input[type="text"]::placeholder {
  color: #7b8091 !important;
  opacity: 1;
}

.te-home-newsletter .mailpoet_text:focus,
.te-home-newsletter .mailpoet_textarea:focus,
.te-home-newsletter .mailpoet_select:focus,
.te-home-newsletter .mailpoet_date_month:focus,
.te-home-newsletter .mailpoet_date_day:focus,
.te-home-newsletter .mailpoet_date_year:focus,
.te-home-newsletter .mailpoet_date:focus,
.te-home-newsletter .mailpoet_form input[type="text"]:focus,
.te-home-newsletter .mailpoet_form input[type="email"]:focus {
  border-color: #b8572a !important;
  box-shadow: 0 0 0 3px rgba(184, 87, 42, 0.12) !important;
  outline: none !important;
}

.te-home-newsletter .mailpoet_submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 52px !important;
  margin: 8px 0 0 !important;
  padding: 14px 18px !important;
  border: none !important;
  border-radius: 999px !important;
  background: #b56630 !important;
  color: #ffffff !important;
  font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.te-home-newsletter .mailpoet_submit:hover {
  background: #8e3f1c !important;
  transform: translateY(-1px);
}

.te-home-newsletter .mailpoet_checkbox,
.te-home-newsletter .mailpoet_radio {
  accent-color: #b8572a;
}

.te-home-newsletter .mailpoet-hp,
.te-home-newsletter .mailpoet_hp,
.te-home-newsletter .mailpoet_validate_hidden,
.te-home-newsletter [data-parsley-id].mailpoet_paragraph:has(input[tabindex="-1"]),
.te-home-newsletter .mailpoet_paragraph:has(input[type="text"][name*="confirm"]),
.te-home-newsletter .mailpoet_paragraph:has(input[type="text"][name*="hp"]),
.te-home-newsletter label[for*="confirm"],
.te-home-newsletter label[for*="hp"] {
  display: none !important;
}

/* =========================
   RESPONSIVO
   ========================= */
@media (max-width: 900px) {
  .te-home-newsletter .wp-block-columns {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .te-home-newsletter__title,
  .te-home-newsletter h2 {
    font-size: 34px !important;
  }
}

@media (max-width: 600px) {
  .wp-block-group.alignfull.te-home-newsletter,
  .te-home-newsletter {
    width: calc(100% - 24px) !important;
    margin-top: 40px !important;
  }

  .wp-block-group.alignfull.te-home-newsletter > .wp-block-group__inner-container,
  .te-home-newsletter > .wp-block-group__inner-container {
    padding: 22px !important;
    border-radius: 18px !important;
  }

  .te-home-newsletter__title,
  .te-home-newsletter h2 {
    font-size: 30px !important;
  }

  .te-home-newsletter__lead {
    font-size: 16px !important;
  }

  .te-home-newsletter__card {
    padding: 20px !important;
  }

  .te-home-newsletter .mailpoet_text,
  .te-home-newsletter .mailpoet_form input[type="text"],
  .te-home-newsletter .mailpoet_form input[type="email"],
  .te-home-newsletter .mailpoet_submit {
    min-height: 50px !important;
  }
}

/* =========================
   GUIAS
   ========================= */
.te-guides-metrics {
  margin: 24px 0 32px;
}

.te-guides-metrics .wp-block-columns {
  gap: 18px !important;
}

.te-guides-metric-card {
  height: 100%;
  padding: 24px !important;
  background: #fff;
  border: 1px solid #e5ddd3;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.te-guides-metric-number {
  margin: 0 0 8px !important;
  color: #b8572a;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
}

.te-guides-metric-title {
  margin: 0 0 8px !important;
  color: #2c2c2c;
  font-size: 22px;
}

.te-guides-metric-desc {
  margin: 0 !important;
  color: #5b5b5b;
  line-height: 1.65;
}

.te-guides-next-step {
  margin: 40px 0 16px;
  padding: 36px 24px !important;
  background: linear-gradient(135deg, #2c2c2c 0%, #33402a 100%);
  border-radius: 24px;
}

.te-guides-next-step__eyebrow {
  margin: 0 0 10px !important;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.te-guides-next-step__title {
  margin: 0 0 12px !important;
  color: #fff;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

.te-guides-next-step__lead {
  margin: 0 0 24px !important;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.te-guides-next-step .wp-block-columns {
  gap: 18px !important;
  margin-bottom: 24px;
}

.te-guides-start-card {
  height: 100%;
  padding: 24px !important;
  background: rgba(250, 246, 241, 0.98);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.te-guides-start-card__badge {
  margin: 0 0 10px !important;
  color: #b8572a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.te-guides-start-card__title {
  margin: 0 0 10px !important;
  color: #1f2b44;
  font-size: 24px;
  line-height: 1.2;
}

.te-guides-start-card__desc {
  margin: 0 0 16px !important;
  color: #24324d;
  line-height: 1.7;
}

/* =========================
   CONTATO
   ========================= */
.te-contact-page {
  padding-top: 8px;
  padding-bottom: 32px;
}

.te-contact-page > * {
  max-width: 860px;
}

.te-contact-page h1 {
  margin-bottom: 10px !important;
  color: #2c2c2c;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: clamp(38px, 5vw, 56px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em;
}

.te-contact-page .has-large-font-size,
.te-contact-page p.has-large-font-size {
  margin-bottom: 18px !important;
  color: #b8572a !important;
  font-size: 18px !important;
  font-weight: 600;
}

.te-contact-page p,
.te-contact-page li {
  color: #3f3f3f;
  font-size: 17px;
  line-height: 1.8;
}

.te-contact-page ul {
  margin: 0 0 22px 1.2em;
  padding: 0;
}

.te-contact-page li + li {
  margin-top: 8px;
}

.te-contact-page h3 {
  margin-top: 30px !important;
  margin-bottom: 12px !important;
  color: #1f2b44;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: 30px !important;
  line-height: 1.15;
}

.te-contact-page a {
  color: #b8572a;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 87, 42, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.te-contact-page a:hover {
  color: #8e3f1c;
  border-bottom-color: rgba(142, 63, 28, 0.42);
}

.te-contact-page .wp-block-separator {
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  border-color: #e5ddd3 !important;
}

.te-contact-page .contact-form {
  margin-top: 8px !important;
  padding: 28px !important;
  background: #ffffff;
  border: 1px solid #e7dfd5;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.te-contact-page .contact-form > div,
.te-contact-page .grunion-field-wrap {
  margin-bottom: 14px !important;
}

.te-contact-page .contact-form label,
.te-contact-page .grunion-field-label {
  display: block;
  margin-bottom: 7px;
  color: #2c2c2c !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.te-contact-page .grunion-label-required {
  display: inline-block;
  margin-left: 0.34em;
}

.te-contact-page .contact-form > br,
.te-contact-page .contact-form .grunion-field-wrap + br {
  display: none !important;
}

.te-contact-page .contact-form input[type="text"],
.te-contact-page .contact-form input[type="email"],
.te-contact-page .contact-form textarea,
.te-contact-page .contact-form select,
.te-contact-page .grunion-field-wrap input[type="text"],
.te-contact-page .grunion-field-wrap input[type="email"],
.te-contact-page .grunion-field-wrap textarea,
.te-contact-page .grunion-field-wrap select {
  display: block !important;
  width: 100% !important;
  min-height: 52px;
  padding: 14px 16px !important;
  border: 1px solid rgba(44, 44, 44, 0.12) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #24324d !important;
  font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.te-contact-page .contact-form textarea,
.te-contact-page .grunion-field-wrap textarea {
  min-height: 160px;
  resize: vertical;
}

.te-contact-page .contact-form input[type="text"]:focus,
.te-contact-page .contact-form input[type="email"]:focus,
.te-contact-page .contact-form textarea:focus,
.te-contact-page .contact-form select:focus,
.te-contact-page .grunion-field-wrap input[type="text"]:focus,
.te-contact-page .grunion-field-wrap input[type="email"]:focus,
.te-contact-page .grunion-field-wrap textarea:focus,
.te-contact-page .grunion-field-wrap select:focus {
  border-color: #b8572a !important;
  box-shadow: 0 0 0 3px rgba(184, 87, 42, 0.12) !important;
  outline: none !important;
}

.te-contact-page .contact-form .contact-submit {
  margin: 18px 0 0 !important;
}

.te-contact-page .contact-form input[type="submit"],
.te-contact-page .contact-form button,
.te-contact-page .pushbutton-wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px !important;
  border: none !important;
  border-radius: 14px !important;
  background: #b56630 !important;
  color: #ffffff !important;
  font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.te-contact-page .contact-form input[type="submit"]:hover,
.te-contact-page .contact-form button:hover,
.te-contact-page .pushbutton-wide:hover {
  background: #8e3f1c !important;
  transform: translateY(-1px);
}

.te-contact-page .contact-form .form-error,
.te-contact-page .contact-form .error,
.te-contact-page .contact-form .contact-form-error {
  color: #9f2d20 !important;
  font-size: 13px;
}

.te-contact-page .contact-form__error:not(.show-errors),
.te-contact-page .contact-form__error:not(.show-errors) .contact-form__warning-icon,
.te-contact-page .contact-form__error:not(.show-errors) .contact-form__error-message,
.te-contact-page .contact-form__error:not(.show-errors) ul {
  display: none !important;
}

.te-contact-page .contact-form__error.show-errors {
  display: block !important;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(159, 45, 32, 0.08);
  color: #7d251a !important;
}

.te-contact-page .contact-form__error.show-errors ul {
  margin: 8px 0 0 1.1em;
}

.te-contact-page .contact-form__error ul:empty,
.te-contact-page .contact-form__error li:empty {
  display: none !important;
}

.te-contact-page .contact-form__warning-icon i {
  display: none;
}

.te-contact-page .contact-form .contact-form-submission,
.te-contact-page .contact-form .form-success {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(61, 79, 47, 0.08);
  border: 1px solid rgba(61, 79, 47, 0.18);
  color: #2c2c2c !important;
}

.te-contact-page .akismet-fields-container,
.te-contact-page .akismet-fields-container label,
.te-contact-page .akismet-fields-container textarea {
  display: none !important;
  visibility: hidden !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

/* =========================
   BLOG LIST
   ========================= */
body.blog.content-style-unboxed .grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
  display: grid !important;
  grid-template-columns: clamp(210px, 26vw, 280px) minmax(0, 1fr);
  gap: 28px !important;
  align-items: stretch !important;
  margin-bottom: 28px !important;
}

body.blog.content-style-unboxed .grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) > * {
  min-width: 0;
}

body.blog .item-image-style-beside .post-thumbnail {
  margin: 0 !important;
  height: 100%;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.blog .item-image-style-beside .post-thumbnail,
body.blog .item-image-style-beside .post-thumbnail a,
body.blog .item-image-style-beside .post-thumbnail .post-thumbnail-inner {
  display: block;
  height: 100%;
  border-radius: 18px !important;
  overflow: hidden;
}

body.blog .item-image-style-beside .post-thumbnail a:empty,
body.archive .item-image-style-beside .post-thumbnail a:empty,
body.search-results .item-image-style-beside .post-thumbnail a:empty {
  display: none !important;
}

body.blog .item-image-style-beside .post-thumbnail img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

body.blog .item-image-style-beside .entry-content-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start;
  gap: 14px;
  width: auto !important;
  max-width: 100% !important;
  min-height: 100%;
  padding: 28px 30px !important;
  border: 1px solid rgba(44, 44, 44, 0.07) !important;
}

body.blog .item-image-style-beside .entry-content-wrap > * {
  width: 100%;
}

body.blog .item-image-style-beside .entry-header {
  margin: 0 !important;
}

body.blog .item-image-style-beside .entry-taxonomies {
  display: block !important;
  margin: 0 0 2px !important;
}

body.blog.categories-hidden .item-image-style-beside .entry-taxonomies,
body.blog .item-image-style-beside .entry-taxonomies .category-links {
  display: block !important;
}

body.blog .item-image-style-beside .entry-title {
  margin: 0 !important;
  max-width: 22ch;
  font-size: clamp(1.55rem, 2.5vw, 2rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.blog .item-image-style-beside .entry-summary {
  padding: 0 !important;
}

body.blog .item-image-style-beside .entry-summary p {
  margin: 0 !important;
  max-width: 60ch;
  font-size: 1.06rem !important;
  line-height: 1.7 !important;
  -webkit-line-clamp: 3;
}

/* =========================
   SEARCH DRAWER
   ========================= */
#search-drawer .drawer-content .search-form,
body.search-results .search-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

#search-drawer .drawer-content .search-form label,
body.search-results .search-form label {
  display: block;
  margin: 0;
}

#search-drawer .drawer-content .search-field,
body.search-results .search-field {
  width: 100% !important;
  min-height: 60px;
  padding: 16px 18px 16px 56px !important;
  border-radius: 18px !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

#search-drawer .drawer-content .kadence-search-icon-wrap,
body.search-results .kadence-search-icon-wrap {
  position: absolute;
  top: 50% !important;
  left: 20px !important;
  right: auto !important;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #7a7a7a;
  pointer-events: none;
  z-index: 2;
}

#search-drawer .drawer-content .search-submit,
body.search-results .search-submit {
  position: static !important;
  width: auto !important;
  min-width: 132px;
  min-height: 60px;
  margin: 0 !important;
  padding: 0 22px !important;
  border-radius: 16px !important;
  line-height: 1 !important;
  z-index: 2;
}

@media (max-width: 900px) {
  .te-guides-metrics .wp-block-columns,
  .te-guides-next-step .wp-block-columns {
    gap: 16px !important;
  }

  body.blog.content-style-unboxed .grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    gap: 22px !important;
  }

  body.blog .item-image-style-beside .entry-content-wrap {
    padding: 24px !important;
  }

  body.blog .item-image-style-beside .entry-title {
    max-width: none;
    font-size: clamp(1.45rem, 3.2vw, 1.8rem) !important;
  }
}

@media (max-width: 600px) {
  .te-guides-next-step {
    padding: 24px 18px !important;
    border-radius: 18px;
  }

  .te-guides-metric-card,
  .te-guides-start-card {
    padding: 20px !important;
  }

  .te-contact-page h1 {
    font-size: 40px !important;
  }

  .te-contact-page h3 {
    font-size: 26px !important;
  }

  .te-contact-page .contact-form {
    padding: 20px !important;
    border-radius: 16px;
  }

  .te-contact-page p,
  .te-contact-page li {
    font-size: 16px;
  }

  body.blog.content-style-unboxed .grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
    grid-template-columns: 1fr;
    gap: 16px !important;
  }

  body.blog .item-image-style-beside .post-thumbnail img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  body.blog .item-image-style-beside .entry-content-wrap {
    padding: 20px !important;
    gap: 12px;
  }

  body.blog .item-image-style-beside .entry-title {
    font-size: 1.45rem !important;
    line-height: 1.16 !important;
  }

  body.blog .item-image-style-beside .entry-summary p {
    font-size: 1rem !important;
  }

  #search-drawer .drawer-content .search-form,
  body.search-results .search-form {
    grid-template-columns: 1fr;
  }

  #search-drawer .drawer-content .search-submit,
  body.search-results .search-submit {
    width: 100% !important;
  }
}

/* =========================
   SOBRE
   ========================= */
.te-about-page {
  padding-top: 8px;
  padding-bottom: 40px;
}

.te-about-page > * {
  max-width: 920px;
}

.te-about-page h1 {
  margin-bottom: 14px !important;
  color: #2c2c2c;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: clamp(40px, 5vw, 60px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.02em;
}

.te-about-page h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: #b8572a;
}

.te-about-page .has-large-font-size,
.te-about-page p.has-large-font-size {
  margin-bottom: 20px !important;
  max-width: 52ch;
  color: #b8572a !important;
  font-size: 19px !important;
  font-weight: 600;
  line-height: 1.65 !important;
}

.te-about-page p,
.te-about-page li {
  color: #3f3f3f;
  font-size: 17px;
  line-height: 1.82;
}

.te-about-page p {
  margin-bottom: 18px;
}

.te-about-page h2 {
  margin-top: 42px !important;
  margin-bottom: 16px !important;
  color: #1f2b44;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: clamp(30px, 3vw, 40px) !important;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.te-about-page h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(184, 87, 42, 0.3);
}

.te-about-page h3 {
  margin-top: 18px !important;
  margin-bottom: 12px !important;
  color: #2c2c2c;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: 28px !important;
  line-height: 1.16;
}

.te-about-page a {
  color: #b8572a;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 87, 42, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.te-about-page a:hover {
  color: #8e3f1c;
  border-bottom-color: rgba(142, 63, 28, 0.42);
}

.te-about-page .wp-block-columns {
  gap: 20px !important;
  align-items: stretch !important;
}

.te-about-page .wp-block-column {
  min-width: 0;
}

.te-about-page .wp-block-column > .wp-block-group.has-white-background-color {
  height: 100%;
  border: 1px solid #e7dfd5;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.te-about-page .wp-block-column > .wp-block-group.has-white-background-color > p:first-child {
  margin-bottom: 8px !important;
  font-family: "DM Serif Display", Georgia, serif !important;
  line-height: 1 !important;
}

.te-about-page ul {
  margin: 0 0 24px 1.2em;
  padding: 0;
}

.te-about-page li + li {
  margin-top: 8px;
}

.te-about-page ul li::marker {
  color: #b8572a;
}

.te-about-page .wp-block-list strong,
.te-about-page p strong {
  color: #2c2c2c;
}

.te-about-page .wp-block-columns + h2,
.te-about-page ul + h2,
.te-about-page p + h2 {
  scroll-margin-top: 110px;
}

.te-about-page hr,
.te-about-page .wp-block-separator {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
  border-color: #e5ddd3 !important;
}

.te-about-page .wp-block-image img {
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.te-about-page .wp-block-image figcaption {
  margin-top: 10px;
  color: #7a6a5d;
  font-size: 13px;
  text-align: center;
}

/* =========================
   HOME TAXONOMY
   ========================= */
.te-home-taxonomy {
  margin-top: 48px;
  margin-bottom: 8px;
}

.te-home-taxonomy__eyebrow {
  margin: 0 0 10px !important;
  color: #8e3f1c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.te-home-taxonomy__title {
  margin: 0 0 12px !important;
  color: #1f2b44;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: clamp(34px, 4vw, 46px) !important;
  line-height: 1.08 !important;
}

.te-home-taxonomy__lead {
  margin: 0 0 28px !important;
  max-width: 62ch;
  color: #4b4b4b;
  font-size: 17px;
  line-height: 1.75;
}

.te-home-taxonomy .wp-block-columns {
  gap: 18px !important;
}

.te-home-taxonomy-card {
  height: 100%;
  padding: 26px !important;
  border-radius: 20px;
  border: 1px solid #e6ddd2;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.te-home-taxonomy-card--featured {
  background: linear-gradient(135deg, #2c2c2c 0%, #33402a 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.te-home-taxonomy-card__badge {
  margin: 0 0 10px !important;
  color: #8e3f1c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.te-home-taxonomy-card--featured .te-home-taxonomy-card__badge {
  color: rgba(255, 255, 255, 0.92);
}

.te-home-taxonomy-card__title {
  margin: 0 0 10px !important;
  color: #1f2b44;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: 30px !important;
  line-height: 1.12 !important;
}

.te-home-taxonomy-card--featured .te-home-taxonomy-card__title {
  color: #ffffff;
}

.te-home-taxonomy-card__desc {
  margin: 0 0 18px !important;
  color: #33415c;
  font-size: 16px;
  line-height: 1.7;
}

.te-home-taxonomy-card--featured .te-home-taxonomy-card__desc {
  color: rgba(255, 255, 255, 0.88);
}

.te-home-taxonomy__subhead {
  margin: 10px 0 14px !important;
  color: #5f5145;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.te-home-taxonomy-card--secondary {
  padding: 22px !important;
  background: rgba(250, 246, 241, 0.98);
}

.te-home-taxonomy-card--secondary .te-home-taxonomy-card__title {
  font-size: 24px !important;
}

.te-home-taxonomy-card--secondary .te-home-taxonomy-card__desc {
  margin-bottom: 12px !important;
  font-size: 15px;
}

.te-home-taxonomy-card__link {
  margin: 0 !important;
}

.te-home-taxonomy-card__link a,
.te-home-taxonomy .wp-block-button__link {
  text-decoration: none !important;
}

.te-home-taxonomy-card__link a {
  color: #b8572a;
  font-weight: 700;
  border-bottom: 1px solid rgba(184, 87, 42, 0.22);
}

.te-home-taxonomy-card__link a:hover {
  color: #8e3f1c;
  border-bottom-color: rgba(142, 63, 28, 0.42);
}

@media (max-width: 900px) {
  .te-home-taxonomy__title {
    font-size: 38px !important;
  }

  .te-home-taxonomy-card__title {
    font-size: 28px !important;
  }
}

@media (max-width: 781px) {
  .te-about-page .wp-block-columns {
    gap: 16px !important;
  }

  .te-about-page .wp-block-column > .wp-block-group.has-white-background-color {
    padding: 20px !important;
  }

  .te-home-taxonomy .wp-block-columns {
    gap: 16px !important;
  }
}

@media (max-width: 600px) {
  .te-about-page h1 {
    font-size: 42px !important;
  }

  .te-about-page h2 {
    font-size: 30px !important;
  }

  .te-about-page h3 {
    font-size: 24px !important;
  }

  .te-about-page p,
  .te-about-page li {
    font-size: 16px;
  }

  .te-about-page .has-large-font-size,
  .te-about-page p.has-large-font-size {
    font-size: 18px !important;
  }

  .te-home-taxonomy {
    margin-top: 36px;
  }

  .te-home-taxonomy__title {
    font-size: 32px !important;
  }

  .te-home-taxonomy__lead {
    font-size: 16px;
  }

  .te-home-taxonomy-card,
  .te-home-taxonomy-card--secondary {
    padding: 20px !important;
    border-radius: 18px;
  }

  .te-home-taxonomy-card__title {
    font-size: 26px !important;
  }
}

/* Front-end polish v2.4.0 */
.wp-block-group.alignfull.te-home-newsletter > .wp-block-group__inner-container,
.te-home-newsletter > .wp-block-group__inner-container,
.te-home-newsletter__card,
.te-guides-metric-card,
.te-guides-next-step,
.te-guides-start-card,
.te-contact-page .contact-form,
.te-about-page .wp-block-column > .wp-block-group.has-white-background-color,
.te-home-taxonomy-card,
.te-home-taxonomy-card--featured,
.te-home-taxonomy-card--secondary {
  border-radius: 8px !important;
  border: 1px solid rgba(44, 44, 44, 0.08);
  box-shadow: 0 14px 30px rgba(31, 43, 68, 0.08);
}

.wp-block-group.alignfull.te-home-newsletter > .wp-block-group__inner-container,
.te-home-newsletter > .wp-block-group__inner-container {
  padding: 42px clamp(20px, 4vw, 38px) !important;
}

.te-home-newsletter__card,
.te-guides-start-card,
.te-contact-page .contact-form,
.te-about-page .wp-block-column > .wp-block-group.has-white-background-color,
.te-home-taxonomy-card,
.te-home-taxonomy-card--featured,
.te-home-taxonomy-card--secondary {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.te-home-newsletter .mailpoet_text,
.te-home-newsletter .mailpoet_textarea,
.te-home-newsletter .mailpoet_select,
.te-home-newsletter .mailpoet_form input[type="text"],
.te-home-newsletter .mailpoet_form input[type="email"],
.te-home-newsletter .mailpoet_submit {
  border-radius: 8px !important;
}

.te-guides-metric-card {
  padding: 26px !important;
}

.te-guides-next-step {
  padding: 38px 26px !important;
}

.te-guides-start-card {
  padding: 26px !important;
}

.te-contact-page .contact-form {
  padding: 32px !important;
}

.te-contact-page .contact-form input[type="text"],
.te-contact-page .contact-form input[type="email"],
.te-contact-page .contact-form textarea,
.te-contact-page .contact-form select,
.te-contact-page .grunion-field-wrap input[type="text"],
.te-contact-page .grunion-field-wrap input[type="email"],
.te-contact-page .grunion-field-wrap textarea,
.te-contact-page .grunion-field-wrap select {
  border-radius: 8px !important;
  background: #fcfbf9 !important;
}

.te-contact-page .contact-form input[type="submit"],
.te-contact-page .contact-form button,
.te-contact-page .pushbutton-wide {
  border-radius: 8px !important;
  box-shadow: 0 12px 24px rgba(181, 102, 48, 0.24);
}

.te-about-page .wp-block-image img {
  border-radius: 8px !important;
}

.te-home-taxonomy-card__link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    color 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease;
}

.te-home-taxonomy-card__link a::after {
  content: '->';
  font-size: 12px;
  transition: transform 0.24s ease;
}

@media (min-width: 1025px) {
  .te-home-newsletter__card:hover,
  .te-guides-metric-card:hover,
  .te-guides-start-card:hover,
  .te-contact-page .contact-form:hover,
  .te-about-page .wp-block-column > .wp-block-group.has-white-background-color:hover,
  .te-home-taxonomy-card:hover,
  .te-home-taxonomy-card--featured:hover,
  .te-home-taxonomy-card--secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(31, 43, 68, 0.12);
  }

  .te-home-taxonomy-card:hover .te-home-taxonomy-card__link a::after,
  .te-home-taxonomy-card--featured:hover .te-home-taxonomy-card__link a::after,
  .te-home-taxonomy-card--secondary:hover .te-home-taxonomy-card__link a::after {
    transform: translateX(3px);
  }
}

@media (max-width: 600px) {
  .wp-block-group.alignfull.te-home-newsletter > .wp-block-group__inner-container,
  .te-home-newsletter > .wp-block-group__inner-container,
  .te-guides-metric-card,
  .te-guides-next-step,
  .te-guides-start-card,
  .te-contact-page .contact-form,
  .te-about-page .wp-block-column > .wp-block-group.has-white-background-color,
  .te-home-taxonomy-card,
  .te-home-taxonomy-card--secondary {
    padding: 20px !important;
  }
}

/* Responsive system v2.5.1 */
@supports (container-type: inline-size) {
  .wp-block-group.alignfull.te-home-newsletter > .wp-block-group__inner-container,
  .te-home-newsletter > .wp-block-group__inner-container,
  .te-home-newsletter__card {
    container-type: inline-size;
  }

  @container (max-width: 30rem) {
    .te-home-newsletter__card h3 {
      font-size: clamp(1.7rem, 8cqi, 2rem) !important;
      line-height: 1.12 !important;
    }

    .te-home-newsletter .mailpoet_submit {
      width: 100%;
      min-height: 52px !important;
      justify-content: center;
    }
  }
}

@media (max-width: 600px) {
  .te-guides-metric-card,
  .te-guides-next-step,
  .te-guides-start-card,
  .te-contact-page .contact-form,
  .te-home-taxonomy-card,
  .te-home-taxonomy-card--secondary {
    padding: 20px !important;
  }

  .te-home-taxonomy-card__link a,
  .te-contact-page .contact-form input[type="submit"],
  .te-contact-page .contact-form button,
  .te-contact-page .pushbutton-wide {
    min-height: 52px !important;
  }
}

/* Home fine-tuning v2.5.4 */
.home .te-section-title,
.home .te-home-taxonomy__title,
.home .te-home-taxonomy-card__title,
.home .te-guide-card__title,
.home .te-hero-title {
  text-wrap: balance;
}

.home .te-subtitle,
.home .te-home-taxonomy__lead {
  max-width: 62ch;
}

.home .te-hero .wp-block-buttons,
.home .te-strip .wp-block-buttons,
.home .te-section .wp-block-buttons,
.home .te-home-taxonomy .wp-block-buttons {
  gap: 12px !important;
  row-gap: 12px !important;
}

.home .te-hero .wp-block-button,
.home .te-strip .wp-block-button,
.home .te-section .wp-block-button,
.home .te-home-taxonomy .wp-block-button {
  margin: 0 !important;
}

.home .te-hero .wp-block-button__link,
.home .te-strip__btn .wp-block-button__link,
.home .te-btn-primary .wp-block-button__link,
.home .te-btn-outline .wp-block-button__link,
.home .te-home-taxonomy .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: normal !important;
}

.home .te-btn-primary .wp-block-button__link {
  box-shadow: 0 10px 22px rgba(184, 87, 42, 0.14);
}

.home .te-btn-outline .wp-block-button__link,
.home .te-strip__btn .wp-block-button__link {
  background: rgba(255, 255, 255, 0.82) !important;
}

.home .te-strip > .wp-block-columns {
  gap: 16px !important;
  align-items: center !important;
}

.home .te-strip__label {
  line-height: 1.55;
}

.home .te-section .wp-block-buttons.te-mt-xl {
  margin-top: 24px !important;
}

.home .te-latest-posts.wp-block-latest-posts {
  gap: 18px !important;
}

.home .te-latest-posts li {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home .te-latest-posts .wp-block-latest-posts__featured-image {
  order: 1;
  aspect-ratio: 16 / 10;
  background: #efe7dc;
}

.home .te-latest-posts .wp-block-latest-posts__featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .te-latest-posts .wp-block-latest-posts__post-title {
  order: 2;
  padding-top: 14px;
}

.home .te-latest-posts .wp-block-latest-posts__post-excerpt {
  order: 3;
  padding-top: 10px;
}

.home .te-latest-posts .wp-block-latest-posts__post-date {
  order: 4;
  margin-top: auto;
  padding-top: 14px;
  color: #7a6a5d;
}

.home .te-guides-row .wp-block-column,
.home .te-home-taxonomy .wp-block-column {
  display: flex;
}

.home .te-guide-card,
.home .te-home-taxonomy-card,
.home .te-home-taxonomy-card--featured,
.home .te-home-taxonomy-card--secondary {
  width: 100%;
}

.home .te-guide-card > .wp-block-group__inner-container,
.home .te-home-taxonomy-card > .wp-block-group__inner-container,
.home .te-home-taxonomy-card--featured > .wp-block-group__inner-container,
.home .te-home-taxonomy-card--secondary > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home .te-guide-card__desc {
  margin-bottom: 16px;
}

.home .te-guide-card__link,
.home .te-home-taxonomy-card__link,
.home .te-home-taxonomy .wp-block-buttons {
  margin-top: auto !important;
}

.home .te-guide-card__link a,
.home .te-home-taxonomy-card__link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 2px;
}

@media (max-width: 767px) {
  .home .te-hero .wp-block-buttons,
  .home .te-section .wp-block-buttons.te-mt-xl {
    width: 100%;
  }

  .home .te-hero .wp-block-button,
  .home .te-section .wp-block-buttons.te-mt-xl .wp-block-button {
    width: 100%;
  }

  .home .te-hero .wp-block-button__link,
  .home .te-section .wp-block-buttons.te-mt-xl .wp-block-button__link {
    width: 100%;
  }

  .home .te-latest-posts.wp-block-latest-posts {
    gap: 16px !important;
  }
}

/* Home refinement v2.5.20 */
.home .te-hero {
  margin-bottom: 0 !important;
}

.home .te-hero > .wp-block-group__inner-container {
  padding: clamp(22px, 4vw, 34px) !important;
}

.home .te-hero > .wp-block-group__inner-container > .wp-block-columns {
  align-items: center !important;
  gap: clamp(20px, 4vw, 42px) !important;
}

.home .te-hero > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column:first-child {
  max-width: 34rem;
}

.home .te-hero > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home .te-hero .te-overline {
  margin-bottom: 10px !important;
}

.home .te-hero .te-hero-title {
  margin-bottom: 14px !important;
}

.home .te-hero .te-subtitle {
  margin-bottom: 20px !important;
  max-width: 58ch;
}

.home .te-hero .te-hero-image,
.home .te-hero figure.te-hero-image {
  width: min(100%, 420px);
  aspect-ratio: 4 / 3;
  min-height: 0;
  max-height: none;
  margin: 0 auto !important;
}

.home .te-hero .te-hero-image picture,
.home .te-hero .te-hero-image img {
  width: 100%;
  height: 100%;
}

.home .te-hero .te-hero-image img {
  object-fit: cover;
}

.home .te-hero .wp-block-buttons {
  align-items: stretch !important;
}

.home .te-hero .wp-block-button__link,
.home .te-strip__btn .wp-block-button__link,
.home .te-btn-primary .wp-block-button__link,
.home .te-btn-outline .wp-block-button__link,
.home .te-home-taxonomy .wp-block-button__link {
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

.home .te-btn-outline .wp-block-button__link,
.home .te-strip__btn .wp-block-button__link {
  border-width: 1px !important;
  box-shadow: inset 0 0 0 1px rgba(44, 44, 44, 0.06);
}

.home .te-strip > .wp-block-group__inner-container > .wp-block-columns {
  display: flex;
  align-items: center !important;
  justify-content: space-between;
  gap: 18px !important;
  padding: 18px 22px !important;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(44, 44, 44, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(31, 43, 68, 0.06);
}

.home .te-strip__label {
  margin: 0 !important;
  color: #2f241d;
  font-weight: 600;
}

.home .te-strip,
.home .te-strip p,
.home .te-strip .wp-block-column > p,
.home .te-strip__label,
.home .te-strip__label strong,
.home .te-strip strong {
  color: #231913 !important;
}

.home .te-strip strong {
  font-weight: 700 !important;
}

.home .te-section {
  position: relative;
}

.home .te-section .wp-block-group__inner-container {
  gap: 0 !important;
}

.home .te-section-title {
  margin-bottom: 10px !important;
}

.home .te-latest-posts.wp-block-latest-posts {
  gap: 20px !important;
}

.home .te-latest-posts.wp-block-latest-posts li {
  overflow: hidden;
  padding-bottom: 20px;
}

.home .te-latest-posts .wp-block-latest-posts__featured-image {
  width: 100%;
  margin: 0 !important;
}

.home .te-latest-posts .wp-block-latest-posts__featured-image a {
  display: block !important;
  width: 100%;
}

.home .te-latest-posts .wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
}

.home .te-latest-posts .wp-block-latest-posts__post-title {
  margin: 0;
  padding-top: 16px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.25;
}

.home .te-latest-posts .wp-block-latest-posts__post-title a {
  color: #2c2c2c;
  text-decoration: none;
}

.home .te-latest-posts .wp-block-latest-posts__post-excerpt {
  margin: 0;
  padding-top: 10px;
  color: #64574c;
  line-height: 1.65;
}

.home .te-latest-posts .wp-block-latest-posts__post-date {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home .te-guides-row,
.home .te-home-taxonomy .wp-block-columns {
  align-items: stretch !important;
}

.home .te-guide-card,
.home .te-home-taxonomy-card,
.home .te-home-taxonomy-card--featured,
.home .te-home-taxonomy-card--secondary {
  overflow: hidden;
}

.home .te-guide-card > .wp-block-group__inner-container,
.home .te-home-taxonomy-card > .wp-block-group__inner-container,
.home .te-home-taxonomy-card--featured > .wp-block-group__inner-container,
.home .te-home-taxonomy-card--secondary > .wp-block-group__inner-container {
  gap: 0;
  padding-top: 14px;
}

.home .te-guide-card__title,
.home .te-home-taxonomy-card__title {
  margin-bottom: 10px !important;
}

.home .te-guide-card__desc,
.home .te-home-taxonomy-card__desc {
  color: #64574c;
  line-height: 1.65;
}

.home .te-guide-card__link,
.home .te-home-taxonomy-card__link {
  padding-top: 6px;
}

.home .te-guide-card__link a,
.home .te-home-taxonomy-card__link a {
  min-height: 44px;
  padding: 8px 0 4px;
  font-weight: 700;
}

.home .te-home-taxonomy .wp-block-buttons {
  justify-content: flex-start;
}

.home .te-home-taxonomy .wp-block-button {
  width: auto;
}

@media (max-width: 900px) {
  .home .te-strip > .wp-block-group__inner-container > .wp-block-columns {
    padding: 16px 18px !important;
  }

  .home .te-strip > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
  }
}

@media (max-width: 767px) {
  .home .te-hero > .wp-block-group__inner-container {
    padding: 20px !important;
  }

  .home .te-hero > .wp-block-group__inner-container > .wp-block-columns {
    gap: 18px !important;
  }

  .home .te-hero .te-subtitle {
    margin-bottom: 18px !important;
  }

  .home .te-hero .te-hero-image,
  .home .te-hero figure.te-hero-image {
    width: min(100%, 280px);
    max-width: 280px;
    aspect-ratio: 8 / 5;
  }

  .home .te-strip > .wp-block-group__inner-container > .wp-block-columns {
    gap: 14px !important;
    padding: 16px !important;
  }

  .home .te-strip__btn {
    width: 100%;
  }

  .home .te-strip__btn .wp-block-button__link {
    width: 100%;
  }

  .home .te-latest-posts.wp-block-latest-posts li {
    padding-bottom: 18px;
  }

  .home .te-home-taxonomy .wp-block-buttons {
    width: 100%;
  }

  .home .te-home-taxonomy .wp-block-button,
  .home .te-home-taxonomy .wp-block-button__link {
    width: 100%;
  }
}

/* Mobile-first refinement v2.5.26 */
@supports (container-type: inline-size) {
  .home .te-latest-posts li,
  .home .te-guide-card,
  .home .te-home-taxonomy-card,
  .home .te-home-taxonomy-card--featured,
  .home .te-home-taxonomy-card--secondary,
  .te-home-newsletter__card,
  .te-contact-page .contact-form {
    container-type: inline-size;
  }

  @container (max-width: 420px) {
    .home .te-guide-card > .wp-block-group__inner-container,
    .home .te-home-taxonomy-card > .wp-block-group__inner-container,
    .home .te-home-taxonomy-card--featured > .wp-block-group__inner-container,
    .home .te-home-taxonomy-card--secondary > .wp-block-group__inner-container,
    .te-home-newsletter__card,
    .te-contact-page .contact-form {
      padding: 18px !important;
    }

    .home .te-guide-card__link a,
    .home .te-home-taxonomy-card__link a,
    .te-home-newsletter .mailpoet_submit,
    .te-contact-page .contact-form input[type="submit"],
    .te-contact-page .contact-form button,
    .te-contact-page .pushbutton-wide {
      width: 100% !important;
      justify-content: center !important;
    }
  }
}

@media (max-width: 767px) {
  :root {
    --te-mobile-gutter-left: max(16px, env(safe-area-inset-left));
    --te-mobile-gutter-right: max(16px, env(safe-area-inset-right));
    --te-mobile-gutter-bottom: max(16px, env(safe-area-inset-bottom));
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .content-container,
  .site-container,
  .home .te-hero > .wp-block-group__inner-container,
  .site-footer .footer-widget-area,
  .single .entry-content-wrap,
  .single .entry-content {
    padding-left: var(--te-mobile-gutter-left) !important;
    padding-right: var(--te-mobile-gutter-right) !important;
  }

  .site-header-main-section-left,
  .site-header-main-section-right,
  .site-branding {
    min-height: 56px;
  }

  .site-title,
  .site-branding .site-title {
    font-size: clamp(1rem, 3.8vw, 1.12rem) !important;
  }

  .home .te-hero .te-hero-title,
  .home .te-section-title,
  .home .te-home-taxonomy__title,
  .home .te-guide-card__title,
  .home .te-home-taxonomy-card__title,
  .loop-entry .entry-title,
  .single .entry-title,
  .te-contact-page h1,
  .te-home-newsletter__title {
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .home .te-hero .te-hero-title {
    font-size: clamp(1.9rem, 7.4vw, 2.35rem) !important;
    line-height: 1.08 !important;
  }

  .home .te-subtitle,
  .home .te-home-taxonomy__lead,
  .loop-entry .entry-summary p,
  .single .entry-content p,
  .single .entry-content li,
  .te-contact-page p,
  .te-contact-page li {
    font-size: clamp(1rem, 3.7vw, 1.06rem) !important;
    line-height: 1.7 !important;
  }

  .header-navigation .menu > li > a,
  #primary-navigation .menu > li > a,
  .main-navigation .menu > li > a,
  .mobile-navigation .menu > li > a,
  .mobile-navigation ul li a,
  button.menu-toggle-open,
  .menu-toggle-open,
  .mobile-toggle-open-container .menu-toggle-open,
  .mobile-nav-toggle,
  .search-toggle-open,
  .search-toggle-open-container,
  .pagination .page-numbers,
  .nav-links .page-numbers,
  .wp-block-button__link,
  .te-home-newsletter .mailpoet_submit,
  .te-contact-page .contact-form input[type="submit"],
  .te-contact-page .contact-form button,
  .te-contact-page .pushbutton-wide {
    min-height: 48px !important;
  }

  .te-home-newsletter .mailpoet_text,
  .te-home-newsletter .mailpoet_textarea,
  .te-home-newsletter .mailpoet_select,
  .te-home-newsletter .mailpoet_form input[type="text"],
  .te-home-newsletter .mailpoet_form input[type="email"],
  .te-contact-page .contact-form input[type="text"],
  .te-contact-page .contact-form input[type="email"],
  .te-contact-page .contact-form textarea,
  .te-contact-page .contact-form select,
  .te-contact-page .grunion-field-wrap input[type="text"],
  .te-contact-page .grunion-field-wrap input[type="email"],
  .te-contact-page .grunion-field-wrap textarea,
  .te-contact-page .grunion-field-wrap select {
    min-height: 52px !important;
    font-size: 16px !important;
  }

  .home .te-latest-posts .wp-block-latest-posts__featured-image,
  body.blog .item-image-style-beside .post-thumbnail,
  .single .post-thumbnail {
    aspect-ratio: 16 / 10;
  }

  .home .te-latest-posts .wp-block-latest-posts__featured-image img,
  body.blog .item-image-style-beside .post-thumbnail img,
  .single .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .single .entry-content table,
  .single .entry-content pre,
  .single .entry-content figure.wp-block-table,
  body.search-results .search-form,
  #search-drawer .drawer-content .search-form {
    max-width: 100%;
  }

  .single .entry-content pre,
  .single .entry-content table,
  .single .entry-content figure.wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .single .entry-content iframe,
  .single .entry-content img,
  .single .entry-content table {
    max-width: 100%;
  }

  [id] {
    scroll-margin-top: 92px;
  }

  .site-footer .footer-widget-area {
    padding-bottom: calc(28px + var(--te-mobile-gutter-bottom)) !important;
  }
}

@media (pointer: coarse) {
  .wp-block-button__link,
  .pagination .page-numbers,
  .nav-links .page-numbers,
  .mobile-navigation .menu > li > a,
  .mobile-navigation ul li a,
  button.menu-toggle-open,
  .menu-toggle-open,
  .mobile-toggle-open-container .menu-toggle-open,
  .mobile-nav-toggle,
  .search-toggle-open,
  .search-toggle-open-container {
    min-width: 48px;
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
