/* ==========================================================================
   Jaroha article rendering engine
   Shared by Jaroha.UserUI (public site) and Jaroha.AdminUI (live preview).
   Component-based: every section type styles itself and reusable pieces are
   shared across all templates. Supports light and dark themes.
   ========================================================================== */

.article {
    --art-ink: #111827;
    --art-muted: #64748b;
    --art-line: #e2e8f0;
    --art-surface: #ffffff;
    --art-soft: #f1f5f9;
    --art-accent: #2563eb;
    --art-accent-soft: rgba(37, 99, 235, 0.1);
    --art-quote: #0f172a;
    --art-radius: 14px;
    --art-measure: 46rem;

    color: var(--art-ink);
    background: var(--art-surface);
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.7;
}

/* Dark theme — follows the OS and the explicit toggle. */
@media (prefers-color-scheme: dark) {
    .article:not([data-theme='light']) {
        --art-ink: #d1d5db;
        --art-muted: #94a3b8;
        --art-line: #1e293b;
        --art-surface: #0c131d;
        --art-soft: #111a2e;
        --art-accent: #60a5fa;
        --art-accent-soft: rgba(96, 165, 250, 0.14);
        --art-quote: #f8fafc;
    }

    .article:not([data-theme='light']) .article-headline,
    .article:not([data-theme='light']) .article-section-title,
    .article:not([data-theme='light']) .article-related-title,
    .article:not([data-theme='light']) .article-author-name {
        color: #ffffff;
    }
}

.article[data-theme='dark'] {
    --art-ink: #d1d5db;
    --art-muted: #94a3b8;
    --art-line: #1e293b;
    --art-surface: #0c131d;
    --art-soft: #111a2e;
    --art-accent: #60a5fa;
    --art-accent-soft: rgba(96, 165, 250, 0.14);
    --art-quote: #f8fafc;
}

/* Dark theme: headings render white, body text stays light grey */
.article[data-theme='dark'] .article-headline,
.article[data-theme='dark'] .article-section-title,
.article[data-theme='dark'] .article-related-title,
.article[data-theme='dark'] .article-author-name {
    color: #ffffff;
}

/* ---- Header -------------------------------------------------------------- */
.article-header {
    max-width: var(--art-measure);
    margin: 0 auto 2rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--art-muted);
    margin-bottom: 1rem;
}

.article-kicker {
    background: var(--art-accent-soft);
    color: var(--art-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

a.article-kicker:hover {
    background: var(--art-accent);
    color: #fff;
}

.article-byline--link {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color .15s ease;
}

.article-byline--link:hover {
    color: var(--art-accent);
    text-decoration: underline;
}

.article-headline {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 0.9rem;
    text-wrap: balance;
}

.article-subheadline {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--art-muted);
    margin: 0 0 1rem;
}

.article-standfirst {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--art-muted);
    font-weight: 500;
    margin-bottom: 1.25rem;
    text-wrap: pretty;
}

.article-hero {
    margin: 1.5rem 0 0;
    border-radius: var(--art-radius);
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Body ---------------------------------------------------------------- */
.article-body {
    max-width: var(--art-measure);
    margin: 0 auto;
}

.article-section {
    margin: 0 0 2rem;
}

.article-section-title {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.25;
    margin: 2.4rem 0 0.9rem;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

/* Three visibly different section-heading sizes, below the article headline. */
.article-section-title--h2 {
    font-size: clamp(1.5rem, 3vw, 2.05rem);
}

.article-section-title--h3 {
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.article-section-title--h4 {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 600;
}

.article-prose p {
    margin: 0 0 1.15rem;
    font-size: 1.0625rem;
    line-height: 1.78;
    text-wrap: pretty;
}

.article-prose p:last-child {
    margin-bottom: 0;
}

.article-prose a {
    color: var(--art-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.article-prose a:hover {
    text-decoration-thickness: 2px;
}

/* ---- Ad slots ------------------------------------------------------------ */
.article .ad-unit {
    text-align: center;
    margin: 2rem auto;
}

.article .ad-caption {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--art-muted);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.article .ad-placeholder {
    border: 1px dashed var(--art-line);
    border-radius: var(--art-radius);
    background: var(--art-soft);
    color: var(--art-muted);
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article .ad-placeholder.ad-top-banner {
    min-height: 96px;
}

.article .ad-placeholder.ad-inline {
    min-height: 96px;
}

/* ---- Figure / gallery ---------------------------------------------------- */
.article-figure,
.article-video,
.article-audio,
.article-embed {
    margin: 1.75rem 0;
}

.article-figure img,
.article-video video,
.article-audio audio {
    width: 100%;
    border-radius: var(--art-radius);
    display: block;
}

.article-figure figcaption,
.article-video figcaption,
.article-embed figcaption,
.article-gallery-item figcaption {
    font-size: 0.82rem;
    color: var(--art-muted);
    margin-top: 0.5rem;
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.article-gallery-item {
    margin: 0;
    border-radius: var(--art-radius);
    overflow: hidden;
    background: var(--art-soft);
}

.article-gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.article-gallery-item figcaption {
    padding: 0.6rem 0.75rem;
    margin: 0;
}

.article-embed-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--art-radius);
    overflow: hidden;
    background: #000;
}

.article-embed-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- Quote --------------------------------------------------------------- */
.article-quote {
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    border-left: 4px solid var(--art-accent);
    background: var(--art-soft);
    border-radius: 0 var(--art-radius) var(--art-radius) 0;
}

.article-quote p {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    line-height: 1.35;
    color: var(--art-quote);
    margin: 0 0 0.6rem;
}

.article-quote cite {
    font-style: normal;
    font-weight: 600;
    color: var(--art-muted);
}

/* ---- FAQ ----------------------------------------------------------------- */
.article-faq {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.article-faq-item {
    border: 1px solid var(--art-line);
    border-radius: var(--art-radius);
    padding: 0.9rem 1.1rem;
    background: var(--art-surface);
}

.article-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.article-faq-item summary::-webkit-details-marker {
    display: none;
}

.article-faq-item summary::after {
    content: '+';
    float: right;
    color: var(--art-accent);
    font-weight: 700;
}

.article-faq-item[open] summary::after {
    content: '–';
}

.article-faq-item p {
    margin: 0.75rem 0 0;
    color: var(--art-muted);
}

/* ---- Timeline ------------------------------------------------------------ */
.article-timeline {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    position: relative;
}

.article-timeline::before {
    content: '';
    position: absolute;
    left: 0.42rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: var(--art-line);
}

.article-timeline-item {
    position: relative;
    padding: 0 0 1.6rem 1.75rem;
}

.article-timeline-marker {
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: var(--art-accent);
    box-shadow: 0 0 0 4px var(--art-accent-soft);
}

.article-timeline-date {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--art-accent);
}

.article-timeline-title {
    font-size: 1.1rem;
    margin: 0.2rem 0 0.4rem;
}

.article-timeline-image {
    width: 100%;
    border-radius: var(--art-radius);
    margin: 0.5rem 0;
}

/* ---- Table --------------------------------------------------------------- */
.article-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--art-line);
    border-radius: var(--art-radius);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.article-table th,
.article-table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--art-line);
    vertical-align: top;
}

.article-table thead th {
    background: var(--art-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--art-muted);
}

.article-table tbody tr:last-child th,
.article-table tbody tr:last-child td {
    border-bottom: 0;
}

/* ---- Chart --------------------------------------------------------------- */
.article-chart {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 1.5rem 0;
}

.article-chart-row {
    display: grid;
    grid-template-columns: minmax(6rem, 12rem) 1fr auto;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.article-chart-label {
    color: var(--art-muted);
}

.article-chart-track {
    background: var(--art-soft);
    border-radius: 999px;
    height: 0.75rem;
    overflow: hidden;
}

.article-chart-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--art-accent), #7c3aed);
    border-radius: 999px;
}

.article-chart-value {
    font-weight: 700;
}

/* ---- Statistics ---------------------------------------------------------- */
.article-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.75rem 0;
}

.article-stat {
    background: var(--art-soft);
    border-radius: var(--art-radius);
    padding: 1.25rem;
    text-align: center;
}

.article-stat-value {
    display: block;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--art-accent);
    line-height: 1.1;
}

.article-stat-label {
    display: block;
    font-weight: 600;
    margin-top: 0.35rem;
}

.article-stat-note {
    display: block;
    font-size: 0.82rem;
    color: var(--art-muted);
}

/* ---- Callout ------------------------------------------------------------- */
.article-callout {
    display: flex;
    gap: 0.9rem;
    background: var(--art-accent-soft);
    border: 1px solid var(--art-line);
    border-radius: var(--art-radius);
    padding: 1.1rem 1.25rem;
    margin: 1.75rem 0;
}

.article-callout-icon {
    color: var(--art-accent);
    font-size: 1.4rem;
    line-height: 1;
}

.article-callout-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.article-callout p {
    margin: 0 0 0.5rem;
}

.article-callout p:last-child {
    margin-bottom: 0;
}

/* ---- CTA ----------------------------------------------------------------- */
.article-cta {
    margin: 1.75rem 0;
}

.article-cta-button {
    display: inline-block;
    background: var(--art-accent);
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
}

.article-cta-button:hover {
    filter: brightness(1.08);
}

/* ---- Checklist ----------------------------------------------------------- */
.article-checklist {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.article-checklist-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.article-checklist-item i {
    color: var(--art-accent);
    font-size: 1.15rem;
    line-height: 1.5;
}

.article-checklist-text {
    display: block;
    color: var(--art-muted);
    font-weight: 400;
}

/* ---- Bulleted list ------------------------------------------------------- */
.article-bullets {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.article-bullet {
    position: relative;
    padding-left: 1.35rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.article-bullet::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.7em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--art-accent);
}

.article-bullet strong {
    margin-right: 0.35rem;
}

/* ---- Code ---------------------------------------------------------------- */
.article-code {
    background: #0b1220;
    color: #e2e8f0;
    border-radius: var(--art-radius);
    padding: 1.1rem 1.25rem;
    overflow-x: auto;
    font-size: 0.88rem;
}

/* ---- People -------------------------------------------------------------- */
.article-people {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.article-person {
    display: flex;
    gap: 0.85rem;
    background: var(--art-soft);
    border-radius: var(--art-radius);
    padding: 1rem;
}

.article-person-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 56px;
}

.article-person-avatar--placeholder {
    display: grid;
    place-items: center;
    background: var(--art-accent-soft);
    color: var(--art-accent);
    font-size: 1.5rem;
}

.article-person-name {
    margin: 0;
    font-size: 1rem;
}

.article-person-role {
    font-size: 0.82rem;
    color: var(--art-accent);
    font-weight: 600;
}

.article-person-bio {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: var(--art-muted);
}

/* ---- References ---------------------------------------------------------- */
.article-references {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.article-reference {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.article-reference i {
    color: var(--art-accent);
}

.article-reference-text {
    display: block;
    font-size: 0.86rem;
    color: var(--art-muted);
}

/* ---- Tags / related ------------------------------------------------------ */
.article-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    max-width: var(--art-measure);
    margin: 2.5rem auto 0;
}

.article-tags li {
    background: var(--art-soft);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    color: var(--art-muted);
}

.article-related {
    max-width: var(--art-measure);
    margin: 3rem auto 0;
    border-top: 1px solid var(--art-line);
    padding-top: 1.75rem;
}

.article-related-title {
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.article-related-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--art-surface);
    border: 1px solid var(--art-line);
    border-radius: var(--art-radius);
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.article-related-card:hover {
    transform: translateY(-3px);
    border-color: var(--art-accent);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

.article-related-thumb {
    display: block;
}

.article-related-thumb img {
    width: 100%;
    height: 168px;
    object-fit: cover;
    display: block;
}

.article-related-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 1rem 1.15rem;
}

.article-related-kicker {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--art-accent);
    font-weight: 700;
}

.article-related-headline {
    display: block;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
}

/* ==========================================================================
   Per-template visual identity. Each of the 20 templates gets a distinct
   accent treatment while sharing every component above.
   ========================================================================== */
.article-layout--breaking-news {
    --art-accent: #dc2626;
    --art-accent-soft: rgba(220, 38, 38, 0.12);
}

.article-layout--breaking-news .article-callout {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

.article-layout--breaking-news .article-callout-icon {
    color: #fff;
}

.article-layout--feature-story {
    --art-measure: 42rem;
}

.article-layout--feature-story .article-headline {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.article-layout--opinion {
    --art-accent: #7c3aed;
    --art-accent-soft: rgba(124, 58, 237, 0.12);
    --art-measure: 40rem;
}

.article-layout--opinion .article-quote p {
    font-style: italic;
}

.article-layout--interview {
    --art-accent: #0d9488;
    --art-accent-soft: rgba(13, 148, 136, 0.12);
}

.article-layout--listicle .article-timeline-title {
    font-size: 1.3rem;
}

.article-layout--listicle .article-timeline-marker {
    border-radius: 6px;
}

.article-layout--product-review,
.article-layout--comparison {
    --art-accent: #ea580c;
    --art-accent-soft: rgba(234, 88, 12, 0.12);
}

.article-layout--product-review .article-stats {
    background: var(--art-soft);
    border-radius: var(--art-radius);
    padding: 1rem;
}

.article-layout--case-study,
.article-layout--customer-success {
    --art-accent: #0f766e;
    --art-accent-soft: rgba(15, 118, 110, 0.12);
}

.article-layout--research-report,
.article-layout--industry-trends {
    --art-accent: #1d4ed8;
    --art-accent-soft: rgba(29, 78, 216, 0.12);
}

.article-layout--faq .article-headline {
    text-align: left;
}

.article-layout--timeline .article-timeline::before {
    background: linear-gradient(180deg, var(--art-accent), #7c3aed);
}

.article-layout--event-coverage {
    --art-accent: #db2777;
    --art-accent-soft: rgba(219, 39, 119, 0.12);
}

.article-layout--how-to {
    --art-accent: #059669;
    --art-accent-soft: rgba(5, 150, 105, 0.12);
}

.article-layout--explainer,
.article-layout--resource-roundup {
    --art-accent: #0891b2;
    --art-accent-soft: rgba(8, 145, 178, 0.12);
}

.article-layout--product-announcement,
.article-layout--company-announcement {
    --art-accent: #4f46e5;
    --art-accent-soft: rgba(79, 70, 229, 0.12);
}

/* ---- Author byline hover card -------------------------------------------- */
.article-byline-author {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.article-author-card {
    position: absolute;
    top: 100%;
    left: 0;
    /* The padding is the bridge between the name and the card: the pointer can
       travel across the gap without leaving the wrapper and closing the card. */
    padding-top: 0.6rem;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.35rem);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.article-byline-author:hover .article-author-card,
.article-byline-author:focus-within .article-author-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.article-author-card-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    width: 20rem;
    max-width: min(20rem, 78vw);
    padding: 1rem;
    background: var(--art-surface);
    color: var(--art-ink);
    border: 1px solid var(--art-line);
    border-radius: var(--art-radius);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
    text-align: left;
}

.article-author-card-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.article-author-card-photo--placeholder {
    display: grid;
    place-items: center;
    background: var(--art-accent-soft);
    color: var(--art-accent);
    font-size: 1.6rem;
}

.article-author-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.article-author-card-name {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
}

.article-author-card-role {
    color: var(--art-accent);
    font-weight: 600;
    font-size: 0.8rem;
}

.article-author-card-bio {
    color: var(--art-muted);
    font-size: 0.85rem;
    line-height: 1.55;
}

.article-author-card-link {
    margin-top: 0.35rem;
    color: var(--art-accent);
    font-weight: 600;
    font-size: 0.8rem;
}

.article-author-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.6rem;
    color: var(--art-accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.article-author-profile-link:hover {
    text-decoration: underline;
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 768px) {
    .article {
        padding: 1.5rem 1rem 3rem;
    }

    .article-chart-row {
        grid-template-columns: 1fr auto;
    }

    .article-chart-track {
        grid-column: 1 / -1;
        order: 3;
    }

    .article-related-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .article-related-thumb img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .article-stats {
        grid-template-columns: 1fr 1fr;
    }

    .article-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

.article-figure.img-size-sm {
    max-width: 360px;
}

.article-figure.img-size-md {
    max-width: 560px;
}

.article-figure.img-size-lg {
    max-width: 760px;
}

.article-figure.img-size-full {
    max-width: 100%;
}

.article-figure.img-align-left {
    margin-left: 0;
    margin-right: auto;
}

.article-figure.img-align-center {
    margin-left: auto;
    margin-right: auto;
}

.article-figure.img-align-right {
    margin-left: auto;
    margin-right: 0;
}

.article-inline-image {
    margin: 1rem 0;
}

.article-inline-image img {
    display: block;
    border-radius: var(--art-radius);
}

.article-inline-image--left {
    float: left;
    margin-right: 1rem;
}

.article-inline-image--right {
    float: right;
    margin-left: 1rem;
}

.article-inline-image--inline {
    float: none;
}

.article-inline-image--sm img { max-width: 220px; }
.article-inline-image--md img { max-width: 360px; }
.article-inline-image--lg img { max-width: 520px; }

.article-divider {
    border: 0;
    border-top: 1px solid var(--art-line);
    margin: 1.5rem 0;
}
