/* ============================================================
   INJURIES PAGE CSS
============================================================ */

.page-shell{ max-width:1080px; margin:24px auto 40px; padding:0 14px; position: relative; z-index: 2; }

.glass-card{
  background:rgba(255,255,255,0.86);
  padding:22px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.7);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  box-shadow:0 24px 60px rgba(15,23,42,0.18);
}

.page-intro h1{ margin:0 0 10px; font-size:28px; font-weight:800; letter-spacing: -0.3px; line-height: 1.2; color:#0f172a; }
.page-intro .last-updated{ display: inline-block; font-size: 12.5px; color: #666; background: rgba(0,0,0,0.04); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.page-intro p{ font-size:14.5px; margin:8px 0; color:#444; line-height: 1.6; }

.info-strip{ display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.info-chip{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.04);
  font-size: 12.5px; font-weight: 600; color: #333;
  border: 1px solid rgba(0,0,0,0.06);
}
.info-chip .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}

/* ============================================================
   CONTROLS (league select + filters)
============================================================ */
.inj-controls{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.inj-control-group{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inj-label{
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.inj-select{
  padding: 10px 38px 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1.5px solid rgba(15,23,42,0.12);
  border-radius: 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%2364748b' d='M4 6l4 4 4-4z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  transition: all .2s ease;
  min-width: 260px;
}
.inj-select:hover{
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
}
.inj-select:focus{
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.inj-filters{
  display: flex;
  gap: 4px;
  background: rgba(15,23,42,0.04);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.06);
}

.inj-filter{
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.inj-filter:hover{
  color: #0f172a;
  background: rgba(255,255,255,0.6);
}
.inj-filter.is-active{
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 3px 10px rgba(239,68,68,0.25);
}

/* ============================================================
   BOARD
============================================================ */
.inj-board{
  margin-top: 18px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(249,250,255,0.75));
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 4px 12px rgba(15,23,42,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}

.inj-loading{
  padding: 60px 20px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}
.inj-spinner{
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 3px solid rgba(15,23,42,0.08);
  border-top-color: #ef4444;
  border-radius: 50%;
  animation: inj-spin 0.8s linear infinite;
}
@keyframes inj-spin{ to{ transform: rotate(360deg); } }

.inj-empty{
  padding: 50px 20px;
  text-align: center;
  color: #64748b;
}
.inj-empty-icon{ font-size: 42px; margin-bottom: 12px; opacity: .5; }
.inj-empty-title{ font-size: 17px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.inj-empty-text{ font-size: 13.5px; max-width: 400px; margin: 0 auto; line-height: 1.5; }

/* ============================================================
   HEADER
============================================================ */
.inj-header{
  background: linear-gradient(90deg, #b91c1c, #ef4444);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.inj-header-info{ flex: 1; min-width: 0; }
.inj-header-league{
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.inj-header-meta{
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-top: 2px;
}
.inj-header-count{
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  flex-shrink: 0;
}

/* ============================================================
   LIST
============================================================ */
.inj-list-header{
  display: grid;
  grid-template-columns: 60px 1fr 1fr 80px;
  align-items: center;
  padding: 10px 16px;
  background: rgba(15,23,42,0.04);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.inj-list{
  display: flex;
  flex-direction: column;
}

.inj-row{
  display: grid;
  grid-template-columns: 60px 1fr 1fr 80px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15,23,42,0.05);
  gap: 8px;
  transition: background .15s ease;
}
.inj-row:hover{
  background: linear-gradient(180deg, rgba(239,68,68,0.03), rgba(239,68,68,0.01));
}
.inj-row:last-child{ border-bottom: none; }

/* Photo */
.inj-photo-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
}
.inj-photo{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.inj-photo-placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

/* Info */
.inj-info{ min-width: 0; }
.inj-name{
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inj-team{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
}
.inj-team-logo{
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Reason */
.inj-reason{ min-width: 0; }
.inj-category-tag{
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.inj-cat-injury .inj-category-tag,
.inj-category-tag.inj-cat-injury{
  background: rgba(239,68,68,0.12);
  color: #b91c1c;
}
.inj-cat-suspension .inj-category-tag,
.inj-category-tag.inj-cat-suspension{
  background: rgba(220,38,38,0.18);
  color: #991b1b;
}
.inj-cat-illness .inj-category-tag,
.inj-category-tag.inj-cat-illness{
  background: rgba(245,158,11,0.15);
  color: #b45309;
}
.inj-reason-text{
  font-size: 12.5px;
  color: #475569;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Date */
.inj-date{
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 720px){
  .inj-controls{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .inj-control-group{ width: 100%; }
  .inj-select{ flex: 1; min-width: auto; width: 100%; }
  .inj-filters{ overflow-x: auto; }
  .inj-filter{ padding: 7px 10px; font-size: 11.5px; }

  .inj-list-header,
  .inj-row{
    grid-template-columns: 44px 1fr 60px;
    gap: 8px;
  }
  .inj-list-header > div:nth-child(3),
  .inj-row .inj-reason{
    display: none;
  }
  .inj-info{ min-width: 0; }
  .inj-name{ font-size: 13px; }
  .inj-photo{ width: 38px; height: 38px; }
  .inj-team{ font-size: 11px; }

  /* Mobile'da reason'ı oyuncu adının altına yaz */
  .inj-row{ position: relative; padding-bottom: 28px; }
  .inj-row::after{
    content: attr(data-category);
    position: absolute;
    bottom: 8px;
    left: 70px;
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 480px){
  .glass-card{ padding: 16px; }
  .page-intro h1{ font-size: 22px; }
  .inj-date{ font-size: 11px; }
}

/* ============================================================
   FAQ ACCORDION
============================================================ */
.inj-faq-section{ margin-top: 26px; }
.inj-faq-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.inj-faq-item{
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.inj-faq-item:hover{
  border-color: rgba(239,68,68,0.3);
  box-shadow: 0 4px 12px rgba(239,68,68,0.08);
}
.inj-faq-question{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}
.inj-faq-icon{
  font-size: 22px;
  font-weight: 700;
  color: #ef4444;
  flex-shrink: 0;
  transition: transform .25s ease;
  line-height: 1;
}
.inj-faq-item.is-open .inj-faq-icon{
  transform: rotate(45deg);
}
.inj-faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 20px;
}
.inj-faq-item.is-open .inj-faq-answer{
  max-height: 500px;
  padding: 0 20px 18px;
}
.inj-faq-answer p{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #475569;
}

/* ============================================================
   ARTICLE / AUTHOR
============================================================ */
.article{ margin-top:26px; }
.article h2{ font-size:22px; margin-bottom:12px; font-weight: 800; letter-spacing: -0.2px; color:#0f172a; }
.article h3{ font-size:18px; margin-top:22px; font-weight: 700; color:#0f172a; }
.article p{ font-size:14.5px; line-height:1.75; color:#444; }
.article a{ color:#0a6dd1; }

.author-byline{ display:flex; align-items:flex-start; gap:16px; padding:20px; margin-top: 26px; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(249,250,255,0.85)); border:1px solid rgba(15,23,42,0.07); border-radius:18px; box-shadow: 0 6px 18px rgba(15,23,42,0.05); }
.author-byline .ab-avatar{ width:64px; height:64px; border-radius:50%; overflow:hidden; flex-shrink:0; background: linear-gradient(135deg, #b91c1c, #ef4444); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:22px; border:2px solid rgba(255,255,255,.35); }
.author-byline .ab-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.author-byline .ab-info{ min-width:0; flex:1; }
.author-byline .ab-kicker{ font-size:11px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:#64748b; margin-bottom:3px; }
.author-byline .ab-name{ font-size:17px; font-weight:800; color:#0f172a; text-decoration:none; letter-spacing:-0.2px; display:inline-block; margin-bottom:2px; }
.author-byline .ab-name:hover{ color:#ef4444; }
.author-byline .ab-style{ font-size:12.5px; color:#64748b; font-weight:600; margin-bottom: 2px; }
.author-byline .ab-bio{ font-size:13.5px; color:#475569; line-height:1.6; margin: 8px 0 10px; }
.author-byline .ab-links{ display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.author-byline .ab-more{ font-size:12.5px; font-weight:700; color:#ef4444; text-decoration:none; }
.author-byline .ab-more:hover{ text-decoration:underline; }
.author-byline .ab-social{ font-size:12px; font-weight:700; color:#475569; text-decoration:none; padding: 4px 11px; background: rgba(15,23,42,0.06); border-radius: 999px; transition: all .15s ease; }
.author-byline .ab-social:hover{ background: #ef4444; color:#fff; }

figure.hero-fig{ margin: 30px 0 6px; text-align: center; }
figure.hero-fig img{ width: 100%; max-width: 600px; height: auto; border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
figure.hero-fig figcaption{ font-size: 12.5px; color: #666; margin-top: 10px; }

@media (max-width: 720px){
  .article h2{ font-size: 19px; }
  .article h3{ font-size: 16px; }
  .author-byline{ padding:16px; gap:12px; }
  .author-byline .ab-avatar{ width:52px; height:52px; font-size: 19px; }
  .author-byline .ab-name{ font-size:16px; }
}