/* ==========================================================================
   Cognisphere Evolutionary Systems - Modern Blogs & Insights CSS (Compact Theme)
   ========================================================================== */

/* Page Container & Background */
.blog-hub-page {
    background-color: #f8fafc;
    color: #334155;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

.blog-detail-page {
    background-color: #ffffff;
    color: #1e293b;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

/* Hero Section - Compact Dark Cyber Theme matching About Us */
.blog-hero-section {
    position: relative;
    padding: 85px 0 65px;
    background: radial-gradient(circle at 80% 20%, rgba(107, 189, 188, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 15% 75%, rgba(177, 124, 254, 0.1) 0%, transparent 60%),
                #070422;
    overflow: hidden;
    color: #ffffff;
}

.blog-hero-section__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.blog-hero-section__dotgrid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.25;
}

.blog-hero-section__mesh {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

.blog-hero-section .container {
    position: relative;
    z-index: 1;
}

/* Hero 2-Column Grid & Stats Cards */
.blog-hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: center;
}

.blog-hero-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-hero-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.blog-hero-section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.blog-hero-section__title--gradient {
    background: linear-gradient(135deg, #6bbdbc 0%, #b17cfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #6bbdbc;
    display: inline-block;
}

.blog-hero-section__lead {
    font-size: clamp(0.95rem, 1.8vw, 1.02rem);
    line-height: 1.6;
    color: #b4b1c5;
    margin-bottom: 1.25rem;
}

.blog-hero-tags {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.blog-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 500;
}

.blog-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.blog-hero-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.95rem 1.25rem;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-hero-stat-card:hover {
    transform: translateX(4px);
    border-color: rgba(107, 189, 188, 0.3);
}

.blog-hero-stat-card__val {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #6bbdbc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-hero-stat-card__lbl {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 991px) {
    .blog-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-hero-stats {
        flex-direction: row;
        gap: 0.6rem;
    }

    .blog-hero-stat-card {
        flex: 1;
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
        gap: 0.2rem;
    }

    .blog-hero-stat-card__val {
        font-size: 1.25rem;
    }

    .blog-hero-stat-card__lbl {
        font-size: 0.68rem;
    }
}

/* Toolbar Card: Fits cleanly inside Light Theme Body */
.blog-toolbar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.15rem 1.6rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.blog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.blog-categories-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 0.25rem 0;
}

.blog-search-box {
    position: relative;
    width: 300px;
    flex-shrink: 0;
}

.blog-search-box__input {
    width: 100%;
    height: 42px;
    padding: 0 1rem 0 2.5rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.blog-search-box__input:focus {
    outline: none;
    border-color: #373296;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(55, 50, 150, 0.1);
}

.blog-search-box__icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

@media (max-width: 991px) {
    .blog-toolbar-card {
        margin-top: 1.5rem;
        padding: 1rem 1.15rem;
        margin-bottom: 2rem;
        border-radius: 14px;
    }

    .blog-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .blog-search-box {
        width: 100%;
        order: -1;
    }

    .blog-categories-nav {
        width: 100%;
        order: 0;
        padding-bottom: 0.25rem;
    }
}

.blog-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.blog-category-pill:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.blog-category-pill.is-active {
    background: #373296;
    border-color: #373296;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(55, 50, 150, 0.2);
}

.blog-category-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

/* Featured Article Spotlight Card (Compact) */
.blog-featured-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.blog-featured-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-card__badge {
    align-self: flex-start;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.blog-featured-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.blog-featured-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-featured-card__title a:hover {
    color: #373296;
}

.blog-featured-card__excerpt {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 1.25rem;
}

.blog-featured-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: #64748b;
}

.blog-featured-card__visual {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

@media (max-width: 991px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .blog-featured-card__visual {
        min-height: 180px;
        height: 200px;
        width: 100%;
        order: -1;
    }

    .blog-featured-card__title {
        font-size: 1.35rem;
    }
}

/* Blog Articles Bento Grid (Compact) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.blog-card__cover {
    position: relative;
    height: 170px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card__badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.25rem 0.65rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.blog-card__body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 0.65rem;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card__title a:hover {
    color: #373296;
}

.blog-card__excerpt {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 1.15rem;
    flex-grow: 1;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: #64748b;
}

.blog-card__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card__author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #373296;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.75rem;
}

/* Newsletter Lead Capture Card (Compact) */
.blog-newsletter-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.blog-newsletter-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.blog-newsletter-card p {
    color: #475569;
    font-size: 0.92rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.blog-newsletter-form {
    display: flex;
    gap: 0.6rem;
    max-width: 460px;
    margin: 0 auto;
}

.blog-newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem 1.1rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    font-size: 0.9rem;
}

/* Single Article Detail Page Styling (Compact) */
.blog-article-hero {
    padding: 85px 0 40px;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(107, 189, 188, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 15% 75%, rgba(177, 124, 254, 0.1) 0%, transparent 60%),
                #070422;
    color: #ffffff;
    overflow: hidden;
}

.blog-article-hero__category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    margin-bottom: 0.85rem;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-article-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 860px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #ffffff 15%, #6bbdbc 65%, #b17cfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    font-size: 0.85rem;
    color: #b4b1c5;
    flex-wrap: wrap;
}

/* Article Layout Grid (Compact Light Body) */
.blog-article-layout {
    display: grid;
    grid-template-columns: 48px 1fr 260px;
    gap: 2rem;
    align-items: start;
    padding: 2rem 0 3.5rem;
    background: #ffffff;
}

/* Floating Share Bar (Desktop Default Compact) */
.blog-share-bar {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

@media (max-width: 1024px) {
    .blog-article-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0 3rem;
    }

    .blog-share-bar {
        position: static !important;
        top: auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.6rem !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
    }

    .blog-toc-sidebar {
        display: none !important;
    }
}

.blog-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.blog-share-btn svg {
    width: 16px;
    height: 16px;
}

.blog-share-btn:hover {
    background: #373296;
    color: #ffffff;
    border-color: #373296;
    transform: scale(1.08);
}

/* Single Article Cover Image Banner */
.blog-article-cover {
    width: 100%;
    max-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.blog-article-cover__img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .blog-article-cover {
        max-height: 240px;
        margin-bottom: 1.25rem;
        border-radius: 12px;
    }
    
    .blog-article-cover__img {
        max-height: 240px;
    }
}

/* Main Article Content Body Typography (Compact) */
.blog-article-body {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #334155;
}

.blog-article-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 1.75rem 0 0.85rem;
    scroll-margin-top: 5.5rem;
}

.blog-article-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #373296;
    margin: 1.5rem 0 0.75rem;
}

.blog-article-body p {
    margin-bottom: 1.1rem;
}

.blog-article-body blockquote {
    border-left: 4px solid #373296;
    background: #f1f5f9;
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.05rem;
    color: #0f172a;
    margin: 1.25rem 0;
}

.blog-article-body ul, .blog-article-body ol {
    margin: 0 0 1.25rem 1.25rem;
}

.blog-article-body li {
    margin-bottom: 0.4rem;
}

/* Author Bio Card (Responsive Light Theme) */
.blog-author-card {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.blog-author-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.blog-author-card__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #373296;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    flex-shrink: 0;
}

.blog-author-card__name {
    color: #0f172a;
    font-size: 1.05rem;
    display: block;
    font-weight: 700;
}

.blog-author-card__role {
    color: #373296;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

.blog-author-card__bio {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

@media (max-width: 640px) {
    .blog-author-card {
        padding: 1.25rem;
        gap: 0.85rem;
        flex-direction: column;
    }

    .blog-author-card__header {
        width: 100%;
        gap: 0.75rem;
    }

    .blog-author-card__avatar {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .blog-author-card__bio {
        font-size: 0.88rem;
        width: 100%;
    }
}

/* Sticky Table of Contents Sidebar (Compact) */
.blog-toc-sidebar {
    position: sticky;
    top: 5.5rem;
    align-self: start;
    z-index: 10;
}

.blog-toc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.15rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.blog-toc-card__title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #373296;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-toc-list li {
    margin-bottom: 0.35rem;
}

.blog-toc-list a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.82rem;
    display: block;
    padding: 0.2rem 0 0.2rem 0.5rem;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.blog-toc-list a:hover,
.blog-toc-list a.is-active {
    color: #373296;
    font-weight: 700;
    border-left-color: #373296;
}

/* Comments Stream Section (Compact) */
.blog-comments-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.blog-comments-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.blog-comment-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.blog-comment-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.blog-comment-item__author {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.92rem;
}

.blog-comment-item__date {
    font-size: 0.78rem;
    color: #64748b;
}

.blog-comment-item__text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #334155;
}

.blog-comment-form {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.blog-comment-form__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.blog-comment-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.blog-comment-input,
.blog-comment-textarea {
    width: 100%;
    padding: 0.8rem 1.1rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    font-size: 0.9rem;
    font-family: inherit;
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}

.blog-comment-input:focus,
.blog-comment-textarea:focus {
    outline: none;
    border-color: #373296;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(55, 50, 150, 0.1);
}

.blog-comment-submit {
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .blog-comment-form {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .blog-comment-form__title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .blog-comment-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .blog-comment-input,
    .blog-comment-textarea {
        padding: 0.75rem 0.95rem;
        font-size: 0.88rem;
        margin-bottom: 0.85rem;
    }

    .blog-comment-submit {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
}
