/* =========================================
   AMUCTA DOWNLOAD CENTER
========================================= */

.attachments-list {
    list-style: none;
    padding: 0;
    margin: 25px auto;
    max-width: 900px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}


/* =========================================
   SECTION TITLE
========================================= */

.section-title {
    max-width: 900px;
    margin: 30px auto 20px;

    font-size: 28px;
    font-weight: 800;

    color: var(--amucta-teal-blue);

    position: relative;
    padding-left: 14px;
}

.section-title::before {
    content: "";

    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;

    width: 5px;

    border-radius: 10px;

    background: var(--amucta-green);
}


/* =========================================
   ATTACHMENT CARD
========================================= */

.attachment-item {
    position: relative;

    background: #ffffff;

    border: 1px solid #e6eaf0;

    border-radius: 12px;

    padding: 18px;

    box-shadow:
            0 4px 14px rgba(0, 33, 71, 0.07);

    transition:
            transform .25s ease,
            box-shadow .25s ease,
            border-color .25s ease;
}


/* Hover */

.attachment-item:hover {
    transform: translateY(-3px);

    border-color: rgba(0, 75, 143, .25);

    box-shadow:
            0 10px 25px rgba(0, 33, 71, 0.12);
}


/* =========================================
   ATTACHMENT TITLE
========================================= */

.attachment-title {
    margin: 0 0 15px;

    color: var(--amucta-blue);

    font-size: 16px;

    font-weight: 700;

    line-height: 1.45;

    word-break: break-word;
}


/* =========================================
   META INFORMATION
========================================= */

.attachment-meta {
    display: flex;

    align-items: center;

    gap: 9px;

    flex-wrap: wrap;

    padding-top: 12px;

    border-top: 1px solid #eef1f5;
}


/* =========================================
   DOWNLOAD LINK
========================================= */

.download-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 7px 13px;

    border-radius: 7px;

    background: var(--amucta-blue);

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
            background .2s ease,
            transform .2s ease,
            box-shadow .2s ease;
}

.download-link:hover {
    background: #003568;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
            0 4px 10px rgba(0, 75, 143, .25);
}


/* =========================================
   SEPARATOR
========================================= */

.attachment-meta > span:nth-of-type(1) {
    color: #cbd1d8;

    font-size: 12px;
}


/* =========================================
   DATE
========================================= */

.attachment-meta .date {
    color: #6b7280;

    font-size: 11px;

    font-weight: 500;
}


/* =========================================
   EMPTY STATE
========================================= */

.attachments-list:empty::after {
    content: "No documents are currently available.";

    display: block;

    grid-column: 1 / -1;

    text-align: center;

    padding: 45px 20px;

    background: #f8fafc;

    border: 1px dashed #d6dce3;

    border-radius: 12px;

    color: #6b7280;

    font-size: 14px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .attachments-list {
        grid-template-columns: 1fr;

        gap: 12px;

        margin: 20px 15px;
    }

    .section-title {
        margin: 25px 15px 18px;

        font-size: 24px;
    }

    .attachment-item {
        padding: 15px;
    }

    .attachment-title {
        font-size: 15px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 430px) {

    .section-title {
        font-size: 21px;

        margin-top: 20px;
    }

    .attachments-list {
        margin-left: 10px;
        margin-right: 10px;
    }

    .attachment-item {
        padding: 14px;

        border-radius: 10px;
    }

    .attachment-title {
        font-size: 14px;

        margin-bottom: 12px;
    }

    .attachment-meta {
        gap: 7px;
    }

    .download-link {
        padding: 7px 11px;

        font-size: 11px;
    }

    .attachment-meta .date {
        font-size: 10px;
    }
}