.blog-single .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
.blog-single-content {
    width: 100%;
    overflow-x: auto;
}
.blog-single-content article {
    width: 100%;
    max-width: 100%;
}

/* ============================================
   BEAUTIFUL RELATED ARTICLES STYLES
   ============================================ */
.related-articles-wrapper {
    margin-top: 50px;
    margin-bottom: 30px;
}

.related-articles-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, currentColor, currentColor, transparent);
    opacity: 0.3;
}

.divider-icon {
    font-size: 24px;
    opacity: 0.6;
}

.related-articles-title {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.related-card:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: currentColor;
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.related-card-icon {
    font-size: 28px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.related-card:hover .related-card-icon {
    transform: scale(1.1);
    opacity: 1;
}

.related-card-content {
    flex: 1;
}

.related-card-title {
    margin: 0 0 8px 0;
    font-size: 1em;
    line-height: 1.4;
}

.related-card-title a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.related-card-title a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.related-card-link {
    margin-top: 5px;
}

.related-card-link a {
    font-size: 0.85em;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.related-card-link a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Dark theme adjustments for related cards */
.related-card {
    background: rgba(128, 128, 128, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-single { padding: 40px 0 !important; }
    .blog-single-title { font-size: 28px !important; }
    .related-articles-title { font-size: 1.5em; }
    .related-articles-grid { grid-template-columns: 1fr; }
    .related-card { padding: 15px; }
}

@media (max-width: 480px) {
    .blog-single { padding: 30px 0 !important; }
    .blog-single-title { font-size: 24px !important; }
    .back-to-blog { padding: 10px 20px !important; font-size: 14px !important; }
    .related-card-icon { font-size: 24px; }
}