/* Wspólne style podstron programów: O Biznesie Przy Kawie, Szkolenia */

/* Opis projektu */
.prog-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #1e293b;
    margin-bottom: 2.5rem;
}

.prog-subheading {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.prog-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #374151;
}

.prog-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 0.75rem;
    height: 2px;
    background: #8B1538;
}

.prog-aside {
    padding-left: 2rem;
    border-left: 1px solid #cbd5e1;
    color: #374151;
    line-height: 1.7;
}

.prog-aside p + p,
.prog-aside ul + p {
    margin-top: 1rem;
}

@media (max-width: 1023px) {
    .prog-aside {
        padding-left: 0;
        padding-top: 2rem;
        border-left: 0;
        border-top: 1px solid #cbd5e1;
    }
}

/* Nagłówki sekcji */
.prog-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.prog-heading {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
}

.prog-more {
    color: #8B1538;
    font-weight: 600;
}

.prog-more:hover,
.group:hover .prog-more {
    text-decoration: underline;
}

/* Spotkania - jak na stronie głównej */
.event-item {
    display: block;
    padding-top: 1.25rem;
    border-top: 1px solid #cbd5e1;
}

.event-item-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.event-item-date::first-letter {
    text-transform: uppercase;
}

.event-item-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.event-item:hover .event-item-title {
    color: #8B1538;
}

.event-item-excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Aktualności */
.prog-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.prog-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.prog-featured {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .prog-featured {
        grid-template-columns: 1fr 1fr;
    }
}

.prog-image {
    overflow: hidden;
    border-radius: 0.5rem;
    background: #e5e7eb;
}

.prog-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.prog-card {
    display: block;
}

.prog-featured-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1e293b;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.prog-card-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1e293b;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.group:hover .prog-featured-title,
.group:hover .prog-card-title {
    color: #8B1538;
}

/* Archiwum - prosta lista z datą */
.prog-archive-item {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.prog-archive-item:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.prog-archive-date {
    font-size: 0.875rem;
    color: #6b7280;
    padding-top: 0.125rem;
}

.prog-archive-title {
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s ease;
}

.prog-archive-item:hover .prog-archive-title {
    color: #8B1538;
}

.prog-archive-excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 639px) {
    .prog-archive-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

.prog-heading-note {
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Nagłówek strony bez banera (np. oferty pracy) */
.prog-page-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.prog-page-lead {
    font-size: 1.125rem;
    color: #4b5563;
}

/* Oferty pracy - lista ogłoszeń */
.job-item {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
}

.job-item:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.job-item-date {
    font-size: 0.875rem;
    color: #6b7280;
    padding-top: 0.25rem;
}

.job-item-body {
    display: block;
}

.job-item-title {
    display: block;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1e293b;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.job-item:hover .job-item-title {
    color: #8B1538;
}

.job-item-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.job-item-more {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #8B1538;
}

.job-item:hover .job-item-more {
    text-decoration: underline;
}

@media (max-width: 639px) {
    .job-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

.job-empty {
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    line-height: 1.6;
}

.job-empty p {
    margin-bottom: 1rem;
}

.job-legal {
    margin-top: 3rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b7280;
}
