/* Blog Styles */
.blog-section {
    padding: 60px 0;
}

.blog-search {
    max-width: 600px;
    margin: 0 auto;
}

.blog-search-form {
    display: flex;
    justify-content: center;
}

.blog-search-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    gap: 15px;
}

.blog-search-container .newsletter-email {
    flex: 1;
    padding: 10px 0;
    font-size: 18px;
    border: none;
    border-bottom: 2px solid #C3CC00;
    background: transparent;
    color: #333;
}

.blog-search-container .newsletter-email:focus {
    outline: 0;
    border-bottom-color: #C3CC00;
}

.blog-search-container .newsletter-email::placeholder {
    color: #999;
}

.blog-search-container .arrow-link {
    border: none;
    background: transparent;
    color: #C3CC00;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-search-container .arrow-link:hover {
    opacity: 0.8;
}

.blog-search-container .arrow-link i {
    font-size: 16px;
}

.blog-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.blog-card-image {
    overflow: hidden;
    height: 250px;
    background: #f5f5f5;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 300px;
}

.blog-card-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 3rem;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #007bff;
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    min-height: 96px;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    color: #C3CC00 !important;
    text-decoration: none;
    font-size: 18px;
    padding: 0;
    margin-top: auto;
    border-bottom: 2px solid #C3CC00;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    width: fit-content;
    flex-shrink: 0;
}

.blog-read-more:hover {
    color: #C3CC00 !important;
    opacity: 0.8;
    padding-left: 5px;
}

.blog-read-more .green-arrow {
    width: 20px;
    height: 15px;
    margin-left: 5px;
    margin-bottom: 2px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.blog-read-more:hover .green-arrow {
    transform: translateX(5px);
}

.blog-back-btn .green-arrow-left {
    margin-right: 5px;
    margin-left: 0;
    transform: rotate(180deg);
}

.blog-back-btn:hover .green-arrow-left {
    transform: rotate(180deg) translateX(-5px);
}

/* Blog Single Styles */
.blog-single-section {
    padding: 60px 0;
}

.blog-single-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.blog-single-image img {
    border-radius: 8px;
}

.blog-single-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.blog-single-meta {
    font-size: 1rem;
    color: #6c757d;
}

.blog-single-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.blog-single-content p {
    margin-bottom: 1.5rem;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-share-buttons {
    border-top: 1px solid #e0e0e0;
}

.blog-share-buttons h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.blog-share-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    padding: 0;
}

.blog-share-facebook {
    background-color: #1877f2;
}

.blog-share-facebook:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    color: #fff;
}

.blog-share-twitter {
    background-color: #000000;
}

.blog-share-twitter:hover {
    background-color: #333333;
    transform: translateY(-2px);
    color: #fff;
}

.blog-share-twitter i {
    font-weight: bold;
    font-size: 18px;
}

.blog-share-linkedin {
    background-color: #0077b5;
}

.blog-share-linkedin:hover {
    background-color: #006399;
    transform: translateY(-2px);
    color: #fff;
}

.blog-share-whatsapp {
    background-color: #25d366;
}

.blog-share-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    color: #fff;
}

.blog-share-copy {
    background-color: #6c757d;
}

.blog-share-copy:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-single-title {
        font-size: 1.75rem;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-single-content {
        font-size: 1rem;
    }
}
