

@media (max-width: 767px) {

    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.02em !important;
    }

    .filter-tags {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .filter-tags a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.25rem;
        width: 100%;
        text-align: center;
        max-width: 200px;
    }

    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .post-image {
        height: 12rem !important;
    }

    .post-title {
        font-size: 1.25rem !important;
        line-height: 1.4 !important;
    }

    .post-excerpt {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pagination a {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

    .hero-title {
        font-size: 3.5rem !important;
        line-height: 1.1 !important;
    }

    .filter-tags {
        gap: 1.5rem;
    }

    .filter-tags a {
        font-size: 1rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2.5rem 1.5rem !important;
    }

    .post-image {
        height: 14rem !important;
    }

    .post-title {
        font-size: 1.375rem !important;
    }
}

@media (min-width: 1024px) {

    .hero-section {
        padding-top: 12rem !important;
        padding-bottom: 12rem !important;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3.75rem 1.75rem !important;
    }

    .post-image {
        height: 20rem !important;
    }
}

@media (min-width: 1440px) {

    .container {
        max-width: 1440px !important;
    }

    .hero-section {
        padding-top: 207px !important;
        padding-bottom: 207px !important;
    }

    .news-grid {
        gap: 60px 28px !important;
    }
}

.word-wrap {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.text-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.transition-colors {
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.hover-lift {
    transition: transform 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.focus-visible {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}