﻿/* SECTION */
.ucg-notice-section {
    background: #f8fbff;
    padding: 25px;
    border-radius: 20px;
    width: 480px;
}

/* HEADER */
.ucg-notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ucg-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #0b3c88;
    border-bottom: 2px solid #dfe8f6;
    padding-bottom: 6px;
}
/* NOTICE CONTENT */
.ucg-notice-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* TITLE */
.ucg-notice-title {
    font-size: 20px;
    font-weight: 700;
    color: #0b3c88;
    text-transform: capitalize;
}

/* DESCRIPTION */
.ucg-notice-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* BUTTONS */
.ucg-nav {
    display: flex;
    gap: 6px;
}

.ucg-nav-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #eef1f5;
    cursor: pointer;
    font-size: 18px;
}

    .ucg-nav-btn:hover {
        background: #0b3c88;
        color: #fff;
    }

/* VIEWPORT (SHOW 2) */
.ucg-notice-viewport {
    height: 360px; /* 2 cards height */
    overflow: hidden;
    position: relative;
}

#ucgNoticeTrack {
    transition: transform 0.6s ease;
    will-change: transform;
}


/* CARD */
.ucg-notice-card {
    display: flex;
    gap: 18px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    position: relative;
}

    /* LEFT STRIP */
    .ucg-notice-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 14px;
        bottom: 14px;
        width: 6px;
        background: #0b3c88;
        border-radius: 10px;
    }

/* ICON */
.ucg-notice-icon {
    width: 70px;
    height: 70px;
    background: #eef4ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ucg-notice-icon img {
        width: 38px;
    }
.ucg-read-more {
    align-self: flex-start;
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #0b3c88;
    background: #eef4ff;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .ucg-read-more:hover {
        background: #0b3c88;
        color: #fff;
    }
.titleLink {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

    .titleLink:hover {
        text-decoration: none;
    }

