/* Marketplace presence: block-level intros and readability tweaks */
.vyre-marketplace-presence__intro .vyre-marketplace-presence__subtitle{
  max-width: 70ch;
  margin-inline: auto;
}

.vyre-marketplace-block__header{
  margin-bottom: 0.75rem;
}
.vyre-marketplace-block__title{
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: clamp(1.125rem, 1.2vw + 0.9rem, 1.375rem);
}
.vyre-marketplace-block__intro{
  margin: .25rem 0 0;
  line-height: 1.6;
    /* Base light theme tone; may be overridden by more specific selector below */
    color: #334155; /* slate-700-like */
  opacity: 1;
  max-width: 42ch;
  font-size: .96rem;
}

/* Ensure readability in light theme regardless of inherited tokens (e.g., --muted) */
.vyre-marketplace-block .vyre-marketplace-block__badge .vyre-marketplace-block__intro{
  color: #2d3a52 !important; /* ensure readability on light bg even if globals override */
}
@media (prefers-color-scheme: dark){
  .vyre-marketplace-block__intro{
    color: #e6ebff;
    opacity: .92;
  }
  .vyre-marketplace-block .vyre-marketplace-block__badge .vyre-marketplace-block__intro{
    color: #e6ebff !important;
  }
}
.vyre-feature-cards {
  position: relative;
  padding: 96px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  transition: background 0.3s ease;
  overflow: hidden;
}

.vyre-feature-cards::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 8%, rgba(21, 130, 247, 0.16), transparent 55%),
              radial-gradient(circle at 88% 12%, rgba(119, 58, 220, 0.18), transparent 60%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(247, 248, 255, 0.95) 45%, rgba(250, 252, 255, 0.88) 100%);
  z-index: 0;
}

.vyre-feature-cards__inner {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1280px);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  border: 1px solid rgba(223, 229, 255, 0.58);
  box-shadow: 0 26px 52px rgba(15, 35, 70, 0.14);
  backdrop-filter: blur(22px);
}

.vyre-feature-cards__inner h2 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #111;
  transition: color 0.3s ease;
}

.vyre-feature-cards__eyebrow {
  margin: 0 0 6px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(8,16,40,0.62);
}

.vyre-feature-cards__subtitle {
  margin: 0 0 32px;
  max-width: 70ch;
  color: #2d3a52;
}

.vyre-feature-cards__inner .cards {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.vyre-feature-cards__inner .cards::-webkit-scrollbar {
  display: none;
}

.vyre-feature-cards__inner .cards {
  scrollbar-width: none;
}

[data-card-scroller] {
  cursor: grab;
  /* Allow horizontal swiping while letting vertical scroll pass through the page */
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

[data-card-scroller].is-dragging {
  cursor: grabbing;
  user-select: none;
}

.vyre-feature-cards__inner .card {
  flex: 0 0 220px;
  height: 390px;
  aspect-ratio: 9/16;
  border-radius: 22px;
  padding: 32px 24px;
  color: #fff;
  scroll-snap-align: start;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 14px 36px rgba(15, 35, 70, 0.14), 0 2px 8px rgba(15, 35, 70, 0.08);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background-clip: padding-box;
  backdrop-filter: blur(12px);
}

.vyre-feature-cards__inner .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.28);
  opacity: 0.65;
  pointer-events: none;
}

.vyre-feature-cards__inner .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 60px rgba(15, 35, 70, 0.18), 0 4px 14px rgba(15, 35, 70, 0.12);
}

/* Optional: image-backed cards */
.vyre-feature-cards__inner .card--image {
  /* Supply the image via inline style: style="--card-image: url('...')" */
  background: none;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.vyre-feature-cards__inner .card--image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* Overlay to ensure text/icon contrast on busy images */
  background: linear-gradient(180deg, rgba(8, 13, 34, 0.28) 0%, rgba(8, 13, 34, 0.62) 100%);
  z-index: 0;
  pointer-events: none;
}
.vyre-feature-cards__inner .card--image > * { position: relative; z-index: 1; }

body.dark-mode .vyre-feature-cards__inner .card--image::after {
  background: linear-gradient(180deg, rgba(4, 6, 18, 0.34) 0%, rgba(4, 6, 18, 0.68) 100%);
}

/* Place title and text toward the lower part on image-backed cards */
.vyre-feature-cards__inner .card--image h3 { margin-top: auto; }
.vyre-feature-cards__inner .card--image p { margin-top: 8px; }

@media (hover: none) {
  /* On touch devices, reduce the lift to avoid jumpiness */
  .vyre-feature-cards__inner .card:hover {
    transform: translateY(-2px) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vyre-feature-cards__inner .card {
    transition: box-shadow 0.2s ease;
  }
  .vyre-feature-cards__inner .card:hover {
    transform: none;
  }
}

.vyre-feature-cards__inner .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vyre-feature-cards__inner .icon img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.vyre-feature-cards__inner .icon i {
  font-size: 36px;
  line-height: 1;
  color: #fff;
}

.vyre-feature-cards__inner h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 0;
  transition: color 0.3s ease;
}

.vyre-feature-cards__inner p {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* Ensure intro spacing isn't reset by the generic paragraph rule above */
.vyre-feature-cards__inner .vyre-feature-cards__eyebrow {
  margin: 0 0 6px;
}
.vyre-feature-cards__inner .vyre-feature-cards__subtitle {
  margin: 0 0 36px;
}

.gradient-blue {
  background: linear-gradient(135deg, #007aff, #4b6eff);
}

.gradient-purple {
  background: linear-gradient(135deg, #6e44ff, #b388ff);
}

.gradient-green {
  background: linear-gradient(135deg, #0f9d58, #34a853);
}

.gradient-indigo {
  background: linear-gradient(135deg, #5a67d8, #7f9cf5);
}

.gradient-cyan {
  background: linear-gradient(135deg, #06b6d4, #60a5fa);
}

.gradient-dark {
  background: linear-gradient(135deg, #111, #222);
}

/* Dark mode adjustments */
body.dark-mode .vyre-feature-cards {
  background: transparent;
}

body.dark-mode .vyre-feature-cards::before {
  background: radial-gradient(circle at 12% 10%, rgba(76, 139, 255, 0.18), transparent 55%),
              radial-gradient(circle at 88% 16%, rgba(151, 97, 255, 0.22), transparent 60%),
              linear-gradient(180deg, rgba(15, 18, 34, 0.96) 0%, rgba(9, 11, 24, 0.94) 100%);
}

body.dark-mode .vyre-feature-cards__inner {
  background: rgba(18, 20, 36, 0.88);
  border-color: rgba(76, 82, 118, 0.42);
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.5);
}

body.dark-mode .vyre-feature-cards__inner h2 {
  color: #f2f4ff;
}

body.dark-mode .vyre-feature-cards__eyebrow {
  color: rgba(230, 235, 255, 0.82);
}

body.dark-mode .vyre-feature-cards__subtitle {
  color: #e6ebff;
}

body.dark-mode .vyre-feature-cards__inner .card {
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.48), 0 4px 16px rgba(0, 0, 0, 0.36);
}

body.dark-mode .vyre-feature-cards__inner .card:hover {
  box-shadow: 0 32px 78px rgba(0, 0, 0, 0.52), 0 6px 20px rgba(0, 0, 0, 0.42);
}

body.dark-mode .vyre-feature-cards__inner .card::before {
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 0.85;
}

body.dark-mode .vyre-feature-cards__inner h3,
body.dark-mode .vyre-feature-cards__inner p {
  color: #f2f4ff;
}

body.dark-mode .vyre-feature-cards__inner .icon img {
  filter: none;
  opacity: 0.95;
}

/* --- Platform Access Cards --- */
.vyre-platform-access {
  position: relative;
  padding: clamp(72px, 12vw, 120px) 0;
  overflow: hidden;
}

.vyre-platform-access::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 12%, rgba(21, 130, 247, 0.12), transparent 55%),
              radial-gradient(circle at 82% 10%, rgba(119, 58, 220, 0.14), transparent 60%),
              linear-gradient(180deg, rgba(247, 248, 255, 0.85) 0%, rgba(241, 245, 255, 0.9) 40%, rgba(249, 250, 255, 0.88) 100%);
  z-index: 0;
}

.vyre-platform-access__inner {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1280px);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  border: 1px solid rgba(223, 229, 255, 0.58);
  box-shadow: 0 24px 48px rgba(15, 35, 70, 0.12);
  backdrop-filter: blur(18px);
}

.vyre-platform-access__intro {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.vyre-platform-access__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4153a2;
  margin: 0 0 12px;
}

.vyre-platform-access__intro h2 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin: 0 0 14px;
  color: #111d3b;
}

.vyre-platform-access__intro p {
  margin: 0;
  font-size: 1.05rem;
  color: #415070;
  line-height: 1.6;
}

.vyre-platform-access__cards {
  display: flex;
  gap: clamp(18px, 4vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  align-items: flex-start;
}

.vyre-platform-access__cards::-webkit-scrollbar {
  display: none;
}

.vyre-platform-access__cards {
  scrollbar-width: none;
}

.vyre-platform-access__card {
  --card-elevation: 0px;
  flex: 0 0 clamp(220px, 28vw, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  padding: clamp(20px, 4vw, 28px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(210, 220, 255, 0.6);
  box-shadow: 0 18px 36px rgba(15, 35, 70, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  scroll-snap-align: start;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(10px);
  transform: translateY(var(--card-elevation));
}

.vyre-platform-access__card:hover {
  transform: translateY(calc(var(--card-elevation) - 6px));
  box-shadow: 0 26px 52px rgba(15, 35, 70, 0.16);
}

.vyre-platform-access__card svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}

.vyre-platform-access__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.vyre-platform-access__icon-symbol {
  font-size: 3rem;
  line-height: 1;
}

.vyre-platform-access__card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #111d3b;
}

.vyre-platform-access__card p {
  margin: 0 0 auto;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #455271;
}

.vyre-platform-access__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 64, 0.08);
  color: #0d1840;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vyre-platform-access__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #1582f7, #773adc);
  box-shadow: 0 16px 32px rgba(21, 130, 247, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vyre-platform-access__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(21, 130, 247, 0.26);
}

.vyre-platform-access__cta.is-disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.vyre-platform-access__card--ios {
  color: #14214c;
  background: linear-gradient(135deg, rgba(230, 236, 255, 0.92), rgba(208, 220, 255, 0.9));
}

.vyre-platform-access__card--android {
  color: #173c2d;
  background: linear-gradient(135deg, rgba(217, 245, 232, 0.94), rgba(189, 234, 211, 0.92));
}

.vyre-platform-access__card--docs {
  color: #18294f;
  background: linear-gradient(135deg, rgba(232, 238, 255, 0.94), rgba(214, 224, 255, 0.92));
}

.vyre-platform-access__card--status {
  color: #112742;
  background: linear-gradient(135deg, rgba(220, 240, 255, 0.94), rgba(197, 225, 255, 0.92));
}

.vyre-platform-access__card[data-disabled="true"] .vyre-platform-access__cta {
  pointer-events: none;
}

.vyre-platform-access__card--ios {
  --card-elevation: -10px;
}

@media (min-width: 720px) {
  .vyre-platform-access__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 4vw, 32px);
    overflow: visible;
    align-items: stretch;
  }

  .vyre-platform-access__card {
    flex: initial;
    width: 100%;
  }
}

@media (min-width: 1040px) {
  .vyre-platform-access__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vyre-platform-access__card {
    aspect-ratio: 1 / 1;
  }
}

body.dark-mode .vyre-platform-access::before {
  background: radial-gradient(circle at 20% 16%, rgba(76, 139, 255, 0.18), transparent 60%),
              radial-gradient(circle at 80% 12%, rgba(151, 97, 255, 0.22), transparent 65%),
              linear-gradient(180deg, rgba(9, 12, 32, 0.96) 0%, rgba(6, 8, 24, 0.94) 100%);
}

body.dark-mode .vyre-platform-access__inner {
  background: rgba(18, 20, 36, 0.88);
  border-color: rgba(76, 82, 118, 0.42);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.5);
}

body.dark-mode .vyre-platform-access__eyebrow {
  color: #8da4ff;
}

body.dark-mode .vyre-platform-access__intro h2 {
  color: #f2f4ff;
}

body.dark-mode .vyre-platform-access__intro p {
  color: #c4c9f5;
}

body.dark-mode .vyre-platform-access__card h3,
body.dark-mode .vyre-platform-access__card p {
  color: inherit;
}

body.dark-mode .vyre-platform-access__cards {
  scrollbar-width: none;
}

body.dark-mode .vyre-platform-access__card {
  border-color: rgba(76, 82, 118, 0.4);
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.48);
}

body.dark-mode .vyre-platform-access__card--ios {
  color: #e7ecff;
  background: linear-gradient(135deg, rgba(39, 48, 87, 0.85), rgba(26, 32, 68, 0.82));
}

body.dark-mode .vyre-platform-access__card--android {
  color: #ddf6e9;
  background: linear-gradient(135deg, rgba(23, 57, 45, 0.9), rgba(17, 44, 34, 0.88));
}

body.dark-mode .vyre-platform-access__card--docs {
  color: #dae3ff;
  background: linear-gradient(135deg, rgba(28, 38, 78, 0.86), rgba(20, 28, 62, 0.84));
}

body.dark-mode .vyre-platform-access__card--status {
  color: #d6e7ff;
  background: linear-gradient(135deg, rgba(23, 38, 64, 0.88), rgba(18, 30, 52, 0.86));
}

body.dark-mode .vyre-platform-access__badge {
  background: rgba(255, 255, 255, 0.12);
  color: #f2f4ff;
}

body.dark-mode .vyre-platform-access__cta {
  box-shadow: 0 20px 38px rgba(99, 114, 255, 0.32);
}

.vyre-marketplace-presence {
  position: relative;
  padding: clamp(80px, 14vw, 140px) 0;
  background: radial-gradient(circle at 0% 8%, rgba(53, 128, 236, 0.16), transparent 55%),
              radial-gradient(circle at 100% 20%, rgba(119, 58, 220, 0.18), transparent 60%),
              linear-gradient(180deg, rgba(244, 247, 255, 0.96) 0%, rgba(237, 242, 255, 0.9) 100%);
}

.vyre-marketplace-presence__inner {
  max-width: min(92vw, 1280px);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  border: 1px solid rgba(210, 222, 255, 0.6);
  box-shadow: 0 32px 64px rgba(11, 32, 75, 0.12);
  backdrop-filter: blur(12px);
}

.vyre-marketplace-presence__intro {
  max-width: 760px;
  margin-bottom: clamp(36px, 6vw, 52px);
}

.vyre-marketplace-presence__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: clamp(32px, 5vw, 48px);
}

/* Badge wrapper: no visual modifications to artwork per Microsoft guidelines */
.vyre-marketplace-presence__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Maintain aspect ratio, ensure mobile scale (>=40px tall), add ~10% clear space via margins */
.vyre-marketplace-presence__badge img {
  display: block;
  height: clamp(32px, 7vw, 56px);
  width: auto;
  max-width: min(240px, 40vw);
  /* Maintain clear space around artwork (~8–10%). Using ~8.3% to reduce perceived shrink */
  margin: calc(clamp(32px, 7vw, 56px) / 12);
}

@media (max-width: 600px) {
  .vyre-marketplace-presence__badge img {
    height: clamp(44px, 18vw, 64px);
    max-width: min(260px, 70vw);
    margin: calc(clamp(44px, 18vw, 64px) / 12);
  }
}

.vyre-marketplace-presence__badge:focus-visible {
  outline: 2px solid #6aa0ff;
  outline-offset: 4px;
  border-radius: 4px;
}

.vyre-marketplace-presence__eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3f54a7;
}

.vyre-marketplace-presence__intro h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #0f1e43;
}

.vyre-marketplace-presence__subtitle {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #425272;
}

.vyre-marketplace-presence__catalogs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 4vw, 32px);
  margin-bottom: clamp(36px, 6vw, 54px);
}

.vyre-marketplace-presence__catalog {
  margin: 0;
  background: linear-gradient(135deg, rgba(242, 245, 255, 0.9), rgba(227, 236, 255, 0.88));
  border-radius: 18px;
  border: 1px solid rgba(205, 218, 255, 0.30);
  box-shadow: 0 18px 38px rgba(14, 32, 76, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
}

.vyre-marketplace-presence__media {
  position: relative;
  aspect-ratio: auto;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(21, 130, 247, 0.08), rgba(119, 58, 220, 0.08));
}

.vyre-marketplace-presence__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.vyre-marketplace-presence__catalog figcaption {
  font-size: 0.95rem;
  font-weight: 600;
  color: #19325b;
}

.vyre-marketplace-presence__listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 4vw, 36px);
}
/* New structured blocks per marketplace */
.vyre-marketplace-block { 
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(32px, 6vw, 64px);
}

.vyre-marketplace-block__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 18px);
  align-items: center;
}

.vyre-marketplace-block__badge {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

/* Center only the badge artwork horizontally within its column */
.vyre-marketplace-block__badge .vyre-marketplace-presence__badge{
  align-self: center;
  /* extra space between intro paragraph and badge */
  margin-top: clamp(12px, 1.8vw, 20px);
}

.vyre-marketplace-block__catalog .vyre-marketplace-presence__media {
  aspect-ratio: auto;
}

.vyre-marketplace-block__listing .vyre-marketplace-presence__media {
  aspect-ratio: auto;
  /* Match the soft blue catalog background under listing/offer images */
  background: linear-gradient(135deg, rgba(242, 245, 255, 0.9), rgba(227, 236, 255, 0.88));
}

/* Also apply the same background if referenced via the generic listing class */
.vyre-marketplace-presence__listing .vyre-marketplace-presence__media{
  background: linear-gradient(135deg, rgba(242, 245, 255, 0.9), rgba(227, 236, 255, 0.88));
}

@media (max-width: 900px) {
  .vyre-marketplace-block__top {
    grid-template-columns: 1fr;
  }
}

/* Desktop alignment: nudge catalog down slightly to align visually with left cluster */
@media (min-width: 901px){
  .vyre-marketplace-block__catalog{ margin-top: 6px; }
}

.vyre-marketplace-presence__listing {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(203, 216, 255, 0.28);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 38px rgba(13, 35, 80, 0.1);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vyre-marketplace-presence__listing:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(17, 40, 88, 0.16);
}

.vyre-marketplace-presence__listing-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vyre-marketplace-presence__listing-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #3f54a7;
}

.vyre-marketplace-presence__listing-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: #0f1e43;
}

@media (max-width: 768px) {
  .vyre-marketplace-presence__inner {
    padding: clamp(28px, 8vw, 40px);
  }

  .vyre-marketplace-presence__badges { justify-content: center; }

  .vyre-marketplace-presence__catalog {
    padding: 14px;
  }

  .vyre-marketplace-presence__listing {
    padding: 16px;
  }
}

body.dark-mode .vyre-marketplace-presence {
  background: radial-gradient(circle at 0% 8%, rgba(66, 122, 226, 0.22), transparent 55%),
              radial-gradient(circle at 100% 18%, rgba(138, 86, 255, 0.24), transparent 60%),
              linear-gradient(180deg, rgba(9, 12, 32, 0.95) 0%, rgba(6, 10, 26, 0.94) 100%);
}

body.dark-mode .vyre-marketplace-presence__inner {
  background: rgba(16, 18, 34, 0.9);
  border-color: rgba(70, 83, 128, 0.44);
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.55);
}

body.dark-mode .vyre-marketplace-presence__eyebrow {
  color: #8da4ff;
}

/* No special dark-mode treatment for badges: preserve official black badge artwork */

body.dark-mode .vyre-marketplace-presence__intro h2,
body.dark-mode .vyre-marketplace-presence__subtitle {
  color: #e6ebff;
}

body.dark-mode .vyre-marketplace-presence__catalog {
  background: linear-gradient(135deg, rgba(30, 36, 72, 0.9), rgba(22, 30, 66, 0.88));
  border-color: rgba(70, 83, 128, 0.32);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.46);
}

body.dark-mode .vyre-marketplace-presence__catalog figcaption {
  color: #d5ddff;
}

body.dark-mode .vyre-marketplace-presence__listing {
  background: rgba(21, 24, 46, 0.92);
  border-color: rgba(70, 83, 128, 0.30);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.5);
}

body.dark-mode .vyre-marketplace-presence__listing-title {
  color: #eef2ff;
}

body.dark-mode .vyre-marketplace-presence__listing:hover {
  box-shadow: 0 34px 64px rgba(0, 0, 0, 0.6);
}

/* --- Final overrides for marketplace section (specificity + order) --- */
/* Ensure light theme readability for the two intro paragraphs under badges */
body:not(.dark-mode) .vyre-marketplace-block.vyre-marketplace-block--appsource .vyre-marketplace-block__badge .vyre-marketplace-block__intro,
body:not(.dark-mode) .vyre-marketplace-block.vyre-marketplace-block--azure .vyre-marketplace-block__badge .vyre-marketplace-block__intro{
  color: #2d3a52 !important;
}

/* Give listing/offer images the same soft blue background feel as catalog cards */
.vyre-marketplace-block__listing .vyre-marketplace-presence__media{
  /* Whole card gets the blue background now; keep media transparent */
  background: transparent !important;
  padding: 0;
  border-radius: 12px;
}
.vyre-marketplace-block__listing .vyre-marketplace-presence__media img{
  border-radius: 12px;
}

/* Use only one border around the offer/listing area: remove the outer card border */
.vyre-marketplace-presence .vyre-marketplace-presence__listing{
  border: none !important;
  /* Apply soft blue background to the entire offer/listing card */
  background: linear-gradient(135deg, rgba(242, 245, 255, 0.9), rgba(227, 236, 255, 0.88)) !important;
}
body.dark-mode .vyre-marketplace-presence .vyre-marketplace-presence__listing{
  border: none !important;
  /* Preserve dark-theme card background for contrast */
  background: rgba(21, 24, 46, 0.92) !important;
}
