

/* 공모일정 리스트 */
.contest-schedule-list {
    --schedule-gap-x: 58px;
    --schedule-arrow-center: 29px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--schedule-gap-x);
    row-gap: 48px;
    align-items: start;
}

/* 각각의 일정 박스 */
.contest-schedule-item {
    position: relative;
    min-width: 0;
    text-align: center;
}

/* 아이콘 영역 */
.contest-schedule-top {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    margin-bottom: 0px;
}



/* Font Awesome 아이콘 */
.contest-schedule-icon i {
    display: block;
    font-size: 40px;
    line-height: 1;
    color: #000000;
}

/* SVG 대신 Font Awesome 화살표 */
.contest-schedule-arrow {
    position: absolute;
    top: 50%;
    left: calc(100% + var(--schedule-arrow-center));
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    font-size: 22px;
    line-height: 1;
    color: #000000;
    z-index: 2;
}

/* 마지막은 화살표 숨김 = 총 3개만 노출 */
.contest-schedule-item:last-child .contest-schedule-arrow {
    display: none;
}

/* 제목 */
.contest-schedule-item h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    color: #000;
    letter-spacing: -0.04em;
    word-break: keep-all;
    text-align: center;
}

/* 날짜 */
.contest-schedule-item p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #67ab40;
    letter-spacing: -0.03em;
    word-break: keep-all;
    text-align: center;
}

.contest-schedule-notice {
    margin: 36px 0 0;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
    letter-spacing: -0.03em;
}



/* mobile */
@media (max-width: 640px) {
    .contest-schedule-wrap {
        margin: 0 auto;
        padding: 0 18px;
    }

    .contest-schedule-list {
        grid-template-columns: 1fr;
        gap: 0px;
    }

.contest-schedule-top {
    min-height:40px;
    margin-bottom: 0px;
}

    .contest-schedule-icon {

    }

    .contest-schedule-icon i {
        font-size: 30px;
    }

    /* 모바일에서는 세로 배열이라 화살표 숨김 */
    .contest-schedule-arrow {
        display: none !important;
    }

    .contest-schedule-item h3 {
        font-size: 16px;
        margin: 0 0 4px;
    }

    .contest-schedule-item p {
        font-size: 12px;
        margin-bottom:20px;
    }
    .contest-schedule-item p br{
        display:none;
    }
    .contest-schedule-notice {
        margin-top: 28px;
        font-size: 14px;
    }
}