/* Herkese açık içerik sayfaları: hakkımızda, yasal metinler, blog listesi ve yazı detayı.
   home.css'teki nav, footer, plaka etiketi ve .post kartlarını kullanır. */

.page { padding-top: 72px; }

.page-hero {
    background: radial-gradient(120% 90% at 85% 0%, #2a2d31 0%, var(--asphalt) 65%);
    color: #fff;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
    border-bottom: 6px solid var(--park);
}
.page-hero h1 {
    font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.4rem, 6.5vw, 4.4rem); line-height: .95; letter-spacing: -.005em;
    margin: 1.1rem 0 1rem; max-width: 20ch;
}
.page-hero p { color: #d8d6d0; font-size: 1.15rem; max-width: 60ch; margin: 0; }
.page-hero--article h1 { max-width: 26ch; font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-weight: 500; }

.page-section { padding-block: clamp(3rem, 7vw, 5rem); }

/* Uzun metin */
.prose { max-width: 760px; padding-block: clamp(2.5rem, 6vw, 4.5rem); font-size: 1.1rem; line-height: 1.75; }
.prose > p:first-of-type { font-size: 1.25rem; color: var(--ink); }
.prose p, .prose li { color: #33363c; }
.prose h2 {
    font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
    font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.05; margin: 2.75rem 0 1rem;
    padding-top: 1rem; border-top: 2px solid var(--ink);
}
.prose h3 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; margin: 2rem 0 .75rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.5rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--tr-blue); }
.prose a { color: var(--tr-blue); font-weight: 600; }
.prose strong { color: var(--ink); }
.callout { margin-top: 3rem; background: var(--plate); border: 2px solid var(--ink); border-left: 10px solid var(--tr-blue); border-radius: var(--r); padding: 1.5rem 1.75rem; }
.callout h3 { margin-top: 0; }
.callout p { margin: 0; }

/* Blog listesi */
.post-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-grid .post h2 { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; margin: 0 0 .5rem; transition: color .2s; }
.post__link:hover h2 { color: var(--tr-blue); }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Yazı detayı */
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--r); margin-bottom: 2.5rem; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--r); }
.article-content blockquote { border-left: 6px solid var(--park); padding: .5rem 0 .5rem 1.25rem; margin: 1.5rem 0; font-style: italic; color: var(--ink); }
.article-content pre { background: var(--asphalt); color: #e9e7e1; padding: 1rem; border-radius: var(--r); overflow-x: auto; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: .5rem .75rem; }
.article-content h1 { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 2.2rem; margin: 2.5rem 0 1rem; }

.article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.prose .article-foot__h { font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--ink-2); border: 0; padding: 0; margin: 0 0 .6rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-badge { font-family: var(--f-head); font-weight: 700; font-size: 1rem; background: var(--plate); border: 2px solid var(--ink); border-radius: var(--r); padding: .1rem .55rem; }
.share-row { display: flex; gap: .4rem; }
.share-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); background: var(--asphalt); color: #fff !important; font-size: 1.1rem; text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.share-btn:hover { background: var(--tr-blue); transform: translateY(-2px); }
.cta-plate { margin-top: 3.5rem; background: var(--asphalt); color: #fff; border-radius: var(--r); padding: clamp(1.75rem, 5vw, 2.75rem); text-align: center; border-bottom: 6px solid var(--park); }
.prose .cta-plate h2 { color: #fff; border: 0; padding: 0; margin: 0 0 .75rem; }
.prose .cta-plate p { color: #d8d6d0; margin-bottom: 1.5rem; }

/* ---------- Satılık araçlar vitrini ---------- */
.back-link { display: inline-flex; align-items: center; gap: .4rem; color: #d8d6d0; text-decoration: none; font-weight: 600; margin-bottom: 1.25rem; min-height: 44px; }
.back-link:hover { color: #fff; text-decoration: underline; }
.page-hero .back-link + .plate-tag { display: flex; width: fit-content; }

.filter-panel { background: var(--plate); border: 2px solid var(--ink); border-radius: var(--r); position: sticky; top: 92px; }
.filter-panel__head { list-style: none; cursor: pointer; padding: 1rem 1.25rem; font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; display: flex; align-items: center; gap: .5rem; border-bottom: 2px solid var(--line); }
.filter-panel__head::-webkit-details-marker { display: none; }
.filter-panel__head::after { content: "+"; margin-left: auto; font-size: 1.5rem; line-height: 1; }
.filter-panel[open] .filter-panel__head::after { content: "–"; }
@media (min-width: 992px) { .filter-panel__head { cursor: default; pointer-events: none; } .filter-panel__head::after { display: none; } }
.filter-panel__body { padding: 1.25rem; }
.filter-panel .form-label, .filter-panel legend { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.filter-panel .form-control, .filter-panel .form-select { border: 2px solid var(--line); border-radius: var(--r); min-height: 44px; }
.select2-container--bootstrap-5 .select2-selection { border: 2px solid var(--line) !important; border-radius: var(--r) !important; min-height: 44px; }

.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.results-bar__title { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; margin: 0; }
.results-bar__title span { color: var(--tr-blue); }
.view-toggle { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.view-toggle .btn { border: 0; border-radius: 0; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; min-height: 44px; display: inline-flex; gap: .4rem; align-items: center; }
.view-toggle .btn-primary, .view-toggle .btn-primary:hover { background: var(--ink); color: #fff; }
.view-toggle .btn-outline-primary { background: var(--plate); color: var(--ink); }
.view-toggle .btn-outline-primary:hover { background: #efece5; color: var(--ink); }

.lot-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.lot-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--plate); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease); }
.lot-card__link:hover { color: var(--ink); transform: translateY(-4px); }
.lot-card__media, .listing-photo { position: relative; aspect-ratio: 4 / 3; background: var(--asphalt); overflow: hidden; }
.lot-card__media img, .listing-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lot-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #5d6168; font-size: 3.5rem; background: var(--asphalt) repeating-linear-gradient(-66deg, transparent 0 60px, rgba(242,194,48,.35) 60px 66px); }
.lot-card__badge { position: absolute; top: .75rem; left: .75rem; background: var(--sign); color: #fff; font-weight: 700; font-size: .8rem; padding: .25rem .6rem; border-radius: var(--r); }
.lot-card__price { position: absolute; right: .75rem; bottom: .75rem; background: var(--park); color: var(--ink); font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; padding: .1rem .6rem; border-radius: var(--r); border: 2px solid var(--ink); }
.lot-card__body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.lot-card__body h3 { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; margin: 0; }
.lot-card__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem 1rem; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.lot-card__facts i { color: var(--tr-blue); margin-right: .25rem; }
.lot-card__cta { margin-top: auto; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; color: var(--tr-blue); }
.empty-lot { text-align: center; padding: 3.5rem 1rem; background: var(--plate); border: 2px dashed var(--ink-2); border-radius: var(--r); color: var(--ink-2); }
.empty-lot i { font-size: 2.5rem; margin-bottom: 1rem; }
.empty-lot h3 { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; color: var(--ink); font-size: 1.6rem; }
.lot-pager { display: flex; justify-content: center; margin-top: 2.5rem; }
.lot-pager .pagination { --bs-pagination-color: var(--ink); --bs-pagination-border-color: var(--ink); --bs-pagination-border-width: 2px; --bs-pagination-active-bg: var(--ink); --bs-pagination-active-border-color: var(--ink); --bs-pagination-hover-bg: var(--park); --bs-pagination-hover-color: var(--ink); --bs-pagination-border-radius: var(--r); --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(242,194,48,.6); flex-wrap: wrap; }
.lot-pager .page-link { min-width: 44px; min-height: 44px; display: grid; place-items: center; font-weight: 700; }
.map-frame { border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; }

/* İlan detayı */
.listing-photo { aspect-ratio: 16 / 10; border: 2px solid var(--ink); border-radius: var(--r); margin-bottom: 1.5rem; }
.listing-box { background: var(--plate); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(1.25rem, 4vw, 1.75rem); margin-bottom: 1.5rem; }
.listing-box h2 { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--line); }
.listing-desc { color: #33363c; line-height: 1.75; margin: 0; }
.report-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; background: #e6f2eb; border-left: 6px solid var(--sign); border-radius: var(--r); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.report-strip strong { display: block; color: var(--sign); }
.report-strip span { color: #2f5a42; font-size: .9rem; }
.damage-layout { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 768px) { .damage-layout { grid-template-columns: 1fr 180px; } }
.car-svg-container { max-width: 420px; margin: 0 auto; }
.car-svg-container svg { width: 100%; height: auto; display: block; }
.car-svg-part { stroke: rgba(0,0,0,.3); stroke-width: 4px; transition: filter .2s; }
.car-svg-part:hover { filter: brightness(.9); }
.car-svg-part.status-v { fill: var(--st-orijinal); }
.car-svg-part.status-L { fill: var(--st-lokal); }
.car-svg-part.status-B { fill: var(--st-boyali); }
.car-svg-part.status-D { fill: var(--st-degisen); }
.car-svg-part.status-4 { fill: #7a7f87; }
.damage-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
@media (min-width: 768px) { .damage-legend { flex-direction: column; } }
.damage-legend li { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.damage-legend .sw { width: 18px; height: 18px; border-radius: 3px; border: 1px solid rgba(0,0,0,.25); }
.sw--v { background: var(--st-orijinal); } .sw--L { background: var(--st-lokal); } .sw--B { background: var(--st-boyali); } .sw--D { background: var(--st-degisen); } .sw--4 { background: #7a7f87; }
.damage-summary { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; }

.spec-card { position: sticky; top: 92px; background: var(--plate); border: 2px solid var(--ink); border-radius: var(--r); padding: 1.5rem; }
.spec-card__price { text-align: center; background: var(--asphalt); color: #fff; border-radius: var(--r); padding: 1.1rem; margin-bottom: 1.5rem; border-bottom: 5px solid var(--park); display: grid; gap: .2rem; }
.spec-card__price span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #c9c7c1; }
.spec-card__price strong { font-family: var(--f-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--park); }
.spec-card__price small { color: #d8d6d0; }
.spec-card__h { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; margin-bottom: .5rem; }
.spec-list { margin: 0 0 1.5rem; }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-weight: 500; color: var(--ink-2); }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; }
.spec-card__note { text-align: center; color: var(--ink-2); font-size: .85rem; margin: .75rem 0 0; }

/* Blog yazısı SSS */
.article-faq { margin-top: 3rem; }
.prose .article-faq h2 { margin-top: 0; }
.article-faq__item { border-bottom: 1px solid var(--line); }
.article-faq__item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.1rem 0; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; line-height: 1.15; min-height: 44px;
}
.article-faq__item summary::-webkit-details-marker { display: none; }
.article-faq__item summary::after { content: "+"; flex: none; font-size: 1.6rem; line-height: 1; color: var(--tr-blue); }
.article-faq__item[open] summary::after { content: "–"; }
.article-faq__item summary:hover { color: var(--tr-blue); }
.article-faq__item p { margin: 0 0 1.25rem; }
