body{
    background-color: #f9fafb;
    color: #374151;
}

/* Mejoras de legibilidad general */
.blog-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.card {
    background: #fff;
    transition: .5s;
    border: 0;
    margin-bottom: 40px;
    border-radius: .75rem;
    position: relative;
    width: 100%;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 6%);
}

.card .body {
    color: #374151;
    padding: 32px;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
}

.card .header {
    color: #1f2937;
    padding: 32px 32px 20px;
    position: relative;
    box-shadow: none;
}

.card .header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.card .header .subtile {
    font-size: 15px;
    color: #6b7280;
    font-weight: 400;
    line-height: 1.6;
}

.single_post {
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    max-width: 100%;
}

.single_post .body {
    padding: 48px;
}

.single_post .img-post {
    position: relative;
    overflow: hidden;
    max-height: 520px;
    margin-bottom: 40px;
    border-radius: 12px;
}

.single_post .img-post>img {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: -webkit-transform .4s ease, opacity .4s ease;
    transition: transform .4s ease, opacity .4s ease;
    max-width: 100%;
    filter: none;
    -webkit-filter: grayscale(0);
    -webkit-transform: scale(1.01);
}

.single_post .img-post:hover img {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    opacity: .7;
    filter: gray;
    -webkit-filter: grayscale(1);
    -webkit-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
}

.single_post .img-post:hover .social_share {
    display: block;
}

.single_post .footer {
    padding: 0 30px 30px 30px;
}

.single_post .footer .actions {
    display: inline-block;
}

.single_post .footer .stats {
    cursor: default;
    list-style: none;
    padding: 0;
    display: inline-block;
    margin: 0;
    line-height: 35px;
}

.single_post .footer .stats li {
    border-left: solid 1px rgba(160, 160, 160, 0.3);
    display: inline-block;
    font-weight: 400;
    letter-spacing: 0.25em;
    line-height: 1;
    margin: 0 0 0 2em;
    padding: 0 0 0 2em;
    text-transform: uppercase;
    font-size: 13px;
}

.single_post .footer .stats li a {
    color: #777;
}

.single_post .footer .stats li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

.single_post h3 {
    font-size: 32px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 24px;
    color: #111827;
    line-height: 1.3;
}

.single_post h3 a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single_post h3 a:hover {
    color: #f59e0b;
}

.single_post p {
    font-size: 19px;
    line-height: 1.9;
    font-weight: 400;
    margin: 0 0 24px 0;
    color: #374151;
    letter-spacing: 0.01em;
}

.single_post cite {
    display: block;
    margin-top: 32px;
    font-size: 17px;
    color: #6b7280;
    font-style: italic;
    padding-left: 24px;
    border-left: 4px solid #f59e0b;
}

.single_post .blockquote p {
    margin-top: 0 !important;
}

.single_post .meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single_post .meta li {
    display: inline-block;
    margin-right: 15px;
}

.single_post .meta li a {
    font-style: italic;
    color: #959595;
    text-decoration: none;
    font-size: 12px;
}

.single_post .meta li a i {
    margin-right: 6px;
    font-size: 12px;
}

.single_post2 {
    overflow: hidden;
}

.single_post2 .content {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 80px;
    position: relative;
}

.single_post2 .content .actions_sidebar {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 60px;
}

.single_post2 .content .actions_sidebar a {
    display: inline-block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    margin-right: 0;
    text-align: center;
    border-right: 1px solid #e4eaec;
}

.single_post2 .content .title {
    font-weight: 100;
}

.single_post2 .content .text {
    font-size: 15px;
}

.right-box .categories-clouds li {
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 8px;
}

.right-box .categories-clouds li a {
    display: block;
    border: 1px solid #f59e0b;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.right-box .categories-clouds li a:hover {
    background-color: #f59e0b;
    color: #fff;
    transform: translateY(-2px);
}

.right-box .instagram-plugin {
    overflow: hidden;
}

.right-box .instagram-plugin li {
    float: left;
    overflow: hidden;
    border: 1px solid #fff;
}

.comment-reply li {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.comment-reply li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.comment-reply li h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.comment-reply li p {
    margin-bottom: 0px;
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
}

.comment-reply .list-inline li {
    display: inline-block;
    margin: 0;
    padding-right: 20px;
}

.comment-reply .list-inline li a {
    font-size: 14px;
    color: #9ca3af;
}

/* Búsqueda */
.body.search {
    padding: 20px;
}

.body.search .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.body.search .input-group-text {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-right: none;
    color: #6b7280;
}

.body.search .form-control {
    border: 1px solid #d1d5db;
    border-left: none;
    padding: 10px 16px;
    font-size: 15px;
}

.body.search .form-control:focus {
    border-color: #f59e0b;
    box-shadow: none;
}

/* Widget de newsletter */
.widget.newsletter .input-group {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d1d5db;
}

.widget.newsletter .form-control {
    border: none;
    padding: 12px 16px;
    font-size: 15px;
}

.widget.newsletter .input-group-text {
    background-color: #f59e0b;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.widget.newsletter .input-group-text:hover {
    background-color: #d97706;
}

/* Popular posts */
.widget.popular-post .single_post {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.widget.popular-post .single_post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget.popular-post .single_post p {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.4;
}

.widget.popular-post .single_post span {
    font-size: 13px;
    color: #9ca3af;
}

.widget.popular-post .img-post {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.widget.popular-post .img-post img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.widget.popular-post .img-post:hover img {
    transform: scale(1.05);
}

/* Mejoras adicionales */
.left-box {
    padding-right: 30px;
}

.right-box .card {
    position: sticky;
    top: 20px;
}

.comment-form .form-control {
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    outline: none;
}

.comment-form .btn-warning {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.comment-form .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

@media (max-width: 991px) {
    .left-box {
        padding-right: 15px;
        margin-bottom: 30px;
    }
    .right-box .card {
        position: relative;
    }
}

@media (max-width: 640px) {
    .single_post .body {
        padding: 24px;
    }
    .single_post h3 {
        font-size: 26px;
    }
    .single_post p {
        font-size: 17px;
    }
    .card .body {
        padding: 20px;
        font-size: 16px;
    }
    .card .header {
        padding: 20px;
    }
    .blog-page .left-box .single-comment-box>ul>li {
        padding: 25px 0;
    }
    .blog-page .left-box .single-comment-box ul li .icon-box {
        display: inline-block;
    }
    .blog-page .left-box .single-comment-box ul li .text-box {
        display: block;
        padding-left: 0;
        margin-top: 10px;
    }
    .blog-page .single_post .footer .stats {
        float: none;
        margin-top: 10px;
    }
    .blog-page .single_post .body,
    .blog-page .single_post .footer {
        padding: 30px;
    }
}