/* Estilos autocontenidos para poder incrustar el blog en otro sitio. */
.mb-blog,
.mb-blog * {
    box-sizing: border-box;
}

.mb-blog {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #202124;
    line-height: 1.55;
}

.mb-list {
    display: grid;
    gap: 22px;
}

.mb-card {
    display: grid;
    grid-template-columns: minmax(240px, 330px) 1fr;
    min-height: 190px;
    border: 1px solid #e2e4e7;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.mb-card-image-link {
    display: block;
    min-height: 190px;
    background: #f1f3f4;
    text-decoration: none;
}

.mb-card-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    max-height: 240px;
    object-fit: cover;
}

.mb-card-placeholder {
    display: flex;
    min-height: 190px;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #7b8087;
    font-size: 14px;
}

.mb-card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mb-card-title,
.mb-article-title {
    margin: 0;
    padding: 0;
    font-weight: 700;
    color: #16181b;
}

.mb-card-title {
    font-size: 24px;
    line-height: 1.2;
}

.mb-card-title a {
    color: inherit;
    text-decoration: none;
}

.mb-card-title a:hover,
.mb-read-more:hover,
.mb-back:hover {
    text-decoration: underline;
}

.mb-card-summary {
    margin: 12px 0 14px;
    color: #555b63;
    font-size: 16px;
}

.mb-read-more,
.mb-back {
    color: #1a5fb4;
    text-decoration: none;
    font-weight: 700;
}

.mb-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin: 28px 0 0;
}

.mb-page,
.mb-page-dots {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 14px;
}

.mb-page {
    border: 1px solid #d7dbe0;
    color: #30343a;
    text-decoration: none;
    background: #fff;
}

.mb-page:hover {
    background: #f4f6f8;
}

.mb-page-current {
    background: #202124;
    color: #fff;
    border-color: #202124;
}

.mb-page-dots {
    min-width: 24px;
    color: #777;
}

.mb-empty {
    padding: 25px;
    border: 1px solid #e0e3e6;
    border-radius: 10px;
    background: #fafafa;
    color: #646a70;
    text-align: center;
}

.mb-article {
    width: 100%;
}

.mb-back {
    display: inline-block;
    margin: 0 0 20px;
}

.mb-article-title {
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.08;
}

.mb-article-date {
    margin-top: 10px;
    color: #777d84;
    font-size: 14px;
}

.mb-article-featured {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    margin: 24px 0;
    border-radius: 10px;
}

.mb-article-content {
    font-size: 17px;
    overflow-wrap: anywhere;
}

.mb-article-content a {
    color: #1a5fb4;
}

.mb-content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 6px;
}

.mb-article-content blockquote {
    margin: 20px 0;
    padding: 12px 18px;
    border-left: 4px solid #c9cdd2;
    background: #f7f8f9;
}

.mb-code {
    padding: 14px;
    overflow-x: auto;
    background: #15171a;
    color: #f3f4f6;
    border-radius: 7px;
    white-space: pre-wrap;
}

.mb-align-center { text-align: center; }
.mb-align-left { text-align: left; }
.mb-align-right { text-align: right; }

@media (max-width: 720px) {
    .mb-card {
        grid-template-columns: 1fr;
    }

    .mb-card-image-link,
    .mb-card-placeholder,
    .mb-card-image {
        min-height: 0;
        height: 210px;
    }

    .mb-card-body {
        padding: 18px;
    }

    .mb-card-title {
        font-size: 21px;
    }
}
