/* ---------------------------------------------------------------------------
 * SkyCiv - single blog post layout.
 * Markup comes from functions/skyciv-blog-single.php + single.php.
 * Header, page-title banner, the CTA above the footer and the footer itself
 * are Avada Theme Builder territory and are deliberately untouched here.
 * ------------------------------------------------------------------------- */

/* The site-wide content area is dark navy; the article design is light. */
body.single-post #main {
    background: #ffffff;
}

/* Not in the design: prev/next text link, sharing, author, related carousel,
   comment form (the template already skips most of these - this is a safety
   net for anything Avada prints through a filter). */
body.single-post .single-navigation,
body.single-post .fusion-sharing-box,
body.single-post .about-author,
body.single-post .related-posts,
body.single-post #comments,
body.single-post .comment-respond,
body.single-post #disqus_thread {
    display: none !important;
}

/* --- Post title ---------------------------------------------------------
 * Rendered by the theme until the banner is rebuilt in Theme Builder; styled
 * so the page reads correctly in the meantime.
 * --------------------------------------------------------------------- */
body.single-post .entry-title.fusion-post-title {
    max-width: 1340px;
    margin: 0 auto 54px;
    padding: 0 24px;
    font-family: "Manrope", sans-serif !important;
    font-weight: 500 !important;
    font-size: clamp(34px, 4vw, 64px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.01em;
    color: #01071F !important;
}

/* --- Article ------------------------------------------------------------ */
body.single-post .post-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #01071F;
}

.skyciv-art {
    max-width: var(--site_width);
    margin: 64px auto 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    color: #01071F;
}

.skyciv-art * {
    box-sizing: border-box;
}

.skyciv-art-row {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    column-gap: 30px;
    padding-bottom: 96px;
}

.skyciv-art-row:last-child {
    padding-bottom: 64px;
}

/* Left label column: sits at the top of its row, thin rule underneath. */
.skyciv-art-side {
    align-self: start;
    padding-bottom: 22px;
    /* border-bottom: 1px solid #e3e6ee; */
}

.skyciv-art-row.is-unlabelled > .skyciv-art-side {
    border-bottom: 0;
    padding-bottom: 0;
}

.skyciv-art-label {
    max-width: 340px;
    margin: 0 !important;
    padding: 0;
    font-family: "Manrope", sans-serif !important;
    font-weight: 500 !important;
    font-size: clamp(28px, 3vw, 48px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.01em;
    color: #01071F !important;
}

.skyciv-art-main {
    min-width: 0;
}

.skyciv-art-main > *:first-child {
    margin-top: 0 !important;
}

/* Body copy */
.skyciv-art-main,
.skyciv-art-main p,
.skyciv-art-main div,
.skyciv-art-main li,
.skyciv-art-main td {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
    color: #5A6273;
}

.skyciv-art-main p,
.skyciv-art-main > div {
    margin: 0 0 14px;
}

.skyciv-art-main strong,
.skyciv-art-main b {
    font-weight: 600;
    color: #01071F;
}

.skyciv-art-main a {
    color: #002FFF;
    text-decoration: none;
}

.skyciv-art-main a:hover {
    text-decoration: underline;
}

/* Sub-headings inside a section */
.skyciv-art-main h1,
.skyciv-art-main h2,
.skyciv-art-main h3,
.skyciv-art-main h4,
.skyciv-art-main h5,
.skyciv-art-main h6 {
    font-family: "Manrope", sans-serif !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: #01071F !important;
    margin: 46px 0 10px !important;
    padding: 0;
}

.skyciv-art-main ul,
.skyciv-art-main ol {
    margin: 6px 0 18px;
    padding-left: 20px;
}

.skyciv-art-main li {
    margin-bottom: 6px;
}

/* The intro ("Overview") row reads a size up and in full ink. */
.skyciv-art-row.is-intro .skyciv-art-main p,
.skyciv-art-row.is-intro .skyciv-art-main > div {
    font-size: 20px;
    line-height: 1.5;
    color: #01071F;
    margin-bottom: 24px;
}

/* Media: full width of the content column, thin frame, no theme padding. */
.skyciv-art-main img {
    display: block;
    width: 100% !important;
    height: auto;
    margin: 24px 0 10px;
    padding: 0;
    border: 1px solid #e6e9f0;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
}

.skyciv-art-main img.no-border {
    border: 1px solid #e6e9f0;
    padding: 0;
}

.skyciv-art-main iframe,
.skyciv-art-main video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 24px 0 10px;
    border: 0;
    border-radius: 6px;
}

.skyciv-art-main .fluid-width-video-wrapper,
.skyciv-art-main .arve-wrapper {
    width: 100%;
    margin: 24px 0 10px;
}

/* --- Closing meta bar ---------------------------------------------------
 *   5TH MARCH 2026 | EDUCATION | 0 COMMENTS          RELATED ARTICLES
 * --------------------------------------------------------------------- */
.skyciv-art-foot {
    max-width: 1340px;
    margin: 0 auto 64px;
    padding: 0 24px 8px;
}

.skyciv-art-foot-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 22px;
    border-top: 1px solid #e3e6ee;
}

.skyciv-art-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.skyciv-art-meta span,
.skyciv-art-related {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5A6273;
}

.skyciv-art-sep {
    color: #c3c8d6;
}

.skyciv-art-related {
    color: #01071F;
    text-decoration: none;
}

.skyciv-art-related:hover {
    color: #002FFF;
}

/* --- Responsive --------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    .skyciv-art {
        margin-top: 48px;
    }

    .skyciv-art-foot {
        margin-bottom: 48px;
    }

    .skyciv-art-row {
        grid-template-columns: 1fr;
        row-gap: 26px;
        padding-bottom: 64px;
    }
    .skyciv-art-label {
        max-width: none;
    }
    .skyciv-art-side {
        padding-bottom: 18px;
    }
    body.single-post .entry-title.fusion-post-title {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 640px) {
    .skyciv-art,
    .skyciv-art-foot,
    body.single-post .entry-title.fusion-post-title {
        padding-left: 18px;
        padding-right: 18px;
    }
    .skyciv-art-row {
        padding-bottom: 52px;
    }
    .skyciv-art-row.is-intro .skyciv-art-main p,
    .skyciv-art-row.is-intro .skyciv-art-main > div {
        font-size: 17px;
    }
    .skyciv-art-main h1,
    .skyciv-art-main h2,
    .skyciv-art-main h3,
    .skyciv-art-main h4,
    .skyciv-art-main h5,
    .skyciv-art-main h6 {
        font-size: 18px !important;
        margin-top: 34px !important;
    }
}
