/**
 * KüchenMontagePro - Blog Page Styles
 * Küchenmontage Wien - Blog & Ratgeber
 */

/* ========================================
   Variables (inherit from main.css)
   ======================================== */
:root {
    --blog-primary: #F97316;
    --blog-primary-dark: #EA580C;
    --blog-secondary: #1E3A5F;
    --blog-secondary-dark: #152A45;
}

/* ========================================
   Blog Hero Section
   ======================================== */
.blog-hero {
    position: relative;
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, var(--blog-secondary) 0%, var(--blog-secondary-dark) 100%);
    overflow: hidden;
}

.blog-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blog-hero__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
}

.blog-hero__shape--1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
}

.blog-hero__shape--2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
    background: rgba(255, 255, 255, 0.03);
}

.blog-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.blog-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

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

.blog-hero__breadcrumb-link:hover {
    color: var(--blog-primary);
}

.blog-hero__breadcrumb-link img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

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

.blog-hero__breadcrumb-current {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

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

.blog-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blog-primary);
    background: rgba(249, 115, 22, 0.15);
    border-radius: 50px;
    margin-bottom: 20px;
}

.blog-hero__label img {
    width: 18px;
    height: 18px;
    filter: invert(50%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(100%);
}

.blog-hero__title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
}

.blog-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Stats */
.blog-hero__stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.blog-hero__stat {
    text-align: center;
}

.blog-hero__stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--blog-primary);
}

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

/* ========================================
   Blog Main Content
   ======================================== */
.blog-main {
    padding: 60px 24px 80px;
    background: #f8fafc;
}

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

/* ========================================
   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 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.blog-card__link {
    display: block;
    height: 100%;
}

.blog-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.blog-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--blog-primary);
    border-radius: 50px;
}

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

.blog-card__body {
    padding: 24px;
}

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

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

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

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

.blog-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blog-primary);
    transition: gap 0.2s;
}

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

.blog-card__more img {
    width: 16px;
    height: 16px;
    filter: invert(50%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(100%);
}

/* ========================================
   Blog Pagination
   ======================================== */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 64px;
}

.blog-pagination__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blog-secondary);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
}

.blog-pagination__btn:hover {
    background: var(--blog-primary);
    color: #fff;
}

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

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

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

.blog-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blog-secondary);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
}

.blog-pagination__num:hover {
    background: var(--blog-primary);
    color: #fff;
}

.blog-pagination__num--active {
    background: var(--blog-primary);
    color: #fff;
}

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

/* ========================================
   Blog Popular Section
   ======================================== */
.blog-popular {
    margin-bottom: 64px;
}

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

.blog-popular__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blog-primary);
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50px;
    margin-bottom: 16px;
}

.blog-popular__label img {
    width: 18px;
    height: 18px;
    filter: invert(50%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(100%);
}

.blog-popular__title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 10px;
}

.blog-popular__desc {
    font-size: 16px;
    color: #6b7280;
}

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

.blog-popular__card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-popular__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.blog-popular__link {
    display: block;
}

.blog-popular__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
}

.blog-popular__icon img {
    width: 24px;
    height: 24px;
    filter: invert(50%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(100%);
}

.blog-popular__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--blog-primary);
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50px;
}

.blog-popular__card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.blog-popular__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.blog-popular__arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blog-primary);
    border-radius: 50%;
    transition: transform 0.2s;
}

.blog-popular__card:hover .blog-popular__arrow {
    transform: translateX(4px);
}

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

/* ========================================
   Blog CTA Section
   ======================================== */
.blog-cta {
    position: relative;
    background: linear-gradient(135deg, var(--blog-secondary) 0%, var(--blog-secondary-dark) 100%);
    border-radius: 24px;
    padding: 60px;
    overflow: hidden;
}

.blog-cta__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blog-cta__shape {
    position: absolute;
    border-radius: 50%;
}

.blog-cta__shape--1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    background: rgba(249, 115, 22, 0.1);
}

.blog-cta__shape--2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: 20%;
    background: rgba(255, 255, 255, 0.03);
}

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

.blog-cta__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blog-primary);
    background: rgba(249, 115, 22, 0.15);
    border-radius: 50px;
    margin-bottom: 16px;
}

.blog-cta__label img {
    width: 18px;
    height: 18px;
    filter: invert(50%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(100%);
}

.blog-cta__title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.blog-cta__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 24px;
}

.blog-cta__features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-cta__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.blog-cta__feature img {
    width: 18px;
    height: 18px;
    filter: invert(50%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(100%);
}

/* CTA Card */
.blog-cta__card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.blog-cta__card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    margin: 0 auto 16px;
}

.blog-cta__card-icon img {
    width: 32px;
    height: 32px;
    filter: invert(50%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(100%);
}

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

.blog-cta__phone {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--blog-secondary);
    margin-bottom: 20px;
    transition: color 0.2s;
}

.blog-cta__phone:hover {
    color: var(--blog-primary);
}

.blog-cta__divider {
    position: relative;
    margin-bottom: 20px;
}

.blog-cta__divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.blog-cta__divider span {
    position: relative;
    padding: 0 16px;
    font-size: 13px;
    color: #9ca3af;
    background: #fff;
}

.blog-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--blog-primary), var(--blog-primary-dark));
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

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

/* ========================================
   Responsive - 1024px
   ======================================== */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .blog-cta__action {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========================================
   Responsive - 768px
   ======================================== */
@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 20px 60px;
    }

    .blog-hero__stats {
        gap: 24px;
    }

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

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

    .blog-card__image {
        height: 180px;
    }

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

    .blog-cta {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .blog-cta__features {
        flex-wrap: wrap;
        gap: 10px;
    }

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

/* ========================================
   Responsive - 480px
   ======================================== */
@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 16px 48px;
    }

    .blog-hero__breadcrumb {
        margin-bottom: 24px;
    }

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

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

    .blog-hero__stats {
        gap: 20px;
    }

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

    .blog-main {
        padding: 32px 16px 48px;
    }

    .blog-card__body {
        padding: 20px;
    }

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

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

    .blog-pagination__btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .blog-pagination__num {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .blog-popular__card {
        padding: 20px;
    }

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

    .blog-cta__card {
        padding: 24px;
    }

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

/* ========================================
   Responsive - 375px
   ======================================== */
@media (max-width: 375px) {
    .blog-hero {
        padding: 90px 12px 40px;
    }

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

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

    .blog-hero__stats {
        gap: 12px;
    }

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

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

    .blog-main {
        padding: 28px 12px 40px;
    }

    .blog-card__body {
        padding: 16px;
    }

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

    .blog-card__excerpt {
        font-size: 13px;
    }

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

    .blog-cta {
        padding: 28px 16px;
    }

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

    .blog-cta__card {
        padding: 20px;
    }

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

    .blog-cta__btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
