/* RATON DE BIBLIOTECA | Version visual 1
   Inicio: body.home .page_content_wrap
   Compartidos: header.top_panel y footer.footer_wrap
   Prueba anterior conservada aqui: .elementor-28757 { background: red; }
*/

/* HEADER COMPARTIDO */
header.top_panel {
  background: #fffaf3 !important;
  border-bottom: 1px solid #e9ded3;
  box-shadow: 0 5px 24px rgba(66,39,34,.06);
}
header.top_panel section { background-color: #fffaf3 !important; }
header.top_panel img {
  max-height: 88px !important;
  width: auto !important;
  object-fit: contain;
}
header.top_panel a { transition: color .18s ease, background-color .18s ease; }
header.top_panel li > a {
  color: #49332f !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
header.top_panel li > a:hover,
header.top_panel li > a:focus-visible { color: #b33e37 !important; }
header.top_panel ul ul {
  background: #fffaf3 !important;
  border: 1px solid #e9ded3;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(66,39,34,.12);
}
header.top_panel a[href*="/mi-cuenta"] {
  color: #fff !important;
  background: #a83f38 !important;
  border-color: #a83f38 !important;
  border-radius: 10px !important;
}

/* INICIO: PALETA Y JERARQUIA */
body.home .page_content_wrap { background: #fffaf3 !important; }
body.home .page_content_wrap section { background-color: #fffaf3 !important; }
body.home .page_content_wrap h1,
body.home .page_content_wrap h2,
body.home .page_content_wrap h3 {
  font-family: Georgia, 'Times New Roman', serif !important;
  color: #49332f !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}
body.home .page_content_wrap h1 { font-size: clamp(34px, 3.4vw, 56px) !important; }
body.home .page_content_wrap h2 { font-size: clamp(30px, 2.8vw, 44px) !important; }
body.home .page_content_wrap h3 { font-size: clamp(28px, 2.5vw, 40px) !important; }
body.home .page_content_wrap h5,
body.home .page_content_wrap h6 {
  color: #49332f !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}
body.home .page_content_wrap p {
  color: #5c504a !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
}
body.home .page_content_wrap h2 a { color: inherit !important; }
body.home .page_content_wrap h2 a:hover { color: #a83f38 !important; }
body.home .page_content_wrap a[class*="button"] {
  background: #a83f38 !important;
  border: 1px solid #a83f38 !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 17px 27px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 16px rgba(168,63,56,.13);
  transition: background-color .18s ease, box-shadow .18s ease;
}
body.home .page_content_wrap a[class*="button"]:hover {
  background: #85312c !important;
  border-color: #85312c !important;
  box-shadow: 0 8px 22px rgba(168,63,56,.21);
}
body.home .page_content_wrap img {
  border-radius: 18px;
}

/* FOOTER COMPARTIDO */
footer.footer_wrap,
footer.footer_wrap .elementor-28757,
footer.footer_wrap section {
  background: #322827 !important;
  color: #eee3d8 !important;
}
footer.footer_wrap { border-top: 5px solid #d17b64; }
footer.footer_wrap .elementor-top-section:first-child {
  padding-top: 56px !important;
  padding-bottom: 38px !important;
}
footer.footer_wrap .elementor-top-section:last-child {
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}
footer.footer_wrap p,
footer.footer_wrap li,
footer.footer_wrap div,
footer.footer_wrap a {
  color: #eee3d8 !important;
  font-size: 15px;
  line-height: 1.75;
}
footer.footer_wrap h5,
footer.footer_wrap h2,
footer.footer_wrap h3 {
  color: #fffaf3 !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em;
}
footer.footer_wrap a { overflow-wrap: anywhere; }
footer.footer_wrap a:hover,
footer.footer_wrap a:focus-visible { color: #ffd0b8 !important; }
footer.footer_wrap img {
  background: #fffaf3;
  padding: 16px;
  border-radius: 18px;
  box-sizing: border-box;
  max-width: 240px !important;
}
footer.footer_wrap li { margin-bottom: 9px; }

/* FOCO VISIBLE Y MOVILES */
header.top_panel a:focus-visible,
footer.footer_wrap a:focus-visible,
body.home .page_content_wrap a:focus-visible {
  outline: 3px solid #c47445 !important;
  outline-offset: 4px;
}
@media (max-width: 767px) {
  header.top_panel img { max-height: 64px !important; }
  body.home .page_content_wrap p { font-size: 16px !important; line-height: 1.75 !important; }
  body.home .page_content_wrap h1 { font-size: 34px !important; }
  body.home .page_content_wrap h2 { font-size: 30px !important; }
  footer.footer_wrap .elementor-top-section:first-child { padding-top: 36px !important; }
  footer.footer_wrap img { max-width: 200px !important; }
}

/* Contraste frente a las reglas del tema */
body footer.footer_wrap.footer_custom.footer_custom_28757 .elementor.elementor-28757 * {
  color: #eee3d8 !important;
}
body footer.footer_wrap.footer_custom.footer_custom_28757 .elementor.elementor-28757 a:hover,
body footer.footer_wrap.footer_custom.footer_custom_28757 .elementor.elementor-28757 a:hover * {
  color: #ffd0b8 !important;
}
body.home .page_content_wrap h2:has(> a) {
  font-size: clamp(24px, 2vw, 30px) !important;
  line-height: 1.25 !important;
}

/* Enlaces legales: selector original del tema */
body footer.footer_wrap #menu-quick-links li a { color: #eee3d8 !important; }
body footer.footer_wrap #menu-quick-links li a:hover,
body footer.footer_wrap #menu-quick-links li a:focus-visible { color: #ffd0b8 !important; }

/* Menu principal y desplegables */
body header.top_panel.top_panel_custom .elementor.elementor-31 li a,
body header.top_panel.top_panel_custom .elementor.elementor-31 li a span {
  color: #49332f !important;
}
body header.top_panel.top_panel_custom .elementor.elementor-31 li a:hover,
body header.top_panel.top_panel_custom .elementor.elementor-31 li a:hover span {
  color: #a83f38 !important;
}

/* VERSION 2: ajustes de cuenta, servicios, portal y videos */
body header.top_panel a[href*="/mi-cuenta"] *,
body header.top_panel a[href*="/mi-cuenta"] *::before,
body header.top_panel a[href*="/mi-cuenta"] *::after {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
body header.top_panel a[href*="/mi-cuenta"] svg { stroke: currentColor !important; }

/* Que hacemos: fondo durazno con contraste entre secciones */
body.home .page_content_wrap .elementor.elementor-322 .elementor-element.elementor-element-04a0f6c {
  background: #f5dfcf !important;
  border-top: 1px solid #ead1bf;
  border-bottom: 1px solid #ead1bf;
}
body.home .page_content_wrap .elementor.elementor-322 .elementor-element-04a0f6c section {
  background-color: transparent !important;
}

/* Portal digital: noche estrellada y lectura clara */
body.home .page_content_wrap .elementor.elementor-322 .elementor-element.elementor-element-5767c5c {
  background: radial-gradient(ellipse at 15% 15%, #345666 0%, #213e50 48%, #192d40 100%) !important;
  color: #fffaf3 !important;
}
body.home .page_content_wrap .elementor.elementor-322 .elementor-element-5767c5c section {
  background: transparent !important;
}
body.home .page_content_wrap .elementor.elementor-322 .elementor-element-5767c5c :is(h1,h2,h3,h4,p,p span),
body.home .page_content_wrap .elementor.elementor-322 .elementor-element-5767c5c [class*="text"] {
  color: #fffaf3 !important;
  -webkit-text-fill-color: currentColor !important;
}
body.home .page_content_wrap .elementor.elementor-322 .elementor-element-5767c5c a[class*="button"] {
  background: #f5c9a7 !important;
  border-color: #f5c9a7 !important;
  color: #293b44 !important;
  box-shadow: none !important;
}
body.home .page_content_wrap .elementor.elementor-322 .elementor-element-5767c5c a[class*="button"] * {
  color: inherit !important;
}

/* Videos: tarjetas editoriales con portada y titulo */
body.home .page_content_wrap .elementor.elementor-322 .elementor-element.elementor-element-4c99e413 {
  background: #e8eeea !important;
}
body.home .page_content_wrap .elementor.elementor-322 .elementor-element-4c99e413 section {
  background: transparent !important;
}
body.home .page_content_wrap .elementor-322 .elementor-element-4c99e413 .elementor-inner-section > .elementor-container {
  align-items: stretch;
}
body.home .page_content_wrap .elementor-322 .elementor-element-4c99e413 .elementor-inner-section .elementor-column > .elementor-widget-wrap {
  background: #fffdf8 !important;
  border: 1px solid #d6dfd9;
  border-radius: 20px;
  padding: 14px 14px 24px !important;
  margin: 12px !important;
  overflow: hidden;
  box-shadow: 0 9px 24px rgba(32,57,47,.07);
  align-content: flex-start;
}
body.home .page_content_wrap .elementor-322 .elementor-element-4c99e413 .elementor-inner-section h6 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(20px,1.65vw,27px) !important;
  line-height: 1.35 !important;
  text-align: left !important;
  padding: 8px 16px 0 !important;
  margin: 0 !important;
  color: #283e35 !important;
}
body.home .page_content_wrap .elementor-322 .elementor-element-4c99e413 .elementor-inner-section img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px !important;
}
body.home .page_content_wrap .elementor-322 .elementor-element-4c99e413 .elementor-inner-section iframe {
  border-radius: 12px;
}
@media(max-width:767px) {
  body.home .page_content_wrap .elementor-322 .elementor-element-4c99e413 .elementor-inner-section .elementor-column > .elementor-widget-wrap {
    margin: 8px 0 18px !important;
    padding: 10px 10px 20px !important;
  }
}

/* VERSION 3: ultima fila de videos sin huecos */
body.home .page_content_wrap .elementor-322 .elementor-element-4c99e413 .elementor-inner-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* La columna vacia de la ultima fila no se presenta como tarjeta. */
body.home .page_content_wrap .elementor-322 .elementor-element-3ae46dc > .elementor-container > .elementor-column:not(:has(img,iframe,video,h6)) {
  display: none !important;
}
body.home .page_content_wrap .elementor-322 .elementor-element-3ae46dc > .elementor-container > .elementor-column:has(img,iframe,video,h6) {
  width: 100% !important;
}
@media(min-width:768px) {
  body.home .page_content_wrap .elementor-322 .elementor-element-4c99e413 .elementor-element-3ae46dc .elementor-column > .elementor-widget-wrap {
    display: grid !important;
    grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
    align-items: center;
    align-content: center;
    gap: 28px;
    padding: 14px !important;
  }
  body.home .page_content_wrap .elementor-322 .elementor-element-3ae46dc .elementor-widget-wrap > .elementor-element:has(img,iframe,video) {
    grid-column: 1;
    grid-row: 1;
    width: 100% !important;
    margin: 0 !important;
  }
  body.home .page_content_wrap .elementor-322 .elementor-element-3ae46dc .elementor-widget-wrap > .elementor-element:has(h6) {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    margin: 0 !important;
  }
  body.home .page_content_wrap .elementor-322 .elementor-element-3ae46dc .elementor-widget-spacer {
    display: none !important;
  }
  body.home .page_content_wrap .elementor-322 .elementor-element-4c99e413 .elementor-element-3ae46dc h6 {
    padding: 16px 24px 16px 0 !important;
    font-size: clamp(24px,2vw,34px) !important;
    hyphens: none !important;
    word-break: normal !important;
  }
}


/* VERSION 4: paginas interiores */
body:not(.home) .page_content_wrap {background-color:#fffaf3;}
body:not(.home) .page_content_wrap .elementor h1,body:not(.home) .page_content_wrap .elementor h2,body:not(.home) .page_content_wrap .elementor h3,body:not(.home) .page_content_wrap .elementor h4 {font-family:Georgia,serif!important;}




body:not(.home) .page_content_wrap p {line-height:1.8!important;text-wrap:pretty;}
body:not(.home) .page_content_wrap .elementor-button,body:not(.home) .page_content_wrap .sc_button,body:not(.home) .page_content_wrap a.button,body:not(.home) .page_content_wrap button.button {background:#a83f38!important;color:#fffaf3!important;border:1px solid #a83f38!important;border-radius:12px!important;font-weight:700!important;line-height:1.4!important;box-shadow:0 5px 15px rgba(96,48,39,.12);}
body:not(.home) .page_content_wrap .elementor-button *,body:not(.home) .page_content_wrap .sc_button * {color:inherit!important;}
body:not(.home) .page_content_wrap a:focus-visible,body:not(.home) .page_content_wrap button:focus-visible {outline:3px solid #c47445!important;outline-offset:4px;}
body:not(.home) .page_content_wrap .post_featured img,body:not(.home) .page_content_wrap .elementor-widget-image img {border-radius:16px;}
@media(max-width:767px){body:not(.home) .page_content_wrap p {line-height:1.7!important;}}

/* Lectura de contenido extenso y documentos */
body:not(.home) .page_content_wrap .elementor-widget-text-editor p {text-align:start!important;max-inline-size:75ch;margin-inline:auto;hyphens:none!important;}
body:not(.home) .page_content_wrap h1,body:not(.home) .page_content_wrap h2,body:not(.home) .page_content_wrap h3 {hyphens:none!important;word-break:normal!important;}
body.page-id-34572 .page_content_wrap .elementor .elementor-element-775bec2 h2 {font:400 18px/1.8 Arial,sans-serif!important;letter-spacing:0!important;text-align:left!important;}
body.page-id-34572 .page_content_wrap #ny-form-etica h1 {font:400 17px/1.7 Arial,sans-serif!important;letter-spacing:0!important;text-align:left!important;}
body.page-id-34572 .page_content_wrap #ny-form-etica h1 * {font:inherit!important;}
body.page-id-34572 .page_content_wrap .elementor-element-bfcd69f>.elementor-widget-wrap {background:#fffdf8!important;border:1px solid #e5d7c9;border-radius:20px;box-shadow:0 10px 28px rgba(73,51,47,.06);padding:clamp(22px,4vw,48px)!important;}
body:not(.home) .page_content_wrap .elementor-widget-text-editor a[href$=".pdf"] {color:#963b33!important;display:inline-block;text-decoration:underline;text-underline-offset:4px;line-height:1.6;padding-block:5px;}
body:not(.home) .page_content_wrap input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),body:not(.home) .page_content_wrap textarea {border:1px solid #d8c9bd!important;border-radius:10px!important;background-color:#fffdf9!important;color:#49332f!important;box-sizing:border-box;max-width:100%;}
body:not(.home) .page_content_wrap input[type="submit"] {background:#a83f38!important;color:#fffaf3!important;border-radius:12px!important;border-color:#a83f38!important;}

/* Tarjetas de articulos, recursos y blog */
body:not(.home) .page_content_wrap .sc_blogger_content article.post_item {background:#fffdf8!important;border:1px solid #e5d9cb!important;border-radius:18px!important;box-shadow:0 8px 22px rgba(73,51,47,.07);overflow:hidden;padding:22px!important;}
body:not(.home) .page_content_wrap .sc_blogger_content .post_item .post_header h2,body:not(.home) .page_content_wrap .sc_blogger_content .post_item .post_title {font-size:clamp(20px,1.4vw,24px)!important;line-height:1.3!important;letter-spacing:-.02em!important;text-align:left!important;hyphens:none!important;overflow-wrap:normal!important;word-break:normal!important;margin:0 0 16px!important;}
body:not(.home) .page_content_wrap .sc_blogger_content .post_header h2 a {color:#49332f!important;}
body:not(.home) .page_content_wrap .sc_blogger_content .post_header h2 a:hover {color:#963b33!important;}
body:not(.home) .page_content_wrap .sc_blogger_content .post_featured.with_thumb {aspect-ratio:16/10;overflow:hidden;border-radius:12px;margin-bottom:22px!important;}
body:not(.home) .page_content_wrap .sc_blogger_content .post_featured.with_thumb img {width:100%!important;height:100%!important;object-fit:contain;}
body:not(.home) .page_content_wrap .sc_blogger_content .post_content p {font-size:16px!important;line-height:1.7!important;text-align:left!important;}
body:not(.home) .page_content_wrap .sc_blogger_content .post_meta {font-size:13px!important;line-height:1.5!important;}
@media(max-width:767px){body:not(.home) .page_content_wrap .sc_blogger_content article.post_item {padding:18px!important;}body:not(.home) .page_content_wrap .sc_blogger_content .post_item .post_header h2 {font-size:23px!important;}}

/* Espacio util, portadas completas y contraste de los listados */
body:not(.home) .page_content_wrap .sc_blogger_content .post_item .post_header,
body:not(.home) .page_content_wrap .sc_blogger_content .post_item .post_content {padding:0!important;}
body:not(.home) .page_content_wrap .sc_blogger_content .post_featured.with_thumb {background:#f6eee5;}
body:not(.home) .page_content_wrap .elementor-top-section:has(.sc_blogger_content) {background-color:#e8eeea!important;}
body:not(.home) .page_content_wrap .elementor-top-section:nth-of-type(even):has(.sc_blogger_content) {background-color:#f5dfcf!important;}
body:not(.home) .page_content_wrap .elementor-top-section:has(.sc_blogger_content) .elementor-widget-heading .elementor-heading-title {color:#49332f!important;}
/* VERSION 5: presentacion de Quienes somos */
.elementor-28581 > .elementor-top-section:first-child {background:#f5dfcf!important;padding-top:42px!important;padding-bottom:48px!important;border-bottom:1px solid #e4c4ae;}
.elementor-28581 > .elementor-top-section:first-child .elementor-widget-image img {width:100%!important;max-height:420px!important;object-fit:cover!important;object-position:center 40%!important;border-radius:24px!important;box-shadow:0 16px 36px #49332f20!important;}
.elementor-28581 > .elementor-top-section:first-child .elementor-widget-heading .elementor-heading-title {font-size:clamp(28px,3vw,46px)!important;line-height:1.2!important;color:#49332f!important;letter-spacing:-.025em!important;}
.elementor-28581 > .elementor-top-section:first-child .elementor-widget-text-editor {max-width:900px;margin-left:auto!important;margin-right:auto!important;}
@media(max-width:767px){.elementor-28581 > .elementor-top-section:first-child {padding:28px 16px!important;}.elementor-28581 > .elementor-top-section:first-child .elementor-widget-image img {max-height:280px!important;}}

/* CURSOS: modulos y progreso LearnDash */
body.single-sfwd-courses .page_content_wrap {padding-top:44px!important;padding-bottom:64px!important;background:#f6f0e8!important;}
body.single-sfwd-courses .page_content_wrap>.content_wrap {max-width:1120px!important;width:calc(100% - 40px)!important;}
body.single-sfwd-courses .learndash-wrapper {color:#49332f;}
body.single-sfwd-courses .learndash-wrapper .ld-section-heading {background:#ead7c5;padding:24px!important;border-radius:18px;margin-bottom:24px!important;gap:16px;}
body.single-sfwd-courses .learndash-wrapper .ld-section-heading h2 {font:400 clamp(25px,2.5vw,36px)/1.2 Georgia,serif!important;color:#49332f!important;margin:0!important;}
body.single-sfwd-courses .learndash-wrapper .ld-item-list-item {border:1px solid #dfd1c2!important;border-left:5px solid #b16b50!important;border-radius:16px!important;background:#fffdf8!important;box-shadow:0 6px 20px #49332f0b;margin:0 0 16px!important;overflow:hidden;}
body.single-sfwd-courses .learndash-wrapper .ld-item-list-item.learndash-complete {border-left-color:#477360!important;}
body.single-sfwd-courses .learndash-wrapper .ld-item-list-item-preview {padding:24px!important;}
body.single-sfwd-courses .learndash-wrapper .ld-item-title {font-size:19px!important;line-height:1.5!important;font-weight:600!important;color:#49332f!important;}
body.single-sfwd-courses .learndash-wrapper .ld-item-components {font-size:13px!important;color:#74665e!important;margin-top:6px!important;}
body.single-sfwd-courses .learndash-wrapper .ld-expand-button {color:#963b33!important;}
body.single-sfwd-courses .learndash-wrapper .ld-expand-button.ld-primary-background,body.single-sfwd-courses .learndash-wrapper .ld-button {background:#a83f38!important;color:#fffaf3!important;border-radius:10px!important;padding:12px 18px!important;}
body.single-sfwd-courses .learndash-wrapper .ld-expand-button .ld-icon {background-color:#a83f38!important;color:#fffaf3!important;}
body.single-sfwd-courses .learndash-wrapper .ld-course-status {background:#e4ece5!important;border:1px solid #cbdacf;border-radius:16px!important;padding:22px!important;margin-bottom:28px!important;}
body.single-sfwd-courses .learndash-wrapper .ld-progress-bar {background:#fffdf8!important;height:9px!important;border-radius:8px!important;}
body.single-sfwd-courses .learndash-wrapper .ld-progress-bar-percentage {background:#477360!important;border-radius:8px!important;}
body.single-sfwd-courses .learndash-wrapper .ld-progress-percentage {color:#355d4b!important;}
body.single-sfwd-courses .learndash-wrapper .ld-item-list-item-expanded {background:#f5f6ef!important;}
body.single-sfwd-courses .learndash-wrapper .ld-table-list-item {border-color:#e1d9cd!important;}
body.single-sfwd-courses .learndash-wrapper a:focus-visible {outline:3px solid #b16b50!important;outline-offset:4px;}
@media(max-width:767px){body.single-sfwd-courses .page_content_wrap {padding-top:24px!important;}body.single-sfwd-courses .learndash-wrapper .ld-section-heading {padding:18px!important;flex-wrap:wrap;}body.single-sfwd-courses .learndash-wrapper .ld-item-list-item-preview {padding:18px!important;}body.single-sfwd-courses .learndash-wrapper .ld-item-title {font-size:17px!important;}}

body.single-sfwd-courses .learndash-wrapper .ld-table-list-header {background:#477360!important;color:#fff!important;}
body.single-sfwd-courses .learndash-wrapper .ld-table-list-header:before {background:#477360!important;}
body.single-sfwd-courses .learndash-wrapper .ld-table-list-item a {color:#49332f!important;line-height:1.6!important;}

/* INTERIORES DE CURSOS: lecciones y temas */
body:is(.single-sfwd-topic,.single-sfwd-lessons) .page_content_wrap {background:#f6f0e8!important;padding:36px 0 60px!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .page_content_wrap>.content_wrap {width:calc(100% - 40px)!important;max-width:1080px!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .learndash-wrapper {color:#49332f;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-lesson-status {background:#e4ece5!important;border:1px solid #cbdacf!important;border-radius:18px!important;padding:22px!important;margin-bottom:24px!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-breadcrumbs {background:transparent!important;padding:0!important;gap:14px;line-height:1.7!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-breadcrumbs a {color:#7c352f!important;font-size:14px!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-status-complete {background:#477360!important;color:white!important;border-radius:8px!important;padding:8px 12px!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-progress {margin-bottom:0!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-progress-bar {height:8px!important;background:#fffdf8!important;border-radius:8px!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-progress-bar-percentage {background:#477360!important;border-radius:8px!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-progress-percentage {color:#355d4b!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-tabs-content {background:#fffdf8!important;border:1px solid #e1d4c5!important;border-radius:20px!important;padding:clamp(16px,3vw,32px)!important;box-shadow:0 10px 30px #49332f0a;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .learndash-wrapper video {display:block;width:100%!important;height:auto!important;max-height:65vh!important;object-fit:contain!important;background:#252c2a!important;border-radius:14px!important;margin:0 auto!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .learndash-wrapper iframe {max-width:100%!important;border-radius:14px!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .learndash-wrapper audio {width:100%!important;margin:20px 0!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-tabs-content p,body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-tabs-content li {font-size:18px!important;line-height:1.8!important;color:#493f38!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-tabs-content h2,body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-tabs-content h3 {font-family:Georgia,serif!important;color:#49332f!important;line-height:1.3!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-content-actions {border-top:1px solid #dccbbb!important;margin-top:28px!important;padding-top:24px!important;gap:16px;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .learndash-wrapper .ld-button,body:is(.single-sfwd-topic,.single-sfwd-lessons) .learndash-wrapper input[type=submit] {background:#a83f38!important;color:#fffaf3!important;border:0!important;border-radius:11px!important;padding:14px 22px!important;font-weight:700!important;min-height:46px;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-content-actions a:not(.ld-button) {color:#7c352f!important;text-decoration:underline;text-underline-offset:4px;font-weight:600!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .learndash-wrapper a:focus-visible {outline:3px solid #b16b50!important;outline-offset:4px;}
@media(max-width:767px){body:is(.single-sfwd-topic,.single-sfwd-lessons) .page_content_wrap {padding-top:20px!important;}body:is(.single-sfwd-topic,.single-sfwd-lessons) .page_content_wrap>.content_wrap {width:calc(100% - 28px)!important;}body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-lesson-status {padding:16px!important;}body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-content-actions {flex-wrap:wrap;}body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-content-action {width:100%!important;flex-basis:100%!important;text-align:center!important;}}

body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-topic-status {background:#e4ece5!important;border:1px solid #cbdacf!important;border-radius:18px!important;padding:22px!important;margin-bottom:24px!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .post_meta_single {margin-top:24px!important;padding-top:0!important;}
body:is(.single-sfwd-topic,.single-sfwd-lessons) .ld-content-actions {background:#ead7c5!important;border:1px solid #dccbbb!important;border-radius:16px!important;padding:20px!important;}

/* PROGRESO UNIFICADO: mismo diseno en curso, leccion y tema */
body:is(.single-sfwd-courses,.single-sfwd-lessons,.single-sfwd-topic) .learndash-wrapper :is(.ld-course-status,.ld-lesson-status,.ld-topic-status) {background:#e4ece5!important;border:1px solid #cbdacf!important;border-radius:16px!important;padding:22px!important;margin:0 0 28px!important;box-shadow:none!important;color:#49332f!important;}
body:is(.single-sfwd-courses,.single-sfwd-lessons,.single-sfwd-topic) .learndash-wrapper .ld-progress {font-family:Arial,sans-serif!important;font-size:14px!important;line-height:1.5!important;color:#49332f!important;}
body:is(.single-sfwd-courses,.single-sfwd-lessons,.single-sfwd-topic) .learndash-wrapper .ld-progress-bar {height:9px!important;background:#fffdf8!important;border-radius:8px!important;overflow:hidden!important;}
body:is(.single-sfwd-courses,.single-sfwd-lessons,.single-sfwd-topic) .learndash-wrapper .ld-progress-bar-percentage {background:#477360!important;border-radius:8px!important;}
body:is(.single-sfwd-courses,.single-sfwd-lessons,.single-sfwd-topic) .learndash-wrapper .ld-progress-percentage {color:#355d4b!important;font-size:14px!important;font-weight:700!important;}
body:is(.single-sfwd-courses,.single-sfwd-lessons,.single-sfwd-topic) .learndash-wrapper .ld-breadcrumbs {background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0 0 16px!important;}
body:is(.single-sfwd-courses,.single-sfwd-lessons,.single-sfwd-topic) .learndash-wrapper .ld-status-complete {background:#477360!important;color:#fffdf8!important;border-radius:8px!important;}

body.single-sfwd-topic .ld-topic-status,body.single-sfwd-lessons .ld-lesson-status {background:#e4ece5!important;border:1px solid #cbdacf!important;border-radius:16px!important;padding:22px!important;margin-bottom:28px!important;}
body.single-sfwd-topic .ld-progress-bar,body.single-sfwd-lessons .ld-progress-bar {height:9px!important;background:#fffdf8!important;border-radius:8px!important;}

body.single-sfwd-lessons .ld-table-list-header,body.single-sfwd-topic .ld-table-list-header {background:#477360!important;color:#fffdf8!important;}
body.single-sfwd-lessons .ld-table-list,body.single-sfwd-topic .ld-table-list {background:#fffdf8!important;border:1px solid #dfd1c2!important;border-radius:16px!important;overflow:hidden!important;}
body.single-sfwd-lessons .ld-table-list-item,body.single-sfwd-topic .ld-table-list-item {border-color:#e1d9cd!important;}
body.single-sfwd-lessons .ld-status-in-progress,body.single-sfwd-topic .ld-status-in-progress {background:#a83f38!important;color:#fffdf8!important;border-radius:8px!important;}
