﻿.blog-hero {
    background-size: cover;
    background-position: center;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    position: relative;
    overflow: hidden;
}

.blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(14, 18, 35, 0.55);
    z-index: 0;
}

.blog-hero .slideraramabolum {
    position: relative;
    z-index: 1;
}


.blog-hero .blog-title,
.blog-hero .blog-subtitle,
.blog-hero-list .blog-title,
.blog-hero-list .blog-subtitle,
.blog-hero-list .blog-lead,
.blog-hero--detail .blog-category {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.blog-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 12px 0 8px 0;
}

.blog-subtitle {
    max-width: 520px;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.blog-section {
    padding: 60px 0 72px 0;
}

.blog-container {
    max-width: 1140px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 40px -32px rgba(20, 24, 45, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 48px -28px rgba(20, 24, 45, 0.55);
}

.blog-card__media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.blog-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.05);
}

.blog-card__body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.blog-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #14182d;
}

.blog-card__excerpt {
    font-size: 15px;
    color: #4f5462;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card__cta {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b2c 0%, #ff8a4d 100%);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 20px -12px rgba(255, 107, 44, 0.7);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(255, 107, 44, 0.75);
}

.blog-empty {
    text-align: center;
    padding: 80px 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 40px -32px rgba(20, 24, 45, 0.35);
}

.blog-empty__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #14182d;
}

.blog-empty__text {
    color: #4f5462;
    font-size: 16px;
    margin: 0;
}


.blog-detail-section {
    padding: 30px 0 80px 0;
}

.blog-detail {
    max-width: 880px;
    margin: -60px auto 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 36px 40px;
    box-shadow: 0 24px 48px -32px rgba(20, 24, 45, 0.28);
    position: relative;
}

.blog-detail__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #14182d;
}

.blog-detail__subtitle {
    font-size: 16px;
    color: #6a6f7d;
    margin-bottom: 24px;
}

.blog-detail__content {
    font-size: 16px;
    line-height: 1.8;
    color: #3e4251;
}

.blog-detail__content p {
    margin-bottom: 18px;
}

.blog-detail__content a {
    color: #ff6b2c;
    text-decoration: underline;
}

.blog-detail__content ul,
.blog-detail__content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.blog-detail__content strong {
    color: #14182d;
}

.blog-hero-list {
    position: relative;
}

.blog-hero-list .slideraramabolum {
    position: relative;
    z-index: 1;
    padding: 120px 0 100px 0;
}

.blog-hero-list__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.blog-title--list {
    font-size: 44px;
    margin-bottom: 16px;
}

.blog-hero-list .blog-title {
    font-size: 52px;
}

.blog-lead {
    max-width: 520px;
    margin: 0 auto;
    color: #f0f2f9;
    font-size: 17px;
    line-height: 1.7;
}

.blog-hero--detail {
    position: relative;
    overflow: hidden;
}

.blog-hero--detail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(6, 8, 13, 0.9) 0%, rgba(6, 8, 13, 0.7) 55%, rgba(6, 8, 13, 0.5) 100%);
}

.blog-hero--detail .slideraramabolum {
    position: relative;
    z-index: 1;
    padding: 100px 0 70px 0;
}

.blog-hero--detail .blog-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #f4f6fc;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.blog-hero--detail .blog-title {
    font-size: 42px;
    line-height: 1.15;
    max-width: 760px;
}

.blog-hero-detail__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.blog-title--detail {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.blog-hero--detail .blog-category {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-title {
        font-size: 30px;
    }

    .blog-title--list {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .blog-hero-list .slideraramabolum {
        padding: 100px 0 80px 0;
    }

    .blog-title--list {
        font-size: 36px;
    }

    .blog-lead {
        font-size: 16px;
    }

    .blog-title--detail {
        font-size: 38px;
    }

    .blog-hero--detail .slideraramabolum {
        padding: 90px 0 60px 0;
    }
}

@media (max-width: 768px) {

    .blog-title {
        font-size: 26px;
    }

    .blog-subtitle {
        font-size: 15px;
    }

    .blog-title--list {
        font-size: 30px;
    }

    .blog-lead {
        font-size: 15px;
    }

    .blog-title--detail {
        font-size: 32px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-card {
        border-radius: 14px;
    }

    .blog-card__body {
        padding: 20px;
    }

    .blog-card__title {
        font-size: 18px;
    }

    .blog-detail-section {
        padding: 30px 0 60px 0;
    }

    .blog-detail {
        margin: -40px auto 0 auto;
        padding: 26px 22px;
        border-radius: 14px;
    }

    .blog-detail__title {
        font-size: 24px;
    }

    .blog-detail__subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .blog-detail__content {
        font-size: 15px;
    }
}

@media (max-width: 480px) {

    .blog-title {
        font-size: 22px;
    }

    .blog-subtitle {
        font-size: 14px;
    }

    .blog-title--detail {
        font-size: 28px;
    }

    .blog-card__excerpt {
        font-size: 14px;
    }

    .blog-card__cta {
        width: 100%;
        text-align: center;
    }

    .blog-hero--detail .slideraramabolum {
        padding: 70px 0 40px 0;
    }
}