html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: #fcfdff;
    color: #223855;
}

#blog-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero */
.blog-hero {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    border-bottom: 1px solid #dde5ee;
    padding: 28px 20px 10px;
}

.blog-hero-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.blog-hero-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
}

.back-products-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: #223855;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(34, 56, 85, 0.14);
    transition: all 0.2s ease;
}

.back-products-btn:hover {
    background: #1a2d45;
    color: #ffffff;
    transform: translateY(-1px);
}

.blog-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blog-label {
    margin: 0 0 12px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #667d99;
}

.blog-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: #19365b;
    word-break: break-word;
}

/* Content */
.blog-content-section {
    width: 100%;
    padding: 34px 20px 64px;
    box-sizing: border-box;
}

.blog-frame-shell {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
}

.blog-frame {
    width: 100%;
    height: min(78vh, 1100px);
    min-height: 720px;
    border: none;
    display: block;
    border-radius: 16px;
    background: #ffffff;
}

/* Tablet */
@media (max-width: 992px) {
    .blog-hero {
        padding: 24px 18px 34px;
    }

    .blog-hero-top {
        margin-bottom: 22px;
    }

    .blog-content-section {
        padding: 26px 16px 48px;
    }

    .blog-frame-shell {
        padding: 14px;
        border-radius: 18px;
    }

    .blog-frame {
        height: 72vh;
        min-height: 620px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .blog-hero {
        padding: 18px 14px 26px;
    }

    .blog-hero-top {
        margin-bottom: 18px;
    }

    .back-products-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .blog-label {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }

    .blog-hero h1 {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
        line-height: 1.18;
    }

    .blog-content-section {
        padding: 18px 10px 34px;
    }

    .blog-frame-shell {
        padding: 10px;
        border-radius: 14px;
    }

    .blog-frame {
        height: 68vh;
        min-height: 480px;
        border-radius: 10px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .blog-hero-content {
        max-width: 100%;
    }

    .back-products-btn {
        width: auto;
        max-width: 100%;
    }

    .blog-frame {
        height: 65vh;
        min-height: 420px;
    }
}