* {
    box-sizing: border-box;
}

#newpub-results {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    width: 1260px;
    gap: 20px;
}

.category-name p {
    display: inline-block;
    border-radius: 3px;
    padding: 1px 12px;
    background-color: #0a525cbd;
    color: #fff;
    font-weight: 600;
}

.category-name {
    position: absolute;
    right: 25px;
    top: 25px;
    display: none !important;
}

.newpub-box {
    position: relative;
}

span.page-numbers.current {
    color: #6fafb8 !important;
    font-weight: 600 !important;
    font-size: 18px !important;
}

#newpub-submit-button {
    background-color: #fff;
    color: #0a525c;
    padding: 12px 40px !important;
    font-size: 16px;
    line-height: 25px;
    padding-top: 15px !important;
    padding-bottom: 12px !important;
    min-height: 53px;
    margin-top: -8px !important;
    border-radius: 3px !important;
}

a.newpub-button {
    background-color: #0a525c;
    padding: 10px 15px;
    color: #fff !important;
    border-radius: 3px;
    border: 1px solid #0a525c;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .6s linear !important;
}

a.newpub-button:hover {
    background-color: #fff;
    border: 1px solid #084237;
    color: #0a525c !important;
}

a.newpub-button:hover svg {
    fill: #0a525c !important;
}

svg.e-font-icon-svg.view-more-icon.e-far-file-alt,
svg.e-font-icon-svg.e-fab-apple {
    margin-top: 1px;
}

#newpub-filter form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#newpub-filter form input,
#newpub-filter form select,
#newpub-filter form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#newpub-filter form button {
    cursor: pointer;
    background-color: #0073aa;
    color: #fff;
    border: none;
    font-weight: bold;
}

#newpub-filter form button:hover {
    background-color: #005f8a;
}

#newpub-filter #newpub-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    #newpub-filter #newpub-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #newpub-filter #newpub-list {
        grid-template-columns: 1fr;
    }
}

.newpub-box {
    border: 1px solid #F7F7F7;
    padding: 20px;
    border-radius: 8px;
    background-color: #F7F7F7;
    display: flex;
    width: calc(50% - 10px);
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newpub-buttons svg {
    fill: #fff;
    transition: fill 0.7s;
    width: 17px;
    float: left;
    margin-right: 10px;
    margin-top: 4px;
}

select#newpub-category-filter {
    padding: 12px 22px !important;
    font-size: 16px;
    min-width: 200px;
}

select:focus {
    outline: none;
}

#newpub-category-filter {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-size: auto;
    padding-right: 25px;
}

#newpub-filter svg.e-font-icon-svg.e-fas-caret-down {
    max-width: 14px;
    position: absolute;
    top: 34px;
    right: 35%;
    fill: #0a525c;
}

select#newpub-category-filter {
    cursor: pointer;
}

span.sub-arrow {
    pointer-events: none;
}

.newpub-box {
    background-color: #ffffff;
    box-shadow: 2px 2px 15px #0a525c24;
}

form#newpub-filter {
    width: 1260px;
    max-width: 100%;
    padding: 20px 31px;
    background-color: #0a525c;
    border-radius: 5px;
    margin-bottom: 40px;
}

input#newpub-search-filter,
select#newpub-category-filter {
    padding: 10px 20px;
    border: 1px solid #ededed;
    border-radius: 3px;
    margin-right: 5px;
    min-height: 53px;
}

input#newpub-search-filter {
    width: 50%;
    padding-top: 11px;
}

.newpub-box:hover {
    transform: translateY(-5px);
}

.newpub-box h3 {
    font-size: 20px !important;
    color: #212725;
    margin-bottom: 15px;
}

.newpub-box .newpub-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.newpub-box .newpub-content {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.newpub-box .newpub-buttons {
    display: flex;
    gap: 10px;
}

.newpub-box .btn {
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none !important;
    border-radius: 4px;
    background-color: #055360;
    color: white;
    transition: background-color 0.3s, transform 0.2s;
}

.newpub-box .btn:hover {
    background-color: #084237;
    color: #fff !important;
    transform: scale(1.01);
}

.newpub-box .btn:disabled {
    background-color: #bbb;
    cursor: not-allowed;
}

#category {
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #ccc;
}

#newpub-search-filter {
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.pagination-area {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.list-page {
    display: inline-block;
    border: 1px solid #e6e6e6;
    font-weight: 400;
    padding: 10px 25px;
    background-color: #0a525c;
    color: #fff;
    border-radius: 5px;
}

.pagination-area a {
    text-decoration: none !important;
    padding: 0 10px;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 18px !important;
}

.pagination-area a:hover {
    color: #cccccc !important;
}

@media (max-width: 768px) {

    #newpub-filter form input,
    #newpub-filter form select,
    #newpub-filter form button {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    #newpub-filter #newpub-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #newpub-filter #newpub-list {
        grid-template-columns: 1fr;
    }

    .newpub-box {
        width: 100%;
    }

    #newpub-filter form {
        padding: 15px;
    }

    a.newpub-button {
        font-size: 12px;
    }

    input#newpub-search-filter {
        width: 100%;
        margin-bottom: 20px;
    }

    select#newpub-category-filter {
        min-width: 100%;
    }

    #newpub-filter svg.e-font-icon-svg.e-fas-caret-down {
        top: 105px;
        right: 16%;
    }

    #newpub-submit-button {
        width: 100%;
        margin-top: 15px !important;
    }
}