/* Enhanced Blog Article Design - Maintaining akkusegely24 brand */

/* Article Container Improvements */
.blogContainer {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

/* Enhanced Breadcrumb */
.blogBreadcrumb {
    font-size: 14px;
    margin: 0 0 30px 0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.blogBreadcrumb a {
    color: #35af6b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.blogBreadcrumb a:hover {
    color: #fff;
}

.blogBreadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #35af6b;
    transition: width 0.3s ease;
}

.blogBreadcrumb a:hover::after {
    width: 100%;
}

/* Article Title Styling */
.blogContainer h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 25px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 20px;
}

.blogContainer h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #35af6b 0%, rgba(53, 175, 107, 0) 100%);
    border-radius: 2px;
}

/* Lead Text Enhancement */
.blogContainer .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 25px 0;
    padding: 20px;
    background: rgba(53, 175, 107, 0.1);
    border-left: 4px solid #35af6b;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
}

/* Article Hero Image */
.blogContainer > img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.blogContainer > img:hover {
    transform: scale(1.02);
}

/* Article Content Styling */
.blogContainer .content {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-top: 30px;
}

.blogContainer .content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
    position: relative;
    padding-left: 25px;
}

.blogContainer .content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: #35af6b;
    border-radius: 2px;
}

.blogContainer .content h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    padding-left: 15px;
    border-left: 3px solid rgba(53, 175, 107, 0.5);
}

.blogContainer .content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.blogContainer .content ul,
.blogContainer .content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blogContainer .content li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

.blogContainer .content ul li::marker {
    color: #35af6b;
}

.blogContainer .content strong {
    font-weight: 600;
    color: #fff;
}

.blogContainer .content em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}

.blogContainer .content a {
    color: #35af6b;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.blogContainer .content a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Blockquote Styling */
.blogContainer .content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #35af6b;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.blogContainer .content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(53, 175, 107, 0.3);
    font-family: Georgia, serif;
}

/* Enhanced CTA Banners */
.batteryBarPlaceholder {
    margin: 40px 0;
    padding: 35px;
    background: linear-gradient(135deg, #35af6b 0%, #2d8f5a 100%);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(53, 175, 107, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.batteryBarPlaceholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.batteryBarPlaceholder:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(53, 175, 107, 0.4);
}

.batteryBarPlaceholder .text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.batteryBarPlaceholder button {
    background: white;
    color: #35af6b;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.batteryBarPlaceholder button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

/* Related Articles Section */
.blogCategory {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.blogCategory .blogs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.blogCategory .blog {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blogCategory .blog:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blogCategory .blog .title {
    margin: 0 0 15px 0;
}

.blogCategory .blog .title a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blogCategory .blog .title a:hover {
    color: #35af6b;
}

.blogCategory .blog .imageContainer {
    width: 100%;
    padding-bottom: 60%;
    position: relative;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.blogCategory .blog .imageContainer .image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.blogCategory .blog:hover .imageContainer .image {
    transform: scale(1.1);
}

.blogCategory .blog .lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blogCategory .blog .btn {
    background: #35af6b;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blogCategory .blog .btn:hover {
    background: #2d8f5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(53, 175, 107, 0.3);
}

/* Add Section Title for Related Articles */
.blogCategory::before {
    content: 'Kapcsolódó cikkek';
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

/* Smooth Scroll for Anchors */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .blogContainer {
        padding: 15px;
    }
    
    .blogContainer h1 {
        font-size: 1.875rem;
    }
    
    .blogContainer .lead {
        font-size: 1.125rem;
        padding: 15px;
    }
    
    .blogContainer .content {
        font-size: 1rem;
    }
    
    .blogContainer .content h2 {
        font-size: 1.5rem;
    }
    
    .batteryBarPlaceholder {
        padding: 25px;
    }
    
    .batteryBarPlaceholder .text {
        font-size: 1.25rem;
    }
    
    .blogCategory .blogs {
        grid-template-columns: 1fr;
    }
}

/* Image Enhancement */
.blogContainer .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Table Styling */
.blogContainer .content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.blogContainer .content table th,
.blogContainer .content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blogContainer .content table th {
    background: rgba(53, 175, 107, 0.2);
    font-weight: 600;
    color: #fff;
}

.blogContainer .content table tr:last-child td {
    border-bottom: none;
}

.blogContainer .content table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Code Block Styling */
.blogContainer .content pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
    margin: 20px 0;
}

.blogContainer .content code {
    background: rgba(53, 175, 107, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.blogContainer .content pre code {
    background: none;
    padding: 0;
}