.magro-v2-home {
    background: #ffffff;
}

/* ---------- V2 Home: zonas de trabajo bajo carrusel (placeholders) ---------- */
.magro-v2-zone {
    padding: 24px 0;
}

.magro-v2-zone .container {
    max-width: 720px;
}

.magro-v2-zone-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    margin: 0;
    padding: 16px 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.magro-v2-zone--publicidad .container,
.magro-v2-zone--publicidad-2 .container {
    max-width: 1110px;
    margin-left: auto;
    margin-right: auto;
}

.magro-v2-zone--publicidad .magro-lifestyle-banner,
.magro-v2-zone--publicidad-2 .magro-lifestyle-banner {
    max-width: 1110px;
    margin-left: auto;
    margin-right: auto;
}

.magro-v2-zone--publicidad .magro-lifestyle-banner img,
.magro-v2-zone--publicidad-2 .magro-lifestyle-banner img {
    width: 100%;
    max-width: 1110px;
    height: 180px;
    object-fit: cover;
    display: block;
}

.magro-v2-zone--publicidad .magro-v2-zone-label {
    border-color: #cbd5e1;
}

/* Entrevistas V2: ancho acotado al contenido (rejilla tema), no 100vw / pantalla completa.
   No usamos .container de Bootstrap aquí: sus max-width por breakpoint pueden imponerse
   encima de .magro-v2-zone y dejar el bloque a ancho viewport. */
.magro-v2-zone--entrevistas {
    box-sizing: border-box;
}

.magro-v2-zone--entrevistas .magro-v2-entrevistas-inner {
    width: 100%;
    max-width: 1110px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.magro-v2-zone--carousel-numeros .magro-v2-zone-label {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.magro-v2-zone--publicidad-2 .magro-v2-zone-label {
    border-color: #cbd5e1;
}

.magro-v2-section {
    padding: 48px 0;
}

.magro-v2-hero {
    background: #f5f7fb;
    text-align: center;
}

.magro-v2-hero h1 {
    margin: 0 0 12px;
}

.magro-v2-hero p {
    margin: 0;
}

.magro-v2-challenge-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
}

.magro-v2-btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
}

.magro-v2-search-form {
    display: flex;
    gap: 8px;
    max-width: 640px;
}

.magro-v2-search-form input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
}

.magro-v2-search-form button {
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    background: #0f172a;
    color: #ffffff;
}

.magro-v2-career-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.magro-v2-career-item {
    display: flex;
    justify-content: space-between;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    color: inherit;
    text-decoration: none;
}

.magro-v2-community-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
}

.magro-v2-footer-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.magro-v2-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- V2 Home: carrusel tw2 — caja fija (ancho 100% columna × 520px alto), imagen recortada y centrada ---------- */
.magro-v2-tw2-carousel {
    --magro-tw2-slide-h: 520px;
}

.magro-v2-tw2-carousel .magro-v2-tw2-slide {
    position: relative;
    overflow: hidden;
    min-height: var(--magro-tw2-slide-h);
}

.magro-v2-tw2-carousel .magro-v2-tw2-slide-bg {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: var(--magro-tw2-slide-h);
    min-height: var(--magro-tw2-slide-h);
    max-height: var(--magro-tw2-slide-h);
    overflow: hidden;
    background-color: #1a1a1a;
    z-index: 1;
    flex-shrink: 0;
}

.magro-v2-tw2-carousel .magro-v2-tw2-slide-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.magro-v2-tw2-carousel .single_tw2_list .tw2_list_content {
    z-index: 3;
}

/* Owl: altura de ítem = caja fija (evita que slides “wide” encojan el carrusel) */
.magro-v2-tw2-carousel .tw2_list_slide.owl-carousel .owl-item {
    min-height: var(--magro-tw2-slide-h);
}

.magro-v2-tw2-carousel .tw2_list_slide.owl-carousel .owl-stage-outer {
    min-height: var(--magro-tw2-slide-h);
}

/* Gana a responsive.css (.tw2_list_slide .single_tw2_list img): caja estática, imagen centrada al recortar */
.magro-v2-tw2-carousel .tw2_list_slide .single_tw2_list .magro-v2-tw2-slide-img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* ---------- Single post (Magro V2) ---------- */

.magro-v2-breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
}

.magro-v2-breadcrumb .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.magro-v2-breadcrumb a {
    color: #374151;
    text-decoration: none;
}

.magro-v2-breadcrumb a:hover {
    text-decoration: underline;
}

.magro-v2-breadcrumb-sep {
    color: #9ca3af;
    margin: 0 2px;
}

.magro-v2-breadcrumb-current {
    color: #111827;
    font-weight: 500;
}

.magro-v2-post-hero {
    padding: 0 0 24px;
    background: #ffffff;
}

.magro-v2-post-hero-inner {
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    line-height: 0;
}

.magro-v2-post-hero-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

.magro-v2-post-layout {
    padding: 24px 0 56px;
}

.magro-v2-post-main {
    padding-right: 8px;
}

.magro-v2-entry-header {
    margin-bottom: 24px;
}

.magro-v2-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.magro-v2-cat-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #111827;
}

.magro-v2-cat-pill--a {
    background: #fcd34d;
}

.magro-v2-cat-pill--b {
    background: #93c5fd;
}

.magro-v2-entry-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 18px;
    font-weight: 700;
    color: #111827;
}

.magro-v2-entry-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.magro-v2-entry-avatar {
    border-radius: 50%;
    flex-shrink: 0;
}

.magro-v2-entry-meta-text {
    font-size: 14px;
    color: #4b5563;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.magro-v2-byline a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.magro-v2-byline a:hover {
    text-decoration: underline;
}

.magro-v2-meta-sep {
    color: #d1d5db;
}

.magro-v2-single-article .entry-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
}

.magro-v2-single-article .entry-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.25em;
    border-left: 4px solid #111827;
    background: #f9fafb;
    font-weight: 600;
    font-size: 1.1em;
}

.magro-v2-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.magro-v2-tag-pill {
    display: inline-block;
    padding: 6px 12px;
    background: #dc2626;
    color: #ffffff !important;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.magro-v2-tag-pill:hover {
    background: #b91c1c;
    color: #ffffff !important;
}

.magro-v2-share {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.magro-v2-share-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.magro-v2-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.magro-v2-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}

.magro-v2-share-fb {
    background: #1877f2;
}

.magro-v2-share-tw {
    background: #000000;
}

.magro-v2-share-pin {
    background: #e60023;
}

.magro-v2-share-li {
    background: #0a66c2;
}

.magro-v2-share-btn:hover {
    color: #ffffff;
    opacity: 0.9;
    filter: brightness(1.05);
}

.magro-v2-related-posts {
    margin-top: 36px;
}

.magro-v2-related-title {
    font-size: 1.25rem;
    margin: 0 0 16px;
}

.magro-v2-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.magro-v2-related-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
}

.magro-v2-related-item a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.magro-v2-related-item a:hover {
    text-decoration: underline;
}

.magro-v2-comments-wrap {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.magro-v2-comments-tabs {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
}

.magro-v2-comments-tabs li {
    margin: 0;
}

.magro-v2-tab-btn {
    display: block;
    padding: 12px 20px;
    margin-bottom: -2px;
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.magro-v2-comments-tabs li.is-active .magro-v2-tab-btn {
    color: #111827;
    border-bottom-color: #111827;
}

.magro-v2-tab-panel:not(.is-active) {
    display: none;
}

.magro-v2-tab-panel.is-active {
    display: block;
}

.magro-v2-comments-wrap .comment_area {
    margin-top: 0;
}

.magro-v2-comments-wrap .cm_title {
    margin-top: 0;
}

.magro-v2-post-sidebar-inner .magro-v2-widget,
.magro-v2-post-sidebar-inner .widget {
    margin-bottom: 28px;
}

.magro-v2-post-sidebar-inner .magro-v2-widget-title,
.magro-v2-post-sidebar-inner .widget_title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

@media (max-width: 991px) {
    .magro-v2-career-grid,
    .magro-v2-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .magro-v2-post-main {
        padding-right: 0;
        margin-bottom: 32px;
    }
}

@media (max-width: 640px) {
    .magro-v2-search-form,
    .magro-v2-community-wrap,
    .magro-v2-footer-box {
        flex-direction: column;
        align-items: stretch;
    }

    .magro-v2-career-grid,
    .magro-v2-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Fold 1 (Magro V2 Home): 100vh, cards = estilos fi1 del tema ---------- */

.magro-fold1-section {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 100vh;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    .magro-fold1-parallax {
        background-attachment: fixed;
    }
}

@media (max-width: 991px) {
    .magro-fold1-parallax {
        background-attachment: scroll;
    }

    .magro-fold1-section {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .magro-fold1-parallax {
        background-attachment: scroll !important;
    }

    .magro-fold1-card:hover .magro-fold1-card-media {
        transform: none !important;
    }
}

.magro-fold1-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Ancho = .container de Bootstrap (misma rejilla que menú) */
.magro-fold1-container.container {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 100px;
    padding-bottom: 48px;
    min-height: 0;
}

/* Layout tipo legacy: ~8/4, izquierda = grande + fila de 2; derecha = 3 apiladas */
.magro-fold1-mesh {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--magro-fold1-gap, 16px);
    align-items: stretch;
    min-height: 0;
}

.magro-fold1-col-left {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: var(--magro-fold1-gap, 16px);
}

.magro-fold1-left-big {
    min-height: 0;
    flex: 2 1 0;
    display: flex;
}

.magro-fold1-left-bottom {
    min-height: 0;
    flex: 1 1 0;
    display: flex;
    flex-direction: row;
    gap: var(--magro-fold1-gap, 16px);
}

.magro-fold1-left-bottom-cell {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
}

@media (min-width: 992px) {
    .magro-fold1-mesh,
    .magro-fold1-col-left,
    .magro-fold1-col-right {
        height: var(--magro-fold1-block-height, 600px);
        max-height: var(--magro-fold1-block-height, 600px);
    }

    .magro-fold1-col-right {
        display: flex;
        flex-direction: column;
        gap: var(--magro-fold1-gap, 16px);
        min-height: 0;
        align-self: stretch;
    }

    .magro-fold1-col-right > .magro-fold1-card--small {
        flex: 1 1 0;
        min-height: 0;
    }

    .magro-fold1-left-bottom-cell > .magro-fold1-card--small {
        height: 100%;
        max-height: 100%;
    }
}

/* Card = clases featured_item_1 + fi1_content (theme.css); sin :after duplicado */
.magro-fold1-card.featured_item_1 {
    margin-bottom: 0;
    width: 100%;
    flex: 1 1 auto;
    color: #ffffff;
    text-decoration: none;
}

.magro-fold1-card.featured_item_1::after {
    display: none !important;
}

.magro-fold1-card.featured_item_1:hover::after {
    display: none !important;
}

.magro-fold1-card--large {
    min-height: 0;
    height: 100%;
    width: 100%;
    max-height: none;
}

.magro-fold1-card--small {
    min-height: 0;
}

@media (min-width: 992px) {
    .magro-fold1-left-big > .magro-fold1-card--large {
        max-height: 100%;
    }

    .magro-fold1-left-bottom-cell > .magro-fold1-card--small {
        display: block;
        overflow: hidden;
        flex: 1 1 auto;
        width: 100%;
    }

    .magro-fold1-col-right > .magro-fold1-card--small {
        display: block;
        overflow: hidden;
        width: 100%;
    }
}

.magro-fold1-card-media {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 400ms ease;
    -moz-transition: transform 400ms ease;
    -webkit-transition: transform 400ms ease;
    -ms-transition: transform 400ms ease;
    -o-transition: transform 400ms ease;
}

.magro-fold1-card:hover .magro-fold1-card-media {
    transform: scale(1.15) rotate(-2deg);
    -moz-transform: scale(1.15) rotate(-2deg);
    -webkit-transform: scale(1.15) rotate(-2deg);
    -ms-transform: scale(1.15) rotate(-2deg);
    -o-transform: scale(1.15) rotate(-2deg);
}

.magro-fold1-card-dim {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.2);
    transition: background 400ms ease;
    -moz-transition: background 400ms ease;
    -webkit-transition: background 400ms ease;
    -ms-transition: background 400ms ease;
    -o-transition: background 400ms ease;
}

.magro-fold1-card:hover .magro-fold1-card-dim {
    background: rgba(0, 0, 0, 0.4);
}

.magro-fold1-card .fi1_content {
    z-index: 2;
}

.magro-fold1-card .fi1_content h2 {
    color: #ffffff;
}

.magro-fold1-card .fi1_content h2 a {
    color: inherit;
}

/* theme.css aplica float a todo .fi1c_meta span; el span del nombre no debe flotar o "By" queda tras el autor */
.magro-fold1-card .fi1c_meta .magro-fold1-author-txt {
    float: none;
    display: inline;
    padding-right: 0;
    margin-right: 0;
    position: static;
}

.magro-fold1-card .fi1c_meta .magro-fold1-author-txt:after {
    display: none !important;
}

.magro-fold1-card .fi1c_categories span.cats {
    font-size: 13px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400;
    height: 25px;
    line-height: 25px;
    padding: 0 10px;
    display: inline-block;
    background: #c72026;
    box-shadow: 1px 2px 1px 0 rgba(0, 0, 0, 0.1);
}

.magro-fold1-card .fi1c_categories span.cats.pinks {
    background: #ff1d78;
}
.magro-fold1-card .fi1c_categories span.cats.pinks2 {
    background: #da1793;
}
.magro-fold1-card .fi1c_categories span.cats.greens {
    background: #2cc025;
}
.magro-fold1-card .fi1c_categories span.cats.blues {
    background: #008aff;
}
.magro-fold1-card .fi1c_categories span.cats.blues2 {
    background: #4141ac;
}
.magro-fold1-card .fi1c_categories span.cats.purples {
    background: #690aa0;
}
.magro-fold1-card .fi1c_categories span.cats.reds {
    background: #c72026;
}
.magro-fold1-card .fi1c_categories span.cats.yellows {
    background: #f3670a;
}

@media (max-width: 991px) {
    /* Evita scroll horizontal en la portada V2 (Fold 1 y bloques). */
    .magro-v2-home {
        overflow-x: hidden;
        max-width: 100%;
    }

    .magro-fold1-section {
        overflow-x: hidden;
        max-width: 100%;
    }

    .magro-fold1-container.container {
        max-width: 100%;
        box-sizing: border-box;
    }

    .magro-fold1-mesh {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
        width: 100%;
        min-width: 0;
    }

    .magro-fold1-col-left,
    .magro-fold1-col-right {
        height: auto;
        max-height: none;
        min-width: 0;
    }

    .magro-fold1-left-big {
        flex: 0 0 auto;
        min-height: 280px;
    }

    /* Una card por fila (antes 2 celdas al 50%). */
    .magro-fold1-left-bottom {
        flex: 0 0 auto;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .magro-fold1-left-bottom-cell {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-height: 200px;
    }

    .magro-fold1-col-right {
        display: flex;
        flex-direction: column;
        gap: var(--magro-fold1-gap, 16px);
    }

    .magro-fold1-col-right > .magro-fold1-card--small,
    .magro-fold1-left-bottom-cell > .magro-fold1-card--small {
        height: auto;
        min-height: 200px;
        max-height: none;
        flex: 1 1 auto;
    }

    .magro-fold1-card--large {
        min-height: 360px;
        max-height: none;
        height: auto;
    }
}

/* ---------- V2 Home: carrusel con números (Featured Carousel — una imagen cuadrada) ---------- */
#magro-v2-zone-carousel-numeros.magro-v2-zone {
    padding: 0;
}

#magro-v2-zone-carousel-numeros .container {
    max-width: 1140px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Parallax más alto; 100px arriba y abajo del contenido respecto al borde del fondo.
   Con min-height, sin flex el bloque queda arriba y el hueco extra se ve todo abajo (parece más padding abajo). */
#magro-v2-zone-carousel-numeros.feature_section_1 {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    box-sizing: border-box;
    padding-top: 100px;
    padding-bottom: 100px;
    min-height: min(100vh, 980px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {
    #magro-v2-zone-carousel-numeros.feature_section_1 {
        background-attachment: scroll;
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Espacio entre carrusel con números y publicidad 2 (portada V2). */
#magro-v2-zone-carousel-numeros + #magro-v2-zone-publicidad-2 {
    margin-top: 30px;
}

/* theme.css: .featured_slider_2:after (borde decorativo) usa bottom:-29px y alarga la caja hacia abajo */
#magro-v2-zone-carousel-numeros .featured_slider_2::after {
    display: none;
}

/* Espacio para los dots numerados a la izquierda (evita left: -332px fuera del viewport) */
#magro-v2-zone-carousel-numeros .featured_slider_2 {
    padding-left: 4.5rem;
}

#magro-v2-zone-carousel-numeros .featured_slider_2 .owl-dots {
    left: 0;
    right: auto;
    margin: 0;
}

#magro-v2-zone-carousel-numeros .featured_slider_item > .row {
    align-items: center;
}

/* Una imagen cuadrada ocupando el ancho de la columna (equivalente a las dos columnas de imagen del home clásico) */
#magro-v2-zone-carousel-numeros .magro-v2-zone-carousel-numeros__figure {
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 530px;
    max-width: 530px;
    margin-left: auto;
    margin-right: auto;
}

#magro-v2-zone-carousel-numeros .magro-v2-zone-carousel-numeros__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Vídeo opcional (URL en el post): mantiene caja cuadrada; recorte tipo cover en nativos */
#magro-v2-zone-carousel-numeros .magro-v2-zone-carousel-numeros__figure--video .magro-featured-carousel-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
    background: #000;
}

#magro-v2-zone-carousel-numeros .magro-v2-zone-carousel-numeros__figure--video .magro-featured-carousel-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78%;
    height: 100%;
    max-width: none;
    transform: translate(-50%, -50%);
    border: 0;
}

#magro-v2-zone-carousel-numeros .magro-v2-zone-carousel-numeros__figure--video .magro-featured-carousel-video--native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    #magro-v2-zone-carousel-numeros .featured_slider_2 {
        padding-left: 0;
        padding-bottom: 3.5rem;
    }

    /* responsive.css ya centra los dots en móvil; asegurar que no hereden el padding desktop */
    #magro-v2-zone-carousel-numeros .featured_slider_2 .owl-dots {
        left: 0;
        right: 0;
    }
}

/* ---------- V2 Single blog 4 ---------- */
.magro-v2-single-blog4 .blog_content_3 .entry-content > p {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 30px;
}

.magro-v2-single-blog4 .blog_content_3 .entry-content .wp-block-heading,
.magro-v2-single-blog4 .blog_content_3 .entry-content h2,
.magro-v2-single-blog4 .blog_content_3 .entry-content h3 {
    margin-top: 1.25em;
    margin-bottom: 0.65em;
}

/* Sidebar single: mismo bloque social que el header + espacio antes de Most popular */
.magro-v2-post-social-widget.widget {
    margin-bottom: 28px;
    padding-bottom: 12px;
    clear: both;
    overflow: hidden;
}

.magro-v2-post-social-widget .magro-v2-post-social-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
    clear: both;
}

.magro-v2-post-social-widget .magro-header-social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #333;
    font-size: 18px;
    transition: color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.magro-v2-post-social-widget .magro-header-social-link:hover {
    color: #c72026;
    border-color: #c72026;
}

.magro-v2-post-ad-300 {
    width: 300px;
    max-width: 100%;
    min-height: 120px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    text-align: center;
}

.magro-v2-post-ad-300 .magro-v2-post-ad-img {
    width: 300px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.magro-v2-post-ad-html iframe {
    max-width: 100%;
}

/* Most popular: línea de autor alineada a la derecha en cards pequeñas (evita solaparse con el thumb flotante) */
.magro-v2-single-blog4 .popular_post_2 .mp_post .mp_post_content h4 {
    margin-bottom: 0.35em;
}

.magro-v2-single-blog4 .popular_post_2 .mp_post .magro-v2-mp-post-byline {
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: right;
    line-height: 1.45;
    padding-left: 12px;
    clear: both;
    word-break: break-word;
    overflow-wrap: anywhere;
}
