/* ========================================
   Homepage — New Stories (Swiper section)
   ======================================== */

.hp-stories {
    padding: 48px 0;
}

.hp-stories__title {
    font-family: 'FbMetali', 'Almoni Tzar', sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 40px;
    color: var(--hp-text);
    text-align: center;
    margin-bottom: 32px;
}

/* Flexible card sizes; expand to fill available space */
.hp-stories__slider .swiper-slide {
    width: 268px;
    min-width: 268px;
    max-width: 378px;
    flex: 1 1 auto;
    height: 468px;
}

@media (min-width: 1300px) {
    .hp-stories__slider .swiper-wrapper {
        display: flex;
    }

    .hp-stories__slider .swiper-slide {
        width: auto;
        min-width: 351px;
        max-width: 378px;
        flex: 1 1 0;
        height: 444px;
    }
}

/* Story card */
.hp-story-card {
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-section);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.hp-story-card__img {
    width: 100%;
    height: 260px;
    border-radius: var(--hp-radius-section);
    object-fit: cover;
}

.hp-story-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px 0;
}

.hp-story-card__title {
    font-family: 'FbMetali', 'Almoni Tzar', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 40px;
    color: var(--hp-text);
}

.hp-story-card__desc {
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: var(--hp-text);
}

.hp-story-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 28px;
}

.hp-story-card__author {
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: var(--hp-text-secondary);
}

/* CTA below slider */
.hp-stories__cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
