.lop-portada {
    --lop-ed-gutter: clamp(1.125rem, 3.4vw, 2.75rem);
    --lop-ed-gap: clamp(1rem, 2.2vw, 1.75rem);
    --lop-ed-padding: clamp(3.25rem, 6.5vw, 6.5rem);
    --lop-ed-type: clamp(1rem, .97rem + .18vw, 1.125rem);
    --lop-ed-paper: #fff;
    --lop-ed-navy: #142347;
    --lop-ed-border: #d7e1ec;
    --lop-ed-round: 1.15rem;
    --lop-ed-shadow: 0 .75rem 2rem rgb(29 49 84 / 7%);
}

.lop-portada .lop-ed-section.fusion-fullwidth {
    padding-block: var(--lop-ed-padding) !important;
    color: var(--lop-ink);
}

.lop-portada .lop-ed-section.fusion-fullwidth > .fusion-builder-row,
.lop-portada .lop-ed-hero.fusion-fullwidth > .fusion-builder-row {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--lop-content-width, 1252px);
    margin-inline: auto;
    padding-inline: var(--lop-ed-gutter);
}

.lop-portada .lop-ed-section .fusion-layout-column,
.lop-portada .lop-ed-hero .fusion-layout-column {
    min-width: 0;
}

.lop-portada .lop-ed-section .fusion-text {
    color: var(--lop-muted);
    font-size: var(--lop-ed-type);
    line-height: 1.63;
}

.lop-portada .lop-ed-section :is(h2, h3, h4) {
    margin-block-start: 0;
    color: var(--lop-ink);
    font-weight: 650;
    text-wrap: balance;
}

.lop-portada .lop-ed-section h2 {
    font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3rem) !important;
    line-height: 1.11 !important;
    letter-spacing: -.035em;
}

.lop-portada .lop-ed-section h3 {
    font-size: clamp(1.25rem, 1.05rem + .85vw, 1.95rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -.022em;
}

.lop-portada .lop-ed-section h4 {
    font-size: clamp(1.07rem, 1rem + .3vw, 1.3rem) !important;
    line-height: 1.27 !important;
}

.lop-portada :is(.lop-ed-section, .lop-ed-hero) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.lop-portada #lop-ed-contact :where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #3361a5;
    outline-offset: 4px;
}

.lop-portada .lop-ed-hero .lop-home-hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(2.3rem, 1.4rem + 3.5vw, 4.05rem) !important;
    line-height: 1.045 !important;
}

.lop-portada .lop-ed-hero .lop-home-hero-copy .fusion-text p {
    max-width: 48ch;
    color: #3f526d;
    font-size: clamp(1rem, .91rem + .38vw, 1.19rem);
    line-height: 1.58;
}

.lop-portada .lop-ed-hero .lop-home-hero-copy {
    position: relative;
    z-index: 2;
}

.lop-portada .lop-ed-hero-art {
    --lop-g-bg-opacity: .94;
    position: relative;
    z-index: 1;
    margin: 0 !important;
    pointer-events: none;
}

.lop-portada .lop-ed-hero-art .fusion-column-wrapper {
    display: grid;
    place-items: center;
    margin: 0;
}

.lop-portada .lop-ed-hero-art .fusion-column-content-centered {
    width: min(100%, clamp(23rem, 37vw, 35rem));
}

.lop-portada .lop-ed-hero-art :is(.fusion-column-content, .fusion-text) {
    width: 100%;
}

.lop-portada .lop-ed-hero-art .lop-ed-figure {
    filter: drop-shadow(0 .9rem 1.9rem rgb(16 37 72 / 12%));
}

.lop-portada .lop-g-idle :is(.lop-g-flow, .lop-g-float, .lop-g-pulse) {
    animation-play-state: paused;
}

.lop-portada .lop-ed-hero-art :is(svg, img) {
    display: block;
    width: 100%;
    max-width: min(35rem, 100%);
    max-height: 56svh;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
}

.lop-portada .lop-ed-hero-art .lop-hf-svg {
    max-width: 100%;
}

.lop-portada .lop-ed-hero-art:has(.lop-hf-svg) .lop-ed-figure {
    filter: none;
}

@media (min-width: 801px) {
    .lop-portada .lop-ed-hero-art:has(.lop-hf-svg) .fusion-column-content-centered {
        justify-self: start;
        width: min(44rem, calc(100% + clamp(0px, calc((100vw - 1270px) * .34), 8rem)));
    }
}

.lop-portada .lop-ed-notices:not(.fusion-fullwidth),
.lop-portada .lop-ed-notices > .fusion-builder-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.lop-portada .lop-ed-notices {
    margin-block: clamp(1rem, 2vw, 1.65rem);
}

.lop-portada .lop-ed-notice-section.fusion-fullwidth {
    padding-block: clamp(1rem, 2.5vw, 1.9rem) !important;
    background: #f8fbfd !important;
}

.lop-portada .lop-ed-notice-section .lop-ed-notices {
    margin-block: 0;
}

.lop-portada .lop-ed-notice {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: .85rem;
    min-height: 4rem;
    padding: .8rem 1rem .75rem;
    border: 1px solid var(--lop-ed-border);
    border-inline-start: 3px solid var(--lop-green);
    border-radius: .65rem;
    background: rgb(255 255 255 / 96%);
    color: var(--lop-ink);
    font-size: .875rem;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: 0 .38rem 1rem rgb(31 55 84 / 7%);
}

.lop-portada .lop-ed-notice:nth-child(even) {
    border-inline-start-color: var(--lop-orange);
}

.lop-portada .lop-ed-notice:hover {
    border-color: #9eafc4;
    color: var(--lop-blue);
}

.lop-portada .lop-ed-notice strong {
    color: var(--lop-blue);
}

.lop-portada .lop-ed-notice > span:last-child {
    display: grid;
    gap: .18rem;
}

.lop-portada .lop-ed-notice .lop-ed-icon {
    flex: 0 0 2.8rem;
    margin: 0;
}

.lop-portada .lop-ed-intro {
    text-align: center;
}

.lop-portada .lop-ed-intro .fusion-title {
    justify-content: center;
    text-align: center;
}

.lop-portada .lop-ed-intro .fusion-text {
    max-width: 67ch;
    margin-inline: auto;
}

.lop-portada .lop-ed-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem .7rem;
    margin: 1.3rem auto 0;
    padding: 0;
    list-style: none;
}

.lop-portada .lop-ed-pills > :is(li, a, span) {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: .38rem .9rem;
    border: 1px solid #d7e5e1;
    border-radius: 100rem;
    background: #f3f8f6;
    color: var(--lop-green-dark);
    font-size: .87rem;
    font-weight: 650;
}

.lop-portada .lop-ed-pills li > a {
    color: inherit;
}

.lop-portada .lop-ed-pills > a:hover,
.lop-portada .lop-ed-pills li > a:hover {
    text-decoration: underline;
    text-underline-offset: .2em;
}

.lop-portada .lop-ed-tinted {
    background: #f4f8fb !important;
}

.lop-portada .lop-ed-copy .fusion-text,
.lop-portada .lop-ed-copy > p {
    max-width: 60ch;
}

.lop-portada .lop-ed-anchor {
    display: block;
    scroll-margin-top: 6.75rem;
}

.lop-portada .lop-ed-figure,
.lop-portada .lop-ed-figure .fusion-column-wrapper {
    min-width: 0;
}

.lop-portada .lop-ed-figure figure,
.lop-portada .lop-ed-hero-art figure {
    margin: 0;
}

.lop-portada .lop-ed-figure :is(img, svg) {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-inline: auto;
}

.lop-portada .lop-ed-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .65rem;
    margin-block-start: 1rem;
}

.lop-portada .lop-ed-cta-row > :is(p, div) {
    margin: 0;
}

.lop-portada .lop-ed-related {
    display: flex;
    flex-wrap: wrap;
    gap: .16rem .95rem;
    margin-block-start: clamp(1.25rem, 2.4vw, 2rem);
    padding-block-start: .8rem;
    border-top: 1px solid var(--lop-ed-border);
    font-size: .88rem;
}

.lop-portada .lop-ed-related :is(ul, div) {
    display: flex;
    flex-wrap: wrap;
    gap: .16rem .85rem;
    margin: .15rem 0 0;
    padding: 0;
    list-style: none;
}

.lop-portada .lop-ed-related a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.lop-portada .lop-ed-related a,
.lop-portada .lop-ed-card-link {
    color: var(--lop-green-dark);
    font-weight: 650;
    text-underline-offset: .22em;
}

.lop-portada .lop-ed-related a:hover,
.lop-portada .lop-ed-card-link:hover {
    color: var(--lop-blue);
    text-decoration: underline;
}

.lop-portada .lop-ed-coverage,
.lop-portada .lop-ed-ink {
    background: radial-gradient(ellipse at 95% 20%, rgb(31 103 99 / 74%), transparent 47%),
                linear-gradient(122deg, #142344, #172f50 65%, #234455) !important;
    color: #f6f9ff !important;
}

.lop-portada :is(.lop-ed-coverage, .lop-ed-ink) :is(h2, h3, h4, dt) {
    color: #fff;
}

.lop-portada :is(.lop-ed-coverage, .lop-ed-ink) :is(.fusion-text, dd, a:not(.fusion-button)) {
    color: #e3edf9;
}

.lop-portada .lop-ed-coverage .fusion-text {
    max-width: 70ch;
}

.lop-portada .lop-ed-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin: clamp(1.35rem, 3vw, 2.7rem) 0 0;
    padding: 0;
}

.lop-portada .lop-ed-stats > div {
    min-width: 0;
    padding: clamp(.8rem, 2.2vw, 1.4rem);
    border: 1px solid rgb(219 240 254 / 30%);
    border-radius: .85rem;
    background: rgb(255 255 255 / 8%);
}

.lop-portada .lop-ed-stats dt {
    font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.lop-portada .lop-ed-stats dd {
    margin: .5rem 0 0;
    font-size: clamp(.78rem, .73rem + .25vw, .96rem);
    line-height: 1.32;
}

.lop-portada .lop-ed-proof {
    background: linear-gradient(156deg, #f4f8fc, #ebf6f1) !important;
}

.lop-portada [data-lop-tabs] {
    min-width: 0;
}

.lop-portada [data-lop-tabs] [role="tablist"] {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-block: 0 clamp(.85rem, 2vw, 1.35rem);
    padding: .35rem;
    border: 1px solid var(--lop-ed-border);
    border-radius: .85rem;
    background: rgb(255 255 255 / 75%);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: .4rem;
    scrollbar-width: thin;
}

.lop-portada [data-lop-tabs] [role="tab"] {
    flex: 0 0 auto;
    min-height: 44px;
    padding: .5rem clamp(.72rem, 1.85vw, 1.2rem);
    border: 1px solid transparent;
    border-radius: .6rem;
    background: transparent;
    color: #3c5270;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.25;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
}

.lop-portada [data-lop-tabs] [role="tab"]:hover {
    background: #eaf2f7;
    color: var(--lop-blue);
}

.lop-portada [data-lop-tabs] [role="tab"][aria-selected="true"] {
    border-color: #25375e;
    background: #25375e;
    color: #fff;
}

.lop-portada [data-lop-tabs] [role="tab"]:focus-visible {
    outline-offset: 1px;
}

.lop-portada [data-lop-tabs] [role="tabpanel"][hidden] {
    display: none !important;
}

.lop-portada [data-lop-tabs] [role="tabpanel"]:focus-visible {
    outline: 2px solid #3361a5;
    outline-offset: 4px;
}

.lop-portada .lop-ed-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: var(--lop-ed-gap);
    align-items: center;
    padding: clamp(1.35rem, 4vw, 2.75rem);
    border: 1px solid var(--lop-ed-border);
    border-radius: var(--lop-ed-round);
    background: var(--lop-ed-paper);
    box-shadow: var(--lop-ed-shadow);
}

.lop-portada .lop-ed-agencies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(7.3rem, 100%), 1fr));
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lop-portada .lop-ed-agency {
    box-sizing: border-box;
    min-width: 0;
    min-height: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .35rem;
    padding: .55rem;
    border: 1px solid #e1e8ef;
    border-radius: .65rem;
    background: #f8fafc;
    color: var(--lop-ink);
    font-size: .8rem;
    line-height: 1.2;
    text-align: center;
}

.lop-portada .lop-ed-agency img {
    width: auto;
    max-width: 100%;
    height: 2rem;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lop-portada .lop-ed-usecases {
    background: #f3f8f5 !important;
}

.lop-portada :is(.lop-ed-tiles, .lop-ed-resource-grid) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--lop-ed-gap);
    margin-block-start: clamp(1.15rem, 2.45vw, 2.2rem);
}

.lop-portada :is(.lop-ed-tile, .lop-ed-resource-card) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    box-sizing: border-box;
    min-width: 0;
    padding: clamp(1rem, 2.3vw, 1.65rem);
    border: 1px solid var(--lop-ed-border);
    border-radius: var(--lop-ed-round);
    background: var(--lop-ed-paper);
    color: var(--lop-ink);
    box-shadow: var(--lop-ed-shadow);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lop-portada :is(.lop-ed-tile, .lop-ed-resource-card):focus-within {
    border-color: #99aebe;
}

.lop-portada :is(.lop-ed-tile, .lop-ed-resource-card) :is(h3, h4, p) {
    margin-block: 0;
}

.lop-portada :is(.lop-ed-tile, .lop-ed-resource-card) p {
    color: var(--lop-muted);
    font-size: .96rem;
    line-height: 1.5;
}

.lop-portada :is(.lop-ed-tile, .lop-ed-resource-card) .lop-ed-card-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    margin-top: auto;
    font-size: .9rem;
}

.lop-portada .lop-ed-icon {
    display: inline-grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    margin-block-end: .25rem;
    border-radius: .65rem;
    background: #ecf4ef;
    color: var(--lop-green-dark);
}

.lop-portada .lop-ed-icon :is(svg, img) {
    width: 1.45rem;
    height: 1.45rem;
}

.lop-portada .lop-ed-card-media {
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e0eaf1;
    border-radius: .65rem;
    background-color: #eef4f8;
}

.lop-portada .lop-ed-card-media :is(img, svg) {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.8;
    object-fit: cover;
}

.lop-portada .lop-ed-resource-card .lop-ed-card-media {
    margin-block-end: .2rem;
}

.lop-portada .lop-ed-more {
    margin-block-start: 1.45rem;
    border: 1px solid var(--lop-ed-border);
    border-radius: .8rem;
    background: #fff;
}

.lop-portada .lop-ed-more summary {
    min-height: 44px;
    box-sizing: border-box;
    padding: .8rem 1rem;
    color: var(--lop-blue);
    font-weight: 650;
    cursor: pointer;
}

.lop-portada .lop-ed-more[open] summary {
    border-bottom: 1px solid var(--lop-ed-border);
}

.lop-portada .lop-ed-more > :not(summary) {
    margin-inline: 1rem;
    margin-block-end: 1rem;
}

.lop-portada .lop-ed-close {
    background: radial-gradient(ellipse at 95% 0%, #e4f2ea, transparent 65%), #eff5fa !important;
}

.lop-portada .lop-ed-footnav {
    --lop-ed-padding: clamp(2rem, 4vw, 3.4rem);
    border-block-start: 1px solid var(--lop-ed-border);
    background: #f7fafc !important;
}

.lop-portada .lop-ed-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.85rem, 3vw, 2rem);
}

.lop-portada .lop-ed-footer-grid :is(h2,h3,h4) {
    margin-bottom: .55rem;
    font-size: 1.1rem !important;
}

.lop-portada .lop-ed-footer-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lop-portada .lop-ed-footer-grid a {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    color: #334b6c;
    text-underline-offset: .23em;
    font-size: .9rem;
}

.lop-portada .lop-ed-footer-grid a:hover {
    color: var(--lop-green);
    text-decoration: underline;
}

.lop-portada #lop-ed-contact {
    box-sizing: border-box;
    width: min(42rem, calc(100% - 1.45rem));
    max-width: none;
    max-height: calc(100vh - 1.45rem);
    max-height: calc(100dvh - 1.45rem);
    margin: auto;
    padding: clamp(1.15rem, 3.7vw, 2.6rem);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--lop-ed-border);
    border-radius: 1rem;
    background: #fff;
    color: var(--lop-ink);
    box-shadow: 0 2rem 6rem rgb(9 26 55 / 28%);
    font: inherit;
}

.lop-portada #lop-ed-contact::backdrop {
    background: rgb(12 26 54 / 60%);
}

.lop-portada #lop-ed-contact :is(h2, h3) {
    margin-block: 0 .65rem;
    padding-inline-end: 2rem;
    color: var(--lop-ink);
    font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
    line-height: 1.13 !important;
}

.lop-portada #lop-ed-contact .lop-ed-dialog-close {
    position: absolute;
    inset: .65rem .65rem auto auto;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--lop-ed-border);
    border-radius: .55rem;
    background: #f5f8fb;
    color: var(--lop-blue);
    font: inherit;
    cursor: pointer;
}

.lop-portada #lop-ed-contact label {
    color: var(--lop-ink);
    font-weight: 550;
}

.lop-portada #lop-ed-contact :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=submit]), select, textarea) {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    border-color: #b7c6d7;
    border-radius: .4rem;
    color: var(--lop-ink);
    font-size: 1rem;
}

.lop-portada #lop-ed-contact :is(button, input[type=submit]) {
    min-height: 44px;
}

@media (min-width: 801px) {
    .lop-portada .lop-ed-hero > .fusion-builder-row,
    .lop-portada .lop-ed-split > .fusion-builder-row {
        display: grid;
        grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
        align-items: center;
        column-gap: clamp(1.5rem, 4vw, 4.6rem);
    }

    .lop-portada :is(.lop-ed-hero, .lop-ed-split) > .fusion-builder-row::before,
    .lop-portada :is(.lop-ed-hero, .lop-ed-split) > .fusion-builder-row::after {
        display: none;
    }

    .lop-portada :is(.lop-ed-hero, .lop-ed-split) > .fusion-builder-row > .fusion-layout-column {
        width: auto !important;
        margin: 0 !important;
        float: none;
    }
}

@media (max-width: 980px) {
    .lop-portada :is(.lop-ed-tiles, .lop-ed-resource-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .lop-portada .lop-ed-hero-art:not(:has(.lop-hf-svg)) {
        display: none !important;
    }

    .lop-portada .lop-ed-hero .lop-home-hero-copy {
        width: 100% !important;
        margin-inline: 0 !important;
    }

    .lop-portada .lop-ed-hero .lop-home-hero-copy h1 {
        max-width: 20ch;
        font-size: clamp(2.25rem, 8.6vw, 3.3rem) !important;
    }

    .lop-portada .lop-ed-split > .fusion-builder-row {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .lop-portada .lop-ed-split > .fusion-builder-row > .fusion-layout-column {
        float: none;
        width: 100% !important;
        margin: 0 !important;
    }

    .lop-portada .lop-ed-split .lop-ed-copy {
        order: -1;
    }

    .lop-portada .lop-ed-proof-grid {
        grid-template-columns: 1fr;
    }

    .lop-portada .lop-ed-stats,
    .lop-portada .lop-ed-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 565px) {
    .lop-portada :is(.lop-ed-tiles, .lop-ed-resource-grid) {
        grid-template-columns: minmax(0, 1fr);
    }

    .lop-portada .lop-ed-notices:not(.fusion-fullwidth),
    .lop-portada .lop-ed-notices > .fusion-builder-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 800px), (max-width: 1180px) and (orientation: portrait) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .fusion-builder-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: max-content minmax(0, 1fr);
        gap: .6rem;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .fusion-builder-row::before,
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .fusion-builder-row::after {
        display: none;
    }

    .lop-portada .lop-ed-hero .lop-ed-hero-art:has(.lop-hf-svg) {
        --lop-hero-art-limit: clamp(34rem, 69vw, 38rem);
        display: block !important;
        width: 100% !important;
        float: none;
    }

    .lop-portada .lop-ed-hero-art:has(.lop-hf-svg) .fusion-column-content-centered {
        justify-self: center;
        width: 100%;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy h1 {
        font-size: clamp(2.25rem, 8.6vw, 3.3rem) !important;
    }
}

@media (max-width: 1040px) and (max-height: 745px),
       (max-width: 450px) and (max-height: 800px) and (orientation: portrait) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) {
        padding-block: clamp(.85rem, 2.4svh, 1.25rem) calc(var(--lop-organisms-height) + 1.6rem) !important;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy .lop-ed-cta-row {
        display: grid;
        grid-template-columns: max-content minmax(0, max-content);
        align-items: stretch;
        gap: .45rem;
        margin-block-start: .55rem;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy :is(.lop-home-button-primary, .lop-home-button-secondary) {
        width: 100%;
        min-height: 44px !important;
        margin: 0 !important;
        padding: .45rem .65rem !important;
        font-size: .84rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 450px) and (max-height: 800px) and (orientation: portrait) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy .fusion-text p {
        font-size: .94rem;
        line-height: 1.42;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy h1 {
        font-size: clamp(1.7rem, 8.4vw, 2.15rem) !important;
    }
}

@media (max-width: 355px) and (max-height: 745px) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy .lop-ed-cta-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 355px) and (max-height: 575px) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .fusion-builder-row {
        row-gap: .28rem;
    }
}

@media (min-width: 520px) and (max-width: 800px) and (orientation: landscape) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .fusion-builder-row {
        grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
        grid-template-rows: auto;
        align-items: center;
        gap: clamp(.65rem, 2vw, 1.25rem);
    }
}

@media (min-width: 801px) and (max-width: 1180px) and (orientation: landscape) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .fusion-builder-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(1rem, 2vw, 1.5rem);
    }
}

@media (max-height: 670px) and (max-width: 1040px) and (orientation: landscape) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy h1 {
        max-width: 27ch;
        font-size: clamp(1.65rem, 4.4vw, 2.65rem) !important;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy .fusion-text p {
        max-width: 65ch;
        font-size: .95rem;
        line-height: 1.42;
    }
}

@media (max-width: 1180px), (any-pointer: coarse) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) {
        --lop-organisms-height: clamp(64px, 12svh, 112px);
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(min-content, 1fr) auto;
        align-items: stretch;
        gap: .5rem;
        min-block-size: calc(100svh - var(--lop-hero-offset));
        min-block-size: calc(100dvh - var(--lop-hero-offset));
        padding: clamp(.6rem, 3dvh, 2.5rem) 0 0 !important;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .fusion-builder-row.fusion-row {
        --lop-hero-gutter: clamp(1.125rem, 6.5vw, 1.875rem);
        width: 100%;
        margin: 0 auto;
        padding-inline: max(var(--lop-hero-gutter), env(safe-area-inset-left, 0px))
                        max(var(--lop-hero-gutter), env(safe-area-inset-right, 0px)) !important;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .lop-home-organisms {
        position: relative;
        inset: auto;
    }

    .lop-portada.lop-rail-visible .joinchat {
        bottom: calc(var(--lop-rail-clearance, 0px) + .75rem) !important;
    }

    /* Avada writes equal column heights inline. Each grid track needs to size independently. */
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .fusion-builder-row > .fusion-layout-column
        :is(.fusion-column-wrapper, .fusion-column-content-centered) {
        min-height: 0 !important;
        height: auto !important;
    }

    /* The copy and the logo strip set the minimum height. The artwork uses the remaining space. */
    .lop-portada .lop-ed-hero-art:has(.lop-hf-svg) {
        align-self: stretch;
        min-height: 0;
    }

    .lop-portada .lop-ed-hero-art:has(.lop-hf-svg) .fusion-column-wrapper {
        position: absolute;
        inset: 0;
    }

    .lop-portada .lop-ed-hero-art .lop-hf-svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: min(100%, var(--lop-hero-art-limit, 44rem));
        max-height: none;
        margin: auto;
    }
}

@media (min-width: 650px) and (max-width: 1180px) and (orientation: portrait) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) {
        padding-block-start: clamp(1.5rem, calc(31dvh - 15rem), 10.5rem) !important;
    }
}

@media (min-width: 440px) and (max-width: 1040px) and (max-height: 435px) and (orientation: landscape) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) {
        --lop-organisms-height: 54px;
        gap: .35rem;
        padding-block-start: .45rem !important;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .fusion-builder-row {
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: center;
        gap: .65rem;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy .fusion-title {
        margin-block: 0 .3rem !important;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy h1 {
        font-size: clamp(1.325rem, 3.75vw, 1.875rem) !important;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy .fusion-text p {
        margin-block: 0 !important;
        font-size: clamp(.82rem, 2.2vw, .925rem);
        line-height: 1.32;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy .lop-ed-cta-row {
        margin-block-start: .35rem;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) > .lop-home-organisms {
        gap: .2rem;
        padding-block-start: .25rem;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-organisms-label {
        margin-block: 0 !important;
    }
}

@media (min-width: 440px) and (max-width: 1040px) and (max-height: 300px) and (orientation: landscape) {
    .lop-portada .lop-ed-hero:has(.lop-hf-svg) {
        gap: .2rem;
        padding-block-start: .3rem !important;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy h1 {
        font-size: clamp(1.2rem, 3.3vw, 1.5rem) !important;
    }

    .lop-portada .lop-ed-hero:has(.lop-hf-svg) .lop-home-hero-copy .fusion-text p {
        font-size: .84rem;
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .lop-portada :is(.lop-ed-tile, .lop-ed-resource-card):hover {
        transform: translateY(-3px);
        border-color: #a4b7ca;
        box-shadow: 0 1rem 2.15rem rgb(29 49 84 / 10%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lop-portada :is(.lop-ed-tile, .lop-ed-resource-card, .lop-ed-notice) {
        transition: none;
    }
}
