/* BİASDER kart stilleri — tek kaynak dosya */

/* Yalnız mobil Takım Paneli. Masaüstü ve JavaScript değişmez. */
@media (max-width: 700px) {
  #management .team-list { overflow-x: visible; max-width: 100%; }
  #management .team-table,
  #management .team-table tbody { display: block; width: 100%; min-width: 0; }
  #management .team-table thead { display: none; }
  #management .team-table tbody tr {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px; padding: 14px; margin: 0 0 12px;
    border: 1px solid #315a78; border-radius: 13px; background: #102b46;
  }
  #management .team-table tbody td {
    display: flex; flex-direction: column; align-items: flex-start;
    min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere;
    background: transparent !important;
  }
  #management .team-table tbody td::before {
    display: block; margin-bottom: 6px; color: #8fc8e7;
    font-size: 10px; font-weight: 800; letter-spacing: .05em;
  }
  #management .team-table tbody td:nth-child(1) { grid-column: 1 / -1; }
  #management .team-table tbody td:nth-child(1)::before { content: 'TAKIM ADI'; }
  #management .team-table tbody td:nth-child(1) strong { font-size: 15px; color: #fff; }
  #management .team-table tbody td:nth-child(2)::before { content: '1. ETAP SEKTÖR'; }
  #management .team-table tbody td:nth-child(3)::before { content: '2. ETAP SEKTÖR'; }
  #management .team-table tbody td:nth-child(4),
  #management .team-table tbody td:nth-child(5) { grid-column: 1 / -1; }
  #management .team-table tbody td:nth-child(4)::before { content: 'DURUM'; }
  #management .team-table tbody td:nth-child(5)::before { content: 'İŞLEMLER'; }
  #management .team-table .actions { display: flex; flex-wrap: wrap; width: 100%; gap: 7px; }
  #management .team-table .actions button { flex: 1 1 auto; max-width: 100%; }
  #management .team-sector-pill,
  #management .team-status-pill { max-width: 100%; white-space: normal; }
}

/* Yarışmacı kartı PDF. Tek tanım: sonradan eklenmiş büyütme,
   öteleme ve 88x63 için ayrı tasarım kuralları bulunmaz. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
@page { size: 88mm 63mm; margin: 0; }

.competitor-card {
  position: relative;
  isolation: isolate;
  width: 88mm;
  height: 63mm;
  overflow: hidden;
  break-after: page;
  page-break-after: always;
  border: .25mm solid #16ddf3;
  border-radius: 2mm;
  color: #fff;
  font-family: Arial, sans-serif;
  background: linear-gradient(100deg, rgba(2, 18, 39, .28), rgba(3, 30, 58, .10)), url('/assets/site/yarismaci-kart.webp') center / cover no-repeat;
}
.competitor-card:last-child { break-after: auto; page-break-after: auto; }
.competitor-card::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: .65mm; background: #22d5f2; }
.card-background, .card-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-background { object-fit: cover; }
.card-shade { background: linear-gradient(90deg, rgba(0, 25, 51, .48), rgba(0, 33, 66, .16)); }
.card-content {
  position: relative; z-index: 1; height: 100%; padding: 3.1mm 3.5mm 2.5mm;
  display: flex; flex-direction: column; justify-content: space-between;
}
.competitor-card-header {
  position: relative; display: flex; min-height: 30mm;
  justify-content: space-between; gap: 2mm; align-items: flex-start;
  border-bottom: .22mm solid rgba(150, 205, 230, .35); padding-bottom: 1.5mm;
}
.competitor-card-header > div:first-child { flex: 1; min-width: 0; padding-right: 1mm; }
.eyebrow { margin: 0 0 1.2mm; color: #ffd742; font-size: 2.15mm; font-weight: 800; letter-spacing: .12mm; }
.competitor-card-header h2 {
  margin: 0; max-width: 49mm; color: #fff;
  font-size: 3.8mm; line-height: 1.15; font-weight: 800;
}
.yc-card-identities { position: static; flex: 0 0 18mm; display: flex; justify-content: flex-end; }
.competitor-card-logo {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 10.5mm; height: 10.5mm; object-fit: contain;
}
.yc-card-portrait {
  width: 13mm; height: 16mm; object-fit: cover; object-position: center 35%;
  border: .3mm solid #7dd5f5; border-radius: 1.3mm;
}
.yc-card-portrait[hidden] { display: none; }
.competitor-card-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3mm; }
.competitor-card-info > div {
  min-width: 0; padding: 1.5mm 2mm; border: .22mm solid rgba(30, 170, 212, .66);
  border-radius: 1.5mm; background: rgba(1, 29, 59, .85);
}
.competitor-card-info small {
  display: block; color: #c6ecff; font-size: 1.75mm; font-weight: 700; margin-bottom: .65mm;
}
.competitor-card-info strong {
  display: block; min-width: 0; color: #fff; font-size: 2.8mm; line-height: 1.1;
  font-weight: 700; overflow-wrap: anywhere;
}
.competitor-card-info > div:nth-child(n+3) { padding: 1mm 2mm; }
.competitor-card-info > div:nth-child(n+3) strong {
  font-size: 5mm; font-weight: 650; line-height: 1; margin-top: .2mm;
}
@media print {
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
