/* Denetim paket sayfaları: künye, ekler, ara çağrı ve bağlantılı satırlar.
   Renkler tools/styles yapılandırmasındaki değerlerle aynıdır. */

.sp-kunye { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; border-top: 1px solid #ece7e8; border-bottom: 1px solid #ece7e8; }
.sp-kunye > div { min-width: 0; padding: 22px 24px 24px; border-left: 1px solid #ece7e8; }
.sp-kunye > div:first-child { padding-left: 0; border-left: 0; }
.sp-kunye dt { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; color: #776b6e; }
.sp-kunye dd { margin: 10px 0 0; font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #1a1214; text-wrap: balance; }

.sp-trio { margin-top: 40px; }
.sp-note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: #776b6e; }

.sp-ekler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sp-ekler li { min-width: 0; border-radius: 20px; background: #f5f1f2; padding: 28px; }
.sp-ekler h3 { font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; color: #1a1214; }
.sp-ekler p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: #74686b; text-wrap: pretty; }

.sp-ara { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; border-radius: 28px; background: #f6f4f5; padding: 44px 56px; }
.sp-ara p { max-width: 58ch; font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; color: #1a1214; text-wrap: pretty; }
.sp-ara-links { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-ara a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; border: 1px solid #1a1214; border-radius: 999px; padding: 0 22px; font-size: 13.5px; font-weight: 600; color: #1a1214; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.sp-ara a:hover { background: #1a1214; color: #fff; }
.sp-ara a:focus-visible { outline: 2px solid #C00020; outline-offset: 3px; }
.sp-ara svg { width: 14px; height: 14px; flex: none; }

.sp-rows { padding: 0; list-style: none; border-bottom: 1px solid #ece7e8; }
.sp-rows a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 18px; align-items: baseline; gap: 6px 28px; border-top: 1px solid #ece7e8; padding: 22px 0; color: #1a1214; }
.sp-rows.sp-wide a { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 18px; gap: 6px 40px; padding: 28px 0; }
.sp-t { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; transition: color .2s ease; }
.sp-wide .sp-t { font-size: 20px; }
.sp-d { font-size: 15px; line-height: 1.65; color: #74686b; text-wrap: pretty; }
.sp-m { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; letter-spacing: .04em; color: #776b6e; white-space: nowrap; }
.sp-rows svg { width: 16px; height: 16px; align-self: center; color: rgba(26, 18, 20, .4); transition: color .2s ease, transform .2s ease; }
.sp-rows a:hover .sp-t, .sp-rows a:hover svg { color: #C00020; }
.sp-rows a:hover svg { transform: translateX(2px); }
.sp-rows a:focus-visible { outline: 2px solid #C00020; outline-offset: 3px; }

@media (max-width: 1023px) {
  .sp-kunye { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-kunye > div { padding: 18px 16px 20px; }
  .sp-kunye > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .sp-kunye > div:nth-child(n+3) { border-top: 1px solid #ece7e8; }
  .sp-kunye dd { font-size: 17px; }
  .sp-ara { grid-template-columns: minmax(0, 1fr); padding: 36px 32px; }
  .sp-rows.sp-wide a { grid-template-columns: minmax(0, 1fr) 18px; }
  .sp-rows.sp-wide .sp-t, .sp-rows.sp-wide .sp-d, .sp-rows.sp-wide .sp-m { grid-column: 1; }
  .sp-rows.sp-wide svg { grid-column: 2; grid-row: 1; }
}
@media (max-width: 767px) {
  .sp-kunye { grid-template-columns: minmax(0, 1fr); }
  .sp-kunye > div, .sp-kunye > div:nth-child(odd) { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-left: 0; }
  .sp-kunye > div:nth-child(n+2) { border-top: 1px solid #ece7e8; }
  .sp-kunye dt { flex: none; }
  .sp-kunye dd { margin: 0; font-size: 16px; text-align: right; }
  .pilot-service main > section:has(> .sp-kunye) { padding-bottom: 0 !important; }
  .sp-trio { margin-top: 24px; }
  .sp-ekler { grid-template-columns: minmax(0, 1fr); }
  .sp-ekler li { padding: 22px 20px; }
  .sp-ara { border-radius: 20px; padding: 28px 20px; }
  .sp-ara p { font-size: 17px; }
  .sp-ara a { white-space: normal; padding: 10px 20px; }
  .sp-rows a { grid-template-columns: minmax(0, 1fr) 18px; padding: 18px 0; }
  .sp-rows .sp-t, .sp-rows .sp-d { grid-column: 1; }
  .sp-rows svg { grid-column: 2; grid-row: 1; }
  .sp-t, .sp-wide .sp-t { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-ara a, .sp-t, .sp-rows svg { transition: none; }
}

/* Alan sayfalarındaki kart ızgarasında tek kalan son kart satırı doldurur. */
@media (min-width: 768px) {
  .category-page main > section:nth-of-type(4) > div > .svc-row:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
}
