/**
 * Dodo Blog Cards - Styles
 * Version: 1.0.0
 */

/* Container */
.dodo-blog-cards-wrapper {
    position: relative;
    overflow: hidden;
}

/* Section Header */
.dodo-section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.dodo-section-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dodo-section-subtitle {
    font-size: 18px;
    color: #333333;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
}

/* Blog Cards Grid - Flexbox */
.dodo-blog-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.dodo-blog-cards-grid.dodo-columns-1 .dodo-blog-card {
    width: 100%;
}

.dodo-blog-cards-grid.dodo-columns-2 .dodo-blog-card {
    width: calc(50% - 15px);
}

.dodo-blog-cards-grid.dodo-columns-3 .dodo-blog-card {
    width: calc(33.333% - 20px);
}

.dodo-blog-cards-grid.dodo-columns-4 .dodo-blog-card {
    width: calc(25% - 22.5px);
}

/* Blog Card */
.dodo-blog-card {
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Hover Animations */
.dodo-blog-card.hover-float:hover {
    transform: translateY(-10px);
}

.dodo-blog-card.hover-scale:hover {
    transform: scale(1.02);
}

/* Card Image */
.dodo-blog-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.dodo-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.dodo-blog-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Image Hover Effects */
.dodo-blog-card-image.image-effect-zoom:hover img {
    transform: scale(1.1);
}

.dodo-blog-card-image.image-effect-grayscale img {
    filter: grayscale(100%);
}

.dodo-blog-card-image.image-effect-grayscale:hover img {
    filter: grayscale(0%);
}

.dodo-blog-card-image.image-effect-blur:hover img {
    filter: blur(2px);
}

/* Card Content */
.dodo-blog-card-content {
    padding: 25px;
}

/* Post Title */
.dodo-blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: #000000;
}

.dodo-blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dodo-blog-card-title a:hover {
    color: #E91E8C;
}

/* Meta */
.dodo-blog-card-meta {
    font-size: 14px;
    margin-bottom: 15px;
    color: #E91E8C;
}

.dodo-blog-card-meta .meta-prefix {
    color: #E91E8C;
}

.dodo-blog-card-meta .author-name {
    color: #E91E8C;
    font-weight: 500;
}

.dodo-blog-card-meta .post-date {
    color: #E91E8C;
}

/* Excerpt */
.dodo-blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 15px;
}

/* Read More */
.dodo-blog-card-read-more a {
    font-size: 14px;
    color: #E91E8C;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dodo-blog-card-read-more a:hover {
    color: #C4156F;
}

/* Decorative Elements */
.dodo-decorative {
    position: absolute;
    z-index: 1;
}

/* Top Left Decoration */
.dodo-decorative-top-left {
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
}

.dodo-decor-bar {
    width: 200px;
    height: 50px;
    background-color: #FFD700;
}

.dodo-decor-shapes {
    position: relative;
    width: 80px;
    height: 80px;
    margin-left: -10px;
    margin-top: 10px;
}

.dodo-decor-arc {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border: 8px solid #00BCD4;
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-45deg);
}

.dodo-decor-diamond {
    position: absolute;
    top: 30px;
    left: 25px;
    width: 16px;
    height: 16px;
    border: 6px solid #E91E8C;
    transform: rotate(45deg);
    background: transparent;
}

/* Bottom Right Decoration */
.dodo-decorative-bottom-right {
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.dodo-decor-shapes-bottom {
    position: relative;
    width: 80px;
    height: 80px;
    margin-right: 20px;
    margin-bottom: -20px;
}

.dodo-decor-arc-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    border: 8px solid #E91E8C;
    border-radius: 50%;
    border-left-color: transparent;
    border-top-color: transparent;
    transform: rotate(-45deg);
}

.dodo-decor-diamond-bottom {
    position: absolute;
    bottom: 30px;
    right: 35px;
    width: 16px;
    height: 16px;
    border: 6px solid #E91E8C;
    transform: rotate(45deg);
    background: transparent;
}

.dodo-decor-bar-bottom {
    width: 200px;
    height: 50px;
    background-color: #FFD700;
}

/* No Posts Message */
.dodo-no-posts {
    text-align: center;
    padding: 40px;
    color: #666666;
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .dodo-blog-cards-grid.dodo-columns-tablet-1 .dodo-blog-card {
        width: 100%;
    }
    
    .dodo-blog-cards-grid.dodo-columns-tablet-2 .dodo-blog-card {
        width: calc(50% - 15px);
    }
    
    .dodo-blog-cards-grid.dodo-columns-tablet-3 .dodo-blog-card {
        width: calc(33.333% - 20px);
    }
    
    .dodo-section-title {
        font-size: 36px;
    }
    
    .dodo-decor-bar {
        width: 150px;
        height: 40px;
    }
    
    .dodo-decor-bar-bottom {
        width: 150px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .dodo-blog-cards-grid.dodo-columns-mobile-1 .dodo-blog-card {
        width: 100%;
    }
    
    .dodo-blog-cards-grid.dodo-columns-mobile-2 .dodo-blog-card {
        width: calc(50% - 15px);
    }
    
    .dodo-section-title {
        font-size: 28px;
    }
    
    .dodo-section-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .dodo-decor-bar {
        width: 100px;
        height: 30px;
    }
    
    .dodo-decor-bar-bottom {
        width: 100px;
        height: 30px;
    }
    
    .dodo-decor-shapes,
    .dodo-decor-shapes-bottom {
        width: 60px;
        height: 60px;
    }
    
    .dodo-decor-arc,
    .dodo-decor-arc-bottom {
        width: 35px;
        height: 35px;
        border-width: 6px;
    }
    
    .dodo-decor-diamond,
    .dodo-decor-diamond-bottom {
        width: 12px;
        height: 12px;
        border-width: 4px;
    }
    
    .dodo-blog-card-content {
        padding: 20px;
    }
    
    .dodo-blog-card-title {
        font-size: 18px;
    }
}

/* Editor Placeholder Image Fallback */
.dodo-blog-card-image img[src*="placeholder"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
