.download-material-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f5f8fc 0%, #eef5f8 56%, #fff 100%);
    padding: 86px 16px 118px;
}

.download-material-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 88px;
    background: #0b6f86;
    clip-path: polygon(0 28%, 12% 38%, 25% 30%, 40% 42%, 55% 33%, 70% 41%, 85% 30%, 100% 36%, 100% 100%, 0 100%);
}

.download-material-card {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 34px 30px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(214, 227, 239, 0.78);
    border-radius: 16px;
    box-shadow: 0 24px 62px rgba(16, 42, 67, 0.12);
}

.download-material-head {
    text-align: center;
    margin-bottom: 24px;
}

.download-material-head h2 {
    margin: 0 0 7px;
    color: #06142a;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
}

.download-material-head p {
    margin: 0;
    color: #526579;
    font-size: 15px;
    line-height: 1.5;
}

.download-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f7fbfd;
    border: 1px solid #dce8f2;
}

.download-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    color: #6b7e91;
    font-size: 14px;
    font-weight: 800;
}

.download-breadcrumbs a {
    color: #0b4964;
    text-decoration: none;
}

.download-breadcrumbs strong {
    color: #06142a;
}

.download-back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #fff;
    background: #043c57;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.download-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.download-section-title.with-gap {
    margin-top: 26px;
}

.download-section-title h3 {
    margin: 0;
    color: #06142a;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 900;
}

.download-section-title span {
    color: #7d8da0;
    font-size: 13px;
    font-weight: 800;
}

.download-folder-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.download-folder-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 86px;
    padding: 16px;
    border: 1px solid #d7e4f0;
    border-radius: 12px;
    color: #06142a;
    text-decoration: none;
    background: linear-gradient(180deg, #fff 0%, #f9fcff 100%);
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.05);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.download-folder-item:hover {
    color: #06142a;
    border-color: #0b6f86;
    box-shadow: 0 16px 32px rgba(16, 42, 67, 0.11);
    transform: translateY(-2px);
}

.download-folder-icon {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 32px;
    border-radius: 7px;
    background: #f2b632;
    box-shadow: inset 0 -8px 0 rgba(141, 93, 5, 0.12);
}

.download-folder-icon::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 5px;
    width: 19px;
    height: 10px;
    border-radius: 5px 5px 0 0;
    background: #ffd36b;
}

.download-folder-text {
    min-width: 0;
}

.download-folder-text strong {
    display: block;
    color: #06142a;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.download-folder-text small {
    display: block;
    margin-top: 5px;
    color: #607487;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.download-file-list {
    display: grid;
    gap: 11px;
}

.download-file-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    padding: 12px 13px;
    border: 1px solid #dce5f2;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 42, 67, 0.04);
}

.download-file-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 36px;
    border-radius: 9px;
    background: #eef6f8;
    color: #0b6f86;
    font-size: 11px;
    font-weight: 900;
}

.download-file-info {
    min-width: 0;
}

.download-file-info strong {
    display: block;
    color: #06142a;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.download-file-info span {
    display: block;
    margin-top: 4px;
    color: #456482;
    font-size: 12px;
    line-height: 1.3;
}

.download-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: 38px;
    padding: 9px 15px;
    border-radius: 9px;
    background: #2f62e9;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 9px 18px rgba(47, 98, 233, 0.2);
}

.download-button:hover {
    color: #fff;
    background: #214ed1;
}

.download-empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed #cbd9e6;
    border-radius: 11px;
    color: #607487;
    text-align: center;
    background: #f9fcff;
    font-weight: 800;
}

@media (max-width: 900px) {
    .download-folder-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .download-material-section {
        padding: 42px 12px 86px;
    }

    .download-material-card {
        padding: 24px 16px;
        border-radius: 13px;
    }

    .download-material-head h2 {
        font-size: 27px;
    }

    .download-toolbar,
    .download-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-folder-grid {
        grid-template-columns: 1fr;
    }

    .download-file-item {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .download-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}
