/* ============================================================
   DIGITALIZANDO MX
   BLOG DE INICIO
============================================================ */

.dmxHomeBlog {
    --dmx-blog-background: #f3f7fc;
    --dmx-blog-background-strong: #eaf1f9;
    --dmx-blog-surface: rgba(255, 255, 255, 0.78);
    --dmx-blog-surface-solid: #ffffff;
    --dmx-blog-border: rgba(12, 37, 72, 0.09);
    --dmx-blog-border-strong: rgba(37, 103, 216, 0.2);
    --dmx-blog-text: #0b1d35;
    --dmx-blog-text-soft: #52647a;
    --dmx-blog-text-light: #8290a2;
    --dmx-blog-blue: #1269ec;
    --dmx-blog-blue-dark: #094cae;
    --dmx-blog-cyan: #18b9cb;
    --dmx-blog-purple: #775be8;
    --dmx-blog-shadow:
        0 28px 60px rgba(32, 60, 96, 0.11),
        0 8px 22px rgba(32, 60, 96, 0.06);

    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding:
        clamp(88px, 8vw, 132px)
        0;
    color: var(--dmx-blog-text);
    background:
        radial-gradient(
            circle at 9% 13%,
            rgba(18, 105, 236, 0.08),
            transparent 27%
        ),
        radial-gradient(
            circle at 91% 86%,
            rgba(24, 185, 203, 0.07),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            var(--dmx-blog-background) 0%,
            #f8fbff 100%
        );
}


/* ============================================================
   FONDO
============================================================ */

.dmxHomeBlogBackground {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.dmxHomeBlogGrid {
    position: absolute;
    inset: 0;
    opacity: 0.58;
    background-image:
        linear-gradient(
            rgba(17, 74, 145, 0.034) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(17, 74, 145, 0.034) 1px,
            transparent 1px
        );
    background-size: 62px 62px;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 16%,
            #000 84%,
            transparent
        );
}

.dmxHomeBlogGlow {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
    will-change: transform;
}

.dmxHomeBlogGlowOne {
    top: -180px;
    left: -170px;
    width: 560px;
    aspect-ratio: 1;
    background:
        radial-gradient(
            circle,
            rgba(18, 105, 236, 0.12),
            rgba(18, 105, 236, 0.025) 54%,
            transparent 72%
        );
    animation: dmxHomeBlogGlowOne 15s ease-in-out infinite;
}

.dmxHomeBlogGlowTwo {
    right: -180px;
    bottom: -240px;
    width: 630px;
    aspect-ratio: 1;
    background:
        radial-gradient(
            circle,
            rgba(24, 185, 203, 0.11),
            rgba(24, 185, 203, 0.02) 54%,
            transparent 72%
        );
    animation: dmxHomeBlogGlowTwo 18s ease-in-out infinite;
}

.dmxHomeBlogDecoration {
    position: absolute;
    top: 44%;
    right: -42px;
    color: rgba(11, 55, 113, 0.035);
    font-size: clamp(90px, 10vw, 180px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    writing-mode: vertical-rl;
    user-select: none;
}


/* ============================================================
   CONTENEDOR
============================================================ */

.dmxHomeBlogContainer {
    position: relative;
    width: min(100% - 48px, 1400px);
    margin-inline: auto;
}


/* ============================================================
   ENCABEZADO
============================================================ */

.dmxHomeBlogHeader {
    display: grid;
    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(320px, 0.82fr);
    align-items: end;
    gap: clamp(48px, 6vw, 96px);
    margin-bottom: clamp(44px, 5vw, 68px);
}

.dmxHomeBlogHeading {
    max-width: 820px;
}

.dmxHomeBlogEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--dmx-blog-blue);
    font-size: 11px;
    font-weight: 820;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dmxHomeBlogEyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            var(--dmx-blog-blue),
            var(--dmx-blog-cyan)
        );
}

.dmxHomeBlogHeading h2 {
    max-width: 830px;
    margin: 0;
    color: var(--dmx-blog-text);
    font-size: clamp(42px, 4.2vw, 67px);
    font-weight: 850;
    line-height: 1.03;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.dmxHomeBlogHeading h2 span {
    display: block;
    color: transparent;
    background:
        linear-gradient(
            105deg,
            var(--dmx-blog-blue),
            var(--dmx-blog-cyan)
        );
    background-clip: text;
    -webkit-background-clip: text;
}

.dmxHomeBlogIntroduction {
    max-width: 510px;
}

.dmxHomeBlogIntroduction > p {
    margin: 0;
    color: var(--dmx-blog-text-soft);
    font-size: clamp(16px, 1.25vw, 18px);
    font-weight: 430;
    line-height: 1.72;
    text-wrap: pretty;
}

.dmxHomeBlogAllLink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--dmx-blog-blue);
    font-size: 13px;
    font-weight: 760;
    text-decoration: none;
    transition:
        color 220ms ease,
        transform 220ms ease;
}

.dmxHomeBlogAllLink svg {
    width: 18px;
    height: 18px;
    transition: transform 220ms ease;
}

.dmxHomeBlogAllLink:hover {
    color: var(--dmx-blog-blue-dark);
    transform: translateY(-1px);
}

.dmxHomeBlogAllLink:hover svg {
    transform: translateX(4px);
}

.dmxHomeBlogAllLink:focus-visible {
    outline: 3px solid rgba(18, 105, 236, 0.22);
    outline-offset: 4px;
    border-radius: 5px;
}


/* ============================================================
   EXPERIENCIA
============================================================ */

.dmxHomeBlogExperience {
    display: grid;
    grid-template-columns:
        minmax(0, 1.34fr)
        minmax(370px, 0.66fr);
    gap: clamp(18px, 2vw, 28px);
    align-items: stretch;
}


/* ============================================================
   ARTÍCULO DESTACADO
============================================================ */

.dmxHomeBlogFeatured {
    position: relative;
    display: grid;
    grid-template-rows: minmax(330px, 1fr) auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--dmx-blog-border);
    border-radius: 30px;
    background: var(--dmx-blog-surface-solid);
    box-shadow: var(--dmx-blog-shadow);
}

.dmxHomeBlogFeaturedMedia {
    position: relative;
    display: block;
    min-height: 390px;
    overflow: hidden;
    color: inherit;
    background:
        linear-gradient(
            135deg,
            #d8e5f4,
            #eef5fb
        );
    text-decoration: none;
}

.dmxHomeBlogFeaturedMedia::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    background:
        linear-gradient(
            135deg,
            rgba(18, 105, 236, 0.12),
            rgba(24, 185, 203, 0.06)
        );
    transition: opacity 320ms ease;
}

.dmxHomeBlogFeaturedMedia:hover::after {
    opacity: 1;
}

.dmxHomeBlogFeaturedMedia img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transition:
        opacity 220ms ease,
        transform 700ms cubic-bezier(0.2, 0.72, 0.2, 1),
        filter 220ms ease;
}

.dmxHomeBlogFeaturedMedia:hover img {
    transform: scale(1.035);
}

.dmxHomeBlogFeaturedOverlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to top,
            rgba(6, 20, 39, 0.48),
            transparent 45%
        );
}

.dmxHomeBlogFeaturedBadge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(5, 25, 53, 0.54);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0.025em;
    backdrop-filter: blur(12px);
}

.dmxHomeBlogFeaturedBadge > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dmx-blog-cyan);
    box-shadow:
        0 0 0 5px rgba(24, 185, 203, 0.12),
        0 0 14px rgba(24, 185, 203, 0.5);
}

.dmxHomeBlogFeaturedArrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 4;
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    color: #ffffff;
    background: rgba(8, 27, 53, 0.52);
    backdrop-filter: blur(12px);
    transition:
        background-color 230ms ease,
        transform 230ms ease;
}

.dmxHomeBlogFeaturedArrow svg {
    width: 22px;
    height: 22px;
}

.dmxHomeBlogFeaturedMedia:hover
.dmxHomeBlogFeaturedArrow {
    background: rgba(18, 105, 236, 0.85);
    transform: translateY(-3px) rotate(3deg);
}

.dmxHomeBlogFeaturedMedia:focus-visible {
    outline: 4px solid rgba(18, 105, 236, 0.3);
    outline-offset: -4px;
}

.dmxHomeBlogFeaturedContent {
    padding: clamp(24px, 3vw, 38px);
}

.dmxHomeBlogFeaturedMeta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--dmx-blog-text-light);
    font-size: 10px;
    font-weight: 740;
    line-height: 1.4;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.dmxHomeBlogFeaturedMeta > span:first-child {
    color: var(--dmx-blog-blue);
}

.dmxHomeBlogFeaturedContent h3 {
    margin: 0;
    color: var(--dmx-blog-text);
    font-size: clamp(27px, 2.55vw, 42px);
    font-weight: 830;
    line-height: 1.12;
    letter-spacing: -0.043em;
    text-wrap: balance;
}

.dmxHomeBlogFeaturedContent h3 a {
    color: inherit;
    text-decoration: none;
}

.dmxHomeBlogFeaturedContent h3 a:hover {
    color: var(--dmx-blog-blue);
}

.dmxHomeBlogFeaturedContent h3 a:focus-visible {
    outline: 3px solid rgba(18, 105, 236, 0.21);
    outline-offset: 4px;
    border-radius: 4px;
}

.dmxHomeBlogFeaturedContent > p {
    max-width: 790px;
    margin: 17px 0 0;
    color: var(--dmx-blog-text-soft);
    font-size: 15px;
    font-weight: 430;
    line-height: 1.7;
    text-wrap: pretty;
}

.dmxHomeBlogFeaturedLink {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 0 18px;
    border-radius: 14px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--dmx-blog-blue),
            var(--dmx-blog-purple)
        );
    font-size: 12px;
    font-weight: 760;
    text-decoration: none;
    box-shadow:
        0 14px 26px rgba(18, 105, 236, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        box-shadow 230ms ease,
        transform 230ms ease;
}

.dmxHomeBlogFeaturedLink svg {
    width: 17px;
    height: 17px;
    transition: transform 230ms ease;
}

.dmxHomeBlogFeaturedLink:hover {
    transform: translateY(-3px);
    box-shadow:
        0 19px 34px rgba(18, 105, 236, 0.27),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.dmxHomeBlogFeaturedLink:hover svg {
    transform: translateX(3px);
}

.dmxHomeBlogFeaturedLink:focus-visible {
    outline: 3px solid rgba(18, 105, 236, 0.25);
    outline-offset: 4px;
}


/* ============================================================
   ESTADO DE TRANSICIÓN DEL DESTACADO
============================================================ */

.dmxHomeBlogFeatured.is-changing
.dmxHomeBlogFeaturedMedia img {
    opacity: 0.18;
    transform: scale(1.018);
    filter: blur(3px);
}

.dmxHomeBlogFeatured.is-changing
.dmxHomeBlogFeaturedContent {
    opacity: 0.28;
    transform: translateY(8px);
}

.dmxHomeBlogFeaturedContent {
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.dmxHomeBlogFeatured.is-entering
.dmxHomeBlogFeaturedMedia img {
    animation:
        dmxHomeBlogImageEnter
        520ms
        cubic-bezier(0.2, 0.72, 0.2, 1);
}

.dmxHomeBlogFeatured.is-entering
.dmxHomeBlogFeaturedContent {
    animation:
        dmxHomeBlogContentEnter
        460ms
        cubic-bezier(0.2, 0.72, 0.2, 1);
}


/* ============================================================
   COLUMNA RECIENTE
============================================================ */

.dmxHomeBlogRecent {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--dmx-blog-border);
    border-radius: 30px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.86),
            rgba(255, 255, 255, 0.67)
        );
    box-shadow:
        0 22px 54px rgba(29, 57, 91, 0.085),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
}

.dmxHomeBlogRecentHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 4px 3px 17px;
    border-bottom: 1px solid rgba(12, 37, 72, 0.07);
}

.dmxHomeBlogRecentHeader > div:first-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.dmxHomeBlogRecentHeader > div:first-child > span {
    color: var(--dmx-blog-text);
    font-size: 13px;
    font-weight: 790;
}

.dmxHomeBlogRecentHeader > div:first-child > strong {
    color: var(--dmx-blog-text-light);
    font-size: 9px;
    font-weight: 730;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ============================================================
   CONTROLES
============================================================ */

.dmxHomeBlogControls {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dmxHomeBlogControl {
    display: inline-flex;
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(12, 37, 72, 0.09);
    border-radius: 12px;
    color: var(--dmx-blog-text-soft);
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(27, 54, 86, 0.055);
    transition:
        border-color 210ms ease,
        color 210ms ease,
        background-color 210ms ease,
        transform 210ms ease,
        box-shadow 210ms ease;
}

.dmxHomeBlogControl svg {
    width: 17px;
    height: 17px;
}

.dmxHomeBlogControl:hover {
    border-color: rgba(18, 105, 236, 0.2);
    color: #ffffff;
    background: var(--dmx-blog-blue);
    box-shadow: 0 11px 21px rgba(18, 105, 236, 0.19);
    transform: translateY(-2px);
}

.dmxHomeBlogControl:focus-visible {
    outline: 3px solid rgba(18, 105, 236, 0.23);
    outline-offset: 3px;
}

.dmxHomeBlogControl:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}


/* ============================================================
   LISTA DE ARTÍCULOS
============================================================ */

.dmxHomeBlogRecentList {
    display: grid;
    flex: 1;
    gap: 9px;
}

.dmxHomeBlogArticle {
    min-width: 0;
}

.dmxHomeBlogArticleLink {
    position: relative;
    display: grid;
    grid-template-columns:
        36px
        minmax(0, 1fr)
        34px;
    align-items: center;
    gap: 12px;
    min-height: 108px;
    overflow: hidden;
    padding: 15px 14px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: inherit;
    background: rgba(255, 255, 255, 0.44);
    text-decoration: none;
    transition:
        border-color 240ms ease,
        background-color 240ms ease,
        box-shadow 240ms ease,
        transform 240ms ease;
}

.dmxHomeBlogArticleLink::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 3px;
    border-radius: 0 999px 999px 0;
    opacity: 0;
    background:
        linear-gradient(
            to bottom,
            var(--dmx-blog-blue),
            var(--dmx-blog-cyan)
        );
    transform: scaleY(0.35);
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.dmxHomeBlogArticle:hover
.dmxHomeBlogArticleLink,
.dmxHomeBlogArticle.is-active
.dmxHomeBlogArticleLink {
    border-color: rgba(18, 105, 236, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 15px 30px rgba(34, 65, 103, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
}

.dmxHomeBlogArticle:hover
.dmxHomeBlogArticleLink::before,
.dmxHomeBlogArticle.is-active
.dmxHomeBlogArticleLink::before {
    opacity: 1;
    transform: scaleY(1);
}

.dmxHomeBlogArticleLink:focus-visible {
    outline: 3px solid rgba(18, 105, 236, 0.23);
    outline-offset: 3px;
}

.dmxHomeBlogArticleIndex {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(12, 37, 72, 0.075);
    border-radius: 11px;
    color: var(--dmx-blog-text-light);
    background: rgba(245, 249, 253, 0.83);
    font-size: 9px;
    font-weight: 840;
    letter-spacing: 0.06em;
    transition:
        border-color 220ms ease,
        color 220ms ease,
        background-color 220ms ease;
}

.dmxHomeBlogArticle:hover
.dmxHomeBlogArticleIndex,
.dmxHomeBlogArticle.is-active
.dmxHomeBlogArticleIndex {
    border-color: rgba(18, 105, 236, 0.17);
    color: var(--dmx-blog-blue);
    background: rgba(18, 105, 236, 0.065);
}

.dmxHomeBlogArticleCopy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.dmxHomeBlogArticleMeta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--dmx-blog-text-light);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.dmxHomeBlogArticleMeta > span:first-child {
    color: var(--dmx-blog-blue);
}

.dmxHomeBlogArticleCopy > strong {
    color: var(--dmx-blog-text);
    font-size: 14px;
    font-weight: 760;
    line-height: 1.35;
    letter-spacing: -0.016em;
    text-wrap: pretty;
}

.dmxHomeBlogArticleArrow {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--dmx-blog-text-light);
    background: rgba(11, 43, 83, 0.04);
    transition:
        color 220ms ease,
        background-color 220ms ease,
        transform 220ms ease;
}

.dmxHomeBlogArticleArrow svg {
    width: 15px;
    height: 15px;
}

.dmxHomeBlogArticle:hover
.dmxHomeBlogArticleArrow,
.dmxHomeBlogArticle.is-active
.dmxHomeBlogArticleArrow {
    color: #ffffff;
    background: var(--dmx-blog-blue);
    transform: translateX(2px);
}


/* ============================================================
   PAGINACIÓN
============================================================ */

.dmxHomeBlogPagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 17px;
    padding-inline: 3px;
}

.dmxHomeBlogPagination span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(19, 55, 99, 0.13);
    transition:
        width 250ms ease,
        background-color 250ms ease;
}

.dmxHomeBlogPagination span.is-active {
    width: 24px;
    background:
        linear-gradient(
            90deg,
            var(--dmx-blog-blue),
            var(--dmx-blog-cyan)
        );
}


/* ============================================================
   PIE
============================================================ */

.dmxHomeBlogFooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: clamp(28px, 3vw, 42px);
    padding: 22px 2px 0;
    border-top: 1px solid rgba(12, 37, 72, 0.08);
}

.dmxHomeBlogFooter p {
    margin: 0;
    color: var(--dmx-blog-text-soft);
    font-size: 13px;
    font-weight: 470;
    line-height: 1.5;
}

.dmxHomeBlogFooter a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--dmx-blog-text);
    font-size: 12px;
    font-weight: 770;
    text-decoration: none;
    transition:
        color 220ms ease,
        transform 220ms ease;
}

.dmxHomeBlogFooter a svg {
    width: 17px;
    height: 17px;
    transition: transform 220ms ease;
}

.dmxHomeBlogFooter a:hover {
    color: var(--dmx-blog-blue);
    transform: translateY(-1px);
}

.dmxHomeBlogFooter a:hover svg {
    transform: translateX(3px);
}

.dmxHomeBlogFooter a:focus-visible {
    outline: 3px solid rgba(18, 105, 236, 0.2);
    outline-offset: 4px;
    border-radius: 5px;
}


/* ============================================================
   REVEAL PARA JAVASCRIPT
============================================================ */

.dmxHomeBlog [data-dmx-blog-reveal] {
    opacity: 1;
    transform: none;
}

.dmxHomeBlog.is-js-ready
[data-dmx-blog-reveal] {
    opacity: 0;
    transform: translateY(25px);
}

.dmxHomeBlog.is-visible
[data-dmx-blog-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 760ms cubic-bezier(0.2, 0.72, 0.2, 1),
        transform 760ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.dmxHomeBlog.is-visible
.dmxHomeBlogExperience {
    transition-delay: 110ms;
}

.dmxHomeBlog.is-visible
.dmxHomeBlogFooter {
    transition-delay: 220ms;
}


/* ============================================================
   ANIMACIONES
============================================================ */

@keyframes dmxHomeBlogGlowOne {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(24px, 19px, 0) scale(1.06);
    }

}

@keyframes dmxHomeBlogGlowTwo {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-27px, -20px, 0) scale(1.05);
    }

}

@keyframes dmxHomeBlogImageEnter {

    from {
        opacity: 0.2;
        transform: scale(1.025);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }

}

@keyframes dmxHomeBlogContentEnter {

    from {
        opacity: 0.25;
        transform: translateY(9px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ============================================================
   1220PX
============================================================ */

@media (max-width: 1220px) {

    .dmxHomeBlogContainer {
        width: min(100% - 42px, 1160px);
    }

    .dmxHomeBlogExperience {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(345px, 0.8fr);
    }

    .dmxHomeBlogFeaturedMedia,
    .dmxHomeBlogFeaturedMedia img {
        min-height: 350px;
    }

    .dmxHomeBlogArticleLink {
        min-height: 102px;
        padding: 13px 12px;
    }

    .dmxHomeBlogArticleCopy > strong {
        font-size: 13px;
    }

}


/* ============================================================
   1020PX
============================================================ */

@media (max-width: 1020px) {

    .dmxHomeBlogHeader {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .dmxHomeBlogIntroduction {
        max-width: 720px;
    }

    .dmxHomeBlogExperience {
        grid-template-columns: minmax(0, 1fr);
    }

    .dmxHomeBlogFeatured {
        grid-template-columns:
            minmax(0, 1.05fr)
            minmax(350px, 0.95fr);
        grid-template-rows: auto;
    }

    .dmxHomeBlogFeaturedMedia,
    .dmxHomeBlogFeaturedMedia img {
        min-height: 100%;
    }

    .dmxHomeBlogFeaturedContent {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .dmxHomeBlogRecentList {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dmxHomeBlogArticleLink {
        height: 100%;
        min-height: 116px;
    }

}


/* ============================================================
   760PX
============================================================ */

@media (max-width: 760px) {

    .dmxHomeBlog {
        padding:
            78px
            0;
    }

    .dmxHomeBlogContainer {
        width: min(100% - 28px, 690px);
    }

    .dmxHomeBlogHeader {
        margin-bottom: 38px;
    }

    .dmxHomeBlogHeading h2 {
        font-size: clamp(38px, 9vw, 53px);
    }

    .dmxHomeBlogFeatured {
        display: block;
        border-radius: 23px;
    }

    .dmxHomeBlogFeaturedMedia,
    .dmxHomeBlogFeaturedMedia img {
        min-height: 330px;
    }

    .dmxHomeBlogRecent {
        overflow: hidden;
        padding: 18px;
        border-radius: 23px;
    }

    .dmxHomeBlogRecentList {
        display: flex;
        overflow-x: auto;
        gap: 11px;
        padding: 2px 2px 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color:
            rgba(18, 105, 236, 0.28)
            transparent;
        overscroll-behavior-inline: contain;
    }

    .dmxHomeBlogRecentList::-webkit-scrollbar {
        height: 5px;
    }

    .dmxHomeBlogRecentList::-webkit-scrollbar-track {
        background: transparent;
    }

    .dmxHomeBlogRecentList::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(18, 105, 236, 0.24);
    }

    .dmxHomeBlogArticle {
        flex:
            0 0
            min(84%, 390px);
        scroll-snap-align: start;
    }

    .dmxHomeBlogArticleLink {
        min-height: 130px;
        background: rgba(255, 255, 255, 0.78);
    }

    .dmxHomeBlogArticle:hover
    .dmxHomeBlogArticleLink,
    .dmxHomeBlogArticle.is-active
    .dmxHomeBlogArticleLink {
        transform: none;
    }

    .dmxHomeBlogFooter {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

}


/* ============================================================
   520PX
============================================================ */

@media (max-width: 520px) {

    .dmxHomeBlog {
        padding:
            66px
            0;
    }

    .dmxHomeBlogContainer {
        width: min(100% - 22px, 470px);
    }

    .dmxHomeBlogEyebrow {
        font-size: 9px;
        letter-spacing: 0.11em;
    }

    .dmxHomeBlogHeading h2 {
        font-size: clamp(34px, 10.7vw, 44px);
    }

    .dmxHomeBlogIntroduction > p {
        font-size: 15px;
    }

    .dmxHomeBlogFeatured {
        border-radius: 20px;
    }

    .dmxHomeBlogFeaturedMedia,
    .dmxHomeBlogFeaturedMedia img {
        min-height: 255px;
    }

    .dmxHomeBlogFeaturedBadge {
        top: 15px;
        left: 15px;
        padding: 8px 10px;
        font-size: 9px;
    }

    .dmxHomeBlogFeaturedArrow {
        right: 15px;
        bottom: 15px;
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .dmxHomeBlogFeaturedContent {
        padding: 21px 18px 22px;
    }

    .dmxHomeBlogFeaturedMeta {
        gap: 6px;
        font-size: 8px;
    }

    .dmxHomeBlogFeaturedContent h3 {
        font-size: 26px;
    }

    .dmxHomeBlogFeaturedContent > p {
        font-size: 14px;
    }

    .dmxHomeBlogFeaturedLink {
        width: 100%;
    }

    .dmxHomeBlogRecent {
        padding: 15px;
        border-radius: 20px;
    }

    .dmxHomeBlogRecentHeader {
        align-items: flex-start;
    }

    .dmxHomeBlogArticle {
        flex-basis: 92%;
    }

    .dmxHomeBlogArticleLink {
        grid-template-columns:
            32px
            minmax(0, 1fr);
        min-height: 126px;
        padding: 14px 12px;
    }

    .dmxHomeBlogArticleArrow {
        display: none;
    }

    .dmxHomeBlogArticleIndex {
        width: 31px;
        height: 31px;
    }

    .dmxHomeBlogPagination {
        margin-top: 12px;
    }

    .dmxHomeBlogDecoration {
        display: none;
    }

}


/* ============================================================
   ACCESIBILIDAD
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .dmxHomeBlog *,
    .dmxHomeBlog *::before,
    .dmxHomeBlog *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .dmxHomeBlog [data-dmx-blog-reveal],
    .dmxHomeBlog.is-js-ready [data-dmx-blog-reveal],
    .dmxHomeBlog.is-visible [data-dmx-blog-reveal] {
        opacity: 1;
        transform: none;
    }

    .dmxHomeBlogFeaturedMedia:hover img,
    .dmxHomeBlogArticle:hover .dmxHomeBlogArticleLink,
    .dmxHomeBlogArticle.is-active .dmxHomeBlogArticleLink,
    .dmxHomeBlogControl:hover,
    .dmxHomeBlogFeaturedLink:hover {
        transform: none;
    }

}

.dmxHomeBlogArticleTitle{
    margin:0;
    padding:0;
    font:inherit;
    color:inherit;
}