/* ============================================================
   StreetNightGirls – LIST PAGE STYLES (list.css)
   Glassmorphism design — glass listing cards + sidebar.
   Shared/global styles are in index.css.
   ============================================================ */

/* ===== PAGE LAYOUT ===== */
.page-wrap {
    max-width: 1180px;
    margin: 22px auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 1fr 305px;
    gap: 22px;
    box-sizing: border-box;
}

@media (max-width: 1000px) {
    .page-wrap {
        grid-template-columns: 1fr;
        padding: 0 14px;
    }
}

/* ===== CARDS GRID ===== */
.cards-grid {
    display: grid;
    gap: 14px;
}

/* ===== LISTING CARD ===== */
.lfx-card {
    display: flex;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(24, 119, 242, 0.1), 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    align-items: stretch;
}

.lfx-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(24, 119, 242, 0.18), 0 4px 16px rgba(0,0,0,0.09);
}

/* IMAGE WRAP */
.lfx-img-wrap {
    width: 200px;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.lfx-img-wrap img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.45s ease;
}

.lfx-card:hover .lfx-img-wrap img {
    transform: scale(1.06);
}

/* VIEWS BADGE */
.lfx-views {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(10, 12, 35, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    gap: 6px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* CONTENT */
.lfx-content {
    flex: 1;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

/* TITLE */
.lfx-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* INFO ROW */
.lfx-info {
    display: flex;
    gap: 14px;
    margin: 5px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-meta);
    flex-wrap: wrap;
}

.lfx-info span i {
    color: var(--primary);
    margin-right: 5px;
}

/* DESCRIPTION */
.lfx-desc {
    font-size: 14px;
    color: var(--text-meta);
    margin: 5px 0;
    max-height: 44px;
    overflow: hidden;
    line-height: 1.55;
}

/* TAGS */
.lfx-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.lfx-tags .tag {
    background: rgba(24, 119, 242, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid rgba(24, 119, 242, 0.18);
    transition: background 0.2s ease, color 0.2s ease;
}

.lfx-tags .tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* CARD FOOTER */
.lfx-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}

/* VIEW BUTTON */
.lfx-view-btn {
    background: rgba(24, 119, 242, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 9px 20px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.3);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    display: inline-block;
}

.lfx-view-btn:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.4);
}

/* FOOTER ICON */
.lfx-footer-icon {
    width: 44px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lfx-footer-icon img {
    width: 34px;
    height: 34px;
}

/* MOBILE CARD LAYOUT */
@media (max-width: 650px) {
    .lfx-card {
        flex-direction: row;
        border-radius: 14px;
    }

    .lfx-img-wrap {
        width: 135px;
        min-width: 135px;
        aspect-ratio: 4 / 5;
    }

    .lfx-title {
        font-size: 14px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .lfx-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .lfx-tags {
        display: none;
    }

    .lfx-content {
        padding: 10px 12px;
    }
}

/* ===== TAG BOX (SEO / CONTENT) ===== */
.lf-tag-box {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 14px 16px;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(24, 119, 242, 0.09);
    margin-bottom: 18px;
}

.lf-tag-title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.lf-tag-title span.lf-tag-arrow {
    font-size: 18px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.lf-tag-content {
    display: none;
    margin-top: 14px;
}

.lf-tag-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-meta);
}

.lf-tag-links {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lf-tag-link {
    padding: 5px 13px;
    background: rgba(24, 119, 242, 0.07);
    color: var(--primary);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid rgba(24, 119, 242, 0.2);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lf-tag-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== TAG CONTENT BOX ===== */
.tag-content-box {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px 22px;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(24, 119, 242, 0.08);
    margin: 18px 0 24px;
    color: var(--text);
}

.tag-content-box h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 10px;
}

.tag-content-box p {
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 12px;
    color: var(--text-meta);
}

@media (max-width: 700px) {
    .tag-content-box {
        padding: 14px 16px;
    }

    .tag-content-box h2 {
        font-size: 18px;
    }
}

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* GLASS SIDEBAR BOX */
.sb-box {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(24, 119, 242, 0.09);
}

.sb-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

/* TAG PILLS */
.sb-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sb-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    background: rgba(24, 119, 242, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 999px;
    border: 1px solid rgba(24, 119, 242, 0.16);
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.sb-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.sb-no-tags {
    color: var(--text-meta);
    font-size: 13px;
}

.tag-hidden {
    display: none;
}

.sb-view-more {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    user-select: none;
    display: inline-block;
    transition: color 0.2s ease;
}

.sb-view-more:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ===== PAGINATION ===== */
.pager {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap;
}

.pager a {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 3px 10px rgba(24, 119, 242, 0.08);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.pager a:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.pager a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}