/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Section spacing */
#blogDetails {
    padding: 40px 0;
}

/* Card Styles */
.card {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background-color: #fff;
}

.card-body {
    padding: 20px;
}

/* Blog Image */
.feature-img img {
    border-bottom: 1px solid #eee;
    object-fit: cover;
}


/* Category and Comments */
.categoryComment a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}
.categoryComment a:hover {
    text-decoration: underline;
}

/* Social Share Buttons */
.socialShare .btn {
    padding: 8px 12px;
    margin-right: 6px;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
}
.btn-facebook { background-color: #3b5998; }
.btn-instagram { background-color: #E1306C; }
.btn-youtube { background-color: #FF0000; }
.btn-twitter { background-color: #1DA1F2; }
.socialShare .btn:hover {
    opacity: 0.85;
}

/* Product Section */
.productSection .card {
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}
.productSection .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.img-wrap img {
    border-bottom: 1px solid #f0f0f0;
}

/* Comments */
.comments {
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 10px;
}
.comments p {
    margin-bottom: 4px;
}
.comments .text-muted {
    font-size: 0.85rem;
}

/* Comment Form */
textarea.form-control {
    resize: none;
}

/* Sidebar Styles */
.sidebar-img {
    border-radius: 8px 8px 0 0;
}

.card-title.card-link {
    color: #007bff;
    font-weight: 500;
}
.card-title.card-link:hover {
    text-decoration: underline;
}

/* Related Post Images */
.card-body img {
    border-radius: 4px;
}



/* Category Card */
.card.category-card {
    border: none;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.category-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    margin: 0;
}

.category-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.category-card li {
    padding: 8px 15px;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s ease;
}

.category-card li:last-child {
    border-bottom: none;
}

.category-card li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.category-card li a i {
    color: #0d6efd;
    margin-right: 8px;
    font-size: 0.9rem;
}

.category-card li:hover {
    background: #f8f9fa;
}


.related-post-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-post-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.related-post-card .card-body {
    padding: 15px;
}

.related-post-card h5 a {
    text-decoration: none;
    color: #222;
    font-size: 1rem;
    font-weight: 600;
}

.related-post-card h5 a:hover {
    color: #0d6efd;
}

.related-post-card p {
    font-size: 0.85rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #ff7b54, #ff4d6d);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: linear-gradient(90deg, #ff4d6d, #ff7b54);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 14px;
    color: #fff;
}
