/* =========================================================
   HOME CONTENT SECTION
   ========================================================= */

.home-content-section {
    width: 100%;

    margin: 0;
    padding: 0;

    font-family: "Segoe UI", Arial, sans-serif;

    box-sizing: border-box;
    margin-top: 15px;
}


/* =========================================================
   MAIN GRID
   ========================================================= */

.home-content-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 52%)
        minmax(0, 24%)
        minmax(0, 24%);

    gap: 0;

    align-items: start;

    box-sizing: border-box;
}


/* =========================================================
   COLUMNS
   ========================================================= */

.home-announcements-column,
.home-downloads-column,
.home-student-column {
    min-width: 0;

    box-sizing: border-box;
}


.home-announcements-column {
    padding-right: 14px;
    text-align: left;
}


.home-downloads-column {
    padding: 0 14px;

    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}


.home-student-column {
    padding-left: 14px;
}


/* =========================================================
   EMPTY ANNOUNCEMENT CARD
   ========================================================= */

.home-empty-card {
    width: 100%;
    min-height: 140px;

    display: flex;
    align-items: center;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    box-sizing: border-box;
}


.home-empty-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-right: 14px;

    color: #1e3a8a;

    background: #eff6ff;

    border: 1px solid #dbeafe;

    border-radius: 6px;

    font-size: 16px;
}


.home-empty-content {
    min-width: 0;

    text-align: left;
}


.home-empty-content h3 {
    margin: 0 0 5px;

    color: #1e3a8a;

    font-size: 14px;
    font-weight: 700;
}


.home-empty-content p {
    margin: 0;

    color: #64748b;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   STUDENT MATTERS
   ========================================================= */

.student-matters-section {
    width: 100%;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    overflow: hidden;

    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.student-matters-header {
    width: 100%;
    min-height: 46px;

    display: flex;
    align-items: center;

    padding: 0 15px;

    background: #f8fafc;

    border-bottom: 1px solid #e2e8f0;

    box-sizing: border-box;
}


.student-matters-title-wrapper {
    display: flex;
    align-items: center;

    gap: 9px;

    min-width: 0;
}


.student-matters-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #1e3a8a;

    background: #eff6ff;

    border: 1px solid #dbeafe;

    border-radius: 6px;

    font-size: 13px;
}


.student-matters-title {
    margin: 0;

    color: #1e3a8a;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.2;

    text-transform: uppercase;
}


.student-matters-title span {
    color: #dc2626;

    font-style: italic;
}


/* =========================================================
   LINKS
   ========================================================= */

.student-matters-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 0;
}


.student-matter-link {
    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 7px 12px;

    color: #334155;

    background: #ffffff;

    border-bottom: 1px solid #f1f5f9;

    font-size: 11px;
    font-weight: 500;

    line-height: 1.35;

    text-align: left;

    text-decoration: none;

    box-sizing: border-box;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        padding-left 0.2s ease;
}


.student-matter-link:last-child {
    border-bottom: 0;
}


.student-matter-link:hover {
    color: #1e3a8a;

    background: #f8fafc;

    padding-left: 16px;
}


/* =========================================================
   LINK ICON
   ========================================================= */

.student-matter-icon {
    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #1e3a8a;

    background: #eff6ff;

    border-radius: 4px;

    font-size: 9px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.student-matter-link:hover .student-matter-icon {
    color: #ffffff;

    background: #1e3a8a;
}


/* =========================================================
   TEXT
   ========================================================= */

.student-matter-text {
    flex: 1;

    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    text-align: left;
}


/* =========================================================
   ARROW
   ========================================================= */

.student-matter-arrow {
    flex: 0 0 auto;

    color: #94a3b8;

    font-size: 8px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.student-matter-link:hover .student-matter-arrow {
    color: #1e3a8a;

    transform: translateX(3px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .home-content-grid {
        grid-template-columns:
            minmax(0, 60%)
            minmax(0, 40%);
    }


    .home-student-column {
        grid-column: 1 / -1;

        padding: 20px 0 0;

        margin-top: 20px;

        border-top: 1px solid #e2e8f0;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .home-content-grid {
        display: flex;

        flex-direction: column;

        gap: 20px;
    }


    .home-announcements-column,
    .home-downloads-column,
    .home-student-column {
        width: 100%;

        padding: 0;

        border: 0;
    }


    .home-downloads-column,
    .home-student-column {
        padding-top: 20px;

        border-top: 1px solid #e2e8f0;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .home-empty-card {
        min-height: 110px;

        padding: 15px;
    }


    .home-empty-icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        margin-right: 10px;

        font-size: 14px;
    }


    .home-empty-content h3 {
        font-size: 12px;
    }


    .home-empty-content p {
        font-size: 10px;
    }


    .student-matters-header {
        min-height: 44px;

        padding: 0 10px;
    }


    .student-matters-icon {
        width: 27px;
        height: 27px;

        flex-basis: 27px;

        font-size: 11px;
    }


    .student-matters-title {
        font-size: 12px;
    }


    .student-matter-link {
        min-height: 40px;

        padding: 6px 10px;

        font-size: 10.5px;
    }

}