/* === Invisual / Nanobreak custom additions === */

/* AIMS group titles (Research Objectives / Specific Objectives)
-------------------------------------------------- */
.iv-aims-grouptitle {
    margin-top: 24px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
.iv-aims-grouptitle .uk-heading-line > ::before,
.iv-aims-grouptitle .uk-heading-line > ::after {
    border-top-width: 2px;
}
.iv-aims-grouptitle-ro,
.iv-aims-grouptitle-ro .uk-heading-line > ::before,
.iv-aims-grouptitle-ro .uk-heading-line > ::after {
    border-color: #0073BC;
}
.iv-aims-grouptitle-so,
.iv-aims-grouptitle-so .uk-heading-line > ::before,
.iv-aims-grouptitle-so .uk-heading-line > ::after {
    border-color: #03B7FB;
}

/* AIMS cards
-------------------------------------------------- */
.iv-aims-card {
    background: #FFFFFF;
    border: 1px solid #E6EEF6;
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    height: 100%;
}
.iv-aims-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px -18px rgba(0, 50, 90, .25);
    border-color: rgba(0, 115, 188, .35);
}
.iv-aims-card .el-image {
    margin-bottom: 16px;
}
.iv-aims-card .el-meta {
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 11px;
    opacity: .7;
}
.iv-aims-card .el-title {
    line-height: 1.25;
    margin-bottom: 10px;
}
.iv-aims-card .el-content {
    color: #314A66;
    line-height: 1.55;
    font-size: 15px;
}
.iv-aims-card .el-title {
    word-break: normal;
    overflow-wrap: anywhere;
}

/* RO subtle blue accent strip on top */
.iv-aims-ro {
    border-top: 3px solid #0073BC;
}
/* SO subtle cyan accent strip on top */
.iv-aims-so {
    border-top: 3px solid #03B7FB;
}

/* WORK PROGRAMME — accordion refinado
-------------------------------------------------- */
.iv-wp-accordion .uk-accordion-title {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #F6FAFE;
    border: 1px solid #E1ECF7;
    border-radius: 12px;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.iv-wp-accordion .uk-accordion-title::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><polyline fill='none' stroke='%230073BC' stroke-width='1.5' points='1 4 7 10 13 4' /></svg>");
}
.iv-wp-accordion > li.uk-open > .uk-accordion-title {
    background: #FFFFFF;
    border-color: rgba(0, 115, 188, .35);
    box-shadow: 0 8px 24px -12px rgba(0, 50, 90, .18);
}
.iv-wp-accordion .iv-wp-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #0073BC;
    color: #FFFFFF;
    font-family: Kanit, "Nunito Sans", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    flex-shrink: 0;
}
.iv-wp-accordion > li.uk-open > .uk-accordion-title .iv-wp-id {
    background: #03B7FB;
}
.iv-wp-accordion .iv-wp-title {
    color: #0E3B66;
    font-weight: 500;
    line-height: 1.35;
}
.iv-wp-accordion .uk-accordion-content {
    padding: 8px 22px 24px;
    font-size: 16.5px;
    line-height: 1.6;
    color: #2D4660;
}
.iv-wp-accordion .uk-accordion-content p {
    font-size: 16.5px;
    line-height: 1.6;
}
.iv-wp-accordion .iv-wp-leader {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 115, 188, .08);
    color: #0073BC;
    border-radius: 8px;
    font-size: 12.5px;
    letter-spacing: .02em;
}
/* Bullets visuales en lugar de Task x.x: */
.iv-wp-tasklist {
    list-style: none;
    padding-left: 0;
    margin: 14px 0 0;
}
.iv-wp-tasklist > li {
    position: relative;
    padding: 12px 0 12px 32px;
    border-bottom: 1px dashed rgba(0, 115, 188, .15);
    color: #324C6A;
    line-height: 1.55;
    font-size: 16px;
}
.iv-wp-tasklist > li:last-child {
    border-bottom: none;
}
.iv-wp-tasklist > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0073BC 0%, #03B7FB 100%);
    box-shadow: 0 0 0 3px rgba(3, 183, 251, .15);
}

/* THE PROBLEM section
-------------------------------------------------- */
.iv-problem-eyebrow-wrap .uk-heading-small,
.iv-problem-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 115, 188, .1);
    color: #0073BC;
    font-family: Kanit, "Nunito Sans", sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.iv-problem-lead {
    color: #0E3B66;
    line-height: 1.3;
}
.iv-problem-lead strong {
    color: #03B7FB;
    font-weight: 600;
}
.iv-problem-image img {
    border-radius: 14px;
    box-shadow: 0 18px 40px -22px rgba(0, 50, 90, .25);
}
.iv-problem-img-band img {
    border-radius: 14px;
    box-shadow: 0 18px 40px -22px rgba(0, 50, 90, .25);
}
.iv-problem-highlight {
    background: #FFFFFF;
    border: 1px solid #E6EEF6;
    border-radius: 14px;
    padding: 26px 22px;
    height: 100%;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.iv-problem-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px -18px rgba(0, 50, 90, .25);
    border-color: rgba(0, 115, 188, .35);
}
.iv-problem-highlight .el-image {
    margin-bottom: 14px;
}
.iv-problem-highlight .el-title {
    margin-bottom: 8px;
    line-height: 1.3;
}
.iv-problem-highlight .el-content {
    color: #314A66;
    line-height: 1.55;
    font-size: 15px;
}
.iv-problem-quote {
    background: linear-gradient(135deg, #F6FBFF 0%, #FFFFFF 100%);
    border-left: 4px solid #0073BC;
    padding: 28px 32px;
    border-radius: 12px;
    box-shadow: 0 18px 50px -28px rgba(0, 50, 90, .22);
}
.iv-problem-quote .uk-quotation,
.iv-problem-quote blockquote {
    color: #0E3B66;
    font-family: Kanit, "Nunito Sans", sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 12px;
}
.iv-problem-quote footer,
.iv-problem-quote cite {
    color: #5A7595;
    font-size: 13.5px;
}

/* WP Diagram wrapper
-------------------------------------------------- */
.iv-wp-diagram-wrap {
    margin-top: 30px;
}
.iv-wp-diagram {
    background: linear-gradient(180deg, #F6FBFF 0%, #FFFFFF 100%);
    border: 1px solid #E1ECF7;
    border-radius: 18px;
    padding: 24px;
    overflow: hidden;
}
.iv-wp-svg {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 959px) {
    .iv-wp-diagram {
        padding: 12px;
    }
}



/* Numero decorativo (meta) */


/* Icono (forzar blanco sobre fondo coloreado) */



/* Titulo blanco */



/* Contenido blanco con leve transparencia para jerarquia */


/* Panel entero clicable: el link del titulo cubre toda la card */



/* Indicador de chevron sutil abajo a la derecha */





/* Numero decorativo (meta) */


/* Icono (forzar blanco sobre fondo coloreado) */



/* Titulo blanco */



/* Contenido blanco con leve transparencia para jerarquia */


/* Panel entero clicable: el link del titulo cubre toda la card */



/* Indicador de chevron sutil abajo a la derecha */


/* IV-HOME-MORE-CARDS-START */
.iv-home-more-card {
    position: relative;
    border-radius: 18px;
    padding: 36px 28px 56px;
    overflow: hidden;
    text-align: center;
    color: #FFFFFF;
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
    box-shadow: 0 18px 40px -22px rgba(0, 50, 90, .35);
}
.iv-home-more-card.iv-home-more-primary {
    background: linear-gradient(160deg, #0086D6 0%, #0073BC 60%, #005A93 100%);
}
.iv-home-more-card.iv-home-more-secondary {
    background: linear-gradient(160deg, #2BC5FF 0%, #03B7FB 60%, #0098D2 100%);
}
.iv-home-more-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -22px rgba(0, 50, 90, .45);
    filter: brightness(1.05);
}

.iv-home-more-card .el-meta {
    font-family: Kanit, "Nunito Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin: 0 0 16px;
}
.iv-home-more-card .el-image {
    margin: 0 auto 16px;
    color: #FFFFFF;
}
.iv-home-more-card .el-image .uk-icon,
.iv-home-more-card [uk-icon],
.iv-home-more-card .el-image svg {
    color: #FFFFFF !important;
}
.iv-home-more-card .el-title {
    margin: 0 0 14px;
    line-height: 1.25;
    color: #FFFFFF;
}
.iv-home-more-card .el-title a {
    color: #FFFFFF;
    text-decoration: none;
}
.iv-home-more-card .el-content {
    color: rgba(255, 255, 255, .95);
    line-height: 1.55;
    font-size: 17.5px;
    margin: 0 auto 8px;
    max-width: 32ch;
}

.iv-home-more-card .el-title a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
}
.iv-home-more-card .el-content,
.iv-home-more-card .el-meta,
.iv-home-more-card .el-image {
    position: relative;
    z-index: 1;
}

.iv-home-more-card::after {
    content: "→";
    position: absolute;
    bottom: 16px;
    right: 22px;
    font-size: 22px;
    color: rgba(255, 255, 255, .55);
    transition: transform .3s ease, color .3s ease;
    z-index: 2;
}
.iv-home-more-card:hover::after {
    transform: translateX(4px);
    color: #FFFFFF;
}
/* IV-HOME-MORE-CARDS-END */


/* IV-COOKIE-BAR-COMPACT-START */
.tm-cookie-banner.uk-section,
.tm-cookie-banner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
.tm-cookie-banner .uk-container {
    padding-top: 0;
    padding-bottom: 0;
}
.tm-cookie-banner p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.35;
}
.tm-cookie-banner .uk-button {
    padding: 4px 14px;
    font-size: 12px;
    min-height: 28px;
    line-height: 20px;
    letter-spacing: .04em;
    text-transform: none;
}
@media (min-width: 960px) {
    .tm-cookie-banner p {
        display: inline;
        margin-right: 14px;
    }
}
/* IV-COOKIE-BAR-COMPACT-END */
