/* Next Inmobiliaria — Home Buscador & Destacadas */
.next-home-search-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    max-width: 1120px;
    margin: 0 auto;
}
.next-home-search-field select,
.next-home-search-field input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    background: #F5F5F7;
    color: #1D1D1F;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: border-color .15s ease, background .15s ease;
}
.next-home-search-field select:focus,
.next-home-search-field input[type="text"]:focus {
    background: #FFFFFF;
    border-color: #1D1D1F;
}
.next-home-search-submit {
    height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: 10px;
    background: #1D1D1F;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s ease;
}
.next-home-search-submit:hover { opacity: 0.88; }
.banner__search .next-home-search-form {
    grid-template-columns: 1fr;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
}

.next-home-tabs-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
}
.next-home-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.next-home-tab-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid #E5E5EA;
    background: #F5F5F7;
    color: #1D1D1F;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}
.next-home-tab-btn.is-active,
.next-home-tab-btn:hover {
    background: #1D1D1F;
    border-color: #1D1D1F;
    color: #FFFFFF;
}
.next-home-tab-panel { display: none; }
.next-home-tab-panel.is-active { display: block; }

.next-archive-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 20px 64px;
}
.next-archive-header {
    margin-bottom: 24px;
    text-align: center;
}
.next-archive-title {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 700;
    color: #1D1D1F;
}
.next-archive-lang-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 18px;
}
.next-archive-lang-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #E5E5EA;
    background: #FFFFFF;
    color: #1D1D1F;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.next-archive-lang-pill:hover {
    border-color: #1D1D1F;
}
.next-archive-lang-pill.is-active {
    background: #1D1D1F;
    border-color: #1D1D1F;
    color: #FFFFFF;
}
.next-archive-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}
.next-archive-pagination .page-numbers {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #E5E5EA;
    color: #1D1D1F;
    text-decoration: none;
    font-weight: 600;
}
.next-archive-pagination .page-numbers.current {
    background: #1D1D1F;
    border-color: #1D1D1F;
    color: #FFFFFF;
}

.next-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.next-home-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    color: #1D1D1F;
    transition: transform .2s ease, box-shadow .2s ease;
}
.next-home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}
.next-home-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #F5F5F7;
    overflow: hidden;
}
.next-home-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.next-home-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.next-home-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(29, 29, 31, 0.86);
    color: #FFFFFF;
}
.next-home-badge.is-status {
    background: #D97706;
}
.next-home-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    flex: 1;
}
.next-home-card-loc {
    font-size: 12px;
    font-weight: 600;
    color: #6E6E73;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.next-home-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #1D1D1F;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.next-home-card-price-row {
    margin-top: auto;
    padding-top: 8px;
}
.next-home-card-price {
    font-size: 19px;
    font-weight: 700;
    color: #1D1D1F;
}
.next-home-card-fx {
    font-size: 12px;
    color: #6E6E73;
    margin-top: 2px;
}
.next-home-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 13px;
    color: #515154;
}
@media (max-width: 991px) {
    .next-home-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .next-home-search-submit { grid-column: 1 / -1; }
    .next-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .next-home-search-form,
    .next-home-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Portada División Campos ([next_campos_portada])
   ========================================================================== */
body.next-campos-fullwidth-page .sidebar,
body.next-campos-fullwidth-page .widget-area,
body.next-campos-fullwidth-page .site--main > .site__header,
body.next-campos-fullwidth-page .breadcrumbs,
body.next-campos-fullwidth-page .article__footer,
body.next-campos-fullwidth-page .social--article,
body.next-campos-fullwidth-page .social--share,
body.next-campos-fullwidth-page .widget--share,
body.next-campos-fullwidth-page .post__share {
    display: none !important;
}
body.next-campos-fullwidth-page .site-wrap {
    overflow-x: hidden;
}
body.next-campos-fullwidth-page .center > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.next-campos-fullwidth-page .center > .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.next-campos-fullwidth-page .site--main,
body.next-campos-fullwidth-page .site__main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.next-campos-fullwidth-page .site__main > .widget,
body.next-campos-fullwidth-page .site__main > .widget > .widget__content,
body.next-campos-fullwidth-page .article--page,
body.next-campos-fullwidth-page .article__body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.next-campos-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    color: #1D1D1F;
}
.next-campos-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #121921;
    background-image:
        linear-gradient(180deg, rgba(18, 25, 33, 0.72) 0%, rgba(18, 25, 33, 0.84) 100%),
        url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 64px 24px;
    margin-bottom: 40px;
    box-shadow: 0 14px 36px rgba(18, 25, 33, 0.18);
}
.next-campos-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}
.next-campos-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c79c58;
    margin-bottom: 10px;
}
.next-campos-eyebrow.is-dark {
    color: #A93F32;
}
.next-campos-hero-title {
    margin: 0 0 12px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}
.next-campos-hero-sub {
    margin: 0 auto 30px;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}
.next-campos-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) minmax(200px, 1fr) minmax(180px, 0.9fr) auto;
    gap: 10px;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.97);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.next-campos-field select,
.next-campos-field input[type="number"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    background: #F5F5F7;
    color: #1D1D1F;
    font-size: 14px;
    font-weight: 500;
    text-overflow: clip;
    outline: none;
    transition: border-color .15s ease, background .15s ease;
}
.next-campos-field select:focus,
.next-campos-field input[type="number"]:focus {
    background: #FFFFFF;
    border-color: #2c3e50;
}
.next-campos-search-btn {
    height: 46px;
    padding: 0 26px;
    border: none;
    border-radius: 10px;
    background: #A93F32;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .15s ease;
}
.next-campos-search-btn:hover {
    background: #8f3328;
}

.next-campos-units {
    max-width: 1200px;
    margin: 0 auto 44px;
    padding: 0 20px;
}
.next-campos-units-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.next-campos-unit-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    text-decoration: none !important;
    color: #1D1D1F;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.next-campos-unit-card:hover,
.next-campos-unit-card.is-active {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    border-color: #c79c58;
}
.next-campos-unit-badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(199, 156, 88, 0.16);
    color: #2c3e50;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.next-campos-unit-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    color: #1D1D1F;
}
.next-campos-unit-desc {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #515154;
    flex: 1;
}
.next-campos-unit-cta {
    font-size: 13px;
    font-weight: 700;
    color: #A93F32;
}

.next-campos-catalog {
    max-width: 1200px;
    margin: 0 auto 56px;
    padding: 0 20px;
}
.next-campos-catalog-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto 24px;
}
.next-campos-section-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1D1D1F;
}
.next-campos-section-meta {
    margin: 4px 0 0;
    font-size: 14px;
    color: #6E6E73;
}
.next-campos-reset-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #2c3e50;
    color: #2c3e50;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}
.next-campos-reset-link:hover {
    background: #2c3e50;
    color: #FFFFFF;
}
.next-campos-fallback-notice {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 12px 18px;
    background: #F5F5F7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 4px solid #c79c58;
    border-radius: 10px;
    font-size: 14px;
    color: #515154;
}
.next-campos-empty {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
    background: #F5F5F7;
    border-radius: 16px;
    color: #515154;
}

.next-campos-faq {
    max-width: 960px;
    margin: 0 auto 56px;
    padding: 0 20px;
}
.next-campos-faq-head {
    text-align: center;
    margin-bottom: 24px;
}
.next-campos-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.next-campos-faq-item {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 18px 22px;
}
.next-campos-faq-q {
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #1D1D1F;
    list-style: none;
}
.next-campos-faq-q::-webkit-details-marker {
    display: none;
}
.next-campos-faq-a {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14px;
    line-height: 1.6;
    color: #515154;
}
.next-campos-faq-a p {
    margin: 0;
}

.next-campos-divider-band {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 18px;
    background-color: #2c3e50;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.05) 0,
        rgba(255, 255, 255, 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
    border-top: 2px solid #c79c58;
}
.next-campos-cta-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 64px 24px;
    background-color: #F7F8FA;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(44, 62, 80, 0.05) 0, rgba(44, 62, 80, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 35%, rgba(199, 156, 88, 0.08) 0, rgba(199, 156, 88, 0.08) 2px, transparent 2px),
        linear-gradient(to right, rgba(44, 62, 80, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(44, 62, 80, 0.03) 1px, transparent 1px);
    background-size: 36px 36px, 52px 52px, 48px 48px, 48px 48px;
    text-align: center;
}
.next-campos-cta-inner {
    max-width: 780px;
    margin: 0 auto;
}
.next-campos-cta-title {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 700;
    color: #1D1D1F;
}
.next-campos-cta-text {
    margin: 0 auto 28px;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.6;
    color: #515154;
}
.next-campos-cta-actions {
    display: flex;
    justify-content: center;
}
.next-campos-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    background: #c79c58;
    color: #1D1D1F;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(199, 156, 88, 0.28);
    transition: opacity .15s ease, transform .15s ease;
}
.next-campos-btn-wa:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .next-campos-search-form {
        grid-template-columns: 1fr 1fr;
    }
    .next-campos-search-btn {
        grid-column: 1 / -1;
    }
    .next-campos-units-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .next-campos-hero {
        padding: 36px 18px;
    }
    .next-campos-hero-title {
        font-size: 26px;
    }
    .next-campos-search-form {
        grid-template-columns: 1fr;
    }
    .next-campos-cta-section {
        padding: 44px 18px;
    }
    .next-campos-cta-title {
        font-size: 24px;
    }
}

/* ==========================================================================
   Archivo /propiedades/ (Full-Width, Hero, Toolbar, Chips, Ordenamiento)
   ========================================================================== */
body.next-archive-fullwidth-page .sidebar,
body.next-archive-fullwidth-page .widget-area,
body.next-archive-fullwidth-page .breadcrumbs {
    display: none !important;
}
body.next-archive-fullwidth-page .site-wrap {
    overflow-x: hidden;
}
body.next-archive-fullwidth-page .center > .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.next-archive-fullwidth-page .center > .container > .row,
body.next-archive-fullwidth-page .site--main,
body.next-archive-fullwidth-page .site__main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.next-archive-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #1D1D1F;
}
.next-archive-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #10161d;
    background-image:
        linear-gradient(180deg, rgba(16, 22, 29, 0.72) 0%, rgba(16, 22, 29, 0.86) 100%),
        radial-gradient(circle at 20% 20%, rgba(199, 156, 88, 0.22) 0, transparent 48%),
        linear-gradient(135deg, #1b2836 0%, #2c3e50 60%, #10161d 100%);
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 64px 24px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(16, 22, 29, 0.22);
}
.next-archive-hero.has-bg-image {
    background-image:
        linear-gradient(180deg, rgba(16, 22, 29, 0.72) 0%, rgba(16, 22, 29, 0.86) 100%),
        var(--next-archive-hero-bg);
}
.next-archive-hero-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}
.next-archive-hero-title {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}
.next-archive-search-wrap {
    margin-top: 12px;
}
.next-archive-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 14px 18px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
}
.next-archive-count {
    font-size: 14px;
    color: #515154;
}
.next-archive-count strong {
    color: #1D1D1F;
    font-weight: 700;
}
.next-archive-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
}
.next-archive-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #F5F5F7;
    border: 1px solid #E5E5EA;
    color: #1D1D1F;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: border-color .15s ease, background-color .15s ease;
}
.next-archive-chip:hover {
    border-color: #A93F32;
    background: #FFFFFF;
}
.next-archive-chip-x {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: #A93F32;
}
.next-archive-chip-clear {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: underline;
    margin-left: 4px;
}
.next-archive-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.next-archive-view-switch {
    display: inline-flex;
    padding: 3px;
    background: #F5F5F7;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
}
.next-archive-view-btn {
    height: 32px;
    padding: 0 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #515154;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.next-archive-view-btn.is-active {
    background: #1D1D1F;
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.next-archive-shell.is-map-split-view {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 24px 0 48px;
    box-sizing: border-box;
}
.next-archive-shell.is-map-split-view .next-archive-toolbar {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}
.next-archive-shell.is-map-split-view .next-archive-split-container {
    display: grid;
    grid-template-columns: minmax(420px, 38%) 1fr;
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}
.next-archive-shell.is-map-split-view .next-home-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 14px;
}
.next-archive-shell.is-map-split-view .next-home-card {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    flex-direction: row;
    min-height: 152px;
}
.next-archive-shell.is-map-split-view .next-home-card-media {
    width: 175px;
    height: 100%;
    aspect-ratio: auto;
}
.next-archive-shell.is-map-split-view .next-home-card-body {
    padding: 14px 16px;
    gap: 6px;
    min-width: 0;
}
.next-archive-shell.is-map-split-view .next-home-card-title {
    font-size: 15px;
}
.next-archive-shell.is-map-split-view .next-home-card-price {
    font-size: 17px;
}
.next-archive-shell.is-map-split-view .next-archive-map-panel {
    position: sticky;
    top: 20px;
    max-width: 100%;
    margin: 0;
}
.next-archive-map-panel {
    max-width: 1200px;
    margin: 0 auto;
}
.next-archive-map-topbar {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.next-archive-map-stage {
    position: relative;
}
.next-map-zone-label {
    position: absolute;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(44, 62, 80, 0.82);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.next-archive-zone-tooltip {
    position: absolute;
    top: 64px;
    left: 16px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(29, 29, 31, 0.92);
    color: #FFFFFF;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    border-left: 3px solid #c79c58;
}
.next-archive-zone-tooltip strong {
    font-size: 14px;
    font-weight: 700;
}
.next-archive-zone-tooltip span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.84);
}
.next-archive-map-move-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: #1D1D1F;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    margin: 0;
}
.next-archive-map-move-label input[type="checkbox"] {
    accent-color: #1D1D1F;
    margin: 0;
}
.next-archive-map {
    width: 100%;
    height: calc(100vh - 40px);
    min-height: 520px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    z-index: 1;
}
.next-archive-map .leaflet-tile-pane {
    filter: saturate(0.85) contrast(1.02);
}
.next-home-card.is-map-highlighted {
    border-color: #A93F32;
    box-shadow: 0 0 0 2px rgba(169, 63, 50, 0.28), 0 14px 30px rgba(0, 0, 0, 0.1);
}
.next-map-price-pin.is-highlighted {
    background: #A93F32;
    transform: translate(-50%, -50%) scale(1.14);
    box-shadow: 0 6px 18px rgba(169, 63, 50, 0.42);
}
.next-archive-mobile-fab {
    display: none;
}
@media (max-width: 1023px) {
    .next-archive-shell.is-map-split-view {
        width: 100%;
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        padding: 36px 20px 64px;
    }
    .next-archive-shell.is-map-split-view .next-archive-split-container {
        grid-template-columns: 1fr;
    }
    .next-archive-shell.is-map-split-view .next-archive-grid-panel {
        display: none;
    }
    .next-archive-shell.is-map-split-view .next-archive-map-panel {
        position: static;
    }
    .next-archive-map {
        height: 70vh;
        min-height: 400px;
    }
    .next-archive-mobile-fab {
        position: fixed;
        bottom: 22px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        padding: 0 22px;
        border: none;
        border-radius: 999px;
        background: #1D1D1F;
        color: #FFFFFF;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
        cursor: pointer;
    }
}
.next-archive-map-empty {
    padding: 48px 24px;
    text-align: center;
    background: #F5F5F7;
    border-radius: 16px;
    color: #515154;
    font-size: 15px;
}
.next-map-price-pin-wrap {
    background: transparent;
    border: none;
}
.next-map-price-pin,
.next-map-price-pill {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #1D1D1F;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -100%);
    transition: transform .15s ease, background-color .15s ease;
}
.next-map-price-pin:hover,
.next-map-price-pill:hover,
.next-map-price-pin.is-highlighted,
.next-map-price-pill.is-highlighted {
    background: #A93F32;
    transform: translate(-50%, -100%) scale(1.12);
    box-shadow: 0 6px 18px rgba(169, 63, 50, 0.42);
}
.next-map-popup {
    display: flex;
    flex-direction: column;
    font-family: inherit;
}
.next-map-popup-media {
    position: relative;
    height: 132px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #F5F5F7;
}
.next-map-popup-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.next-map-popup-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(29, 29, 31, 0.88);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}
.next-map-popup-loc {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6E6E73;
    margin-bottom: 3px;
}
.next-map-popup-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #1D1D1F;
}
.next-map-popup-price {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}
.next-map-popup-btn {
    display: block;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: #1D1D1F;
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}
.next-map-popup-btn:hover {
    background: #A93F32;
}
.next-archive-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.next-archive-sort-label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #515154;
}
.next-archive-sort-select {
    height: 38px;
    padding: 0 12px;
    border: 1px solid #E5E5EA;
    border-radius: 8px;
    background: #F5F5F7;
    color: #1D1D1F;
    font-size: 13px;
    font-weight: 600;
    outline: none;
}

/* ==========================================================================
   Contacto Embudo ([next_contacto_embudo]) Full-Width Ejecutivo
   ========================================================================== */
body.next-contacto-fullwidth-page .sidebar,
body.next-contacto-fullwidth-page .widget-area,
body.next-contacto-fullwidth-page .site--main > .site__header,
body.next-contacto-fullwidth-page .breadcrumbs,
body.next-contacto-fullwidth-page .map--contacts,
body.next-contacto-fullwidth-page .map--location,
body.next-contacto-fullwidth-page .map--hero,
body.next-contacto-fullwidth-page .hero-unit,
body.next-contacto-fullwidth-page .site-wrap > .map,
body.next-contacto-fullwidth-page .article__footer,
body.next-contacto-fullwidth-page .social--article,
body.next-contacto-fullwidth-page .social--share,
body.next-contacto-fullwidth-page .widget--share,
body.next-contacto-fullwidth-page .post__share,
body.next-contacto-fullwidth-page .article__body > img:first-child,
body.next-contacto-fullwidth-page .article__body > .article__preview {
    display: none !important;
}
body.next-contacto-fullwidth-page,
body.next-contacto-fullwidth-page .site-wrap {
    overflow-x: hidden;
}
body.next-contacto-fullwidth-page .center > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.next-contacto-fullwidth-page .center > .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.next-contacto-fullwidth-page .site--main,
body.next-contacto-fullwidth-page .site__main,
body.next-contacto-fullwidth-page .site__main > .widget,
body.next-contacto-fullwidth-page .site__main > .widget > .widget__content,
body.next-contacto-fullwidth-page .article--page,
body.next-contacto-fullwidth-page .article__body {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.next-contact-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #1D1D1F;
}
.next-contact-hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 40px;
    background-color: #13161C;
    background-image: linear-gradient(135deg, #13161C 0%, #1B202A 100%);
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 64px 24px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(27, 40, 54, 0.16);
}
.next-contact-hero-inner {
    max-width: 960px;
    margin: 0 auto;
}
.next-contact-hero-title {
    margin: 0 0 10px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}
.next-contact-hero-sub {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}
.next-contact-main {
    max-width: 1200px;
    margin: 0 auto 56px;
    padding: 0 24px;
    box-sizing: border-box;
}
.next-contact-shell .next-contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}
.next-contact-shell .next-contact-info-card,
.next-contact-shell .next-contact-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}
.next-contact-wa-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    margin-bottom: 22px;
    border-radius: 10px;
    background: #c79c58;
    color: #1D1D1F !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    align-self: flex-start;
    box-shadow: 0 6px 16px rgba(199, 156, 88, 0.24);
    transition: opacity .15s ease, transform .15s ease;
}
.next-contact-wa-cta:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.next-contact-col-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #1D1D1F;
}
.next-contact-col-lead {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.55;
    color: #515154;
}
.next-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.next-contact-channel {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.next-contact-channel-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6E6E73;
}
.next-contact-channel-val {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none !important;
}
.next-contact-channel-val.is-wa {
    color: #A93F32;
}
.next-contact-channel-meta {
    font-size: 13px;
    color: #515154;
}
.next-contact-offices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: auto;
}
.next-contact-office {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: #F5F5F7;
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    color: #515154;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.next-contact-office:hover,
.next-contact-office.is-active {
    background: #FFFFFF;
    border-color: #c79c58;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.next-contact-office strong {
    color: #1D1D1F;
    font-size: 14px;
}
.next-contact-office-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
}
.next-contact-office-focus {
    font-weight: 700;
    color: #A93F32;
}
.next-contact-office a {
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none !important;
}
.next-contact-office a:hover {
    color: #A93F32;
}
.next-contact-shell .next-contact-field {
    margin-bottom: 16px;
}
.next-contact-shell .next-contact-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1D1D1F;
}
.next-contact-shell .next-contact-field input,
.next-contact-shell .next-contact-field select,
.next-contact-shell .next-contact-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    background: #F8F9FA;
    color: #1D1D1F;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.next-contact-shell .next-contact-field input:focus,
.next-contact-shell .next-contact-field select:focus,
.next-contact-shell .next-contact-field textarea:focus {
    background: #FFFFFF;
    border-color: #A93F32;
    box-shadow: 0 0 0 3px rgba(169, 63, 50, 0.12);
}
.next-contact-shell .next-contact-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: #2c3e50;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}
.next-contact-shell .next-contact-btn:hover {
    background: #A93F32;
    transform: translateY(-1px);
}
.next-contact-shell .next-contact-status {
    display: none;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #FEF2F2;
    border: 1px solid rgba(169, 63, 50, 0.25);
    color: #A93F32;
    font-size: 13px;
    font-weight: 600;
}

.next-contact-locations-section {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 24px;
    box-sizing: border-box;
}
.next-contact-locations-frame-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    background: #F5F5F7;
}
.next-contact-locations-canvas {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

.next-contact-pillars {
    width: 100%;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 64px 24px;
    box-sizing: border-box;
}
.next-contact-pillars-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.next-contact-pillars-head {
    text-align: center;
    margin-bottom: 28px;
}
.next-contact-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.next-contact-pillar {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 3px solid #c79c58;
    border-radius: 16px;
    padding: 22px;
}
.next-contact-pillar h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1D1D1F;
}
.next-contact-pillar p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #515154;
}

@media (max-width: 991px) {
    .next-contact-shell .next-contact-wrap {
        grid-template-columns: 1fr;
    }
    .next-contact-pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .next-archive-hero {
        padding: 36px 18px;
    }
    .next-archive-hero-title,
    .next-contact-hero-title {
        font-size: 26px;
    }
    .next-contact-hero {
        padding: 36px 18px;
    }
    .next-archive-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .next-contact-offices,
    .next-contact-pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Blog / Noticias (/news/ y single post editorial)
   ========================================================================== */
body.next-blog-fullwidth-page .sidebar,
body.next-blog-fullwidth-page .widget-area,
body.next-blog-fullwidth-page .site--main > .site__header,
body.next-blog-fullwidth-page .breadcrumbs {
    display: none !important;
}
body.next-blog-fullwidth-page .site-wrap {
    overflow-x: hidden;
}
body.next-blog-fullwidth-page .center > .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.next-blog-fullwidth-page .center > .container > .row,
body.next-blog-fullwidth-page .site--main,
body.next-blog-fullwidth-page .site__main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.next-blog-archive-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 64px;
    color: #1D1D1F;
}
.next-blog-hero {
    width: 100%;
    max-width: 100%;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 40px;
    background-color: #13161C;
    background-image: linear-gradient(135deg, #13161C 0%, #1B202A 100%);
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 64px 24px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(20, 31, 44, 0.18);
}
.next-blog-hero-inner {
    max-width: 960px;
    margin: 0 auto;
}
.next-blog-hero-title {
    margin: 0 0 12px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}
.next-blog-hero-sub {
    margin: 0 auto;
    max-width: 720px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.next-blog-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.next-blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}
.next-blog-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.next-blog-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s;
}
.next-blog-cat-pill:hover {
    border-color: #1e293b;
    color: #1e293b;
}
.next-blog-cat-pill.is-active {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
}
.next-blog-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.next-blog-search-form input[type="search"] {
    width: 240px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    color: #1e293b;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.next-blog-search-form input[type="search"]:focus {
    border-color: #1e293b;
    box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.08);
}
.next-blog-search-form button {
    height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 20px;
    background: #1e293b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.next-blog-search-form button:hover {
    background: #c79c58;
    color: #141f2c;
}

.next-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.next-blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}
.next-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}
.next-blog-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #F5F5F7;
    overflow: hidden;
}
.next-blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.next-blog-card-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #1b2836 100%);
    color: #c79c58;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.next-blog-card-cat {
    align-self: flex-start;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(30, 41, 59, 0.06);
    color: #1e293b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.next-blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex: 1;
}
.next-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #6E6E73;
}
.next-blog-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.next-blog-card-title a {
    color: #0f172a;
    text-decoration: none !important;
}
.next-blog-card-title a:hover {
    color: #1e293b;
}
.next-blog-card-excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #515154;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.next-blog-card-link {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #c79c58;
    text-decoration: none !important;
    transition: color 0.2s, transform 0.2s;
}
.next-blog-card-link:hover {
    color: #a87e3d;
    transform: translateX(2px);
}

.next-blog-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}
.next-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #FFFFFF;
    color: #1D1D1F;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}
.next-blog-pagination .page-numbers:hover {
    border-color: #2c3e50;
}
.next-blog-pagination .page-numbers.current {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #FFFFFF;
}

/* Vista individual de artículo (single.php) */
.next-single-post-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 48px 0 72px;
    color: #1e293b;
    box-sizing: border-box;
}
.next-single-post-header {
    max-width: 760px;
    margin: 0 auto 32px;
    padding: 0 24px;
    text-align: center;
    box-sizing: border-box;
}
.next-single-post-cats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.next-single-post-cat {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(199, 156, 88, 0.16);
    color: #2c3e50;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none !important;
}
.next-single-post-title {
    margin: 0 0 16px;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}
.next-single-post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #6E6E73;
}
.next-single-post-media {
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 0 24px;
    box-sizing: border-box;
}
.next-single-post-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 460px;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
    display: block;
}
.next-single-post-body {
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 0 24px;
    font-size: 17px;
    line-height: 1.75;
    color: #1e293b;
    box-sizing: border-box;
    overflow-wrap: break-word;
}
.next-single-post-body p {
    margin: 0 0 20px;
    color: #1e293b;
}
.next-single-post-body a {
    color: #2c3e50;
    text-decoration: underline;
    word-break: break-word;
}
.next-single-post-body a:hover {
    color: #A93F32;
}
.next-single-post-body h2 {
    margin: 38px 0 14px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}
.next-single-post-body h3 {
    margin: 28px 0 12px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    color: #2c3e50;
}
.next-single-post-body ul,
.next-single-post-body ol {
    margin: 0 0 22px 24px;
    padding: 0;
}
.next-single-post-body li {
    margin-bottom: 8px;
    color: #1e293b;
}
.next-single-post-body blockquote {
    margin: 28px 0;
    padding: 16px 22px;
    background: #f8f9fa;
    border-left: 4px solid #c79c58;
    border-radius: 0 12px 12px 0;
    font-size: 17px;
    font-style: italic;
    color: #2c3e50;
}
.next-single-post-body blockquote p:last-child {
    margin-bottom: 0;
}

.next-single-wide-section {
    max-width: 1200px;
    margin: 48px auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.next-single-wide-section .next-blog-cross {
    margin: 0;
    padding: 0;
    border: none;
}
.next-single-wide-section .next-blog-cross h3 {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.next-single-post-cta {
    width: 100%;
    margin: 48px 0;
    background: #2c3e50;
    background-image: linear-gradient(135deg, #1b2836 0%, #2c3e50 100%);
    border-top: 3px solid #c79c58;
    color: #FFFFFF;
    padding: 56px 24px;
    text-align: center;
    box-sizing: border-box;
}
.next-single-post-cta-inner {
    max-width: 680px;
    margin: 0 auto;
}
.next-single-post-cta-title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 700;
    color: #FFFFFF;
}
.next-single-post-cta-text {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}
.next-single-post-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.next-single-post-btn-primary,
.next-single-post-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity .15s ease, transform .15s ease;
}
.next-single-post-btn-primary {
    background: #c79c58;
    color: #1D1D1F !important;
}
.next-single-post-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF !important;
}
.next-single-post-btn-primary:hover,
.next-single-post-btn-secondary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.next-blog-related {
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 0 24px;
    box-sizing: border-box;
}
.next-blog-related-title {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 700;
    color: #1D1D1F;
}

@media (max-width: 991px) {
    .next-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .next-blog-hero {
        padding: 36px 18px;
    }
    .next-blog-hero-title {
        font-size: 26px;
    }
    .next-blog-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .next-blog-search-form {
        width: 100%;
    }
    .next-blog-search-form input[type="search"] {
        flex: 1;
        width: auto;
    }
    .next-blog-grid {
        grid-template-columns: 1fr;
    }
    .next-single-post-title {
        font-size: 28px;
    }
}

/* ==========================================================================
   Portada Principal (front-page.php) Unificada
   ========================================================================== */
body.next-home-fullwidth-page .sidebar,
body.next-home-fullwidth-page .widget-area,
body.next-home-fullwidth-page .site--main > .site__header,
body.next-home-fullwidth-page .breadcrumbs,
body.next-home-fullwidth-page .article__footer,
body.next-home-fullwidth-page .social--article {
    display: none !important;
}
body.next-home-fullwidth-page .site-wrap {
    overflow-x: hidden;
}
body.next-home-fullwidth-page .center > .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.next-home-fullwidth-page .center > .container > .row,
body.next-home-fullwidth-page .site--main,
body.next-home-fullwidth-page .site__main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.next-fp-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #1D1D1F;
}
.next-fp-hero {
    width: 100%;
    max-width: 100%;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 24px;
    background-color: #141f2c;
    background-image:
        linear-gradient(rgba(20, 31, 44, 0.78), rgba(20, 31, 44, 0.85)),
        url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
}
.next-fp-hero-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}
.next-fp-hero-title {
    margin: 0 auto 14px;
    max-width: 880px;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.18;
    color: #FFFFFF;
}
.next-fp-hero-sub {
    margin: 0 auto 32px;
    max-width: 680px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}
.next-fp-search-bar {
    max-width: 1120px;
    margin: 0 auto;
}
.next-fp-search-bar .next-home-search-form {
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.next-fp-search-bar .next-home-search-submit {
    background: #2c3e50;
    color: #FFFFFF;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.next-fp-search-bar .next-home-search-submit:hover {
    background: #c79c58;
    color: #141f2c;
    opacity: 1;
}

.next-fp-featured {
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 24px 48px;
    box-sizing: border-box;
}
.next-fp-section-head {
    text-align: center;
    margin-bottom: 24px;
}
.next-fp-section-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}
.next-fp-center-action {
    text-align: center;
    margin-top: 32px;
}
.next-fp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 10px;
    border: 1.5px solid #2c3e50;
    background: #FFFFFF;
    color: #2c3e50 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.next-fp-btn-outline:hover {
    background: #2c3e50;
    color: #FFFFFF !important;
}

.next-fp-mission {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 72px 24px;
    box-sizing: border-box;
}
.next-fp-mission-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 42fr 58fr;
    gap: 44px;
    align-items: stretch;
}
.next-fp-mission-anchor {
    display: flex;
    flex-direction: column;
}
.next-fp-mission-anchor .next-campos-eyebrow.is-dark {
    color: #c79c58;
}
.next-fp-mission-lead {
    margin: 14px 0 26px;
    font-size: 16px;
    line-height: 1.65;
    color: #4b5563;
}
.next-fp-badges-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
}
.next-fp-badge-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #c79c58;
    border-radius: 10px;
}
.next-fp-badge-card strong {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}
.next-fp-badge-card span {
    font-size: 12.5px;
    line-height: 1.4;
    color: #4b5563;
}
.next-fp-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
    height: 100%;
}
.next-fp-pillar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 18px;
    background: #FFFFFF;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-sizing: border-box;
}
.next-fp-pillar-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(199, 156, 88, 0.14);
    color: #c79c58;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.next-fp-pillar h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}
.next-fp-pillar p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #515154;
}

.next-fp-news {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
    box-sizing: border-box;
}

.next-fp-cta {
    width: 100%;
    background: linear-gradient(135deg, #1b2836 0%, #2c3e50 100%);
    border-top: 3px solid #c79c58;
    color: #FFFFFF;
    padding: 68px 24px;
    text-align: center;
    box-sizing: border-box;
}
.next-fp-cta-inner {
    max-width: 780px;
    margin: 0 auto;
}
.next-fp-cta-title {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
}
.next-fp-cta-text {
    margin: 0 auto 28px;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}
.next-fp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    background: #c79c58;
    color: #141f2c !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(199, 156, 88, 0.28);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.next-fp-cta-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .next-fp-mission-inner {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .next-fp-hero {
        min-height: 440px;
        padding: 44px 18px;
    }
    .next-fp-hero-title {
        font-size: 28px;
    }
    .next-fp-section-title,
    .next-fp-cta-title {
        font-size: 24px;
    }
    .next-fp-badges-row,
    .next-fp-pillars-grid {
        grid-template-columns: 1fr;
    }
}
