.ra-post-blog {
    --b-primary:      #16a34a;
    --b-primary-dark: #14532d;
    --b-bg:           #f0fdf4;
    --b-white:        #ffffff;
    --b-ink:          #1a1a1a;
    --b-muted:        #6b7280;
    --b-border:       #e5e7eb;
    --b-shadow:       0 2px 8px rgba(0,0,0,0.07);
    font-family: 'Inter', sans-serif;
    /*background: var(--b-bg);*/
    color: var(--b-ink);
    padding: 1.5rem 1.5rem 3rem;
    margin-top: 70px;
}

/* BREADCRUMB */
.blog__breadcrumb { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--b-muted); margin-bottom: 1.2rem; flex-wrap: wrap; }
.blog__breadcrumb a { color: var(--b-muted); text-decoration: none; }
.blog__breadcrumb a:hover { color: var(--b-primary); }
.blog__breadcrumb-sep { opacity: 0.5; }

/* LAYOUT */
.blog__layout { display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; align-items: start; }

/* ARTICLE CARD */
.blog__article-card { background: var(--b-white); border-radius: 10px; border: 1px solid var(--b-border); box-shadow: var(--b-shadow); overflow: hidden; }

.blog__post-hero { aspect-ratio: 16/7; overflow: hidden; }
.blog__post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.blog__article-inner { padding: 2rem; }

.blog__post-cat {
    display: inline-block; background: var(--b-primary); color: #fff;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.07em;
    text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 1rem;
}
.blog__post-title { font-size: 1.65rem; font-weight: 700; line-height: 1.25; color: var(--b-ink); margin: 0 0 2rem 0; text-transform: none; }
.blog__post-subtitle { font-size: 1rem; color: var(--b-muted); line-height: 1.65; font-weight: 400; margin: 0 0 1.5rem; }

/* BYLINE */
.blog__byline { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 0; border-top: 1px solid var(--b-border); border-bottom: 1px solid var(--b-border); margin-bottom: 1.8rem; flex-wrap: wrap; }
.blog__byline-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--b-border); flex-shrink: 0; }
.blog__byline-info { flex: 1; }
.blog__byline-name { font-size: 0.85rem; font-weight: 600; }
.blog__byline-meta { font-size: 0.73rem; color: var(--b-muted); margin-top: 1px; }
.blog__byline-share { display: flex; gap: 0.4rem; }
.blog__share-btn {
    height: 30px; padding: 0 0.7rem; border-radius: 5px;
    border: 1px solid var(--b-border); font-size: 0.72rem; font-weight: 600;
    color: var(--b-muted); background: var(--b-white); cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
    transition: border-color 0.15s, color 0.15s;
}
.blog__share-btn:hover { border-color: var(--b-primary); color: var(--b-primary); }

/* BODY */
.blog__body h1,
.blog__body h2,
.blog__body h3,
.blog__body h4,
.blog__body h5,
.blog__body h6 {
    text-align: left;
    text-transform: none;
}
.blog__body p { font-size: 0.95rem; line-height: 1.8; color: #2d2d2d; margin: 0 0 1.4rem; }
.blog__body h2 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 0.8rem; color: var(--b-ink); }
.blog__body h3 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 0.6rem; color: var(--b-ink); }

/* LISTS */
.blog__body ul,
.blog__body ol {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #2d2d2d;
    margin: 0 0 1.4rem;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.blog__body ul { list-style: none; padding-left: 0; }
.blog__body ul li {
    padding-left: 1.4rem;
    position: relative;
}
.blog__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--b-primary);
    flex-shrink: 0;
}
.blog__body ol { list-style: decimal; }
.blog__body ol li { padding-left: 0.3rem; }

/* TABLES */
.blog__body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.blog__body table thead tr {
    background: var(--b-primary);
    color: #fff;
}
.blog__body table th {
    padding: 0.65rem 1rem;
    font-weight: 700;
    text-align: left;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}
.blog__body table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--b-border);
    color: #2d2d2d;
    vertical-align: top;
}
.blog__body table tbody tr:last-child td { border-bottom: none; }
.blog__body table tbody tr:nth-child(even) { background: #f9fafb; }
.blog__body table tbody tr:hover { background: #f0fdf4; }

.blog__body blockquote {
    margin: 1.5rem 0; padding: 1rem 1.4rem;
    border-left: 4px solid var(--b-primary);
    text-align: left;
    text-transform: none;
}
.blog__body h3 {
    font-size: 1.08rem; font-weight: 700; line-height: 1.35;
    margin: 2rem 0 0.7rem; color: var(--b-ink);
    padding-left: 0.7rem;
    border-left: 3px solid #86efac;
        text-align: left;
    text-transform: none;
}
.blog__body h4 {
    font-size: 0.97rem; font-weight: 700; line-height: 1.4;
    margin: 1.6rem 0 0.5rem; color: var(--b-primary-dark);
    text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem;
        text-align: left;
    text-transform: none;
}
.blog__body h5, .blog__body h6 {
    font-size: 0.88rem; font-weight: 700;
    margin: 1.2rem 0 0.4rem; color: var(--b-muted);
        text-align: left;
    text-transform: none;
}

/* Lists */
.blog__body ul, .blog__body ol {
    margin: 0 0 1.4rem 0; padding-left: 0; list-style: none;
    display: flex; flex-direction: column; gap: 0.45rem;
}
.blog__body ul li, .blog__body ol li {
    position: relative; padding-left: 1.4rem; font-size: 0.95rem;
    line-height: 1.7; color: #2d2d2d;
}
.blog__body ul li::before {
    content: ''; position: absolute; left: 0; top: 0.62em;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--b-primary);
}
.blog__body ol { counter-reset: ra-ol; }
.blog__body ol li { counter-increment: ra-ol; }
.blog__body ol li::before {
    content: counter(ra-ol) '.'; position: absolute; left: 0; top: 0;
    font-size: 0.82rem; font-weight: 700; color: var(--b-primary);
    line-height: 1.7;
}

/* Tables */
.blog__body table {
    width: 100%; border-collapse: collapse;
    margin: 1.6rem 0; font-size: 0.88rem; border-radius: 8px;
    overflow: hidden; border: 1px solid var(--b-border);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.blog__body thead th {
    background: var(--b-primary); color: #fff;
    font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
    text-align: left; padding: 0.65rem 0.9rem;
}
.blog__body tbody tr:nth-child(even) { background: #f0fdf4; }
.blog__body tbody tr:hover { background: #dcfce7; transition: background 0.15s; }
.blog__body td { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--b-border); color: #2d2d2d; vertical-align: top; }
.blog__body tbody tr:last-child td { border-bottom: none; }

/* Blockquote */
.blog__body blockquote {
    margin: 1.8rem 0; padding: 1rem 1.4rem;
    border-left: 4px solid var(--b-primary);
    background: #f0fdf4; border-radius: 0 8px 8px 0;
    position: relative;
}
.blog__body blockquote::before {
    content: '\201C'; position: absolute; top: -0.3rem; left: 0.8rem;
    font-size: 3rem; color: #86efac; line-height: 1; font-family: Georgia, serif;
    pointer-events: none;
}
.blog__body blockquote p { color: var(--b-ink); font-style: italic; margin: 0; padding-top: 0.5rem; }

/* Horizontal rule */
.blog__body hr {
    border: none; border-top: 2px solid var(--b-border);
    margin: 2rem 0; border-radius: 2px;
}

/* Inline formatting */
.blog__body strong, .blog__body b { font-weight: 700; color: var(--b-ink); }
.blog__body em, .blog__body i { font-style: italic; }

/* Inline code */
.blog__body code {
    font-family: 'Courier New', monospace; font-size: 0.85em;
    background: #f1f5f9; color: #0f4c2a; padding: 0.15em 0.45em;
    border-radius: 4px; border: 1px solid #e2e8f0;
}

/* Image inside body */
.blog__body img {
    max-width: 100%; height: auto; border-radius: 8px;
    margin: 1.2rem 0; display: block; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog__info-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 1rem 1.2rem; margin: 1.5rem 0; }
.blog__info-box-title { font-size: 0.82rem; font-weight: 700; color: var(--b-primary-dark); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.blog__info-box ul { padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; margin: 0; }
.blog__info-box ul li { font-size: 0.88rem; color: #166534; line-height: 1.5; }

.blog__warning-box { background: #fefce8; border: 1px solid #fde68a; border-radius: 8px; padding: 1rem 1.2rem; margin: 1.5rem 0; }
.blog__warning-box-title { font-size: 0.82rem; font-weight: 700; color: #854d0e; margin-bottom: 0.4rem; }
.blog__warning-box p { font-size: 0.88rem; color: #713f12; margin: 0; line-height: 1.5; }

.blog__inline-img { width: 100%; border-radius: 8px; margin: 1.2rem 0 0.4rem; display: block; }
.blog__img-caption { font-size: 0.73rem; color: var(--b-muted); text-align: center; margin-bottom: 1.4rem; font-style: italic; }

/* TAGS */
.blog__post-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 1.5rem; border-top: 1px solid var(--b-border); margin-top: 2rem; align-items: center; }
.blog__post-tags-label { font-size: 0.75rem; color: var(--b-muted); margin-right: 0.2rem; }
.blog__post-tag { font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.7rem; border-radius: 999px; border: 1px solid var(--b-border); background: var(--b-bg); color: var(--b-muted); text-decoration: none; transition: all 0.15s; display: inline-block; }
.blog__post-tag:hover { border-color: var(--b-primary); color: var(--b-primary); }

/* AUTHOR BOX */
.blog__author-box { display: flex; gap: 1rem; background: var(--b-bg); border-radius: 8px; padding: 1.2rem; margin-top: 1.5rem; border: 1px solid var(--b-border); }
.blog__author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.blog__author-box h4 { font-size: 0.9rem; font-weight: 700; margin: 0 0 0.2rem; }
.blog__author-role { font-size: 0.73rem; color: var(--b-primary); margin-bottom: 0.4rem; font-weight: 600; display: block; }
.blog__author-box p { font-size: 0.82rem; color: var(--b-muted); line-height: 1.55; margin: 0; }

/* SIDEBAR */
.blog__sidebar { display: flex; flex-direction: column; gap: 1.2rem; }

.blog__sidebar-card { background: var(--b-white); border-radius: 10px; border: 1px solid var(--b-border); box-shadow: var(--b-shadow); overflow: hidden; }
.blog__sidebar-head { padding: 0.8rem 1rem; background: var(--b-primary-dark); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.blog__sidebar-head--light { background: var(--b-primary); }

.blog__cta-card { background: linear-gradient(135deg, #16a34a 0%, #14532d 100%); border-radius: 10px; padding: 1.5rem; color: #fff; text-align: center; }
.blog__cta-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 0.5rem; line-height: 1.3; }
.blog__cta-card p { font-size: 0.8rem; opacity: 0.85; margin: 0 0 1.2rem; line-height: 1.5; }
.blog__cta-btn { display: block; background: #fff; color: var(--b-primary); font-size: 0.85rem; font-weight: 700; border-radius: 6px; padding: 0.65rem; text-decoration: none; transition: opacity 0.15s; }
.blog__cta-btn:hover { opacity: 0.9; }

.blog__recent-list { padding: 0.5rem; display: flex; flex-direction: column; }
.blog__recent-item { display: flex; gap: 0.6rem; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--b-border); text-decoration: none; transition: background 0.12s; border-radius: 5px; }
.blog__recent-item:last-child { border-bottom: none; }
.blog__recent-item:hover { background: var(--b-bg); }
.blog__recent-item img { width: 54px; height: 44px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.blog__recent-cat { font-size: 0.65rem; font-weight: 700; color: var(--b-primary); text-transform: uppercase; letter-spacing: 0.05em; display: block; }
.blog__recent-title { font-size: 0.78rem; font-weight: 600; color: var(--b-ink); line-height: 1.3; margin-top: 2px; display: block; }

.blog__tags-cloud { padding: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.blog__cloud-tag { font-size: 0.73rem; padding: 0.25rem 0.65rem; border-radius: 999px; border: 1px solid var(--b-border); color: var(--b-muted); text-decoration: none; transition: all 0.15s; display: inline-block; }
.blog__cloud-tag:hover { background: var(--b-primary); color: #fff; border-color: var(--b-primary); }

@media (max-width: 960px) { .blog__layout { grid-template-columns: 1fr; } .blog__sidebar { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog__sidebar { grid-template-columns: 1fr; } .blog__post-title { font-size: 1.3rem; } }
