/* Blog v29 — tc-home-blog-card (referans görsel) */
.tc-blog-archive-v29,
.tc-home-blog {
    --blog-brown: #351300;
    --blog-orange: #ff5b00;
    --blog-cream: #fff1e7;
    --blog-text: #7d6f66;
    --blog-line: rgba(53, 19, 0, 0.08);
}

.tc-blog-archive-v29.tc-home-blog,
.tc-home-blog {
    padding: 72px 0 88px;
    background: #fff;
    overflow: hidden;
}

.tc-blog-archive-v29 .section-title,
.tc-home-blog .section-title {
    margin-bottom: 48px;
}

.tc-blog-archive-v29 .section-title__tagline,
.tc-home-blog .section-title__tagline {
    color: var(--blog-orange);
    letter-spacing: 0.14em;
    font-weight: 950;
    text-transform: uppercase;
}

.tc-blog-archive-v29 .section-title__title,
.tc-home-blog .section-title__title {
    color: var(--blog-brown);
    letter-spacing: -0.045em;
    line-height: 1.05;
    font-weight: 900;
}

.tc-home-blog__grid {
    --bs-gutter-x: 32px;
    --bs-gutter-y: 34px;
    row-gap: 34px;
}

.tc-home-blog__grid > [class*="col-"] {
    display: flex;
}

.tc-home-blog-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
    border: 1px solid var(--blog-line);
    box-shadow: 0 20px 58px rgba(53, 19, 0, 0.075);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.tc-home-blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 72px rgba(53, 19, 0, 0.12);
}

.tc-home-blog-card__img {
    position: relative;
    display: block;
    height: 286px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7f1, #f3e2d5);
    text-decoration: none !important;
}

.tc-home-blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
    background: #fff3e8;
}

.tc-home-blog-card:hover .tc-home-blog-card__img img {
    transform: scale(1.06);
}

.tc-home-blog-card__img span {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--blog-orange);
    color: #fff;
    box-shadow: 0 16px 38px rgba(255, 91, 0, 0.24);
    z-index: 2;
    font-size: 18px;
    transition: transform 0.22s ease;
}

.tc-home-blog-card:hover .tc-home-blog-card__img span {
    transform: scale(1.04);
}

.tc-home-blog-card__content {
    padding: 30px 30px 34px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tc-home-blog-card h3 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.tc-home-blog-card h3 a {
    color: var(--blog-brown);
    text-decoration: none !important;
}

.tc-home-blog-card h3 a:hover {
    color: var(--blog-orange);
}

.tc-home-blog-card p {
    margin: 0 0 24px;
    color: var(--blog-text);
    font-size: 15.5px;
    line-height: 1.72;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-home-blog-card__btn {
    margin-top: auto;
    align-self: flex-start;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--blog-cream);
    color: var(--blog-brown) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.04em;
    transition: background 0.22s ease, color 0.22s ease;
}

.tc-home-blog-card__btn i {
    font-size: 12px;
    transform: rotate(45deg);
}

.tc-home-blog-card__btn:hover {
    background: var(--blog-orange);
    color: #fff !important;
}

.tc-blog-archive-v29__empty {
    max-width: 560px;
    margin: 0 auto;
    padding: 48px 28px;
    text-align: center;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--blog-line);
    box-shadow: 0 20px 58px rgba(53, 19, 0, 0.08);
}

.tc-blog-archive-v29__empty h3 {
    margin: 0 0 10px;
    color: var(--blog-brown);
    font-size: 28px;
    font-weight: 900;
}

.tc-blog-archive-v29__empty p {
    margin: 0;
    color: var(--blog-text);
    font-size: 16px;
    line-height: 1.7;
}

/* Mobil carousel */
@media (max-width: 991.98px) {
    .tc-blog-archive-v29.tc-home-blog,
    .tc-home-blog {
        padding: 76px 0;
    }

    .tc-blog-archive-v29 .section-title,
    .tc-home-blog .section-title {
        margin-bottom: 18px;
    }

    .tc-mobile-carousel {
        position: relative;
        margin-left: -15px;
        margin-right: -15px;
        padding-top: 48px;
        overflow: visible;
    }

    .tc-mobile-carousel .tc-home-mobile-slider {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 18px;
        margin: 0 !important;
        padding: 6px 18px 28px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tc-mobile-carousel .tc-home-mobile-slider::-webkit-scrollbar {
        display: none;
    }

    .tc-home-blog__grid > .tc-home-mobile-slide {
        flex: 0 0 84% !important;
        max-width: 84% !important;
        width: 84% !important;
        scroll-snap-align: start;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .tc-mobile-arrow {
        position: absolute;
        top: 0;
        z-index: 12;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        color: var(--blog-orange);
        box-shadow: 0 16px 38px rgba(53, 19, 0, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        backdrop-filter: blur(10px);
    }

    .tc-mobile-arrow--prev { left: 10px; }
    .tc-mobile-arrow--next { right: 10px; }

    .tc-home-blog-card__img { height: 230px; }
    .tc-home-blog-card__content { padding: 26px 24px 30px; }
    .tc-home-blog-card h3 { font-size: 21px; }
}

@media (min-width: 992px) {
    .tc-mobile-arrow { display: none !important; }
    .tc-mobile-carousel { display: block; }
}

@media (max-width: 575.98px) {
    .tc-home-blog__grid > .tc-home-mobile-slide {
        flex-basis: 86% !important;
        max-width: 86% !important;
        width: 86% !important;
    }

    .tc-home-blog-card__img { height: 205px; }
    .tc-blog-archive-v29 .section-title__title,
    .tc-home-blog .section-title__title {
        font-size: 34px;
        line-height: 1.08;
    }
}
