/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Styles généraux */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h2 {
    font-size: 1.8em;
    color: #333333;
    margin: 1.5em 0 1em 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #FFD700;
    display: inline-block;
}

/* En-tête */
header {
    background-color: #FFFFFF;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

header h1 {
    font-family: 'English Towne', serif;
    font-size: 2.5em;
    margin: 0;
}

/* Navigation principale */
.navbar {
    background-color: #FFFFFF;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.navbar-brand {
    font-family: 'English Towne', serif;
    font-size: 2.5em;
    color: #000000;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.navbar-subtitle {
    font-size: 1.2em;
    color: #666666;
    text-align: center;
    margin: 0;
}

.header-container {
    text-align: center;
    width: 100%;
}

.btn-warning {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #000000;
}

.btn-warning:hover {
    background-color: #FFC107;
    border-color: #FFC107;
    color: #000000;
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block;
    }
    
    
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}

/* Contenu principal */
main {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

article {
    flex: 3;
}

article h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

article h2 {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 20px;
}

article img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

blockquote {
    border-left: 4px solid #ccc;
    margin: 1.5em 0;
    padding: 0.5em 1em;
    background-color: #f9f9f9;
    font-style: italic;
}

blockquote p {
    margin: 0;
}

/* Barre latérale */
aside {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    margin-top: 20px;
}

aside h3 {
    border-bottom: 2px solid #FFD700;
    /* Ligne de séparation jaune */
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Pied de page */
footer {
    background-color: #FFFFFF;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

/* Responsive */
@media (min-width: 768px) {
    main {
        flex-direction: row;
    }

    aside {
        margin-left: 20px;
        margin-top: 0;
    }
}

/* Styles pour la note du titre */
.title-score {
    font-size: 1.1em;
    padding: 0.5em 0.8em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.title-score.bg-danger {
    background-color: #dc3545 !important;
}

.title-score.bg-warning {
    background-color: #ffc107 !important;
}

.title-score.bg-success {
    background-color: #198754 !important;
}

.title-score:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.title-score i {
    margin-right: 0.3em;
}

/* Styles pour les articles suggérés */
.suggested-articles {
    padding: 2rem 0;
    border-top: 1px solid #eee;
}

.suggested-articles h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.suggested-articles .card {
    transition: transform 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.suggested-articles .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.suggested-articles .card-img-top {
    border-radius: 0;
    height: 200px;
    object-fit: cover;
}

.suggested-articles .card-body {
    padding: 1rem;
}

.suggested-articles .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .suggested-articles {
        padding: 1rem 0;
    }
    
    .suggested-articles .card-img-top {
        height: 150px !important;
    }
    
    .suggested-articles .card-title {
        font-size: 1rem;
    }
} 