/* ================================================
   article-page.css
   Individual article page styles.
   Load order: reset.css → global.css → articles.css → article-page.css
   ================================================ */

/* ── ARTICLE WRAPPER ─────────────────────────── */
.art {
    max-width: 740px;
    margin: 0 auto;
    padding: 3.5rem 2rem 5rem;
}

/* ── HEADER ──────────────────────────────────── */
.art__header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.art__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    color: #BE0F17;
    margin-bottom: 1.5rem;
}

.art__intro {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.65;
    color: #374151;
    border-left: 3px solid #2A4C69;
    padding-left: 1.25rem;
    margin-bottom: 1.75rem;
}

/* ── META ROW ────────────────────────────────── */
.art__meta {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.art__meta-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b7280;
}

.art__meta-sep {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d1d5db;
    margin: 0 0.75rem;
    flex-shrink: 0;
}

.art__translate {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2A4C69;
    text-decoration: none;
    border: 1px solid #a8c4dd;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}

.art__translate:hover {
    background: #2A4C69;
    color: #ffffff;
}

/* ── BODY CONTENT ────────────────────────────── */
.art__body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1f2937;
}

.art__body p {
    margin-bottom: 1.4rem;
}

.art__body p:last-child { margin-bottom: 0; }

.art__body h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin: 2.5rem 0 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2A4C69;
}

.art__body strong { color: #111827; }

.art__body a {
    color: #2A4C69;
    text-decoration: underline;
    transition: color 0.2s;
}

.art__body a:hover { color: #1e3750; }

/* ── IMAGES ──────────────────────────────────── */
.art__img {
    width: 100%;
    height: auto;
    display: block;
    margin: 2.5rem 0 0;
    border: 1px solid #e5e7eb;
    padding: 6px;
    background: #ffffff;
}

.art__caption {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: #9ca3af;
    font-style: italic;
    margin: 0.6rem 0 2.5rem;
    padding-left: 6px;
    line-height: 1.5;
    border-left: 2px solid #e5e7eb;
}

/* ── FINAL SENTENCE ──────────────────────────── */
.art__final {
    background: #f0f5fa;
    border-left: 3px solid #2A4C69;
    padding: 1.25rem 1.5rem;
    border-radius: 0 3px 3px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #1f2937;
    line-height: 1.65;
}

/* ── PREV / NEXT ─────────────────────────────── */
.art__prevnext {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.art__prev,
.art__next {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2A4C69;
    text-decoration: none;
    transition: color 0.2s;
}

.art__prev:hover,
.art__next:hover { color: #1e3750; }

.art__nav-arrow {
    font-size: 1rem;
    transition: transform 0.2s;
}

.art__prev:hover .art__nav-arrow { transform: translateX(-3px); }
.art__next:hover .art__nav-arrow { transform: translateX(3px); }

.art__nav-label { color: inherit; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 700px) {
    .art              { padding: 2.5rem 1.5rem 4rem; }
    .art__prevnext    { padding: 1.5rem 1.5rem 3rem; }
    .art__title       { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .art__intro       { font-size: 1rem; }
    .art__body        { font-size: 1rem; }
}

/* ── TL;DR BOX ───────────────────────────────── */
.tldr {
    background: #f0f5fa;
    border-left: 3px solid #2A4C69;
    border-radius: 0 3px 3px 0;
    padding: 1.25rem 1.5rem;
    margin: 0 0 2rem;
}

.tldr p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2A4C69;
    margin-bottom: 0.75rem !important;
}

.ultldr {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ultldr li {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.55;
    padding: 0.35rem 0 0.35rem 1.1rem;
    position: relative;
}

.ultldr li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2A4C69;
    font-size: 0.85rem;
}