/* ============================================================
   WIZZPER – TREND ARTIKEL LAYOUT (blog_trend.css)
   ============================================================ */

/* ------------------------------------------------------------
   GLOBAL
------------------------------------------------------------ */
body {
    font-family: "Inter", sans-serif;
    background: #f5f7fa;
    color: #222;
    margin: 0;
    padding: 0;
}

.page-content {
    width: 100%;
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ------------------------------------------------------------
   MAIN WRAPPER
------------------------------------------------------------ */
.blog-article-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    max-width: 900px;
    margin: auto;
}

/* ------------------------------------------------------------
   HEADER IMAGE
------------------------------------------------------------ */
.blog-header-img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 10px;
}

.blog-image-hint {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 18px;
    margin-top: -6px;
}

/* ------------------------------------------------------------
   META + TITEL
------------------------------------------------------------ */
.blog-date {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    line-height: 1.3;
}

/* ------------------------------------------------------------
   CONTENT
------------------------------------------------------------ */
.blog-content {
    font-size: 1.12rem;
    line-height: 1.75;
    color: #374151;
}

.blog-content h2 {
    font-size: 1.55rem;
    margin-top: 35px;
    margin-bottom: 16px;
    color: #0d9488;
}

.blog-content h3 {
    font-size: 1.28rem;
    margin-top: 28px;
    margin-bottom: 12px;
    color: #111;
}

.blog-content p {
    margin-bottom: 18px;
}

/* Images inside content */
.blog-content img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 25px 0;
}

/* ------------------------------------------------------------
   AUTHOR BOX
------------------------------------------------------------ */
.blog-author-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin: 40px 0 35px;
    align-items: flex-start;
}

.blog-author-box .author-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
}

.author-role {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 6px;
}

.author-bio {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.35rem;
}

/* ------------------------------------------------------------
   RELATED ARTICLES
------------------------------------------------------------ */
.related-box {
    background: #ffffff;
    padding: 22px 20px;
    border-radius: 14px;
    margin-top: 55px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.related-box h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
}

.related-box ul {
    padding-left: 20px;
    margin: 0;
}

.related-box li {
    margin-bottom: 8px;
}

.related-box a {
    color: #0d9488;
    font-weight: 600;
    text-decoration: none;
}

.related-box a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------
   MOBILE RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 700px) {

    .blog-article-container {
        padding: 18px;
        border-radius: 12px;
    }

    .blog-title {
        font-size: 1.55rem;
        margin-bottom: 18px;
        line-height: 1.35;
    }

    .blog-content {
        font-size: 1rem;
        line-height: 1.55;
    }

    .blog-content h2 {
        font-size: 1.35rem;
    }

    .blog-content h3 {
        font-size: 1.15rem;
    }

    .blog-author-box {
        flex-direction: column;
        text-align: left;
        gap: 10px;
    }

    .related-box {
        padding: 16px;
    }
}

/* ================================
   TREND PRODUCT BOX
================================ */

.trend-product-box {
    display: flex;
    gap: 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 22px;
    border-radius: 14px;
    margin: 35px 0;
    align-items: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: 0.2s ease;
}

.trend-product-box:hover {
    box-shadow: 0 5px 18px rgba(0,0,0,0.10);
}

.tpb-left {
    flex: 0 0 150px;
}

.tpb-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
    padding: 6px;
}

.tpb-right {
    flex: 1;
}

.tpb-title {
    font-size: 1.35rem;
    margin: 0 0 10px;
    color: #111;
}

.tpb-price {
    font-size: 1.55rem;
    font-weight: 700;
    color: #00a884;
    margin-bottom: 6px;
}

.tpb-rating {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 12px;
}

.tpb-btn {
    display: inline-block;
    background: #00a884;
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.15s;
}

.tpb-btn:hover {
    background: #009873;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 650px) {
    .trend-product-box {
        flex-direction: column;
        text-align: center;
        padding: 18px;
    }
    .tpb-left {
        max-width: 220px;
        width: 100%;
        margin-bottom: 15px;
    }
}

