@import url("https://fonts.googleapis.com/css?family=Hind:300,400&display=swap");


/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}




/* Main content layout */
.content-wrapper {
    display: flex !important;
    gap: 30px !important;
    /* added by team */
    padding-top: 100px !important;
}

.content-section {
    flex: 1 !important;
    background-color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    padding: 25px !important;
}

.section-header {
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #4d9de0 !important;
}

.section-title {
    font-size: 24px !important;
    color: #333 !important;
    display: flex;
    justify-content: center;
}

/* Article and news item styles */
.article-item,
.news-item {
    padding: 20px 0 !important;
    border-bottom: 1px solid #eee !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-item:last-child,
.news-item:last-child {
    border-bottom: none !important;
}

/* To display 2 articles in a row */
#articles-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

/* Handle responsiveness */
@media (max-width: 768px) {
    #articles-container {
        grid-template-columns: 1fr !important;
    }
}


.article-item {
    border: 1px solid #4d9de0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    padding: 20px !important;
    background-color: #fff !important; /* #eff0f5 */

    /* Apply the zoom & box-shadow effects smoothly */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* zoom effect and make article visually "lift" off the page on hover */
.article-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


.item-title {
    font-size: 25px !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}

.item-meta {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #777 !important;
    margin-bottom: 10px !important;
}

.author {
    margin-right: 15px !important;
}

.date {
    color: #999 !important;
}

.item-excerpt {
    margin-bottom: 15px !important;
    color: #555 !important;
}

/* article item image style*/
.article-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
    object-fit: cover;
    max-height: 200px; /* Optional: limit image height */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}


/* .read-more {
    display: inline-block !important;
    padding: 8px 16px !important;
    background-color: #4d9de0 !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
    transition: background-color 0.3s ease !important;
} */

/* --- Read More button --- */
.read-more {
    padding: 17px 30px;
    border: 1px solid #eee;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    margin: 30px 2px 0;
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s;
    margin-top: auto !important;
    align-self: start;
}

.read-more:after {
    content: '';
    width: 0;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 100%;
    z-index: 1;

    background: #3a89cc8f;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.read-more:hover {
    border-color: #3a89cc;
    color: #000000;
    border-radius: 4px;
}

.read-more:hover:after {
    width: 100%;
    left: 0;
    -webkit-transition: width 0.3s ease;
    transition: width 0.3s ease;
}



/* -- */
/* .read-more:hover {
    background-color: #3a89cc !important;
} */


/* .copyright {
    text-align: center !important;
    padding-top: 20px !important;
    margin-top: 20px !important;
    border-top: 1px solid #444 !important;
    color: #999 !important;
} */

/* Responsive styles */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column !important;
    }

    .header-content {
        flex-direction: column !important;
        text-align: center !important;
    }
}