.blog-page {
    background:
        radial-gradient(circle at top right, rgba(98, 28, 65, .09), transparent 32%),
        linear-gradient(180deg, #fff 0%, #fbf7fa 42%, #fff 100%);
    padding: 26px 0 56px;
    color: #1f1f1f;
}

.blog-container {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
}

.blog-banner-wrap {
    margin-bottom: 22px;
}

.blog-banner {
    border-radius: 30px;
    overflow: hidden;
    background: #f6edf2;
    box-shadow: 0 18px 55px rgba(98, 28, 65, .13);
    position: relative;
}

.blog-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, .03), transparent 45%, rgba(98, 28, 65, .07));
}

.blog-banner-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.blog-hero {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 26px;
    padding: 16px 10px 8px;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(98, 28, 65, .10);
    color: #621C41;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.blog-hero h1 {
    color: #23151d;
    font-weight: 900;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.35;
    margin: 0 0 12px;
}

.blog-hero p {
    color: #6e5d66;
    line-height: 2;
    font-size: 16px;
    margin: 0;
}

.blog-search-card {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 20px;
    align-items: center;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(98, 28, 65, .09);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 34px;
    box-shadow: 0 14px 45px rgba(98, 28, 65, .08);
}

.blog-search-info span {
    display: block;
    color: #621C41;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 6px;
}

.blog-search-info p {
    color: #74636c;
    margin: 0;
    line-height: 1.8;
    font-size: 14px;
}

.blog-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-search-input-wrap {
    position: relative;
    flex: 1;
}

.blog-search-input-wrap i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #9d8793;
    font-size: 14px;
}

[dir="rtl"] .blog-search-input-wrap i {
    right: 18px;
}

[dir="ltr"] .blog-search-input-wrap i {
    left: 18px;
}

.blog-search-input-wrap input {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(98, 28, 65, .13);
    border-radius: 18px;
    background: #fff;
    color: #252025;
    outline: none;
    transition: .2s ease;
}

[dir="rtl"] .blog-search-input-wrap input {
    padding: 0 46px 0 16px;
}

[dir="ltr"] .blog-search-input-wrap input {
    padding: 0 16px 0 46px;
}

.blog-search-input-wrap input:focus {
    border-color: rgba(98, 28, 65, .45);
    box-shadow: 0 0 0 4px rgba(98, 28, 65, .08);
}

.blog-search-form button,
.blog-clear-search {
    height: 52px;
    border-radius: 18px;
    border: 0;
    padding: 0 24px;
    font-weight: 900;
    transition: .2s ease;
    white-space: nowrap;
}

.blog-search-form button {
    background: #621C41;
    color: #fff;
    box-shadow: 0 10px 24px rgba(98, 28, 65, .22);
}

.blog-search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(98, 28, 65, .28);
}

.blog-clear-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5edf2;
    color: #621C41;
    text-decoration: none;
}

.blog-clear-search:hover {
    color: #621C41;
    background: #ead8e2;
    text-decoration: none;
}

.blog-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 34px 0 18px;
}

.blog-section-head span {
    color: #621C41;
    font-weight: 900;
    font-size: 13px;
}

.blog-section-head h2 {
    margin: 4px 0 0;
    font-weight: 900;
    color: #24131d;
    font-size: clamp(22px, 3vw, 32px);
}

.blog-section-head a {
    color: #621C41;
    background: rgba(98, 28, 65, .08);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    transition: .2s ease;
}

.blog-section-head a:hover {
    background: #621C41;
    color: #fff;
    text-decoration: none;
}

.blog-count {
    color: #74636c;
    background: #fff;
    border: 1px solid rgba(98, 28, 65, .09);
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 800;
    font-size: 13px;
}

.blog-featured-grid {
    display: grid;
    grid-template-columns: 1.45fr .85fr;
    gap: 18px;
    margin-bottom: 34px;
}

.blog-featured-main {
    background: #fff;
    border: 1px solid rgba(98, 28, 65, .09);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(98, 28, 65, .10);
    min-height: 100%;
}

.blog-featured-main-img {
    display: block;
    overflow: hidden;
    background: #f7f2f5;
}

.blog-featured-main-img img {
    width: 100%;
    aspect-ratio: 16 / 8.2;
    object-fit: cover;
    display: block;
    transition: .45s ease;
}

.blog-featured-main:hover .blog-featured-main-img img {
    transform: scale(1.045);
}

.blog-featured-main-body {
    padding: 26px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f7eef3;
    color: #7a3458;
    font-size: 12px;
    font-weight: 800;
}

.blog-featured-main h2 {
    font-weight: 900;
    line-height: 1.55;
    font-size: clamp(24px, 3vw, 34px);
    margin: 0 0 12px;
}

.blog-featured-main h2 a {
    color: #20141b;
    text-decoration: none;
}

.blog-featured-main p {
    color: #6d6268;
    line-height: 2;
    margin-bottom: 20px;
    font-size: 15px;
}

.blog-read-more,
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #621C41;
    font-weight: 900;
    text-decoration: none;
}

.blog-read-more:hover,
.blog-card-link:hover {
    color: #46112d;
    text-decoration: none;
}

[dir="ltr"] .blog-read-more span,
[dir="ltr"] .blog-card-link span {
    transform: rotate(180deg);
}

.blog-featured-side {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(98, 28, 65, .09);
    border-radius: 22px;
    padding: 12px;
    margin-bottom: 14px;
    box-shadow: 0 12px 32px rgba(98, 28, 65, .07);
    transition: .2s ease;
}

.blog-featured-side:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(98, 28, 65, .10);
}

.blog-featured-side-img {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #f7f2f5;
}

.blog-featured-side-img img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
    display: block;
}

.blog-featured-side-body {
    padding: 4px 0;
}

.blog-featured-side-body > span {
    color: #8a7d83;
    font-size: 12px;
    font-weight: 700;
}

.blog-featured-side h3 {
    font-size: 16px;
    line-height: 1.75;
    font-weight: 900;
    margin: 8px 0 10px;
}

.blog-featured-side h3 a {
    color: #22151d;
    text-decoration: none;
}

.blog-featured-side-body > a {
    color: #621C41;
    font-weight: 900;
    font-size: 13px;
    text-decoration: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-card {
    background: #fff;
    border: 1px solid rgba(98, 28, 65, .09);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(98, 28, 65, .07);
    transition: .22s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(98, 28, 65, .12);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    background: #f7f2f5;
}

.blog-card-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: .45s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 18px;
}

.blog-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 900;
}

.blog-card h3 a {
    color: #21161d;
    text-decoration: none;
}

.blog-card p {
    color: #6f646a;
    line-height: 1.95;
    font-size: 14px;
    margin-bottom: 16px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.blog-empty {
    text-align: center;
    background: #fff;
    border: 1px solid rgba(98, 28, 65, .09);
    border-radius: 26px;
    padding: 46px 20px;
    box-shadow: 0 14px 40px rgba(98, 28, 65, .07);
}

.blog-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f7eef3;
    color: #621C41;
    font-size: 28px;
    margin-bottom: 16px;
}

.blog-empty h3 {
    font-weight: 900;
    color: #23151d;
    margin-bottom: 14px;
}

.blog-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #621C41;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.blog-empty a:hover {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .blog-search-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .blog-page {
        padding-top: 16px;
    }

    .blog-container {
        width: min(100% - 22px, 1180px);
    }

    .blog-banner {
        border-radius: 22px;
    }

    .blog-hero {
        padding-top: 12px;
        margin-bottom: 18px;
    }

    .blog-hero p {
        font-size: 14px;
    }

    .blog-search-card {
        padding: 16px;
        border-radius: 20px;
        margin-bottom: 26px;
    }

    .blog-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-search-form button,
    .blog-clear-search {
        width: 100%;
    }

    .blog-section-head {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 26px;
    }

    .blog-featured-main {
        border-radius: 22px;
    }

    .blog-featured-main-body {
        padding: 18px;
    }

    .blog-featured-side {
        grid-template-columns: 112px 1fr;
        border-radius: 18px;
    }

    .blog-featured-side-img img {
        min-height: 116px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-card {
        border-radius: 22px;
    }
}
