/*
Theme Name: SGW Sistemas
Theme URI: https://sgwsistemas.com.mx/
Description: Theme desarrollado para SGW Sistemas para el blog
Author: NetUs
Author URI: https://netus.mx
Tags: custom-background, custom-netus
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/

/* Blog con la identidad del sitio: azul #016ead / #019fd4, Roboto + Ubuntu */
.sgw-blog { text-align: left; }
.sgw-blog .heading-divider { text-align: left; }

.sgw-card {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(1, 110, 173, .08);
    padding: 32px;
    margin-bottom: 32px;
    text-align: left;
}

.sgw-post-meta {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8a9399;
    margin: 0 0 10px;
}
.sgw-post-meta a { color: #019fd4; }
.sgw-sep { margin: 0 6px; }

.sgw-post-title {
    font-family: Ubuntu, Roboto, Helvetica, Arial, sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 20px;
}
.sgw-post-title a { color: #016ead; text-decoration: none; }
.sgw-post-title a:hover { color: #019fd4; }

.sgw-single-title {
    font-family: Ubuntu, Roboto, Helvetica, Arial, sans-serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.25;
    color: #016ead;
    margin: 0 0 24px;
}

.sgw-post-body { font-size: 16px; line-height: 1.75; color: #565a5b; }
.sgw-post-body p { margin: 0 0 16px; }
.sgw-post-body p + p { margin-top: 0; }
.sgw-post-body strong { color: #016ead; }
.sgw-post-body img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 0 24px;
}
.sgw-post-thumb img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 24px; }

.sgw-btn,
.sgw-post-body .more-link {
    display: inline-block;
    padding: 11px 28px;
    border-radius: 50px;
    background: #049ed1;
    color: #fff !important;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease;
}
.sgw-btn:hover,
.sgw-post-body .more-link:hover { background: #016ead; text-decoration: none; }

.sgw-back { display: inline-block; margin: 0 0 32px; color: #019fd4; font-weight: 500; }
.sgw-back:hover { color: #016ead; }

.sgw-tags { font-size: 14px; color: #8a9399; margin: 24px 0 0; }

/* Barra lateral */
.sgw-widget-title {
    font-family: Ubuntu, Roboto, Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #016ead;
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6ebf1;
}
.sgw-widget ul { list-style: none; padding: 0; margin: 0; }
.sgw-widget li { padding: 9px 0; border-bottom: 1px solid #f0f3f6; }
.sgw-widget li:last-child { border-bottom: 0; }
.sgw-widget li a { color: #565a5b; }
.sgw-widget li a:hover { color: #019fd4; }

.sgw-cta {
    background: linear-gradient(135deg, #016ead 0%, #019fd4 100%);
    border: 0;
    color: #fff;
}
.sgw-cta h4 {
    font-family: Ubuntu, Roboto, Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 12px;
}
.sgw-cta p { color: rgba(255, 255, 255, .92); margin: 0 0 20px; }
.sgw-btn-light { background: #fff; color: #016ead !important; }
.sgw-btn-light:hover { background: #e9f6fb; }

/* Paginación */
.sgw-blog .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sgw-blog .pagination .page-numbers {
    display: inline-block;
    min-width: 40px;
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid #e6ebf1;
    color: #016ead;
    text-align: center;
}
.sgw-blog .pagination .page-numbers.current { background: #049ed1; border-color: #049ed1; color: #fff; }
.sgw-blog .screen-reader-text { position: absolute; left: -9999px; }

@media (max-width: 767px) {
    .sgw-card { padding: 22px; border-radius: 12px; }
    .sgw-post-title { font-size: 22px; }
    .sgw-single-title { font-size: 26px; }
}
@media (min-width: 992px) {
    .sgw-sidebar { padding-left: 10px; }
}

/* Títulos largos: el CSS del sitio no deja partir los enlaces */
.sgw-post-title,
.sgw-post-title a,
.sgw-single-title { white-space: normal; overflow-wrap: break-word; word-wrap: break-word; }

/* Comentarios */
.sgw-comment-notes { font-size: 14px; color: #8a9399; margin: 0 0 18px; }
.sgw-comments label { display: block; font-weight: 500; color: #016ead; margin: 0 0 6px; }
.sgw-comments input[type="text"],
.sgw-comments input[type="email"],
.sgw-comments input[type="url"],
.sgw-comments textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d5dde5;
    border-radius: 10px;
    font: inherit;
    color: #565a5b;
    background: #fff;
}
.sgw-comments input:focus,
.sgw-comments textarea:focus { outline: none; border-color: #019fd4; box-shadow: 0 0 0 3px rgba(1, 159, 212, .15); }
.sgw-comments p { margin: 0 0 16px; }
.sgw-comments .comment-form-cookies-consent label { display: inline; font-weight: 400; color: #8a9399; font-size: 14px; }
.sgw-comments .form-submit { margin: 8px 0 0; }
.sgw-comments .sgw-btn { border: 0; cursor: pointer; }
.sgw-comment-list { list-style: none; padding: 0; margin: 0 0 28px; }
.sgw-comment-list .comment { padding: 16px 0; border-bottom: 1px solid #f0f3f6; }
