.vmpc {
  --vmpc-bg: #fffaf3;
  --vmpc-blue: #004e8e;
  --vmpc-blue-dark: #023e6f;
  --vmpc-text: #1f2933;
  --vmpc-meta: #4b5563;
  --vmpc-light-blue: #eaf2f9;
  --vmpc-border: #e5dfd8;
  --vmpc-orange: #fc8708;
  width: 100%;
  color: var(--vmpc-text);
  font-family: Inter, Arial, sans-serif;
}

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

.vmpc__inner {
  width: min(100%, 1250px);
  margin-inline: auto;
}

.vmpc__header { margin: 20px 0 28px; }

.vmpc__title,
.vmpc-category__title {
  margin: 0;
  color: var(--vmpc-blue-dark);
  font-family: Manrope, Inter, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.12;
}

.vmpc__title {
  color: var(--vmpc-blue) !important;
  font-family: Manrope, Inter, Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.vmpc__subtitle {
  margin: 4px 0 0;
  color: var(--vmpc-meta);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.vmpc__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 38px;
}

.vmpc-category { min-width: 0; }
.vmpc-category__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.vmpc-category__title { font-size: 24px; letter-spacing: -0.02em; }

.vmpc-category__link {
  flex: 0 0 auto;
  color: var(--vmpc-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.vmpc-category__link:hover { text-decoration: underline; }
.vmpc-category__link:focus-visible,
.vmpc-card__link:focus-visible,
.vmpc-cta-card:focus-visible { outline: 2px solid #0e6ba8; outline-offset: 3px; }

.vmpc-category__rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vmpc-card {
  min-width: 0;
  border: 1px solid var(--vmpc-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.vmpc-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.07); }
.vmpc-card--mobile-extra { display: none; }

.vmpc-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.vmpc-card__media { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3f7; }
.vmpc-card__img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: block;
  object-fit: cover !important;
  object-position: center 48% !important;
  background: #eef3f7;
}
.vmpc-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(145deg,#edf3f7,#dfe9f0); }
.vmpc-card__body { display: flex; padding: 10px 11px 11px; flex-direction: column; gap: 5px; }
.vmpc-card__title {
  color: var(--vmpc-blue-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vmpc-card__price { margin-top: 1px; color: var(--vmpc-blue-dark); font-size: 15px; line-height: 1.2; font-weight: 800; }
.vmpc-card__location { display: flex; align-items: center; gap: 5px; margin-top: 1px; padding-top: 0; color: var(--vmpc-meta); font-size: 12px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vmpc-card__location svg { width: 13px; height: 13px; flex: 0 0 auto; fill: var(--vmpc-blue-dark); }

.vmpc-cta-card { display: none; }
.vmpc-admin-message { padding: 12px 14px; border: 1px solid #d63638; background: #fff; color: #8a2424; }

@media (max-width: 767px) {
  .vmpc__inner { width: 100%; }
  .vmpc__header { padding-inline: 0; margin: 0 0 26px; }
  .vmpc__title { font-size: 20px !important; }
  .vmpc__subtitle { font-size: 14px; margin-top: 4px; }

  .vmpc__sections { display: block; }
  .vmpc-category + .vmpc-category { margin-top: 30px; }
  .vmpc-category__head { padding-inline: 16px; margin-bottom: 10px; }
  .vmpc-category__title { font-size: 20px; }
  .vmpc-category__link { font-size: 13px; }
  .vmpc-category__desktop-label { display: none; }

  .vmpc-category__rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 6px;
  }
  .vmpc-category__rail::-webkit-scrollbar { display: none; }

  .vmpc-card,
  .vmpc-cta-card {
    flex: 0 0 calc((100vw - 42px) / 2.15);
    width: calc((100vw - 42px) / 2.15);
    scroll-snap-align: start;
  }

  .vmpc-card--mobile-extra { display: block; }
  .vmpc-card__body { padding: 8px 9px 9px; gap: 4px; }
  .vmpc-card__title { font-size: 12px; }
  .vmpc-card__price { margin-top: 0; font-size: 13px; }
  .vmpc-card__location { padding-top: 0; font-size: 11px; }

  .vmpc-cta-card {
    display: flex;
    min-height: 100%;
    border: 1px solid #d7e4ef;
    border-radius: 8px;
    background: var(--vmpc-light-blue);
    color: var(--vmpc-blue-dark);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 18px 12px;
    text-align: center;
    font-weight: 800;
    line-height: 1.25;
  }
  .vmpc-cta-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 999px;
    background: var(--vmpc-orange);
    color: #fff;
    line-height: 1;
  }
  .vmpc-cta-card__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    overflow: visible;
  }
  .vmpc-cta-card__label { font-family: Manrope, Inter, Arial, sans-serif; font-size: 14px; }
}

@media (min-width: 768px) and (max-width: 1050px) {
  .vmpc__sections { gap: 38px 24px; }
  .vmpc-category__title { font-size: 21px; }
  .vmpc-card__title { font-size: 12px; }
  .vmpc-card__price { font-size: 13px; }
}
