/**
 * Case Study Styles
 * Styles for case study archive and single pages
 *
 * @package Remko_Theme
 * @since 1.0.0
 */

/* ==========================================================================
   Case Study Archive - Inherits from blog-archive.css
   ========================================================================== */

/* Additional case study specific styles */
.card-date-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500, #6b7280);
}

.card-date-meta i {
    font-size: 0.875rem;
}

/* ==========================================================================
   Case Study Single - Inherits from article-styles.css
   ========================================================================== */

/* Case study content structure */
.single-case_study .article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--dark, #1a1a1a);
    font-family: 'DM Serif Display', Georgia, serif;
}

.single-case_study .article-content h2:first-child {
    margin-top: 0;
}

.single-case_study .article-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark, #1a1a1a);
}

.single-case_study .article-content ul {
    margin: 0 0 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.single-case_study .article-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.single-case_study .article-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: var(--accent, #C8E600);
    border-radius: 50%;
}

.single-case_study .article-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* ==========================================================================
   Industry Filter Pills - Case Studies Specific
   ========================================================================== */

.taxonomy-case_study_industry .blog-filter-btn.active {
    background-color: var(--dark, #1a1a1a) !important;
    color: #fff !important;
}

/* ==========================================================================
   Case Study Card Flex Layout
   ========================================================================== */

.card-blog-flex {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: auto;
}

.card-blog-image-flex {
    height: 200px;
    overflow: hidden;
}

.card-blog-content-flex {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.25rem;
}

.card-paragraph-flex {
    flex-grow: 1;
}

/* ==========================================================================
   Case Study Related Section
   ========================================================================== */

.post-type-archive-case_study .related-articles,
.single-case_study .related-articles {
    background-color: var(--gray-50, #fafafa);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
    .single-case_study .article-content h2 {
        font-size: 1.25rem;
        margin-top: 2rem;
    }

    .single-case_study .article-content h3 {
        font-size: 1rem;
        margin-top: 1.5rem;
    }
}
