/* =========================================================
   DOWNLOAD PAGE
========================================================= */

.download-page {
    background: #fff;
    padding: 20px 0 35px;
}


/* =========================================================
   DOWNLOAD MAIN BOX
========================================================= */

.download-listing {
    background: #fff;
    border: 1px solid #e1eee9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   DOWNLOAD HEADER
========================================================= */

.download-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 18px;
    background: linear-gradient(
        135deg,
        #f2fbf6 0%,
        #e6f6ee 100%
    );
    border-bottom: 1px solid #dcece5;
}

.download-header-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a9b5c;
    color: #fff;
    border-radius: 8px;
    font-size: 18px;
    box-shadow: 0 3px 8px rgba(10, 155, 92, 0.20);
}

.download-header h1 {
    margin: 0;
    color: #006d46;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.download-header h1:after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    margin-top: 5px;
    background: #30d87b;
    border-radius: 3px;
}

.download-header p {
    margin: 4px 0 0;
    color: #7b8e88;
    font-size: 12px;
}


/* =========================================================
   DOWNLOAD ITEMS
========================================================= */

.download-items {
    padding: 8px;
    background: #fbfdfc;
}

.download-item {
    display: flex;
    align-items: center;
    min-height: 72px;
    margin-bottom: 8px;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid #e6efeb;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.download-item:last-child {
    margin-bottom: 0;
}

.download-item:hover {
    border-color: #bfe4d2;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
}


/* File Icon */

.download-file-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    background: #edf9f3;
    color: #0a9b5c;
    border-radius: 7px;
    font-size: 17px;
}


/* File Information */

.download-file-info {
    flex: 1;
    min-width: 0;
}

.download-file-info h3 {
    margin: 0 0 4px;
    color: #006d46;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.download-file-info span {
    color: #91a19c;
    font-size: 10px;
}

.download-file-info span i {
    margin-right: 4px;
    color: #0a9b5c;
}


/* Download Button */

.download-button {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    background: #0a9b5c;
    color: #fff;
    border-radius: 7px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.download-button:hover {
    background: #006d46;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
}


/* Empty */

.download-empty {
    padding: 45px 20px;
    text-align: center;
    color: #91a19c;
}

.download-empty i {
    display: block;
    margin-bottom: 10px;
    color: #30d87b;
    font-size: 35px;
}

.download-empty p {
    margin: 0;
    font-size: 14px;
}


/* =========================================================
   PAGINATION
========================================================= */

.download-pagination {
    margin-top: 22px;
    text-align: center;
}

.download-pagination .pagination {
    margin: 0;
}


/* =========================================================
   MOST READ STORIES BOX
========================================================= */

.download-sidebar {
    background: #fff;
    border: 1px solid #dfece6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}


/* Sidebar Header */

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(
        135deg,
        #f2fbf6 0%,
        #e3f5ec 100%
    );
    border-bottom: 1px solid #dcece5;
}

.sidebar-header-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a9b5c;
    color: #fff;
    border-radius: 7px;
    font-size: 15px;
}

.sidebar-header h2 {
    margin: 0;
    color: #006d46;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.sidebar-header span {
    display: block;
    margin-top: 3px;
    color: #82958f;
    font-size: 10px;
}


/* =========================================================
   SIDEBAR STORIES
========================================================= */

.sidebar-stories {
    padding: 8px;
    background: #fbfdfc;
}

.sidebar-story {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 75px;
    padding: 11px 9px;
    margin-bottom: 7px;
    background: #fff;
    border: 1px solid #e7efeb;
    border-radius: 7px;
    transition: all 0.2s ease;
}

.sidebar-story:last-child {
    margin-bottom: 0;
}

.sidebar-story:hover {
    border-color: #bfe4d2;
    background: #f9fdfb;
    transform: translateX(2px);
}


/* Number */

.story-number {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf9f3;
    color: #0a9b5c;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}


/* Story Info */

.story-info {
    flex: 1;
    min-width: 0;
}

.story-date {
    margin-bottom: 4px;
    color: #8a9994;
    font-size: 9px;
}

.story-date i {
    margin-right: 4px;
    color: #0a9b5c;
}

.story-info a {
    display: block;
    color: #006d46;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.story-info a:hover {
    color: #0a9b5c;
    text-decoration: none;
}


/* Arrow */

.story-arrow {
    color: #b4c5be;
    font-size: 14px;
}

.sidebar-story:hover .story-arrow {
    color: #0a9b5c;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .download-page {
        padding: 15px 0 25px;
    }

    .download-header {
        padding: 14px;
    }

    .download-header-icon {
        width: 40px;
        height: 40px;
    }

    .download-header h1 {
        font-size: 21px;
    }

    .download-item {
        min-height: 65px;
        padding: 9px;
    }

    .download-file-icon {
        width: 38px;
        height: 38px;
        margin-right: 9px;
    }

    .download-file-info h3 {
        font-size: 13px;
    }

    .download-button {
        width: 35px;
        height: 35px;
    }

    .download-sidebar {
        margin-top: 20px;
    }

    .sidebar-header h2 {
        font-size: 17px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .download-header p {
        display: none;
    }

    .download-header h1 {
        font-size: 20px;
    }

    .download-item {
        padding: 8px;
    }

    .download-file-info h3 {
        font-size: 12px;
    }

    .download-file-info span {
        font-size: 9px;
    }

    .story-info a {
        font-size: 11px;
    }
}