/* Blog detail page */

.article-card,
.sidebar-card {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.article-card {
    overflow: hidden;
    transition: var(--transition-base);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.25;
}

.badge-tech {
    background-color: var(--indigo-600);
    color: #ffffff;
    border: 1px solid #4338ca;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5em 1.2em;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.author-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 4px solid #f0f2ff;
}

/* Author Card — accent frame (Bootstrap border utils get overridden by .sidebar-card) */
.author-card {
    border-top: 5px solid var(--indigo-600) !important;
}

.carousel-item img {
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.quote-box {
    border-left: 5px solid var(--indigo-600);
    padding: 1.5rem;
    background: #f0f2ff;
    font-style: italic;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: 2rem 0;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: white;
    text-decoration: none;
}

.share-btn:hover {
    transform: scale(1.1);
    color: white;
}

.bg-facebook {
    background-color: #1877f2;
}

.bg-x {
    background-color: #000000;
}

.bg-link {
    background-color: var(--indigo-600);
}

.border-dashed {
    border: 2px dashed var(--gray-300);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
}
