/* =====================================================
   BLOG PAGE STYLES - BodenProfis Wien
   Color scheme matching index.vto (teal/turquoise)
   ===================================================== */

/* =====================================================
   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, #1a3a3a 0%, #0d4f4f 50%, #1a5f5f 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-link img {
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

.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;
}

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

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

.blog-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    max-height: 180px;
}

.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: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(26, 58, 58, 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;
    flex-shrink: 0;
    opacity: 0.6;
}

.blog-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    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: #555;
    line-height: 1.6;
    margin: 0 0 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: #0d4f4f;
    transition: gap 0.2s;
}

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

.blog-card__more img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: invert(25%) sepia(50%) saturate(500%) hue-rotate(140deg);
}

/* =====================================================
   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;
    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: #0d4f4f;
    border-color: #0d4f4f;
    color: #fff;
}

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

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

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

.blog-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    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: #0d4f4f;
    border-color: #0d4f4f;
    color: #fff;
}

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

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

.blog-popular {
    margin-bottom: 64px;
}

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

.blog-popular__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 100%);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #b8860b;
    margin-bottom: 16px;
}

.blog-popular__label img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: invert(50%) sepia(80%) saturate(500%) hue-rotate(15deg);
}

.blog-popular__title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    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: #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;
}

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

.blog-popular__link {
    display: block;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.blog-popular__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e8f5f5 0%, #d4eded 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.blog-popular__icon img {
    width: 24px;
    height: 24px;
    filter: invert(25%) sepia(50%) saturate(500%) hue-rotate(140deg);
}

.blog-popular__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #0d4f4f 0%, #1a5f5f 100%);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-popular__card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    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;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

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

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

.blog-popular__card:hover .blog-popular__arrow {
    background: #0d4f4f;
}

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

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

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

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

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

.blog-cta__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a3a3a 0%, #0d4f4f 50%, #1a5f5f 100%);
}

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

.blog-cta__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: 16px;
}

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

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

.blog-cta__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0 0 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;
    flex-shrink: 0;
    filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(80deg);
}

.blog-cta__card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-cta__card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e8f5f5 0%, #d4eded 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.blog-cta__card-icon img {
    width: 32px;
    height: 32px;
    filter: invert(25%) sepia(50%) saturate(500%) hue-rotate(140deg);
}

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

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

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

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

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

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

.blog-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0d4f4f 0%, #1a5f5f 100%);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 79, 79, 0.3);
}

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

/* =====================================================
   RESPONSIVE - 1200px
   ===================================================== */

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

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

    .blog-popular__grid .blog-popular__card:last-child {
        display: none;
    }
}

/* =====================================================
   RESPONSIVE - 1024px
   ===================================================== */

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

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

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

    .blog-cta__card {
        max-width: 360px;
        margin: 0 auto;
    }
}

/* =====================================================
   RESPONSIVE - 768px
   ===================================================== */

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

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

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

    .blog-hero__stats {
        gap: 24px;
    }

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

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

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

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

    .blog-popular__grid .blog-popular__card:last-child {
        display: block;
    }

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

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

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

/* =====================================================
   RESPONSIVE - 480px
   ===================================================== */

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

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

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

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

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

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

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

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

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

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

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

    .blog-pagination__num {
        width: 36px;
        height: 36px;
    }

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

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

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

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

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

/* =====================================================
   RESPONSIVE - 375px
   ===================================================== */

@media (max-width: 375px) {
    .blog-hero__container {
        padding: 0 16px;
    }

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

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

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

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