/**
 * XMTek Features - Frontend (Compact List Style)
 */

.xmtekf-releases {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 800px;
    margin: 0 auto;
}

.xmtekf-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

/* Release Item - Two Column Layout */
.xmtekf-release {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    padding: 60px 0;
    border-bottom: 1px solid #e5e7eb;
}

.xmtekf-release:first-child {
    padding-top: 0;
}

.xmtekf-release:last-of-type {
    border-bottom: none;
}

/* Left Column - Header */
.xmtekf-release-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.xmtekf-release-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.xmtekf-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.xmtekf-releases .xmtekf-release-title {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.xmtekf-releases .xmtekf-section-title {
    margin: 1.25em 0 0.5em 0;
    padding: 0;
    border: none;
    background: none;
}

.xmtekf-releases .xmtekf-section-title:first-child {
    margin-top: 0;
}

.xmtekf-release-date {
    font-size: 15px;
    color: #4b5563;
    font-weight: 500;
}

/* Right Column - Content */
.xmtekf-release-body {
    min-width: 0;
}

.xmtekf-release-content {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.xmtekf-release-content p {
    margin: 0 0 12px 0;
}

.xmtekf-release-content p:last-child {
    margin-bottom: 0;
}

.xmtekf-release-content ul,
.xmtekf-release-content ol {
    margin: 0 0 12px 0;
    padding-left: 24px;
}

.xmtekf-release-content li {
    margin-bottom: 6px;
}

.xmtekf-release-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.xmtekf-release-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

/* Footer / Reactions */
.xmtekf-release-footer {
    margin-top: 20px;
}

.xmtekf-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.xmtekf-reaction {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    margin: -8px -12px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.xmtekf-reaction:hover {
    background: rgba(0, 0, 0, 0.04);
}

.xmtekf-reaction:hover .xmtekf-count {
    color: #6366f1;
}

.xmtekf-reaction.active .xmtekf-count {
    color: #6366f1;
}

.xmtekf-emoji {
    font-size: 18px;
    line-height: 1;
}

.xmtekf-count {
    color: #6b7280;
    transition: color 0.15s ease;
}

/* Accordion Toggle */
.xmtekf-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    margin-top: 16px;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.xmtekf-accordion-toggle:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

/* Responsive */
@media (max-width: 640px) {
    .xmtekf-releases {
        padding: 0 16px;
    }
    
    .xmtekf-release {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 40px 0;
    }
    
    .xmtekf-release-header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .xmtekf-releases .xmtekf-release-title {
        width: 100%;
    }
    
    .xmtekf-release-content {
        font-size: 14px;
    }
}

