/* =====================================================
   BLOG PAGE STYLES - WienMaler
   Color scheme: Green (#2d7a4e)
   ===================================================== */

/* =====================================================
   BLOG HERO SECTION
   ===================================================== */

.blog-hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.blog-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.blog-hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4e 50%, #1a4d2e 100%);
}

.blog-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.blog-hero__breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.blog-hero__breadcrumb-link:hover {
    color: #fff;
}

.blog-hero__breadcrumb-sep {
    width: 12px;
    height: 12px;
    opacity: 0.4;
    filter: brightness(0) invert(1);
}

.blog-hero__breadcrumb-current {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.blog-hero__content {
    max-width: 700px;
}

.blog-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
}

.blog-hero__label img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.blog-hero__title {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
}

.blog-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0 0 36px;
}

.blog-hero__stats {
    display: flex;
    gap: 40px;
}

.blog-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-hero__stat-num {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.blog-hero__stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* =====================================================
   BLOG MAIN CONTENT
   ===================================================== */

.blog-main {
    background: #f8f9fa;
    padding: 60px 0 80px;
}

.blog-main__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   BLOG GRID
   ===================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

/* =====================================================
   BLOG CARD
   ===================================================== */

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

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

.blog-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f0e8;
    flex-shrink: 0;
}

.blog-card__image::before,
.blog-card__image::after {
    display: none !important;
}

.blog-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s;
    filter: none !important;
    max-width: 100% !important;
    max-height: 100% !important;
    position: static !important;
    transform: none;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__category {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(45, 122, 78, 0.9);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.blog-card__category img {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.blog-card__body {
    padding: 22px 24px 26px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-card__date {
    font-size: 13px;
    color: #666;
}

.blog-card__time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #888;
}

.blog-card__time img {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.blog-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2d7a4e;
    transition: gap 0.2s;
}

.blog-card:hover .blog-card__more {
    gap: 10px;
}

.blog-card__more img {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.blog-card:hover .blog-card__more img {
    transform: translateX(2px);
}

/* =====================================================
   BLOG PAGINATION
   ===================================================== */

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 60px;
}

.blog-pagination__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination__btn:hover {
    background: #2d7a4e;
    border-color: #2d7a4e;
    color: #fff;
}

.blog-pagination__btn:hover img {
    filter: brightness(0) invert(1);
}

.blog-pagination__btn img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.blog-pagination__nums {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-pagination__num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination__num:hover {
    background: #f0f0f0;
}

.blog-pagination__num--active {
    background: #2d7a4e;
    border-color: #2d7a4e;
    color: #fff;
}

.blog-pagination__dots {
    padding: 0 8px;
    color: #999;
}

/* =====================================================
   BLOG POPULAR SECTION
   ===================================================== */

.blog-popular {
    background: #fff;
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 48px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.blog-popular__header {
    text-align: center;
    margin-bottom: 36px;
}

.blog-popular__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 122, 78, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #2d7a4e;
    margin-bottom: 16px;
}

.blog-popular__label img {
    width: 18px;
    height: 18px;
}

.blog-popular__title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.blog-popular__desc {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.blog-popular__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-popular__card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    position: relative;
}

.blog-popular__card:hover {
    background: #f2f8f4;
    transform: translateY(-4px);
}

.blog-popular__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-popular__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2d7a4e 0%, #1a4d2e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.blog-popular__icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.blog-popular__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #2d7a4e;
    background: rgba(45, 122, 78, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.blog-popular__card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-popular__card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-popular__card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-popular__date {
    font-size: 13px;
    color: #888;
}

.blog-popular__arrow {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.blog-popular__card:hover .blog-popular__arrow {
    background: #2d7a4e;
}

.blog-popular__arrow img {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.blog-popular__card:hover .blog-popular__arrow img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* =====================================================
   BLOG CTA SECTION
   ===================================================== */

.blog-cta {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.blog-cta__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4e 50%, #1a4d2e 100%);
}

.blog-cta__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.blog-cta__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    padding: 56px;
    align-items: center;
}

.blog-cta__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
}

.blog-cta__label img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.blog-cta__title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
}

.blog-cta__desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 0 28px;
}

.blog-cta__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-cta__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.blog-cta__feature img {
    width: 18px;
    height: 18px;
}

.blog-cta__card {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.blog-cta__card-icon {
    width: 64px;
    height: 64px;
    background: #f2f8f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.blog-cta__card-icon img {
    width: 32px;
    height: 32px;
}

.blog-cta__card-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.blog-cta__phone {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #2d7a4e;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.blog-cta__phone:hover {
    color: #1a4d2e;
}

.blog-cta__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    color: #999;
    font-size: 14px;
}

.blog-cta__divider::before,
.blog-cta__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.blog-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: #2d7a4e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
}

.blog-cta__btn:hover {
    background: #1a4d2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 122, 78, 0.3);
}

.blog-cta__btn img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

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

    .blog-popular__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-cta__content {
        grid-template-columns: 1fr 360px;
        gap: 36px;
        padding: 48px;
    }
}

@media (max-width: 1024px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-hero__title {
        font-size: 40px;
    }

    .blog-hero__stats {
        gap: 28px;
    }

    .blog-cta__content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px;
    }

    .blog-cta__title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 48px;
    }

    .blog-hero__title {
        font-size: 32px;
    }

    .blog-hero__subtitle {
        font-size: 16px;
    }

    .blog-hero__stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .blog-hero__stat-num {
        font-size: 22px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-main {
        padding: 40px 0 60px;
    }

    .blog-popular {
        padding: 32px 20px;
    }

    .blog-popular__title {
        font-size: 26px;
    }

    .blog-popular__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-popular__card {
        padding: 20px;
    }

    .blog-cta__content {
        padding: 32px 20px;
    }

    .blog-cta__title {
        font-size: 26px;
    }

    .blog-cta__desc {
        font-size: 15px;
    }

    .blog-cta__card {
        padding: 28px 20px;
    }

    .blog-cta__phone {
        font-size: 24px;
    }

    .blog-pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .blog-pagination__btn span {
        display: none;
    }

    .blog-pagination__btn {
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 90px 0 40px;
    }

    .blog-hero__container {
        padding: 0 16px;
    }

    .blog-hero__title {
        font-size: 28px;
    }

    .blog-hero__label {
        font-size: 13px;
        padding: 6px 12px;
    }

    .blog-main__container {
        padding: 0 16px;
    }

    .blog-card__body {
        padding: 18px 20px 22px;
    }

    .blog-card__title {
        font-size: 16px;
    }

    .blog-popular__title {
        font-size: 22px;
    }

    .blog-cta__title {
        font-size: 22px;
    }

    .blog-cta__features {
        gap: 8px;
    }

    .blog-cta__feature {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .blog-hero {
        padding: 85px 0 36px;
    }

    .blog-hero__title {
        font-size: 24px;
    }

    .blog-hero__subtitle {
        font-size: 14px;
    }

    .blog-hero__stat-num {
        font-size: 18px;
    }

    .blog-hero__stat-label {
        font-size: 12px;
    }

    .blog-popular__title {
        font-size: 20px;
    }

    .blog-cta__title {
        font-size: 20px;
    }

    .blog-cta__phone {
        font-size: 20px;
    }
}
