/*
 * Resource Teaser component -- production styles.
 *
 * Deliberately styled to read as "real content exists here" (same
 * card-with-border language as Official Resource Card -- see that
 * file's own CSS) but visually NON-interactive: no hover/focus states,
 * no pointer cursor, no underline. There is nothing to click, so
 * nothing here should look clickable.
 */

@import url("../../config/tokens/tokens.generated.css");

.sr-resource-teaser {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-m);
  border-radius: var(--radius-medium);
  border: 1px dashed currentColor; /* dashed, not solid -- visually distinct from the clickable Official Resource Card */
  box-sizing: border-box;
  width: 100%;
  opacity: 0.82; /* structural-only dimming, no colour invented -- reads as "present but locked" */
}

.sr-resource-teaser__icon-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.sr-resource-teaser__lock-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.sr-resource-teaser__type {
  font-size: var(--font-label-size, 0.75rem);
  font-weight: var(--font-weight-semibold, 600);
  letter-spacing: var(--font-label-tracking, 0.02em);
  text-transform: uppercase;
}

.sr-resource-teaser__title {
  margin: 0;
  word-break: break-word;
}

.sr-resource-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-s);
}

@media (min-width: 560px) {
  .sr-resource-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
