.mte-wrap {
  --mte-accent: #e7352b;
  --mte-border: #efb27f;
  --mte-soft-red: #fde5e3;
  --mte-text: #111827;
  --mte-muted: #263244;
  width: 100%;
  border: 1px solid var(--mte-border);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.mte-wrap *,
.mte-wrap *::before,
.mte-wrap *::after {
  box-sizing: border-box;
}

.mte-desktop {
  display: grid;
  grid-template-columns: minmax(330px, 33%) minmax(0, 67%);
  gap: 24px;
  padding: 20px;
}

.mte-left {
  padding: 6px 0 8px;
}

.mte-section-title {
  margin: 4px 0 28px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
}

.mte-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mte-tab {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 14px;
  padding: 13px 14px;
  text-align: left;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
  font: inherit;
}

.mte-tab:hover {
  background: #fffafa;
}

.mte-tab.is-active {
    background: #FAF8F5 !important;
    border: 1px solid #DFC6A9 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
.mte-tabs button {
    flex-direction: row !important;
    display: flex !important;
    background: transparent !important;
    text-align: left;
/*     align-items: center; */
	 border: 1px solid #fff !important;
}
.mte-number {
    width: 35px;
    height: 24px;
    border-radius: 6px;
    background: var(--mte-soft-red);
    color: var(--mte-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    flex: 0 0 24px;
    margin-top: 1px;
    padding: 0 10px;
}

.mte-tab-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mte-tab-title,
.mte-accordion-title {
  display: block;
  color: var(--mte-accent);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.mte-tab-subtitle,
.mte-accordion-subtitle {
  display: block;
  color: var(--mte-text);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
	text-wrap: wrap;
}

.mte-right {
  min-width: 0;
}

.mte-panel {
  height: 100%;
}

.mte-panel[hidden] {
  display: none !important;
}

.mte-panel-image {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #e3e5ea;
}

.mte-panel-image img {
  display: block;
  width: 100%;
  height: 505px;
  object-fit: cover;
  object-position: center;
}

.mte-panel-body {
    padding: 20px 0 8px;
    margin: 15px 0 !important;
}

.mte-panel-heading {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
}

.mte-panel-copy {
  color: #334155;
  font-size: 16px;
  line-height: 1.65;
}

.mte-panel-copy > :first-child {
  margin-top: 0;
}

.mte-panel-copy > :last-child {
  margin-bottom: 0;
}

.mte-mobile {
  display: none;
}

.mte-accordion-item {
/*   border: 1px solid #ececec; */
  border-radius: 8px;
  overflow: hidden;
  background: #FAF8F5 !important;
  margin-bottom: 12px;
}

.mte-accordion-item.is-active {
	border:1px solid #DFC6A9 !important;
	background-color:#FAF8F5 !important;
	border-radius:12px !important;
}

.mte-accordion-trigger {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 14px;
  display: grid;
  grid-template-columns: 26px 1fr 20px;
  align-items: start;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.mte-accordion-icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid #b13838;
  border-bottom: 2px solid #b13838;
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin: 3px 3px 0 0;
}

.mte-accordion-item.is-active .mte-accordion-icon {
  transform: rotate(225deg);
  margin-top: 8px;
}

.mte-accordion-content[hidden] {
  display: none !important;
}

.mte-accordion-content {
  padding: 0 14px 16px;
}

.mte-mobile .mte-panel-image img {
  height: auto;
  min-height: 220px;
  max-height: 420px;
  object-fit: cover;
}

.mte-mobile .mte-panel-body {
  padding: 16px 0 0;
}


@media (max-width: 1024px) {
  .mte-desktop {
    grid-template-columns: minmax(280px, 36%) minmax(0, 64%);
  }
  .mte-panel-image img {
    height: 430px;
  }
}

/* JS adds .mte-is-mobile according to the widget's Elementor control. */
.mte-wrap.mte-is-mobile {
  padding: 16px;
}

.mte-wrap.mte-is-mobile .mte-desktop {
  display: none;
}

.mte-wrap.mte-is-mobile .mte-mobile {
  display: block;
}

.mte-wrap.mte-is-mobile .mte-section-title {
  margin: 2px 0 16px;
}

@media (max-width: 767px) {
	.mte-accordion-item button {
    flex-direction: row !important;
    display: flex !important;
    background: transparent !important;
    text-align: left;
    border: 1px solid #fff !important;
		width: 100%;
}
.mte-accordion-item button {
    flex-direction: row !important;
    display: flex !important;
    background: transparent !important;
    text-align: left;
    border: 1px solid #fff !important;
    width: 100%;
    position: relative;
    padding-right: 24px !important;
}	
	.mte-accordion-icon {
    width: 12px;
    height: 12px;
    border-right: 2px solid #b13838;
    border-bottom: 2px solid #b13838;
    transform: rotate(45deg);
    transition: transform .2s ease;
    margin: 3px 3px 0 0;
    position: absolute;
    right: 8px;
}
	.mte-accordion-item button span.mte-accordion-subtitle,span.mte-accordion-title {
    flex-wrap: wrap;
    display: flex;
    width: 100%;
    text-wrap: auto;
}
	
  .mte-wrap:not(.mte-breakpoint-js-ready) {
    padding: 16px;
  }
  .mte-wrap:not(.mte-breakpoint-js-ready) .mte-desktop {
    display: none;
  }
  .mte-wrap:not(.mte-breakpoint-js-ready) .mte-mobile {
    display: block;
  }
}

/* Mobile image override */
.mte-wrap.mte-is-mobile .mte-panel-image img { height: auto !important; min-height: 220px; max-height: 420px; object-fit: cover; }
