/* ========== BLOG DETAY SAYFASI ========== */
.blg-page {
    font-family: 'Montserrat', sans-serif !important;
    --blg-dark: #0f172a;
    --blg-body: #334155;
    --blg-accent: #006F87;
    --blg-accent-deep: #005A6E;
    --blg-accent-soft: #e0f2f4;
    --blg-bg: #f8fafc;
    --blg-card: #ffffff;
    --blg-border: #e2e8f0;
}

/* ════════════════════════════════
   HERO – Gradient banner + meta
   ════════════════════════════════ */
.blg-hero {
    position: relative;
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}

.blg-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #0a3d4e 0%, var(--blg-accent) 50%, #0098B5 100%);
    z-index: 0;
}

.blg-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 75% 15%, rgba(255,255,255,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 15% 85%, rgba(0,0,0,0.10) 0%, transparent 50%);
    pointer-events: none;
}

.blg-hero__bg::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--blg-bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.blg-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.blg-hero__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.blg-hero__cat {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.blg-hero__cat:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    text-decoration: none;
}

.blg-hero__title {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.25rem 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.blg-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
}

.blg-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
}

.blg-hero__meta-item i {
    font-size: 0.78rem;
    opacity: 0.7;
}

/* ════════════════════════════════
   COVER – Kapak görseli
   ════════════════════════════════ */
.blg-cover {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: -2rem auto 0;
    padding: 0 1rem;
}

.blg-cover__img {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    line-height: 0;
}

.blg-cover__img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

.blg-cover__img:hover img {
    transform: scale(1.015);
}

/* ════════════════════════════════
   BODY – İçerik + Sidebar
   ════════════════════════════════ */
.blg-body {
    padding: 3rem 0 4rem;
    background: var(--blg-bg);
}

.blg-body__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* Ana İçerik */
.blg-article {
    background: var(--blg-card);
    border-radius: 20px;
    padding: 2.5rem 2.5rem;
    border: 1px solid var(--blg-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.blg-article h1,
.blg-article h2,
.blg-article h3,
.blg-article h4 {
    color: var(--blg-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
    line-height: 1.3;
}

.blg-article h1:first-child,
.blg-article h2:first-child,
.blg-article h3:first-child {
    margin-top: 0;
}

.blg-article h2 {
    font-size: 1.5rem;
    color: var(--blg-accent);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--blg-accent-soft);
}

.blg-article h3 {
    font-size: 1.25rem;
}

.blg-article p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--blg-body);
    margin-bottom: 1.1rem;
    text-align: justify;
}

.blg-article p:last-child {
    margin-bottom: 0;
}

.blg-article strong {
    color: var(--blg-dark);
    font-weight: 700;
}

.blg-article a {
    color: var(--blg-accent);
    text-decoration: none;
    font-weight: 600;
}

.blg-article a:hover {
    text-decoration: underline;
}

.blg-article ul,
.blg-article ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.blg-article li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--blg-body);
}

.blg-article ul li {
    list-style: none;
    position: relative;
    padding-left: 0.5rem;
}

.blg-article ul li::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--blg-accent);
    border-radius: 50%;
}

.blg-article blockquote {
    background: linear-gradient(135deg, var(--blg-accent-soft) 0%, #f0f9fa 100%);
    border-left: 4px solid var(--blg-accent);
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: var(--blg-dark);
}

.blg-article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

.blg-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

.blg-article th,
.blg-article td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--blg-border);
    text-align: left;
}

.blg-article th {
    background: var(--blg-accent-soft);
    font-weight: 700;
    color: var(--blg-dark);
}

/* ════════════════════════════════
   SIDEBAR
   ════════════════════════════════ */
.blg-sidebar {
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Paylaşım kartı */
.blg-share {
    background: var(--blg-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--blg-border);
}

.blg-share__title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blg-accent);
    margin: 0 0 1rem 0;
}

.blg-share__links {
    display: flex;
    gap: 0.6rem;
}

.blg-share__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blg-share__btn:hover {
    transform: translateY(-3px);
    color: #fff;
    text-decoration: none;
}

.blg-share__btn--fb {
    background: #1877F2;
}
.blg-share__btn--fb:hover {
    box-shadow: 0 6px 16px rgba(24,119,242,0.35);
}

.blg-share__btn--tw {
    background: #1DA1F2;
}
.blg-share__btn--tw:hover {
    box-shadow: 0 6px 16px rgba(29,161,242,0.35);
}

.blg-share__btn--li {
    background: #0A66C2;
}
.blg-share__btn--li:hover {
    box-shadow: 0 6px 16px rgba(10,102,194,0.35);
}

.blg-share__btn--wa {
    background: #25D366;
}
.blg-share__btn--wa:hover {
    box-shadow: 0 6px 16px rgba(37,211,102,0.35);
}

/* İlgili yazılar kartı */
.blg-related-side {
    background: var(--blg-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--blg-border);
}

.blg-related-side__title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blg-accent);
    margin: 0 0 1.25rem 0;
}

.blg-related-side__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blg-related-side__item {
    display: flex;
    gap: 0.85rem;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.blg-related-side__item:hover {
    background: var(--blg-bg);
    text-decoration: none;
}

.blg-related-side__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--blg-bg);
}

.blg-related-side__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blg-related-side__item:hover .blg-related-side__thumb img {
    transform: scale(1.08);
}

.blg-related-side__info {
    flex: 1;
    min-width: 0;
}

.blg-related-side__date {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blg-accent);
    margin-bottom: 0.25rem;
}

.blg-related-side__name {
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--blg-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.blg-related-side__item:hover .blg-related-side__name {
    color: var(--blg-accent);
}

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 992px) {
    .blg-body__grid {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .blg-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blg-share {
        flex: 1;
        min-width: 200px;
    }

    .blg-related-side {
        flex: 2;
        min-width: 280px;
    }

    .blg-related-side__list {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .blg-related-side__item {
        flex-shrink: 0;
        width: 220px;
        flex-direction: column;
        gap: 0.5rem;
    }

    .blg-related-side__thumb {
        width: 100%;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .blg-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .blg-hero__bg::after {
        height: 45px;
    }

    .blg-hero__title {
        font-size: 1.4rem;
    }

    .blg-hero__meta {
        gap: 0.75rem;
    }

    .blg-hero__meta-item {
        font-size: 0.75rem;
    }

    .blg-cover {
        margin-top: -1.25rem;
    }

    .blg-cover__img {
        border-radius: 14px;
    }

    .blg-cover__img img {
        border-radius: 14px;
    }

    .blg-body {
        padding: 2rem 0 3rem;
    }

    .blg-article {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
    }

    .blg-article p {
        font-size: 0.93rem;
    }

    .blg-article h2 {
        font-size: 1.3rem;
    }

    .blg-article h3 {
        font-size: 1.1rem;
    }

    .blg-sidebar {
        flex-direction: column;
    }

    .blg-related-side__list {
        flex-direction: column;
    }

    .blg-related-side__item {
        width: auto;
        flex-direction: row;
    }

    .blg-related-side__thumb {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .blg-hero {
        padding: 2.5rem 0 2rem;
    }

    .blg-hero__title {
        font-size: 1.2rem;
    }

    .blg-hero__cat {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }

    .blg-cover__img {
        border-radius: 12px;
    }

    .blg-cover__img img {
        border-radius: 12px;
    }

    .blg-article {
        padding: 1.25rem 1rem;
        border-radius: 14px;
    }

    .blg-article p {
        font-size: 0.88rem;
        text-align: left;
    }

    .blg-share__btn {
        height: 38px;
        border-radius: 10px;
    }
}
