/* =============================================================================
   Section Banner — Blog Detail
   Node: 2779:14506
   Design: 1600×550px | rem = figma_px / 16
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Wrapper
   1600×550px → 100% × 34.375rem
   --------------------------------------------------------------------------- */
.section-banner {
    position: relative;
    width: 100%;
    height: 34.4218rem; /* 550.748 / 16 */
    overflow: hidden;
}

/* ---------------------------------------------------------------------------
   Background image — featured image full-bleed
   --------------------------------------------------------------------------- */
.section-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ---------------------------------------------------------------------------
   Overlay top — backdrop-blur + gradient rgba(19,9,1,0.5) → transparent
   Height: 191.82px → 11.9888rem
   Node 2779:14526
   --------------------------------------------------------------------------- */
.section-banner__overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 11.9888rem; /* 191.82 / 16 */
    background: linear-gradient(
        to bottom,
        rgba(19, 9, 1, 0.5) 0%,
        rgba(19, 9, 1, 0) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 1;
}

/* ---------------------------------------------------------------------------
   Overlay bottom — gradient transparent 25% → rgba(0,0,0,0.7)
   Node 2779:14508 — full height 34.375rem
   --------------------------------------------------------------------------- */
.section-banner__overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 25%,
        rgba(0, 0, 0, 0.7) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* ---------------------------------------------------------------------------
   Content area — bottom-aligned
   Node 2779:14509
   padding: 46px top/bottom → 2.875rem, 70px sides → 4.375rem
   height: 359px → 22.4375rem
   --------------------------------------------------------------------------- */
.section-banner__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-top: 2.875rem;    /* 46 / 16 */
    padding-bottom: 9.91rem; /* 46 / 16 */
    padding-left: 4.375rem;   /* 70 / 16 */
    padding-right: 4.375rem;  /* 70 / 16 */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 3;
}

/* ---------------------------------------------------------------------------
   H1 Title
   Node 2779:14525
   Font: Averta Semibold 600, 42px → 2.625rem
   letter-spacing: -0.63px → -0.0394rem
   line-height: 1.4
   width: full (content area)
   --------------------------------------------------------------------------- */
.section-banner__title {
    font-family: "Averta Std CY", sans-serif;
    font-size: 2.625rem;       /* 42 / 16 */
    font-weight: 600;
    font-style: normal;
    max-width: 50rem;
    line-height: 1.4;
    letter-spacing: -0.039375rem; /* -0.63 / 16 */
    color: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* =============================================================================
   Mobile — max-width 639.98px
   ============================================================================= */
@media screen and (max-width: 639.98px) {
    /* Mobile height — proporcionalmente menor */
    .section-banner {
        height: 14.5rem;
    }

    .section-banner__content {
        padding-top: 1.25rem;
        padding-bottom: 0.62rem;
        padding-left: 1rem;
        padding-right: 1.25rem;
    }

    .section-banner__title {
        font-size: 1.375rem;
        line-height: 120%; 
        letter-spacing: -0.04394rem;
    }

    .section-banner__overlay-top {
        display: none;
    }
    
    .section-banner__overlay-bottom {
        bottom: -0.5rem;
        left: 0;
        top: auto;
        height: 10.17038rem;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 45%, rgba(0, 0, 0, 0.90) 100%);
    }
}
