/* Anasayfa — son 3 blog yazısı (WP_Query, dinamik) */
.hp-latest-posts {
    max-width: 1100px;
    margin: 0 auto 96px;
    padding-bottom: 52px;
    position: relative;
    z-index: 1;
}
.hp-latest-posts__head {
    text-align: center;
    margin-bottom: 36px;
}
.hp-latest-posts__intro {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    max-width: 640px;
    margin: 18px auto 0;
    padding: 0 16px;
    font-weight: 400;
}
@media (min-width: 768px) {
    .hp-latest-posts__intro {
        font-size: 1.05rem;
    }
}
.hp-latest-posts__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .hp-latest-posts__title {
        font-size: 2.5rem;
    }
}
.hp-latest-posts__footer {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    margin-bottom: 8px;
}

/* Blog bloğundan sonra CTA başlığı — margin çökmez, net boşluk */
.contact-section__cta {
    margin-top: 0;
}
.hp-latest-posts + .contact-section__cta {
    margin-top: 88px;
}
@media (min-width: 768px) {
    .hp-latest-posts + .contact-section__cta {
        margin-top: 112px;
    }
}
.hp-latest-posts__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #E2417C 0%, #4684CE 100%);
    box-shadow: 0 4px 24px rgba(226, 65, 124, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.hp-latest-posts__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(226, 65, 124, 0.45);
    color: #fff;
    opacity: 0.95;
}
.hp-latest-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.hp-latest-posts__card {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hp-latest-posts__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    border-color: rgba(226, 65, 124, 0.35);
}
.hp-latest-posts__card-link {
    display: block;
    padding: 0 0 20px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.hp-latest-posts__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}
.hp-latest-posts__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.hp-latest-posts__card:hover .hp-latest-posts__img {
    transform: scale(1.04);
}
.hp-latest-posts__placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: linear-gradient(135deg, rgba(226, 65, 124, 0.2) 0%, rgba(70, 132, 206, 0.2) 100%);
}
.hp-latest-posts__date {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin: 14px 18px 6px;
}
.hp-latest-posts__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 0 18px 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-latest-posts__excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 18px 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-latest-posts__more {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #E2417C;
    margin: 0 18px;
}
@media (max-width: 900px) {
    .hp-latest-posts__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}
