/* Academic Notices Marquee - frontend styles */
/* Designed to be builder-friendly (Elementor, Divi etc.).
   Most spacing and alignment should be controlled from the page builder.
*/

.anm-box {
    border: 1px solid #dcdcdc;
    background: #ffffff;
    max-width: 100%;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    font-family: inherit;
}

.anm-header {
    background: #0073aa;
    color: #ffffff;
    padding: 10px 14px;
    position: relative;
    margin: 0;
}

.anm-header-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.anm-marquee-wrapper {
    padding: 8px 14px 14px;
    max-height: 330px;
    overflow: hidden;
    margin: 0;
}

.anm-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.anm-item {
    padding: 6px 0;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.anm-item a,
.anm-item-title {
    text-decoration: none;
    color: #333333;
}

.anm-item a:hover {
    text-decoration: underline;
}

.anm-badge {
    background: #ff5b5b;
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 20px;
    line-height: 1.4;
}

/* Optional subtle color hint by type */
.anm-type-announcement .anm-item-title,
.anm-type-announcement a {
    font-weight: 600;
}

.anm-type-upcoming .anm-item-title,
.anm-type-upcoming a {
    color: #0073aa;
}
