/* =========================
   🔥 BLOG WRAPPER (CARD STYLE)
========================= */
.rr-blog {
    max-width: 820px;
    margin: 50px auto;
    padding: 0 16px;
}

.rr-blog-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* =========================
   🔥 TITLE (GRADIENT LOOK)
========================= */
.rr-blog-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================
   🔥 CONTENT BASE
========================= */
.rr-blog-content {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

/* =========================
   🔥 PARAGRAPH
========================= */
.rr-blog-content p {
    margin-bottom: 18px;
}

/* =========================
   🔥 HEADINGS (COLOR ACCENT)
========================= */
.rr-blog-content h2 {
    font-size: 26px;
    margin: 35px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #2563eb;
    color: #111;
}

.rr-blog-content h3 {
    font-size: 20px;
    margin: 25px 0 10px;
    color: #4f46e5;
}

/* =========================
   🔥 LINKS
========================= */
.rr-blog-content a {
    color: #2563eb;
    font-weight: 500;
    position: relative;
}

.rr-blog-content a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #2563eb;
    transform: scaleX(0);
    transition: 0.3s;
}

.rr-blog-content a:hover::after {
    transform: scaleX(1);
}

/* =========================
   🔥 IMAGES (CARD FEEL)
========================= */
.rr-blog-content img {
    width: 100%;
    border-radius: 14px;
    margin: 25px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* =========================
   🔥 LISTS
========================= */
.rr-blog-content ul,
.rr-blog-content ol {
    margin: 20px 0 20px 20px;
}

.rr-blog-content li {
    margin-bottom: 10px;
}

/* =========================
   🔥 BLOCKQUOTE (HIGHLIGHT)
========================= */
.rr-blog-content blockquote {
    background: #f1f5ff;
    border-left: 4px solid #2563eb;
    padding: 15px 18px;
    margin: 25px 0;
    border-radius: 8px;
    color: #1e3a8a;
}

/* =========================
   🔥 TABLE
========================= */
.rr-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
}

.rr-blog-content table {
    width: 100%;
    border-collapse: collapse;
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
}

.rr-blog-content th {
    background: #2563eb;
    color: #fff;
}

.rr-blog-content td,
.rr-blog-content th {
    padding: 12px;
    border: 1px solid #e5e7eb;
}

/* =========================
   🔥 CODE BLOCK
========================= */
.rr-blog-content pre {
    background: #111827;
    color: #f9fafb;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.rr-blog-content code {
    background: #eef2ff;
    padding: 4px 8px;
    border-radius: 6px;
}

/* =========================
   🔥 MOBILE
========================= */
@media (max-width: 768px) {

    .rr-blog-content {
        padding: 20px;
    }

    .rr-blog-title {
        font-size: 26px;
    }

    .rr-blog-content h2 {
        font-size: 22px;
    }

    .rr-blog-content h3 {
        font-size: 18px;
    }
}





/* =========================
   🔥 RELATED BLOGS
========================= */
.rr-related-blogs {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 15px;
}

.rr-related-blogs h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.rr-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .rr-related-grid {
        grid-template-columns: 1fr;
    }
}









/* =========================================
   BLOG FEATURED IMAGE
========================================= */

.rr-blog-featured-image{
    margin-bottom:35px;
    border-radius:22px;
    overflow:hidden;

    box-shadow:
        0 15px 40px rgba(15,23,42,0.10);
}

.rr-blog-featured-image img{
    width:100%;
    height:auto;
    display:block;

    border-radius:22px;

    object-fit:cover;
}

/* LARGE DESKTOP */
@media(min-width:1200px){

    .rr-blog-featured-image img{
        max-height:520px;
    }

}

/* TABLET */
@media(max-width:992px){

    .rr-blog-featured-image{
        margin-bottom:28px;
    }

}

/* MOBILE */
@media(max-width:768px){

    .rr-blog-featured-image{
        border-radius:16px;
        margin-bottom:24px;
    }

    .rr-blog-featured-image img{
        border-radius:16px;
    }

}