/* Service detail - public/service_detail.php */
/* Service Detail Page Styles - Based on news_detail.php */
.article-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 120px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    opacity: 0.15;
    z-index: 0;
}

.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.article-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: white;
}

.article-breadcrumb span {
    margin: 0 0.5rem;
    color: rgba(255,255,255,0.6);
}

.article-category-badge {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 0 2.5rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    display: block;
}

.article-content-section {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.article-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.article-main {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: relative;
    min-width: 0;
}

.article-main * {
    position: static;
}

.article-main button[style*="position: fixed"],
.article-main button[style*="position: absolute"],
.article-main .floating-button,
.article-main .mce-tinymce {
    display: none !important;
}

.article-content {
    line-height: 1.9;
    color: #333;
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.article-content * {
    max-width: 100%;
}

.article-content > div {
    margin-bottom: 1.5rem;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content h1, .article-content h2, .article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.sidebar-widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #ff6b35;
}

.related-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}

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

.related-post-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f0f0f0;
}

.related-post-content {
    flex-grow: 1;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #ff6b35;
}

@media (max-width: 968px) {
    .article-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        order: -1;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-main {
        padding: 2rem;
    }
    
    .sidebar-widget {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 100px 0 40px;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-main {
        padding: 2rem 1.5rem;
    }
}