/* ========================================
   INDEX - ACTIVITIES SECTION
   ======================================== */

.school-activities,
.activities-section {
    width: min(1200px, calc(100% - 32px));
    margin: 24px auto 0;
}

.activities-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.activities-column {
    padding: 0 20px;
}

.activities-column-divider {
    background: #e5e7eb;
}

.act-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.activities-title {
    font-size: 1.25rem;
    color: #111827;
}

.activities-divider {
    height: 1px;
    margin: 16px 0;
    background: #e5e7eb;
}

.act-inline-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}

.act-inline-editor {
    min-height: 220px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
}

.act-edit-trigger,
.act-tool-btn,
.act-cancel-btn,
.act-save-btn,
.act-fontsize-trigger {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    min-height: 40px;
    padding: 8px 12px;
}

.activities-list {
    display: grid;
    gap: 12px;
    padding-left: 20px;
    color: #374151;
}

.activities-list li {
    line-height: 1.7;
}

.activities-list a {
    color: #111827;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .school-activities,
    .activities-section {
        width: min(100%, calc(100% - 20px));
    }

    .activities-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
        border-radius: 16px;
    }

    .activities-column {
        padding: 0;
    }

    .activities-column-divider {
        width: 100%;
        height: 1px;
        margin: 20px 0;
    }
}

@media (max-width: 640px) {
    .act-col-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
