@import url('./projects.css');

.blog-hero-card {
    background-color: #1a1a2e;
    border: 1px solid #3a2a6e;
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    text-align: left;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-hero-card:hover {
    border-color: #7d46ff;
    box-shadow: 0 0 20px rgba(125, 70, 255, 0.2);
}

.blog-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.blog-filter-btn {
    padding: 0.45rem 1rem;
    color: #dacbff;
    background: rgba(36, 26, 69, 0.6);
    border: 1px solid #3a2a6e;
    font-family: "Bitcount Single", system-ui, sans-serif;
    font-size: 0.92rem;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.25s ease;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    color: #fff;
    background: #7d46ff;
    border-color: #7d46ff;
    box-shadow: 0 0 15px rgba(125, 70, 255, 0.4);
}

.blog-card {
    background-color: #1a1a2e !important;
    border: 1px solid #3a2a6e !important;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #7d46ff !important;
    box-shadow: 0 8px 25px rgba(125, 70, 255, 0.2) !important;
}

.blog-card[hidden],
[hidden] {
    display: none !important;
}

div:has(> .blog-card[hidden]) {
    display: none !important;
}

.blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0f0f1b;
    border-bottom: 1px solid #3a2a6e;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category-badge {
    display: inline-block;
    background-color: rgba(125, 70, 255, 0.15);
    color: #dacbff;
    border: 1px solid #7d46ff;
    padding: 0.25rem 0.65rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.blog-card h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-card h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card:hover h3 a {
    color: #dacbff;
}

.blog-card p {
    color: #cfc6ec;
    font-family: system-ui, sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.article-container {
    max-width: 920px;
    margin: 0 auto;
}

.article-hero-card {
    background-color: #1a1a2e;
    border: 1px solid #3a2a6e;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.article-cover {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    border: 1px solid #3a2a6e;
}

.article-content {
    background-color: #1a1a2e;
    border: 1px solid #3a2a6e;
    padding: 2.5rem;
    color: #cfc6ec;
    font-family: system-ui, sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    text-align: left;
    margin-bottom: 2.5rem;
}

.article-content h1,
.article-content h2 {
    color: #7d46ff;
    font-family: "Bitcount Single", system-ui, sans-serif;
    margin: 2.2rem 0 1rem;
    font-weight: 400;
}

.article-content h3,
.article-content h4 {
    color: #dacbff;
    font-family: "Bitcount Single", system-ui, sans-serif;
    margin: 1.8rem 0 0.8rem;
    font-weight: 400;
}

.article-content p {
    margin-bottom: 1.4rem;
}

.article-content a {
    color: #7d46ff;
    text-decoration: underline;
}

.article-content a:hover {
    color: #dacbff;
}

.article-content strong {
    color: #ffffff;
}

.article-content code {
    padding: 0.15rem 0.4rem;
    color: #dacbff;
    background: #0f0f1b;
    border: 1px solid #3a2a6e;
}

.article-content pre {
    overflow-x: auto;
    padding: 1.25rem;
    color: #fff;
    background: #0f0f1b;
    border: 1px solid #3a2a6e;
    margin-bottom: 1.5rem;
}

.article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    color: #dacbff;
    background: rgba(125, 70, 255, 0.08);
    border-left: 3px solid #7d46ff;
}

.article-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.article-content th,
.article-content td {
    padding: 0.75rem 1rem;
    border: 1px solid #3a2a6e;
}

.article-content th {
    background: rgba(125, 70, 255, 0.15);
    color: #ffffff;
}

/* BLOG CTA SECTION */
.blog-cta-section {
    margin-top: 4.5rem;
    margin-bottom: 3.5rem;
}

.blog-cta-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #151126 100%) !important;
    border: 1px solid #3a2a6e !important;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.blog-cta-card:hover {
    transform: translateY(-4px);
    border-color: #7d46ff !important;
    box-shadow: 0 12px 35px rgba(125, 70, 255, 0.25) !important;
}

.blog-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7d46ff, #a87ffb, #7d46ff);
}

.blog-cta-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(125, 70, 255, 0.15);
    border: 1px solid rgba(125, 70, 255, 0.4);
    color: #7d46ff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}


