/* Polices de caractères */
body {

    font-size: 16px;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Navigation */
nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}



/* Cartes d'articles */
.card {
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-text {
    margin-bottom: 1rem;
}

/* Bouton Lire la suite */
.btn-primary {
    background-color: #002060;
    border: none;
}

.btn-primary:hover {
    background-color: #072665;
}

.stretched-link::before {
    display: none;
}

/* Grilles de cartes */
.row {
    margin: 0 -16px;
}

.col {
    padding: 0 16px;
}

@media (min-width: 768px) {
    .row-cols-md-2 > .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .row-cols-lg-3 > .col {
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
}


.search {
    color:  rgba(255,255,255,.55);
}

.search:hover {
    color: whitesmoke;
    background-color: #b70000;
}


.fit-content{
    width: fit-content;
}


.new-article::after {
    border-bottom-left-radius: 5px;
    content: "New";
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    background-color: #d9a38fea;
    color: white;
    font-weight: lighter;
  }

.virageBorder{
    border: 3px solid #CC9933
}

.podcastBorder{
    border: 3px solid #DA291C
}

.selected{
    color:#002060 !important;
    font-weight: 600 !important;
}