/* =============================================
   Homepage Blog Section - Vortice 2026
   Redesigned header matching Featured Products style
   ============================================= */

.vortice-blog-section {
    background-color: #00963E;
    padding: 96px 0;
    width: 100%;
    font-family: 'Fira Sans', sans-serif !important;
    position: relative;
    overflow: hidden;
}

.vortice-blog-section *,
.vortice-blog-section h2,
.vortice-blog-section h3,
.vortice-blog-section p,
.vortice-blog-section a,
.vortice-blog-section span {
    font-family: 'Fira Sans', sans-serif !important;
}

.vortice-blog-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .vortice-blog-container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .vortice-blog-container {
        padding: 0 60px;
    }
}

/* Section Header - matching Featured Products style */
.vortice-blog-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.vortice-blog-title {
    font-size: 48px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 24px 0 !important;
    letter-spacing: -0.025em !important;
    text-transform: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    word-spacing: 0.15em;
}

@media (min-width: 1024px) {
    .vortice-blog-title {
        font-size: 60px !important;
    }
}

.vortice-blog-title strong {
    font-weight: 600 !important;
    background: linear-gradient(135deg, #ffffff 0%, #b8f0d0 40%, #ffffff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.vortice-blog-desc {
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 300 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    padding: 0 !important;
}

/* Blog Grid - 3 columns */
.vortice-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .vortice-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .vortice-blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Blog Card */
.vortice-blog-card {
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none !important;
}

.vortice-blog-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-8px);
}

.vortice-blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vortice-blog-card-link:hover,
.vortice-blog-card-link:focus,
.vortice-blog-card-link:visited {
    text-decoration: none;
    color: inherit;
}

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

.vortice-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.vortice-blog-card:hover .vortice-blog-card-image img {
    transform: scale(1.1);
}

.vortice-blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
}

/* Category Badge */
.vortice-blog-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #00963E;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-family: 'Fira Sans', sans-serif !important;
}

/* Card Body */
.vortice-blog-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Card Meta */
.vortice-blog-card-meta {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #9ca3af;
    margin-bottom: 16px;
    gap: 8px;
    line-height: 1.5;
    font-family: 'Fira Sans', sans-serif !important;
}

.vortice-blog-card-meta i {
    color: #9ca3af;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.vortice-blog-card-readmore i {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Card Title */
.vortice-blog-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
    padding: 0;
    line-height: 30px;
    transition: color 0.3s ease;
    font-family: 'Fira Sans', sans-serif !important;
}

.vortice-blog-card:hover .vortice-blog-card-title {
    color: #00963E;
}

/* Card Excerpt */
.vortice-blog-card-excerpt {
    font-size: 16px;
    color: #4b5563;
    margin: 0 0 20px 0;
    line-height: 1.7;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Fira Sans', sans-serif !important;
}

/* Read More */
.vortice-blog-card-readmore {
    display: inline-flex;
    align-items: center;
    color: #00963E;
    font-weight: 600;
    font-size: 16px;
    margin-top: auto;
    gap: 8px;
    font-family: 'Fira Sans', sans-serif !important;
}

.vortice-blog-card-readmore i {
    transition: transform 0.3s ease;
}

.vortice-blog-card:hover .vortice-blog-card-readmore {
    text-decoration: underline;
}

.vortice-blog-card:hover .vortice-blog-card-readmore i {
    transform: translateX(4px);
}

/* ---- Green "Zobacz więcej" Button ---- */
.vortice-blog-btn-wrapper {
    text-align: center;
    margin-top: 48px;
}

.vortice-blog-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 16px 32px !important;
    background: #ffffff !important;
    color: #00963E !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -4px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease;
    font-size: 14px !important;
    line-height: 1 !important;
    border: none !important;
    font-family: 'Fira Sans', sans-serif !important;
}

.vortice-blog-btn:hover {
    background: #111827 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .vortice-blog-section {
        padding: 64px 0;
    }

    .vortice-blog-header {
        margin-bottom: 48px;
    }

    .vortice-blog-title {
        font-size: 36px !important;
    }

    .vortice-blog-desc {
        font-size: 18px !important;
    }
}
