.mtfbdm-shell {
  --mtfbdm-bg: transparent;
  --mtfbdm-card: #f3f3f3;
  --mtfbdm-ink: #002943;
  --mtfbdm-copy: #2b2b2b;
  --mtfbdm-accent: #f57a1f;
  --mtfbdm-border: #143253;
  background: var(--mtfbdm-bg);
  padding: 0 24px 110px;
}

.mtfbdm-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.mtfbdm-header-block {
  text-align: center;
  margin-bottom: 38px;
}

.mtfbdm-heading {
  margin: 0 0 20px;
  font-family: "Railroad", Sans-serif;
  font-size: clamp(56px, 6vw, 84px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--mtfbdm-ink);
}

.mtfbdm-subheading {
  margin: 0;
  font-family: "Aktiv Grotesk", Sans-serif;
  font-size: 19px;
  line-height: 1.35;
  color: var(--mtfbdm-copy);
}

.mtfbdm-search-form {
  max-width: 530px;
  margin: 0 auto 54px;
  display: flex;
  flex-direction: column;
}


 .mtfbdm-postcode-row,
.mtfbdm-product-row {
  position: relative;
}

.mtfbdm-postcode-row {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--mtfbdm-border);
  border-radius: 999px;
  overflow: hidden;
  background: #ececec;
}

.mtfbdm-postcode-input,
.mtfbdm-product-select {
  width: 100%;
  min-width: 0;
  border: 0;
  box-shadow: none;
  font-family: "Aktiv Grotesk", Sans-serif;
  font-size: 18px;
  line-height: 1.2;
  color: var(--mtfbdm-copy);
  background: transparent;
}

.mtfbdm-postcode-input {
  padding: 0 28px;
  height: 58px;
}

.mtfbdm-postcode-input::placeholder {
  color: #6e6e6e;
}

.mtfbdm-postcode-input:focus,
.mtfbdm-product-select:focus {
  outline: none;
}

.mtfbdm-submit-button {
  flex: 0 0 144px;
  border: 0;
  border-radius: 999px;
  background: #0f2c4f;
  color: #ffffff;
  font-family: "Aktiv Grotesk", Sans-serif;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mtfbdm-submit-button:hover,
.mtfbdm-submit-button:focus {
  opacity: 0.92;
  transform: translateY(-1px);
}

.mtfbdm-product-row {
  margin-bottom: 16px;
}

.mtfbdm-product-row::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--mtfbdm-border);
  border-bottom: 2px solid var(--mtfbdm-border);
  transform: rotate(45deg);
  pointer-events: none;
}

.mtfbdm-product-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 54px 0 28px;
  height: 58px;
  border: 2px solid var(--mtfbdm-border);
  border-radius: 999px;
  background: #ececec;
}

.mtfbdm-feedback {
  min-height: 28px;
  margin: 0 auto 26px;
  text-align: center;
  font-family: "Aktiv Grotesk", Sans-serif;
  font-size: 17px;
  line-height: 1.4;
  color: var(--mtfbdm-copy);
}

.mtfbdm-feedback--error {
  color: #9d2f1b;
}

.mtfbdm-results {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.mtfbdm-card {
  width: min(100%, 920px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 42px;
  padding: 42px 40px;
  background: var(--mtfbdm-card);
  border-radius: 28px;
}

.mtfbdm-card--offset-left {
  margin-right: auto;
}

.mtfbdm-card--offset-right {
  margin-left: auto;
}

.mtfbdm-card-content {
  order: 1;
}

.mtfbdm-card-media-wrap {
  order: 2;
}

.mtfbdm-card-name {
  margin: 0 0 18px;
  font-family: "Argent", Sans-serif;
  font-size: clamp(32px, 3vw, 54px);
  line-height: 0.98;
  font-weight: 400;
  color: var(--mtfbdm-ink);
}

.mtfbdm-card-title,
.mtfbdm-card-national,
.mtfbdm-card-products,
.mtfbdm-card-contact,
.mtfbdm-card-bio {
  font-family: "Aktiv Grotesk", Sans-serif;
  color: var(--mtfbdm-copy);
}

.mtfbdm-card-title {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.mtfbdm-card-national,
.mtfbdm-card-products {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
}

.mtfbdm-card-national {
  color: var(--mtfbdm-ink);
}

.mtfbdm-card-products {
  color: #4d4d4d;
}

.mtfbdm-card-contact-block {
  margin: 0 0 28px;
}

.mtfbdm-card-contact {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.mtfbdm-card-contact a {
  color: inherit;
  text-decoration: none;
}

.mtfbdm-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.mtfbdm-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 220px);
  min-width: 186px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-family: "Aktiv Grotesk", Sans-serif;
  font-size: 17px;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mtfbdm-card-button:hover,
.mtfbdm-card-button:focus {
  transform: translateY(-1px);
  opacity: 0.95;
}

.mtfbdm-card-button--solid {
  background: var(--mtfbdm-accent);
  border: 1px solid var(--mtfbdm-accent);
  color: #ffffff;
}

.mtfbdm-card-button--outline {
  background: transparent;
  border: 1.5px solid var(--mtfbdm-accent);
  color: var(--mtfbdm-accent);
}

.mtfbdm-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border-radius: 0;
  background: #e2e2e2;
}

.mtfbdm-card-media--placeholder {
  background: linear-gradient(135deg, #e6e6e6 0%, #d6d6d6 100%);
}

@media (max-width: 1024px) {
  .mtfbdm-shell {
    padding: 0 24px 88px;
  }

  .mtfbdm-heading {
    font-size: clamp(48px, 9vw, 72px);
  }

  .mtfbdm-card,
  .mtfbdm-card--offset-left,
  .mtfbdm-card--offset-right {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .mtfbdm-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 34px 36px;
  }

  .mtfbdm-card-media-wrap {
    order: 1;
  }

  .mtfbdm-card-content {
    order: 2;
  }

  .mtfbdm-card-media {
    max-width: 460px;
    margin: 0 auto;
    aspect-ratio: 1.24 / 1;
  }
}

@media (max-width: 767px) {
  .mtfbdm-shell {
    padding: 0 16px 68px;
  }

  .mtfbdm-header-block {
    margin-bottom: 28px;
  }

  .mtfbdm-heading {
    margin-bottom: 18px;
    font-size: clamp(38px, 13vw, 66px);
  }

  .mtfbdm-subheading {
    font-size: 16px;
  }

  .mtfbdm-search-form {
    margin-bottom: 34px;
  }

  .mtfbdm-postcode-row {
    min-height: 54px;
  }

  .mtfbdm-postcode-input,
  .mtfbdm-product-select {
    font-size: 17px;
  }

  .mtfbdm-postcode-input {
    padding: 0 18px;
    height: 54px;
  }

  .mtfbdm-submit-button {
    flex-basis: 132px;
    font-size: 17px;
  }

  .mtfbdm-product-select {
    height: 54px;
    padding: 0 46px 0 18px;
  }

  .mtfbdm-product-row {
    margin-bottom: 12px;
  }

  .mtfbdm-feedback {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .mtfbdm-results {
    gap: 28px;
  }

  .mtfbdm-card {
    padding: 24px 18px 28px;
    border-radius: 26px;
    gap: 18px;
  }

  .mtfbdm-card-media {
    max-width: 100%;
  }

  .mtfbdm-card-name {
    margin-bottom: 14px;
    font-size: clamp(28px, 8vw, 46px);
  }

  .mtfbdm-card-title {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .mtfbdm-card-contact-block {
    margin-bottom: 22px;
  }

  .mtfbdm-card-contact {
    font-size: 16px;
  }

  .mtfbdm-card-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mtfbdm-card-button {
    width: min(100%, 304px);
    min-height: 54px;
    font-size: 16px;
  }
}
