@charset "utf-8";

.rc-year-wrap,
.rc-write-wrap {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
    font-family: "Noto Sans KR", "Pretendard", sans-serif;
    color: #1d2733;
}

.rc-year-head,
.rc-write-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    padding: 46px 0 30px;
    border-top: 4px solid #f7941f;
    border-bottom: 1px solid #dce8f2;
    margin-bottom: 28px;
}

.rc-write-head {
    display: block;
}

.rc-kicker {
    margin: 0 0 8px;
    color: #f7941f;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rc-year-head h2,
.rc-write-head h2 {
    margin: 0;
    color: #f7941f;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.rc-year-head p,
.rc-write-head p {
    margin: 12px 0 0;
    color: #687789;
    font-size: 16px;
    line-height: 1.7;
}

.rc-count-box {
    min-width: 130px;
    padding: 20px 22px;
    border-radius: 20px;
    background: #f1f8fd;
    text-align: center;
}

.rc-count-box strong {
    display: block;
    color: #f7941f;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.rc-count-box span {
    display: block;
    margin-top: 7px;
    color: #7d8b9b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.rc-year-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.rc-year-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 17px;
    border: 1px solid #d4e1ec;
    border-radius: 999px;
    background: #fff;
    color: #4c5f72;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all .2s ease;
}

.rc-year-tabs a:hover,
.rc-year-tabs a.active {
    border-color: #f7941f;
    background: #f7941f;
    color: #fff;
}

.rc-top-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

.rc-year-list {
    display: grid;
    gap: 26px;
}

.rc-year-card {
    border: 1px solid #dfe9f2;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(21, 54, 78, .07);
}

.rc-year-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 26px 30px;
    background: linear-gradient(135deg, #f3f9fd 0%, #ffffff 100%);
    border-bottom: 1px solid #e2ecf4;
}

.rc-year-title span {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    background: #f7941f;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.rc-year-title h3 {
    margin: 12px 0 0;
    color: #1d2733;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.rc-year-title em {
    flex-shrink: 0;
    color: #f7941f;
    font-size: 18px;
    font-style: normal;
    font-weight: 900;
}

.rc-work-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 10px 30px 24px;
}

.rc-work-item {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed #dce6ef;
}

.rc-work-item:nth-last-child(1),
.rc-work-item:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
}

.rc-work-item strong {
    color: #f7941f;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.55;
}

.rc-work-item p {
    position: relative;
    margin: 0;
    padding-left: 14px;
    color: #35475a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.65;
}

.rc-work-item p::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f7941f;
}

.rc-card-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 30px 26px;
}

.rc-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #263747;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.rc-more.rc-edit {
    background: #f7941f;
}

.rc-empty,
.rc-empty-small {
    padding: 60px 20px;
    border: 1px solid #e2ecf4;
    border-radius: 20px;
    color: #7b8998;
    text-align: center;
    font-size: 15px;
}

.rc-empty-small {
    grid-column: 1 / -1;
    border: 0;
}

/* button */
.rc-btn,
.rc-form-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.rc-btn-point,
.rc-form-buttons button.rc-btn-point {
    border: 1px solid #f7941f;
    background: #f7941f;
    color: #fff !important;
}

.rc-btn-line {
    border: 1px solid #d2dde8;
    background: #fff;
    color: #34495e !important;
}

/* write */
.rc-form-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
}

.rc-form-row {
    margin-bottom: 20px;
}

.rc-form-row label {
    display: block;
    margin-bottom: 9px;
    color: #243447;
    font-size: 15px;
    font-weight: 900;
}

.rc-form-row label span {
    color: #f7941f;
}

.rc-form-row input[type="text"],
.rc-form-row input[type="password"],
.rc-form-row textarea {
    width: 100%;
    border: 1px solid #d8e1ea;
    border-radius: 12px;
    background: #fff;
    color: #222;
    font-size: 15px;
    box-sizing: border-box;
}

.rc-form-row input[type="text"],
.rc-form-row input[type="password"] {
    height: 50px;
    padding: 0 15px;
}

.rc-form-row textarea {
    min-height: 420px;
    padding: 16px;
    line-height: 1.8;
    resize: vertical;
}

.rc-form-row input:focus,
.rc-form-row textarea:focus {
    outline: none;
    border-color: #f7941f;
    box-shadow: 0 0 0 3px rgba(8,119,187,.08);
}

.rc-guide {
    margin-top: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f6f9fc;
    color: #657486;
    font-size: 14px;
}

.rc-guide strong {
    display: block;
    margin-bottom: 5px;
    color: #263747;
}

.rc-guide p {
    margin: 0 0 8px;
}

.rc-guide code {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    background: #fff;
    color: #f7941f;
    font-family: inherit;
    font-weight: 900;
}

.rc-option-box {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f6f9fc;
}

.rc-form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
}

@media (max-width: 900px) {
    .rc-year-head {
        display: block;
    }

    .rc-count-box {
        display: inline-block;
        margin-top: 22px;
    }

    .rc-work-list {
        grid-template-columns: 1fr;
    }

    .rc-work-item:nth-last-child(2):nth-child(odd) {
        border-bottom: 1px dashed #dce6ef;
    }

    .rc-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 640px) {
    .rc-year-wrap,
    .rc-write-wrap {
        padding: 0 16px;
        margin-bottom: 60px;
    }

    .rc-year-head,
    .rc-write-head {
        padding-top: 34px;
    }

    .rc-year-title {
        display: block;
        padding: 22px;
    }

    .rc-year-title em {
        display: inline-block;
        margin-top: 14px;
    }

    .rc-work-list {
        padding: 6px 22px 22px;
    }

    .rc-work-item {
        display: block;
        padding: 15px 0;
    }

    .rc-work-item strong {
        display: block;
        margin-bottom: 6px;
    }

    .rc-work-item p {
        font-size: 14px;
    }

    .rc-card-buttons {
        padding: 0 22px 22px;
    }

    .rc-top-buttons,
    .rc-form-buttons {
        flex-wrap: wrap;
    }

    .rc-btn,
    .rc-form-buttons button {
        flex: 1;
    }

    .rc-form-row textarea {
        min-height: 360px;
    }
}