.blog-page {
    min-height: 100vh;
}

.blog-main {
    width: min(100% - 2rem, 1040px);
    flex: 1;
    margin: 6.4rem auto 0;
    padding-bottom: 3rem;
}

.blog-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.blog-header h1 {
    margin: 0;
    color: var(--text-color);
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.6rem, 7vw, 4.8rem);
    font-weight: 700;
}

.blog-info-card {
    max-width: 780px;
    margin: 1.4rem auto 0;
    padding: 1.15rem 1.35rem;
    border-radius: 18px;
}

.blog-info-card p {
    font-size: 1.02rem;
    line-height: 1.65;
}

.blog-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.blog-article-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.45rem 1.55rem;
    border: 1px solid var(--card-border-color);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48)),
        rgba(255, 255, 255, 0.58);
    color: var(--text-color);
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-article-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: rgba(0, 0, 0, 0.82);
    opacity: 0.9;
}

.blog-article-card:hover {
    transform: translateY(-3px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
        rgba(255, 255, 255, 0.68);
    border-color: rgba(90, 90, 90, 0.2);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.1);
}

.blog-article-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.blog-article-kicker {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 0.65rem;
    color: var(--text-color);
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.64;
}

.blog-article-card h2 {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.38rem);
    font-weight: 700;
    line-height: 1.35;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0;
    color: var(--text-color);
    font-family: 'Raleway', sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.4;
}

.blog-article-meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(90, 90, 90, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    opacity: 0.82;
}

.blog-article-arrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(90, 90, 90, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-color);
    font-family: 'Raleway', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.blog-article-arrow-icon {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-article-card:hover .blog-article-arrow {
    transform: translate(2px, -2px);
    background: rgba(255, 255, 255, 0.72);
}

[data-theme="dark"] .blog-article-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.09)),
        rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .blog-article-card:hover {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12)),
        rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .blog-article-card::before {
    background: rgba(255, 255, 255, 0.88);
}

[data-theme="dark"] .blog-article-meta-pill,
[data-theme="dark"] .blog-article-arrow {
    background: rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .blog-article-card:hover .blog-article-arrow {
    background: rgba(0, 0, 0, 0.28);
}

.blog-page .copyright {
    margin-top: auto;
}

@media (max-width: 640px) {
    .blog-main {
        width: min(100% - 1.2rem, 920px);
        margin-top: 5.8rem;
        padding-bottom: 2rem;
    }

    .blog-info-card {
        padding: 1rem;
    }

    .blog-article-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        padding: 1.15rem;
        border-radius: 16px;
    }

    .blog-article-arrow {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        align-self: flex-end;
    }
}
