.turimet-account__alerts{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    top:40px;
    max-width:440px;
    z-index:9;
    display: flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}

/* Single y archivo oportunidades: alertas centradas en el viewport */
.oportunity-single > .turimet-account__alerts,
.oportunity-archive > .turimet-account__alerts {
    position: fixed;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(92vw, 440px);
    max-width: 440px;
    z-index: 10050;
    pointer-events: none;
}
.oportunity-single > .turimet-account__alerts .account-alert,
.oportunity-archive > .turimet-account__alerts .account-alert {
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Botón deshabilitado tras postular (PHP o JS): una sola línea, no se encoge en flex */
.oportunity-single .btn.btn-postulado,
.oportunity-single .btn[data-postulado="1"],
.oportunity-archive .btn.btn-postulado,
.oportunity-archive .btn[data-postulado="1"],
#oportunity-section .btn.btn-postulado,
#oportunity-section .btn[data-postulado="1"],
span.btn.btn-postulado {
    opacity: 0.92;
    cursor: not-allowed;
    pointer-events: none;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
    min-height: 2.75em;
    box-sizing: border-box;
}
.oportunity-entry__buttons > div {
    align-items: center;
}

.oplist__item[data-postulado="1"] .oplist__main--job a {
    color: #0d6e4a;
}
.account-alert{
    display: inline-flex;
    padding:8px 14px;
    border-radius:8px;
}
.account-alert.error{
    background-color:#fce2ec;
    color:#D01156;
}
.account-alert.success{
    background-color: #008655;
    color:#fff;
}

.oportunity-section{
    background-color: var(--tu-surface-1);
    border-radius:8px;
    position: relative;
    padding:25px;
}
/* Archivo oportunidades: espacio bajo el header del tema (Growby), sin el hueco de 90px del diseño Turimet */
.section-2.oportunity-section-2{
    padding-top: clamp(0.75rem, 2vw, 1.5rem);
    padding-bottom: 2.5rem !important;
    background-color: #fff;
    position: relative;
}
/* Filtros: flujo normal en todos los anchos (el absolute + translate rompía el layout y forzaba mucho padding) */
.section-2.oportunity-section-2 .rfilters-form-row {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 0.75rem auto 1.75rem;
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
}
.section-2.oportunity-section-2 .rfilters-form {
    justify-content: center;
}
/* Bootstrap-style helper (el tema usa Tailwind "hidden", no "d-none") */
.opt-custom-oportunidades-main .d-none {
	display: none !important;
}
.section-2.oportunity-section-2 .oportunidades-archive-back {
	margin-bottom: 0.35rem;
}
@media screen and (max-width: 676px) {
    .section-2.oportunity-section-2 .rfilters-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .section-2.oportunity-section-2 .rfilters-form select,
    .section-2.oportunity-section-2 .rfilters-form .choices {
        width: 100%;
        max-width: 100%;
    }
    .section-2.oportunity-section-2 .rfilters-form select[name="country"] {
        max-width: 100%;
    }
    .section-2.oportunity-section-2 .rfilters-form [type="submit"] {
        width: 100%;
    }
    .section-2.oportunity-section-2 .box__pdot {
        width: 100%;
    }
}
/* Refuerzo frente a utilidades del tema (p. ej. Tailwind) que anulan grid/sombra del listado */
.opt-custom-oportunidades-main .oplist__item {
	position: relative !important;
	display: grid !important;
	grid-template-columns: 64px auto auto !important;
	align-items: center !important;
	gap: 20px !important;
	background: #fff !important;
	border: 1px solid #f6f6f5 !important;
	box-shadow: 0 12px 16px rgba(2, 0, 108, 0.15) !important;
	border-radius: 8px !important;
	padding: 16px !important;
}
.opt-custom-oportunidades-main .oplist__main--job {
	position: relative;
}

.oportunity-placeholder{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
}
.oportunity-loader{
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    display: block;
    height:200px;
    width:200px;
    background-repeat: no-repeat;
    background-position:center;
    background-size:contain;
    background-image:url('../images/loader.svg');
}
.oportunity-entry{

}
.oportunity-entry__header{
    border-bottom:1px solid var(--tu-grey-3);
    padding-bottom:25px;
    margin-bottom:25px;
}
.oportunity-entry__header-title{
    display: flex;
    justify-content:space-between;
    flex-wrap:wrap;
}
.oportunity-entry__header-title h2{
    font-size:1.2em;
    margin:0;
}
.oportunity-entry__header-title ul{
    list-style:none;
    display: flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    margin:0;
    padding:0;
    gap:10px;
    font-size:.875em;
    color:var(--tu-grey-2);
}
.oportunity-entry__header-title ul li:first-child{
    border-right:1px solid var(--tu-grey-1);
    padding-right:10px;
}
.oportunity-entry__header-title ul li:first-child a{
    color:var(--tu-grey-1);
    font-weight: bold;
}
.oportunity-entry__header-title ul li:nth-child(2){
    display: flex;
    align-items:center;
    gap:10px;
}
.oportunity-entry__header-title figure{
    height:32px;
    width:32px;
}
.oportunity-entry__header-salary{
    margin-top:10px;
    margin-bottom:20px;
}
.oportunity-entry__buttons{
    margin-top:20px;
    display: flex;
    justify-content:space-between;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}
.oportunity-entry__buttons > div{
    display: flex;
    gap:10px;
}
.oportunity-entry__buttons .btn{
    padding:.4em 1.2em;
}
.oportunity-entry__buttons .btn-more{
    position: relative;
    /*color:var(--tu-secondary-3);*/
    color:  #0C0C0C;
    display: flex;
    padding-right:calc(1em + 4px);
}
.oportunity-entry__buttons .btn-more::after{
    content:'';
    display: block;
    height:1em;
    width:1em;
    background-image:url('../images/icn-caret-right.svg');
    background-repeat: no-repeat;
    background-position:center;
    background-size: contain;
    /*filter: invert(18%) sepia(33%) saturate(5710%) hue-rotate(235deg) brightness(61%) contrast(134%);*/
    filter: unset;
    position: absolute;
    top:50%;
    transform:translateY(-50%);
    right:0;
}
.oportunity-single{
    background-color:var(--tu-secondary-5);
}
.oportunity-single .hero-sop{
    position: relative;
    /* Más aire bajo el menú del tema (navbar absoluto); section-yp-xl solo aportaba ~80px */
    padding-top: 120px;
    padding-bottom:100px;
    /* Fondo hero single (ticket #191723): sólido en lugar de imagen */
    background-color: #191723;
    color: #f3f4f6;
    --dark-color: #f3f4f6;
}
.oportunity-single .hero-sop .oportunidad-hero-bg{
    background-color: #191723;
}
.oportunity-single .hero-sop > .row{
    position: relative;
    z-index: 1;
}
.oportunity-single .hero-sop :is(h1, h2, h3, h4, h5, h6){
    color: #ffffff;
}
.oportunity-single .hero-sop .oportunity-single__company li:nth-child(2) a{
    color: #ffffff !important;
}
.oportunity-single .hero-sop .oportunity-single__country{
    color: rgba(255, 255, 255, 0.88);
}
.oportunity-single .hero-sop .oportunity-entry__header-salary{
    color: rgba(243, 244, 246, 0.95);
}
.oportunity-single .hero-sop .oportunity-entry__header-salary strong{
    color: #ffffff;
}
/* Compartir en hero: Growby tokens aplican #03081b al placeholder; forzar texto claro */
.opt-custom-oportunidades-main .oportunity-single .hero-sop .oportunity-single__buttons .share-select > .choices > .choices__inner{
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.opt-custom-oportunidades-main .oportunity-single .hero-sop .oportunity-single__buttons .share-select .choices__list--single > .choices__item,
.opt-custom-oportunidades-main .oportunity-single .hero-sop .oportunity-single__buttons .share-select .choices__item.choices__item--selectable,
.opt-custom-oportunidades-main .oportunity-single .hero-sop .oportunity-single__buttons .share-select .choices__item.choices__placeholder.choices__item--selectable[aria-selected]{
    color: #ffffff !important;
}
.opt-custom-oportunidades-main .oportunity-single .hero-sop .oportunity-single__buttons .share-select .choices__item.choices__placeholder.choices__item--selectable[aria-selected]::after{
    filter: brightness(0) invert(1);
}
@media (max-width: 992px) {
    .oportunity-single .hero-sop{
        padding-top: 104px;
    }
}
.oportunidad-back-wrap{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--row-width, 1160px);
    margin-left: auto;
    margin-right: auto;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    margin-bottom: 24px;
}
.oportunity-single .oportunidad-back-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: Manrope, Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.oportunity-single .oportunidad-back-link:visited,
.oportunity-single .oportunidad-back-link:hover,
.oportunity-single .oportunidad-back-link:active{
    color: #ffffff !important;
}
.oportunity-single .oportunidad-back-link:hover{
    opacity: 0.88;
}
.oportunity-single .oportunidad-back-link svg{
    flex-shrink: 0;
    color: #ffffff;
}
.oportunity-single .oportunidad-back-link:focus-visible{
    outline: 2px solid #ffffff;
    outline-offset: 4px;
    border-radius: 4px;
}
.oportunity-single .section-3 .section__background::after{
    display: none !important;
}
.oportunity-single__country{
    display: flex;
    align-items:center;
    gap:10px;
}
.oportunity-single__company--a{
    color:inherit;
}
.oportunity-single__company{
    list-style:none;
    display:flex;
    gap:10px;
    margin:0;
    padding:0;
}
.oportunity-single__company li:first-child{
    width:64px;
}
.oportunity-single__company li figure{
    aspect-ratio:1;
    height:64px;
    width:64px;
    background-color:#fff;
    border-radius:5px;
}
.oportunity-single__company li:nth-child(2){
    display: flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
}
.oportunity-single__company li:nth-child(2) a{
    font-weight: bold;
}
.oportunity-single__content-wrap{
    padding-top: 0;
    padding-bottom:60px;
}
.oportunity-single__title{
    margin-bottom:0;
}
.oportunity-single__content{
    background-color:#fff;
    border-radius:12px;
    padding:40px;
    margin-top:-60px;
    position: relative;
    z-index:2;
    display: flex;
    flex-wrap:wrap;
    gap:30px;
    margin-bottom:30px;
}
.oportunity-single__content > aside{
    width:300px;
}
.oportunity-single__content > div{
    width:calc(100% - 300px - 30px);
}
.oportunity-single__content > .oportunity-single__more{
    width:100%;
}
.oportunity-single__buttons{
    display: flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:flex-start;
    align-items: center;
}
.oportunity-single__more{
    margin-top:20px;
    font-size:.875em;
}
.oportunity-single__tags{
    display: flex;
    flex-wrap:wrap;
    gap:10px;
    border-top:1px solid rgb(0,0, 0, 0.1);
    padding-top:20px;
    margin-top:20px;
}
.oportunity-single__tags a{
    display: inline-flex;
    /*background-color:var(--tu-primary-3);*/
    border:1px solid var(--tu-primary-3);;
    background-color:#fff;
    /*color:var(--tu-neutral-2);*/
    color: #0C0C0C !important;
    padding:10px 20px;
    border-radius:50px;
    line-height:1em;
    transition: .3s ease all;
}
/*.oportunity-single__tags a:hover{
     border:1px solid var(--tu-primary-3) !important;
     background: var(--tu-primary-3) !important;
     color: #fff !important;
}*/

.oportunity-single__buttons .share-select{
    width:auto;
}
.oportunity-single__buttons .share-select > .choices > .choices__inner{
    border-color:var(--tu-neutral-2);
    color:var(--tu-neutral-2);
}
.oportunity-single__buttons .share-select .choices__item.choices__placeholder.choices__item--selectable[aria-selected]::after{
    filter:invert();
}
.oportunity-single__buttons .share-select .choices__list--dropdown, .choices__list[aria-expanded]{
    min-width:260px;
    z-index:99;
    color:var(--text-color);
}
.oportunity-single__match{
    background-color:#00742E0D;
    border-radius:8px;
    display: flex;
    flex-direction:column;
    gap:10px;
    padding:20px;
    margin-top:30px;
    text-align: center;
}
.oportunity-single__match .btn{
    justify-content:center;
}

.link-report{
    color:var(--tu-secondary-3);
    display: inline-flex;
    align-items:center;
    position: relative;
    padding-left:calc(1.1em + 10px);
    text-decoration: underline;
}
.link-report:hover{
    text-decoration: none;
}
.link-report::before{
    content:'';
    height:1.2em;
    width:1.2em;
    display: block;
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    background-image:url('../images/icn-megaphone.svg');
    filter: invert(8%) sepia(67%) saturate(4733%) hue-rotate(243deg) brightness(96%) contrast(128%);
    position: absolute;
    top:50%;
    left:0;
    transform:translateY(-50%);
}

.oportunity-single__content h1, .oportunity-single__content table, .oportunity-single__content li, .oportunity-single__content h2,.oportunity-single__content a, .oportunity-single__content h3, .oportunity-single__content h4,.oportunity-single__content h5,.oportunity-single__content h6,.oportunity-single__content p{
    color: #0C0C0C;
}
.oportunity-single__company--a{
    color: #0C0C0C !important;
}

/* Evitar doble scroll: login.css (no cargado en estas vistas) y otros usan height:100% en html/body */
body.single-oportunidad,
body.post-type-archive-oportunidad {
    height: auto !important;
}
html:has(body.single-oportunidad),
html:has(body.post-type-archive-oportunidad) {
    height: auto !important;
}