/* ==========================================================================
   Motomarine v3 · Single post
   .cs-article = breadcrumb, centered head, hero photo, prose in .cs-text,
   tags + share foot and an author box. --sidebar left-aligns the head next
   to the blog widgets from blog.css.
   ========================================================================== */

/* --- Head --- */
.cs-article__head {
    max-width: 840px;
    margin: 0 auto 32px;
    text-align: center;
}
.cs-article__head .cs-badge {
    margin-bottom: 16px;
}
.cs-article__title {
    margin-bottom: 18px;
    font-size: 2.375rem;
    line-height: 1.2;
}
.cs-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 22px;
    font-size: 14px;
    color: var(--muted);
}
.cs-article__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cs-article__meta i {
    color: var(--primary);
}
.cs-article__meta img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.cs-article__meta strong {
    font-weight: 600;
    color: var(--heading);
}
.cs-article__hero {
    margin-bottom: 40px;
    border-radius: 0;
    overflow: hidden;
}
.cs-article__hero img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Prose --- */
.cs-article__body {
    max-width: 760px;
    margin: 0 auto;
}
.cs-article__body .cs-text {
    max-width: none;
}
.cs-article__body .cs-text h2 {
    margin: 36px 0 14px;
    font-size: 1.625rem;
    scroll-margin-top: 110px;
}
.cs-article__body .cs-text .cs-list {
    margin: 4px 0 24px;
}
.cs-article__figure {
    margin: 32px 0;
}
.cs-article__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.cs-article__figure figcaption {
    padding-top: 10px;
    font-size: 13px;
    color: var(--muted);
}
.cs-article__box {
    margin: 32px 0;
    padding: 24px 28px;
    border-radius: 0;
    background: var(--light-bg);
}
.cs-article__box h3,
.cs-article__box h4 {
    margin-bottom: 14px;
}
.cs-article__body .cs-article__box .cs-list {
    margin: 0;
}

/* --- Foot: tags + share --- */
.cs-article__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cs-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cs-article__tags a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: 13px;
    color: var(--heading);
    transition: var(--transition);
}
.cs-article__tags a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.cs-article__share {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--heading);
}

/* --- Author box --- */
.cs-article__author {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 32px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 0;
}
.cs-article__author img {
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}
.cs-article__eyebrow {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--primary);
}
.cs-article__author h4 {
    margin-bottom: 2px;
}
.cs-article__author-role {
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--muted);
}
.cs-article__author p {
    margin: 0 0 12px;
    font-size: 14px;
}

/* --- With sidebar --- */
.cs-article--sidebar .cs-article__head {
    max-width: none;
    margin-bottom: 28px;
    text-align: left;
}
.cs-article--sidebar .cs-article__meta {
    justify-content: flex-start;
}
.cs-article--sidebar .cs-article__hero {
    margin-bottom: 32px;
}
.cs-article--sidebar .cs-article__body {
    max-width: none;
}
.cs-widget--dark {
    border-color: var(--heading);
    background: var(--heading);
}
.cs-widget--dark .cs-widget__title {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, .12);
}
.cs-widget--dark p {
    margin: 0 0 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
}

/* --- Responsive --- */
@media (max-width: 575px) {
    .cs-article__head {
        margin-bottom: 24px;
    }
    .cs-article__head .cs-badge {
        margin-bottom: 12px;
    }
    .cs-article__title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    .cs-article__meta {
        gap: 6px 14px;
        font-size: 13px;
    }
    .cs-article__hero {
        margin-bottom: 28px;
    }
    .cs-article__author {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
    }
    .cs-article__box {
        padding: 20px;
    }
}
