/* Language Switcher Styles */
.language-switcher {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
}

.language-switcher a {
    margin: 0 5px;
    padding: 2px 8px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.language-switcher a.active {
    background-color: #4F46E5;
    color: white;
}

.language-switcher a:hover:not(.active) {
    background-color: rgba(79, 70, 229, 0.1);
}

/* Make language switcher responsive */
@media (max-width: 767px) {
    .language-switcher {
        margin-top: 10px;
        justify-content: center;
    }
}

/* ========================================
   Blog Page Styles
   ======================================== */

/* Pagination disabled state */
.pagination-area .page-numbers.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Blog post images - fixed size */
.single-blog-post .post-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.single-blog-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

/* Blog cards - equal height */
.single-blog-post {
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.single-blog-post:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.single-blog-post .post-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.single-blog-post .post-content h3 {
    line-height: 1.4;
    font-size: 18px;
    margin-top: 10px;
}

.single-blog-post .post-content p {
    margin-top: 15px;
    margin-bottom: 0;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   Blog Detail Page Styles
   ======================================== */

/* Widget fovia posts thumb */
.widget_fovia_posts_thumb .item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
}

.widget_fovia_posts_thumb .item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget_fovia_posts_thumb .thumb {
    flex: 0 0 80px;
    margin-right: 15px;
    display: block;
}

.widget_fovia_posts_thumb .fullimage.cover {
    width: 80px;
    height: 70px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    display: block;
}

.widget_fovia_posts_thumb .info {
    flex: 1;
}

.widget_fovia_posts_thumb .info time {
    font-size: 13px;
    color: #777;
    display: block;
    margin-bottom: 5px;
}

.widget_fovia_posts_thumb .title.usmall {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.widget_fovia_posts_thumb .title.usmall a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget_fovia_posts_thumb .title.usmall a:hover {
    color: #fb7c59;
}

.widget_fovia_posts_thumb .clear {
    clear: both;
}
 