/* Scoped to this one page (.page-id-5314) only — none of these touch the
   shared base rules, which the hero block alone reuses on ~20 other pages. */

/* encabezado-blog.css's mobile breakpoint centers #titulo_p unconditionally
   (text-align:center, width:100%) with no exception for the "align-left"
   content_align option, so on mobile this page's hero title rendered
   centered-ish despite content_align=left — ~20px off from where the
   intro/category titles below it land. Restored to left or this page only. */
@media (max-width: 700px) {
    /* text-align alone doesn't move it: .contenido_e is a column flex
       container, so its align-items:center centers the title *as a flex
       item* (shrink-wrapped to its own content width) regardless of its
       internal text-align. align-self overrides that for just this box. */
    .page-id-5314 .contenedor_p.align-left #titulo_p {
        text-align: left;
        align-self: flex-start;
        width: auto;
        max-width: 90%;
    }
}

/* text-image2-n's left-anchor fix (text-image2-n-align.css) was guarded to
   desktop only (>=1025px); extended to mobile here so the intro title
   lines up with the hero/category titles at every width, not just desktop. */
@media (max-width: 768px) {
    .text-image2-n.intro-align-left .text_image2 {
        justify-content: flex-start;
    }
    .text-image2-n.intro-align-left .text_image_container2 {
        /* base mobile rule sets "margin: 0px 4px !important" — need the
           same !important to win over it. */
        margin-left: 24px !important;
        margin-right: 24px !important;
    }
    .text-image2-n.intro-align-left .text_image_container2 > .texts {
        padding-left: 0;
    }
}

/* product-category-grid-two-align.css's mobile container padding
   (8.4%) was losing to the base stylesheet's
   ".container.padding-size{padding-left:0px!important}" mobile rule —
   matching !important here so it actually applies. */
@media (max-width: 768px) {
    .product-category-grid-two.cat-grid-align-left .container.padding-size {
        padding-left: 24px !important;
        padding-right: 24px !important;
        width: 100% !important;
    }
}

/* slidertwo-n.css's mobile ("nuevo") block makes .slider_two_t and its
   cards both width:100%!important with zero side margin/padding, so the
   CTA cards go edge-to-edge of the viewport — every other section on this
   page insets its content by 24px at mobile widths. Inset here instead of
   touching slidertwo-n.css, which 5 other pages also use. */
@media (max-width: 768px) {
    .page-id-5314 .slider_two_t {
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
    }
}
