/**
 * Sidebar Width Adjustment
 * Service pages için sidebar genişlik ayarlaması
 * Bootstrap grid: col-lg-8 (ana içerik) + col-lg-4 (sidebar)
 */

/* Service Page Sidebar Genişlik Ayarlaması */
.service-single .sidebar-column {
    padding-left: 20px;
}

.service-single .col-lg-8 {
    padding-right: 20px;
}

/* Sidebar Widget Genişlik Optimizasyonu */
.service-single .sidebar-widget {
    width: 100%;
    max-width: none;
}

.service-single .sidebar-widget .widget {
    margin-bottom: 30px;
}

/* Service List Widget için optimizasyon */
.service-single .sidebar-services-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-single .sidebar-services-list h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1a202c;
    font-weight: 600;
}

.service-single .sidebar-services-list ul li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.service-single .sidebar-services-list ul li:last-child {
    border-bottom: none;
}

.service-single .sidebar-services-list ul li a {
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.service-single .sidebar-services-list ul li a:hover {
    color: #006233;
}

.service-single .sidebar-services-list ul li.current-menu-item a {
    color: #006233;
    font-weight: 600;
}

/* Blog Widget Optimization */
.service-single .widget_recent_entries ul,
.service-single .widget_recent_posts ul,
.service-single .blog-widget ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-single .widget_recent_entries li,
.service-single .widget_recent_posts li,
.service-single .blog-widget li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.service-single .widget_recent_entries li:last-child,
.service-single .widget_recent_posts li:last-child,
.service-single .blog-widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-single .widget_recent_entries li img,
.service-single .widget_recent_posts li img,
.service-single .blog-widget li img {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.service-single .widget_recent_entries li a,
.service-single .widget_recent_posts li a,
.service-single .blog-widget li a {
    font-size: 14px;
    line-height: 1.4;
    color: #4a5568;
    text-decoration: none;
    flex: 1;
    font-weight: 500;
}

.service-single .widget_recent_entries li a:hover,
.service-single .widget_recent_posts li a:hover,
.service-single .blog-widget li a:hover {
    color: #006233;
}

/* Contact Widget */
.service-single .contact-widget {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.service-single .contact-widget .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.service-single .contact-widget .contact-item:last-child {
    margin-bottom: 0;
}

.service-single .contact-widget .contact-item i {
    color: #006233;
    width: 16px;
    flex-shrink: 0;
}

.service-single .contact-widget .contact-item a {
    color: #4a5568;
    text-decoration: none;
}

.service-single .contact-widget .contact-item a:hover {
    color: #006233;
}

/* Responsive Ayarlar */
@media (max-width: 991px) {
    .service-single .sidebar-column {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 40px;
    }
    
    .service-single .col-lg-8 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Mobilde sidebar widget'ları daha kompakt */
    .service-single .sidebar-services-list {
        padding: 20px;
    }
    
    .service-single .sidebar-widget .widget {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .service-single .sidebar-widget .widget_recent_entries li img,
    .service-single .sidebar-widget .widget_recent_posts li img,
    .service-single .sidebar-widget .blog-widget li img {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
    }
    
    .service-single .sidebar-services-list ul li a {
        font-size: 13px;
    }
}