/* ═══════════════════════════════════════════
   news.css — Chatwood Labs news article styles
   Apply to all /news/ article pages
   ═══════════════════════════════════════════ */

/* Tighter top padding */
.content-section {
    padding-top: 2rem;
}

/* Tag + date row */
.article-tag-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.content-block .article-back-top,
.article-back-top {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    text-decoration: none;
    transition: color 0.25s ease;
    border-bottom: none !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.content-block .article-back-top:hover,
.article-back-top:hover {
    color: var(--accent-orange) !important;
    border-bottom: none !important;
}

.article-tag-date-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.article-tag {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-orange);
    text-align: right;
}

.article-date {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: right;
    white-space: nowrap;
}



.article-callout {
    border-left: 4px solid var(--accent-orange);
    padding: 1.25rem 1.75rem;
    margin: 2.5rem 0;
    background: rgba(255, 107, 53, 0.04);
    border-radius: 0 6px 6px 0;
}

.article-callout p {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    font-style: italic;
    line-height: 1.65 !important;
}

/* ══ SINGLE IMAGE BLOCK ══
   Usage: drop anywhere between <p> tags.
   Remove <figcaption> if no caption needed. */
.article-figure {
    margin: 2.5rem 0;
}

.article-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.article-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* ══ VIDEO BLOCK ══
   Usage: drop anywhere between <p> tags.
   For YouTube/Vimeo: use <iframe> inside .article-video-wrap.
   For self-hosted: use <video controls> inside .article-video-wrap.
   Remove <figcaption> if no caption needed. */
.article-video {
    margin: 2.5rem 0;
}

.article-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--secondary-light);
}

.article-video-wrap iframe,
.article-video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.article-video figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* Back nav */
.article-back {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-back a {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.article-back a:hover {
    color: var(--accent-orange);
}

.article-back a::before {
    content: '← ';
}
