/* ==========================================================================
   Oscar Studio — blog article (detail) page styles
   Shared layout (header, footer, buttons, .cta-band) comes from the global
   rssite.css.
   ========================================================================== */

.article-wrap {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Breadcrumb
   ------------------------------------------------------------------------ */
.breadcrumb {
    padding: 28px 0 0;
    font-size: 13.5px;
    color: var(--text-3);
}

.breadcrumb a {
    color: var(--text-2);
}

.breadcrumb a:hover {
    color: var(--navy-900);
}

/* Article header
   ------------------------------------------------------------------------ */
.article-header {
    padding: 28px 0 40px;
}

.post-tag {
    display: inline-flex;
    background: var(--surface);
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 18px;
}

.article-lead {
    font-size: 17px;
    color: var(--text-2);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    flex-shrink: 0;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
}

.meta-sub {
    font-size: 13px;
    color: var(--text-3);
}

/* Cover
   ------------------------------------------------------------------------ */
.article-cover-wrap {
    max-width: 1100px;
    margin: 0 auto 56px;
    padding: 0 32px;
}

.article-cover {
    height: 420px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .85);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 22px;
    text-align: center;
    padding: 0 24px;
}

/* Article body
   ------------------------------------------------------------------------ */
.article-body {
    padding-bottom: 56px;
}

.article-body p {
    font-size: 16.5px;
    color: var(--text-1);
    margin-bottom: 22px;
}

.article-body h2 {
    font-size: 25px;
    margin: 44px 0 16px;
}

.article-body h3 {
    font-size: 19px;
    margin: 32px 0 14px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 22px 22px;
}

.article-body li {
    font-size: 16.5px;
    color: var(--text-1);
    margin-bottom: 10px;
}

.article-body a {
    color: var(--blue-600);
    text-decoration: underline;
}

.pull-quote {
    border-left: 3px solid var(--blue-500);
    padding: 4px 0 4px 24px;
    margin: 36px 0;
    font-size: 19px;
    font-weight: 600;
    color: var(--navy-900);
    font-family: 'Manrope', sans-serif;
    line-height: 1.5;
}

.info-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    margin: 36px 0;
}

.info-box .label {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--blue-600);
    margin-bottom: 10px;
}

.info-box p {
    font-size: 15px;
    color: var(--text-2);
    margin-bottom: 0;
}

/* Tags + share
   ------------------------------------------------------------------------ */
.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 64px;
}

.tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-chip {
    background: var(--surface);
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
}

.share-row {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--navy-900);
}

.share-btn:hover {
    border-color: var(--navy-800);
}

/* Related
   ------------------------------------------------------------------------ */
.related-section {
    padding: 0 0 96px;
}

.section-head-sm {
    margin-bottom: 32px;
}

.section-head-sm h2 {
    font-size: 24px;
    font-weight: 800;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.post-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(11, 42, 74, .08);
    border-color: var(--blue-500);
}

.post-cover {
    height: 150px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    font-size: 13px;
    text-align: center;
    padding: 0 16px;
}

.post-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-card h3 {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
}

/* CTA
   ------------------------------------------------------------------------ */
.cta-wrap {
    max-width: 1180px;
    margin: 0 auto 96px;
    padding: 0 32px;
}

.template-articlepage .cta-band {
    margin-top: 0;
}

/* Responsive
   ------------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .article-wrap,
    .article-cover-wrap,
    .related-grid,
    .cta-wrap {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 900px) {
    .article-header h1 {
        font-size: 28px;
    }

    .article-cover {
        height: 220px;
        font-size: 16px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .article-wrap,
    .article-cover-wrap,
    .related-grid,
    .cta-wrap {
        padding-left: 18px;
        padding-right: 18px;
    }
}
