/* AutoMart shop v1.5 — marketplace layout */

:root {
  --amvi-black: #000000;
  --amvi-text: #343434;
  --amvi-muted: #707070;
  --amvi-border: #e5e5e5;
  --amvi-page: #f5f5f5;
  --amvi-white: #ffffff;
  --amvi-link: #0066cc;
  --amvi-header-h: 60px;
  --amvi-radius: 8px;
  --amvi-card-shadow: 2px 2px 7px rgba(1, 1, 1, 0.15);
  --amvi-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body.amvi-shop--standalone {
  margin: 0;
  padding: 0;
  background: var(--amvi-white);
  color: var(--amvi-text);
  font-family: var(--amvi-font);
  -webkit-font-smoothing: antialiased;
}

body.amvi-shop--standalone *,
body.amvi-shop--standalone h1,
body.amvi-shop--standalone h2,
body.amvi-shop--standalone h3 {
  font-family: var(--amvi-font) !important;
}

body.amvi-shop--standalone #page,
body.amvi-shop--standalone .site-header,
body.amvi-shop--standalone .site-footer,
body.amvi-shop--standalone .footer-wrap,
body.amvi-shop--standalone .header-wrap {
  display: none !important;
}

.amvi-header {
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--amvi-header-h);
  background: var(--amvi-black);
  color: #fff;
}

.amvi-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.amvi-header__logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.amvi-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.amvi-header__nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.amvi-header__nav-link:hover,
.amvi-header__nav-link.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.amvi-header__search-wrap {
  margin-left: auto;
}

.amvi-header__search {
  width: 220px;
  height: 36px;
  border: 0;
  border-radius: 100px;
  padding: 0 14px 0 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23707070' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5.5'/%3E%3Cpath d='M11 11l3.5 3.5' stroke-linecap='round'/%3E%3C/svg%3E") 12px 50% no-repeat;
  font-size: 14px;
  color: var(--amvi-text);
}

.amvi-main {
  background: #f5f5f5;
  min-height: calc(100vh - var(--amvi-header-h) - 280px);
}

.amvi--shop {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

@media (min-width: 900px) {
  .amvi--shop {
    max-width: 1040px;
    padding: 28px 24px 80px;
  }
}

.amvi--shop img {
  filter: none !important;
  opacity: 1 !important;
}

.amvi-icon-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--amvi-text);
  cursor: pointer;
  flex-shrink: 0;
}

.amvi-icon-back svg {
  display: block;
}

.amvi-step-header {
  margin: 0 0 16px;
}

.amvi-step-header--back {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amvi-step-header--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.amvi-step-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--amvi-text);
  line-height: 1.35;
}

.amvi-step-sub {
  margin: 4px 0 0;
  color: var(--amvi-muted);
  font-size: 14px;
}

.amvi-brand-search-wrap {
  margin-bottom: 16px;
}

.amvi-brand-search {
  display: block;
  width: 100%;
  max-width: 471px;
  height: 48px;
  border: 1px solid #707070;
  border-radius: 100px;
  padding: 12px 16px 12px 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23707070' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M12.5 12.5L16 16' stroke-linecap='round'/%3E%3C/svg%3E") 16px 50% no-repeat;
  font-size: 16px;
  color: var(--amvi-text);
}

.amvi-brand-search::placeholder {
  color: var(--amvi-muted);
}

.amvi-brand-search:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
}

.amvi-brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 720px) {
  .amvi-brand-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.amvi-brand-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 16px 20px;
  background: var(--amvi-white);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--amvi-text);
}

.amvi-brand-tile:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.amvi-brand-tile__logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 88px;
  margin: 0;
  flex-shrink: 0;
}

.amvi-brand-tile__logo {
  max-width: 88px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.amvi-brand-tile__fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  font-size: 18px;
  font-weight: 700;
  color: var(--amvi-muted);
}

.amvi-brand-tile__logo-wrap.is-fallback .amvi-brand-tile__fallback {
  display: flex;
}

.amvi-brand-tile__name {
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  color: var(--amvi-text);
}

.amvi-segment {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 4px;
  background: #ececec;
  border-radius: 100px;
  gap: 0;
}

.amvi-segment__opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amvi-text);
  cursor: pointer;
}

.amvi-segment__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amvi-segment__opt:has(input:checked) {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
}

.amvi-model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.amvi-model-type {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.amvi-model-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 20px 8px;
  background: #f3f3f3;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.amvi-model-tile:hover {
  background: #ececec;
}

.amvi-model-tile__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.amvi-model-tile__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--amvi-text);
  letter-spacing: -0.02em;
}

.amvi-model-tile__price {
  font-size: 14px;
  color: var(--amvi-muted);
  font-weight: 400;
}

.amvi-model-tile__img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  margin-top: 8px;
}

.amvi-model-tile__img img {
  max-width: 100%;
  max-height: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.amvi-inv-filters {
  display: flex;
  gap: 12px;
}

.amvi-inv-filters__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--amvi-muted);
}

.amvi-inv-filters__item select {
  min-width: 160px;
  height: 40px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
  background: #fff;
  text-transform: none;
  font-weight: 400;
  color: var(--amvi-text);
}

.amvi-inv-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.amvi-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--amvi-white);
  border-radius: var(--amvi-radius);
  box-shadow: var(--amvi-card-shadow);
  overflow: hidden;
}

.amvi-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  min-height: 170px;
}

.amvi-card__media img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

.amvi-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.amvi-card__body {
  padding: 18px 20px;
}

.amvi-card__meta {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--amvi-muted);
}

.amvi-card__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.amvi-card__title a {
  color: inherit;
  text-decoration: none;
}

.amvi-card__trim {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--amvi-muted);
}

.amvi-card__price strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.amvi-card__price-label {
  font-size: 13px;
  color: var(--amvi-muted);
  font-weight: 400;
}

.amvi-card__usd {
  margin: 2px 0 12px;
  font-size: 12px;
  color: var(--amvi-muted);
}

.amvi-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.amvi-card__cta {
  display: inline-block;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 100px;
}

.amvi-card__review {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--amvi-border);
  border-radius: 100px;
  color: var(--amvi-text) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.amvi-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.amvi-page-btn {
  border: 1px solid var(--amvi-border);
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.amvi-loading,
.amvi-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--amvi-muted);
}

.amvi-hidden {
  display: none !important;
}

.amvi-footer {
  background: #000;
  color: #fff;
  padding: 34px 24px 26px;
}

.amvi-footer__grid {
  max-width: 1000px;
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.amvi-footer h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}

.amvi-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.amvi-footer li {
  margin-bottom: 9px;
}

.amvi-footer a {
  color: #fff;
  text-decoration: underline;
  font-size: 13px;
}

.amvi-footer a:hover {
  color: #d0d0d0;
}

.amvi-footer__legal,
.amvi-footer__copy {
  max-width: 1040px;
  margin: 0 auto 8px;
  font-size: 12px;
  color: #9a9a9a;
}

.amvi-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px 16px;
  margin-top: 24px;
}

.amvi-sitemap-make h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.amvi-sitemap-make h2 a,
.amvi-sitemap-make a {
  color: var(--amvi-link);
  text-decoration: none;
}

.amvi-sitemap-heading {
  margin: 32px 0 12px;
  font-size: 20px;
}

.amvi-crumb {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--amvi-muted);
}

.amvi-crumb a {
  color: var(--amvi-link);
  text-decoration: none;
}

.amvi-sitemap-provinces,
.amvi-sitemap-cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 16px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.amvi-sitemap-provinces li,
.amvi-sitemap-cities li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.amvi-sitemap-provinces a,
.amvi-sitemap-cities a {
  color: var(--amvi-link);
  text-decoration: none;
}

.amvi-sitemap-provinces span {
  color: var(--amvi-muted);
  font-size: 13px;
}

@media (min-width: 900px) {
  .amvi-model-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .amvi-header__nav {
    display: none;
  }

  .amvi-card {
    grid-template-columns: 1fr;
  }

  .amvi-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.amvi-header__logo-accent {
  color: #7ec8e3;
}

.amvi-header__nav-link.is-active {
  text-decoration: underline;
  text-underline-offset: 8px;
}

/* Homepage */
.amvi-hero {
  position: relative;
  min-height: 380px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.30) 100%),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 20px;
}

.amvi-hero__title {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.amvi-hero__sub {
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.amvi-hero__sub strong {
  font-weight: 700;
}

.amvi-hero__search {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.amvi-hero__search input {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 100px;
  padding: 0 20px 0 44px;
  font-size: 14px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none' stroke='%23707070' stroke-width='2'><circle cx='8' cy='8' r='6'/><path d='M13 13l5 5' stroke-linecap='round'/></svg>") 18px center no-repeat;
  color: var(--amvi-text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.amvi-hero__search input::placeholder {
  color: #707070;
}

.amvi-hero__tabs {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: auto;
  padding-top: 32px;
}

.amvi-hero__tabs a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 4px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.amvi-hero__tabs a.is-active {
  border-bottom: 2px solid #fff;
}

.amvi-home-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 12px;
}

.amvi-home-section h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
}

.amvi-home-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}

.amvi-postal-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: none;
  padding: 0;
  color: var(--amvi-text);
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
}

/* Horizontal rails with an overlapping scroll chevron */
.amvi-rail {
  position: relative;
  margin-bottom: 8px;
}

.amvi-brand-rail,
.amvi-type-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 48px 18px 2px;
  scrollbar-width: none;
}

.amvi-brand-rail::-webkit-scrollbar,
.amvi-type-rail::-webkit-scrollbar {
  display: none;
}

.amvi-rail__next {
  position: absolute;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.amvi-brand-chip {
  flex: 0 0 80px;
  text-align: center;
  text-decoration: none;
  color: var(--amvi-text);
}

.amvi-brand-chip__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #f3f3f3;
  font-size: 13px;
  font-weight: 600;
  color: var(--amvi-muted);
  overflow: hidden;
}

.amvi-brand-chip__logo img {
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
}

.amvi-brand-chip__name {
  font-size: 12px;
  font-weight: 400;
  color: #333;
}

.amvi-type-card {
  position: relative;
  flex: 0 0 186px;
  height: 142px;
  padding: 12px 14px 8px;
  background: #f5f5f5;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.amvi-type-card span {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  z-index: 1;
}

.amvi-type-card img {
  width: 118%;
  height: 96px;
  margin: auto -10px -10px auto;
  object-fit: contain;
  object-position: right bottom;
}

/* Shop by budget — full-bleed grey band */
.amvi-budget {
  background: #f5f5f5;
  margin-top: 26px;
  padding: 30px 0 36px;
}

.amvi-budget__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.amvi-budget__inner h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.amvi-budget__row {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: center;
}

.amvi-budget__car {
  width: 100%;
  max-width: 380px;
  justify-self: center;
  object-fit: contain;
}

.amvi-budget__form {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.amvi-budget__field {
  display: block;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 5px 10px 6px;
  background: #fff;
}

.amvi-budget__field--wide {
  grid-column: 1 / -1;
  position: relative;
}

.amvi-budget__field span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #707070;
  line-height: 1.3;
}

.amvi-budget__field input,
.amvi-budget__field select {
  width: 100%;
  border: none;
  padding: 0;
  height: 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--amvi-text);
  background: transparent;
  appearance: none;
  outline: none;
}

.amvi-budget__field--wide::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #333;
  pointer-events: none;
}

.amvi-budget__cta {
  grid-column: 1 / -1;
  height: 40px;
  border: none;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Resources — centred heading, tab row, accordion list */
.amvi-resources {
  max-width: 1000px;
  margin: 0 auto;
  padding: 38px 24px 56px;
}

.amvi-resources h2 {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
}

.amvi-restabs {
  display: flex;
  justify-content: center;
  gap: 42px;
  border-bottom: 1px solid #e6e6e6;
  margin: 0 60px;
}

.amvi-restabs label {
  padding: 0 4px 9px;
  margin-bottom: -1px;
  font-size: 13px;
  font-weight: 400;
  color: var(--amvi-text);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.amvi-restabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#amvi-res-1:checked ~ .amvi-restabs label[for="amvi-res-1"],
#amvi-res-2:checked ~ .amvi-restabs label[for="amvi-res-2"],
#amvi-res-3:checked ~ .amvi-restabs label[for="amvi-res-3"] {
  font-weight: 600;
  border-bottom-color: #1a73e8;
}

.amvi-respanel {
  display: none;
}

#amvi-res-1:checked ~ .amvi-respanel--1,
#amvi-res-2:checked ~ .amvi-respanel--2,
#amvi-res-3:checked ~ .amvi-respanel--3 {
  display: block;
}

.amvi-accordion {
  margin: 0 60px;
}

.amvi-accordion__row {
  border-bottom: 1px solid #ececec;
}

.amvi-accordion__row > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 12px 15px 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--amvi-text);
  cursor: pointer;
}

.amvi-accordion__row > summary::-webkit-details-marker {
  display: none;
}

.amvi-accordion__row > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #555;
  border-bottom: 1.5px solid #555;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.15s ease;
}

.amvi-accordion__row[open] > summary::after {
  transform: rotate(-135deg) translate(-4px, -4px);
}

.amvi-accordion__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 0 10px 16px;
}

.amvi-accordion__links a {
  font-size: 13px;
  color: var(--amvi-link);
  text-decoration: none;
}

.amvi-accordion__links a:hover {
  text-decoration: underline;
}

.amvi-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.amvi-article h1,
.amvi-content__head h1 {
  font-size: 32px;
  margin: 0 0 20px;
}

.amvi-article__body {
  font-size: 16px;
  line-height: 1.6;
}

.amvi-post-list {
  display: grid;
  gap: 20px;
}

.amvi-post-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  padding: 12px 0;
  border-bottom: 1px solid var(--amvi-border);
}

.amvi-post-card__img img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.amvi-post-card__title {
  font-weight: 700;
  font-size: 18px;
}

@media (max-width: 900px) {
  .amvi-hero__title {
    font-size: 28px;
  }

  .amvi-budget__form,
  .amvi-resource-grid {
    grid-template-columns: 1fr 1fr;
  }

  .amvi-post-card {
    grid-template-columns: 1fr;
  }

  .amvi-footer__grid {
    grid-template-columns: 1fr;
  }

  .amvi-brand-chip {
    flex-basis: 68px;
  }

  .amvi-brand-chip__logo {
    width: 68px;
    height: 68px;
  }

  .amvi-type-card {
    flex-basis: 156px;
    height: 124px;
  }
}
