/* News Page Styles */
.news-wrapper {
    padding-top: 80px; /* Ana header'ın yüksekliği kadar padding */
}

.news-header {
    /* background: linear-gradient(135deg, var(--selcuk-blue) 0%, var(--selcuk-blue-hover) 100%); */
    padding: 3rem 0;
    color: #fff;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: var(--selcuk-blue);
}

    .news-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    }

.news-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
}

.news-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.news-header__subtitle {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

.news-grid {
    background-color: #f8f9fa;
    padding: 3rem 1rem;
    min-height: 60vh;
}

.news-grid__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.news-grid__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

    .news-card:hover {
        transform: translateY(-5px);
        /* box-shadow: 0 20px 25px -5px rgba(28, 69, 139, 0.1), 0 10px 10px -5px rgba(28, 69, 139, 0.04); */
    }

.news-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.news-card__content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card__image-wrapper {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background-color: #f8f9fa;
}

.news-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(28, 69, 139, 0.9);
    color: #fff;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover .news-card__badge {
    background: var(--selcuk-blue-hover);
    transform: scale(1.1) rotate(10deg);
}

.news-card__body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-card__date {
    font-size: 0.875rem;
    color: #666;
}

.news-card__category {
    font-size: 0.875rem;
    color: var(--selcuk-blue);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background-color: rgba(28, 69, 139, 0.1);
    border-radius: 20px;
}

.news-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-card__title {
    color: var(--selcuk-blue);
}

.news-card__description {
    font-size: 1rem;
    color: #666;
    margin: 0 0 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__action {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(28, 69, 139, 0.1);
}

.news-card__read-more {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--selcuk-blue);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .news-card__read-more::after {
        content: '→';
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

.news-card:hover .news-card__read-more::after {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .news-grid__row {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-header__title {
        font-size: 2.25rem;
    }
}

@media (max-width: 992px) {
    .news-grid__row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-wrapper {
        padding-top: 60px;
    }

    .news-header {
        padding: 2rem 0;
    }

    .news-header__title {
        font-size: 1.75rem;
    }

    .news-grid {
        padding: 2rem 1rem;
    }

    .news-grid__row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-card__body {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .news-header__title {
        font-size: 1.5rem;
    }

    .news-header__subtitle {
        font-size: 1rem;
    }

    .news-card__body {
        padding: 1.25rem;
    }

    .news-card__title {
        font-size: 1.25rem;
    }

    .news-card__description {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
    }

    .news-card__badge {
        width: 35px;
        height: 35px;
    }
}

/* Print Styles */
@media print {
    .news-wrapper {
        padding-top: 0;
    }

    .news-header {
        background: none;
        color: var(--selcuk-blue);
        padding: 1rem 0;
    }

    .news-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .news-card__badge {
        display: none;
    }

    .news-card__category,
    .news-card__read-more {
        color: var(--selcuk-blue);
    }
}
