/* Modern Blog Page Styles */

/* Blog Page Header */
.blog-page-header {
    background: linear-gradient(135deg, #1a1c26 0%, #2d3142 50%, #1a1c26 100%);
    padding: 120px 0 80px;
    margin-bottom: 0;
    text-align: center;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.blog-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.blog-page-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.blog-page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    color: #ffffff !important;
}

.blog-page-header h1 i {
    margin-left: 15px;
    opacity: 0.95;
    font-size: 42px;
    vertical-align: middle;
    color: #ffffff !important;
}

.blog-page-header p {
    font-size: 19px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.3px;
    color: #ffffff !important;
}

/* Blog Cards Container - Equal Heights */
.blog-cards-container {
    display: flex;
    flex-wrap: wrap;
}

.blog-cards-container > div {
    display: flex;
    margin-bottom: 30px;
}

/* Modern Blog Cards */
.post-content-modern {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    height: 100%;
}

.post-content-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a1c26 0%, #2d3142 50%, #1a1c26 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.post-content-modern:hover::before {
    opacity: 1;
    animation: gradientShift 2s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.post-content-modern:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 20px 50px rgba(26, 28, 38, 0.2), 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(26, 28, 38, 0.2);
}

.post-image-modern {
    position: relative;
    overflow: hidden;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    width: 100%;
    flex-shrink: 0;
    display: block;
}

.post-image-modern a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.post-image-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0) 0%, rgba(0, 68, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.post-content-modern:hover .post-image-modern::after {
    opacity: 1;
}

.post-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(1) contrast(1);
    display: block;
    margin: 0;
    padding: 0;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1c26 0%, #2d3142 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
    opacity: 0.7;
}

.blog-image-placeholder i {
    color: rgba(255, 255, 255, 0.5);
}

.post-content-modern:hover .post-image-modern img {
    transform: scale(1.12) rotate(0.5deg);
    filter: brightness(1.03) contrast(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.post-content-modern:hover .image-overlay {
    opacity: 1;
}

.p-tagline-modern {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, #1a1c26 0%, #2d3142 100%);
    color: #fff;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(26, 28, 38, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.post-content-modern:hover .p-tagline-modern {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(26, 28, 38, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.post-text-modern {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    min-height: 200px;
}

.post-text-modern h4 {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 64px;
    max-height: 64px;
    font-weight: 700;
    color: #1a1c26;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-text-modern h4 a {
    color: #1a1c26;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    background: linear-gradient(135deg, #1a1c26 0%, #1a1c26 50%, #2d3142 50%, #2d3142 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-position: 0% 0%;
}

.post-content-modern:hover .post-text-modern h4 a {
    background-position: 100% 0%;
}

.post-text-modern p {
    color: #666;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 18px;
    flex-grow: 1;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 78px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.p-date-modern {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
}

.p-date-modern i {
    font-size: 11px;
    margin-left: 5px;
}

.read-more-link {
    color: #1a1c26;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 10px 20px;
    background: rgba(26, 28, 38, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(26, 28, 38, 0.15);
    position: relative;
    overflow: hidden;
}

.read-more-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.read-more-link:hover::before {
    left: 100%;
}

.read-more-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #1a1c26 0%, #2d3142 100%);
    transform: translateX(-6px);
    box-shadow: 0 6px 20px rgba(26, 28, 38, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #1a1c26;
}

.read-more-link i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 6px;
    font-size: 12px;
}

.read-more-link:hover i {
    transform: translateX(-5px);
}

/* Ensure equal heights for cards */
.blog-cards-container .col-lg-4,
.blog-cards-container .col-lg-3,
.blog-cards-container .col-md-6,
.blog-cards-container .col-sm-6 {
    display: flex;
    height: 100%;
}

.blog-cards-container .bloglist {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Homepage Blog Cards - Equal Heights and Consistent Sizing */
#section-news .blog-cards-container {
    margin: 0 -15px;
}

#section-news .blog-cards-container > div {
    padding: 0 15px;
    margin-bottom: 30px;
}

#section-news .blog-cards-container .bloglist {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#section-news .blog-cards-container .bloglist .post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#section-news .blog-cards-container .bloglist .post-content:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

#section-news .blog-cards-container .post-image {
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #f0f0f0;
}

#section-news .blog-cards-container .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

#section-news .blog-cards-container .post-content:hover .post-image img {
    transform: scale(1.08);
}

#section-news .blog-cards-container .post-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 180px;
}

#section-news .blog-cards-container .post-text h4 {
    min-height: 50px;
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 17px;
    font-weight: 600;
}

#section-news .blog-cards-container .post-text h4 a {
    color: #1a1c26;
    text-decoration: none;
    transition: color 0.3s;
}

#section-news .blog-cards-container .post-text h4 a:hover {
    color: #0066cc;
}

#section-news .blog-cards-container .post-text p {
    flex: 1;
    margin-bottom: 12px;
    min-height: 60px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#section-news .blog-cards-container .post-text .p-date {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #999;
}

#section-news .blog-cards-container .p-tagline {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    background: rgba(0, 102, 204, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for homepage cards */
@media (max-width: 1199px) {
    #section-news .blog-cards-container .post-image {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    
    #section-news .blog-cards-container .post-text {
        min-height: 170px;
    }
}

@media (max-width: 991px) {
    #section-news .blog-cards-container .post-image {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    
    #section-news .blog-cards-container .post-text {
        padding: 18px;
        min-height: 160px;
    }
    
    #section-news .blog-cards-container .post-text h4 {
        min-height: 48px;
        font-size: 16px;
    }
    
    #section-news .blog-cards-container .post-text p {
        min-height: 55px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    #section-news .blog-cards-container {
        margin: 0 -10px;
    }
    
    #section-news .blog-cards-container > div {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    #section-news .blog-cards-container .post-image {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    
    #section-news .blog-cards-container .post-text {
        padding: 16px;
        min-height: 150px;
    }
    
    #section-news .blog-cards-container .post-text h4 {
        min-height: 44px;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    #section-news .blog-cards-container .post-text p {
        min-height: 50px;
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 575px) {
    #section-news .blog-cards-container .post-image {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
    
    #section-news .blog-cards-container .post-text {
        padding: 15px;
        min-height: 140px;
    }
    
    #section-news .blog-cards-container .post-text h4 {
        min-height: 40px;
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    #section-news .blog-cards-container .post-text p {
        min-height: 45px;
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
}

/* Blog Page Header Responsive */
@media (max-width: 767px) {
    .blog-page-header {
        padding: 70px 0 50px;
    }
    
    .blog-page-header h1 {
        font-size: 32px;
        color: #ffffff !important;
    }
    
    .blog-page-header h1 i {
        font-size: 28px;
        margin-left: 10px;
        color: #ffffff !important;
    }
    
    .blog-page-header p {
        font-size: 16px;
        padding: 0 20px;
        color: #ffffff !important;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .section-title h2::before {
        display: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .post-image-modern {
        height: 260px;
        min-height: 260px;
        max-height: 260px;
    }
    
    .post-text-modern {
        min-height: 210px;
        padding: 28px;
    }
    
    .post-text-modern h4 {
        min-height: 68px;
        max-height: 68px;
        font-size: 21px;
    }
    
    .post-text-modern p {
        min-height: 80px;
        font-size: 15px;
    }
    
    .blog-content-wrapper {
        padding: 40px 0 60px;
    }
}

@media (max-width: 991px) {
    .post-image-modern {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    
    .post-text-modern {
        padding: 24px;
        min-height: 190px;
    }
    
    .post-text-modern h4 {
        font-size: 20px;
        min-height: 60px;
        max-height: 60px;
    }
    
    .post-text-modern p {
        min-height: 72px;
        font-size: 15px;
    }
    
    .news-slide2 .mySlides-small,
    .news-slide2 .mySlides-small img {
        height: 240px;
    }
}

@media (max-width: 767px) {
    .blog-cards-container > div {
        margin-bottom: 20px;
    }
    
    .post-image-modern {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    
    .post-text-modern {
        padding: 18px;
        min-height: 170px;
    }
    
    .post-text-modern h4 {
        font-size: 18px;
        min-height: 54px;
        max-height: 54px;
        line-height: 1.5;
    }
    
    .post-text-modern p {
        font-size: 14px;
        line-height: 1.7;
        min-height: 65px;
        -webkit-line-clamp: 2;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .read-more-link {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .blog-slideshow-section {
        margin-bottom: 50px;
        padding: 20px 0;
    }
}

@media (max-width: 575px) {
    .blog-content-wrapper {
        margin-top: -25px;
        border-radius: 30px 30px 0 0;
        padding: 30px 0 50px;
    }
    
    .blog-cards-container > div {
        margin-bottom: 16px;
    }
    
    .post-image-modern {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    
    .post-text-modern {
        padding: 16px;
        min-height: 160px;
    }
    
    .post-text-modern h4 {
        font-size: 17px;
        margin-bottom: 12px;
        line-height: 1.5;
        min-height: 50px;
        max-height: 50px;
    }
    
    .post-text-modern p {
        min-height: 60px;
        -webkit-line-clamp: 2;
    }
    
    .p-tagline-modern {
        font-size: 10px;
        padding: 8px 14px;
        top: 12px;
        right: 12px;
    }
    
    .blog-slideshow-section {
        padding: 15px 0;
        margin-bottom: 40px;
    }
    
    .section-title {
        margin-bottom: 40px;
        padding-bottom: 25px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .section-title p {
        font-size: 15px;
        margin-top: 20px;
    }
}

/* Slideshow Section Improvements */
.blog-slideshow-section {
    margin-bottom: 70px;
    padding: 30px 0;
    position: relative;
}

.blog-slideshow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 28, 38, 0.02) 0%, rgba(45, 49, 66, 0.02) 100%);
    border-radius: 30px;
    z-index: 0;
}

.slideshow-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.slideshow-container:hover {
    box-shadow: 0 16px 50px rgba(26, 28, 38, 0.15), 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.news-slide1 .mySlides {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.news-slide1 .mySlides img {
    border-radius: 24px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(1) contrast(1);
}

.news-slide1:hover .mySlides img {
    transform: scale(1.04);
    filter: brightness(1.03) contrast(1.03);
}

.news-slide2 .mySlides-small {
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.news-slide2 .mySlides-small img {
    border-radius: 24px;
    height: 280px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(1) contrast(1);
}

.news-slide2:hover .mySlides-small img {
    transform: scale(1.04);
    filter: brightness(1.03) contrast(1.03);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: #1a1c26;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #1a1c26 100%);
    border-radius: 2px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1a1c26 0%, #2d3142 50%, #1a1c26 100%);
    background-size: 200% 100%;
    border-radius: 3px;
    animation: gradientShift 3s ease infinite;
}

.section-title p {
    color: #666;
    font-size: 17px;
    margin-top: 30px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Pagination Styles */
.blog-pagination {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.blog-pagination .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination .pagination li {
    margin: 0;
}

.blog-pagination .pagination li a,
.blog-pagination .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.blog-pagination .pagination li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(26, 28, 38, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.blog-pagination .pagination li a:hover::before {
    width: 200%;
    height: 200%;
}

.blog-pagination .pagination li a:hover {
    background: linear-gradient(135deg, #1a1c26 0%, #2d3142 100%);
    color: #fff;
    border-color: #1a1c26;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(26, 28, 38, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-pagination .pagination li.active span {
    background: linear-gradient(135deg, #1a1c26 0%, #2d3142 100%);
    color: #fff;
    border-color: #1a1c26;
    box-shadow: 0 6px 20px rgba(26, 28, 38, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.blog-pagination .pagination li.active span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #1a1c26 0%, #2d3142 100%);
    border-radius: 2px;
}

/* Fix for RTL layout */
[dir="rtl"] .read-more-link {
    direction: rtl;
}

[dir="rtl"] .read-more-link:hover {
    transform: translateX(5px);
}

[dir="rtl"] .read-more-link:hover i {
    transform: translateX(3px);
}

/* Blog Container Improvements */
.blog-main-container {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 0;
    min-height: 100vh;
    position: relative;
}

.blog-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(26, 28, 38, 0.02) 0%, rgba(45, 49, 66, 0.02) 100%);
    pointer-events: none;
}

.blog-content-wrapper {
    background: #fff;
    padding: 50px 0 80px;
    margin-top: -40px;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.08), 0 -2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
}

.blog-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(26, 28, 38, 0.15) 50%, transparent 100%);
}

/* Empty State */
.blog-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.blog-empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.blog-empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #666;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-cards-container > div {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.blog-cards-container > div:nth-child(1) { animation-delay: 0.05s; }
.blog-cards-container > div:nth-child(2) { animation-delay: 0.1s; }
.blog-cards-container > div:nth-child(3) { animation-delay: 0.15s; }
.blog-cards-container > div:nth-child(4) { animation-delay: 0.2s; }
.blog-cards-container > div:nth-child(5) { animation-delay: 0.25s; }
.blog-cards-container > div:nth-child(6) { animation-delay: 0.3s; }
.blog-cards-container > div:nth-child(7) { animation-delay: 0.35s; }
.blog-cards-container > div:nth-child(8) { animation-delay: 0.4s; }
.blog-cards-container > div:nth-child(9) { animation-delay: 0.45s; }
.blog-cards-container > div:nth-child(10) { animation-delay: 0.5s; }
.blog-cards-container > div:nth-child(11) { animation-delay: 0.55s; }
.blog-cards-container > div:nth-child(12) { animation-delay: 0.6s; }
