@charset "utf-8";

.event-wrap {
    max-width: 1100px;
    margin: 30px auto;
    font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
    color: #222;
}

.event-title {
    margin-bottom: 25px;
}

.event-title h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.event-title p {
    margin: 0;
    color: #666;
}

.event-list {
    border-top: 2px solid #222;
}

.event-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 12px;
    border-bottom: 1px solid #ddd;
}

.event-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.event-item-title a {
    color: #222;
    text-decoration: none;
}

.event-meta {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.event-status {
    display: inline-block;
    min-width: 64px;
    padding: 6px 10px;
    border-radius: 20px;
    background: #f1f1f1;
    text-align: center;
    font-size: 13px;
}

.event-status.open {
    background: #222;
    color: #fff;
}

.event-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #222;
}

.event-table th,
.event-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}

.event-table th {
    width: 180px;
    background: #f7f7f7;
}

.event-input,
.event-select,
.event-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.event-textarea {
    min-height: 220px;
    resize: vertical;
}

.event-content {
    padding: 28px 10px;
    line-height: 1.9;
    border-bottom: 1px solid #ddd;
}

.event-btn-area {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.event-btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 4px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-size: 14px;
}

.event-btn-primary {
    background: #222;
    color: #fff;
}

.event-btn-light {
    background: #f1f1f1;
    color: #333;
}

@media (max-width: 768px) {
    .event-item {
        display: block;
    }

    .event-item > div:last-child {
        margin-top: 12px;
    }

    .event-table th {
        width: 110px;
    }
}
