﻿/* --- LECTURES CONTAINER --- */
.lectures-container {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.section-header h2 {
    color: var(--text-color);
}

/* --- GRID LOGIK --- */
.services-grid-inner {
    display: grid;
    gap: 20px;
    width: 100%;
    grid-template-columns: 1fr;
    align-items: stretch;
}

/* --- KORTSTYLING --- */
.service-item {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 25px;
    border: 2px solid var(--nav-border);
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

    .service-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px var(--modal-shadow);
        border-color: var(--text-muted);
    }

    .service-item h3 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 12px;
        color: var(--text-color);
    }

    .service-item p {
        color: var(--text-color);
        opacity: 0.9;
    }

/* --- RESPONSIVITET --- */
@media (min-width: 768px) {
    .lectures-container, .section-header {
        align-items: flex-start;
        text-align: left;
    }

    .service-item {
        max-width: 650px;
        margin: 0;
    }
}

@media (min-width: 1100px) {
    .services-grid-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item {
        max-width: 500px;
    }
}

/* --- IKONER & SOCIALA LÄNKAR --- */
.icon-box {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .icon-box iconify-icon {
        font-size: 2.2rem;
        color: var(--text-color);
    }

.distansakademin-box {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--nav-border);
}

.da-text, .da-text strong {
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    font-size: 1.3rem;
}

    .social-links a {
        display: inline-block;
        color: var(--text-color);
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
    }

        .social-links a:hover {
            transform: translateY(-5px);
            opacity: 0.7;
            color: var(--text-color);
        }
