/**
 * wc-why-card.css
 * Styles for the WC Why Card component (video tile pattern).
 */

/* ── Card shell ── */
.video-tile {
  border: 1px solid var(--grey-light);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

/* ── Thumbnail ── */
.video-tile-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark);
}

.video-tile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── VIDEO corner chip ── */
.corner-chip {
  position: absolute;
  top: var(--sp-xs);
  left: var(--sp-xs);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

.corner-chip svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

/* ── Card body ── */
.video-tile-body {
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-tile-title {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--t-h3);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.video-tile-desc {
  font-size: var(--t-small);
  color: var(--body-text);
  line-height: 1.65;
  overflow-wrap: break-word;
  margin-bottom: var(--sp-sm);
  flex: 1;
}

/* ── CTA link ── */
.video-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-mid);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: auto;
}

.video-tile-cta:hover {
  color: var(--red-bright);
}

.video-tile-cta svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
