﻿/* =========================================================
   ARTICLE PAGE — themed for light/dark, fully responsive
========================================================= */

.article-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .article-container { padding: 0 24px; }
}

/* BREADCRUMB */
.article-breadcrumb {
    font-size: 0.8rem;
    color: var(--tpe-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.article-breadcrumb a {
    color: var(--tpe-primary);
    font-weight: 600;
}

.article-breadcrumb a:hover { text-decoration: underline; }

.article-breadcrumb span {
    color: var(--tpe-muted);
}

.article-breadcrumb span:last-child {
    color: var(--tpe-text);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 250px;
}

/* CATEGORY LABEL */
.article-category {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--tpe-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* TITLE */
.article-main-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    color: var(--tpe-text);
}

/* META */
.article-meta {
    font-size: 0.85rem;
    color: var(--tpe-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta span {
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-meta i { font-size: 0.85rem; }

/* SUMMARY LEAD */
.article-summary-lead {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--tpe-soft);
    margin-bottom: 24px;
    padding-left: 14px;
    border-left: 3px solid var(--tpe-primary);
}

/* FEATURED IMAGE */
.article-featured-image {
    margin-bottom: 24px;
    border-radius: var(--tpe-radius);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ARTICLE BODY */
.article-body {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--tpe-text);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--tpe-text);
}

.article-body h2 { font-size: 1.35rem; }
.article-body h3 { font-size: 1.15rem; }

.article-body p { margin-bottom: 16px; }

.article-body ul,
.article-body ol {
    margin-bottom: 18px;
    padding-left: 20px;
}

.article-body li { margin-bottom: 6px; }

.article-body a {
    color: var(--tpe-primary);
    text-decoration: underline;
}

.article-body blockquote {
    border-left: 4px solid var(--tpe-primary);
    padding-left: 16px;
    margin: 24px 0;
    color: var(--tpe-soft);
    font-style: italic;
}

.article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
}

.article-body strong { font-weight: 700; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .article-main-title {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .article-summary-lead {
        font-size: 0.98rem;
        padding-left: 12px;
    }

    .article-body {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .article-body h2 { font-size: 1.2rem; }
    .article-body h3 { font-size: 1.05rem; }

    .article-container {
        margin-top: 12px;
    }
}

@media (max-width: 576px) {
    .article-main-title {
        font-size: 1.35rem;
    }

    .article-meta {
        font-size: 0.78rem;
        gap: 4px;
    }

    .article-meta span { margin-right: 4px; }

    .article-breadcrumb span:last-child {
        max-width: 180px;
    }
}
