/* Styles for News Listing Page (aktualnosci.html) and Article Page (legal-growth-summit-i.html) */

.page-header {
    padding: 2.5rem 0; /* Slightly more padding */
    text-align: center;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 3rem; /* Slightly larger headline */
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem; /* More space */
}

.page-header p {
    font-size: 1.25rem; /* Slightly larger text */
    color: #64748b;
    max-width: 700px;
    margin: 0.5rem auto 0;
}


/* News Listing (aktualnosci.html) */
.news-section {
    padding: 2rem 0 4rem 0; /* More padding */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Allow multiple columns */
    gap: 2rem; /* Spacing between cards */
}

.news-card {
    background: white;
    border-radius: 12px;
    /* Remove border: 1px solid #e2e8f0; for a cleaner look */
    margin-bottom: 0; /* No bottom margin when using grid gap */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Softer initial shadow */
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; /* Make card content take full height */
    flex-direction: column;
    justify-content: space-between;
}

.news-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1); /* Deeper shadow on hover */
    transform: translateY(-8px); /* More pronounced lift */
}

.news-card-content {
    padding: 2.5rem; /* More padding for "breathing room" */
    flex-grow: 1; /* Allow content to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-title {
    font-size: 1.6rem; /* Slightly smaller for refinement */
    color: #1e293b;
    margin-bottom: 0.8rem;
    line-height: 1.4; /* Better readability */
    font-weight: 600; /* Make titles bolder */
}

.news-card-excerpt {
    font-size: 1rem; /* Slightly smaller for elegance */
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7; /* Improved readability */
    flex-grow: 1; /* Allow excerpt to take available space */
}

.news-card-read-more {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex; /* Align arrow */
    align-items: center;
    gap: 0.5rem;
}

.news-card-read-more:hover {
    color: #0284c7;
    transform: translateX(5px); /* Subtle slide effect */
}

/* Article Page (legal-growth-summit-i.html) */
.article-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 3rem; /* More padding */
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05); /* Softer shadow */
}
.article-header {
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}
.article-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    line-height: 1.2;
    font-weight: 700; /* Make article titles bolder */
}
.article-meta {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
    font-style: italic; /* Italicize date */
}
.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}
.article-content h2 {
    font-size: 2rem; /* Slightly larger for headings */
    color: #1e293b;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9; /* Subtle underline */
}
.article-content strong {
    color: #0ea5e9;
    font-weight: 600;
}
.article-content .cta-section {
    text-align: center;
    margin: 3rem 0 2rem;
    padding: 2.5rem; /* More padding */
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0; /* Subtle border */
}
.article-content .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #059669 0%, #047857 100%); /* Dark green gradient */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.article-content .cta-button:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%); /* Darker green gradient on hover */
    transform: translateY(-2px);
}
.back-link-container {
    margin-top: 3rem;
    text-align: center; /* Center back link */
}
.back-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex; /* Align arrow */
    align-items: center;
    gap: 0.5rem;
}
.back-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    .page-header p {
        font-size: 1.1rem;
    }
    .news-section {
        grid-template-columns: 1fr; /* Single column on mobile */
        padding: 1rem 1rem 3rem 1rem; /* Adjust padding */
    }
    .news-card-title {
        font-size: 1.4rem;
    }
    .news-card-excerpt {
        font-size: 0.9rem;
    }
    .news-card-content {
        padding: 1.5rem;
    }
    .article-container {
        padding: 1.5rem;
        margin: 1.5rem auto; /* Adjust margin */
    }
    .article-header h1 {
        font-size: 2rem;
    }
    .article-content h2 {
        font-size: 1.6rem;
    }
    .article-content .cta-section {
        padding: 1.5rem;
    }
}