/**
 * CT Learning Insights Archive - Index page styles
 * Crawlable SEO pages for /current/learning-insights and /current/learning-insights-podcast
 */

/* Reuse blog header/footer from ct-blog-post-template */
.ct-archive-body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    background: #fff;
}

.ct-archive-main {
    max-width: 896px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

.ct-archive-header {
    margin-bottom: 2rem;
}

.ct-archive-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    margin: 0 0 12px;
}

.ct-archive-intro {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.ct-archive-empty {
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
}

.ct-archive-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ct-archive-card {
    margin: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ct-archive-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.ct-archive-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ct-archive-card-inner {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .ct-archive-card-inner {
        flex-direction: row;
    }
}

.ct-archive-card-image {
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 640px) {
    .ct-archive-card-image {
        width: 33.333%;
    }
}

.ct-archive-card-image img {
    display: block;
    width: 100%;
    height: 192px;
    object-fit: cover;
    border-radius: 8px;
}

@media (min-width: 640px) {
    .ct-archive-card-image img {
        height: 128px;
    }
}

.ct-archive-card-content {
    flex: 1;
    min-width: 0;
}

@media (min-width: 640px) {
    .ct-archive-card-content {
        padding-left: 1.5rem;
    }
}

.ct-archive-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ct-archive-card:hover .ct-archive-card-title {
    color: #F37021;
}

.ct-archive-card-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 12px;
}

.ct-archive-card-excerpt {
    font-size: 0.9375rem;
    color: #4b5563;
    margin: 0 0 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ct-archive-card-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #F37021;
}

.ct-archive-card:hover .ct-archive-card-cta {
    color: #ea580c;
}

.ct-archive-footer-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.ct-archive-footer-links .ct-blog-back {
    color: #F37021;
    font-weight: 500;
    text-decoration: none;
}

.ct-archive-footer-links .ct-blog-back:hover {
    text-decoration: underline;
}
