.afv-wrap {
  --afv-bg: #fff;
  --afv-body: #f8f9fb;
  --afv-surface: #f4f6f8;
  --afv-text: #111827;
  --afv-subtle: #667085;
  --afv-line: #e2e6eb;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--afv-max-width, 1380px);
  margin: 0 auto;
  padding: 32px 24px 52px;
  color: var(--afv-text);
  font-family: inherit;
}
.afv-wrap * { box-sizing: border-box; }
.afv-theme-dark {
  --afv-bg: #15171b;
  --afv-body: #1b1e24;
  --afv-surface: #21252c;
  --afv-text: #f8fafc;
  --afv-subtle: #a8b0bd;
  --afv-line: #303640;
}
.afv-tools {
  display: flex;
  gap: 12px;
  margin: 0 0 28px;
  padding: 10px;
  border: 1px solid var(--afv-line);
  border-radius: 16px;
  background: var(--afv-bg);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}
.afv-tools input { flex: 1 1 320px; }
.afv-tools select { flex: 0 1 210px; }
.afv-tools input,
.afv-tools select {
  width: 100%;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid var(--afv-line) !important;
  border-radius: 10px !important;
  outline: 0;
  background: var(--afv-surface) !important;
  color: var(--afv-text) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}
.afv-tools input:focus,
.afv-tools select:focus {
  border-color: #98a2b3 !important;
  box-shadow: 0 0 0 3px rgba(152, 162, 179, .16) !important;
}
.afv-grid {
  display: grid;
  grid-template-columns: repeat(var(--afv-cols), minmax(0, 1fr));
  gap: 22px;
}
.afv-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--afv-line);
  border-radius: 18px;
  background: var(--afv-bg);
  box-shadow: 0 4px 16px rgba(15, 23, 42, .055);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.afv-card:hover {
  transform: translateY(-4px);
  border-color: #d0d5dd;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .11);
}
.afv-no-hover .afv-card:hover { transform: none; border-color: var(--afv-line); box-shadow: 0 4px 16px rgba(15, 23, 42, .055); }
.afv-card-link { position: absolute; inset: 0; z-index: 1; }
.afv-image {
  display: block;
  aspect-ratio: var(--afv-ratio);
  overflow: hidden;
  border-bottom: 1px solid var(--afv-line);
  background: #fff;
}
.afv-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: var(--afv-image-fit, cover);
  image-rendering: auto;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.afv-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--afv-subtle);
  font-size: 40px;
  font-weight: 700;
}
.afv-body {
  display: flex;
  min-height: 98px;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px 16px 16px;
  background: var(--afv-body);
}
.afv-title {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: var(--afv-text) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
}
.afv-text-left { text-align: left !important; }
.afv-text-center { text-align: center !important; }
.afv-text-right { text-align: right !important; }
.afv-socials { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 7px; }
.afv-icons-left { justify-content: flex-start; }
.afv-icons-center { justify-content: center; }
.afv-icons-right { justify-content: flex-end; }
.afv-network {
  display: inline-flex !important;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--afv-line);
  border-radius: 10px;
  background: var(--afv-bg);
  color: var(--afv-icon-color, var(--afv-subtle)) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.afv-network:hover,
.afv-network:focus-visible { transform: translateY(-2px); outline: 0; }
.afv-network-icon { display: grid; place-items: center; }
.afv-network svg { display: block; width: min(var(--afv-icon-size, 17px), 20px); height: min(var(--afv-icon-size, 17px), 20px); fill: currentColor; }
.afv-network-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.afv-network-instagram:hover { color: #d62976 !important; border-color: rgba(214, 41, 118, .35); }
.afv-network-facebook:hover { color: #1877f2 !important; border-color: rgba(24, 119, 242, .35); }
.afv-network-linkedin:hover { color: #0a66c2 !important; border-color: rgba(10, 102, 194, .35); }
.afv-network-youtube:hover { color: #f00 !important; border-color: rgba(255, 0, 0, .3); }
.afv-network-x:hover { color: var(--afv-text) !important; border-color: #98a2b3; }
.afv-network-pinterest:hover { color: #e60023 !important; border-color: rgba(230, 0, 35, .32); }
.afv-website-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--afv-line);
  border-radius: 10px;
  background: var(--afv-bg);
  color: var(--afv-text) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
}
.afv-website-button:hover { border-color: #98a2b3; }
.afv-more {
  display: block;
  min-width: 170px;
  margin: 32px auto 0 !important;
  padding: 12px 22px !important;
  border: 1px solid #111827 !important;
  border-radius: 11px !important;
  background: #111827 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(17, 24, 39, .17);
  transition: transform .18s ease, box-shadow .18s ease;
}
.afv-more:hover { transform: translateY(-2px); box-shadow: 0 11px 24px rgba(17, 24, 39, .23); }
.afv-pagination ul { display: flex; justify-content: center; gap: 7px; list-style: none; margin: 32px 0 0; padding: 0; }
.afv-pagination a,
.afv-pagination span { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid var(--afv-line); border-radius: 10px; text-decoration: none; }
.afv-empty { text-align: center; padding: 44px 20px; color: var(--afv-subtle); }
.afv-card[hidden],
.afv-more[hidden] { display: none !important; }
@media (max-width: 1024px) {
  .afv-wrap { padding-inline: 20px; }
  .afv-grid { grid-template-columns: repeat(var(--afv-cols-tablet), minmax(0, 1fr)); }
  .afv-tools select { flex-basis: 190px; }
}
@media (max-width: 680px) {
  .afv-wrap {
    width: 100vw;
    width: 100dvw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-right: calc(50% - 50dvw);
    margin-left: calc(50% - 50vw);
    margin-left: calc(50% - 50dvw);
    padding: 16px 16px 34px;
    overflow-x: clip;
  }
  .afv-grid { grid-template-columns: repeat(var(--afv-cols-mobile), minmax(0, 1fr)); gap: 12px; }
  .afv-card { border-radius: 14px; }
  .afv-tools { flex-direction: column; padding: 7px; margin-bottom: 14px; border-radius: 13px; }
	.afv-tools input,
	.afv-tools select { flex: 0 0 46px; }
	.afv-body { min-height: 92px; padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .afv-card,
  .afv-network,
  .afv-more { transition: none; }
}
