header li {
    font-family: 'Source Code Pro';
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.1rem;
}

h1, h2, h3, h4, header a {
    font-family: 'Montserrat';
    font-weight: bold;
}

p {
    font-family: 'Garamond';
}

p.texteArticle {
    line-height: 2.5;
    margin-top: 1.4rem;
}

.navbar-red {
    background-color: red;
}

ul.navbar-nav li a {
    color: white;
}

#BreakingNewImage {
    height: 60%;
    margin: 1rem auto;
    padding: 1rem 1rem 1rem 0;
}

article p {
    text-align: justify;
}

a.button-readmore {
    background-color: red;
    border: none;
}

.rowOtherArticles {
    margin-bottom: 1rem !important;
}

.navbar {
    position: relative;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navbarNav {
    margin-left: auto;
}

.nav-item {
    text-align: center;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    margin: 0 auto;

}

.search-container input {
    padding: 5px 10px;
}

.search-container button {
    margin-left: 5px;
    padding: 5px 10px;
    border: none;
    border-radius:0;
    cursor: pointer;
    background-color: white;
    color: red;
}

.search-container button:hover {
    background-color: transparent;
    border: 1px solid white;
}

.search-container input,
.search-container button {
    height: 38px;
    border-radius: 0;
}

.search-container form {
    display: flex;
    align-items: center; /* align input + button */
    margin: 0; /* remove extra spacing */
}

aside {
    background-color: rgba(243, 163, 163, 0.2);
    border: 1px solid rgb(243, 163, 163);
    padding: 1rem;
}

/* ✅ FIXED selector */
aside article > img {
    width: 40%;
    max-width: 120px;
    height: auto;
}

.row {
    align-items: flex-start;
}

.aside-title {
    color: rgb(200, 40, 40);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.autresArticles {
    padding: 1em;
    background: rgb(223, 71, 34);
    color: white;
    width: 100%;
}

.image-container {
    position: relative;
}

article > img.autreArticleImg {
    display: block;
    width: 100%;
    height: auto;
    margin: 1rem auto;
}
.image-container img {
    margin-bottom: 1rem;
}

.image-container:hover .hover-btn {
    opacity: 1;
}

.image-container:hover > .autreArticleImg {
    filter: brightness(70%);
}

.hover-btn {
    position: absolute;
    top: 29%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px 20px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

article > a.button-readmore {
    display: block;
    margin: 0 auto;
    max-width: 7rem;
    border-radius:0;
}

.footer-custom {
    background-color: #111;
    border-top: 4px solid rgb(243, 163, 163);
}

.footer-title {
    font-weight: 600;
    color: rgb(243, 163, 163);
    margin-bottom: 0.75rem;
}
footer ul {
    list-style: none;
    padding:0;
    margin:0;
}
footer section {
    margin-bottom:1rem;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
}

.footer-link:hover {
    color: red;
    text-decoration: underline;
}

.footer-social {
    font-size: 1.4rem;
    color: #ddd;
    transition: 0.2s;
}

.footer-social:hover {
    color: red;
}

.footer-divider {
    border-color: rgba(243, 163, 163, 0.4);
}

/* custom page */
.layout {
    display: flex;
}

aside.side-bar,
main.content {
    display: flex;
    flex-direction: column;
}

aside.sidebar-left form,
aside.sidebar-right form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

aside.sidebar-left form > *,
aside.sidebar-right form > * {
    width: 70%;
    margin-bottom: 1rem;
    box-sizing: border-box;
    height:100%;
}

aside.sidebar-left form > button,
aside.sidebar-right form > button {
    color:white;
    background-color:red;
    border:none;
}

aside.sidebar-left form > button:hover,
aside.sidebar-right form > button:hover {
    color:red;
    background-color:white;
    border:solid red;
}
