/* ========================================
   Blog Page - Unique Design
   Color Scheme: Brown #8B5E3C + Beige #F5F0E8
   ======================================== */

/* Reset for blog page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-width: 1920px;
    min-width: 375px;
    margin: 0 auto;
}

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

.blog-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.blog-hero__shape--1 {
    width: 500px;
    height: 500px;
    background: #8B5E3C;
    top: -150px;
    right: -100px;
}

.blog-hero__shape--2 {
    width: 350px;
    height: 350px;
    background: #8B5E3C;
    bottom: -100px;
    left: -80px;
}

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

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

.blog-hero__breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B4E2E;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.blog-hero__breadcrumb-link img {
    opacity: 0.7;
}

.blog-hero__breadcrumb-sep {
    opacity: 0.4;
}

.blog-hero__breadcrumb-current {
    color: #8B5E3C;
    font-size: 14px;
    font-weight: 600;
}

/* Hero Content */
.blog-hero__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.blog-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 94, 60, 0.1);
    color: #8B5E3C;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.blog-hero__label img {
    filter: brightness(0) saturate(100%) invert(36%) sepia(32%) saturate(800%) hue-rotate(356deg) brightness(92%) contrast(90%);
}

.blog-hero__title {
    font-size: 52px;
    font-weight: 800;
    color: #2B1F14;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.blog-hero__subtitle {
    font-size: 18px;
    color: #5A4433;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Hero Stats */
.blog-hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 32px;
    border-top: 2px solid rgba(139, 94, 60, 0.15);
}

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

.blog-hero__stat-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #8B5E3C;
    margin-bottom: 6px;
}

.blog-hero__stat-label {
    display: block;
    font-size: 13px;
    color: #6B4E2E;
    font-weight: 500;
}

/* ========================================
   Blog Main Content
   ======================================== */
.blog-main {
    background: #FFFFFF;
    padding: 80px 0;
}

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

/* ========================================
   Blog Grid
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(43, 31, 20, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(43, 31, 20, 0.12);
}

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

.blog-card__image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #F5F0E8;
}

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

.blog-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #8B5E3C;
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

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

.blog-card__body {
    padding: 24px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.blog-card__date {
    font-size: 13px;
    color: #8B5E3C;
    font-weight: 600;
}

.blog-card__time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6B4E2E;
    font-weight: 500;
}

.blog-card__time img {
    opacity: 0.6;
}

.blog-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #2B1F14;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.blog-card:hover .blog-card__title {
    color: #8B5E3C;
}

.blog-card__excerpt {
    font-size: 14px;
    color: #5A4433;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8B5E3C;
    font-size: 14px;
    font-weight: 700;
    transition: gap 0.3s;
}

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

.blog-card__more img {
    filter: brightness(0) saturate(100%) invert(36%) sepia(32%) saturate(800%) hue-rotate(356deg) brightness(92%) contrast(90%);
}

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

.blog-pagination__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #F5F0E8;
    color: #8B5E3C;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s, transform 0.2s;
}

.blog-pagination__btn:hover {
    background: #8B5E3C;
    color: #FFFFFF;
    transform: scale(1.05);
}

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

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

.blog-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #F5F0E8;
    color: #6B4E2E;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.blog-pagination__num:hover {
    background: #8B5E3C;
    color: #FFFFFF;
    transform: scale(1.1);
}

.blog-pagination__num--active {
    background: #8B5E3C;
    color: #FFFFFF;
}

.blog-pagination__dots {
    color: #B8A28E;
    font-weight: 700;
    padding: 0 8px;
}

/* ========================================
   Popular Articles Section
   ======================================== */
.blog-popular {
    background: linear-gradient(135deg, #F5F0E8 0%, #E8DFD0 100%);
    border-radius: 24px;
    padding: 60px 48px;
    margin-bottom: 80px;
}

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

.blog-popular__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 94, 60, 0.15);
    color: #8B5E3C;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.blog-popular__label img {
    filter: brightness(0) saturate(100%) invert(36%) sepia(32%) saturate(800%) hue-rotate(356deg) brightness(92%) contrast(90%);
}

.blog-popular__title {
    font-size: 36px;
    font-weight: 800;
    color: #2B1F14;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.blog-popular__desc {
    font-size: 16px;
    color: #5A4433;
}

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

/* Popular Card */
.blog-popular__card {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

.blog-popular__badge {
    display: inline-block;
    background: rgba(139, 94, 60, 0.1);
    color: #8B5E3C;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.blog-popular__card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2B1F14;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.blog-popular__card:hover .blog-popular__card-title {
    color: #8B5E3C;
}

.blog-popular__card-excerpt {
    font-size: 14px;
    color: #5A4433;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.blog-popular__date {
    font-size: 12px;
    color: #8B5E3C;
    font-weight: 600;
}

.blog-popular__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #F5F0E8;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
}

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

.blog-popular__arrow img {
    transition: filter 0.3s;
}

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

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

.blog-cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-cta__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

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

.blog-cta__shape--2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
}

.blog-cta__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.blog-cta__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.blog-cta__title {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

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

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

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

/* CTA Action Card */
.blog-cta__action {
    display: flex;
    justify-content: flex-end;
}

.blog-cta__card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 36px 32px;
    text-align: center;
    max-width: 360px;
    width: 100%;
}

.blog-cta__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #8B5E3C 0%, #6B4E2E 100%);
    border-radius: 16px;
    margin: 0 auto 20px;
}

.blog-cta__card-icon img {
    filter: brightness(0) invert(1);
}

.blog-cta__card-label {
    display: block;
    font-size: 13px;
    color: #6B4E2E;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-cta__phone {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #8B5E3C;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.blog-cta__phone:hover {
    color: #6B4E2E;
}

.blog-cta__divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.blog-cta__divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(139, 94, 60, 0.2);
}

.blog-cta__divider span {
    position: relative;
    display: inline-block;
    background: #FFFFFF;
    padding: 0 12px;
    font-size: 12px;
    color: #8B5E3C;
    font-weight: 600;
}

.blog-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #8B5E3C;
    color: #FFFFFF;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.3s, transform 0.2s;
}

.blog-cta__btn:hover {
    background: #6B4E2E;
    transform: scale(1.05);
}

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

/* ========================================
   Responsive Design
   ======================================== */

/* Large Screens - 1200px */
@media (max-width: 1200px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

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

    .blog-hero__stats {
        gap: 36px;
    }

    .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: 40px;
    }

    .blog-cta__action {
        justify-content: center;
    }

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

/* Tablets - 1024px */
@media (max-width: 1024px) {
    .blog-hero__container,
    .blog-main__container {
        padding: 0 24px;
    }

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

    .blog-hero__stats {
        gap: 28px;
    }

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

    .blog-grid {
        gap: 24px;
    }

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

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

    .blog-cta {
        padding: 48px 40px;
    }
}

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

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

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

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

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

    .blog-popular {
        padding: 40px 24px;
    }

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

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

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

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

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

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

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

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

    .blog-hero__stats {
        gap: 20px;
        padding-top: 24px;
    }

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

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

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

    .blog-grid {
        gap: 20px;
        margin-bottom: 48px;
    }

    .blog-card__image {
        height: 200px;
    }

    .blog-card__body {
        padding: 20px;
    }

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

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

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

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

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

    .blog-popular__grid {
        gap: 20px;
    }

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

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

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

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

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

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

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

    .blog-pagination {
        margin-bottom: 60px;
        gap: 12px;
    }

    .blog-pagination__btn {
        padding: 10px 18px;
        font-size: 13px;
    }

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

/* Small Mobile - 375px */
@media (max-width: 375px) {
    .blog-hero {
        padding: 80px 0 36px;
    }

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

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

    .blog-hero__stats {
        gap: 16px;
    }

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

    .blog-card__image {
        height: 180px;
    }

    .blog-card__body {
        padding: 18px;
    }

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

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

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

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

    .blog-popular__card {
        padding: 20px 18px;
    }

    .blog-popular__card-title {
        font-size: 17px;
    }

    .blog-popular__card-excerpt {
        font-size: 13px;
    }

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

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

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

    .blog-cta__features {
        gap: 12px;
    }

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

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

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

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