/* Anasayfa blog — Adgrey */
.home-blog {
    --hb-ink: #1a1228;
    --hb-muted: #6b6575;
    --hb-line: rgba(26, 18, 40, 0.08);
    --hb-surface: #ffffff;
    --hb-bg: #f6f4f8;
    --hb-accent: var(--pembe, #b91f8e);
    --hb-deep: #30205a;
    position: relative;
    padding: 3.5rem 0 3.75rem;
    background:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(185, 31, 142, 0.07), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(48, 32, 90, 0.06), transparent 50%),
        var(--hb-bg);
    overflow: hidden;
}

.home-blog-head {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.home-blog-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hb-accent);
    margin-bottom: 0.55rem;
}

.home-blog-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: var(--hb-deep);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.home-blog-lead {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--hb-muted);
}

.home-blog-carousel {
    position: relative;
    z-index: 1;
    margin: 0 -0.25rem;
    clear: both;
}

.home-blog-carousel .owl-stage-outer {
    overflow: hidden;
}

.home-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0.35rem 0.15rem 1rem;
    background: var(--hb-surface);
    border: 1px solid var(--hb-line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                border-color 0.25s ease;
}

.home-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(48, 32, 90, 0.12);
    border-color: rgba(185, 31, 142, 0.28);
    text-decoration: none !important;
    color: inherit;
}

.home-blog-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #30205a 0%, #b91f8e 100%);
}

.home-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-blog-card:hover .home-blog-media img {
    transform: scale(1.06);
}

.home-blog-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.15rem 1.2rem 1.25rem;
}

.home-blog-date {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--hb-accent);
    margin-bottom: 0.5rem;
}

.home-blog-card-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hb-ink);
    line-height: 1.35;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.9em;
}

.home-blog-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--hb-line);
}

.home-blog-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}

.home-blog-author {
    min-width: 0;
    flex: 1;
}

.home-blog-author-name {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hb-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-blog-author-role {
    display: block;
    font-size: 0.72rem;
    color: var(--hb-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hb-deep);
    transition: color 0.2s ease, gap 0.25s ease;
}

.home-blog-card:hover .home-blog-cta {
    color: var(--hb-accent);
    gap: 0.55rem;
}

.home-blog-cta svg {
    width: 14px;
    height: 14px;
}

.home-blog-carousel .owl-nav {
    margin: 0;
}

.home-blog-carousel .owl-nav button.owl-prev,
.home-blog-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    z-index: 3;
}

.home-blog-carousel .owl-nav button.owl-prev { left: -8px; }
.home-blog-carousel .owl-nav button.owl-next { right: -8px; }

.home-blog-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: #fff;
    color: var(--hb-deep);
    border: 1px solid var(--hb-line);
    box-shadow: 0 8px 22px rgba(48, 32, 90, 0.12);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-blog-carousel .owl-nav button:hover .home-blog-nav-btn {
    background: var(--hb-accent);
    color: #fff;
    border-color: var(--hb-accent);
}

.home-blog-carousel .owl-dots {
    margin-top: 0.5rem;
    text-align: center;
}

.home-blog-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 4px;
    background: rgba(48, 32, 90, 0.2);
    transition: background 0.2s ease, width 0.2s ease;
}

.home-blog-carousel .owl-dots .owl-dot.active span,
.home-blog-carousel .owl-dots .owl-dot:hover span {
    background: var(--hb-accent);
    width: 18px;
    border-radius: 999px;
}

.home-blog-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.home-blog-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    background: var(--hb-accent);
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(185, 31, 142, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-blog-all:hover {
    background: #9e1a7a;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .home-blog-carousel .owl-nav button.owl-prev { left: 4px; }
    .home-blog-carousel .owl-nav button.owl-next { right: 4px; }
}

@media (max-width: 575.98px) {
    .home-blog {
        padding: 2.75rem 0 3rem;
    }

    .home-blog-carousel .owl-nav {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-blog-card,
    .home-blog-media img,
    .home-blog-all {
        transition: none;
    }
}
