form.search {
    max-width: 500px;
}
.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 4px;
    padding: 12px 16px;
    transition: border-color 0.3s ease;
}
.search-input-wrapper:focus-within {
    border-color: #34c759;
}
.search-icon {
    width: 20px;
    height: 20px;
    color: var(--secondary-darker);
    margin-right: 12px;
    flex-shrink: 0;
}
input.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--secondary-darker);
    outline: none;
    background: inherit;
    border: 0;
}
.search-input::placeholder {
    color: var(--secondary-darker);
}
input[type=search]:focus {
    box-shadow: none;
}

.latest-post-wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
    margin-bottom: 48px;
}
.latest-post-wrapper div {
    flex: 1;
}
.latest-post-wrapper .post-thumbnail-inner img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
}
.latest-post-wrapper .entry-taxonomies {
    text-transform: none;
    font-size: 14px;
    margin-bottom: 24px;
}
.latest-post-wrapper .category-links {
    gap: 8px;
    display: flex;
}
.latest-post-wrapper span.category-links a {
    background: #34c759;
    color: #FFF;
    padding: 8px;
    border-radius: 2px;
    font-weight: 400;
}
.latest-post-wrapper .entry-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.latest-post-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
a.latest-post-link {
    font-weight: 400;
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--global-text);
}
.latest-post-content a.latest-post-link:hover {
    text-decoration: none;
    color: var(--global-palette-highlight);
}
.latest-post-content a.latest-post-link:hover img{
    color: red;
}

section.section-title {
    margin-bottom: 48px;
}
.section-title h2{
    font-weight: 400;
}
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-category-filters {
    margin-bottom: 48px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
button.blog-category-filter {
    background: var(--light-bg);
    color: var(--global-text);
    font-size: 16px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button.blog-category-filter:hover {
    opacity: 0.8;
}
button.blog-category-filter.active {
    background: var(--global-palette-highlight-alt);
    color: #FFF;
}

@media (max-width: 1024px) {
    .page-header form.search {
        max-width: 100%;
    }
    .latest-post-wrapper {
        gap: 40px;
    }
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 30px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .latest-post-wrapper {
        flex-direction: column;
    }
    .latest-post-wrapper div {
        width: 100%;
    }
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-category-filters {
        margin-bottom: 32px;
        gap: 10px;
    }
    button.blog-category-filter {
        font-size: 14px;
        padding: 8px 12px;
        flex: 0 1 auto;
    }
}

@media (max-width: 480px) {
    .blog-category-filters {
        margin-bottom: 24px;
        gap: 8px;
    }
    button.blog-category-filter {
        font-size: 12px;
        padding: 6px 10px;
    }
}