*{
    font-family: 'Cairo', sans-serif;
    color: #555;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #555;
    font-family: 'Cairo', sans-serif;
}
h1 ,h2, h3{
    font-size: 25px;
    margin: 30px 0px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}
img{
    width: auto;
    max-height: 400px;
}

.Header-oi{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.btn-main{
    padding: 10;
    background-color: #ff4b5c;
    color: white;
    border-radius: 8px;
}
.container-header{
    width: 60%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.lopoa{
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
}

nav ul li a:hover {
    color: #ff4b5c;
}

.nav-link {
    color: #000;
}

.nav-link.active {
    font-weight: bold;
}

h2, h3 {
    font-weight: bold;
}

.share-article img {
    width: 24px;
    height: 24px;
}

.user-actions {
    display: flex;
    align-items: center;
}

.detail-Text{
    max-width: 800px;
}

.user-actions .user-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
}

.user-actions .notifications {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    cursor: pointer;
}

.card-content .card-button a{
    width: 200px;
    border: 1px solid #ff4b5c;
    padding: 10px;
    border-radius: 10px;
}

.user-actions .contact-us {
    padding: 10px;
    border: none;
    background-color: #ff4b5c;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}
.the-article h2{
    width: 100%; 
    text-align: center; 
    border-bottom: 1px solid #ddd; 
    line-height: 0.1em;
    margin: 10px 0 20px; 
}

.the-article span{
    background:#fff; 
    padding:0 10px; 
}

.user-actions .contact-us:hover {
    background-color: #0056b3;
}

header {
    background-color: #fff;
}

.header-content {
    text-align: center;
}

.header-content h1 {
    font-size: 1.7em;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 1em;
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    align-items: center;
}
.textHeader{
    text-align: right;
}

.textHeader:dir(ltr){
    text-align: left;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    .user-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 20px;
    }
    .textHeader{
        text-align: left;
        max-width: 100%;
    }
    .container-header{
        width: 100%;
    }
}

.search-bar input {
    padding: 10px;
    font-size: 1em;
    width: 60%;
    border: none;
    outline: none;
}

.search-bar button {
    padding: 10px 20px;
    font-size: 1em;
    border: 1px solid #ff4b5c;
    background-color: #ff4b5c;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    outline: none;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.categories button {
    padding: 5px 10px;
    margin: 5px;
    border: none;
    background-color: #f0f2f5;
    cursor: pointer;
    outline: none;
    border-radius: 20px;
}

.categories button:hover {
    background-color: #ff4b5c;
    color: #fff;
}


.featured-article {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    height: 280px;
    margin: 30px 0px;
    color: #ddd !important;
    border-radius: 10px;
    flex-direction: column;
    background: #00ccff5e;
    padding: 30px ;
    border-radius: 10px;
}

.the-pagination{
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination {
    display: inline-block;
    text-align: center;
    padding: 20px 0;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    margin: 0 4px;
    border-radius: 4px;
}

.pagination a.active {
    background-color: #ff4b5c;
    color: white;
    border: 1px solid #ff4b5c;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.pagination a:first-child,
.pagination a:last-child {
    background-color: #f0f0f0;
    border-radius: 50%;
    padding: 8px;
}


.featured-article h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.featured-article article {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured-article img {
    width: 100%;
    position: absolute;
    z-index: -1;
    max-height: 100%;
    opacity: 0.8;
    object-fit: cover;

}

.featured-article .article-content {
    text-align: right;
    max-width: 800px;
    color: #fff !important;
}
.magnfig:dir(ltr){
    text-align: left;
}

.featured-article .author {
    display: block;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #fff !important;

}

.featured-article h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.featured-article p {
    font-size: 0.8em;
    margin-bottom: 20px;
    color: #fff !important;


}

.featured-article a {
    color: #ff4b5c;
    text-decoration: none;
}

.articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.article-card {
    width: 30%;
    background-color: #fff;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.article-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 30px;
}

.header-Cover{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    display: flex;
    align-items: center;
}

.topBanner{
    border: 1px solid rgba(119, 119, 119, 0.333);
    padding: 40px;
    border-radius: 20px;
}

.card-content {
    align-items: center;
    padding: 20px;
    flex-direction: column;
    display: flex;
    justify-content: center;
    text-align: left;
}
.author{
    margin: 0;
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 40px;
    position: absolute;
    top: 230px;
    background-color: #fff;
}


.blog-detail-img{
    width: 100%;
    overflow: hidden;
    height: 300px;
    border-radius: 20px;
}
.blog-detail-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.card-content .author {
    font-size: 1.2em;
    object-fit: cover;
}

.article-card .user-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.card-content .author {
    font-size: 13px;
}

.card-content h3 {
    font-size: 1em;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.8em;
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
    width: 100%;
}

.card-content a {
    color: #ff4b5c;
    text-decoration: none;
}

footer {
    background-color: #fff;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    text-align: center;
}

footer h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

footer p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

footer form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

footer form input {
    padding: 10px;
    font-size: 1em;
    width: 60%;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    outline: none;
}

footer form button {
    padding: 10px 20px;
    font-size: 1em;
    border: 1px solid #ff4b5c;
    background-color: #ff4b5c;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    outline: none;
}

@media (max-width: 768px) {
    .search-bar input {
        width: 80%;
    }

    .articles {
        flex-direction: column;
        align-items: center;
    }

    .article-card {
        width: 100%;
    }
    .header-Cover{
        justify-content: center;
    }
}
