﻿/* ===== YetenekPazarı ===== */
:root {
    --brand: #0f7b5f;
    --brand-dark: #0a5c47;
    --brand-soft: #e6f4ef;
    --accent: #ff7a45;
    --ink: #1d2430;
    --muted: #6b7280;
    --line: #e7e9ee;
    --bg: #f6f7f9;
    --radius: 14px;
    --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-link-color-rgb: 15, 123, 95;
    --bs-primary: #0f7b5f;
    --bs-primary-rgb: 15, 123, 95;
}
body { background: var(--bg); color: var(--ink); font-family: var(--bs-body-font-family); }
a { text-decoration: none; }
.site-main { min-height: 70vh; }

/* Butonlar */
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); font-weight: 600; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn-accent:hover { filter: brightness(.95); color: #fff; }
.text-bg-primary { background-color: var(--brand) !important; }
.page-link { color: var(--brand); }
.active > .page-link { background: var(--brand); border-color: var(--brand); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(15,123,95,.15); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* Navbar */
.site-nav { background: #fff; border-bottom: 1px solid var(--line); padding: .6rem 0; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--ink); display: inline-flex; align-items: center; gap: .5rem; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-size: 1rem; }
.nav-search { position: relative; flex: 1; max-width: 420px; }
.nav-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.nav-search input { padding-left: 2.4rem; border-radius: 999px; background: var(--bg); border-color: var(--line); }
.site-nav .nav-link { font-weight: 500; color: var(--ink); }
.icon-link-nav { position: relative; font-size: 1.2rem; }
.nav-badge:empty { display: none; }
.nav-badge { position: absolute; top: 2px; left: 22px; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; border-radius: 999px; padding: 1px 6px; }

/* Avatar */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-ph { display: inline-grid; place-items: center; color: #fff; font-weight: 700; border-radius: 50%; flex-shrink: 0; }
.online-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; display: inline-block; border: 2px solid #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, #0a5c47 0%, #0f7b5f 55%, #149471 100%); color: #fff; padding: 4.5rem 0 5rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15; }
.hero-search { background: #fff; border-radius: 999px; padding: 6px; display: flex; max-width: 620px; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.hero-search input { border: 0; flex: 1; padding: .6rem 1.2rem; border-radius: 999px; outline: none; font-size: 1.05rem; min-width: 0; }
.hero-search button { border-radius: 999px; padding: .6rem 1.6rem; }
.hero-tags a { color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: .25rem .8rem; font-size: .85rem; margin: 0 .35rem .5rem 0; display: inline-block; }
.hero-tags a:hover { background: rgba(255,255,255,.15); }

/* Bölümler */
.section { padding: 3rem 0; }
.section-title { font-weight: 800; font-size: 1.6rem; margin-bottom: 1.25rem; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; display: flex; flex-direction: column; gap: .6rem; color: var(--ink); height: 100%; transition: .15s; }
.cat-tile i { font-size: 1.6rem; color: var(--brand); }
.cat-tile:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,123,95,.08); }
.step-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); height: 100%; }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; margin-bottom: .8rem; }

/* Gig kartı */
.gig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.gig-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .15s; }
.gig-card:hover { box-shadow: 0 10px 24px rgba(17,24,39,.08); transform: translateY(-2px); }
.gig-cover { aspect-ratio: 16 / 10; background: var(--brand-soft); display: block; overflow: hidden; }
.gig-cover img { width: 100%; height: 100%; object-fit: cover; }
.gig-body { padding: .9rem 1rem; flex: 1; display: flex; flex-direction: column; gap: .45rem; }
.gig-seller { display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.gig-title { color: var(--ink); font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gig-title:hover { color: var(--brand); }
.gig-foot { border-top: 1px solid var(--line); padding: .65rem 1rem; display: flex; justify-content: space-between; align-items: center; }
.rating { color: #f59e0b; font-weight: 600; font-size: .9rem; }
.rating .text-muted { font-weight: 400; }

/* İş ilanı kartı */
.job-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.3rem; color: var(--ink); margin-bottom: 1rem; transition: .15s; }
.job-card:hover { border-color: var(--brand); box-shadow: 0 8px 20px rgba(15,123,95,.07); color: var(--ink); }
.job-title { font-weight: 700; font-size: 1.08rem; margin-bottom: .2rem; }
.job-budget { font-weight: 800; color: var(--brand); white-space: nowrap; }

/* Genel kartlar */
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.box + .box { margin-top: 1.25rem; }
.box-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; height: 100%; }
.stat-card .label { color: var(--muted); font-size: .85rem; }
.stat-card .value { font-weight: 800; font-size: 1.5rem; }
.stat-card i { font-size: 1.3rem; color: var(--brand); }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.page-head h1 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty i { font-size: 2.5rem; display: block; margin-bottom: .5rem; opacity: .5; }
.table > :not(caption) > * > * { padding: .75rem .6rem; vertical-align: middle; }
.table-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-box .table { margin: 0; }
.thumb { width: 64px; height: 42px; object-fit: cover; border-radius: 8px; }
.chip { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; margin: 0 .3rem .4rem 0; font-weight: 500; }
.nav-pills .nav-link.active { background: var(--brand); }
.nav-pills .nav-link { color: var(--ink); }

/* Detay sayfası */
.gig-hero-img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; background: var(--brand-soft); }
.desc { white-space: normal; line-height: 1.7; }
.pkg-box { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pkg-box .nav-tabs { border: 0; }
.pkg-box .nav-tabs .nav-link { border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--muted); font-weight: 600; flex: 1; padding: .9rem .5rem; }
.pkg-box .nav-tabs .nav-link.active { color: var(--brand); border-bottom-color: var(--brand); }
.pkg-price { font-size: 1.6rem; font-weight: 800; }
.pkg-meta { display: flex; gap: 1rem; font-size: .9rem; color: var(--muted); font-weight: 600; margin: .8rem 0 1rem; }
.seller-card { display: flex; gap: 1rem; align-items: center; }
.review { border-top: 1px solid var(--line); padding: 1rem 0; }
.review:first-child { border-top: 0; padding-top: 0; }

/* Panel */
.panel-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: 86px; }
.side-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: .9rem .75rem .35rem; }
.side-link { display: flex; align-items: center; gap: .65rem; padding: .55rem .75rem; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.side-link i { color: var(--muted); }
.side-link:hover { background: var(--bg); color: var(--ink); }
.side-link.active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.side-link.active i { color: var(--brand); }
.pkg-col { background: var(--bg); border-radius: 12px; padding: 1rem; height: 100%; border: 1px solid var(--line); }
.pkg-col h6 { font-weight: 700; }

/* Sipariş zaman akışı */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; margin-bottom: 1.3rem; }
.tl-icon { position: absolute; left: -2.2rem; top: 0; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--brand); font-size: .9rem; }
.tl-item.ev-3 .tl-icon { border-color: var(--brand); background: var(--brand-soft); }
.tl-item.ev-4 .tl-icon, .tl-item.ev-6 .tl-icon { color: #d97706; border-color: #fbbf24; }
.tl-item.ev-7 .tl-icon { color: #dc2626; border-color: #fca5a5; }
.tl-item.ev-5 .tl-icon, .tl-item.ev-9 .tl-icon { color: #fff; background: var(--brand); border-color: var(--brand); }
.tl-bubble { background: var(--bg); border-radius: 12px; padding: .75rem 1rem; margin-top: .4rem; }
.attach-img { max-width: 220px; max-height: 160px; border-radius: 10px; border: 1px solid var(--line); }
.attach-file { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .35rem .7rem; font-size: .9rem; }
.order-summary dt { color: var(--muted); font-weight: 500; font-size: .85rem; }
.order-summary dd { font-weight: 600; margin-bottom: .8rem; }

/* Yıldız girişi */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.9rem; color: #d1d5db; cursor: pointer; }
.star-input label::before { content: "\2605"; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f59e0b; }

/* Sohbet */
.chat {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    height: calc(100vh - 200px);
    height: calc(100dvh - 200px);
    min-height: 460px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; min-height: 0; }
.chat-list-head { padding: 1rem; border-bottom: 1px solid var(--line); font-weight: 700; position: sticky; top: 0; background: #fff; z-index: 1; }
.conv { display: flex; gap: .7rem; padding: .8rem 1rem; cursor: pointer; border-bottom: 1px solid #f1f2f5; align-items: center; }
.conv:hover { background: var(--bg); }
.conv.active { background: var(--brand-soft); }
.conv .meta { min-width: 0; flex: 1; }
.conv .name { font-weight: 600; display: flex; justify-content: space-between; gap: .5rem; }
.conv .last { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .unread { background: var(--accent); color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 7px; font-weight: 700; }
.conv .av { position: relative; }
.conv .av .online-dot { position: absolute; right: 0; bottom: 0; }

.chat-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.chat-head { flex-shrink: 0; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .75rem; }
.chat-msgs {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 1.2rem; background: #fafbfc; display: flex; flex-direction: column; gap: .35rem;
}
.msg { max-width: 72%; padding: .55rem .85rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); align-self: flex-start; overflow-wrap: anywhere; white-space: pre-wrap; flex-shrink: 0; }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); }
.msg.me a { color: #fff; }
.msg .time { display: block; font-size: .7rem; opacity: .65; margin-top: .2rem; text-align: right; }
.msg .attach-img { max-width: 100%; }
.msg-day { align-self: center; flex-shrink: 0; font-size: .75rem; color: var(--muted); background: #eef0f3; padding: .15rem .7rem; border-radius: 999px; margin: .6rem 0; }

.chat-input { flex-shrink: 0; border-top: 1px solid var(--line); padding: .75rem; display: flex; gap: .5rem; align-items: flex-end; background: #fff; }
.chat-input textarea { resize: none; border-radius: 12px; max-height: 140px; }
#chatFileName:empty { display: none; }
#chatFileName { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-empty { flex: 1; display: grid; place-items: center; color: var(--muted); text-align: center; }
.chat-back { display: none; }

@media (max-width: 767px) {
    .chat { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 170px); }
    .chat.open .chat-list { display: none; }
    .chat:not(.open) .chat-main { display: none; }
    .chat-back { display: inline-block; }
    .msg { max-width: 88%; }
}

/* Auth */
.auth-wrap { max-width: 460px; margin: 3rem auto; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.role-pick label { border: 1.5px solid var(--line); border-radius: 12px; padding: .9rem; cursor: pointer; display: block; height: 100%; }
.role-pick input { margin-right: .4rem; }
.role-pick label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }

/* Footer */
.site-footer { background: #111827; color: #e5e7eb; padding: 3rem 0 1.5rem; margin-top: 3rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { display: inline-flex; }
.foot-links a { display: block; margin-bottom: .45rem; font-size: .92rem; }
.foot-group summary { list-style: none; color: #fff; font-weight: 700; margin-bottom: .8rem; font-size: 1rem; }
.foot-group summary::-webkit-details-marker { display: none; }
.foot-trust { display: flex; flex-wrap: wrap; gap: .5rem; }
.foot-trust span { font-size: .78rem; background: rgba(255,255,255,.08); border-radius: 999px; padding: .3rem .7rem; color: #e5e7eb; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; opacity: .7; }
@media (min-width: 768px) { .foot-group summary { cursor: default; } }
@media (max-width: 767.98px) {
    .site-footer { padding: 2rem 0 1rem; margin-top: 2rem; }
    .foot-brand { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
    .foot-group { border-bottom: 1px solid rgba(255,255,255,.12); }
    .foot-group summary { cursor: pointer; margin: 0; padding: 1rem 0; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
    .foot-group summary::after { content: "\F282"; font-family: "bootstrap-icons"; font-weight: 400; transition: transform .2s; opacity: .7; }
    .foot-group[open] summary::after { transform: rotate(180deg); }
    .foot-links { padding-bottom: 1rem; }
    .foot-links a { padding: .35rem 0; margin: 0; }
    .foot-bottom { margin-top: 1rem; text-align: center; border-top: 0; }
}

/* Mobil alt menü */
.bottom-nav { display: none; }
@media (max-width: 991.98px) {
    body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    .bottom-nav {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
        background: #fff; border-top: 1px solid var(--line);
        padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
        box-shadow: 0 -6px 18px rgba(17, 24, 39, .06);
    }
    .bottom-nav a {
        flex: 1 1 0; min-width: 0; min-height: 56px; position: relative;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        color: #4b5563; font-size: .7rem; font-weight: 600; text-align: center;
    }
    .bottom-nav a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    .bottom-nav a i { font-size: 1.35rem; line-height: 1; }
    .bottom-nav a.active { color: var(--brand); }
    .bottom-nav .bn-plus {
        width: 50px; height: 50px; border-radius: 50%; margin-top: -24px; margin-bottom: 1px;
        background: var(--brand); color: #fff; display: grid; place-items: center;
        border: 4px solid #fff; box-shadow: 0 6px 16px rgba(15, 123, 95, .35);
    }
    .bottom-nav .bn-plus i { font-size: 1.4rem; }
    .bottom-nav .bn-center.active .bn-plus { background: var(--brand-dark); }
    .bn-badge {
        position: absolute; top: 6px; left: calc(50% + 6px);
        background: var(--accent); color: #fff; font-size: .62rem; font-weight: 700;
        min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 999px; border: 2px solid #fff; box-sizing: content-box;
    }
    .bn-badge:empty { display: none; }
    .chat { height: calc(100dvh - 266px); }
}
@media (max-width: 767.98px) {
    .chat { height: calc(100dvh - 236px); }
    body.chat-open { padding-bottom: 0; }
    body.chat-open .bottom-nav, body.chat-open .site-footer, body.chat-open .chat-note { display: none; }
    body.chat-open .chat { height: calc(100dvh - 120px); }
}

/* Sohbet: uyarı ve kaldırılan mesaj */
.chat-warn { flex-shrink: 0; background: #fef2f2; color: #991b1b; border-top: 1px solid #fecaca; padding: .6rem 1rem; font-size: .85rem; }
.msg.msg-removed { background: #f3f4f6; color: #6b7280; border-color: #e5e7eb; font-style: italic; font-size: .88rem; }
.msg.me.msg-removed { background: #e5e7eb; color: #4b5563; }

/* Yönetim */
.admin-head h1 { font-size: 1.5rem; font-weight: 800; margin: 0 0 1rem; }
.admin-tabs { display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.admin-tab { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.admin-tab:hover { background: #fff; color: var(--ink); }
.admin-tab.active { background: var(--brand); color: #fff; }
.admin-badge { background: var(--accent); color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 7px; font-weight: 700; }
.admin-tab.active .admin-badge { background: #fff; color: var(--brand-dark); }
.admin-filter { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-filter .form-control { min-width: 220px; }
.admin-pills { display: flex; gap: .35rem; flex-wrap: wrap; }
.admin-pill { padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .85rem; font-weight: 600; }
.admin-pill:hover { border-color: var(--brand); color: var(--brand); }
.admin-pill.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.offer-pending { border-left: 4px solid #0ea5e9; }
.setting-row { display: flex; gap: .9rem; align-items: flex-start; padding: .75rem 0; border-top: 1px solid var(--line); }
.setting-row:first-of-type { border-top: 0; padding-top: 0; }
.setting-row .form-check { margin: .15rem 0 0; min-height: 0; }
.setting-row .form-check-input { width: 2.6em; height: 1.4em; cursor: pointer; }
.blocked-text { background: #fef2f2; border: 1px dashed #fca5a5; border-radius: 10px; padding: .55rem .8rem; font-size: .88rem; overflow-wrap: anywhere; color: #7f1d1d; }
.admin-thread { display: flex; flex-direction: column; gap: .6rem; max-height: 70vh; overflow-y: auto; padding: .25rem; }
.amsg { border: 1px solid var(--line); border-radius: 12px; padding: .6rem .85rem; max-width: 85%; background: #fff; scroll-margin-top: 90px; }
.amsg.side-a { align-self: flex-start; border-left: 4px solid var(--brand); }
.amsg.side-b { align-self: flex-end; border-right: 4px solid var(--accent); }
.amsg.is-removed { background: #f9fafb; opacity: .8; }
.amsg.is-removed .amsg-body { text-decoration: line-through; color: #6b7280; }
.amsg:target { box-shadow: 0 0 0 3px rgba(255, 122, 69, .35); }
.amsg-head { display: flex; gap: .5rem; align-items: center; font-size: .8rem; flex-wrap: wrap; margin-bottom: .25rem; }
.amsg-action { margin-left: auto; font-size: .78rem; color: #b91c1c; font-weight: 600; }
.amsg-body { white-space: normal; overflow-wrap: anywhere; font-size: .93rem; }
.side-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.side-dot.side-a { background: var(--brand); }
.side-dot.side-b { background: var(--accent); }

/* ===== Blog ===== */
.blog-hero { background: linear-gradient(135deg, #0a5c47 0%, #0f7b5f 60%, #149471 100%); color: #fff; padding: 3rem 0 3.25rem; }
.blog-hero h1 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 .5rem; }
.blog-hero p { opacity: .85; max-width: 620px; margin-bottom: 1.25rem; }
.blog-search { background: #fff; border-radius: 999px; padding: 5px 5px 5px 1rem; display: flex; align-items: center; gap: .5rem; max-width: 520px; box-shadow: 0 10px 26px rgba(0,0,0,.15); }
.blog-search i { color: var(--muted); }
.blog-search input { border: 0; outline: none; flex: 1; min-width: 0; padding: .45rem .25rem; font-size: 1rem; background: transparent; }
.blog-search .btn { border-radius: 999px; padding: .45rem 1.3rem; }
.blog-cats { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.25rem; }
.blog-cats .admin-pill { white-space: nowrap; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .15s; }
.blog-card:hover { box-shadow: 0 10px 24px rgba(17,24,39,.08); transform: translateY(-2px); }
.blog-cover { display: block; aspect-ratio: 16 / 9; background: var(--brand-soft); overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.blog-cat { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: .2rem .65rem; }
.blog-card-title { font-size: 1.08rem; font-weight: 700; line-height: 1.35; margin: 0; }
.blog-card-title a { color: var(--ink); }
.blog-card-title a:hover { color: var(--brand); }
.blog-card-sum { color: #4b5563; font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .8rem; color: #4b5563; margin-top: auto; padding-top: .35rem; }

.blog-featured { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.75rem; }
.blog-featured-cover { display: block; background: var(--brand-soft); min-height: 260px; }
.blog-featured-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-featured-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.blog-featured-body h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.25; margin: 0; }
.blog-featured-body h2 a { color: var(--ink); }
.blog-featured-body h2 a:hover { color: var(--brand); }
.blog-featured-body p { color: #4b5563; margin: 0; }
.blog-featured-body .btn { align-self: flex-start; }
.blog-badge { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #9a3412; background: #ffedd5; border-radius: 999px; padding: .2rem .65rem; }
@media (max-width: 767.98px) {
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-cover { min-height: 0; aspect-ratio: 16 / 9; }
    .blog-featured-body { padding: 1.25rem; }
    .blog-featured-body h2 { font-size: 1.3rem; }
}

.blog-cta { margin-top: 2.5rem; background: #111827; color: #fff; border-radius: var(--radius); padding: 1.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.blog-cta h2 { font-size: 1.3rem; font-weight: 800; margin: 0 0 .35rem; }
.blog-cta p { margin: 0; opacity: .8; max-width: 560px; }
.blog-cta-sm { margin: 2rem 0 2.5rem; }

/* Yazı sayfası */
.blog-adminbar { background: #fef3c7; color: #78350f; font-size: .9rem; padding: .55rem 0; border-bottom: 1px solid #fde68a; }
.blog-narrow { max-width: 780px; }
.blog-post-head { background: #fff; border-bottom: 1px solid var(--line); padding: 2.25rem 0 1.75rem; margin-bottom: 2rem; }
.blog-post-head h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; margin: 0 0 .75rem; }
.blog-post-lead { font-size: 1.15rem; color: #4b5563; margin-bottom: 1.1rem; }
.blog-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: .9rem; color: #4b5563; }
.blog-post-cover { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 2rem; background: var(--brand-soft); }
.blog-content { font-size: 1.08rem; line-height: 1.8; color: #1f2937; overflow-wrap: anywhere; }
.blog-content h2 { font-size: 1.55rem; font-weight: 800; margin: 2.2rem 0 .8rem; line-height: 1.3; }
.blog-content h3 { font-size: 1.25rem; font-weight: 700; margin: 1.8rem 0 .6rem; }
.blog-content h4 { font-size: 1.08rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.blog-content p { margin: 0 0 1.15rem; }
.blog-content ul, .blog-content ol { margin: 0 0 1.15rem; padding-left: 1.4rem; }
.blog-content li { margin-bottom: .4rem; }
.blog-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.blog-content blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--brand-soft); border-radius: 12px; color: var(--brand-dark); font-weight: 500; }
.blog-content pre { background: #111827; color: #e5e7eb; padding: 1rem 1.15rem; border-radius: 12px; overflow-x: auto; font-size: .9rem; line-height: 1.6; white-space: pre-wrap; }
.blog-content code { background: #f3f4f6; padding: .1rem .35rem; border-radius: 6px; font-size: .9em; }
.blog-content pre code { background: none; padding: 0; }
.blog-content img { max-width: 100%; height: auto; border-radius: 12px; margin: .5rem 0; }
.blog-content hr { margin: 2rem 0; opacity: .15; }
.blog-content .ql-align-center { text-align: center; }
.blog-content .ql-align-right { text-align: right; }
.blog-content .ql-align-justify { text-align: justify; }
.blog-content .ql-indent-1 { padding-left: 2em; } .blog-content .ql-indent-2 { padding-left: 4em; } .blog-content .ql-indent-3 { padding-left: 6em; }
.blog-content li.ql-indent-1 { margin-left: 1.5em; padding-left: 0; } .blog-content li.ql-indent-2 { margin-left: 3em; padding-left: 0; }
.blog-tags { margin: 2rem 0 1rem; }
.blog-share { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 1.05rem; }
.share-btn:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 575.98px) {
    .blog-post-head { padding: 1.5rem 0 1.25rem; margin-bottom: 1.25rem; }
    .blog-content { font-size: 1.02rem; }
    .blog-content h2 { font-size: 1.35rem; }
    .blog-cta { padding: 1.25rem; }
}

/* Blog editörü */
.editor-box { overflow: hidden; }
.editor-box .ql-toolbar.ql-snow { border: 0; border-bottom: 1px solid var(--line); background: #fafbfc; padding: .6rem; }
.editor-box .ql-container.ql-snow { border: 0; font-family: inherit; font-size: 1.02rem; }
.editor-box .ql-editor { min-height: 460px; line-height: 1.75; padding: 1.25rem 1.4rem; }
.editor-box .ql-editor h2 { font-size: 1.5rem; font-weight: 800; }
.editor-box .ql-editor h3 { font-size: 1.22rem; font-weight: 700; }
.editor-box .ql-editor blockquote { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: .5rem 1rem; }
.editor-box .ql-editor img { max-width: 100%; border-radius: 8px; }
.serp { border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; background: #fff; font-family: Arial, sans-serif; }
.serp-url { font-size: .78rem; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-title { font-size: 1.08rem; color: #1a0dab; line-height: 1.3; margin: .2rem 0; }
.serp-desc { font-size: .82rem; color: #4d5156; line-height: 1.45; }
.blog-cta .btn-light { color: var(--ink); font-weight: 600; }

/* Kategori açıklaması ve SSS */
.cat-desc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.25rem; color: #374151; line-height: 1.7; }
.faq-wrap { max-width: 860px; }
.faq-group h2 { font-size: 1.25rem; font-weight: 800; margin: 1.75rem 0 .75rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; }
.faq-item summary { cursor: pointer; list-style: none; padding: .95rem 1.15rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\F64D"; font-family: "bootstrap-icons"; color: var(--brand); font-size: 1.1rem; transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 1.15rem 1rem; color: #374151; line-height: 1.7; }
.seo-links a { display: inline-flex; align-items: center; gap: .35rem; margin: 0 .75rem .4rem 0; font-size: .9rem; }

/* Yasal sayfalar */
.legal-nav a { display: block; padding: .6rem .85rem; border-radius: 10px; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; }
.legal-nav a:hover { background: #F2F5F8; }
.legal-nav a.active { background: var(--brand-soft); color: var(--brand); }
.legal { line-height: 1.7; }
.legal .lead { font-size: 1.08rem; color: #475467; }
.legal h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 .75rem; }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal table { font-size: .93rem; }
.legal th { white-space: nowrap; }
.legal mark { background: #FFF3BF; padding: 0 .2em; border-radius: 3px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; }
.foot-legal { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.foot-legal a { color: inherit; text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }
@media (max-width: 767.98px) { .foot-bottom, .foot-legal { justify-content: center; } }

/* Çerez bildirimi */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1080; max-width: 760px; margin: 0 auto;
    background: #101828; color: #fff; border-radius: 16px; padding: 1rem 1.25rem; box-shadow: 0 12px 40px rgba(16,24,40,.3);
    display: flex; gap: 1rem; align-items: center; font-size: .92rem; }
.cookie-bar[hidden] { display: none; }
.cookie-bar a { color: #9FE3C9; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }
@media (max-width: 991.98px) { .cookie-bar { bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (max-width: 575.98px) { .cookie-bar { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }

/* Henüz değerlendirmesi olmayan freelancer / hizmet */
.badge-new { display: inline-flex; align-items: center; gap: .25rem; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .78rem; padding: .15rem .55rem; border-radius: 999px; line-height: 1.4; }

.text-brand { color: var(--brand) !important; }

/* SEO açılış sayfaları */
.seo-crumb, .seo-crumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.seo-crumb a:hover { color: #fff; text-decoration: underline; }
.seo-crumb span { opacity: .7; margin: 0 .2rem; }
.seo-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.seo-stats > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; }
.seo-stats span { display: block; font-size: .8rem; color: var(--muted); }
.seo-stats strong { font-size: 1.15rem; font-weight: 800; }
@media (max-width: 767.98px) { .seo-stats { grid-template-columns: 1fr 1fr; } .seo-stats strong { font-size: 1rem; } }
.seo-body h2:first-child { margin-top: 0; }
.seo-side ol { padding-left: 1.1rem; }
.seo-side ol li { margin-bottom: .35rem; }
.seo-related { display: flex; flex-wrap: wrap; gap: .5rem; }
.seo-related a { background: var(--brand-soft); color: var(--brand); text-decoration: none; font-weight: 600; font-size: .88rem; padding: .35rem .75rem; border-radius: 999px; }
.seo-related a:hover { background: var(--brand); color: #fff; }

/* İş ilanları: freelancer'a uygun ilanlar sekmesi */
.job-match-bar { margin-bottom: 1rem; }
.job-match-bar .nav-link { background: #fff; border: 1px solid var(--line); color: var(--bs-body-color, #101828); font-weight: 600; }
.job-match-bar .nav-link.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.job-match-bar .nav-link .badge { margin-left: .25rem; font-weight: 600; }

/* İş ilanı ekleri */
.job-files { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.job-files li { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 10px; padding: .5rem .75rem; background: #fff; min-width: 0; }
.job-files li > i { font-size: 1.25rem; color: var(--brand); flex-shrink: 0; }
.job-files a, .job-files li > span:not(.text-muted) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ===== E-posta doğrulama ===== */
.verify-bar { background: #fff7ed; border-bottom: 1px solid #fed7aa; color: #7c2d12; font-size: .9rem; padding: .55rem 0; }
.verify-bar .bi { color: var(--accent, #ff7a45); margin-right: .25rem; }
.verify-bar a { color: #c2410c; font-weight: 600; margin-left: .35rem; white-space: nowrap; }
.verify-card { max-width: 480px; }
.verify-icon { width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center;
    font-size: 2.1rem; color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 8px rgba(15,123,95,.06); }
.verify-icon.ok { color: #fff; background: var(--brand); }
.verify-icon.bad { color: #b91c1c; background: #fee2e2; box-shadow: 0 0 0 8px rgba(185,28,28,.06); }
.verify-tips { list-style: none; padding: .9rem 1rem; margin: 0; background: #f8faf9; border: 1px solid #e5ece9; border-radius: 12px; }
.verify-tips li { display: flex; gap: .5rem; padding: .2rem 0; }
.verify-tips .bi { color: var(--brand); }
.verify-change summary { cursor: pointer; text-align: center; color: var(--brand); font-weight: 600; font-size: .92rem; list-style: none; }
.verify-change summary::-webkit-details-marker { display: none; }
