/**
 * NewsTrp Mega Platform - Content Streams & Card Typography
 * Location: assets/css/content-streams.css
 * Production Status: 100% Complete (Enterprise Ready)
 */

/* ================= ১. ব্যানার এবং হিরো স্লাইডার ওভারলে ডিজাইন ================= */
.live-hero-banner-container-frame {
    position: relative;
    border-radius: var(--radius-main);
    overflow: hidden;
    height: 380px;
    background-color: #000;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.live-hero-banner-container-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-hero-banner-container-frame:hover img {
    transform: scale(1.03);
}

.hero-metadata-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: #fff;
    box-sizing: border-box;
}

.live-flash-pill {
    background-color: var(--ticker-red);
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 10px;
}

.hero-metadata-overlay h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 4px 0 8px 0;
    line-height: 1.3;
    cursor: pointer;
}
.hero-metadata-overlay h1:hover { text-decoration: underline; }
.hero-metadata-overlay p { font-size: 14px; opacity: 0.9; font-weight: 500; line-height: 1.4; }

/* ================= ২. ২-কলাম গ্রিড ও টপ স্টোরিজ থাম্বনেইল কার্ড ================= */
.portal-stream-section-wrapper {
    margin-bottom: 28px;
}

.section-stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-line);
    padding-bottom: 8px;
}

.section-stream-header h2 {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-main);
}

.stream-action-link {
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.portal-two-column-grid {
    display: grid;
    grid-template-columns: 1fr; /* মোবাইলে সিঙ্গেল কলাম */
    gap: 16px;
}

.live-data-tile-card {
    display: flex;
    justify-content: space-between;
    background-color: var(--surface-card);
    padding: 16px;
    border-radius: var(--radius-main);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.live-data-tile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--border-line);
}

.tile-card-info-pane {
    flex: 1;
    padding-right: 12px;
}

.card-tag-pill {
    font-size: 10px;
    background-color: #e8f5fe;
    color: var(--brand-blue);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
}

.live-data-tile-card h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
    margin: 6px 0;
    line-height: 1.4;
}

.tile-timestamp {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.live-data-tile-card img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
}

/* ================= ৩. ফেসবুক-টুইটার হাইব্রিড সোশ্যাল কন্টেন্ট বাবল ================= */
.feed-post-card-wrapper {
    background-color: var(--surface-card);
    border-radius: var(--radius-main);
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.post-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.author-meta-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #eff3f4;
    color: var(--brand-blue);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.author-details-text {
    display: flex;
    flex-direction: column;
}

.author-profile-name {
    font-weight: 800;
    font-size: 15px;
    color: var(--text-main);
    cursor: pointer;
}
.author-profile-name:hover { text-decoration: underline; }

.trp-badge { font-size: 13px; margin-left: 4px; display: inline-block; vertical-align: middle; }
.post-timestamp-row { font-size: 12px; color: var(--text-secondary); font-weight: 500; margin-top: 1px; }

.post-main-text-content {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.5;
    word-break: break-word;
    margin-bottom: 12px;
}

.clickable-hashtag {
    color: var(--brand-blue);
    font-weight: 700;
    cursor: pointer;
}
.clickable-hashtag:hover { text-decoration: underline; }

/* এনগেজমেন্ট প্যানেল বোতাম বার */
.post-card-footer-engagement {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-line);
    padding-top: 10px;
    margin-top: 12px;
}

.engagement-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
}

.engagement-btn:hover { background-color: #f1f3f4; color: var(--text-main); }
.btn-like.active-liked { color: var(--ticker-red); }

/* ডেক্সটপ উইথ ব্রেকপয়েন্ট মিডিয়া কোয়েরি (পাশাপাশি ২টি পোস্ট দেখাতে) */
@media (min-width: 768px) {
    .portal-two-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .live-hero-banner-container-frame { height: 440px; }
}