
/* =========================================
   FILMOVEXA BLOG HERO
========================================= */

.fx-blog-hero {
    position: relative;
    overflow: hidden;
    margin: 18px;
    padding: clamp(52px, 8vw, 108px) clamp(24px, 7vw, 100px) 30px;
    border: 1px solid #26384c;
    border-radius: 36px;
    background:
        radial-gradient(
            ellipse at 85% 10%,
            rgba(13, 84, 142, 0.20),
            transparent 42%
        ),
        #071426;
    color: #f5f7fb;
}

.fx-blog-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
}

.fx-blog-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: #b7c5d5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.5;
}

.fx-blog-hero__eyebrow-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #ef3c51;
    box-shadow: 0 0 16px rgba(239, 60, 81, 0.35);
}

.fx-blog-hero__title {
    max-width: 900px;
    margin: 0;
    color: #f7f9fc;
    font-size: clamp(44px, 7.2vw, 88px);
    font-weight: 750;
    letter-spacing: -0.065em;
    line-height: 1.04;
}

.fx-blog-hero__gradient {
    display: block;
    padding-bottom: 8px;
    background: linear-gradient(
        100deg,
        #ffffff 5%,
        #f18a98 48%,
        #ef3c51 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.fx-blog-hero__description {
    max-width: 650px;
    margin: 28px 0 0;
    color: #b4c2d2;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.8;
}

.fx-blog-hero__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.fx-blog-hero__topics span {
    padding: 10px 15px;
    border: 1px solid #29445e;
    border-radius: 999px;
    background: #102a45;
    color: #dbe8f5;
    font-size: 13px;
    line-height: 1.4;
}

.fx-blog-hero__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: clamp(52px, 7vw, 84px);
    padding-top: 24px;
    border-top: 1px solid #29394d;
}

.fx-blog-hero__footer > span {
    color: #8fa5bd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.fx-blog-hero__footer a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f5f7fb;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease;
}

.fx-blog-hero__footer a span {
    color: #ef465b;
    font-size: 20px;
    transition: transform 180ms ease;
}

.fx-blog-hero__footer a:hover {
    color: #f18a98;
}

.fx-blog-hero__footer a:hover span {
    transform: translate(3px, 3px);
}

/* Tablet and mobile */

@media (max-width: 640px) {
    .fx-blog-hero {
        margin: 12px;
        padding: 48px 24px 24px;
        border-radius: 26px;
    }

    .fx-blog-hero__eyebrow {
        margin-bottom: 24px;
        font-size: 10px;
    }

    .fx-blog-hero__title {
        font-size: clamp(42px, 11vw, 60px);
        letter-spacing: -0.055em;
        line-height: 1.08;
    }

    .fx-blog-hero__description {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.75;
    }

    .fx-blog-hero__topics {
        gap: 8px;
        margin-top: 25px;
    }

    .fx-blog-hero__topics span {
        padding: 8px 11px;
        font-size: 12px;
    }

    .fx-blog-hero__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-top: 48px;
        padding-top: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fx-blog-hero__footer a,
    .fx-blog-hero__footer a span {
        transition: none;
    }
}

/* =========================================
   FILMOVEXA BLOG POSTS
========================================= */

.fx-blog-posts {
    padding: clamp(58px, 8vw, 100px) 18px;
    color: #f5f7fb;
}

.fx-blog-posts__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.fx-blog-posts__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 42px;
}

.fx-blog-posts__heading {
    max-width: 720px;
}

.fx-blog-posts__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #ef5267;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.fx-blog-posts__eyebrow span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #ef3c51;
}

.fx-blog-posts__heading h2 {
    margin: 0;
    color: #f7f9fc;
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.12;
}

.fx-blog-posts__intro {
    max-width: 580px;
    margin: 18px 0 0;
    color: #9eafc2;
    font-size: 16px;
    line-height: 1.8;
}

.fx-blog-posts__count {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-shrink: 0;
    padding-bottom: 7px;
    color: #9eafc2;
    font-size: 13px;
}

.fx-blog-posts__count span:first-child {
    color: #f5f7fb;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

/* Post grid */

.fx-blog-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Individual cards */

.fx-blog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #26384c;
    border-radius: 24px;
    background: #0b1b30;
    transition:
        border-color 220ms ease,
        transform 220ms ease,
        background-color 220ms ease;
}

.fx-blog-card:hover {
    transform: translateY(-5px);
    border-color: #40536a;
    background: #0d2037;
}

/* Featured image */

.fx-blog-card__image {
    position: relative;
    display: flex;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            ellipse at 75% 25%,
            rgba(13, 84, 142, 0.35),
            transparent 55%
        ),
        #10243b;
    text-decoration: none;
}

.fx-blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.fx-blog-card:hover .fx-blog-card__image img {
    transform: scale(1.045);
}

.fx-blog-card__image-arrow {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(7, 20, 38, 0.85);
    color: #ffffff;
    font-size: 18px;
    transition:
        background-color 200ms ease,
        color 200ms ease;
}

.fx-blog-card:hover .fx-blog-card__image-arrow {
    background: #ef3c51;
    color: #ffffff;
}

.fx-blog-card__placeholder {
    color: #8296ad;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

/* Card content */

.fx-blog-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.fx-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #93a6bd;
    font-size: 11px;
}

.fx-blog-card__category {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid rgba(239, 60, 81, 0.25);
    border-radius: 999px;
    background: rgba(239, 60, 81, 0.09);
    color: #ff7b8c;
    font-weight: 650;
    line-height: 1.2;
}

.fx-blog-card__date {
    color: #9eafc2;
}

.fx-blog-card__title {
    margin: 0;
    font-size: clamp(19px, 1.8vw, 23px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.4;
}

.fx-blog-card__title a {
    color: #f5f7fb;
    text-decoration: none;
    transition: color 180ms ease;
}

.fx-blog-card__title a:hover {
    color: #f07888;
}

.fx-blog-card__excerpt {
    margin: 14px 0 24px;
    color: #9eafc2;
    font-size: 14px;
    line-height: 1.85;
}

.fx-blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #26384c;
}

.fx-blog-card__reading-time {
    color: #8498af;
    font-size: 11px;
    white-space: nowrap;
}

.fx-blog-card__read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f5f7fb;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

.fx-blog-card__read-link span {
    color: #ef5267;
    font-size: 16px;
    transition: transform 180ms ease;
}

.fx-blog-card__read-link:hover {
    color: #f07888;
}

.fx-blog-card__read-link:hover span {
    transform: translate(3px, -3px);
}

/* Pagination */

.fx-blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.fx-blog-pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fx-blog-pagination li {
    margin: 0;
    padding: 0;
}

.fx-blog-pagination a,
.fx-blog-pagination span {
    display: flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid #293d54;
    border-radius: 12px;
    background: #0b1b30;
    color: #dce5ef;
    font-size: 13px;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease;
}

.fx-blog-pagination a:hover,
.fx-blog-pagination .current {
    border-color: #ef3c51;
    background: #ef3c51;
    color: #ffffff;
}

.fx-blog-pagination .dots {
    border-color: transparent;
    background: transparent;
}

/* Empty state */

.fx-blog-empty {
    padding: 64px 24px;
    border: 1px solid #26384c;
    border-radius: 24px;
    background: #0b1b30;
    text-align: center;
}

.fx-blog-empty__eyebrow {
    color: #ef5267;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.fx-blog-empty h3 {
    margin: 18px 0 10px;
    color: #f5f7fb;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.fx-blog-empty p {
    max-width: 480px;
    margin: 0 auto;
    color: #9eafc2;
    font-size: 14px;
    line-height: 1.8;
}

/* Responsive layouts */

@media (max-width: 1050px) {
    .fx-blog-posts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .fx-blog-card__content {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .fx-blog-posts {
        padding: 52px 12px;
    }

    .fx-blog-posts__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 28px;
    }

    .fx-blog-posts__heading h2 {
        font-size: clamp(32px, 9vw, 42px);
    }

    .fx-blog-posts__intro {
        margin-top: 14px;
        font-size: 14px;
    }

    .fx-blog-posts__count {
        padding: 0;
    }

    .fx-blog-posts__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .fx-blog-card {
        border-radius: 20px;
    }

    .fx-blog-card__content {
        padding: 20px;
    }

    .fx-blog-card__title {
        font-size: 21px;
    }

    .fx-blog-pagination {
        margin-top: 36px;
    }

    .fx-blog-pagination ul {
        gap: 5px;
    }

    .fx-blog-pagination a,
    .fx-blog-pagination span {
        min-width: 36px;
        min-height: 38px;
        padding: 0 9px;
        font-size: 12px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .fx-blog-card,
    .fx-blog-card__image img,
    .fx-blog-card__image-arrow,
    .fx-blog-card__title a,
    .fx-blog-card__read-link,
    .fx-blog-card__read-link span {
        transition: none;
    }

    .fx-blog-card:hover {
        transform: none;
    }

    .fx-blog-card:hover .fx-blog-card__image img {
        transform: none;
    }
}
