/* ==========================================================================
   Sayfa tipleri (Core\PageTypes) — tema değişkenlerini kullanır
   ========================================================================== */
.pt-section-head { margin-bottom: 28px; }
.pt-section-head .wr-title { margin: 6px 0 0; }

/* Kartlar */
.pt-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.pt-card {
    display: flex; flex-direction: column; gap: 10px; padding: 28px;
    background: #fff; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; color: inherit; text-decoration: none;
}
.pt-card h3 { font-size: 1.15rem; margin: 6px 0 0; color: var(--wr-ink); }
.pt-card-text { color: var(--wr-muted); line-height: 1.65; font-size: .95rem; }
.pt-card-icon {
    width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--wr-red-tint); color: var(--wr-red); font-size: 24px;
}
.pt-card-media { display: block; aspect-ratio: 16/10; border-radius: calc(var(--wr-radius-lg) - 8px); overflow: hidden; margin: -10px -10px 6px; }
.pt-card-media img { width: 100%; height: 100%; object-fit: cover; }
.pt-card-link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); border-color: transparent; }
.pt-card-more { margin-top: auto; padding-top: 8px; color: var(--wr-red); font-weight: 700; font-size: .9rem; }

/* Hakkımızda */
.pt-about-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pt-about-intro.no-image { grid-template-columns: 1fr; max-width: 860px; }
.pt-about-media { margin: 0; position: relative; }
.pt-about-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--wr-radius-lg); }
.pt-about-media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: var(--wr-radius-lg); background: var(--wr-red-tint); z-index: -1; }
.pt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--wr-line); border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); overflow: hidden; }
.pt-stat { background: #fff; padding: 30px 24px; text-align: center; }
.pt-stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--wr-red); font-weight: 800; }
.pt-stat span { display: block; margin-top: 10px; color: var(--wr-muted); font-size: .95rem; }
.pt-timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--wr-line); display: grid; gap: 26px; }
.pt-timeline li { position: relative; }
.pt-timeline li::before { content: ""; position: absolute; left: -36px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--wr-red); box-shadow: 0 0 0 5px var(--wr-red-tint); }
.pt-timeline strong { display: block; font-size: 1.1rem; color: var(--wr-ink); margin-bottom: 4px; }

/* Süreç adımları */
.pt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.pt-step { padding: 26px; border-radius: var(--wr-radius-lg); background: var(--wr-soft); }
.pt-step-no { font-size: 2rem; font-weight: 800; color: var(--wr-red); opacity: .9; }
.pt-step h3 { font-size: 1.1rem; margin: 10px 0 6px; color: var(--wr-ink); }
.pt-step p { margin: 0; color: var(--wr-muted); line-height: 1.6; }

/* CTA */
.pt-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
    padding: clamp(28px, 4vw, 48px); border-radius: var(--wr-radius-lg);
    background: var(--wr-ink); color: #fff;
}
.pt-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.pt-cta p { margin: 0; color: rgba(255,255,255,.75); max-width: 560px; }
.pt-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.pt-cta-phone { color: #fff; font-weight: 700; text-decoration: none; }

/* Blog öne çıkan */
.pt-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; margin-bottom: 34px; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); overflow: hidden; color: inherit; text-decoration: none; background: #fff; }
.pt-featured-media { display: block; min-height: 320px; background: var(--wr-soft); }
.pt-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.pt-featured-body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 4vw, 48px); }
.pt-featured-body h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--wr-ink); }
.pt-featured-body p { margin: 0; color: var(--wr-muted); line-height: 1.7; }
.pt-featured:hover h2 { color: var(--wr-red); }

/* Haber listesi */
.pt-news-list { display: grid; gap: 14px; }
.pt-news-item { display: flex; align-items: center; gap: 22px; padding: 16px; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); color: inherit; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.pt-news-item:hover { border-color: transparent; box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.pt-news-media { flex: 0 0 200px; aspect-ratio: 16/10; border-radius: calc(var(--wr-radius-lg) - 6px); overflow: hidden; }
.pt-news-media img { width: 100%; height: 100%; object-fit: cover; }
.pt-news-body { flex: 1; min-width: 0; }
.pt-news-body time { font-size: .82rem; font-weight: 700; color: var(--wr-red); }
.pt-news-body h3 { margin: 4px 0 6px; font-size: 1.15rem; color: var(--wr-ink); }
.pt-news-body p { margin: 0; color: var(--wr-muted); }
.pt-news-arrow { font-size: 20px; color: var(--wr-muted); padding-right: 10px; }

.pt-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pt-pagination a { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--wr-line); color: var(--wr-ink); text-decoration: none; font-weight: 700; }
.pt-pagination a.is-active, .pt-pagination a:hover { background: var(--wr-red); border-color: var(--wr-red); color: #fff; }

/* Paylaş */
.pt-share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--wr-line); color: var(--wr-muted); font-weight: 600; }
.pt-share a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--wr-soft); color: var(--wr-ink); text-decoration: none; }
.pt-share a:hover { background: var(--wr-red); color: #fff; }

/* Referanslar */
.pt-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.pt-logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 3/2; padding: 22px; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); background: #fff; }
.pt-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.pt-logo:hover img { filter: none; opacity: 1; }

/* Ekip */
.pt-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.pt-member { margin: 0; text-align: center; }
.pt-member-photo { display: block; aspect-ratio: 4/5; border-radius: var(--wr-radius-lg); overflow: hidden; background: var(--wr-soft); }
.pt-member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pt-member:hover img { transform: scale(1.04); }
.pt-member figcaption { padding-top: 14px; }
.pt-member strong { display: block; color: var(--wr-ink); font-size: 1.05rem; }
.pt-member span { color: var(--wr-red); font-size: .9rem; font-weight: 600; }

/* SSS */
.pt-faq-search { position: relative; margin-bottom: 22px; }
.pt-faq-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--wr-muted); }
.pt-faq-search input { width: 100%; height: 56px; padding: 0 18px 0 48px; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); font: inherit; background: #fff; }
.pt-faq-search input:focus { outline: none; border-color: var(--wr-red); box-shadow: 0 0 0 4px var(--wr-red-tint); }
.pt-faq-list { display: grid; gap: 12px; }
.pt-faq-item { border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); background: #fff; }
.pt-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; color: var(--wr-ink); list-style: none; }
.pt-faq-item summary::-webkit-details-marker { display: none; }
.pt-faq-item summary i { color: var(--wr-red); transition: transform .2s; }
.pt-faq-item[open] summary i { transform: rotate(45deg); }
.pt-faq-item .wr-prose { padding: 0 22px 20px; }

/* Dokümanlar */
.pt-doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.pt-doc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); color: inherit; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.pt-doc:hover { border-color: var(--wr-red); box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.pt-doc-icon { font-size: 34px; color: var(--wr-red); }
.pt-doc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-doc-body strong { color: var(--wr-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-doc-body span, .pt-doc-body small { color: var(--wr-muted); font-size: .85rem; }
.pt-doc-dl { font-size: 20px; color: var(--wr-muted); }

/* Yasal */
.pt-legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.pt-legal-layout.no-toc { grid-template-columns: minmax(0, 860px); justify-content: center; }
.pt-toc { position: sticky; top: 110px; padding: 22px; border-radius: var(--wr-radius-lg); background: var(--wr-soft); font-size: .9rem; }
.pt-toc ol { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.pt-toc li.lvl-3 { margin-left: 12px; list-style: circle; }
.pt-toc a { color: var(--wr-text); text-decoration: none; }
.pt-toc a:hover { color: var(--wr-red); }
.pt-legal-body { max-width: 860px; }
.pt-legal-body h2, .pt-legal-body h3 { scroll-margin-top: 110px; }
.pt-legal-date { color: var(--wr-muted); font-size: .9rem; }
.pt-legal-print { margin-top: 30px; }

/* Landing */
.pt-landing-hero { position: relative; padding: clamp(90px, 14vw, 180px) 0 clamp(70px, 10vw, 130px); background: var(--wr-ink); color: #fff; overflow: hidden; }
.pt-landing-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--pt-hero, none); background-size: cover; background-position: center; opacity: .38; }
.pt-landing-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), transparent 75%); }
.pt-landing-copy { position: relative; z-index: 1; max-width: 720px; }
.pt-landing-copy h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; margin: 10px 0 18px; }
.pt-landing-copy p { color: rgba(255,255,255,.82); font-size: 1.15rem; line-height: 1.7; }
.pt-landing-copy .wr-eyebrow { color: #fff; opacity: .8; }
.pt-landing-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.pt-landing-actions .wr-button-outline { color: #fff; border-color: rgba(255,255,255,.6); }

@media (max-width: 991px) {
    .pt-about-intro, .pt-featured, .pt-legal-layout { grid-template-columns: 1fr; }
    .pt-toc { position: static; }
    .pt-featured-media { min-height: 220px; }
}
@media (max-width: 640px) {
    .pt-news-item { flex-direction: column; align-items: stretch; }
    .pt-news-media { flex-basis: auto; }
    .pt-news-arrow { display: none; }
}
@media print {
    header, footer, .wr-inner-banner, .pt-toc, .pt-legal-print, .pt-share { display: none !important; }
}
