/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor
Author: RNM & Co.
Template: hello-elementor
Version: 1.0.0
*/

/* Custom styles will go here */


/* =========================================
   RNM & CO. - INSIGHTS SINGLE ARTICLE
   ========================================= */

.rnm-single-post {
    width: 100%;
    background: #ffffff;
    padding: 80px 20px;
}

/* Hide Hello Elementor header on single article pages */
body.single-post .site-header {
    display: none !important;
}

.rnm-article {
    max-width: 900px;
    margin: 0 auto;
}

/* ARTICLE HEADER */

.rnm-article-header {
    text-align: center;
    margin-bottom: 45px;
}

.rnm-article-category {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 18px;
    background: #f6faff;
    color: #2563eb;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rnm-article-title {
    margin: 0 auto 18px;
    max-width: 850px;
    color: #111827;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.rnm-article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 14px;
}

.rnm-meta-separator {
    color: #cbd5e1;
}


/* FEATURED IMAGE */

.rnm-featured-image {
    width: 100%;
    margin-bottom: 50px;
    border-radius: 18px;
    overflow: hidden;
}

.rnm-featured-img {
    display: block;
    width: 100%;
    height: auto;
}


/* ARTICLE CONTENT */

.rnm-article-content {
    max-width: 760px;
    margin: 0 auto;
    color: #374151;
    font-size: 17px;
    line-height: 1.85;
}

.rnm-article-content p {
    margin: 0 0 24px;
}

.rnm-article-content h2 {
    margin: 45px 0 18px;
    color: #111827;
    font-size: 30px;
    line-height: 1.25;
}

.rnm-article-content h3 {
    margin: 35px 0 15px;
    color: #111827;
    font-size: 23px;
    line-height: 1.3;
}

.rnm-article-content ul,
.rnm-article-content ol {
    margin: 0 0 25px;
    padding-left: 25px;
}

.rnm-article-content li {
    margin-bottom: 10px;
}

.rnm-article-content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rnm-article-content blockquote {
    margin: 35px 0;
    padding: 20px 25px;
    border-left: 4px solid #2563eb;
    background: #f6faff;
    color: #374151;
}


/* ARTICLE FOOTER */

.rnm-article-footer {
    max-width: 760px;
    margin: 60px auto 0;
}

.rnm-footer-line {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin-bottom: 25px;
}

.rnm-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.rnm-tags-label {
    color: #6b7280;
    font-weight: 600;
}

.rnm-category-link {
    display: inline-block;
    padding: 6px 11px;
    background: #f6faff;
    color: #2563eb;
    border-radius: 6px;
    text-decoration: none;
}

.rnm-category-link:hover {
    background: #eaf3ff;
}


/* PREVIOUS / NEXT */

.rnm-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.rnm-post-navigation a {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.rnm-post-navigation a:hover {
    color: #2563eb;
}


/* MOBILE */

@media (max-width: 767px) {

    .rnm-single-post {
        padding: 50px 18px;
    }

    .rnm-article-header {
        margin-bottom: 30px;
    }

    .rnm-article-title {
        font-size: 34px;
    }

    .rnm-article-meta {
        font-size: 12px;
    }

    .rnm-featured-image {
        margin-bottom: 35px;
        border-radius: 12px;
    }

    .rnm-article-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .rnm-article-content h2 {
        font-size: 26px;
    }

    .rnm-article-content h3 {
        font-size: 21px;
    }

    .rnm-post-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .rnm-next-post {
        text-align: left;
    }
}