/* ─────────────────────────────────────────────
   Block: Ajankohtainen kohde -banneri (fp_current_project)
   ───────────────────────────────────────────── */

.fp-cp-section {
    padding: 56px 24px;
}

.fp-cp-inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* ── Banner wrapper ── */
.fp-cp-banner {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: #2e2e2d;
}

/* ── Background image ── */
.fp-cp-bg {
    position: absolute;
    inset: 0;
}

.fp-cp-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark gradient: strong on left, fades right */
.fp-cp-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 20, 20, 0.88) 0%,
        rgba(20, 20, 20, 0.50) 60%,
        rgba(20, 20, 20, 0.20) 100%
    );
}

/* ── Content overlay ── */
.fp-cp-content {
    position: relative;
    z-index: 2;
    padding: 56px;
    max-width: 540px;
    color: #fff;
}

/* Tag / label chip */
.fp-cp-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #c44c4c;
    margin-bottom: 12px;
    background: rgba(155, 27, 27, 0.25);
    padding: 5px 12px;
    border-radius: 4px;
}

.fp-cp-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.02em;
    margin: 0 0 16px;
    padding: 0;
    color: #fff;
}

.fp-cp-content p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Outline-light CTA button */
.fp-cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #fff;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    background: transparent;
}

.fp-cp-btn:hover {
    background: #fff;
    color: #2e2e2d;
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .fp-cp-content {
        padding: 32px;
    }

    .fp-cp-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 500px) {
    .fp-cp-section {
        padding: 32px 0;
    }

    .fp-cp-content {
        padding: 28px 24px;
    }
}
