.page-title {
    text-align: center;
    padding: 20px 0px 50px 0px;
    margin: 0;
    color: #E94E1B;
    font-size: 40px;
    font-weight: 600;
}

.download-link {
    text-align: center;
    margin: 0 0 50px 0;
    font-size: 20px;
    font-weight: 600;
    text-decoration: underline;
}

.site-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    font-family: "Roboto", sans-serif;
}

.catalogue-container {
    display: flex;
    gap: 4rem;
    padding-bottom: 4rem;
}

.search-sidebar {
    width: 33.333%;
    background: #FEE1B5;
    padding: 2rem;
    border-radius: 3rem;
    position: sticky;
    top: 2rem;
    height: fit-content;
    order: 2;
}

.search-sidebar h3 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 0;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2D2E83;
}

.search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem;
    padding-right: 2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #2D2E83;
}

.input-wrapper input::placeholder {
    opacity: 0.7;
}

.reset-input {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2D2E83;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.25rem;
    cursor: pointer;
}

.reset-input:hover {
    color: #E94E1B;
}

.form-group {
    width: 80%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-btn {
    background: #E94E1B;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    align-self: center;
}

.search-btn:hover {
    background: #d14517;
    text-decoration: none;
}

.formations-catalogue {
    width: 66.666%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 0;
    order: 1;
}

.formation-fiche {
    width: 100%;
    background: #FEE1B5;
    padding: 2rem;
    border-radius: 3rem;
    display: flex;
    gap: 2rem;
}

.formation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #2D2E83;
}

.formation-image {
    width: 200px;
    flex-shrink: 0;
}

.formation-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.formation-taxonomies {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.location-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 0 1px rgba(233, 78, 27, 0.3));
}

.formation-taxo {
    padding: 0.25rem 0;
}

.formation-taxo strong {
    color: #E94E1B;
}

.formation-fiche h2 {
    color: #E94E1B;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.formation-content .btn {
    align-self: center;
    margin-top: 1.5rem;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    background: #E94E1B;
    color: white;
    padding: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-size: 1.5rem;
    font-weight: 600;
}

.btn:hover {
    background: #d14517;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .catalogue-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .search-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 1rem;
        order: 1;
    }

    .formations-catalogue {
        width: 100%;
        order: 2;
    }

    .formation-fiche {
        flex-direction: column;
    }

    .formation-image {
        width: 100%;
        margin-bottom: 1rem;
    }

    .formation-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .form-group {
        width: 100%;
    }
}