/**
 * Footer Urus Theme
 * Styles pour le footer responsive basé sur le design fourni
 */

/* Import de la police Overpass */
@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300;400&display=swap');

/* Container principal du footer */
.urus-footer.footer-container {
    background: #EEEEEE;
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 20px;
    position: relative;
    font-family: 'Overpass', sans-serif;
}

.urus-footer .footer-content {
    background: #FFFFFF;
    border-radius: 5px;
    padding: 30px;
    width: 100%;
    max-width: 100%;
}

/* Section Newsletter */
.urus-footer .newsletter-section {
    /* margin-bottom: 30px; */
}

.urus-footer .newsletter-title {
    font-weight: 300;
    font-size: 12px;
    margin-bottom: 5px;
    color: #000000;
}

.urus-footer .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

/* Override styles for ps_emailsubscription */
.urus-footer .email-subscription {
    padding: 0;
    background: transparent;
}

.urus-footer .email-subscription .container {
    padding: 0;
    max-width: none;
}

.urus-footer .email-subscription__content {
    margin: 0;
}

.urus-footer .email-subscription__content .row {
    margin: 0;
}

.urus-footer .email-subscription__content__left,
.urus-footer .email-subscription__content__right {
    padding: 0;
}

.urus-footer .email-subscription__label {
    display: none;
    /* Masquer le label par défaut */
}

.urus-footer .email-subscription__content__inputs {
    display: flex;
    /* flex-direction: column; */
    /* gap: 10px; */
    margin: 0;
}

.urus-footer .email-subscription input[type="email"] {
    padding: 10px;
    border: none;
    border-bottom: 1px solid #000000;
    background: transparent;
    font-family: 'Overpass', sans-serif;
    outline: none;
    flex: 1;
    border-radius: 0;
    font-size: 12px;
    padding-left: 0px;
    padding-bottom: 0px;
}

.urus-footer .email-subscription input[type="submit"],
.urus-footer .email-subscription .btn {
    background: transparent;
    border: none;
    padding: 0px;
    font-family: 'Overpass', sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 22px;
    border-radius: 0;
    border-width: 0px;
    color: #000000;
    text-decoration: underline;
    padding-bottom: 0px;
}

.urus-footer .email-subscription input[type="submit"]:hover,
.urus-footer .email-subscription .btn:hover {
    background: #000000;
    color: #FFFFFF;
}

/* Liens du footer */
.urus-footer .footer-links {
    display: grid;
    /* gap: 25px; */
    /* margin-top: 30px; */
}

.urus-footer .link-section {
    display: flex;
    flex-direction: column;
    /* gap: 8px; */
}

.urus-footer .section-title {
    font-weight: 400;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.urus-footer .link-item {
    font-weight: 300;
    font-size: 12px;
    line-height: 15px;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.urus-footer .link-item:hover {
    color: #666;
    text-decoration: underline;
}

/* Override des styles pour ps_socialfollow */
.urus-footer .block-social {
    padding: 0;
    justify-content: flex-start;
    margin: 0;
}

.urus-footer .block-social a {
    margin: 0 10px 8px 0;
    font-size: 12px;
    line-height: 15px;
    color: #000000;
    transition: color 0.3s ease;
    text-decoration: none;
}

.urus-footer .block-social a:hover {
    color: #666;
}

.urus-footer .block-social svg {
    display: none;
    /* Masquer les icônes SVG */
}

/* Afficher les liens manuels si le module social n'est pas disponible */
.urus-footer .manual-social-links:not(.d-none) .link-item {
    display: block;
}


/* Logo du footer */
.urus-footer .footer-logo {
    display: flex;
    justify-content: center
}

.urus-footer .footer-logo a {
    display: flex;
    flex-direction: column;
}

.urus-footer .footer-logo img {
    max-width: 225px;
    height: auto;
}

/* Sélecteur de pays */
.urus-footer .country-selector {
    text-align: center;
    /* margin-top: 30px; */
    padding-top: 1.5%;
    border-top: 1px solid #eee;
}

.urus-footer .country-text {
    font-weight: 300;
    font-size: 12px;
    color: #000000;
}

/* Masquer les éléments de footer par défaut */
.urus-footer .footer__main__bottom .footer__block {
    display: none;
}

/* Media Queries pour le responsive */
@media (min-width: 480px) {
    .urus-footer .newsletter-form {
        flex-direction: row;
        align-items: flex-end;
        gap: 15px;
        width: 100%;
    }

    .urus-footer .email-subscription__content__inputs {
        flex-direction: row;
        align-items: flex-end;
        gap: 15px;
    }

    .urus-footer .email-subscription input[type="submit"],
    .urus-footer .email-subscription .btn {
        margin-top: 0;
    }
}

@media (min-width: 768px) {

    .urus-footer .newsletter-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

    .urus-footer .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .urus-footer .footer-content {
        padding: 40px;
    }
}

@media (min-width: 992px) {
    .urus-footer .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .urus-footer .footer-container {
        padding: 30px;
    }
}

@media (min-width: 1200px) {

    .urus-footer .newsletter-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .urus-footer .footer-content {
        padding: 50px;
    }
}

/* Styles spécifiques pour mobile */
@media (max-width: 479px) {
    .urus-footer.footer-container {
        padding: 10px;
    }

    .urus-footer .footer-content {
        padding: 20px;
    }

    .urus-footer .newsletter-title {
        font-size: 14px;
    }

    .urus-footer .email-subscription input[type="email"] {
        font-size: 12px;
        padding-left: 0px;
        padding-bottom: 0px;
    }
}

/* Override des styles ps_linklist si présents */
.urus-footer .footer__block {
    margin: 0;
    padding: 0;
}

.urus-footer .footer__block .footer__block__title {
    display: none;
}

.urus-footer .footer__block .footer__block__content {
    display: none;
}