/* Minification failed. Returning unminified contents.
(59,17): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(84,17): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(93,22): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(170,24): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(185,24): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(192,22): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(232,17): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(299,17): run-time error CSS1039: Token not allowed after unary operator: '-fatri-text'
(322,17): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(340,17): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(366,17): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(375,22): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
(517,17): run-time error CSS1039: Token not allowed after unary operator: '-fatri-navy-dark'
 */
/* ==========================================================================
   News listing page
   ========================================================================== */

.noticias-list {
    margin-bottom: 20px;
}

.noticias-list .item {
    display: flex;
    margin: 0 0 1px;
    padding: 16px 12px;
    border-bottom: 1px solid #e8e8e8;
    transition: background-color 0.15s;
}

.noticias-list .item:hover {
    background-color: #f8f9fb;
}

.noticias-list .item:last-child {
    border-bottom: none;
}

.noticias-list .item .image {
    flex-shrink: 0;
    margin-right: 16px;
    width: 160px;
}

.noticias-list .item .image img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.noticias-list .item .image a:hover img {
    opacity: 0.85;
}

.noticias-list .item .description {
    padding: 0;
    flex: 1;
    min-width: 0;
}

.noticias-list .item .title {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.05em;
    font-weight: 700;
    line-height: 1.35;
    display: block;
    margin-bottom: 4px;
}

.noticias-list .item .title a {
    color: var(--fatri-navy-dark, #1d4977);
    text-decoration: none;
}

.noticias-list .item .title a:hover {
    color: #e96d2d;
    text-decoration: underline;
}

.noticias-list .item .date {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 6px;
    display: block;
}

.noticias-list .item .tags {
    font-size: 0.82em;
    font-weight: normal;
    margin-top: 4px;
}

.noticias-list .item .tags a {
    display: inline-block;
    background: #eef2f7;
    color: var(--fatri-navy-dark, #1d4977);
    padding: 1px 8px;
    border-radius: 3px;
    text-decoration: none;
    margin: 2px 2px 2px 0;
    font-size: 0.95em;
}

.noticias-list .item .tags a:hover {
    background: var(--fatri-navy-dark, #1d4977);
    color: #fff;
}

.noticias-list .item .tag-separator {
    display: none;
}

/* No-image placeholder */
.noticias-list .item .image .no-image {
    width: 160px;
    height: 120px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2em;
}


/* Mobile: stack items vertically with full-width thumbnails */
@media (max-width: 600px) {
    .noticias-list .item {
        flex-direction: column;
    }

    .noticias-list .item .image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .noticias-list .item .image img {
        width: 100%;
        height: auto;
        max-height: 220px;
    }

    .noticias-list .item .image .no-image {
        width: 100%;
        height: 140px;
    }

    .noticias-search {
        flex-wrap: wrap;
    }

    .noticias-search input[type="text"] {
        max-width: none;
    }
}


/* ==========================================================================
   News search
   ========================================================================== */

.noticias-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.noticias-search input[type="text"] {
    flex: 1;
    max-width: 360px;
    padding: 7px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
    font-family: 'Lato', Arial, sans-serif;
}

.noticias-search input[type="text"]:focus {
    border-color: var(--fatri-navy-dark, #1d4977);
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 73, 119, 0.15);
}

.noticias-search__periodo {
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
    font-family: 'Lato', Arial, sans-serif;
    background: #fff;
}

.noticias-search__periodo:focus {
    border-color: var(--fatri-navy-dark, #1d4977);
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 73, 119, 0.15);
}

.noticias-search button {
    padding: 7px 18px;
    background: var(--fatri-navy-dark, #1d4977);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.95em;
    cursor: pointer;
    font-family: 'Lato', Arial, sans-serif;
}

.noticias-search button:hover {
    background: #e96d2d;
}

.noticias-search__clear {
    font-size: 0.9em;
    color: #888;
    text-decoration: underline;
}

.noticias-search__clear:hover {
    color: #e96d2d;
}

.noticias-search__results {
    font-size: 0.95em;
    color: #555;
    margin: 0 0 12px;
}

/* ==========================================================================
   News detail page
   ========================================================================== */

.noticia-detail {
    font-family: 'Lato', Arial, sans-serif;
}

.noticia-detail__title {
    font-size: 1.5em;
    line-height: 1.3;
    color: var(--fatri-navy-dark, #1d4977);
    margin: 0.5em 0 0.3em;
    text-transform: none;
}

.noticia-detail__date {
    font-size: 0.88em;
    color: #888;
    margin-bottom: 1.2em;
    padding-bottom: 0.8em;
    border-bottom: 1px solid #eee;
}

/* Gallery thumbnails */
.noticia-detail__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 1.8em;
    float: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: none !important;
}

.noticia-detail__gallery a {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
}

.noticia-detail__gallery a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.15) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.noticia-detail__gallery a:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.noticia-detail__gallery a:hover::after {
    opacity: 1;
}

.noticia-detail__gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lead / description */
.noticia-detail__lead {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--fatri-text, #333);
    font-weight: 600;
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}

/* Body */
.noticia-detail__body {
    margin-bottom: 1.5em;
}

/* Attachments */
.noticia-detail__attachments {
    background: #f7f8fa;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    padding: 12px 16px;
    margin-bottom: 1.5em;
}

.noticia-detail__attachments h2 {
    font-size: 1em;
    color: var(--fatri-navy-dark, #1d4977);
    margin: 0 0 8px;
    padding: 0;
    border: none;
    background: none;
}

.noticia-detail__attachments ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.noticia-detail__attachments li {
    margin-bottom: 4px;
}

.noticia-detail__attachments a {
    color: var(--fatri-navy-dark, #1d4977);
    text-decoration: underline;
    text-decoration-color: rgba(29,73,119,0.3);
}

.noticia-detail__attachments a:hover {
    color: #e96d2d;
}

/* Tags */
.noticia-detail__tags {
    padding-top: 1em;
    border-top: 1px solid #eee;
    margin-top: 1em;
}

.noticia-detail__tags-label {
    font-size: 0.85em;
    font-weight: 700;
    color: #e96d2d;
    margin-right: 6px;
}

.noticia-detail__tags a {
    display: inline-block;
    background: #eef2f7;
    color: var(--fatri-navy-dark, #1d4977);
    padding: 2px 10px;
    border-radius: 3px;
    text-decoration: none;
    margin: 3px 3px 3px 0;
    font-size: 0.85em;
}

.noticia-detail__tags a:hover {
    background: var(--fatri-navy-dark, #1d4977);
    color: #fff;
}

/* ── Next / Previous noticia nav ── */
.noticia-nav {
    display: flex;
    justify-content: space-between;
    margin: 2em 0 0 0;
    padding: 1.2em 0;
    border-top: 1px solid #e8eaee;
    border-bottom: 1px solid #e8eaee;
    gap: 0.5em;
}

.noticia-nav .nav-card {
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex: 1;
    min-width: 0;
    padding: 0.5em 0.7em;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.noticia-nav a.nav-card:hover {
    background: #f4f6f9;
    border-color: #dde1e8;
    text-decoration: none;
}

.noticia-nav a.nav-card:active {
    background: #edf0f4;
}

.noticia-nav .nav-card.nav-siguiente {
    text-align: right;
    justify-content: flex-end;
}

.noticia-nav .nav-card.nav-empty {
    background: transparent;
    border-color: transparent;
}

.noticia-nav .nav-arrow {
    font-size: 1.1em;
    font-weight: 400;
    color: #8b95a5;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.2s, color 0.2s;
}

.noticia-nav a.nav-card:hover .nav-arrow {
    transform: translateX(2px);
    color: #ff4500;
}

.noticia-nav a.nav-card.nav-anterior:hover .nav-arrow {
    transform: translateX(-2px);
    color: #ff4500;
}

.noticia-nav .nav-text {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    min-width: 0;
}

.noticia-nav .nav-label {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 0.72em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b95a5;
}

.noticia-nav a.nav-card:hover .nav-label {
    color: #ff4500;
}

.noticia-nav .nav-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8em;
    font-weight: 500;
    color: #3d4f63;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.noticia-nav a.nav-card:hover .nav-name {
    color: #0b1d3a;
}

.noticia-nav .nav-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7em;
    color: #a0a8b4;
    font-weight: 400;
}

@media (max-width: 580px) {
    .noticia-nav {
        flex-direction: column;
        gap: 0.5em;
    }

    .noticia-nav .nav-card.nav-siguiente {
        text-align: left;
        justify-content: flex-start;
        flex-direction: row-reverse;
    }

    .noticia-nav a.nav-card.nav-siguiente:hover .nav-arrow {
        transform: translateX(-2px);
    }

    .noticia-nav a.nav-card.nav-anterior:hover .nav-arrow {
        transform: translateX(2px);
    }
}

/* Back to all news */
.noticia-detail__nav {
    margin-top: 1.5em;
    padding-top: 1em;
}

.noticia-detail__nav a {
    color: var(--fatri-navy-dark, #1d4977);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95em;
}

.noticia-detail__nav a:hover {
    color: #e96d2d;
}

