/**
* Theme Name: Edumodo Child
* Description: This is a child theme of Edumodo, generated by Merlin WP.
* Author: <a href="https://www.themexpert.com/">Themexpert</a>
* Template: edumodo
* Version: 4.3.12
*/

/* HEADER */

body:not(.logged-in) .menu-foros{
	display: none !important;
}

body .edumodo-header div#edumodo-mainnav {
	min-height: 90px;
}

body.post-type-archive-sfwd-courses .edumodo-header .navigation-main > li.link-cursos a {
	color: #f08a3b !important;
}

/* PAGE TITLE */
.page-id-301 .page-details ,
.page-id-12054 .page-details {
	display: none;
}

.blog-home .edumodo-blog-content-wrapper{
	margin-bottom: 30px;
}

.blog-columns .row{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

body .main-post.single-post .entry-content{
	padding: 30px 50px;
}

@media (min-width: 687.98px) {
	body .main-post.single-post .entry-content{
		padding: 50px 150px;
	}
}

.main-post.single-post .image-content img{
	width: 100%;
}

.main-post.single-post .entry-content p{
	line-height: 2;
}

.navigation.post-navigation{
	margin-top: 50px;
	background: #FFF;
	border-radius: 10px;
	padding: 20px 30px;
}

.navigation.post-navigation a{
	color: #20374e;
}

.navigation.post-navigation a:hover{
	color: #f08a3b !important;
}

body .site-content{
	background: #FFF;
}

body article.main-post,
body article.main-post.single-post,
.navigation.post-navigation{
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.banner-principal .carousel-caption{
	text-shadow: none !important;
}

/* CURSOS */
.course-summary.ld-course-summary,
.lpcourse-main .widget-area .widget{
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
	border-radius: 20px;
}

body .lpcourse-sidebar .course-video{
	border-radius: 20px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

body .lpcourse-sidebar .course-video img{
	border: none;
	border-radius: 20px 20px 0 0;
}

.post-type-archive-sfwd-courses .sfwd-courses{
	border-radius: 20px;
}

.sfwd-courses .post-thumbnail img{
	border-radius: 20px 20px 0 0;
}

.sfwd-courses .ld_course_grid_price{
	border-radius: 5px 5px 5px 0;
}

#ld_course_list .btn, .ld_course_grid_button .btn, .ld-course-list-items .ld_course_grid .btn-primary{
	border: none;
	background: #021d3a !important;
	color: #FFF !important;
}

#ld_course_list .btn:hover, .ld_course_grid_button .btn:hover, .ld-course-list-items .ld_course_grid .btn-primary:hover{
	background: #f08a3b !important;
}

.ld_course_grid .entry-title:hover{
	background: transparent !important;
}

.lp-course-buttons{
	display: none;
}

.lpcourse-sidebar .lp-course-meta{
	padding: 30px !important;
	margin-bottom: 30px;
}

/* CUENTA */
body.woocommerce-cart article .woocommerce,
body.woocommerce-checkout article .woocommerce,
body.woocommerce-account article .woocommerce{
	width: 100%;
	box-shadow: none;
}

body.woocommerce .woocommerce-MyAccount-navigation ul li.is-active,
body.woocommerce-cart .woocommerce-MyAccount-navigation ul li.is-active,
body.woocommerce-checkout .woocommerce-MyAccount-navigation ul li.is-active,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active{
	border-left: solid 5px #f08a3b;
}

/* FOOTER */
.menu-footer ul{
	display: flex;
	flex-direction: column;
	column-gap: 20px
}

@media (min-width: 687.98px) {
	.menu-footer ul{
		flex-direction: row;
	}
}

.footer .widget.menu-footer ul li{
	padding: 0;
	width: auto;
}

.menu-footer ul li:before{
	display: none;
}

.footer-sidebar-1 > div,
.footer-sidebar-2 > div{
	width: 100%
}

@media (min-width: 687.98px) {
	.footer-sidebar-1 > div{
		width: 65%
	}

	.footer-sidebar-2 > div{
		width: 35%
	}
}

.footer-sidebar-3,
.footer-sidebar-4,
#copyright {
	display: none;
}



/* FOROS */

.bbpress-wrapper {
	padding: 50px 0;
}

.bbpress #bbpress-forums .bbp-body li.bbp-forum-freshness,
li.bbp-forum-freshness, li.bbp-topic-freshness {
	text-align: right;
}

body.bbpress #bbpress-forums .bbp-template-notice {
	background: #ff8833;
	border: #e86d16;
}

body.bbpress #bbpress-forums .bbp-template-notice a,
body.bbpress #bbpress-forums .bbp-template-notice p,
body.bbpress #bbpress-forums .bbp-template-notice span,
body.bbpress #bbpress-forums .bbp-template-notice li { 
	color: #FFF;
}

body.bbpress #bbpress-forums .bbp-template-notice li:hover a{
	color: #FFF;
}

body.bbpress #bbpress-forums .bbp-template-notice li a:hover {
	color: #b54f06;
}

body.bbpress #bbpress-forums .bbp-topic-form,
body.bbpress #bbpress-forums .bbp-reply-form {
	background: #f0f0f0;
}

body.bbpress #bbpress-forums .bbp-topics {
	border: 1px solid #f0f0f0;
	border-radius: 10px;
}

body.bbpress #bbpress-forums .bbp-topics .bbp-header {
	padding: 10px 25px;
	background: #20374e;
	color: #FFF;
}

body.bbpress #bbpress-forums .bbp-topics .bbp-body {
	margin: 0;
}

body.bbpress #bbpress-forums .bbp-topics .bbp-body ul.topic {
	margin: 0;
}

body.bbpress #bbpress-forums .bbp-replies .bbp-body div.bbp-reply-header {
	background: #20374e;
	color: #FFF;
}

body.bbpress #bbpress-forums .bbp-replies .bbp-body div.bbp-reply-header .bbp-admin-links a,
body.bbpress #bbpress-forums .bbp-replies .bbp-body div.bbp-reply-header .bbp-reply-permalink {
	color: #FFF;
}

body.bbpress #bbpress-forums .bbp-replies .bbp-body div.bbp-reply-header .bbp-admin-links a:hover,
body.bbpress #bbpress-forums .bbp-replies .bbp-body div.bbp-reply-header .bbp-reply-permalink:hover {
	color: #ff8833;
}

body.bbpress #bbpress-forums .bbp-reply-form form .bbp-submit-wrapper button,
body.bbpress #bbpress-forums .bbp-no-reply form .bbp-submit-wrapper button,
body.bbpress #bbpress-forums .bbp-topic-form form .bbp-submit-wrapper #bbp_topic_submit {
	background: #20374e;
	color: #FFF;
	border: none;
	border-radius: 50px;
	font-weight: bold;
	text-transform: uppercase;
}

body.bbpress #bbpress-forums .bbp-reply-form form .bbp-submit-wrapper button:hover,
body.bbpress #bbpress-forums .bbp-no-reply form .bbp-submit-wrapper button:hover,
body.bbpress #bbpress-forums .bbp-topic-form form .bbp-submit-wrapper #bbp_topic_submit:hover {
	background: #ff8833;
}

body.bbpress #bbpress-forums .bbp-reply-form form .bbp-submit-wrapper a {
	padding: 7px 20px;
	margin-right: 10px;
	border-radius: 50px;
	border: 1px solid #20374e;
}

body.bbpress #bbpress-forums .bbp-topics .bbp-body ul.topic .bbp-topic-meta .bbp-topic-started-by .bbp-author-name:hover {
	color: #576574;
}

.container-top-banner img {
	border-radius: 10px;
}

.wrapper-topics-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	position: relative;	
}

.wrapper-topics-banner .widget {
	margin: 0;
}

#bbpress-forums .wrapper-topics-banner .title-topic {
	position: absolute;
	color: #FFF;
	margin: 0;
	padding: 30px;
	font-size: 35px;
	font-weight: bold;
	width: 75%;
	text-align: center;
}


.entry-footer-body {
	display: none;
}

/* FORO PRIVADO */

.forum.type-forum.status-private {
	width: 100%;
}

.ld-bbpress-forums,
#forum-private {
	width: 100%;
	text-align: center;
}

.ld-bbpress-forums {
	margin-top: 100px;
}

#forum-private {
	margin-bottom: 100px;
}

.ld-bbpress-forums p {
	font-size: 22px;
}

#forum-private div.bbp-template-notice.info ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

#forum-private div.bbp-template-notice.info {
	background: #ff8833;
	color: #FFF;
	border: 1px solid #e86d16;
}

#forum-private div.bbp-template-notice.info li {
	font-size: 18px;
}


/* DASHBOARD INSTRUCTOR */
.container-foros-instructor #wpwrap #adminmenumain,
.container-foros-instructor #wpwrap #adminmenuback,
.container-foros-instructor #wpwrap #adminmenuwrap,
.container-foros-instructor #wpwrap #adminmenu,
.container-foros-instructor #wpwrap #adminmenu .wp-submenu,
.container-foros-instructor ul#ir-primary-menu{
	display: none !important;
}

.container-configuraciones-instructor .ir-border-color:nth-child(2),
.page-template-ir-wisdm-dashboard-template .edumodo-header,
.page-template-ir-wisdm-dashboard-template .footer,
.page-id-15547 .edumodo-header,
.page-id-15547 .footer,
.page-id-15547 #wpadminbar{
	display: none !important;
}
.elementor-29 .elementor-element.elementor-element-116345e .tgx-slider-2 .carousel-inner .carousel-caption .btn-slider{
	display: none;
}

/* --- 1. Contenedor de la Sección de Blogs --- */
/* Añadimos un poco de aire a la sección completa */
.elementor-element-277b438 {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* --- 2. Estilo de las Tarjetas (Sticky y Standard) --- */
.tgx-blog-2 article {
    background: #ffffff !important;
    border-radius: 12px !important; /* Bordes más redondeados como la imagen 2 */
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.08) !important; /* Sombra suave y moderna */
    overflow: hidden;
    margin-bottom: 30px;
    border: none !important; /* Eliminamos bordes toscos */
    transition: all 0.3s ease;
}

.tgx-blog-2 article:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* --- 3. QUITAR "By: fmedina" Y LA FECHA --- */
.author-meta, 
.date-format {
    display: none !important;
}

/* --- 4. Ajuste de la Tarjeta Destacada (Izquierda) --- */
.custom-sticky-post .blog-details {
    padding: 40px 30px !important;
}

.custom-sticky-post .entry-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    display: block;
}

.custom-sticky-post .entry-content p {
    color: #7f8c8d !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* --- 5. Ajuste de Tarjetas Laterales (Derecha) --- */
.standard-post .blog-details {
    padding: 25px 20px !important;
}

.standard-post .entry-title {
    font-size: 19px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
}

.standard-post .entry-title a {
    color: #34495e !important;
    text-decoration: none !important;
}

/* --- 6. Botones "Read More" --- */
.btn-readmore {
    color: #e74c3c !important; /* Rojo/Salmon similar a tu referencia */
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    text-decoration: none !important;
    position: relative;
    display: inline-block;
}

.btn-readmore:hover {
    color: #c0392b !important;
}

/* --- 7. Tratamiento de Imágenes --- */
.post-thumbnail {
    margin: 0 !important;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100% !important;
    height: auto !important;
    display: block;
    transition: transform 0.5s ease;
}

.tgx-blog-2 article:hover .post-thumbnail img {
    transform: scale(1.05); /* Zoom suave al pasar el mouse */
}

/* Ajuste de proporción para móviles */
@media (max-width: 767px) {
    .custom-sticky-post .entry-title {
        font-size: 24px !important;
    }
}
.tgx-slider-2 .carousel .carousel-indicators li{
	display: none
}
