/*** General CSS ***/
body {
    line-height: 1.9em;
}
body.home #sp-main-body {
    padding: 0;
    display: none;
}
.article-details.home {
    display: none;
}
/*** Header Area ***/
/* Header Top */
#sp-top-bar {
    position: relative;
    z-index: 999;
    font-size: 15px;
    padding: 12px 0 12px;
    background: linear-gradient(90deg, #c2113c 0%, #f4be3e 100%);
}

/* Header Menu */
#sp-header {
    top: 0px;
    padding: 0;
    height: inherit;
    z-index: 9999;
    position: relative;
}
body:not(.home) #sp-header:before {
    left: 0;
}
body:not(.home) #sp-header,
#sp-header.header-sticky {
    top: 0;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    font-weight: 400;
    padding: 10px 0;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    position: relative;
}
.sp-megamenu-parent>li.active>a {
    font-weight: 600;
}

/* Canvas Menu */
.offcanvas-menu .offcanvas-inner .menu-child > li a {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(197, 153, 153, 0.21);
    display: inherit;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>a, .offcanvas-menu .offcanvas-inner ul.menu>li>span {
    font-size: 15px;
    font-weight: 500;
}
.burger-icon>span {
    background-color: #222;
}
.offcanvas-menu > .align-items-center {
    background: #fff;
}
.offcanvas-active .burger-icon>span, #modal-menu-toggler.active .burger-icon>span {
    background-color: #222;
}

/*** Block Styles ***/
/* Button */


/* Title */
.sp-mod-title .sp-module-title {
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 1px solid #111;
    position: relative;
}
.sp-mod-title .sp-module-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 3px;
    width: 50px;
    background: #222;
}
h4.mfp_default_title {
    font-size: 27px;
    line-height: 23px;
}

/* Background Images */
.sp-bg-module div > a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 10px;
    right: 0;
    z-index: 1;
    background: linear-gradient(transparent 40%,#000000d9 100%);
}
.sp-bg-module div > a {
    position: relative;
}
.sp-bg-module .mfp_default_skin_default .mfp_default_item .mfp_default_title {
    line-height: 35px;
    position: absolute;
    bottom: 60px;
    padding: 0px 30px;
    z-index: 2;
}
.sp-bg-module span.mfp_date {
    position: absolute;
    bottom: 30px;
    padding: 0 30px;
    z-index: 2;
    color: #ffffffb0;
}

/* Position1 */
#sp-content-top .sp-column {
    padding-top: 40px;
}
#sp-content-top .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 30px;
}

/* Position2 */
#sp-content-top #sp-position2 .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 22px;
}

/* Position3 */
#sp-position3 .sp-bg-module .mfp_default_skin_default .mfp_default_item a {
    color: #fff;
    font-weight: 500;
}
#sp-position3 .sp-bg-module .mfp_default_skin_default .mfp_default_item span.mfp_date {
    font-size: 13px;
    color: #fff;
}
.sp-mod-enter span.mfp_cat a {
    background: #222;
    padding: 4px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    display: inline-block;
    margin-top: 5px;
}
#sp-position3 .sp-mod-enter .mfp_default_item .mfp_default_title a {
    font-size: 22px;
}

/* Position4 */
#sp-position4 .sp-module {
    margin-bottom: 30px;
}

/* Position5 */
#sp-position5 h4.mfp_default_title {
    font-size: 30px;
}
#sp-position5 h4.mfp_default_title, #sp-position5 span.mfp_date {
    text-align: center;
    width: 100%;
}

/* Position5 */
.sp-mod-img {
    margin-bottom: 30px;
}
#sp-position5 .sp-module.sp-bg-module {
    padding-bottom: 15px;
}

/* Position6 */
#sp-position6 .sp-module:last-child {
    margin-bottom: 40px;
}

/* Position8 */
#sp-position8 .sp-module  {
    padding-top: 30px;
    padding-bottom: 30px;
}
#sp-position8 .mfp_carousel_skin_default .mfp_carousel_item .mfp_carousel_title a {
    font-size: 22px;
}
#sp-position8 .mfp_carousel_skin_default .mfp_carousel_item .mfp_carousel_title {
    line-height: 30px;
}
#sp-position8 .mfp_carousel_skin_default .mfp_carousel_item img {
    border-radius: 10px;
}
#sp-position8 .mfp_block_title {
    display: none;
}
#sp-position8 div#tns1-ow button {
    padding: 0;
}

/* Category */
span.mfp_cat a {
    font-size: 10px;
    color: #666666;
    letter-spacing: 1px;
}
span.mfp_cat a:hover {
    color: #222;
}

/* Blog */
.mfp_default_item img {
    border-radius: 10px;
    box-shadow: 0 2px 6px -1px rgba(7,10,25,.2), 0 6px 12px -6px rgba(7,10,25,.2);
}
.mfp_default_item:hover img {
    opacity: 0.8;
}

/* Bottom */
#sp-bottom {
    box-shadow: 0px 0px 5px 0 #eee;
}
#sp-bottom {
    overflow: hidden;
    position: relative;
    z-index: 1;
    line-height: 30px;
    font-weight: 500;
    text-align: left;
    font-size: 16px;
}
#sp-bottom p {
    line-height: 28px;
}
#sp-bottom .sp-module .sp-module-title {
    font-size: 15px;
    text-align: left;
    background: transparent;
    padding: 0;
    text-transform: none;
    letter-spacing: 1px;
    padding-left: 10px;
}
.shrewd_solution_icon ul, .shrewd_solution_icon ul li {
    display: inline-block!important;
    padding: 0!important;
    margin-bottom: 0px;
}
.shrewd_solution_icon ul li a {
    font-size: 18px;
    -webkit-transition: .5s;
    transition: .5s;
    margin-right: 10px;
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #de4333;
    text-align: center;
    color: #fff;
}
#sp-bottom4 span,
.shrewd_solution_icon ul li a em {
    font-family: "Font Awesome 5 Brands";
}
#sp-bottom4 strong,
.shrewd_solution_icon ul li a em strong {
    display: none;
}
.shrewd_solution_icon ul li a:hover {
    color: #222;
}
#sp-bottom1 ul.menu-link li a {
    text-transform: none;
    display: inline-block;
    padding: 0 20px;
}
#sp-bottom1 ul.menu-link li {
    display: inline-block;
}
#sp-bottom .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 16px;
}
#sp-bottom .mfp_default_skin_default .mfp_default_item .mfp_default_title {
    line-height: 25px;
    position: relative;
}
#sp-bottom3 h2 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
}
.shrewd_solution_icon {
    margin-top: 30px;
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
}
#sp-footer {
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
    font-size: 15px;
}
#sp-footer .container-inner {
  	border-top: none;
}

/*** Responsive Layout ***/
/* Tablet Landscape Layout */
@media (min-width: 1400px) {
    .sppb-row-container {
        max-width: 1320px;
    }
}
@media (max-width: 1299px) {
  	#sp-position5 span.mfp_cat a {
    	top: 135px;
	}
  	.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    	font-size: 14px;
	}
}
/* Mobile Standard Layout */
@media (max-width: 991px) {
    #sp-header, #sp-header .logo {
        height: 70px;
    }
    #sp-footer p {
        text-align: center;
    }
    body #sp-header {
        padding: 0;
        border-radius: 0;
        top: 0;
    }
    body, body p {
        font-size: 16px;
    }
  	#sp-position1 .mfp_default_item, #sp-position3 .sp-module:first-child .mfp_default_item:first-child,
  	#sp-position4 .sp-module:nth-child(3) .mfp_default_item, #sp-bottom .mfp_default_item {
    	flex-basis: 100%;
    	max-width: 100%;
	}
}

/* Mobile Small Resolution */
@media (max-width: 480px) {
    body #sp-header {
        top: 0;
    }
}

/* General color defination
Color value depend on preset color that picking on template settings > Presets
*/

:root {
  --background-color: currentColor;
  --background: currentColor;
  --text-color: currentColor;
}
body.home .article-introtext .readmore a, .sp-mod-title:after, a.btn,
.sp-mod-title .sp-module-title:after {
    background-color: var(--background-color);
}
.article-list .article .readmore a:hover, .article-list .article .readmore a:active, .article-list .article .article-header h2 a:hover, 
#sp-bottom ul li span {
    color: var(--text-color);
}
#sp-position1 .mfp_default_skin_default .mfp_default_item .mfp_default_title a:hover,
span.mfp_cat a, #sp-position3 .mfp_default_skin_default .mfp_default_item a:hover {
    color: var(--text-color);
}
/* ===== Botón descarga artículos (Noticias) ===== */
.download-asset-wrap {
    margin-top: 14px;
}

.download-asset-btn,
.content-download .descarga-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #3c5dab;
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.2s ease;
}

.download-asset-btn:hover,
.download-asset-btn:focus,
.content-download .descarga-pdf:hover,
.content-download .descarga-pdf:focus {
    background: #2f4a8a;
    color: #ffffff !important;
    text-decoration: none;
}

.content-download {
    display: inline-block;
    margin-left: 12px;
}

@media (max-width: 767px) {
    .download-asset-wrap {
        margin-top: 12px;
    }

    .content-download {
        display: block;
        margin-top: 10px;
        margin-left: 0;
    }
}


/* ===== Ajuste visual v2: botón descarga más discreto en social share ===== */
.article-social-share {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.article-social-share .social-share-icon {
    order: 2;
}

.article-social-share .download-asset-wrap {
    order: 1;
    margin-top: 0;
}

.article-social-share .download-asset-btn {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    white-space: nowrap;
}

.article-social-share .download-asset-btn:hover,
.article-social-share .download-asset-btn:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.article-social-share .download-asset-btn i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    border: 1px solid #e3e3e3;
    background: #ffffff;
    color: #d64545;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    line-height: 1;
}

.article-social-share .download-asset-btn span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    color: #666666;
}

.article-social-share .download-asset-btn:hover i,
.article-social-share .download-asset-btn:focus i {
    color: #c53232;
    border-color: #d8d8d8;
}

.article-social-share .download-asset-btn:hover span,
.article-social-share .download-asset-btn:focus span {
    color: #444444;
}

@media (max-width: 767px) {
    .article-social-share {
        gap: 10px;
    }

    .article-social-share .download-asset-btn i {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 17px;
    }

    .article-social-share .download-asset-btn span {
        font-size: 12px;
    }
}

/* ===== Ajuste visual v3: forzar icono rojo en círculo en social share ===== */
.article-social-share {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    float: none !important;
}

.article-social-share .download-asset-wrap {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 14px 0 0 !important;
    vertical-align: middle !important;
}

.article-social-share .social-share-icon {
    order: 2 !important;
}

.article-social-share .download-asset-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #666666 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.article-social-share .download-asset-btn i,
.article-social-share .download-asset-btn .fa,
.article-social-share .download-asset-btn .fas {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 50% !important;
    border: 1px solid #e2e2e2 !important;
    background: #ffffff !important;
    color: #d93025 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.article-social-share .download-asset-btn span {
    display: inline-block !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    color: #666666 !important;
}

.article-social-share .download-asset-btn:hover,
.article-social-share .download-asset-btn:focus {
    background: transparent !important;
    color: #444444 !important;
    text-decoration: none !important;
}

.article-social-share .download-asset-btn:hover i,
.article-social-share .download-asset-btn:focus i,
.article-social-share .download-asset-btn:hover .fa,
.article-social-share .download-asset-btn:focus .fa,
.article-social-share .download-asset-btn:hover .fas,
.article-social-share .download-asset-btn:focus .fas {
    color: #c62828 !important;
    border-color: #d6d6d6 !important;
}

.article-social-share .download-asset-btn:hover span,
.article-social-share .download-asset-btn:focus span {
    color: #444444 !important;
}

/* ===== Ajuste visual v4: convertir descarga en tercer icono del share ===== */
.article-social-share {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.article-social-share .download-asset-wrap {
    order: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.article-social-share .download-asset-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    border: 1px solid #ededed !important;
    background: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.article-social-share .download-asset-btn span {
    display: none !important;
}

.article-social-share .download-asset-btn i,
.article-social-share .download-asset-btn .fa,
.article-social-share .download-asset-btn .fas {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: #d93025 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    display: inline-block !important;
    margin: 0 !important;
}

.article-social-share .download-asset-btn:hover,
.article-social-share .download-asset-btn:focus {
    border-color: #d8d8d8 !important;
    background: #ffffff !important;
}

.article-social-share .download-asset-btn:hover i,
.article-social-share .download-asset-btn:focus i,
.article-social-share .download-asset-btn:hover .fa,
.article-social-share .download-asset-btn:focus .fa,
.article-social-share .download-asset-btn:hover .fas,
.article-social-share .download-asset-btn:focus .fas {
    color: #b42318 !important;
}

/* ===== Ajuste visual v5: descarga izquierda + share derecha en la misma fila ===== */
.article-share-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
}

.article-share-download {
    display: flex !important;
    align-items: center !important;
    margin-right: auto !important;
}

.article-share-social {
    margin-left: auto !important;
}

.article-share-social .article-social-share {
    float: none !important;
    margin: 0 !important;
}

.article-share-download .download-asset-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #4464b2 !important;
    color: #ffffff !important;
    padding: 14px 24px !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.article-share-download .download-asset-btn:hover,
.article-share-download .download-asset-btn:focus {
    background: #3c5dab !important;
    color: #ffffff !important;
}

.article-share-download .download-asset-btn i,
.article-share-download .download-asset-btn .fa,
.article-share-download .download-asset-btn .fas {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.article-share-download .download-asset-btn span {
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    .article-share-row {
        flex-wrap: wrap !important;
    }

    .article-share-download,
    .article-share-social {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
