/* Anasayfa — son blog yazıları (editoryal grid) */

.home-blog-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 72px 0 96px;
    overflow: clip;
    color: var(--home-text, #1c1b1c);
    background:
        radial-gradient(ellipse 48% 42% at 92% 8%, rgba(129, 52, 175, 0.07), transparent 58%),
        radial-gradient(ellipse 42% 38% at 4% 88%, rgba(245, 133, 41, 0.07), transparent 56%),
        #fff;
}

.home-blog-stage {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.home-blog-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.45;
}

.home-blog-orb--a {
    width: min(380px, 48vw);
    height: min(380px, 48vw);
    right: -10%;
    top: 8%;
    background: rgba(221, 42, 123, 0.14);
}

.home-blog-orb--b {
    width: min(320px, 40vw);
    height: min(320px, 40vw);
    left: -8%;
    bottom: 6%;
    background: rgba(245, 133, 41, 0.12);
}

.home-blog-inner {
    position: relative;
    z-index: 1;
}

.home-blog-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.home-blog-head {
    margin-bottom: 0;
    max-width: 36rem;
}

.home-blog-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-bottom: 6px;
    padding: 10px 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--home-text-strong, #000);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.home-blog-all .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.home-blog-all:hover {
    color: var(--home-primary, #d03792);
    border-bottom-color: rgba(208, 55, 146, 0.35);
    gap: 10px;
}

.home-blog-all:hover .material-symbols-outlined {
    transform: translateX(2px);
}

.home-blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 28px 40px;
    align-items: stretch;
}

/* —— Öne çıkan —— */
.home-blog-featured {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(252, 248, 249, 0.85);
    border: 1px solid rgba(232, 232, 239, 0.9);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.home-blog-featured:hover {
    transform: translateY(-3px);
    border-color: rgba(208, 55, 146, 0.22);
    box-shadow: 0 22px 48px rgba(40, 16, 40, 0.08);
}

.home-blog-featured-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1eded;
}

.home-blog-featured-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-featured:hover .home-blog-featured-media img {
    transform: scale(1.04);
}

.home-blog-featured-glow {
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(to top, rgba(23, 21, 26, 0.28), transparent);
    pointer-events: none;
}

.home-blog-featured-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 26px 28px;
    flex: 1;
}

.home-blog-featured-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.home-blog-featured-meta time {
    font-size: 13px;
    font-weight: 500;
    color: var(--home-text-soft, #8a8a9b);
}

.home-blog-chip {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-primary, #d03792);
    background: var(--home-primary-soft, rgba(208, 55, 146, 0.12));
}

.home-blog-chip--sm {
    padding: 3px 8px;
    font-size: 10px;
    margin-bottom: 6px;
}

.home-blog-featured-title {
    margin: 0;
    font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--home-text-strong, #000);
}

.home-blog-featured-excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--home-text-body, #47464b);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-read {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(115deg, #f58529, #dd2a7b 55%, #8134af);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-blog-read .material-symbols-outlined {
    font-size: 16px;
    background: linear-gradient(115deg, #f58529, #dd2a7b 55%, #8134af);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.25s ease;
}

.home-blog-featured:hover .home-blog-read .material-symbols-outlined {
    transform: translate(2px, -2px);
}

/* —— Liste —— */
.home-blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    min-height: 100%;
}

.home-blog-list > li {
    flex: 1 1 0;
    display: flex;
    border-top: 1px solid rgba(232, 232, 239, 0.95);
}

.home-blog-list > li:first-child {
    border-top: none;
}

.home-blog-item {
    display: grid;
    grid-template-columns: auto 88px minmax(0, 1fr);
    gap: 14px 16px;
    align-items: center;
    width: 100%;
    padding: 18px 4px;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    transition: background 0.25s ease, padding-left 0.25s ease;
}

.home-blog-list > li:first-child .home-blog-item {
    padding-top: 4px;
}

.home-blog-list > li:last-child .home-blog-item {
    padding-bottom: 4px;
}

.home-blog-item:hover {
    background: rgba(252, 248, 249, 0.9);
    padding-left: 10px;
}

.home-blog-item-index {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--home-text-soft, #8a8a9b);
    font-variant-numeric: tabular-nums;
    transition: color 0.25s ease;
}

.home-blog-item:hover .home-blog-item-index {
    background: linear-gradient(115deg, #f58529, #dd2a7b 55%, #8134af);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-blog-item-media {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1eded;
}

.home-blog-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-blog-item:hover .home-blog-item-media img {
    transform: scale(1.06);
}

.home-blog-item-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 2px;
}

.home-blog-item-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--home-text-strong, #000);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.home-blog-item:hover .home-blog-item-title {
    color: var(--home-primary, #d03792);
}

.home-blog-item-excerpt {
    font-size: 13px;
    line-height: 1.45;
    color: var(--home-text-muted, #68687a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

.home-blog-item-body time {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--home-text-soft, #8a8a9b);
}

@media (max-width: 991px) {
    .home-blog-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-blog-list > li:first-child {
        border-top: 1px solid rgba(232, 232, 239, 0.95);
        padding-top: 4px;
    }

    .home-blog-list > li:first-child .home-blog-item {
        padding-top: 18px;
    }
}

@media (max-width: 575px) {
    .home-blog-section {
        padding: 56px 0 72px;
    }

    .home-blog-head-row {
        margin-bottom: 28px;
    }

    .home-blog-featured {
        border-radius: 22px;
    }

    .home-blog-featured-body {
        padding: 20px 18px 22px;
    }

    .home-blog-item {
        grid-template-columns: auto 72px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 14px 2px;
    }

    .home-blog-item-media {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

    .home-blog-item-excerpt {
        display: none;
    }

    .home-blog-item-title {
        font-size: 0.98rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-blog-featured,
    .home-blog-featured-media img,
    .home-blog-item,
    .home-blog-item-media img,
    .home-blog-all,
    .home-blog-all .material-symbols-outlined,
    .home-blog-read .material-symbols-outlined {
        transition: none;
    }

    .home-blog-featured:hover {
        transform: none;
    }

    .home-blog-featured:hover .home-blog-featured-media img,
    .home-blog-item:hover .home-blog-item-media img {
        transform: none;
    }
}
