
.blog-hero {
    padding: 5rem 1.5rem;
    margin-top: 4.5rem;
    background: linear-gradient(to bottom right, #ffffff 0%, #F8F9FA 50%, #ffffff 100%);
}

@media (min-width: 1024px) {
    .blog-hero {
        padding: 8rem 1.5rem;
    }
}

.blog-hero-content {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

@media (min-width: 1024px) {
    .blog-hero h1 {
        font-size: 3.75rem;
    }
}

.blog-hero-description {
    font-size: 1.25rem;
    color: #52525b;
    line-height: 1.625;
}

@media (min-width: 1024px) {
    .blog-hero-description {
        font-size: 1.5rem;
    }
}

.blog-hero-description strong {
    color: #221F20;
    font-weight: 600;
}

.latest-blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.latest-blog-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr;
}

.latest-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.latest-blog-card:hover .latest-blog-image-wrapper img {
    transform: scale(1.05);
}

.latest-blog-card:hover h2 {
    color: #BBE349;
}

@media (min-width: 1024px) {
    .latest-blog-card {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
}

.latest-blog-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .latest-blog-image-wrapper {
        aspect-ratio: auto;
    }
}

.latest-blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.latest-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: #BBE349;
    color: #221F20;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.latest-blog-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .latest-blog-content {
        padding: 3rem;
    }
}

.latest-blog-content h2 {
    font-size: 1.875rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
    .latest-blog-content h2 {
        font-size: 2.25rem;
    }
}

.blog-divider {
    height: 4px;
    width: 80px;
    background: #BBE349;
    margin-bottom: 1.5rem;
}

.latest-blog-content p {
    font-size: 1.125rem;
    color: #52525b;
    line-height: 1.625;
    margin-bottom: 2rem;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category-tag {
    font-size: 0.875rem;
    padding: 0.375rem 1rem;
    background: #F1F3F5;
    color: #52525b;
    border-radius: 9999px;
    font-weight: 500;
}

.blog-date {
    font-size: 0.875rem;
    color: #71717a;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #71717a;
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-article-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #BBE349;
    color: #221F20;
    border-radius: 1rem;
    font-weight: 500;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.read-article-btn:hover {
    background: #a8cc3a;
}

.blog-grid-section {
    padding: 5rem 1.5rem;
    background: white;
}

@media (min-width: 1024px) {
    .blog-grid-section {
        padding: 8rem 1.5rem;
    }
}

.blog-grid-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 280px;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    width: 18px;
    height: 18px;
    color: #71717a;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.625rem 2.75rem 0.625rem 2.75rem;
    border: 2px solid #F1F3F5;
    border-radius: 1rem;
    background: white;
    color: #221F20;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus {
    outline: none;
    border-color: #BBE349;
}

.search-input::placeholder {
    color: #a1a1aa;
}

.search-input::-webkit-search-cancel-button {
    display: none;
}

.clear-search-btn {
    position: absolute;
    right: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #F1F3F5;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.clear-search-btn:hover {
    background: #e4e4e7;
}

.clear-search-btn i {
    color: #52525b;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background: #F8F9FA;
    color: #52525b;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-btn:hover {
    background: #F1F3F5;
}

.category-btn.active {
    background: #BBE349;
    color: #221F20;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border: 1px solid #F8F9FA;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-content .blog-meta {
    margin-bottom: 1rem;
}

.blog-card-content .category-tag {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.blog-card-content .blog-date {
    font-size: 0.75rem;
    color: #a1a1aa;
}

.blog-card-content h3 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover h3 {
    color: #BBE349;
}

.blog-card-content p {
    font-size: 1rem;
    color: #52525b;
    line-height: 1.625;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #F1F3F5;
    margin-top: auto;
}

.blog-card-footer span {
    font-size: 0.875rem;
    color: #71717a;
}

.blog-card-footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #221F20;
    font-weight: 500;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-footer a:hover {
    color: #BBE349;
}

.load-more-container {
    text-align: center;
    margin-top: 4rem;
}

.load-more-btn {
    padding: 1rem 2.5rem;
    background: white;
    border: 2px solid #F1F3F5;
    color: #221F20;
    border-radius: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.load-more-btn:hover {
    border-color: #BBE349;
    background: #F8F9FA;
}

.blog-newsletter {
    background: #221F20;
    color: white;
    padding: 6rem 1.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .blog-newsletter {
        padding: 10rem 1.5rem;
    }
}

.blog-newsletter .container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-newsletter h2 {
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

@media (min-width: 1024px) {
    .blog-newsletter h2 {
        font-size: 3.75rem;
    }
}

.blog-newsletter p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.625;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .blog-newsletter p {
        font-size: 1.5rem;
    }
}

.blog-newsletter p strong {
    color: white;
    font-weight: 600;
}

.newsletter-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 640px) {
    .newsletter-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.newsletter-btn-primary {
    padding: 1.25rem 3rem;
    background: #BBE349;
    color: #221F20;
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-btn-primary:hover {
    background: #a8cc3a;
}

.newsletter-btn-secondary {
    padding: 1.25rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
    }
}
