/* Article page — extends resume/base.css */

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.article-header h1 {
    margin-bottom: 0.5rem;
}

.article-meta {
    font-size: 0.8rem;
    color: #888;
    margin: 0.25rem 0 0.75rem;
}

.article-meta a {
    color: #888;
}

.article-meta a:hover {
    color: red;
}

.article-lede {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
    font-style: italic;
    margin: 1rem 0 0;
}

/* Images */
article img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 1.5rem auto;
    border: 1px solid #e0e0e0;
}

/* Code */
article code {
    font-family: 'Courier New', Courier, monospace;
    background: #f4f4f4;
    border-radius: 3px;
    padding: 0.1em 0.35em;
    font-size: 0.83em;
    color: #c7254e;
}

article pre {
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 5px;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.82rem;
    line-height: 1.55;
    border-left: 4px solid red;
}

article pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* Blockquotes */
article blockquote {
    border-left: 4px solid #ddd;
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    color: #555;
    font-style: italic;
    background: #fafafa;
    border-radius: 0 4px 4px 0;
}

article blockquote p {
    margin: 0.25rem 0;
    color: #555;
}

/* Tables */
article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

article th,
article td {
    text-align: left;
    padding: 0.6rem 0.85rem;
    border: 1px solid #ddd;
}

article th {
    background: #f5f5f5;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
}

article tr:nth-child(even) td {
    background: #fafafa;
}

/* YouTube / video embeds */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 5px;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    font-size: 0.78rem;
    color: #888;
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

/* Horizontal rule */
article hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 3rem 0;
}

/* Publication note */
.article-canonical {
    margin-top: 4rem;
    padding: 1rem 1.25rem;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #777;
    border-left: 3px solid #ddd;
}

.article-canonical a {
    color: #555;
}

.article-canonical a:hover {
    color: red;
}
