/* VULQIR Theme v2.7.15 — Products / Made for Your Story magazine cards.
   This file is intentionally scoped to the community selection on Products. */
#vq-products .vq-community-gallery--magazine {
  align-items: stretch;
  grid-auto-flow: row;
}
#vq-products .vq-community-gallery--magazine .vq-community-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(177, 148, 108, .22);
  background: #fffefa;
  box-shadow: 0 3px 16px rgba(49, 39, 28, .035);
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #e9e1d6;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__media::after {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(35, 27, 20, .16));
  content: "";
  pointer-events: none;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform .65s cubic-bezier(.2,.65,.25,1);
}
#vq-products .vq-community-gallery--magazine .vq-community-card--feature {
  grid-column: span 2;
  grid-row: span 2;
  border-color: rgba(177, 148, 108, .28);
  box-shadow: 0 7px 26px rgba(49, 39, 28, .055);
}
#vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__image {
  aspect-ratio: 1.28 / 1;
  object-position: center 42%;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__media-mark {
  position: absolute;
  z-index: 2;
  left: clamp(14px, 1.7vw, 24px);
  bottom: clamp(13px, 1.5vw, 21px);
  padding: 7px 10px 6px;
  border: 1px solid rgba(255, 250, 242, .7);
  background: rgba(250, 247, 241, .88);
  color: #735c40;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .19em;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}
#vq-products .vq-community-gallery--magazine .vq-community-card__caption {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  gap: 0;
  padding: 13px 13px 14px;
  background: #fffefa;
  letter-spacing: 0;
  line-height: 1.6;
}
#vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__caption {
  padding: clamp(18px, 2vw, 30px) clamp(19px, 2.2vw, 34px) clamp(17px, 1.8vw, 26px);
}
#vq-products .vq-community-gallery--magazine .vq-community-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  margin-bottom: 9px;
  color: #9a866b;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__eyebrow {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__meta time {
  flex: 0 0 auto;
  color: #a49a8d;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #302b27;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-transform: none;
}
#vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__title {
  -webkit-line-clamp: 2;
  font-size: clamp(27px, 2.35vw, 39px);
  line-height: 1.08;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  max-height: calc(1.78em * 4);
  margin-top: 12px;
  color: #746b61;
  font-size: clamp(11px, .78vw, 13px);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.78;
  overflow-wrap: anywhere;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
  color: #a98960;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
}
#vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #ece4d9;
  font-size: 9px;
}
#vq-products .vq-community-gallery--magazine .vq-community-card__arrow {
  display: inline-block;
  flex: 0 0 auto;
  color: #a98960;
  font-size: 15px;
  line-height: 1;
  transition: transform .25s ease;
}
#vq-products .vq-community-gallery--magazine .vq-community-card:hover,
#vq-products .vq-community-gallery--magazine .vq-community-card:focus-within {
  border-color: rgba(169, 137, 96, .52);
  box-shadow: 0 12px 32px rgba(49, 39, 28, .09);
}
#vq-products .vq-community-gallery--magazine .vq-community-card:hover .vq-community-card__image {
  transform: scale(1.035);
}
#vq-products .vq-community-gallery--magazine .vq-community-card:hover .vq-community-card__arrow {
  transform: translate(3px, -2px);
}
#vq-products .vq-community-gallery--magazine .vq-community-card__link:focus-visible {
  outline: 2px solid #a98960;
  outline-offset: -3px;
}

/* Compact tablet: keep the lead story full-width, then a balanced two-column grid. */
@media (min-width: 761px) and (max-width: 1180px) {
  #vq-products .vq-community-gallery--magazine {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card--feature {
    grid-row: span 1;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__image {
    aspect-ratio: 1.5 / 1;
  }
}

/* Mobile: one wide lead story followed by two-column story cards. */
@media (max-width: 760px) {
  #vq-products .vq-community-gallery--magazine {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card--feature {
    grid-row: span 1;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__image {
    aspect-ratio: 1.35 / 1;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card__media-mark {
    left: 12px;
    bottom: 11px;
    padding: 6px 8px 5px;
    font-size: 7px;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card__caption {
    padding: 11px 10px 12px;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__caption {
    padding: 16px 15px 15px;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card__meta {
    gap: 6px;
    margin-bottom: 7px;
    font-size: 7px;
    letter-spacing: .09em;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card__meta time {
    font-size: 7px;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card__title {
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.16;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__title {
    font-size: clamp(25px, 6.8vw, 34px);
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card__excerpt {
    -webkit-line-clamp: 4;
    max-height: calc(1.65em * 4);
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.65;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card__footer {
    padding-top: 10px;
    font-size: 7px;
    letter-spacing: .1em;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__footer {
    margin-top: 13px;
    padding-top: 11px;
    font-size: 8px;
  }
}
@media (max-width: 390px) {
  #vq-products .vq-community-gallery--magazine { gap: 8px; }
  #vq-products .vq-community-gallery--magazine .vq-community-card__caption { padding: 9px 8px 10px; }
  #vq-products .vq-community-gallery--magazine .vq-community-card--feature .vq-community-card__caption { padding: 14px 12px 13px; }
  #vq-products .vq-community-gallery--magazine .vq-community-card__excerpt { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #vq-products .vq-community-gallery--magazine .vq-community-card,
  #vq-products .vq-community-gallery--magazine .vq-community-card__image,
  #vq-products .vq-community-gallery--magazine .vq-community-card__arrow {
    transition: none;
  }
  #vq-products .vq-community-gallery--magazine .vq-community-card:hover .vq-community-card__image {
    transform: none;
  }
}
