/* Hero heading - smaller (matching kalendarz/lista-graczy) */
.hero h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

/* News Grid - Benchmark Style (from main page) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-sm) 0 var(--spacing-xl);
}

.news-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
    color: var(--color-text-primary) !important;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-decoration: none !important;
}

.news-card h3,
.news-card p {
    color: var(--color-text-primary);
}

.news-card .news-date {
    color: var(--color-text-secondary);
}

.news-image-placeholder {
    width: 100%;
    height: 240px;
    background: var(--color-text-primary);
    position: relative;
}

.news-image {
    width: 100%;
    height: 240px;
    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-card h3 {
    color: var(--color-text-primary);
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    line-height: 1.3;
    /* 3 lines (1.05rem * 1.3 * 3 = 4.095rem) + padding 2rem */
    min-height: 6.095rem;
}

.news-date {
    color: var(--color-text-secondary);
    padding: 0 1.5rem;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    opacity: 0.7;
}

.news-excerpt {
    padding: 0.5rem 1.5rem 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    /* 4 lines (0.9rem * 1.6 * 4 = 5.76rem) + padding 2rem */
    min-height: 7.76rem;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin: var(--spacing-lg) 0;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #711517;
    color: var(--color-bg-primary);
    padding: 0.9rem 1.2rem 0.9rem 1.8rem;
    border-radius: 9999px;
    border: none;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    font-family: inherit;
}

.load-more-btn::after {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-bg-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23711517' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.load-more-btn:hover {
    background-color: var(--color-text-primary);
    color: var(--color-bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.load-more-btn:hover::after {
    transform: translateX(4px);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
}

.load-more-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.load-more-btn.loading::after {
    content: '';
    width: 36px;
    height: 36px;
    border: 3px solid rgba(113, 21, 23, 0.3);
    border-top-color: #711517;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Instagram CTA Card */
.news-cta-card {
    background: var(--color-accent);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-cta-card:hover {
    box-shadow: 0 8px 24px rgba(113, 21, 23, 0.3);
}

.news-cta-content {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--color-bg-primary);
}

.news-cta-content svg {
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
}

.news-cta-card h3 {
    color: var(--color-bg-primary);
    padding: 0;
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.news-cta-card p {
    color: rgba(255, 255, 255, 0.8);
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.news-cta-handle {
    display: inline-block;
    margin-top: var(--spacing-md);
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--color-bg-primary);
    font-weight: var(--font-weight-medium);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        margin: var(--spacing-sm) 0;
    }

    .news-card h3 {
        font-size: 1.15rem;
        padding: 1.5rem 1.5rem 0.5rem;
    }

    .news-date {
        padding: 0 1.5rem;
        font-size: 0.85rem;
    }

    .news-excerpt {
        padding: 0.5rem 1.5rem 1.5rem;
        font-size: 0.9rem;
    }
}
