/*=============== NOTICEBOARD HERO ===============*/
.noticeboard-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.noticeboard-container {
    max-width: 1000px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.noticeboard-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.noticeboard-title {
    font-family: var(--body-font);
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 6rem);

    margin: 0;
    line-height: 1.1;
    max-width: 95vw;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;

    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);

    /* GRADIENT ANIMAT NOMÉS AL TÍTOL */
    /* background: linear-gradient(120deg, white 0%, white 35%, #c71313 50%, white 65%, white 100%);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    animation: gradientShift 13s ease infinite; */
}

.noticeboard-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    max-width: 600px;
    margin: 0;
    line-height: 1.5;
}

.noticeboard-cta {
    z-index: 111;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.1);
    /* backdrop-filter: blur(10px); */
    pointer-events: auto;
    cursor: pointer;
    padding: 0.75rem 2rem;
    margin: 0;
    margin-top: 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(199,19,19,0.3); }
    50% { box-shadow: 0 0 40px rgba(199,19,19,0.6); }
}

.noticeboard-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.noticeboard-cta:hover {
    background: rgba(255,255,255,0.2);
    border-color: #c71313;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(199,19,19,0.4);
    animation: none;
}

.noticeboard-cta:hover::before {
    left: 100%;
}

.noticeboard-cta i:first-child {
    font-size: 1.2rem;
    color: #c71313;
}

.noticeboard-cta i:last-child {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.noticeboard-cta:hover i:last-child {
    transform: translateX(4px) scale(1.1);
}


/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .noticeboard-hero {
        padding: 5rem 1.5rem;
    }
    
    .noticeboard-container {
        gap: 1.5rem;
    }
    
    .noticeboard-title {
        font-size: clamp(2.5rem, 7vw, 4rem) !important;
        max-width: 95vw;
        padding: 0 1rem;
    }
    
    .noticeboard-subtitle {
        padding: 0 1rem;
        max-width: 95vw;
    }
    
    .noticeboard-cta {
        padding: 0.75rem 1.8rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .noticeboard-title {
        font-size: clamp(1.5rem, 10vw, 3rem) !important;
    }
    
    .noticeboard-cta {
        /* flex-direction: column; */
        gap: 0.25rem;
        padding: 0.8rem 1.5rem;
    }
}



/* ===== INLINE LATEST ARTICLES (HERO) ===== */
.noticeboard-latest-inline {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.noticeboard-inline-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: start;
    gap: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.inline-date {
    font-size: 0.75rem;
    opacity: 0.75;
    white-space: nowrap;
    text-align: right;
    line-height: 1.4;
    padding-top: 0.1rem;
}

.inline-title {
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}


/* .noticeboard-inline-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.25rem;
    color: white;
} */


.noticeboard-inline-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    opacity: 0.85;
    color: white;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}


@media screen and (max-width: 768px) {

    .noticeboard-inline-item {
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
        align-items: center;
    }

    .inline-date {
        font-size: 0.7rem;
        text-align: left;
        opacity: 0.7;
        padding-top: 0;
    }

    .inline-title {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

@media screen and (max-width: 480px) {

    .noticeboard-inline-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .inline-date {
        text-align: left;
        font-size: 0.7rem;
        opacity: 0.6;
    }

    .inline-title {
        font-size: 1rem;
        font-weight: 500;
    }
}
