/* =============================================================
   HERO FEATURED
   ============================================================= */

.bl-container {
    padding: 0;
}

.bl-hero {
    display: block;
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    margin-bottom: 36px;
    text-decoration: none;
    color: inherit;
}

.bl-hero-bg {
    position: absolute;
    inset: 0;
}

.bl-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.bl-hero:hover .bl-hero-bg img {
    transform: scale(1.05);
}

.bl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 10, 16, 0.95) 0%, rgba(10, 10, 16, 0.4) 50%, rgba(10, 10, 16, 0.1) 100%);
}

.bl-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 1;
}

.bl-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 8px 0 12px 0;
    line-height: 1.3;
    max-width: 700px;
}

.bl-hero-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 16px 0;
    max-width: 550px;
}

.bl-hero-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== BADGES ===== */

.bl-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
}

.bl-badge .material-icons-round {
    font-size: 14px;
}

.bl-badge-featured {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
}

.bl-badge-tips {
    background: rgba(0, 206, 201, 0.15);
    color: #00cec9;
}

.bl-badge-news {
    background: rgba(253, 203, 110, 0.15);
    color: #fdcb6e;
}

.bl-badge-guide {
    background: rgba(116, 185, 255, 0.15);
    color: #74b9ff;
}

.bl-badge-analysis {
    background: rgba(253, 121, 168, 0.15);
    color: #fd79a8;
}

/* ===== META ===== */

.bl-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.bl-meta .material-icons-round {
    font-size: 15px;
}

/* ===== SECTION ===== */

.bl-section {
    margin-bottom: 36px;
}

.bl-section-head {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #1c1c2e;
}

.bl-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #e0e0ea;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bl-section-title .material-icons-round {
    font-size: 24px;
    color: #6c5ce7;
}

/* ===== BLOG GRID ===== */

.bl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bl-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #13131d;
    border: 1px solid #1c1c2e;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.bl-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.bl-card-visual {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.bl-card-visual img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.bl-card:hover .bl-card-visual img {
    transform: scale(1.08);
}

.bl-card-visual .bl-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
}

.bl-card-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bl-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #e0e0ea;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.bl-card:hover .bl-card-title {
    color: #fff;
}

.bl-card-desc {
    font-size: 13px;
    color: #6b6b80;
    line-height: 1.6;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.bl-card-footer {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.bl-card-footer .bl-meta {
    color: #4a4a60;
}

/* ===== PAGINATION ===== */

.bl-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 0 40px;
}

.bl-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #9d9db5;
    background: #13131d;
    border: 1px solid #1c1c2e;
    text-decoration: none;
    transition: all 0.2s;
}

.bl-page:hover {
    border-color: #6c5ce7;
    color: #fff;
    background: #1a1a2e;
}

.bl-page-active {
    background: #6c5ce7;
    border-color: #6c5ce7;
    color: #fff;
}

.bl-page-active:hover {
    background: #5a4bd1;
    border-color: #5a4bd1;
}

.bl-page-next {
    padding: 0;
}

.bl-page-next .material-icons-round {
    font-size: 20px;
}

/* =============================================================
   BLOG SINGLE ARTICLE
   ============================================================= */

.bl-single {
    max-width: 820px;
    margin: 0 auto;
}

.bl-single-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    margin-bottom: 0;
}

.bl-single-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bl-single-cover-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(0deg, #0f0f13, transparent);
}

.bl-single-wrap {
    padding: 0;
}

.bl-single-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #1c1c2e;
}

.bl-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.2s;
    margin-bottom: 16px;
}

.bl-back:hover {
    color: #a29bfe;
}

.bl-back .material-icons-round {
    font-size: 18px;
}

.bl-single-badges {
    margin-bottom: 10px;
}

.bl-single-title {
    font-size: 28px;
    font-weight: 800;
    color: #e0e0ea;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.bl-single-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.bl-single-meta .bl-meta {
    color: #6b6b80;
}

/* ===== ARTICLE BODY ===== */

.bl-single-body {
    margin-bottom: 32px;
}

.bl-single-body h2 {
    font-size: 18px;
    font-weight: 700;
    color: #e0e0ea;
    margin: 32px 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #1c1c2e;
}

.bl-single-body h2:first-child {
    margin-top: 0;
}

.bl-single-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #d0d0da;
    margin: 24px 0 10px 0;
}

.bl-single-body p {
    font-size: 15px;
    color: #9d9db5;
    line-height: 1.8;
    margin: 0 0 16px 0;
}

.bl-single-body a {
    color: #6c5ce7;
    transition: color 0.2s;
}

.bl-single-body a:hover {
    color: #a29bfe;
}

.bl-single-body ul,
.bl-single-body ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.bl-single-body li {
    font-size: 15px;
    color: #9d9db5;
    line-height: 1.8;
    margin-bottom: 6px;
}

.bl-single-body li::marker {
    color: #6c5ce7;
}

.bl-single-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 3px solid #6c5ce7;
    background: #13131d;
    font-size: 15px;
    color: #b0b0c0;
    line-height: 1.8;
    font-style: italic;
}

.bl-single-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

.bl-single-body strong {
    color: #e0e0ea;
    font-weight: 700;
}

/* ===== SHARE ===== */

.bl-single-share {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid #1c1c2e;
    border-bottom: 1px solid #1c1c2e;
    margin-bottom: 28px;
}

.bl-share-label {
    font-size: 14px;
    font-weight: 600;
    color: #9d9db5;
    white-space: nowrap;
}

.bl-share-row {
    display: flex;
    gap: 8px;
}

.bl-share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.bl-share-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.bl-share-btn .material-icons-round {
    font-size: 20px;
    color: #fff;
}

.bl-share-fb {
    background: #1877f2;
}

.bl-share-tw {
    background: #1da1f2;
}

.bl-share-cp {
    background: #6c5ce7;
}

/* ===== ARTICLE NAV ===== */

.bl-single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.bl-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #13131d;
    border: 1px solid #1c1c2e;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.bl-nav-item:hover {
    border-color: #6c5ce7;
    background: #16161f;
}

.bl-nav-arrow {
    font-size: 22px;
    color: #6c5ce7;
    flex-shrink: 0;
}

.bl-nav-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bl-nav-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b6b80;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bl-nav-title {
    font-size: 13px;
    font-weight: 700;
    color: #b0b0c0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.bl-nav-item:hover .bl-nav-title {
    color: #fff;
}

.bl-nav-next {
    justify-content: flex-end;
    text-align: right;
}

.bl-nav-next .bl-nav-info {
    align-items: flex-end;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
    .bl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bl-hero {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .bl-hero {
        height: 280px;
    }
    .bl-hero-content {
        padding: 24px;
    }
    .bl-hero-title {
        font-size: 22px;
    }
    .bl-hero-excerpt {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .bl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .bl-card-content {
        padding: 14px;
    }
    .bl-card-title {
        font-size: 14px;
    }
    .bl-card-desc {
        font-size: 12px;
    }
    .bl-section-title {
        font-size: 18px;
    }
    .bl-single-title {
        font-size: 22px;
    }
    .bl-single-body h2 {
        font-size: 16px;
        margin: 24px 0 10px 0;
    }
    .bl-single-body p,
    .bl-single-body li {
        font-size: 14px;
    }
    .bl-single-body blockquote {
        padding: 16px 18px;
        font-size: 14px;
    }
    .bl-single-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .bl-nav-next {
        justify-content: flex-start;
        text-align: left;
    }
    .bl-nav-next .bl-nav-info {
        align-items: flex-start;
    }
    .bl-page {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 550px) {
    .bl-hero {
        height: 240px;
    }
    .bl-hero-content {
        padding: 16px;
    }
    .bl-hero-title {
        font-size: 18px;
    }
    .bl-hero-excerpt {
        display: none;
    }
    .bl-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .bl-card {
        flex-direction: row;
        border-left: none;
        border-right: none;
        border-top: none;
        background: none;
    }
    .bl-card:last-child {
        border-bottom: none;
    }
    .bl-card:hover {
        transform: none;
        box-shadow: none;
        border-color: #1c1c2e;
        background: rgba(108, 92, 231, 0.04);
    }
    .bl-card-visual {
        width: 100px;
        padding-top: 0;
        aspect-ratio: 1;
        flex-shrink: 0;
    }
    .bl-card-visual img {
        position: static;
        width: 100%;
        height: 100%;
    }
    .bl-card-visual .bl-badge {
        display: none;
    }
    .bl-card-content {
        padding: 12px 0 12px 14px;
    }
    .bl-card-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .bl-card-desc {
        display: none;
    }
    .bl-card-footer .bl-meta {
        font-size: 11px;
    }
    .bl-section-head {
        margin-bottom: 0;
        padding-bottom: 12px;
    }
    .bl-section-title {
        font-size: 16px;
    }
    .bl-single-title {
        font-size: 20px;
    }
    .bl-single-body h2 {
        font-size: 15px;
    }
    .bl-single-body p,
    .bl-single-body li {
        font-size: 13px;
    }
    .bl-single-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .bl-nav-item {
        padding: 12px;
    }
    .bl-pagination {
        padding: 16px 0 32px;
    }
}

@media (max-width: 400px) {
    .bl-hero {
        height: 200px;
    }
    .bl-hero-title {
        font-size: 16px;
    }
    .bl-hero-meta .bl-meta {
        font-size: 11px;
    }
    .bl-card-visual {
        width: 80px;
    }
    .bl-card-title {
        font-size: 12px;
    }
    .bl-single-title {
        font-size: 18px;
    }
    .bl-single-body h2 {
        font-size: 14px;
    }
    .bl-single-body p,
    .bl-single-body li {
        font-size: 13px;
        line-height: 1.7;
    }
    .bl-single-body blockquote {
        padding: 12px 14px;
        font-size: 13px;
    }
    .bl-share-btn {
        width: 36px;
        height: 36px;
    }
    .bl-page {
        min-width: 32px;
        height: 32px;
        font-size: 11px;
    }
    .bl-section-title {
        font-size: 15px;
    }
}