/* ── Article index (artykuly.html) ── */

.articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
}

.article-card {
    background: #fff;
    border: 1px solid #e8d5c0;
    border-radius: 4px;
    padding: 40px 36px 36px;
    width: calc(50% - 20px);
    box-sizing: border-box;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

.article-card:hover {
    box-shadow: 0 8px 32px rgba(96, 56, 37, 0.12);
    transform: translateY(-3px);
}

.article-card-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

.article-card-number {
    font-family: 'Prata', serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c48330;
    margin-bottom: 18px;
    display: block;
}

.article-card-title {
    font-family: 'Prata', serif;
    font-size: 20px;
    line-height: 1.45;
    color: #603825;
    margin-bottom: 16px;
}

.article-card-excerpt {
    font-family: 'Lora', serif;
    font-size: 15px;
    line-height: 1.75;
    color: #7a5c4a;
    margin-bottom: 28px;
}

.article-card-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c48330;
    text-decoration: none;
    border-bottom: 1px solid #f4c47e;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.article-card-link:hover {
    color: #603825;
    border-color: #603825;
}

.articles-section-intro {
    font-family: 'Lora', serif;
    font-size: 17px;
    line-height: 1.8;
    color: #7a5c4a;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

@media (max-width: 768px) {
    .article-card {
        width: 100%;
    }
}

/* ── Individual article pages ── */

.article-body {
    max-width: 720px;
    margin: 0 auto;
}

.article-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c48330;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-meta::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8d5c0;
}

.article-headline {
    font-family: 'Prata', serif;
    font-size: 34px;
    line-height: 1.35;
    color: #603825;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8d5c0;
}

.article-lead {
    font-family: 'Lora', serif;
    font-size: 19px;
    line-height: 1.85;
    color: #5a4030;
    margin-bottom: 40px;
    font-style: italic;
}

.article-body p {
    font-family: 'Lora', serif;
    font-size: 17px;
    line-height: 1.9;
    color: #3d2a1e;
    margin-bottom: 24px;
}

.article-body h2 {
    font-family: 'Prata', serif;
    font-size: 22px;
    line-height: 1.4;
    color: #603825;
    margin-top: 52px;
    margin-bottom: 20px;
}

.article-body strong {
    color: #603825;
}

.article-question {
    font-family: 'Prata', serif;
    font-size: 20px;
    line-height: 1.5;
    color: #c48330;
    font-style: italic;
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #e8d5c0;
    border-bottom: 1px solid #e8d5c0;
    margin: 40px 0;
}

.article-cta {
    background: #f7eadb;
    border-radius: 4px;
    padding: 40px 44px;
    margin-top: 60px;
    text-align: center;
}

.article-cta p {
    font-family: 'Lora', serif;
    font-size: 17px;
    line-height: 1.8;
    color: #603825;
    margin-bottom: 28px;
}

.article-back-link {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c48330;
    text-decoration: none;
    border-bottom: 1px solid #f4c47e;
    padding-bottom: 2px;
    margin-bottom: 60px;
    transition: color 0.2s, border-color 0.2s;
}

.article-back-link:hover {
    color: #603825;
    border-color: #603825;
}

.article-back-link::before {
    content: '← ';
}

@media (max-width: 768px) {
    .article-headline {
        font-size: 24px;
    }

    .article-lead {
        font-size: 17px;
    }

    .article-body p {
        font-size: 16px;
    }

    .article-cta {
        padding: 28px 24px;
    }
}
