/*
Theme Name: Divi Child Theme
Template: Divi
Version: 2.8.4
*/

/* ===========================================
   1. BASE TYPOGRAPHY
   =========================================== */

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #666;
    font-weight: 500;
    padding-bottom: 10px;
}

/* Fix doble H1: comments heading ahora es <span> en vez de <h1> (MAR-1234) */
span.page_title#comments {
    display: block;
    font-size: 26px;
    font-weight: 500;
    color: #666;
    padding-bottom: 10px;
}

h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: #515151;
}

a { color: #f57c00; }
a:hover { color: #23527c; }

p, ul li, ol li {
    font-weight: 300;
    line-height: 1.7em;
}

.container { max-width: 1180px; }
#main-content { min-height: 370px; }
#main-content .container::before { width: 0; }
.textwidget { color: #000; }
#breadcrumbs { text-align: left; color: #515151; }

/* ===========================================
   2. TOP HEADER
   =========================================== */

#top-header {
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.1);
}

#top-header .container {
    padding-top: 10px !important;
    padding-bottom: 10px;
}

#top-header a {
    color: #000;
    font-size: 13px;
    font-family: 'Open Sans' !important;
}

#top-header, #main-header {
    will-change: transform;
    transition: transform 200ms linear;
}

.et_fixed_nav #page-container .et-fixed-header#top-header {
    background: #fff !important;
}

body.admin-bar.et_fixed_nav #top-header {
    top: 32px !important;
    padding-top: 0 !important;
}

/* ===========================================
   3. MAIN HEADER & LOGO
   =========================================== */

.et_header_style_left .logo_container {
    height: 150% !important;
    padding-top: 5px;
}

.et_header_style_left #et-top-navigation,
.et_header_style_split #et-top-navigation {
    padding-top: 20px !important;
    padding-bottom: 0 !important;
}

/* Top menu icons (login, contact) */
.menu-item-94370,
.menu-item-94479,
.menu-item-94481 {
    background: url(/img/log-in_menu-superior-1.png) no-repeat left top;
    background-size: contain;
    padding-left: 25px;
    padding-top: 3px;
    height: 20px;
}

.menu-item-94371,
.menu-item-94480,
.menu-item-94482 {
    background: url(/img/contact_menu-superior.png) no-repeat left top;
    background-size: contain;
    padding-left: 30px;
    padding-top: 3px;
    height: 20px;
}

/* ===========================================
   4. QUADMENU
   =========================================== */

#quadmenu .quadmenu-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #000;
    font-size: 26px;
}

#quadmenu.quadmenu-divi .quadmenu-navbar-nav .quadmenu-dropdown-menu li.quadmenu-item > a {
    font-weight: 400 !important;
}

#quadmenu.quadmenu-divi .quadmenu-navbar-nav .quadmenu-dropdown-menu .quadmenu-title {
    color: #000;
    border-color: #f57c00;
    font-weight: bold;
}

.quad_inner_tittle {
    color: #000;
    font-size: 20px;
    font-weight: bold;
}

.quadmenu-row { overflow-y: hidden !important; }
#menu-item-84644 { padding-top: 25px; }

/* QuadMenu CTA buttons */
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-90802,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-79262,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-94692 {
    margin-left: 25px !important;
}

#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-90802 a,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-79262 a,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-94692 a {
    border: 2px solid #f57c00 !important;
    border-radius: 100px !important;
    background: #f57c00 !important;
    padding: 5px 10px !important;
    margin-top: -6px;
}

#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-90802 a:hover,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-79262 a:hover,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-94692 a:hover {
    background: #fff !important;
    color: #000 !important;
}

#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-90802 .t_1000,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-79262 .t_1000,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-94692 .t_1000 {
    color: #fff !important;
    line-height: 1;
}

#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-90802:hover .t_1000,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-79262:hover .t_1000,
#quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-94692:hover .t_1000 {
    color: #000 !important;
}

#menu-item-90802,
#menu-item-79262,
#menu-item-94692 {
    margin-left: 100px !important;
}

/* ===========================================
   5. BLOG ARCHIVE / CATEGORY
   =========================================== */

h1.page-title,
.updesign h1 {
    font-family: 'Poppins', sans-serif;
    color: #f57c00;
    font-weight: bold;
    text-align: center;
}

h1.entry-title {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

/* Archive header */
.blog-archive-header {
    text-align: center;
    padding: 48px 24px 0;
    max-width: 800px;
    margin: 0 auto;
}
/* When rendered outside #main-content (cached PHP), compensate fixed header */
body > .blog-archive-header {
    padding-top: 170px;
}

.blog-archive-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
    border: none;
    padding: 0;
}

.blog-archive-header h1 span { color: #f57c00; }

.blog-archive-header .archive-subtitle {
    font-size: 17px;
    color: #666;
    margin-bottom: 32px;
}

/* Search bar */
.blog-search-bar {
    max-width: 480px;
    margin: 0 auto 28px;
    padding: 0 24px;
    position: relative;
}

.blog-search-bar input {
    width: 100%;
    padding: 12px 18px 12px 44px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Open Sans', Arial, sans-serif;
    background: #f9f9f9;
    outline: none;
}

.blog-search-bar input:focus { border-color: #f57c00; background: #fff; }

.blog-search-bar .search-icon {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #999;
}

/* Category tabs */
.blog-category-tabs {
    max-width: 1200px;
    margin: 0 auto 36px;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid #e5e5e5;
}

.blog-category-tabs a {
    padding: 10px 20px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.blog-category-tabs a:hover { color: #1a1a1a; }

.blog-category-tabs a.active {
    color: #f57c00;
    border-bottom-color: #f57c00;
    font-weight: 600;
}

/* Hero post (first post full-width) */
.blog-hero {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.blog-hero a {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.blog-hero a:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.blog-hero .hero-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.blog-hero .hero-body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-hero .hero-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #1a1a1a;
    padding: 0;
}

.blog-hero .hero-body .hero-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Category badge */
.cat-badge {
    display: inline-block;
    background: #fff3e0;
    color: #e65100;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    width: fit-content;
    text-decoration: none;
}

/* Post meta (archive) */
.post-meta-inline {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-meta-inline .dot {
    width: 3px;
    height: 3px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
}

/* Grid de posts */
.blog-posts-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 28px;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.blog-card .card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card .card-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card .card-body .cat-badge {
    margin-bottom: 8px;
}

.blog-card .card-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #1a1a1a;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .card-body .card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-card .card-body .post-meta-inline { margin-top: auto; }

/* CTA Banner (archive) */
.blog-cta-banner {
    max-width: 1200px;
    margin: 8px auto 40px;
    padding: 0 24px;
}

.blog-cta-banner a { display: block; text-decoration: none; color: #fff; }

.cta-bg {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    border-radius: 16px;
    padding: 48px 52px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.cta-bg:hover {
    box-shadow: 0 8px 32px rgba(15,52,96,0.35);
    transform: translateY(-2px);
}

.cta-circle { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-circle-1 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(245,124,0,0.25) 0%, transparent 70%); top: -80px; right: -40px; }
.cta-circle-2 { width: 180px; height: 180px; background: radial-gradient(circle, rgba(245,124,0,0.12) 0%, transparent 70%); bottom: -60px; left: 60px; }
.cta-circle-3 { width: 100px; height: 100px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); top: 20px; left: 40%; }

.cta-dots {
    position: absolute;
    top: 16px; right: 180px;
    width: 80px; height: 80px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text { flex: 1; }

.cta-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f57c00;
    margin-bottom: 10px;
}

.cta-bg h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #fff;
    padding: 0;
    text-align: left;
}

.cta-sub {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,0.7);
    max-width: 480px;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.cta-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f57c00;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.cta-bg:hover .cta-btn-main { background: #ff9800; transform: scale(1.03); }

.cta-note {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

/* Pagination */
.blog-pagination {
    max-width: 1200px;
    margin: 48px auto 64px;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.blog-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
}

.blog-pagination li { display: flex; }

.blog-pagination a,
.blog-pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination a:hover { background: #f5f5f5; }

.blog-pagination .current {
    background: #f57c00;
    color: #fff;
}

.blog-pagination .dots { color: #999; }

/* ===========================================
   6. SINGLE POST LAYOUT (new design)
   =========================================== */

.singlepost .post-header-new {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 24px 0;
}

.singlepost .post-header-new h1.entry-title {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a2e;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-align: left;
    max-width: 100%;
}

.singlepost .post-meta-new {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.singlepost .author-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.singlepost .author-inline img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.singlepost .author-inline .author-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
}

.singlepost .author-inline .author-role {
    font-size: 12px;
    color: #888;
}

.singlepost .meta-sep {
    width: 1px;
    height: 30px;
    background: #ddd;
}

.singlepost .meta-date,
.singlepost .meta-reading {
    font-size: 14px;
    color: #666;
}

/* Post layout: TOC + Content */
.single-post-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 780px 1fr;
    gap: 0 20px;
    padding: 32px 24px 0;
}

/* Sticky TOC */
.single-toc {
    position: sticky;
    top: 140px;
    align-self: start;
}

.single-toc-inner {
    padding-right: 16px;
}

.single-toc-inner h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 12px;
    font-weight: 600;
    padding: 0;
}

.single-toc-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-toc-inner li { margin-bottom: 8px; }

.single-toc-inner a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    padding-left: 12px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.single-toc-inner a:hover,
.single-toc-inner a.active {
    color: #f57c00;
    border-left-color: #f57c00;
}

/* CTA banner below TOC */
.toc-cta-banner {
    display: block;
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.toc-cta-banner:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.toc-cta-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Featured image inside grid */
.single-post-content .featured-img-new {
    margin-bottom: 32px;
}

.single-post-content .featured-img-new img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Article content */
/* min-width:0 obligatorio: como grid item, sin él no se encoge por debajo de su
   contenido y los posts con infografías anchas desbordan el viewport en móvil
   (MAR-1406). La regla equivalente de la media query no llegaba a este selector. */
.single-post-content { max-width: 780px; min-width: 0; }
.et_pb_post { font-size: 17px; }
.et_pb_post .entry-content { padding-top: 0 !important; }

.singlepost .et_pb_post h2,
.singlepost .et_pb_post h3,
.singlepost .et_pb_post h4 {
    font-family: 'Poppins', sans-serif;
    color: #1a1a2e;
    font-weight: 700;
}

.singlepost .et_pb_post h2 {
    font-size: 28px;
    margin: 48px 0 16px;
    line-height: 1.3;
    padding: 0;
}

.singlepost .et_pb_post h3 {
    font-size: 21px;
    margin: 32px 0 12px;
    padding: 0;
}

.singlepost .et_pb_post h4 {
    font-size: 18px;
    margin: 24px 0 10px;
    padding: 0;
}

.singlepost .et_pb_post p { color: #333; }
.singlepost .et_pb_post strong { color: #1a1a2e; }

.singlepost .et_pb_post a {
    color: #f57c00;
    text-decoration: underline;
    text-decoration-color: rgba(245, 124, 0, 0.3);
    text-underline-offset: 2px;
}

.singlepost .et_pb_post a:hover {
    text-decoration-color: #f57c00;
}

/* Callout orange (blog) */
.callout-orange {
    border-left: 6px solid #f57c00;
    background-color: #fef6eb;
    padding: 12px 18px;
    margin: 24px 0;
    font-size: 18px;
    font-weight: bold;
    color: #23527c;
    border-radius: 8px;
    line-height: 1.5;
}

/* Tables in posts */
.singlepost .et_pb_post table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 32px;
    font-size: 15px;
}

.singlepost .et_pb_post thead th {
    background: #f57c00;
    color: #fff;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.singlepost .et_pb_post tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
}

.singlepost .et_pb_post tbody tr:nth-child(even) { background: #fafafa; }

/* CTA Banner in post */
.singlepost .cta-banner {
    margin: 40px 0;
    text-align: center;
}

.singlepost .cta-banner img {
    width: 100%;
    max-width: 780px;
    border-radius: 15px;
    display: block;
}

.singlepost .cta-banner a { text-decoration: none; }

/* FAQ section */
.singlepost .faq-section { margin: 48px 0 32px; }

.singlepost .faq-item {
    border: 1px solid #f57c00;
    border-radius: 15px;
    background: #FEF6EB;
    margin-bottom: 12px;
    padding: 10px;
    overflow: hidden;
}

.singlepost .faq-question {
    padding: 8px 12px;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.singlepost .faq-question::after {
    content: '+';
    font-size: 22px;
    color: #f57c00;
    font-weight: 400;
    flex-shrink: 0;
    margin-left: 12px;
}

.singlepost .faq-answer {
    padding: 4px 12px 8px;
    font-size: 15px;
    color: #23527c;
    line-height: 1.6;
    display: none;
}

.singlepost .faq-item.open .faq-answer { display: block; }
.singlepost .faq-item.open .faq-question::after { content: '\2212'; }

/* ===========================================
   7. AUTHOR BOX (new horizontal)
   =========================================== */

.author-box-new {
    margin: 48px 0;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.author-box-new img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box-new .author-info h4 {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    margin-bottom: 4px;
    padding: 0;
}

.author-box-new .author-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    padding: 0;
}

.author-box-new .author-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.author-box-new .author-info .author-linkedin {
    font-size: 13px;
    color: #0077b5;
    text-decoration: none;
    font-weight: 500;
}

/* ===========================================
   8. (reserved)
   =========================================== */

/* ===========================================
   9. FOOTER
   =========================================== */

.footerbottom { padding: 10px 0 !important; }
.footerbottom .et-social-icon a { color: #fff; }
.footerbottom a { color: #fff !important; }

.footermenu ul li {
    float: left;
    padding-right: 15px;
    font-size: 15px;
}

#new_footer p,
#new_footer a {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #fff;
}

#new_footer a:hover { color: #23527c; }

/* Footer 2025 */
#new_footer_2025 p {
    line-height: 1.6em;
    margin: 0;
    font-size: 14px !important;
    font-family: 'Open Sans', Arial, sans-serif !important;
}

#new_footer_2025 .newtitle_2025,
#new_footer_2025 .newtitle_2025 p {
    line-height: 5em;
    margin: 0;
    font-size: 16px !important;
    font-family: 'Open Sans', Arial, sans-serif !important;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
}

#new_footer_2025 p a { color: #000; font-weight: 500; }
#new_footer_2025 p a:hover { color: #f57c00; }

/* ===========================================
   10. NEWDESIGN (LANDING PAGES)
   =========================================== */

.newdesign {
    font-size: 16px !important;
    text-align: left;
    padding: 50px 0;
    border-radius: 0;
}

.newdesign p {
    font-family: 'Open Sans';
    font-weight: 500 !important;
    font-size: 16px !important;
    color: #000 !important;
    padding-bottom: 1em;
    text-align: left;
}

.newdesign div {
    font-family: 'Open Sans';
    font-weight: 500 !important;
    font-size: 16px !important;
    color: #000 !important;
    text-align: left;
}

.newdesign span {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}

.newdesign img.icon-before-text {
    width: auto !important;
    height: 1.1em !important;
    margin-right: 0.5em !important;
    vertical-align: baseline !important;
    display: inline-block !important;
    margin-left: -1.5px !important;
}

.newdesign h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700 !important;
    font-size: 25px !important;
    color: #000 !important;
    line-height: 1.2em;
    text-align: left;
    margin-bottom: 0.5em;
}

.newdesign h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700 !important;
    font-size: 22px !important;
    color: #000 !important;
    line-height: 1.2em;
    text-align: left;
}

.newdesign h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #000 !important;
    line-height: 1.2em;
    margin-bottom: 16px;
    text-align: left;
}

.newdesign h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #000 !important;
    line-height: 1.2em;
    margin-bottom: 16px;
    text-align: left;
}

.newdesign .pretitle p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800 !important;
    font-size: 15px !important;
    color: inherit;
    text-align: left;
    margin-bottom: -1em !important;
}

/* Newdesign boxes */
div.box_texto_naranja {
    background-color: #FEF5EB !important;
    padding: 30px !important;
    border-radius: 20px !important;
}

div.box_texto_azul_oscuro {
    background-color: #EFF1F9 !important;
    padding: 30px !important;
    border-radius: 20px !important;
}

div.box_texto_verde {
    background-color: #DBE5D5 !important;
    padding: 30px !important;
    border-radius: 20px !important;
}

/* ===========================================
   11. BULLETS ROMBO & COLORES
   =========================================== */

.bullet_rombo_naranja,
.bullet_rombo_azul_oscuro,
.bullet_rombo_rosa,
.bullet_rombo_verde,
.bullet_rombo_azul_claro {
    line-height: 1.4em;
    margin-bottom: 10px;
    margin-left: 30px;
    position: relative;
}

.bullet_rombo_naranja::before,
.bullet_rombo_azul_oscuro::before,
.bullet_rombo_rosa::before,
.bullet_rombo_verde::before,
.bullet_rombo_azul_claro::before {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    margin-left: -30px;
    margin-top: 3px;
}

.bullet_rombo_naranja::before { content: url("/img/bullet_rombo_naranja.svg"); }
.bullet_rombo_azul_oscuro::before { content: url("/img/bullet_rombo_azul_oscuro.svg"); }
.bullet_rombo_rosa::before { content: url("/img/bullet_rombo_rosa.svg"); }
.bullet_rombo_verde::before { content: url("/img/bullet_rombo_verde.svg"); }
.bullet_rombo_azul_claro::before { content: url("/img/bullet_rombo_azul_claro.svg"); }

.newdesign .naranja { color: #f57c00 !important; font-weight: 700 !important; }
.newdesign .rosa { color: #E43F6F !important; font-weight: 700 !important; }
.newdesign .azul_oscuro { color: #23527c !important; font-weight: 700 !important; }
.newdesign .verde { color: #516242 !important; font-weight: 700 !important; }
.newdesign .azul_claro { color: #4BC0D9 !important; font-weight: 700 !important; }

/* ===========================================
   12. UPDESIGN & PRICING
   =========================================== */

.updesign .et_pb_text_inner {
    color: #515151;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.updesign .spanorange,
.updesign .naranja { color: #f57c00; }

.updesign_logo2 {
    float: left;
    max-width: 16%;
    margin: 0 !important;
}

.updesign .logorow2 { padding: 0 !important; }

.pricing-section {
    background: #f57c00;
    text-align: left;
    color: #fff;
    padding: 48px 0;
}

body #page-container .et_pb_button_0 {
    background: #f57c00;
    color: #fff;
    font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
    font-weight: bold;
}

/* ===========================================
   13. UPGRADES
   =========================================== */

.main_upgrades .author_box { display: none; }
.footer_upgrades .moove-gdpr-align-center { display: none !important; }

/* ===========================================
   14. CLS FIXES
   =========================================== */

/* WP-041: Header Navigation */
@media (min-width: 981px) {
    .et_header_style_left #et-top-navigation {
        padding-left: 168px;
    }
}

/* WP-043: Hero Image */
@media (min-width: 981px) {
    .page-id-95326 .et_pb_image_22 .et_pb_image_wrap {
        aspect-ratio: 1885 / 1461;
        display: block;
    }
}

/* ===========================================
   15. MEDIA QUERIES - MOBILE
   =========================================== */

@media screen and (max-width: 782px) {
    #quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-90802 a,
    #quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-79262 a,
    #quadmenu.quadmenu-divi .quadmenu-navbar-nav > li#menu-item-94692 a {
        margin-top: 0 !important;
        border-radius: 0 !important;
    }

    .newdesign h1 {
        font-family: 'Poppins' !important;
        font-weight: 700 !important;
        font-size: 30px !important;
        color: #000 !important;
        line-height: 1.1em;
        text-align: left;
    }

    /* Single post mobile */
    .singlepost { overflow-x: hidden; }
    .singlepost .post-header-new {
        padding: 24px 18px 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    .single-post-layout {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 24px 18px 0;
        box-sizing: border-box;
    }
    /* Imágenes responsive en todo el cuerpo del post */
    .singlepost img,
    .singlepost picture,
    .singlepost source,
    .singlepost .et_pb_image,
    .singlepost .et_pb_image_wrap,
    .singlepost .et_pb_image_wrap img,
    .singlepost .wp-block-image img {
        max-width: 100% !important;
        height: auto !important;
    }
    .singlepost picture img { width: 100%; display: block; }
    .singlepost iframe,
    .singlepost video,
    .singlepost embed { max-width: 100% !important; }

    /* Posts con layout nuevo (Eva Gauche, Plantilla Único) */
    .single-post-content,
    .single-post-content .entry-content,
    .single-post-content article,
    .single-post-content .et_pb_post { max-width: 100%; min-width: 0; }
    .single-post-content table { max-width: 100%; display: block; overflow-x: auto; }

    /* Posts con layout clásico Divi (.singlepost > .et_pb_post > .entry-content)
       — NO tienen .single-post-content, así que necesitan reglas propias. */
    .singlepost > .et_pb_post,
    .singlepost > .et_pb_post > .entry-content {
        max-width: 100%;
        min-width: 0;
        padding-left: 18px;
        padding-right: 18px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .singlepost .entry-content table,
    .singlepost .et_pb_post table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: normal;
    }
    /* Bloques inline con paddings/backgrounds (callouts, banners) tampoco
       deben empujar el viewport. */
    .singlepost .entry-content > div[style],
    .singlepost .et_pb_post > .entry-content > div[style] {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* TOC expandido al inicio del post en mobile */
    .single-toc {
        position: static;
        top: auto;
        margin: 0 0 24px;
        padding: 16px 18px;
        background: #fafafa;
        border: 1px solid #eee;
        border-radius: 12px;
        box-sizing: border-box;
    }
    .single-toc-inner { padding-right: 0; }
    .single-toc-inner h4 { margin-bottom: 10px; }
    .single-toc-inner li { margin-bottom: 6px; }
    .single-toc-inner a { font-size: 14px; padding-left: 10px; }
    .toc-cta-banner { display: none; }
    .singlepost .post-header-new h1.entry-title { font-size: 28px; word-break: break-word; }
    .singlepost .post-meta-new { flex-direction: column; align-items: flex-start; }
    .singlepost .meta-sep { display: none; }
    .author-box-new { flex-direction: column; text-align: center; align-items: center; }

    /* Archive mobile */
    .blog-posts-grid { grid-template-columns: 1fr; }
    .blog-hero a { grid-template-columns: 1fr; }
    .blog-hero .hero-img { min-height: 200px; }
    .blog-category-tabs { overflow-x: auto; justify-content: flex-start; }
    .blog-archive-header h1 { font-size: 28px; }
    .cta-bg { padding: 32px 28px; }
    .cta-content { flex-direction: column; text-align: center; gap: 24px; }
    .cta-bg h3 { font-size: 22px; }
    .cta-sub { max-width: 100%; }
}

@media screen and (max-width: 768px) {
    .icon_responsive {
        width: 40% !important;
        height: auto;
    }

    .hide { display: none; }
}

@media (max-width: 980px) {
    #main-header,
    .et-search-form,
    .et_mobile_menu {
        background-color: #fff;
    }

    .et_mobile_menu { border-top: 3px solid #f57c00; }
    .page-title { font-size: 24px; }

    .custom_row {
        display: flex;
        flex-wrap: wrap;
    }

    .first-on-mobile { order: 1; }
    .second-on-mobile { order: 2; }
    .third-on-mobile { order: 3; }
    .fourth-on-mobile { order: 4; }
}

/* ===========================================
   16. MEDIA QUERIES - TABLET (769px-1200px)
   =========================================== */

@media screen and (min-width: 769px) and (max-width: 1200px) {
    .icon_responsive {
        width: 50%;
        height: auto;
    }

    .hide { display: none; }

    .newdesign h1 {
        font-family: 'Poppins' !important;
        font-weight: 700 !important;
        font-size: 48px !important;
        color: #000 !important;
        text-align: left;
    }

    .newdesign .smalltitle h1 {
        font-family: 'Poppins' !important;
        font-weight: 700 !important;
        font-size: 40px !important;
        color: #000 !important;
        text-align: left;
    }

    .newdesign h2 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700 !important;
        font-size: 32px !important;
        color: #000 !important;
        line-height: 1.2em;
        text-align: left;
        margin-bottom: 0.5em;
    }

    .newdesign h3 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700 !important;
        font-size: 24px !important;
        color: #000 !important;
        line-height: 1.2em;
        text-align: left;
    }

    .newdesign h4 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700 !important;
        font-size: 18px !important;
        color: #000 !important;
        line-height: 1.2em;
        margin-bottom: 16px;
        text-align: left;
    }

    .newdesign h5 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700 !important;
        font-size: 16px !important;
        color: #000 !important;
        line-height: 1.2em;
        margin-bottom: 16px;
        text-align: left;
    }

    .newdesign .pretitle p {
        font-family: 'Open Sans', sans-serif;
        font-weight: 800 !important;
        font-size: 20px !important;
        color: inherit;
        text-align: left;
        margin-bottom: -1em !important;
    }
}

/* ===========================================
   17. MEDIA QUERIES - DESKTOP (>=1201px)
   =========================================== */

@media screen and (min-width: 1201px) {
    .newdesign h1 {
        font-family: 'Poppins' !important;
        font-weight: 700 !important;
        font-size: 60px !important;
        color: #000 !important;
        text-align: left;
    }

    .newdesign .smalltitle h1 {
        font-family: 'Poppins' !important;
        font-weight: 700 !important;
        font-size: 50px !important;
        color: #000 !important;
        text-align: left;
    }

    .newdesign h2 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700 !important;
        font-size: 36px !important;
        color: #000 !important;
        line-height: 1.2em;
        text-align: left;
        margin-bottom: 0.5em;
    }

    .newdesign h3 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700 !important;
        font-size: 24px !important;
        color: #000 !important;
        line-height: 1.2em;
        text-align: left;
    }

    .newdesign h4 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700 !important;
        font-size: 18px !important;
        color: #000 !important;
        line-height: 1.2em;
        margin-bottom: 16px;
        text-align: left;
    }

    .newdesign h5 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700 !important;
        font-size: 19px !important;
        color: #000 !important;
        line-height: 1.2em;
        margin-bottom: 16px;
        text-align: left;
    }

    .newdesign .pretitle p {
        font-family: 'Open Sans', sans-serif;
        font-weight: 800 !important;
        font-size: 22px !important;
        color: inherit;
        text-align: left;
        margin-bottom: -1em !important;
    }
}

/* ===========================================
   17. STICKY HEADER EN MÓVIL
   =========================================== */
@media (max-width: 980px) {
    body.et_fixed_nav #main-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        z-index: 99999;
    }
    body.admin-bar.et_fixed_nav #main-header {
        top: 46px !important;
    }
}
