/* ══════════════════════════════════════════════════════════════════════════
 * LUMINA COMMUNITY FEED & 9:16 SIDEBAR ADVERTISING
 * ══════════════════════════════════════════════════════════════════════════ */

/* ── Feed Stream Layout ── */
.feed-stream {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* ── Post Card Design ── */
.post-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.post-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.post-author-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.post-author {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}
.post-time {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 600;
}

.post-content {
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.65;
    margin-bottom: 14px;
    word-break: break-word;
}

/* ── Clickable Active Links in Reflections & Posts ── */
.reflection-link {
    color: #facc15 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    transition: all 0.2s ease !important;
    word-break: break-all !important;
}
.reflection-link:hover {
    color: #fef08a !important;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.6) !important;
}

/* ── Full Uncropped Media Containment ── */
.post-media-container {
    width: 100%;
    min-height: 220px;
    max-height: 520px;
    position: relative;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.6), #070b14);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}
.post-img-full {
    width: 100% !important;
    height: auto !important;
    max-height: 500px !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
}

/* ── Post Footer Actions ── */
.post-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.post-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.80rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.post-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-1px);
}
.post-action-btn.liked {
    background: rgba(236, 72, 153, 0.2);
    border-color: rgba(236, 72, 153, 0.5);
    color: #f472b6;
}
.post-action-btn.amen-active {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

/* ── Post Composer Box ── */
.composer-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.composer-input {
    width: 100%;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: #fff;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
    line-height: 1.5;
    margin-bottom: 12px;
}
.composer-input:focus {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.06);
}

/* ── 9:16 Vertical Sidebar Ads ── */
.board-container {
    max-width: 1420px !important;
    margin: 0 auto !important;
    padding: 24px 20px 80px !important;
    display: grid !important;
    grid-template-columns: 290px minmax(0, 1fr) 290px !important;
    gap: 28px !important;
    align-items: start !important;
}
.sidebar-916 {
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    z-index: 10;
}
.card-916 {
    position: relative;
    background: rgba(11, 24, 56, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.card-916:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.5);
}
.card-916-media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    min-height: 420px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: #090d1a;
}
.card-916-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.card-916:hover .card-916-img {
    transform: scale(1.04);
}
.card-916-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 13, 26, 0.96) 0%, rgba(9, 13, 26, 0.65) 45%, rgba(9, 13, 26, 0.1) 80%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px 14px;
    z-index: 5;
}
.card-916-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}
.card-916-sub {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.4;
    margin-bottom: 12px;
}

@media (max-width: 1100px) {
    .board-container { grid-template-columns: 1fr !important; }
    .sidebar-916 { display: none !important; }
}
