.home-filters {
    width: 27%;
    margin-right: 3%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    padding: 25px;
    height: fit-content;
}

.home-search-form {
    margin-bottom: 25px;
    width: 100%;
}

.home-search-form input[type="search"] {
    width: 100%;
    height: 45px;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.home-search-form input[type="search"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 127, 172, 0.15);
}

.home-search-form input[type="submit"] {
    margin-left: 14px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.home-search-form input[type="submit"]:hover {
    background-color:  transparent;
    color: var(--primary-color);
}

.blog .seo-h1 {
    margin-bottom: 10px;
}

.home-blog .news_card {
    background: #fff;
    border: 1px solid #E9E9E9; 
    border-radius: 10px;  
    display: flex;
    flex-direction: column;  
    overflow: hidden;   
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 20px;  
}

.home-blog .news_card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
    transform: translateY(-3px); 
}

.home-blog .news_card > a {
    display: block;
    overflow: hidden;
    flex-shrink: 0;
}

.home-blog .news_card img {
    transition: transform 0.3s ease;
}

.home-blog .news_card:hover img {
    transform: scale(1.05); 
}

.home-blog .news_card .date {
    font-size: 12px;
    color: #999;
    padding: 15px 15px 5px 15px;
    display: block;
}

.home-blog .news_card .newstitle {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding: 0 15px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.home-blog .news_card p:not(.newstitle) {
    padding: 0 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    
    flex-grow: 1; 
}

.home-blog .news_card a.more {
    display: block;
    text-align: center;
    padding: 15px 0;
    margin-top: auto;
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    border-top: 1px solid #E9E9E9;
    transition: all 0.3s ease;
}

.home-blog .news_card a.more:hover {
    background-color: var(--primary-color);
    color: #fff;
}

#blog-pagination .page-numbers:not([class="page-numbers dots"]):hover {
    background: var(--primary-color) !important;
    border-radius: 10% !important;
}

#blog-pagination span {
    background: rgba(0, 120, 212, 0.1) !important;
    border-radius: 10% !important;
}

@media (max-width: 992px) {
    .home-filters {
        width: 100%;
        margin: 30px 0;
        padding: 25px;
        float: none;
    }
}