/* ===================================
   Shadu Labs - Custom Overrides
   Built on top of Imroz template
   =================================== */

/* Code Blocks - Prism integration */
pre[class*="language-"] {
    border-radius: 10px;
    margin: 1.5rem 0;
}

:not(pre) > code {
    background: #f0f0f0;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--color-primary);
}

/* Blog post content styling */
.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-body);
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-content img {
    border-radius: 10px;
}

.post-content ul,
.post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f6f6f6;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

/* Tag badges */
.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(253, 71, 102, 0.1);
    color: var(--color-primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Status badges */
.status-active { background: #3EB75E; color: white; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.status-completed { background: var(--color-primary); color: white; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.status-in-progress { background: #FF8F3C; color: white; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.status-archived { background: #666; color: white; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; }

/* Legal page sections */
.legal-page section {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}

.legal-page section:last-child {
    border-bottom: none;
}

/* Project detail styling */
.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.tech-stack-label {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Search page */
.search-result-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.search-result-item:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

/* Breadcrumb area with background images */
.breadcrumb-area {
    padding: 150px 0 100px;
    position: relative;
}

.breadcrumb-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.breadcrumb-area .container {
    position: relative;
    z-index: 1;
}

/* im_box blog cards - ensure consistent height */
.im_box .thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Card image placeholders for posts without images */
.card-img-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6f6f6 0%, #e0e0e0 100%);
    color: #999;
    font-size: 3rem;
    border-radius: 10px;
}

/* Toolbar for Prism copy button */
.toolbar {
    opacity: 0.8;
}
.toolbar:hover {
    opacity: 1;
}
