﻿/* PAGE BACKGROUND */
.hack-bike-section {
    background-color: #F0F0F7;
    padding: 40px 0;
}

/* TITLE */
.hack-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 42px;
    text-transform: uppercase;
    color: #1e3799;
    margin-bottom: 10px;
}

/* INTRO PARAGRAPH */
.hack-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.02em;
    color: #464646;
    max-width: 1326px;
}

/* CARD IMAGE */
.bike-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

/* CARD TITLE */
.hack-card-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 24px;
    text-transform: uppercase;
    color: #3D3D98;
    line-height: 111%;
    margin-bottom: 8px;
}

/* CARD SUMMARY TEXT */
.hack-card-text {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.02em;
    color: #464646;
}

/* ARROW BUTTON */
.btn-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

/* CARD WRAPPER FIX */
.bike-card {
    position: relative;
    padding-bottom: 60px;
}
/* Filter Buttons */
.hack-filter-btn {
    background: #ffffff;
    border: 1px solid #d0d0e0;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
    color: #3d3d98;
    transition: 0.2s;
}

    .hack-filter-btn.active,
    .hack-filter-btn:hover {
        background: #3d3d98;
        color: #fff;
    }


/* Wrap image + category badge */
.hack-image-wrapper {
    position: relative;
}

    /* Image */
    .hack-image-wrapper .bike-image {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px 8px 0 0;
    }

/* Category Badge on top-left of image */
.hack-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #3d3d98;
    color: #213547;
    padding: 6px 14px;
    z-index: 5;
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.02em;
    color: white;
    border-radius: 8px 0px 8px 0px;
}

