.row{
    display: flex;
    box-sizing: border-box;
}
.posts-main{
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding-top: 20px;
}

@media screen and (min-width: 992px){
    .posts{
        flex: 7;
    }
    .posts-sidebar{
        flex: 3;
        margin-left: 20px;
        background-color: white;
        border-radius: 30px;
    }
    .post-hero{
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .post-hero-info{
        flex: 0 0 41.6666666667%;
        max-width: 41.6666666667%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .post-hero-img{
        flex: 0 0 58.3333333333%;
        max-width: 58.3333333333%;
        width: 100%;
        height: 400px;
    }
}
@media screen and (max-width: 992px){
    .posts-sidebar{
        margin: auto;
    }
    .posts{
        margin-top: 80px;
    }
    .post-hero{
        margin-top: 100px;
        flex-direction: column-reverse;
    }
}
.card-intern-post{
    background-color: rgb(255, 255, 255);
    margin-bottom: 20px;
    border-radius: 30px;
    padding: 20px;
    flex-direction: row-reverse;
}
.post-info{
    flex: 70%;
    margin-left: 20px;
}
.post-img{
    flex: 30%;
    overflow: hidden;
    border-radius: 30px;
    height: 300px;
}


.post-hero-img img{
	object-fit: cover;
	width: 100%;
	height: 100%;
    border-radius: 30px;
}
.post-img img{
	object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all .3s;
}
.post-img img:hover{
    transform: scale(1.1);
    transition: all .3s;
}
.post-hero-info h2 a{
    font-size: 40px;
    color: rgb(55, 55, 55);
}
.site-blog{
    background-color: #f9f9ff;
}
.post-info-title{
    font-size: 30px;
    color: rgb(55, 55, 55);
    display: block;
    margin-bottom: 10px;
}
.post-excerpt{
    margin-bottom: 10px;
}
.post-date{
    color: rgb(170, 170, 170);
    display: flex;
    align-items: center;
    text-transform: capitalize;
}
.post-info-title:hover{
    text-decoration: underline;
    text-decoration-color: var(--color-principal);
}
.post-date svg{
    margin-right: 5px;
}
.button-cargar-mas{
    display: flex;
    justify-content: space-evenly;
}
.button-cargar-mas a{
    color: white;
    background-color: var(--color-principal);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.2s;
}
.socialmedia-sidebar{
    background-color: #004429;
    padding: 20px;
    margin: 20px;
    border-radius: 30px;
}
.socialmedia-sidebar ul{
    padding: 0;
    display: flex;
    justify-content: space-between;
}
.socialmedia-sidebar h3{
    color: white;
    margin-bottom: 10px;
    text-align: center;
}
.entradas-populares, .ultimas-entradas{
    margin: 20px;
}
.entradas-populares h3, .ultimas-entradas h3{
    margin-bottom: 10px;
    text-align: center;
    margin-top: 40px;
}
.entradas-populares-content article, .ultimas-entradas article{
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.entradas-populares-content-img{
    display: block;
    flex: 2.5;
    margin-right: 10px;
    height: 80px;
    overflow: hidden;
    border-radius: 10px;
}
.entradas-populares-content-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;

}
.entradas-populares-content-info{
    display: block;
    flex: 7.5;
    font-weight: 600;
    color: black;
}
.entradas-populares-content-info:hover{
    text-decoration: underline;
    text-decoration-color: var(--color-principal);
}
.posts li{
    list-style: inherit;
}
/*-----------Blog Interno (rediseño profesional)-----------*/

/* ── Page background ─────────────────────────────────────── */
.main-blog {
    background: #f2f5f2;
    min-height: 100vh;
}

/* ── POST HEADER (breadcrumb + título + meta) ────────────── */
.blog-post-header {
    background: #fff;
    border-bottom: 1px solid #e8ede8;
    padding: 22px 0 30px;
}

/* Breadcrumb sobre fondo blanco */
.blog-breadcrumb {
    font-size: 13px;
    color: #888 !important;
    margin-bottom: 14px;
}
.blog-breadcrumb *,
.blog-breadcrumb p,
.blog-breadcrumb span {
    color: #888 !important;
    background: none !important;
    margin: 0;
    padding: 0;
}
.blog-breadcrumb a,
.blog-breadcrumb a:visited {
    color: var(--color-logo1) !important;
    text-decoration: none !important;
}
.blog-breadcrumb a:hover { text-decoration: underline !important; }
.blog-breadcrumb .separator { margin: 0 4px; }

/* Split header: texto izquierda + imagen derecha */
.blog-header-inner {
    display: flex;
    align-items: center;
    gap: 36px;
}
.blog-header-text {
    flex: 1 1 0;
    min-width: 0;
}
.blog-header-thumb {
    flex: 0 0 500px;
    width: 500px;
    height: 306px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.13);
}
.blog-header-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Categorías */
.blog-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.blog-cat-pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: #e8f5e8;
    color: var(--color-logo1);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.blog-cat-pill:hover {
    background: var(--color-principal);
    color: #fff;
}

/* Título principal */
.blog-post-title {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #0e1f0e;
    line-height: 1.2;
    margin: 0 0 20px;
    max-width: 820px;
}

/* Meta bar */
.blog-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.blog-meta-bar .post-date,
.blog-reading-time,
.blog-author-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #777;
}
.blog-meta-bar svg { flex-shrink: 0; }
.blog-meta-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8f0e8;
}

/* ── 2-Column layout ─────────────────────────────────────── */
.blog-layout {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 0 40px;
}
.blog-article-col {
    flex: 1 1 0;
    min-width: 0;
}
.blog-sidebar-col {
    flex: 0 0 290px;
    width: 290px;
}

/* ── Article card (unified: head + image + body) ─────────── */
.blog-article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    border: 1px solid #eaeeea;
}

/* Header section inside card (breadcrumb → cats → title → meta) */
.blog-article-head {
    padding: 32px 44px 28px;
    border-bottom: 1px solid #f0f4f0;
}

/* Featured image — full width, between head and body */
.blog-article-hero-img {
    width: 100%;
    height: 440px;
    overflow: hidden;
}
.blog-article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Article body */
.blog-article-content {
    padding: 36px 44px 36px;
}

/* ── Article typography ──────────────────────────────────── */
.blog-content-body {
    color: #2d3350;
    font-size: 17px;
    line-height: 1.85;
}
.blog-content-body p {
    margin-top: 0;
    margin-bottom: 1.3rem;
}
.blog-content-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0e1f0e;
    margin: 2.25rem 0 0.8rem;
    line-height: 1.25;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f5e8;
}
.blog-content-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2b1a;
    margin: 2rem 0 0.6rem;
}
.blog-content-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d3350;
    margin: 1.5rem 0 0.5rem;
}
.blog-content-body ul,
.blog-content-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.3rem;
}
.blog-content-body li {
    margin-bottom: 0.4rem;
    line-height: 1.75;
    list-style: inherit;
}
.blog-content-body blockquote {
    border-left: 4px solid var(--color-principal);
    margin: 1.75rem 0;
    padding: 1rem 1.5rem;
    background: #f2f7f2;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.05em;
    color: #3a4a3a;
}
.blog-content-body blockquote p:last-child { margin-bottom: 0; }
.blog-content-body code {
    background: #f2f4f8;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.88em;
    color: #c0392b;
    font-family: monospace;
}
.blog-content-body pre {
    background: #1e2235;
    color: #e8ecf0;
    border-radius: 10px;
    padding: 1.1rem 1.4rem;
    overflow-x: auto;
    margin-bottom: 1.3rem;
}
.blog-content-body pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: 0.88em;
}
.blog-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0.5rem 0 1.3rem;
    display: block;
}
/* H1 dentro del contenido (error del editor — tratar como h2 visualmente) */
.blog-content-body h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0e1f0e;
    margin: 2.25rem 0 0.8rem;
    line-height: 1.25;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f5e8;
}

/* HR: separador elegante */
.blog-content-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #c8dfc8 20%, #c8dfc8 80%, transparent);
    margin: 2rem 0;
}

.blog-content-body a {
    color: var(--color-logo1);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.blog-content-body a:hover { color: var(--color-principal); }
.blog-content-body figure { margin: 1.5rem 0; }
.blog-content-body figcaption {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 6px;
    font-style: italic;
}
.blog-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.3rem;
    font-size: 15px;
}
.blog-content-body th,
.blog-content-body td {
    border: 1px solid #e0e6e0;
    padding: 9px 14px;
    text-align: left;
}
.blog-content-body th {
    background: #f2f7f2;
    font-weight: 700;
    color: #1a2b1a;
}
.blog-content-body tr:nth-child(even) td { background: #fafcfa; }

/* ── Tags ────────────────────────────────────────────────── */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid #edf0ed;
}
.blog-tags-label {
    font-size: 12px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.blog-tag {
    display: inline-block;
    padding: 4px 13px;
    border-radius: 20px;
    background: #f0f5f0;
    color: #3a4a3a;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid #dce8dc;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.blog-tag:hover {
    background: var(--color-principal);
    color: #fff;
    border-color: var(--color-principal);
}

/* ── Author box ──────────────────────────────────────────── */
.blog-author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 24px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #dce8dc;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.blog-author-avatar { flex-shrink: 0; }
.blog-author-img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #e8f5e8;
}
.blog-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.blog-author-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-logo1);
}
.blog-author-name {
    font-size: 17px;
    font-weight: 700;
    color: #0e1f0e;
    display: block;
}
.blog-author-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
    margin: 2px 0 0;
}

/* ── Share box ───────────────────────────────────────────── */
.compartir-entrada {
    background: #fff;
    margin-top: 24px;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    text-align: center;
}
.compartir-entrada h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a2b1a;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.share-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.share-links a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f4f6f4;
    border: 1px solid #dce8dc;
    transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
}
.share-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.share-links a.facebook svg { fill: #1877f2; }
.share-links a.facebook:hover { background: #e7f0fd; border-color: #1877f2; }
.share-links a.twitter svg { fill: #0f1419; }
.share-links a.twitter:hover { background: #e7f0fd; border-color: #0f1419; }
.share-links a.linkedin svg { fill: #0077b5; }
.share-links a.linkedin:hover { background: #e1f0f8; border-color: #0077b5; }
.share-links a.whatsapp svg { fill: #25d366; }
.share-links a.whatsapp:hover { background: #e3faea; border-color: #25d366; }
.share-links a.mail svg { fill: #555; }
.share-links a.mail:hover { background: #f0f0f0; border-color: #999; }

/* ── Sidebar widgets ─────────────────────────────────────── */
.sidebar-widget {
    background: #fff;
    border-radius: 14px;
    padding: 20px 18px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.sidebar-widget-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a2b1a;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e8;
}

/* Social links */
.sidebar-social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-social-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.18s, transform 0.18s;
}
.sidebar-social-link:hover { opacity: 0.88; transform: translateX(3px); }
.sidebar-social-link img { display: block; flex-shrink: 0; }

.sidebar-yt { background: #ff0000; }
.sidebar-ig { background: linear-gradient(135deg, #f77737 0%, #c13584 50%, #833ab4 100%); }
.sidebar-fb { background: #1877f2; }
.sidebar-tw { background: #0f1419; }
.sidebar-ta { background: #00aa6c; }

/* Sidebar posts */
.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar-post-item {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: #2d3350;
    border-radius: 10px;
    padding: 6px;
    transition: background 0.18s;
}
.sidebar-post-item:hover {
    background: #f4f8f4;
    color: var(--color-logo1);
}
.sidebar-post-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
}
.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sidebar-post-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* kg-image (legacy) */
.kg-image { width: 100%; height: auto; border-radius: 12px; }
.kg-card figcaption { text-align: center; color: #8a8a8a; font-size: 13px; font-style: italic; }
.kg-card figcaption a { color: #8a8a8a; text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .blog-sidebar-col { flex: 0 0 260px; width: 260px; }
    .blog-article-head { padding: 26px 32px 22px; }
    .blog-article-content { padding: 28px 32px 28px; }
    .blog-article-hero-img { height: 360px; }
}
@media (max-width: 900px) {
    .blog-layout {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0 24px;
    }
    .blog-sidebar-col {
        flex: none;
        width: 100%;
    }
    .sidebar-social-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .blog-post-title { font-size: clamp(1.4rem, 4vw, 2rem); }
    .blog-article-head { padding: 22px 24px 18px; }
    .blog-article-hero-img { height: 280px; }
    .blog-article-content { padding: 24px 24px 22px; }
    .blog-author-box { gap: 14px; }
}
@media (max-width: 600px) {
    .blog-post-title { font-size: 1.45rem; }
    .blog-meta-bar { gap: 12px; }
    .blog-article-head { padding: 18px 18px 16px; }
    .blog-article-hero-img { height: 220px; }
    .blog-article-content { padding: 18px 18px 18px; }
    .blog-content-body { font-size: 15.5px; }
    .blog-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px 16px;
    }
    .blog-author-info { align-items: center; }
    .compartir-entrada { padding: 18px 14px; }
    .sidebar-social-links { grid-template-columns: 1fr; }
}

/* ============================================
   BLOG ARCHIVE — listing page
   ============================================ */

/* ── Hero ────────────────────────────────────── */
.blog-archive-hero {
    background: linear-gradient(155deg, var(--color-secundario, #003d00) 0%, #001500 100%);
    padding: 56px 0 52px;
}

.blog-archive-hero .rank-math-breadcrumb,
.blog-archive-hero .rank-math-breadcrumb p,
.blog-archive-hero .rank-math-breadcrumb span,
.blog-archive-hero .rank-math-breadcrumb a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px;
    background: none !important;
    margin: 0;
    padding: 0;
}
.blog-archive-hero .rank-math-breadcrumb a:hover {
    color: #fff !important;
    text-decoration: underline;
}
.blog-archive-hero .rank-math-breadcrumb {
    margin-bottom: 20px;
}

.blog-archive-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-archive-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0, 201, 0, 0.9);
    margin-bottom: 10px;
}

.blog-archive-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}

.blog-archive-hero-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    line-height: 1.6;
    max-width: 520px;
}

.blog-archive-badge {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 20px 28px;
    flex-shrink: 0;
}
.blog-archive-badge strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-principal, #00c900);
    line-height: 1;
}
.blog-archive-badge span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
    display: block;
}

/* ── Archive body layout ─────────────────────── */
.blog-archive-body {
    background: #f3f5f3;
    padding: 40px 0 64px;
}

.blog-archive-layout {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.blog-archive-main {
    flex: 1 1 0;
    min-width: 0;
}

/* Sticky sidebar on archive */
.blog-archive-sidebar {
    flex: 0 0 290px;
    width: 290px;
    position: sticky;
    top: 96px;
    align-self: flex-start;
}

/* ── Featured post card ──────────────────────── */
.blog-featured-wrap {
    margin-bottom: 36px;
}

.blog-featured-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-logo1, #007a00);
    margin: 0 0 12px;
}
.blog-featured-label svg {
    fill: var(--color-logo1, #007a00);
    stroke: none;
    flex-shrink: 0;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    text-decoration: none;
    min-height: 380px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.blog-featured-card:hover {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14);
    transform: translateY(-3px);
}

.blog-featured-img {
    overflow: hidden;
    position: relative;
}
.blog-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.blog-featured-card:hover .blog-featured-img img {
    transform: scale(1.05);
}

.blog-featured-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.blog-featured-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.blog-featured-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0e1f0e;
    margin: 0;
    line-height: 1.25;
}

.blog-featured-excerpt {
    font-size: 0.93rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #888;
    margin-top: 4px;
}
.blog-featured-meta svg { flex-shrink: 0; }
.blog-featured-meta time { color: #666; }

.blog-featured-sep { color: #ccc; }

.blog-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-logo1, #007a00);
    margin-left: auto;
}
.blog-featured-cta svg { transition: transform 0.18s; }
.blog-featured-card:hover .blog-featured-cta svg { transform: translateX(3px); }

/* ── Grid heading ────────────────────────────── */
.blog-grid-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #444;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-grid-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dde3dd;
}

/* ── Post cards grid ─────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border: 1px solid #eaeeea;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    display: block;
    height: 200px;
    overflow: hidden;
    background: #e8f0e8;
    flex-shrink: 0;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}
.blog-card-img--placeholder {
    background: linear-gradient(135deg, #d4e8d4, #c2dcc2);
    display: flex;
}

.blog-card-body {
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.blog-card-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Shared pill — also used in featured & single */
.blog-cat-pill--sm {
    font-size: 10px !important;
    padding: 3px 10px !important;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2b1a;
    margin: 0;
    line-height: 1.35;
}
.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s;
}
.blog-card-title a:hover { color: var(--color-logo1, #007a00); }

.blog-card-excerpt {
    font-size: 0.86rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #f0f4f0;
}

.blog-card-date {
    font-size: 0.78rem;
    color: #999;
    text-transform: capitalize;
}

.blog-card-read {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: #bbb;
}
.blog-card-read svg { flex-shrink: 0; }

/* ── No posts ─────────────────────────────────── */
.blog-no-posts {
    text-align: center;
    color: #999;
    font-size: 0.95rem;
    padding: 40px 0;
}

/* ── Pagination ──────────────────────────────── */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #dde3dd;
}

.blog-pag-btn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #dde3dd;
    color: #333;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.18s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.blog-pag-btn a:hover {
    background: var(--color-secundario, #003d00);
    border-color: var(--color-secundario, #003d00);
    color: #fff;
    transform: translateY(-1px);
}
.blog-pag-btn a svg { flex-shrink: 0; }

.blog-pag-next { margin-left: auto; }

/* ── Single post sidebar sticky ──────────────── */
.blog-single-sidebar {
    position: sticky;
    top: 96px;
    align-self: flex-start;
}

/* ============================================
   BLOG RELATED ARTICLES — single post
   ============================================ */
.blog-related {
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid #e4eae4;
}

.blog-related-header {
    margin-bottom: 22px;
}
.blog-related-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0e1f0e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.blog-related-header h3::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #d4e8d4, transparent);
    border-radius: 2px;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.blog-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #eaeeea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.blog-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
}

.blog-related-img {
    height: 160px;
    overflow: hidden;
    background: #d4e8d4;
    flex-shrink: 0;
}
.blog-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.blog-related-card:hover .blog-related-img img {
    transform: scale(1.06);
}
.blog-related-img--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4e8d4, #c2dcc2);
}

.blog-related-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.blog-related-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a2b1a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.18s;
}
.blog-related-card:hover .blog-related-title {
    color: var(--color-logo1, #007a00);
}

.blog-related-meta {
    font-size: 0.76rem;
    color: #aaa;
    margin-top: auto;
    padding-top: 8px;
}

/* ============================================
   RESPONSIVE — archive + related
   ============================================ */
@media (max-width: 1100px) {
    .blog-archive-sidebar,
    .blog-single-sidebar { flex: 0 0 260px; width: 260px; }
}

@media (max-width: 900px) {
    .blog-archive-layout {
        flex-direction: column;
    }
    .blog-archive-sidebar,
    .blog-single-sidebar {
        position: static;
        flex: none;
        width: 100%;
    }
    .blog-archive-hero { padding: 40px 0 36px; }
    .blog-archive-hero-inner { flex-direction: column; align-items: flex-start; }
    .blog-archive-badge { align-self: flex-start; }
    .blog-featured-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .blog-featured-img {
        height: 240px;
    }
    .blog-featured-body { padding: 24px 22px; }
    .blog-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-related-grid { grid-template-columns: 1fr; }
    .blog-pagination { flex-direction: column; align-items: stretch; }
    .blog-pag-next { margin-left: 0; }
    .blog-pag-btn a { justify-content: center; }
    .blog-featured-body h2 { font-size: 1.25rem; }
    .blog-archive-hero h1 { font-size: 1.65rem; }
}