/* =========================================
   CUBA FEED LAYOUT 
   ========================================= */
.feed-main { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 30px 20px 100px 20px; /* 100px padding ensures bottom nav never covers content */
}

.feed-header-section { margin-bottom: 30px; }
.feed-header-section h2 { margin: 0 0 5px 0; font-size: 2rem; color: var(--text-dark, #2b2b2b); font-weight: 600; }
.feed-header-section p { margin: 0; color: var(--text-muted, #898989); }

/* Header */
.cuba-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background: var(--card-bg, #ffffff);
    box-shadow: 0 4px 20px rgba(8, 21, 66, 0.05);
    position: sticky; top: 0; z-index: 1000; 
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; background: var(--primary-light, #e2dfff); color: var(--primary, #7366ff); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.cuba-btn-primary { background: var(--primary, #7366ff); padding: 8px 20px; border-radius: 8px; font-weight: 500; transition: 0.2s; }
.cuba-btn-primary:hover { background: #6054e6; transform: translateY(-1px); }

/* Responsive Grid */
.grid-container { display: grid; grid-template-columns: 1fr; gap: 30px; }

@media (min-width: 768px) {
    .grid-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-container { grid-template-columns: repeat(3, 1fr); }
}

/* Article Cards */
.article-card {
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(8, 21, 66, 0.05); border: none; cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; height: 100%;
}
.article-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(8, 21, 66, 0.1); }
.feed-cover-img, .feed-cover-placeholder { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.feed-cover-placeholder { background: linear-gradient(135deg, var(--primary), #8e83ff); }
.feed-card-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.feed-card-content h3 { margin: 0 0 12px 0; color: var(--text-dark); font-size: 1.2rem; line-height: 1.4; font-weight: 600; }
.feed-snippet { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin: 0 0 20px 0; flex-grow: 1; }
.feed-meta { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; border-top: 1px solid var(--border-color); padding-top: 16px; margin-top: auto; }