.epgw-wrapper {
    font-family: sans-serif;
}
.epgw-filters {
    margin-bottom: 20px;
}
#grid-filter .epgw-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#grid-filter .epgw-filter-list li,
#pagination-wrapper .page-numbers li{
    list-style-image:none;
}#grid-filter {	 display: flex;   justify-content: center;}

#grid-filter .epgw-filter {
    margin-right:10px;
    padding: 6px 16px 6px 16px;
    cursor:pointer;
    border-radius: 14px;
    color:#0097B1;
    background:none;
    font-weight:bold;
    transition: 0.3s;
}


#grid-filter  .epgw-filter.active,
#grid-filter  .epgw-filter:hover {
    background-color: #333333;
    color:#fff;
    border-radius: 14px;
}
#grid-filter .epgw-filter-mobile {
    display:none;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}
/*grid*/
#main-grid.epgw-grid {
    display: grid;
    flex-wrap: wrap;
    grid-gap: 30px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 30px;
    position: relative;
    min-height: 200px;
}

.epgw-grid-item {
    background: #fff;
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.epgw-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.epgw-thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    object-fit: cover;
    min-height:350px;
}
.epgw-grid-item:hover .epgw-thumb img {
    /*transform: scale(1.05);*/
}
.epgw-info {
    padding:20px;
}
#main-grid  .epgw-title {
    font-size: 18px;
    color:#0F596E;
    line-height:20px;
    font-weight: bold;
    min-height: 80px;
}
.epgw-excerpt {
    margin: 0 15px 15px;
    font-size: 0.9em;
    color: #555;
    flex-grow: 1;
}

.epgw-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}
.epgw-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0073aa;
    border-radius: 50%;
    animation: epgw-spin 1s linear infinite;
}
@keyframes epgw-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.epgw-pagination-wrapper {
    text-align: center;
    margin-top: 20px;
}
.epgw-wrapper .epgw-load-more button {
    padding: 12px 30px;
    background: #EB6012;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}
.epgw-load-more button:hover { background: #005a87; }

#pagination-wrapper  .epgw-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 5px;
}
#pagination-wrapper .epgw-pagination a,
#pagination-wrapper .epgw-pagination span {
    font-family: "proxima-nova", Sans-serif;
    padding: 8px 12px;
    text-decoration: none;
    color: #0F596E;
    font-size: 18px;
    font-weight:400;
}
#pagination-wrapper .epgw-pagination a:hover,
#pagination-wrapper .epgw-pagination .current {
    font-family: "proxima-nova", Sans-serif;
    color: #EB6012;
    font-size: 18px;
    font-weight:400;
}

.epgw-wrapper ul li:nth-child(9) {
  order:initial;
}

@media (min-width: 992px) {
    #main-grid.epgw-grid .epgw-grid-item {
        display: flex;
        width:100%;

    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #main-grid.epgw-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #main-grid.epgw-grid .epgw-grid-item {
        flex: 0 0 calc(50% - 10px);
    }
    .epgw-thumb { height: 160px; }
}

@media (max-width: 767px) {
    #main-grid.epgw-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #main-grid.epgw-grid .epgw-grid-item {
        flex: 0 0 100%;
    }
    .epgw-thumb { height: 180px; }
    #grid-filter .epgw-filter-list { display: none; }
    #grid-filter .epgw-filter-mobile { display: block; }
}

@media (max-width: 500px) {
    #main-grid.epgw-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.epgw-readmore {
    width: 140px;
    padding: 2px 15px 3px 15px;
    flex-wrap: wrap;
    color:#fff;
    font-size: 14px;
    border-radius: 20px;
    background-color:#EB6012;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
    text-transform: uppercase;
}
.epgw-readmore i{
    margin-left:10px
}
.epgw-grid-item:hover .epgw-readmore,
.epgw-grid-item .epgw-readmore{
	font-family: "proxima-nova",Sans-serif;
	 font-size: 15px;
}