/* ==================== BLOG SAYFASI ==================== */

.gemka-blog {
    padding: 70px 20px 90px;
    background: var(--gemka-bg);
}

.gemka-blog__container {
    max-width: 1400px;
    margin: 0 auto;
}

.gemka-blog__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gemka-green);
    margin: 0 0 42px 0;
    line-height: 1.3;
}

/* ==================== BLOG GRID ==================== */

.gemka-blog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gemka-blog-card {
    background: var(--gemka-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(13, 93, 87, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gemka-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(13, 93, 87, 0.14);
}

.gemka-blog-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1.618 / 1;
    overflow: hidden;
    background: #e8eceb;
}

.gemka-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gemka-blog-card:hover .gemka-blog-card__image img {
    transform: scale(1.06);
}

.gemka-blog-post { max-width: 1120px; margin: 54px auto 84px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 46px rgba(13, 93, 87, .12); }
.gemka-blog-post__hero { min-height: 490px; position: relative; display: flex; align-items: flex-end; background: linear-gradient(135deg, #0a4f4e, #113a38); isolation: isolate; }
.gemka-blog-post__image, .gemka-blog-post__hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.gemka-blog-post__image { object-fit: cover; z-index: -2; }
.gemka-blog-post__hero-overlay { background: linear-gradient(90deg, rgba(6, 35, 34, .9) 0%, rgba(7, 42, 40, .6) 54%, rgba(6, 35, 34, .18) 100%), linear-gradient(0deg, rgba(4, 30, 29, .82), transparent 62%); z-index: -1; }
.gemka-blog-post__hero-content { width: min(810px, 100%); padding: 46px 58px 52px; color: #fff; }
.gemka-blog-post__back { color: #d6f0e7; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .01em; transition: color .2s ease; }
.gemka-blog-post__back:hover { color: #fff; }
.gemka-blog-post__eyebrow { margin: 46px 0 14px; color: #a9dfc8; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.gemka-blog-post h1 { max-width: 800px; color: #fff; font-size: clamp(32px, 4vw, 54px); line-height: 1.12; letter-spacing: -.025em; margin: 0; }
.gemka-blog-post__meta { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 24px; color: #e4f4ee; font-size: 14px; }
.gemka-blog-post__meta span { display: inline-flex; align-items: center; }
.gemka-blog-post__meta span + span::before { content: ''; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: #8bd0b4; }
.gemka-blog-post__content { max-width: 790px; padding: 48px 24px 58px; margin: 0 auto; }
.gemka-blog-post__lead { margin: 0 0 30px; padding: 0 0 28px; border-bottom: 1px solid #dce8e4; color: #28504b; font-size: 20px; font-weight: 500; line-height: 1.65; }
.gemka-blog-post__body { color: #314947; font-size: 17px; line-height: 1.95; }
.gemka-blog-post__footer { margin-top: 46px; padding-top: 26px; border-top: 1px solid #dce8e4; }
.gemka-blog-post__back--footer { color: #0d5d57; }
.gemka-blog-post__back--footer:hover { color: #063f3a; }
@media (max-width: 640px) { .gemka-blog-post { margin: 28px 16px 52px; border-radius: 14px; } .gemka-blog-post__hero { min-height: 410px; } .gemka-blog-post__hero-content { padding: 30px 25px 34px; } .gemka-blog-post__eyebrow { margin-top: 34px; } .gemka-blog-post__content { padding: 34px 22px 40px; } .gemka-blog-post__lead { font-size: 18px; } .gemka-blog-post__body { font-size: 16px; } }

.gemka-blog-card__body {
    padding: 22px 20px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gemka-blog-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gemka-text);
    line-height: 1.45;
    margin: 0 0 10px 0;
    min-height: calc(3 * 1.45 * 15px);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gemka-blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.gemka-blog-card__title a:hover {
    color: var(--gemka-green);
}

.gemka-blog-card__excerpt {
    font-size: 13px;
    color: #6f7b7a;
    line-height: 1.55;
    margin: 0;
    min-height: calc(3 * 1.55 * 13px);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== KART ALT / META ==================== */

.gemka-blog-card__meta {
    margin-top: auto;
    padding: 12px 0 14px;
    border-top: 1px solid #e4e7e7;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    color: #8b9594;
}

.gemka-blog-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gemka-blog-card__stat svg,
.gemka-blog-card__like svg {
    width: 15px;
    height: 15px;
    display: block;
}

.gemka-blog-card__like {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

.gemka-blog-card__like:hover {
    color: #e25555;
}

.gemka-blog-card__like.is-liked {
    color: #e25555;
}

.gemka-blog-card__like.is-liked .gemka-blog-card__heart--empty {
    display: none;
}

.gemka-blog-card__like.is-liked .gemka-blog-card__heart--filled {
    display: block;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1100px) {
    .gemka-blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gemka-blog {
        padding: 50px 16px 70px;
    }

    .gemka-blog__title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .gemka-blog__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
