/* =========================================================
   News Page — Bottom Navigation Spacing
   ========================================================= */

#news-page {
    height: auto;
    min-height: 0;

    padding-bottom: 24px;
}

/* =========================================================
   News Page — Popular News
   ========================================================= */

.news-page__popular {
    display: flex;
    flex-direction: column;
    /* gap: 18px; */
    width: 100%;
    padding-inline: 16px;
    padding-top: 24px;
}


/* =========================
   Cards Row
   ========================= */

.news-page__popular-cards {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    direction: rtl;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-page__popular-cards::-webkit-scrollbar {
    display: none;
}


/* =========================
   Card
   ========================= */
.news-page__popular-card {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;

    width: 157px;
    height: 195px;
    flex-shrink: 0;
    flex: 0 0 157px;

    padding: 8px;
    border-radius: 8px;
    box-sizing: border-box;

    background:
        radial-gradient(
            ellipse at 85% 50%,
            rgba(59, 130, 246, 0.14) 0%,
            rgba(59, 130, 246, 0.05) 35%,
            transparent 70%
        ),
        linear-gradient(
            212.16deg,
            transparent 38%,
            rgba(59, 130, 246, 0.16) 100%
        ),
        rgba(20, 35, 62, 0.72);

    border: 1px solid rgba(96, 165, 250, 0.28);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(59, 130, 246, 0.12),
        0 4px 18px rgba(0, 0, 0, 0.24),
        0 0 14px rgba(59, 130, 246, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* =========================
   Image
   ========================= */

.news-page__popular-card-image {
    position: relative;

    width: 100%;
    height: 112px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 8px;
}

.news-page__popular-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* =========================
   Card Body
   ========================= */

.news-page__popular-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;

    width: 100%;
}


/* =========================
   Title
   ========================= */

.news-page__popular-card-title {
    width: 100%;
    height: 36px;
    margin: 0;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;

    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;

    color: var(--color-text-primary);
    text-align: right;
}


/* =========================
   Footer
   ========================= */

.news-page__popular-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 141px;
    margin-top: auto;
    flex-shrink: 0;
}


/* =========================
   Transfer Icon
   ========================= */

.news-page__popular-card-transfer {
    position: relative;

    width: 24px;
    height: 10px;

    flex-shrink: 0;
}

.news-page__popular-card-transfer img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
}


/* =========================
   Time
   ========================= */

.news-page__popular-card-time {
    display: flex;
    align-items: center;
    gap: 2px;
}

.news-page__popular-card-time span {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;

    color: #f8fafc;

    white-space: nowrap;
}


/* =========================
   Clock
   ========================= */

.news-page__popular-card-clock {
    position: relative;

    width: 14px;
    height: 14px;

    flex-shrink: 0;
}

.news-page__popular-card-clock img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
}

/* =========================================================
   News Page — Other News
   ========================================================= */

.news-page__other {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
    padding-inline: 16px;
}

/* =========================
   Section Header
   ========================= */

.news-page__other-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    height: 31px;
    margin-bottom: 11px;
    direction: rtl;
}

.news-page__other-title {
    margin: 0;
    padding: 0;

    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;

    color: #3B82F6;
    white-space: nowrap;
}

.news-page__other-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.news-page__other-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}


/* =========================
   News List
   ========================= */

.news-page__other-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}


/* =========================
   News Card
   ========================= */

.news-page__other-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;

    width: 100%;
    min-height: 86px;

    padding: 8px;

    border-radius: 8px;
    overflow: hidden;

    background-image:
        linear-gradient(
            188.32deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.099) 100.43%
        ),
        linear-gradient(
            90deg,
            rgba(59, 130, 246, 0.05) 0%,
            rgba(59, 130, 246, 0.05) 100%
        );

    border: 1px solid rgba(96, 165, 250, 0.28);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(59, 130, 246, 0.12),
        0 4px 18px rgba(0, 0, 0, 0.24),
        0 0 14px rgba(59, 130, 246, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    direction: ltr;
}


/* =========================
   Category
   ========================= */
.news-page__other-category {
    position: absolute;

    left: 8px;
    bottom: 8px;

    margin: 0;
    padding: 0;

    color: var(--color-text-secondary);

    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 400;
    line-height: normal;

    white-space: nowrap;
    z-index: 2;
}


/* =========================
   Content
   ========================= */

.news-page__other-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;

    width: 100%;
    height: 70px;

    padding: 0;

    direction: ltr;
}


/* =========================
   Text
   ========================= */

.news-page__other-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;

    width: calc(100% - 112px);
    height: 68px;

    flex-shrink: 0;
}

.news-page__other-headline {
    width: 100%;
    /* min-width: 150px; */
    margin-top: 8px;

    color: var(--color-text-primary);

    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;

    text-align: right;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


/* =========================
   Time
   ========================= */

.news-page__other-time {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 2px;

    direction: rtl;
}

.news-page__other-time span {
    color: #3B82F6;

    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;

    white-space: nowrap;
}

.news-page__other-time svg {
    display: block;
    width: 14px;
    height: 14px;

    flex-shrink: 0;
}


/* =========================
   Thumbnail
   ========================= */

.news-page__other-thumbnail {
    position: relative;

    width: 104px;
    height: 68px;

    flex: 0 0 104px;

    overflow: hidden;
    border-radius: 8px;
}

.news-page__other-thumbnail img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    display: block;
}

.news-page__load-more {
    display: block;
    width: calc(100% - 32px);
    max-width: 380px;
    margin: 24px auto 0;
    padding: 14px 18px;
    
    border-radius: 8px;
    
        background:
        radial-gradient(
            ellipse at 85% 50%,
            rgba(59, 130, 246, 0.14) 0%,
            rgba(59, 130, 246, 0.05) 35%,
            transparent 70%
        ),
        linear-gradient(
            212.16deg,
            transparent 38%,
            rgba(59, 130, 246, 0.16) 100%
        ),
        rgba(20, 35, 62, 0.72);

    border: 1px solid rgba(96, 165, 250, 0.28);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(59, 130, 246, 0.12),
        0 4px 18px rgba(0, 0, 0, 0.24),
        0 0 14px rgba(59, 130, 246, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #F8FAFC;
    font: inherit;
    cursor: pointer;
}



/* =========================================
   LiveCube — News
   ========================================= */

.lc-news {
    width: 100%;
    padding: 0px 16px 24px;
    transform: translateY(-8px);
    direction: rtl;
    overflow: hidden;
    margin-top: 0;
    box-sizing: border-box;
    
}


/* =========================================
   Horizontal Scroller
   ========================================= */

.lc-news__scroller {
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;

    gap: 6px;

    direction: rtl;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 2px 2px 8px;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;

    box-sizing: border-box;
}

.lc-news__scroller::-webkit-scrollbar {
    display: none;
}


/* =========================================
   News Card
   ========================================= */

.lc-news-card {
    position: relative;

    width: 330px;
    min-width: 330px;
    height: 155px;

    flex: 0 0 330px;

    overflow: visible;

    direction: rtl;

    box-sizing: border-box;
    
}


/* =========================================
   Glow
   ========================================= */

.lc-news-card__glow {
    position: absolute;

    inset: 8px;

    border-radius: 8px;

    pointer-events: none;

    z-index: 0;

    
}


/* =========================================
   Card Shape
   ========================================= */

.lc-news-card__shape {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    z-index: 0;

    pointer-events: none;
}


/* =========================================
   Transfer / Arrow
   ========================================= */

.lc-news-card__transfer {
    position: absolute;

    left: 12px;
    bottom: 2px;

    width: 31px;
    height: 13px;

    

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 4;

    pointer-events: none;

}

.lc-news-card__transfer svg {
    width: 31px;
    height: 13px;

    display: block;
}


/* =========================================
   Content
   ========================================= */

.lc-news-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 10px 14px 8px;
    z-index: 3;
    box-sizing: border-box;
    
    
}


/* =========================================
   Image
   ========================================= */

.lc-news-card__image {
    width: 92px;
    height: 122px;
    flex: 0 0 92px;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(
            160deg,
            #2d3748 60%,
            #1a2236 100%
        );

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.07);

    background-size: cover;
    background-position: center;

    box-sizing: border-box;
}


/* =========================================
   Text
   ========================================= */

.lc-news-card__text {
    min-width: 0;
    flex: 1;

    height: 122px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: space-between;

    box-sizing: border-box;
}

.lc-news-card__text-group {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: flex-end;
    justify-content: center;

    gap: 7px;
}

.lc-news-card__title {
    width: 100%;

    margin: 0;

    color: #fff;

    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 400;

    line-height: 1.5;

    text-align: right;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;

    box-sizing: border-box;
}

.lc-news-card__subtitle {
    width: 100%;

    margin: 0;

    color: #d9d9d9;

    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 400;

    line-height: 1.5;

    text-align: right;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;

    box-sizing: border-box;
}


/* =========================================
   Timestamp
   ========================================= */

.lc-news-card__time {
    display: flex;
    align-items: center;

    gap: 3px;

    direction: rtl;
}

.lc-news-card__time svg {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    display: block;
}

.lc-news-card__time span {
    color: #3b82f6;

    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;

    line-height: normal;

    white-space: nowrap;
}

.lc-news-card__shape path {
background:
    radial-gradient(
        ellipse at 100% 100%,
        rgba(0, 1, 3, 0.914) 80%,
        rgba(1, 22, 58, 0.995) 85%,
        transparent 10%
    ),
    linear-gradient(
        212.16deg,
        rgba(0, 0, 0, 0) 51.23%,
        rgba(59, 130, 246, 0.0988) 20.43%
    ),
    rgba(5, 31, 74, 0.05);

    border: 1px solid rgba(59, 130, 246, 0.18);
   

    box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(59, 130, 246, 0.08),
    0 4px 24px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(59, 130, 246, 0.08),
    0 0 42px rgba(59, 130, 246, 0.035);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

