﻿/* Blog Page Styles */
/* PHP blog-page stillerine uyumlu */

.blog-page {
    background: linear-gradient(180deg, #f3f4f7 0%, #eef1f4 100%);
}

/* Hero Section */
.blog-hero-surface {
    border-radius: 28px;
    padding: clamp(1.6rem, 3vw, 2.75rem);
    max-width: 1200px;
    margin: 0 auto;
}

.blog-hero-copy h1 {
    letter-spacing: 0.08em;
    color: #2f2f30;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-transform: uppercase;
}

.blog-hero-copy .lead {
    color: #4d4d4f;
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.blog-hero-visual img {
    width: min(420px, 100%);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.15));
    display: block;
}

/* Feed Section */
.blog-feed-section {
    margin-top: -0.5rem;
}

.blog-feed-surface {
    border-radius: 28px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog Tile */
.blog-tile {
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .blog-tile:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }

/* Thumbnail */
.blog-thumb-link {
    display: block;
    overflow: hidden;
}

.blog-thumb {
    overflow: hidden;
}

    .blog-thumb img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }

.blog-tile:hover .blog-thumb img {
    transform: scale(1.05);
}

/* Tile Body */
.blog-tile-body {
    padding: 1rem 1.15rem 1.35rem;
    gap: 0.5rem;
}

    .blog-tile-body h3 {
        font-size: 1.02rem;
        color: #2f2f30;
        letter-spacing: 0.02em;
        margin-bottom: 0.35rem;
        font-weight: 600;
        line-height: 1.4;
    }

        .blog-tile-body h3 a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease;
        }

            .blog-tile-body h3 a:hover {
                color: var(--yellow, #d4a900);
            }

.blog-excerpt {
    font-size: 0.9rem;
    color: #6b6b6b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Meta */
.blog-meta {
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 0.75rem;
}

.blog-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: #2f2f30;
    text-decoration: none;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

    .blog-link::after {
        content: '→';
        transition: transform 0.2s ease;
    }

    .blog-link:hover {
        color: var(--yellow, #d4a900);
    }

        .blog-link:hover::after {
            transform: translateX(4px);
        }

/* Empty State */
.blog-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #888;
}

    .blog-empty i {
        font-size: 3rem;
        margin-bottom: 1rem;
        display: block;
        opacity: 0.5;
    }

    .blog-empty p {
        font-size: 1rem;
        margin: 0;
    }

/* Responsive */
@media (max-width: 991px) {
    .blog-hero-surface {
        text-align: center;
    }

    .blog-hero-copy .lead {
        margin: 0 auto;
    }

    .blog-hero-visual img {
        margin: 0 auto;
        width: min(320px, 100%);
    }
}

@media (max-width: 768px) {
    .blog-feed-surface {
        padding: 1.35rem;
    }

    .blog-thumb img {
        height: 170px;
    }
}

@media (max-width: 576px) {
    .blog-hero-copy h1 {
        font-size: 1.6rem;
    }

    .blog-tile-body {
        padding: 0.9rem 1rem 1.15rem;
    }

        .blog-tile-body h3 {
            font-size: 0.95rem;
        }
}
