@charset "utf-8";

main{
position: relative;
top: var(--size-fixed-header-height);
}

.hero{
    /* padding: var(--size_gap_doube) 0 var(--size_gap_section) 0; */
    position: relative;

    &::before {
    content: "";
    width: 100%;
    height: 60px;
    background-color: #fff;
    position: absolute;
    bottom: 0px;
    clip-path: polygon(0% 0%, 0% 100%, 50% 100%);
    }

    &::after {
    content: "";
    width: 100%;
    height: 60px;
    background-color: #fff;
    position: absolute;
    bottom: 0px;
    clip-path: polygon(50% 100%, 100% 0%, 100% 100%);
    }

}

.documents{
    padding: var(--size_gap_section) 0 var(--size_gap_section) 0;
    background: #fff;
}


/* ===========================
   Documents Section
=========================== */
.documents {
    padding: 60px 0 80px;
}

.document__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e0e0e0;
}

.document__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 16px;
    transition: background-color 0.2s;
}

.document__item:hover {
    background-color: var(--color_main_pale);
}

.document__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    flex: 1;
    margin: 0;
}

.document__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    color: #fff;
}

.document__icon--pdf {
    background-color: #e03e2d;
}

.document__icon--excel {
    background-color: #1d6f42;
}

.document__meta {
    display: flex;
    align-items: center;
    margin: 0;
}

.document__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background-color: #fff;
    color: var(--color_main);
    border: 1.5px solid var(--color_main);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.document__btn:hover {
    background-color: var(--color_main);
    color: #fff;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
    .document__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .document__meta {
        width: 100%;
        justify-content: flex-end;
    }
}
