
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* Main Articles Section */
.articles_section {
    width: 100%;
    padding: 30px 15px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.articles_container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading */
.articles_heading {
    font-size: 28px;
    font-weight: 700;
    color: #172f50;
    margin: 0 0 25px;
}

/* Table Design */
.articles_table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e2e7ed;
    border-radius: 8px;
    /* overflow: hidden; */
}

.articles_table thead {
    background: #f2f5f9;
}

.articles_table th {
    padding: 16px 20px;
    text-align: left;
    color: #0B2D5C;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid #e2e7ed;
}

/* Alternate Row Background */
.articles_table tbody tr:nth-child(even) {
    background: #f2f5f9;
}

.articles_table tbody tr:nth-child(odd) {
    background: #ffffff;
}


.articles_table td {
    padding: 5px 20px;
    border-bottom: 1px solid #e9edf2;
    color: #444f5c;
    font-size: 15px;
    vertical-align: middle;
}

.articles_table tbody tr:last-child td {
    border-bottom: none;
}

.articles_table tbody tr:hover {
    background: #f8faff;
}

/* Article Title */
.articles_title {
    text-decoration: none;
    line-height: 1.6;
    font-family: "DM Sans", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: #333333;
}


.articles_title:hover {
    color: #d52e50;
}

/* PDF Action */
.articles_action {
    text-align: right !important;
    white-space: nowrap;
}
.articles_action .fa-regular, .far{
    color: #163563;
    font-size:20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.articles_pdf_link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 18px;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.articles_pdf_link:hover .fa {
    color: #ffffff;
}

/* PDF Icon */
.articles_pdf_icon {
    width: 19px;
    height: 19px;
    display: inline-block;
    flex-shrink: 0;
}

/* Mobile Responsive */
@media screen and (max-width: 767px) {

    .articles_section {
        padding: 20px 10px;
    }

    .articles_heading {
        font-size: 23px;
    }

    .articles_table thead {
        display: none;
    }

    .articles_table,
    .articles_table tbody,
    .articles_table tr,
    .articles_table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .articles_table tr {
        padding: 15px;
        border-bottom: 1px solid #e2e7ed;
    }

    .articles_table tbody tr:last-child {
        border-bottom: none;
    }

    .articles_table td {
        padding: 5px 0;
        border: none;
    }

    .articles_table td:first-child {
        padding-bottom: 12px;
    }

    .articles_action {
        text-align: left !important;
    }

    .articles_pdf_link {
        padding: 9px 15px;
    }

}
.articles_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.articles_page_link {
    display: inline-block;
    padding: 8px 13px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.articles_page_link:hover,
.articles_page_link.active {
    background: #163563;
    border-color: #163563;
    color: #fff;
}

@media (max-width: 576px) {
    .articles_page_link {
        padding: 7px 10px;
        font-size: 13px;
    }
}
/* Search box */
.articles_search_form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px auto 25px;
    width: 100%;
    max-width: 550px;
}

.articles_search_input {
    flex: 1;
    min-width: 0;
    height: 43px;
    padding: 0 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.articles_search_input:focus {
    border-color: #163563;
}

.articles_search_button,
.articles_clear_button {
    height: 43px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 4px;
    background: #163563;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.articles_search_button:hover {
    background: #0056b3;
}

.articles_clear_button {
    background: #666;
}

.articles_clear_button:hover {
    background: #444;
}

/* Pagination */
.articles_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.articles_page_link {
    display: inline-block;
    padding: 8px 13px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.articles_page_link:hover,
.articles_page_link.active {
    background: #163563;
    border-color: #163563;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .articles_search_form {
        flex-wrap: wrap;
    }

    .articles_search_input {
        flex-basis: 100%;
    }

    .articles_search_button,
    .articles_clear_button {
        flex: 1;
    }

    .articles_page_link {
        padding: 7px 10px;
        font-size: 13px;
    }
}
