/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Sep 18 2026 | 19:02:37 */
.container.content-wrapper {
    margin-top: 0;
}

header.entry-header {
    display: none;
}

/* ==========================================================
   ESTRUCTURA GENERAL Y CAPA OSCURA
   ================================================---------- */
.mag-editorial-section {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.mag-item {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
}

.mag-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 10%, rgba(0,0,0,0.2) 70%, transparent 100%);
    z-index: 1;
}

.mag-details {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    color: #fff;
}

.mag-cat-tag {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.mag-title a {
    color: #fff;
    text-decoration: none;
}
.mag-title a:hover {
    text-decoration: underline;
}

/* ==========================================================
   1. LAYOUT: SLIDER CLÁSICO (Hero grande a pantalla completa)
   ================================================---------- */
/* ==========================================================
   AJUSTE FLEXIBLE: SLIDER CLÁSICO (Superior)
   ================================================---------- */
.layout-slider .mag-slider-container {
    width: 100%;
    height: 89vh;             /* Altura fluida basada en la pantalla (puedes probar entre 38vh y 48vh) */
    min-height: 456px;        /* Evita que se encoja demasiado en pantallas pequeñas */
    max-height: 987px;        /* Evita que se vuelva gigante en monitores ultra-anchos */
    border-radius: 8px;
}

.layout-slider .swiper-slide {
    height: 100%;
}

/* ==========================================================
   2. LAYOUT: CAROUSEL (Múltiples tarjetas visibles en paralelo)
   ================================================---------- */
.layout-carousel .mag-slider-container {
    width: 100%;
    padding-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.layout-carousel .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

/* Estilo de la tarjeta individual dentro del carrusel */
.layout-carousel .historia-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.layout-carousel .historia-thumb-wrapper img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.layout-carousel .historia-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #fff;
}

.layout-carousel .historia-cat {
    display: inline-block;
    color: #0056b3;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 6px;
}
.layout-carousel .historia-cat:hover {
    text-decoration: underline;
}
.layout-carousel .cat-arrow {
    font-size: 9px;
}

.layout-carousel .historia-title {
    font-size: 16px;
    line-height: 1.35;
    margin: 0;
}
.layout-carousel .historia-title a {
    color: #222;
    text-decoration: none;
}
.layout-carousel .historia-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ==========================================================
   FLECHAS DE NAVEGACIÓN COMUNES (Slider y Carousel)
   ================================================---------- */
.mag-editorial-section .swiper-button-next,
.mag-editorial-section .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 22px;
    border-radius: 6px;
    transition: background 0.2s ease;
}
.mag-editorial-section .swiper-button-next:hover,
.mag-editorial-section .swiper-button-prev:hover {
    background: rgba(0,0,0,0.8);
}
.mag-editorial-section .swiper-button-next:after, 
.mag-editorial-section .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

/* ==========================================================
   3. LAYOUTS ESTÁTICOS (Vertical, Horizontal y Grid)
   ================================================---------- */
.layout-vertical .mag-static-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.layout-vertical .mag-static-card {
    min-height: 160px;
}

.layout-horizontal .mag-static-grid,
.layout-grid .mag-static-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .layout-horizontal .mag-static-grid,
    .layout-grid .mag-static-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.layout-horizontal .mag-static-card,
.layout-grid .mag-static-card {
    min-height: 240px;
}

/* ==========================================================
   DECORACIÓN EDITORIAL: CORCHETES Y FLECHAS AZULES
   ================================================---------- */
/* ==========================================================
   MARCO AUTOMÁTICO EN LA PRIMERA COLUMNA
   ================================================---------- */
.wp-block-columns .wp-block-column:first-child {
    position: relative;
    padding: 25px !important;
}

.wp-block-columns .wp-block-column:first-child::before,
.wp-block-columns .wp-block-column:first-child::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: #0056b3;
    border-style: solid;
    pointer-events: none;
    z-index: 2;
}

.wp-block-columns .wp-block-column:first-child::before {
    top: 0;
    left: 0;
    border-width: 3px 0 0 3px; 
}

.wp-block-columns .wp-block-column:first-child::after {
    bottom: 0;
    right: 0;
    border-width: 0 3px 3px 0; 
}

