/* ==========================================================================
   Hizmet detayı. Başlıkta hizmetin kendi teknik çizimi (PageHero Aside, ServiceDrawing; ortak
   stiller service-drawing.css'te), altında içerik + kapsam + teknoloji + kardeşler.
   JS (js/pages/practice-detail.js) çizim kabına tlSvd özniteliklerini yazar; JS yokken (ya da
   azaltılmış harekette) çizim tam görünür.
   ========================================================================== */

.tn .pd-main { padding-bottom: clamp(32px, 6vh, 72px); }
.tn .pd-body { min-width: 0; max-width: 1100px; }
.tn .pd-art { width: 100%; max-width: 560px; margin-left: auto; }

/* Quill içeriği: koyu zeminde okuma tipografisi. */
.tn .pd-content { max-width: 40em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: var(--tn-bone); overflow-wrap: anywhere; }
.tn .pd-content > :first-child { margin-top: 0; }
.tn .pd-content p, .tn .pd-content ul, .tn .pd-content ol { margin: 0 0 1.1em; }
.tn .pd-content ul { list-style: disc; padding-left: 1.3em; }
.tn .pd-content ol { list-style: decimal; padding-left: 1.3em; }
.tn .pd-content li { list-style: inherit; margin-bottom: .4em; }
.tn .pd-content h2, .tn .pd-content h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; margin: 1.6em 0 .5em; }
.tn .pd-content a { color: var(--tn-amber); border-bottom: 1px solid currentColor; }
.tn .pd-content strong { font-weight: 500; }
.tn .pd-content img { max-width: 100%; height: auto; border-radius: 14px; }
.tn .pd-content h1 { font-size: clamp(26px, 3vw, 40px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; margin: 1.6em 0 .5em; }
.tn .pd-content h2 { font-size: clamp(22px, 2.4vw, 32px); }
.tn .pd-content h3 { font-size: clamp(18px, 1.8vw, 24px); }
.tn .pd-content blockquote { margin: 0 0 1.1em; padding-left: 1.2em; border-left: 2px solid var(--tn-amber); color: var(--tn-mute); }
.tn .pd-content pre { max-width: 100%; overflow-x: auto; margin: 0 0 1.1em; padding: 16px 18px; border-radius: 12px; background: var(--tn-ink-2); font: 400 13px/1.7 var(--tn-mono); }
.tn .pd-content :not(pre) > code { font: 400 .9em var(--tn-mono); padding: .1em .35em; border-radius: 6px; background: var(--tn-ink-3); overflow-wrap: anywhere; }
.tn .pd-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.1em; }
.tn .pd-content th, .tn .pd-content td { padding: 8px 12px; border: 1px solid var(--tn-line); text-align: left; vertical-align: top; }
.tn .pd-content iframe, .tn .pd-content video { max-width: 100%; }

.tn .pd-sec { padding-top: clamp(40px, 7vh, 88px); }
.tn .pd-sec .tn-sec-head { margin-bottom: clamp(20px, 3.4vh, 40px); }
.tn .pd-sec .tn-h2 { font-size: clamp(28px, 3.6vw, 56px); max-width: 18em; overflow-wrap: anywhere; }

/* ----------------------------- Satırlar ----------------------------- */
.tn .pd-list { border-bottom: 1px solid var(--tn-line); }
.tn .pd-row { border-top: 1px solid var(--tn-line); }
.tn .pd-link {
    position: relative; display: grid; grid-template-columns: clamp(56px, 6vw, 96px) minmax(0, 1fr) auto;
    align-items: center; gap: 0 clamp(8px, 1.4vw, 20px); min-height: 44px; padding: clamp(16px, 2.2vh, 24px) 0;
    color: var(--tn-bone);
}
.tn .pd-static { grid-template-columns: clamp(56px, 6vw, 96px) minmax(0, 1fr); }
.tn .pd-num { font-size: clamp(32px, 4vw, 64px); font-weight: 200; letter-spacing: -0.06em; line-height: .9; color: rgba(236, 235, 230, .24); font-variant-numeric: tabular-nums; transition: color .35s ease; }
.tn .pd-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; transition: transform .5s var(--tn-ease); }
.tn .pd-t { font-size: clamp(18px, 1.8vw, 28px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.12; overflow-wrap: anywhere; }
.tn .pd-s { max-width: 38em; font-size: 15px; line-height: 1.5; color: var(--tn-mute); overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tn .pd-go { color: var(--tn-amber); font-size: 18px; transition: transform .4s var(--tn-ease); }
.tn .pd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
a.pd-link:focus-visible { outline: 2px solid var(--tn-amber); outline-offset: 4px; border-radius: 6px; }
a.pd-link:focus-visible .pd-num { color: var(--tn-amber); }
a.pd-link:focus-visible .pd-text { transform: translateX(10px); }
@media (hover: hover) {
    a.pd-link:hover .pd-num { color: var(--tn-amber); }
    a.pd-link:hover .pd-text { transform: translateX(10px); }
    a.pd-link:hover .pd-go { transform: translateX(6px); }
}

/* ----------------------------- Teknoloji etiketleri ----------------------------- */

.tn .pd-close { padding-top: clamp(40px, 8vh, 96px); padding-bottom: clamp(64px, 12vh, 140px); }
.tn .pd-all { margin-top: clamp(24px, 4vh, 40px); }
.tn .pd-all a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tn-mute); transition: color .2s; }
.tn .pd-all a:hover { color: var(--tn-amber); }
.tn .pd-back { padding-bottom: clamp(64px, 12vh, 140px); }

/* ----------------------------- Duyarlı ----------------------------- */
@media (max-width: 900px) {
    .tn .pd-art { margin-left: 0; }
}
@media (max-width: 640px) {
    .tn .pd-link { grid-template-columns: 48px minmax(0, 1fr) auto; }
    .tn .pd-static { grid-template-columns: 48px minmax(0, 1fr); }
    .tn .pd-num { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .tn.pd *, .tn.pd *::before, .tn.pd *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
