.uky-yks-content{--uky-border:#e5e7eb;--uky-soft:#f8fafc;--uky-text:#0f172a;--uky-muted:#64748b;color:var(--uky-text);width:100%;max-width:none;box-sizing:border-box}
.uky-yks-intro{font-size:16px;line-height:1.75;margin-bottom:16px}.uky-yks-intro p:first-child{margin-top:0}
.uky-yks-meta{display:flex;flex-wrap:wrap;gap:8px 18px;padding:11px 14px;margin:14px 0;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;font-size:13px}
.uky-yks-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--uky-border);border-radius:12px;margin:18px 0;box-sizing:border-box}
.uky-yks-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;margin:0!important;background:#fff}
.uky-yks-table th{background:#0f172a;color:#fff;font-weight:700;text-align:left;font-size:12.5px;padding:11px 9px;white-space:normal;line-height:1.35;border:0;overflow-wrap:anywhere}
.uky-yks-table td{padding:10px 9px;border:0;border-bottom:1px solid var(--uky-border);font-size:12.5px;line-height:1.45;vertical-align:top;overflow-wrap:anywhere;word-break:normal}
.uky-yks-table th:nth-child(1),.uky-yks-table td:nth-child(1){width:24%}
.uky-yks-table th:nth-child(2),.uky-yks-table td:nth-child(2){width:23%}
.uky-yks-table th:nth-child(3),.uky-yks-table td:nth-child(3){width:9%}
.uky-yks-table th:nth-child(4),.uky-yks-table td:nth-child(4){width:10%}
.uky-yks-table th:nth-child(5),.uky-yks-table td:nth-child(5){width:9%}
.uky-yks-table th:nth-child(6),.uky-yks-table td:nth-child(6){width:12.5%}
.uky-yks-table th:nth-child(7),.uky-yks-table td:nth-child(7){width:12.5%}
.uky-yks-table tbody tr:nth-child(even){background:var(--uky-soft)}.uky-yks-table tbody tr:hover{background:#eff6ff}.uky-yks-table tbody tr:last-child td{border-bottom:0}
.uky-yks-table .uky-main-cell{font-weight:700;min-width:0}
.uky-yks-source{font-size:12px!important;color:var(--uky-muted);line-height:1.6;margin-top:12px}
.uky-yks-quota-switch{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}
.uky-yks-quota-btn{appearance:none;border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer;transition:.15s ease}
.uky-yks-quota-btn:hover{border-color:#2563eb;color:#1d4ed8}.uky-yks-quota-btn.is-active{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.uky-yks-quota-single{display:inline-block;margin:16px 0 8px;padding:7px 10px;border:1px solid #dbeafe;background:#eff6ff;border-radius:8px;font-size:13px;color:#1e3a8a}

/*
 * Bu eklentinin ürettiği YKS yazıları tam genişlikte çalışır.
 * Kurallar body üzerindeki özel sınıf sayesinde diğer yazılara uygulanmaz.
 * WordPress/Jannah/GeneratePress/Astra/Block temalarındaki yaygın sidebar ve
 * içerik kolonlarını kapsayacak şekilde seçiciler bilinçli olarak çoğaltıldı.
 */
body.uky-yks-fullwidth #sidebar,
body.uky-yks-fullwidth .sidebar,
body.uky-yks-fullwidth .sidebar-primary,
body.uky-yks-fullwidth .sidebar-secondary,
body.uky-yks-fullwidth .sidebar-right,
body.uky-yks-fullwidth .sidebar-left,
body.uky-yks-fullwidth #secondary,
body.uky-yks-fullwidth aside.widget-area,
body.uky-yks-fullwidth .site-sidebar,
body.uky-yks-fullwidth .td-ss-main-sidebar,
body.uky-yks-fullwidth .tie-sidebar,
body.uky-yks-fullwidth .sidebar-column{display:none!important}

body.uky-yks-fullwidth #primary,
body.uky-yks-fullwidth #main-content,
body.uky-yks-fullwidth .main-content,
body.uky-yks-fullwidth .content-area,
body.uky-yks-fullwidth .site-content .content-area,
body.uky-yks-fullwidth .site-main,
body.uky-yks-fullwidth .post-content,
body.uky-yks-fullwidth .entry-content,
body.uky-yks-fullwidth .main-content-row,
body.uky-yks-fullwidth .content-column,
body.uky-yks-fullwidth .td-main-content-wrap .td-main-content,
body.uky-yks-fullwidth .container-wrapper .main-content{width:100%!important;max-width:none!important;float:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}

body.uky-yks-fullwidth .site-content,
body.uky-yks-fullwidth .content-wrap,
body.uky-yks-fullwidth .main-content-wrap,
body.uky-yks-fullwidth .container-wrapper{max-width:100%!important}

/* Tabletlerde de masaüstü tablosu taşmadan daha sıkı yerleşsin. */
@media(min-width:768px) and (max-width:1100px){
  .uky-yks-table th{font-size:11.5px;padding:9px 6px}
  .uky-yks-table td{font-size:11.5px;padding:9px 6px}
  .uky-yks-table th:nth-child(1),.uky-yks-table td:nth-child(1){width:23%}
  .uky-yks-table th:nth-child(2),.uky-yks-table td:nth-child(2){width:22%}
  .uky-yks-table th:nth-child(3),.uky-yks-table td:nth-child(3){width:9%}
  .uky-yks-table th:nth-child(4),.uky-yks-table td:nth-child(4){width:10%}
  .uky-yks-table th:nth-child(5),.uky-yks-table td:nth-child(5){width:9%}
  .uky-yks-table th:nth-child(6),.uky-yks-table td:nth-child(6){width:13.5%}
  .uky-yks-table th:nth-child(7),.uky-yks-table td:nth-child(7){width:13.5%}
}

/* Mobilde tabloyu yatay kaydırmak yerine her satırı okunaklı bir karta dönüştürür. */
@media(max-width:767px){
  .uky-yks-intro{font-size:15px;line-height:1.7}
  .uky-yks-meta{gap:7px 14px;padding:10px 12px;font-size:12px}
  .uky-yks-quota-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;margin:14px 0 10px}
  .uky-yks-quota-btn{width:100%;min-width:0;font-size:12px;padding:9px 7px;text-align:center;white-space:normal}
  .uky-yks-table-wrap{overflow:visible;border:0;border-radius:0;background:transparent;margin:14px 0}
  .uky-yks-table{display:block;width:100%!important;min-width:0!important;background:transparent;border:0;border-collapse:separate;table-layout:auto}
  .uky-yks-table thead{display:none}
  .uky-yks-table tbody{display:block;width:100%}
  .uky-yks-table tbody tr,.uky-yks-table tbody tr:nth-child(even),.uky-yks-table tbody tr:hover{display:block;width:100%;box-sizing:border-box;margin:0 0 12px;background:#fff;border:1px solid var(--uky-border);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.04)}
  .uky-yks-table td,.uky-yks-table .uky-main-cell{display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;align-items:start;width:100%!important;min-width:0!important;box-sizing:border-box;padding:9px 11px;border:0;border-bottom:1px solid var(--uky-border);font-size:12.5px;line-height:1.45;text-align:left;overflow-wrap:anywhere;word-break:normal}
  .uky-yks-table td::before{content:attr(data-uky-label);font-size:11px;line-height:1.4;font-weight:700;color:#64748b;text-transform:none;overflow-wrap:anywhere}
  .uky-yks-table td:last-child{border-bottom:0}
  .uky-yks-table td:first-child{display:block;padding:12px 12px;background:#f8fafc;font-size:14px;font-weight:800;color:#0f172a;border-bottom:1px solid var(--uky-border)}
  .uky-yks-table td:first-child::before{display:block;content:attr(data-uky-label);margin-bottom:3px;font-size:10px;letter-spacing:.02em;color:#64748b;font-weight:700}
  .uky-yks-table .uky-quota-value,.uky-yks-table .uky-placed-value,.uky-yks-table .uky-min-value,.uky-yks-table .uky-max-value{font-variant-numeric:tabular-nums}
  .uky-yks-source{font-size:11.5px!important}
}

@media(max-width:380px){
  .uky-yks-quota-switch{grid-template-columns:1fr}
  .uky-yks-table td,.uky-yks-table .uky-main-cell{grid-template-columns:92px minmax(0,1fr);gap:8px;padding:9px 10px;font-size:12px}
}

/* Program varyantları tek yazıda birleştiğinde 8 sütunlu masaüstü tablo düzeni. */
.uky-yks-table.uky-program-merged-table th:nth-child(1),.uky-yks-table.uky-program-merged-table td:nth-child(1){width:20%}
.uky-yks-table.uky-program-merged-table th:nth-child(2),.uky-yks-table.uky-program-merged-table td:nth-child(2){width:12%}
.uky-yks-table.uky-program-merged-table th:nth-child(3),.uky-yks-table.uky-program-merged-table td:nth-child(3){width:20%}
.uky-yks-table.uky-program-merged-table th:nth-child(4),.uky-yks-table.uky-program-merged-table td:nth-child(4){width:8%}
.uky-yks-table.uky-program-merged-table th:nth-child(5),.uky-yks-table.uky-program-merged-table td:nth-child(5){width:8%}
.uky-yks-table.uky-program-merged-table th:nth-child(6),.uky-yks-table.uky-program-merged-table td:nth-child(6){width:8%}
.uky-yks-table.uky-program-merged-table th:nth-child(7),.uky-yks-table.uky-program-merged-table td:nth-child(7){width:12%}
.uky-yks-table.uky-program-merged-table th:nth-child(8),.uky-yks-table.uky-program-merged-table td:nth-child(8){width:12%}
.uky-yks-table .uky-program-variant{font-weight:650;color:#334155}

@media(min-width:768px) and (max-width:1100px){
  .uky-yks-table.uky-program-merged-table th:nth-child(1),.uky-yks-table.uky-program-merged-table td:nth-child(1){width:20%}
  .uky-yks-table.uky-program-merged-table th:nth-child(2),.uky-yks-table.uky-program-merged-table td:nth-child(2){width:12%}
  .uky-yks-table.uky-program-merged-table th:nth-child(3),.uky-yks-table.uky-program-merged-table td:nth-child(3){width:18%}
  .uky-yks-table.uky-program-merged-table th:nth-child(4),.uky-yks-table.uky-program-merged-table td:nth-child(4){width:8%}
  .uky-yks-table.uky-program-merged-table th:nth-child(5),.uky-yks-table.uky-program-merged-table td:nth-child(5){width:9%}
  .uky-yks-table.uky-program-merged-table th:nth-child(6),.uky-yks-table.uky-program-merged-table td:nth-child(6){width:8%}
  .uky-yks-table.uky-program-merged-table th:nth-child(7),.uky-yks-table.uky-program-merged-table td:nth-child(7){width:12.5%}
  .uky-yks-table.uky-program-merged-table th:nth-child(8),.uky-yks-table.uky-program-merged-table td:nth-child(8){width:12.5%}
}
