/*------------------------ News catalogue styling ------------------------*/
.news-card
{
	margin: 4rem 0;
}

.news-card .featured-image
{
	border-radius: 6px;
}

.news-card > a
{
	text-decoration: none;
	color: var(--third-color);
}

.news-card p a
{
	text-decoration: none;
}
/*------------------------ News catalogue styling ------------------------*/

/* News Section Styles */
.news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

.section-subtitle {
    color: #636e72;
    font-size: 1.1rem;
}

.news-catalogue {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #636e72;
}

.news-meta a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-meta a:hover {
    color: #c0392b;
}

.news-title {
    font-size: 1.4rem;
    color: #2d3436;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.news-excerpt {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more ion-icon {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #c0392b;
}

.read-more:hover ion-icon {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .news-catalogue {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.news-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3) {
    animation-delay: 0.4s;
}

.news-card:nth-child(4) {
    animation-delay: 0.6s;
}

/*---------------------------------------------------------------------------------*/
/*------------------------------- Desktop screen styling --------------------------*/
/*---------------------------------------------------------------------------------*/
@media screen and (min-width: 789px)
{
	.news-catalogue
	{
		display: grid;
		grid-template-rows: repeat(2, 1fr);
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}