:root {
    --ink: #192024;
    --muted: #6d7378;
    --paper: #f8f5f1;
    --surface: #ffffff;
    --line: #e7dfd6;
    --fire: #b94822;
    --ember: #e8a23a;
    --forest: #264f3c;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: inherit; }
.site-header { background: rgba(248, 245, 241, .94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.navbar-brand { font-weight: 800; letter-spacing: 0; }
.site-logo { width: 132px; height: auto; display: block; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--fire), var(--forest));
    font-weight: 900;
}
.nav-link { font-weight: 650; color: var(--ink); }
.nav-link.active, .nav-link:hover { color: var(--fire); }
.header-social-links {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-left: .7rem;
}
.header-social-links a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255,255,255,.62);
    text-decoration: none;
    transition: .18s ease;
}
.header-social-links a:hover,
.header-social-links a:focus {
    color: #fff;
    background: var(--fire);
    border-color: var(--fire);
}
.btn-primary {
    --bs-btn-bg: var(--fire);
    --bs-btn-border-color: var(--fire);
    --bs-btn-hover-bg: #943717;
    --bs-btn-hover-border-color: #943717;
}
.btn-outline-primary {
    --bs-btn-color: var(--fire);
    --bs-btn-border-color: var(--fire);
    --bs-btn-hover-bg: var(--fire);
    --bs-btn-hover-border-color: var(--fire);
}
.hero {
    min-height: clamp(430px, 62vh, 620px);
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #141412;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,8,.72), rgba(10,10,8,.28) 58%, rgba(10,10,8,.08));
    z-index: 1;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: clamp(1.75rem, 3.5vw, 3rem);
    max-width: 760px;
    border-radius: 18px;
    background: rgba(18, 22, 22, .50);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(8px);
}
.eyebrow { color: var(--ember); font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.65rem); line-height: 1; font-weight: 900; letter-spacing: 0; margin: .65rem 0 1rem; }
.hero p { font-size: clamp(1rem, 1.65vw, 1.2rem); max-width: 680px; color: rgba(255,255,255,.9); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-title { max-width: 760px; margin-bottom: 2rem; }
.section-title h2 { font-weight: 900; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: 0; }
.section-title p { color: var(--muted); font-size: 1.05rem; }
.feature-strip { background: var(--ink); color: #fff; padding: 1.25rem 0; }
.feature-strip .item { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.feature-strip i { color: var(--ember); }
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .55rem .85rem;
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    margin: .25rem;
}
.category-pill:hover, .category-pill.active { border-color: var(--fire); color: var(--fire); }

.category-pill-with-icon { padding-left: .62rem; }
.category-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 1.15rem;
    color: var(--fire);
    vertical-align: -0.2em;
}
.category-icon-sm { width: 1rem; height: 1rem; flex-basis: 1rem; }
.category-icon-lg { width: 2.1rem; height: 2.1rem; flex-basis: 2.1rem; }
.page-title-icon { width: 2.1rem; height: 2.1rem; margin-right: .35rem; color: var(--ember); }
.dropdown-item-icon { display: flex; align-items: center; gap: .55rem; }
.category-icon-preview {
    display: flex;
    align-items: center;
    gap: .7rem;
    border: 1px dashed #d7dee8;
    border-radius: 12px;
    padding: .7rem .8rem;
    color: #475569;
    background: #f8fafc;
    font-weight: 700;
}
.category-table-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff3ed;
    color: var(--fire);
    display: inline-grid;
    place-items: center;
    border: 1px solid #ffd4c2;
}
.category-table-icon .category-icon { width: 1.45rem; height: 1.45rem; }
.work-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 28px rgba(25, 32, 36, .07);
}
.work-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #ddd; }
.work-card .body { padding: 1rem; }
.work-card h3 { font-size: 1.05rem; font-weight: 850; margin: 0 0 .2rem; }
.badge-soft { background: #f3e5dc; color: #883617; border-radius: 999px; padding: .25rem .6rem; font-weight: 750; font-size: .78rem; }
.info-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.4rem; height: 100%; }
.map-frame { border: 0; width: 100%; min-height: 360px; border-radius: 8px; filter: saturate(.88); }
.instagram-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.instagram-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.instagram-card,
.instagram-embed-card {
    min-height: 360px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 28px rgba(25, 32, 36, .07);
}
.instagram-card { display: grid; grid-template-rows: auto 1fr; color: var(--ink); text-decoration: none; position: relative; }
.instagram-card img { width: 100%; aspect-ratio: 1 / 1; min-height: 0; object-fit: cover; display: block; }
.instagram-card span {
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 42px;
    border-radius: 8px;
    background: rgba(18, 22, 22, .78);
    color: #fff;
    font-weight: 800;
    backdrop-filter: blur(8px);
}
.instagram-card p {
    margin: 0;
    padding: .85rem;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.45;
    background: #fff;
}
.instagram-embed-card { display: flex; align-items: stretch; justify-content: center; padding: .4rem; }
.instagram-embed-card .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.site-footer { background: #121616; color: rgba(255,255,255,.78); padding: 4rem 0 1.5rem; }
.site-footer h5, .site-footer h6 { color: #fff; font-weight: 850; }
.footer-logo { width: 140px; height: auto; display: block; margin-bottom: 1rem; background: #fff; border-radius: 6px; padding: .35rem .5rem; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu a, .site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-menu li { margin-bottom: .45rem; }
.social-link { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.visitor-stats { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.visitor-stats span { border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .35rem .7rem; color: rgba(255,255,255,.82); font-size: .9rem; }
.visitor-stats strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.7rem; text-decoration: none; z-index: 20; box-shadow: 0 14px 35px rgba(0,0,0,.24); }
.mobile-quick-actions { display: none; }
.page-hero { padding: 5rem 0 2rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 900; letter-spacing: 0; }
.admin-body { background: #f3f4f6; }
.admin-shell { min-height: 100vh; }
.admin-layout { min-height: 100vh; display: flex; align-items: stretch; }
.admin-sidebar { width: 272px; flex: 0 0 272px; background: #151a1d; color: #fff; }
.admin-sidebar-inner { position: sticky; top: 0; min-height: 100vh; padding: 1rem; display: flex; flex-direction: column; }
.admin-brand { display: grid; gap: .55rem; justify-items: start; color: #fff; text-decoration: none; padding: .45rem .4rem 1rem; margin-bottom: .35rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-brand img { max-width: 146px; max-height: 72px; object-fit: contain; background: #fff; border-radius: 10px; padding: .35rem .55rem; }
.admin-brand span { font-weight: 850; font-size: .9rem; color: rgba(255,255,255,.78); text-transform: uppercase; letter-spacing: .08em; }
.admin-menu { padding-top: .5rem; }
.admin-menu a { color: rgba(255,255,255,.82); text-decoration: none; display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 12px; margin-bottom: .25rem; font-weight: 750; }
.admin-menu i { width: 20px; text-align: center; color: var(--ember); }
.admin-menu a.active, .admin-menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
.admin-menu a.logout { color: #ffb4a8; }
.admin-menu hr { border-color: rgba(255,255,255,.16); margin: 1rem 0; }
.admin-main { flex: 1; min-width: 0; padding: 1.5rem; }
.admin-page-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.admin-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; box-shadow: 0 10px 24px rgba(15,23,42,.05); }
.admin-login-card { text-align: center; }
.admin-login-logo { max-width: 156px; margin: 0 auto 1rem; display: block; background: #fff; border-radius: 10px; }
.table-thumb { width: 74px; height: 56px; object-fit: cover; border-radius: 6px; background: #ddd; }

@media (max-width: 991.98px) {
    .hero { min-height: 560px; }
    .hero-content { margin: 1rem 0; }
    .admin-layout { display: block; }
    .admin-sidebar { width: 100%; min-height: auto; }
    .admin-sidebar-inner { min-height: auto; position: relative; }
    .admin-brand { grid-template-columns: auto 1fr; align-items: center; }
    .admin-brand img { max-width: 118px; }
    .admin-menu a { padding: .75rem .8rem; }
    .admin-main { padding: 1rem; }
    .instagram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    body { padding-bottom: 76px; }
    .section { padding: 2.5rem 0; }
    .hero { min-height: 540px; }
    .hero-content { padding: 1.35rem; border-radius: 14px; }
    .footer-bottom { display: block; }
    .footer-bottom a { display: inline-block; margin-top: .75rem; }
    .contact-panel { padding: 1rem; }
    .whatsapp-float { display: none; }
    .mobile-quick-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        background: rgba(18, 22, 22, .96);
        border-top: 1px solid rgba(255,255,255,.16);
        box-shadow: 0 -10px 28px rgba(0,0,0,.22);
        padding: .45rem .55rem calc(.45rem + env(safe-area-inset-bottom));
        backdrop-filter: blur(14px);
    }
    .mobile-quick-actions a {
        display: grid;
        place-items: center;
        gap: .15rem;
        min-height: 54px;
        color: #fff;
        text-decoration: none;
        font-size: .76rem;
        font-weight: 750;
        border-radius: 8px;
    }
    .mobile-quick-actions a:hover,
    .mobile-quick-actions a:focus {
        background: rgba(255,255,255,.1);
    }
    .mobile-quick-actions i { font-size: 1.2rem; color: var(--ember); }
    .mobile-quick-actions a:nth-child(2) i { color: #25d366; }
    .instagram-grid { grid-template-columns: 1fr; }
    .instagram-card,
    .instagram-embed-card { min-height: 320px; }
}

/* Galeri lightbox ve proje detay düzeni */
.gallery-lightbox-link,
.detail-image-link,
.project-thumb,
.work-card a {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}
.gallery-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(18, 22, 22, .78);
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: .22s ease;
    backdrop-filter: blur(10px);
}
.gallery-lightbox-link:hover .gallery-zoom,
.detail-image-link:hover .gallery-zoom {
    opacity: 1;
    transform: translateY(0);
}
.gallery-card .gallery-lightbox-link::after,
.project-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.18));
    opacity: 0;
    transition: .22s ease;
}
.gallery-card .gallery-lightbox-link:hover::after,
.project-thumb:hover::after { opacity: 1; }
.project-card {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(25, 32, 36, .08);
    transition: transform .22s ease, box-shadow .22s ease;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(25, 32, 36, .12);
}
.project-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #ddd; }
.project-card-body { padding: 1.05rem; }
.project-card h2 a,
.work-card h3 a { color: var(--ink); text-decoration: none; }
.project-card h2 a:hover,
.work-card h3 a:hover { color: var(--fire); }
.detail-image-link {
    background: #f8f4ed;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-detail-image {
    width: 100%;
    max-height: 720px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(25, 32, 36, .14);
    background: #f8f4ed;
}
.project-detail-card {
    position: sticky;
    top: 96px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: clamp(1.1rem, 2.4vw, 2rem);
    box-shadow: 0 14px 34px rgba(25, 32, 36, .08);
}
.project-actions { display: grid; gap: .65rem; margin-top: 1.35rem; }
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px 22px 42px;
    background: rgba(5, 8, 10, .78);
    backdrop-filter: blur(10px);
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-dialog {
    position: relative;
    width: min(1180px, 96vw);
    text-align: center;
}
.lightbox-image {
    display: block;
    width: 100%;
    height: min(78vh, 820px);
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 28px 80px rgba(0,0,0,.42);
    background: rgba(255,255,255,.06);
}
.lightbox-caption { color: rgba(255,255,255,.92); font-weight: 700; margin-top: .85rem; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    border: 0;
    border-radius: 999px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 1.2rem;
    transition: .2s ease;
    backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.24); }
.lightbox-close { right: 22px; top: 18px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-overlay.single .lightbox-prev,
.lightbox-overlay.single .lightbox-next { display: none; }
@media (max-width: 575.98px) {
    .gallery-zoom { opacity: 1; transform: none; width: 36px; height: 36px; }
    .project-detail-card { position: static; }
    .lightbox-overlay { padding: 62px 12px 96px; }
    .lightbox-image { height: 68vh; border-radius: 10px; }
    .lightbox-prev, .lightbox-next { width: 42px; height: 42px; bottom: 24px; top: auto; transform: none; }
    .lightbox-prev { left: 28%; }
    .lightbox-next { right: 28%; }
}


/* Çoklu ana sayfa slider ve sayfalama */
.hero-slider {
    display: block;
}
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    min-height: inherit;
    height: 100%;
}
.hero-slider .carousel-item {
    position: relative;
}
.hero-slider .carousel-item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}
.hero-slider .carousel-item > .container {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: grid;
    align-items: center;
}
.hero-slider .hero-control {
    z-index: 3;
    width: 64px;
    opacity: .88;
}
.hero-slider .hero-control span {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background-color: rgba(18, 22, 22, .54);
    background-size: 52% 52%;
    backdrop-filter: blur(8px);
}
.hero-indicators {
    z-index: 4;
    margin-bottom: 1.25rem;
}
.hero-indicators [data-bs-target] {
    width: 34px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255,255,255,.62);
}
.hero-indicators .active {
    background-color: var(--ember);
}
.listing-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 0 1.2rem;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.68);
    color: var(--muted);
}
.pagination-wrap { margin-top: 2.2rem; }
.custom-pagination { gap: .35rem; flex-wrap: wrap; }
.custom-pagination .page-link {
    min-width: 42px;
    min-height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px !important;
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 800;
    background: var(--surface);
    box-shadow: 0 8px 18px rgba(25, 32, 36, .06);
}
.custom-pagination .page-item.active .page-link {
    background: var(--fire);
    border-color: var(--fire);
    color: #fff;
}
.custom-pagination .page-link:hover {
    border-color: var(--fire);
    color: var(--fire);
}
.custom-pagination .page-item.disabled .page-link {
    opacity: .55;
    box-shadow: none;
}
@media (max-width: 575.98px) {
    .hero-slider .hero-control { display: none; }
    .hero-indicators { margin-bottom: .8rem; }
    .hero-indicators [data-bs-target] { width: 24px; height: 4px; }
    .listing-toolbar { font-size: .92rem; }
}


/* Sosyal paylaşım butonları */
.share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .35rem;
}
.share-label {
    font-size: .78rem;
    font-weight: 800;
    color: var(--muted);
    margin-right: .1rem;
}
.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(25, 32, 36, .14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    cursor: pointer;
}
.share-btn:hover,
.share-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(25, 32, 36, .14);
    color: #fff;
}
.share-facebook:hover { background: #1877f2; border-color: #1877f2; }
.share-whatsapp:hover { background: #25d366; border-color: #25d366; }
.share-twitter:hover { background: #111; border-color: #111; }
.share-copy:hover,
.share-copy.is-copied { background: var(--fire); border-color: var(--fire); color: #fff; }
.share-buttons-lg {
    padding-top: .85rem;
    border-top: 1px solid rgba(25, 32, 36, .08);
    margin-top: 1rem;
}
.share-buttons-lg .share-label { flex-basis: 100%; font-size: .9rem; color: var(--ink); }
.share-buttons-lg .share-btn { width: 42px; height: 42px; font-size: 1.05rem; }
.project-share-panel {
    margin-top: 1.2rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(25,32,36,.08);
}
@media (max-width: 575.98px) {
    .share-buttons { gap: .35rem; }
    .share-btn { width: 32px; height: 32px; }
}


/* Mini yönetim editörü */
.mini-editor-wrap {
    border: 1px solid #d6dbe1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.mini-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    padding: .55rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}
.editor-btn, .editor-select, .editor-color {
    min-height: 34px;
    border: 1px solid #d6dbe1;
    background: #fff;
    border-radius: 8px;
    padding: .25rem .5rem;
    color: #111827;
}
.editor-btn:hover { background: #edf2f7; }
.editor-sep { width: 1px; height: 26px; background: #d6dbe1; margin: 0 .15rem; }
.mini-editor {
    min-height: 220px;
    padding: 1rem;
    outline: none;
    line-height: 1.7;
}
.mini-editor:focus { box-shadow: inset 0 0 0 2px rgba(121, 83, 48, .18); }
.mini-editor img, .rich-public img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: .6rem 0;
}
.rich-public { line-height: 1.75; }
.rich-public h1, .rich-public h2, .rich-public h3, .rich-public h4 { margin-top: 1.2rem; font-weight: 850; }
.rich-public ul, .rich-public ol { padding-left: 1.4rem; }
.admin-preview-img { max-width: 220px; max-height: 150px; object-fit: cover; border-radius: 12px; border: 1px solid #e5e7eb; }


/* SEO ve kısa link yönetimi */
.seo-admin-box {
    border: 1px solid #dbe3ec;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 1rem;
    margin: .25rem 0 1rem;
}
.seo-preview {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: .9rem;
}
.seo-preview-title {
    color: #1a0dab;
    font-size: 1.05rem;
    line-height: 1.35;
    margin-top: .35rem;
}
.seo-preview-url {
    color: #006621;
    font-size: .88rem;
    overflow-wrap: anywhere;
}
.seo-preview-desc {
    color: #545454;
    font-size: .92rem;
    line-height: 1.45;
}
.seo-table td { vertical-align: middle; }
.seo-table a { overflow-wrap: anywhere; }


/* Son SEO + hız + mobil ince ayarlar */
img { max-width: 100%; height: auto; }
.work-card img, .project-thumb img, .table-thumb { background: #eee9e1; }
.seo-counter { font-weight: 800; margin-left: .25rem; }
.seo-counter.is-good { color: #16803a; }
.seo-counter.is-warn { color: #b94822; }
.seo-tool-list .list-group-item { display: flex; align-items: center; gap: .65rem; border-color: #e7edf4; }
.seo-tool-list .list-group-item i { width: 22px; color: var(--fire); }
.seo-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.seo-check-grid > div { border: 1px solid #e8edf4; border-radius: 12px; padding: .75rem; background: #fff; font-size: .94rem; }
@media (max-width: 991.98px) {
    .site-logo { width: 112px; }
    .navbar .btn { width: 100%; justify-content: center; margin-top: .5rem; }
    .header-social-links {
        margin: .6rem 0 .35rem;
        padding-top: .55rem;
        border-top: 1px solid var(--line);
    }
    .header-social-links a {
        width: 40px;
        height: 40px;
    }
    .hero { min-height: 480px; }
    .hero h1 { font-size: clamp(2rem, 11vw, 3.2rem); }
    .section { padding: 3rem 0; }
    .page-hero { padding: 3.6rem 0 1.4rem; }
    .page-hero h1 { font-size: clamp(2rem, 10vw, 3.2rem); }
}
@media (max-width: 575.98px) {
    .site-logo { width: 96px; }
    .hero { min-height: 440px; }
    .hero-content { padding: 1.15rem; }
    .btn-lg { --bs-btn-padding-y: .72rem; --bs-btn-padding-x: .95rem; --bs-btn-font-size: 1rem; }
    .category-pill { width: 100%; justify-content: flex-start; margin-left: 0; margin-right: 0; }
    .project-card-body, .work-card .body { padding: 1rem; }
    .seo-check-grid { grid-template-columns: 1fr; }
    .seo-table { font-size: .9rem; }
}
