.blog-page {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .08), transparent 22%),
        radial-gradient(circle at bottom right, rgba(124, 58, 237, .06), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 48px 0 72px;
}

.blog-page--article {
    padding-top: 38px;
}

.blog-hero {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

.blog-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .1);
    color: #2563eb;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.blog-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(2.05rem, 4vw, 3.5rem);
    line-height: 1.08;
    font-weight: 900;
    color: #0f172a;
}

.blog-hero p {
    margin: 0 auto;
    max-width: 760px;
    font-size: 1.02rem;
    line-height: 1.9;
    color: #475569;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-grid--related {
    margin-top: 22px;
}

.blog-card,
.blog-article,
.blog-empty-state,
.maid-page-shell,
.maid-candidates-panel {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}

.blog-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    overflow: hidden;
}

.blog-card-media img,
.blog-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 2rem;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.blog-card-meta,
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #64748b;
    font-size: .94rem;
}

.blog-card h2,
.blog-card h3,
.blog-article h1,
.blog-related-section h2 {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
}

.blog-card h2 a,
.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card p,
.blog-article-content,
.blog-article-excerpt,
.blog-empty-state p {
    color: #475569;
}

.blog-card-footer {
    margin-top: auto;
    display: flex;
}

.btn-main,
.btn-outline-main,
.blog-back-link,
.blog-page-btn,
.blog-page-number {
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.btn-main {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    padding: 12px 18px;
}

.btn-main:hover {
    color: #fff;
}

.btn-outline-main {
    border: 1px solid rgba(37, 99, 235, .2);
    color: #2563eb;
    background: #fff;
    padding: 12px 18px;
}

.blog-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.blog-pagination {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 999px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .08);
}

.blog-page-btn,
.blog-page-number {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    background: #f8fafc;
}

.blog-page-number.active {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
}

.blog-page-btn.disabled {
    opacity: .45;
    pointer-events: none;
}

.blog-article-shell {
    max-width: 980px;
    margin: 0 auto;
}

.blog-article {
    overflow: hidden;
}

.blog-article-topbar {
    display: flex;
    padding: 24px 28px 0;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    color: #0f172a;
}

.blog-article-cover {
    aspect-ratio: 16 / 8;
    margin: 22px 28px 0;
    border-radius: 24px;
    overflow: hidden;
}

.blog-article-body {
    padding: 30px 32px 34px;
}

.blog-article-excerpt {
    margin: 16px 0 0;
    font-size: 1.06rem;
    line-height: 1.9;
}

.blog-article-content {
    margin-top: 22px;
    font-size: 1.04rem;
    line-height: 1.95;
}

.blog-article-content > *:first-child {
    margin-top: 0;
}

.blog-article-content img,
.blog-article-content iframe,
.blog-article-content table {
    max-width: 100%;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    color: #0f172a;
    margin-top: 1.6em;
    margin-bottom: .7em;
}

.blog-tags {
    margin-top: 24px;
}

.blog-tags span {
    padding: 10px 14px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .16);
}

.blog-related-section {
    margin-top: 36px;
}

.blog-related-section h2 {
    font-size: 1.7rem;
}

.blog-empty-state {
    padding: 40px;
    text-align: center;
}

.maids-footer-panel {
    padding: 24px 0 0;
}

.maids-footer-card {
    background: linear-gradient(135deg, #7fb2d8 0%, #627dd4 100%);
    border-radius: 36px;
    padding: 34px 42px;
    color: #fff;
}

.maids-footer-head {
    margin-bottom: 20px;
}

.maids-footer-kicker {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.maids-footer-head h2 {
    margin: 12px 0 0;
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    font-weight: 800;
}

.maids-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.maids-footer-column {
    display: grid;
    gap: 12px;
}

.maids-footer-link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.08rem;
    font-weight: 600;
}

@media (max-width: 1199.98px) {
    .blog-grid,
    .maids-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .blog-page,
    .blog-page--article {
        padding: 32px 0 56px;
    }

    .blog-grid,
    .maids-footer-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-body,
    .blog-article-body,
    .maids-footer-card,
    .blog-empty-state {
        padding: 22px;
    }

    .blog-article-topbar {
        padding: 20px 22px 0;
    }

    .blog-article-cover {
        margin: 18px 22px 0;
    }

    .blog-pagination {
        gap: 6px;
        padding: 8px 10px;
    }

    .blog-page-btn,
    .blog-page-number {
        min-width: 38px;
        height: 38px;
    }
}

.blog-page {
    padding: 80px 0;
    background: #f8fafc;
}

.blog-hero {
    max-width: 760px;
    margin: 0 auto 40px;
}

.blog-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-hero h1 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 800;
}

.blog-hero p {
    margin: 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.blog-card-media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.blog-card-media img,
.blog-card-placeholder {
    width: 100%;
    height: 100%;
}

.blog-card-media img {
    display: block;
    object-fit: cover;
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    color: #64748b;
    font-size: 44px;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-card-title {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #2563eb;
}

.blog-card-excerpt {
    margin: 0 0 20px;
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.blog-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.blog-pagination {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pagination--rtl {
    direction: rtl;
}

.blog-page-btn,
.blog-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-page-btn:hover,
.blog-page-number:hover,
.blog-page-number.active {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.blog-page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.blog-empty-state {
    padding: 60px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
}

.blog-empty-state h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
}

.blog-empty-state p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 1199px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .blog-page {
        padding: 60px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-body {
        padding: 18px;
    }

    .blog-card-title {
        font-size: 20px;
    }

    .blog-card-excerpt {
        font-size: 15px;
    }
}
