/* 08-cards.css — inset-rule cards (sygnatura salonu).
 * paper bg, 1px stone outer border, decoratywny ::before oxblood 20% → 40% on hover.
 * NULLA box-shadow.
 */

.tl-card {
  position: relative;
  background: var(--c-paper);
  border: 1px solid var(--c-stone);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color var(--t-slow) var(--ease-soft);
  overflow: hidden;
}

.tl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  height: 1px;
  width: 20%;
  background: var(--c-ox);
  transition: width var(--t-slow) var(--ease-soft);
}

.tl-card:hover {
  border-color: var(--c-ox);
}
.tl-card:hover::before {
  width: 40%;
}

/* No translate, no shadow — keep rule G1, G6 */

/* Linked card variant — entire card is an <a>. */
.tl-card--linked {
  display: block;
  color: inherit;
  text-decoration: none;
}
.tl-card--linked:hover,
.tl-card--linked:focus-visible {
  text-decoration: none;
  color: inherit;
}

.tl-card__cta-arrow {
  display: block;
  margin-top: 16px;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: var(--c-ox);
  text-align: right;
  transition: transform var(--t-slow) var(--ease-soft);
}
.tl-card--linked:hover .tl-card__cta-arrow {
  transform: translateX(4px);
}

.tl-card__head {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--c-ink);
  margin: 0 0 8px;
}

.tl-card__meta {
  font-family: var(--f-body);
  font-size: var(--f-caption);
  color: var(--c-ink-muted);
  margin-bottom: 12px;
}

.tl-card__body {
  font-size: var(--f-body-s);
  color: var(--c-ink-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tl-card__cta {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--c-stone);
}
.tl-card__cta:hover {
  text-decoration-color: var(--c-ox);
  text-decoration-thickness: 2px;
}

/* Badge (klubest, sport-event) */
.tl-card__badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-ox);
  border: 1px solid var(--c-ox);
  padding: 3px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Klubest card details (mono lines) */
.tl-klubest-card__details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
  font-family: var(--f-mono);
  font-size: var(--f-mono);
  color: var(--c-ink);
  line-height: var(--lh-mono);
  margin-top: 16px;
}
.tl-klubest-card__details dt {
  color: var(--c-ink-muted);
  font-weight: 500;
}
.tl-klubest-card__details dd {
  margin: 0;
  font-weight: 600;
}

/* Klubest expanded layout (full-width cards with all details) */
.tl-klubest-detail {
  background: var(--c-paper);
  border: 1px solid var(--c-stone);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  transition: border-color var(--t-slow) var(--ease-soft);
}
.tl-klubest-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  height: 1px;
  width: 20%;
  background: var(--c-ox);
  transition: width var(--t-slow) var(--ease-soft);
}
.tl-klubest-detail:hover { border-color: var(--c-ox); }
.tl-klubest-detail:hover::before { width: 40%; }

.tl-klubest-detail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.tl-klubest-detail__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--f-display-l);
  color: var(--c-ink);
}

.tl-klubest-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .tl-klubest-detail__grid { grid-template-columns: 1fr; }
}

.tl-klubest-detail__nyeremenyek {
  margin-top: 16px;
  border-top: 1px solid var(--c-line);
  padding-top: 16px;
}
.tl-klubest-detail__nyeremenyek h4 {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: 8px;
}
.tl-klubest-detail__nyeremenyek ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tl-klubest-detail__nyeremenyek li {
  padding: 6px 0;
  font-size: var(--f-body-s);
  border-bottom: 1px dashed var(--c-line);
  display: flex;
  gap: 12px;
}
.tl-klubest-detail__nyeremenyek li:last-child { border-bottom: 0; }
.tl-klubest-detail__nyeremenyek .tl-mono {
  font-weight: 600;
  color: var(--c-ox);
  min-width: 32px;
}

/* Csapat (team) card */
.tl-csapat-card { text-align: left; }
.tl-csapat-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 16px;
}
.tl-csapat-card__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 4px;
}
.tl-csapat-card__role {
  font-family: var(--f-mono);
  font-size: var(--f-mono-s);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ox);
  margin-bottom: 12px;
}
.tl-csapat-card__bio {
  font-size: var(--f-body-s);
  color: var(--c-ink-muted);
  line-height: 1.6;
}

/* Text-only csapat-card (no portret) */
.tl-csapat-card--text {
  padding: 32px 24px;
}
.tl-csapat-card--text .tl-csapat-card__role {
  margin-bottom: 8px;
  margin-top: 4px;
}
.tl-csapat-card--text .tl-csapat-card__name {
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}

/* Inset-rule warning/disclaimer box */
.tl-inset-rule {
  position: relative;
  background: var(--c-paper);
  border: 1px solid var(--c-stone);
  border-radius: var(--r-lg);
  padding: 24px 32px;
  margin: 32px 0;
}
.tl-inset-rule::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  height: 1px;
  width: 20%;
  background: var(--c-ox);
}
