/* Najran FC v1.5.10 — Match-card text and layout compatibility only.
   Scoped to the team and fixtures pages; no global header, container or grid changes. */
.najran-1510-match-cards .fixture-card,
.najran-1510-match-cards .upcoming-card {
  min-width: 0;
}
.najran-1510-match-cards .fixtures-grid,
.najran-1510-match-cards .upcoming-grid,
.najran-1510-match-cards .article-main-card,
.najran-1510-match-cards .match-page-grid > main {
  min-width: 0;
}
.najran-1510-match-cards .fixture-teams {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-width: 0;
}
.najran-1510-match-cards .fixture-team-mini {
  min-width: 0;
  max-width: 100%;
}
.najran-1510-match-cards .fixture-team-mini b,
.najran-1510-match-cards .next-match-team b {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.najran-1510-match-cards .fixture-card-head,
.najran-1510-match-cards .fixture-card-head > span {
  min-width: 0;
}
.najran-1510-match-cards .fixture-card-head > span:first-child {
  overflow-wrap: anywhere;
  line-height: 1.55;
}
/* RTL: stadium on the right; clock has its own fixed-width column to the left.
   Long venue names wrap naturally without covering or hiding the kickoff time. */
.najran-1510-match-cards .fixture-bottom-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas: "venue time";
  align-items: start;
  gap: 8px 12px;
  direction: rtl;
  min-width: 0;
}
.najran-1510-match-cards .fixture-bottom-details > span:first-child {
  grid-area: time;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
.najran-1510-match-cards .fixture-bottom-details > .fixture-stadium {
  grid-area: venue;
  display: block;
  max-width: none;
  min-width: 0;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.65;
  text-align: right;
}
/* The featured fixture and the upcoming view have longer metadata strings. */
.najran-1510-match-cards .upcoming-featured .match-meta-line,
.najran-1510-match-cards .upcoming-grid .match-meta-line {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.75;
}
@media (max-width: 420px) {
  .najran-1510-match-cards .fixture-bottom-details {
    gap: 6px 8px;
  }
}
