.blog-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #2f2f2f;
}

.blog-hero__picture {
    display: block;
    width: 100%;
}

.blog-hero__image {
    width: 100%;
    height: auto;
    display: block;
}

.blog-hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px 60px;
    pointer-events: none;
}

.blog-hero__title {
    font-size: 56px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    line-height: 1.1;
}

@media (max-width: 768px) {
    .blog-hero__title {
        font-size: 32px;
    }
    .blog-hero__content {
        padding-bottom: 24px;
    }
}

.custom-blog-page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 0;
}

.custom_blog_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

@media (max-width: 1024px) {
    .custom_blog_cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .custom_blog_cards {
        grid-template-columns: 1fr;
    }
}

.custom_blog_card_all {
    display: flex;
}

.custom_blog_card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.custom_blog_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.custom_blog_inside {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom_blog_content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom_blog_card_link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.custom_blog_image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f5f5;
    margin: 0;
    display: block;
}

.custom_blog_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.custom_blog_card:hover .custom_blog_image img {
    transform: scale(1.04);
}

.custom_blog_card_meta {
    padding: 14px 24px 0;
}

.custom_blog_inner_container p,
.custom_blog_card_all .custom_blog_inside p {
    margin: 0;
}

.custom_blog_inner_container .tag {
    display: inline-block;
    background: #e1d1e1;
    color: #2f2f2f;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.custom_blog_desc {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.custom_blog_desc_inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.custom_blog_desc_inner_wrapper_container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.custom_blog_desc_inner_wrapper h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2f2f2f;
    margin: 14px 0 12px;
    line-height: 1.3;
}

.custom_blog_desc_inner_wrapper p {
    font-size: 15px;
    color: #666;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

.custom-blog-pagination {
    text-align: center;
    padding: 20px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.custom-blog-pagination .page-numbers {
    width: auto;
    min-width: 35px;
    height: 35px;
    border: 2px solid #ffc569;
    padding: 5px;
    text-align: center;
    margin: 0 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.custom-blog-pagination .page-numbers:hover {
    background: #e0e0e0;
}

.custom-blog-pagination .page-numbers.current{
    color: #fff;
    background: #ffc569;
    font-weight: bold;
}
